{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/GbX8S6ghmyszcS2GLR2F/MkSJT6jOyPQYljBpRuaa/Cookies.js", "ssg:https://framerusercontent.com/modules/zvf2WTzc98u6EX2y7YDj/V4Q7HrNs7yipqQfhEhc9/consent.js", "ssg:https://framerusercontent.com/modules/RFM6zI5MxOiqwwNiQep4/g46SbqOSBOGIULlND7xM/gtm.js", "ssg:https://framerusercontent.com/modules/tfq8EDfrazNLXzc9LJte/HMvbWm8DYGjaZ8u68pI6/utils.js", "ssg:https://framerusercontent.com/modules/0oeZpJVursioGAbwgB9e/A4ld94elrQNddtXvgzeQ/region.js", "ssg:https://framerusercontent.com/modules/HKzIAGtbudIGLRAteuFH/CCpUsPPKoqHrXP3zvE2C/inEU.js", "ssg:https://framerusercontent.com/modules/80EyUU0Nk6u7skW3IlHH/tkWTloReAPu2itGir1L5/Icons.js", "ssg:https://framerusercontent.com/modules/EkwkxVF9vkTs720qqBC8/zCKXKufS1PpbGVlIDuPE/Banner.js", "ssg:https://framer.com/m/Toggle-zGbN.js@phy2eFc7N84QBgE1yepP", "ssg:https://framerusercontent.com/modules/UIhUTcd796YH7Ndybys8/totj55n8qE3VYpdXhshW/Intercom.js", "ssg:https://framer.com/m/framer/react-use-intercom.js@0.0.3", "ssg:https://framer.com/m/framer/integrations-styles.js@^0.2.0"],
  "sourcesContent": ["import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from \"react/jsx-runtime\";\nimport { createPortal } from \"react-dom\";\nimport { useEffect, useState } from \"react\";\nimport { addPropertyControls, ControlType, useIsOnFramerCanvas } from \"framer\";\nimport { AnimatePresence, motion } from \"framer-motion\";\nimport { useConsent, defaultConsent } from \"https://framerusercontent.com/modules/zvf2WTzc98u6EX2y7YDj/V4Q7HrNs7yipqQfhEhc9/consent.js\";\nimport { useRegion } from \"https://framerusercontent.com/modules/0oeZpJVursioGAbwgB9e/A4ld94elrQNddtXvgzeQ/region.js\";\nimport { DEFAULT_FONT_FAMILY, getFlexboxValues } from \"https://framerusercontent.com/modules/tfq8EDfrazNLXzc9LJte/HMvbWm8DYGjaZ8u68pI6/utils.js\";\nimport { IconCookie } from \"https://framerusercontent.com/modules/80EyUU0Nk6u7skW3IlHH/tkWTloReAPu2itGir1L5/Icons.js\";\nimport { Banner } from \"https://framerusercontent.com/modules/EkwkxVF9vkTs720qqBC8/zCKXKufS1PpbGVlIDuPE/Banner.js\"; // Keep track of open state between page reloads\nlet initiallyOpen = false; /**\n                           * COOKIE BANNER\n                           * By Floris Verloop\n                           *\n                           * @framerSupportedLayoutWidth auto\n                           * @framerSupportedLayoutHeight auto\n                           *\n                           * @framerDisableUnlink\n                           *\n                           */\nexport default function CookieBanner({\n  gtmId,\n  preview,\n  trigger,\n  banner,\n  button,\n  content,\n  options,\n  style\n}) {\n  const isOnFramerCanvas = useIsOnFramerCanvas();\n  const isPreview = preview && isOnFramerCanvas;\n  const region = useRegion({\n    content,\n    useRegionFromProps: isPreview\n  });\n  const consent = useConsent({\n    gtmId,\n    defaultConsent: region.defaults\n  });\n  const [isOpen, setIsOpen] = useState(initiallyOpen); // On page switch, disable all transitions so the banner shows up as fast as possible.\n  const [instantlyShowOnMount, setInstantlyShowOnMount] = useState(initiallyOpen);\n  useEffect(() => {\n    // Save open state between page switches\n    initiallyOpen = isOpen; // Disable instantly show on mount after first open\n    if (isOpen) {\n      setInstantlyShowOnMount(false);\n    }\n  }, [isOpen]); // Check if user should be prompted\n  useEffect(() => {\n    const noConsentGiven = consent.isInitialized && !consent.isDismissed;\n    const autoConsentAllowed = region.type === \"simple\";\n    if (noConsentGiven) {\n      setIsOpen(true); /** Automatically accept all cookies for simple banner. */\n      if (autoConsentAllowed) {\n        consent.autoAccept();\n      }\n    }\n    if (consent.isDismissed) {\n      setIsOpen(false);\n    }\n  }, [consent.isInitialized, consent.isDismissed]);\n  function handleDismiss() {\n    consent.dismiss();\n    setIsOpen(false);\n  }\n  function handleAcceptAll() {\n    consent.acceptAll();\n    setIsOpen(false);\n  }\n  function handleRejectAll() {\n    consent.rejectAll();\n    setIsOpen(false);\n  }\n  function handleAcceptCurrent() {\n    consent.acceptCurrent();\n    setIsOpen(false);\n  }\n  if (isPreview) {\n    return /*#__PURE__*/_jsx(\"div\", {\n      style: {\n        ...style,\n        width: banner.width\n      },\n      children: /*#__PURE__*/_jsx(Banner, {\n        banner: banner,\n        button: button,\n        region: region,\n        options: options,\n        previewOptions: isPreview && options.preview,\n        consentModes: {\n          ...defaultConsent,\n          necessary: true\n        },\n        animateOnMount: false\n      })\n    });\n  }\n  return /*#__PURE__*/_jsxs(_Fragment, {\n    children: [/*#__PURE__*/_jsx(Trigger, {\n      style: style,\n      trigger: trigger,\n      onClick: () => setIsOpen(true)\n    }), /*#__PURE__*/_jsx(AnimatePresence, {\n      children: isOpen && /*#__PURE__*/_jsx(Overlay, {\n        banner: banner,\n        button: button,\n        region: region,\n        options: options,\n        consentModes: consent.modes,\n        animateOnMount: !instantlyShowOnMount,\n        onAcceptAll: handleAcceptAll,\n        onAcceptCurrent: handleAcceptCurrent,\n        onRejectAll: handleRejectAll,\n        onDismiss: handleDismiss,\n        onToggleConsent: consent.toggleMode\n      })\n    })]\n  });\n}\n;\nfunction Overlay(props) {\n  var ref;\n  const insetValue = props.banner.insetPerSide ? `${props.banner.insetTop}px ${props.banner.insetRight}px ${props.banner.insetBottom}px ${props.banner.insetLeft}px` : `${props.banner.inset}px`;\n  const {\n    justifyContent,\n    alignItems\n  } = getFlexboxValues(props.banner.position);\n  return /*#__PURE__*/createPortal( /*#__PURE__*/_jsxs(motion.div, {\n    style: {\n      top: 0,\n      left: 0,\n      right: 0,\n      bottom: 0,\n      width: \"100%\",\n      height: \"100%\",\n      boxSizing: \"border-box\",\n      position: \"fixed\",\n      touchAction: \"none\",\n      padding: insetValue,\n      zIndex: props.banner.zIndex,\n      display: \"flex\",\n      flexDirection: \"row\",\n      gap: 20,\n      justifyContent,\n      alignItems,\n      pointerEvents: props.region.blocking ? \"all\" : \"none\"\n    },\n    children: [props.region.blocking && /*#__PURE__*/_jsx(Backdrop, {\n      color: (ref = props.banner.style) === null || ref === void 0 ? void 0 : ref.backdrop\n    }), /*#__PURE__*/_jsx(Banner, {\n      ...props\n    })]\n  }), document.body);\n}\nfunction Trigger({\n  trigger,\n  style,\n  onClick\n}) {\n  const isOnFramerCanvas = useIsOnFramerCanvas();\n  if (trigger.type !== \"none\") {\n    return /*#__PURE__*/_jsx(\"button\", {\n      \"aria-label\": \"Cookie Trigger\",\n      style: {\n        width: \"100%\",\n        height: \"100%\",\n        background: \"none\",\n        display: \"flex\",\n        border: \"none\",\n        outline: \"inherit\",\n        padding: 0,\n        color: trigger.color,\n        fontSize: 16,\n        cursor: \"pointer\",\n        ...trigger.textFont\n      },\n      onClick: onClick,\n      children: trigger.type === \"icon\" ? /*#__PURE__*/_jsx(_Fragment, {\n        children: trigger.iconType === \"custom\" && trigger.iconImage ? /*#__PURE__*/_jsx(\"img\", {\n          alt: \"icon entry point for Site Search\",\n          src: trigger.iconImage.src,\n          width: trigger.iconSize,\n          height: trigger.iconSize\n        }) : /*#__PURE__*/_jsx(IconCookie, {\n          width: trigger.iconSize,\n          height: trigger.iconSize,\n          color: trigger.color\n        })\n      }) : /*#__PURE__*/_jsx(\"span\", {\n        style: {\n          whiteSpace: \"nowrap\"\n        },\n        children: trigger.text\n      })\n    });\n  }\n  if (isOnFramerCanvas) {\n    return /*#__PURE__*/_jsxs(\"div\", {\n      style: {\n        borderRadius: 8,\n        color: \"#09F\",\n        border: \"1px dashed #09F\",\n        background: \"rgba(0, 153, 255, 0.1)\",\n        padding: 20,\n        display: \"flex\",\n        flexDirection: \"column\",\n        gap: 5,\n        fontFamily: DEFAULT_FONT_FAMILY,\n        textAlign: \"center\",\n        justifyContent: \"center\",\n        width: 164,\n        ...style\n      },\n      children: [/*#__PURE__*/_jsx(\"p\", {\n        style: {\n          fontSize: 12,\n          fontWeight: 600,\n          lineHeight: 1,\n          margin: 0\n        },\n        children: \"Cookie Banner\"\n      }), /*#__PURE__*/_jsx(\"p\", {\n        style: {\n          fontSize: 12,\n          lineHeight: 1.5,\n          margin: 0\n        },\n        children: \"Put on a page to add a Cookie Banner.\"\n      })]\n    });\n  }\n}\nfunction Backdrop({\n  color\n}) {\n  return /*#__PURE__*/_jsx(motion.div, {\n    initial: {\n      opacity: 0\n    },\n    animate: {\n      opacity: 1\n    },\n    exit: {\n      opacity: 0\n    },\n    style: {\n      position: \"absolute\",\n      top: 0,\n      left: 0,\n      right: 0,\n      bottom: 0,\n      width: \"100%\",\n      height: \"100%\",\n      backgroundColor: color,\n      pointerEvents: \"none\"\n    }\n  });\n}\naddPropertyControls(CookieBanner, {\n  gtmId: {\n    title: \"GTM ID\",\n    type: ControlType.String,\n    placeholder: \"GTM-AAAAAAA\",\n    description: \"Your GTM container ID.\\n[Learn more](https://www.framer.com/learn/cookie-banner/)\"\n  },\n  preview: {\n    type: ControlType.Boolean,\n    defaultValue: true,\n    description: \"Lets you preview the banner on the Canvas.\"\n  },\n  trigger: {\n    type: ControlType.Object,\n    buttonTitle: \"Icon, Text\",\n    controls: {\n      type: {\n        title: \"Type\",\n        type: ControlType.Enum,\n        options: [\"text\", \"icon\", \"none\"],\n        optionTitles: [\"Text\", \"Icon\", \"None\"],\n        defaultValue: \"text\",\n        displaySegmentedControl: true\n      },\n      iconType: {\n        title: \"Icon\",\n        type: ControlType.Enum,\n        options: [\"default\", \"custom\"],\n        optionTitles: [\"Default\", \"Custom\"],\n        displaySegmentedControl: true,\n        hidden: props => props.type !== \"icon\"\n      },\n      text: {\n        title: \"Label\",\n        type: ControlType.String,\n        defaultValue: \"Cookie Settings\",\n        hidden: props => props.type !== \"text\"\n      },\n      textFont: {\n        // @ts-ignore - internal\n        type: ControlType.Font,\n        title: \" \",\n        controls: \"extended\",\n        hidden: props => props.type !== \"text\"\n      },\n      iconSize: {\n        title: \"Size\",\n        type: ControlType.Number,\n        displayStepper: true,\n        defaultValue: 24,\n        hidden: props => props.type !== \"icon\"\n      },\n      color: {\n        title: \"Color\",\n        type: ControlType.Color,\n        defaultValue: \"#333\",\n        hidden: props => props.type === \"none\" || props.type === \"icon\" && props.iconType === \"custom\"\n      },\n      iconImage: {\n        title: \"File\",\n        type: ControlType.ResponsiveImage,\n        allowedFileTypes: [\"jpg\", \"png\", \"svg\"],\n        hidden: props => props.iconType === \"default\"\n      }\n    }\n  },\n  banner: {\n    title: \"Banner\",\n    type: ControlType.Object,\n    buttonTitle: \"Font, Styles\",\n    controls: {\n      position: {\n        type: ControlType.Enum,\n        title: \"Position\",\n        options: [\"top-left\", \"top-center\", \"top-right\", \"bottom-right\", \"bottom-center\", \"bottom-left\"],\n        optionTitles: [\"Top Left\", \"Top Center\", \"Top Right\", \"Bottom Right\", \"Bottom Center\", \"Bottom Left\"],\n        defaultValue: \"bottom-right\"\n      },\n      zIndex: {\n        title: \"Z Index\",\n        type: ControlType.Number,\n        defaultValue: 10,\n        displayStepper: true,\n        min: 0,\n        max: 10\n      },\n      width: {\n        title: \"Width\",\n        type: ControlType.Number,\n        defaultValue: 360,\n        min: 200,\n        max: 1e3,\n        displayStepper: true,\n        step: 5\n      },\n      padding: {\n        title: \"Padding\",\n        type: ControlType.FusedNumber,\n        toggleKey: \"paddingPerSide\",\n        toggleTitles: [\"Padding\", \"Padding per side\"],\n        defaultValue: 20,\n        valueKeys: [\"paddingTop\", \"paddingRight\", \"paddingBottom\", \"paddingLeft\"],\n        valueLabels: [\"T\", \"R\", \"B\", \"L\"],\n        min: 0\n      },\n      inset: {\n        title: \"Inset\",\n        type: ControlType.FusedNumber,\n        toggleKey: \"insetPerSide\",\n        toggleTitles: [\"Inset\", \"Inset per side\"],\n        defaultValue: 20,\n        valueKeys: [\"insetTop\", \"insetRight\", \"insetBottom\", \"insetLeft\"],\n        valueLabels: [\"T\", \"R\", \"B\", \"L\"],\n        min: 0\n      },\n      style: {\n        type: ControlType.Object,\n        title: \"Style\",\n        buttonTitle: \"Fonts, Colors, Shadow\",\n        controls: {\n          fontTitle: {\n            // @ts-ignore - internal\n            type: ControlType.Font,\n            title: \"Title\",\n            controls: \"extended\"\n          },\n          colorTitle: {\n            title: \" \",\n            type: ControlType.Color,\n            defaultValue: \"#000\"\n          },\n          fontBody: {\n            // @ts-ignore - internal\n            type: ControlType.Font,\n            title: \"Body\",\n            controls: \"extended\"\n          },\n          colorBody: {\n            title: \" \",\n            type: ControlType.Color,\n            defaultValue: \"#444\"\n          },\n          fill: {\n            title: \"Fill\",\n            type: ControlType.Color,\n            defaultValue: \"#FFF\"\n          },\n          link: {\n            title: \"Link\",\n            type: ControlType.Color,\n            optional: true,\n            defaultValue: \"#999\"\n          },\n          border: {\n            type: ControlType.Object,\n            title: \"Border\",\n            buttonTitle: \"Radius, Width\",\n            controls: {\n              radius: {\n                title: \"Radius\",\n                type: ControlType.Number,\n                displayStepper: true,\n                min: 0,\n                defaultValue: 14\n              },\n              width: {\n                title: \"Width\",\n                type: ControlType.Number,\n                displayStepper: true,\n                min: 0,\n                defaultValue: 1\n              },\n              color: {\n                title: \"Color\",\n                type: ControlType.Color,\n                defaultValue: \"rgba(0,0,0,0.05)\"\n              }\n            }\n          },\n          shadow: {\n            type: ControlType.Object,\n            title: \"Shadow\",\n            optional: true,\n            controls: {\n              shadowColor: {\n                title: \"Color\",\n                type: ControlType.Color,\n                defaultValue: \"rgba(0,0,0,0.25)\"\n              },\n              shadowX: {\n                title: \"X\",\n                type: ControlType.Number,\n                min: -100,\n                max: 100,\n                defaultValue: 0\n              },\n              shadowY: {\n                title: \"Y\",\n                type: ControlType.Number,\n                min: -100,\n                max: 100,\n                defaultValue: 2\n              },\n              shadowBlur: {\n                title: \"Blur\",\n                type: ControlType.Number,\n                min: 0,\n                max: 100,\n                defaultValue: 4\n              }\n            }\n          },\n          backdrop: {\n            title: \"Backdrop\",\n            type: ControlType.Color,\n            defaultValue: \"rgba(0,0,0,0.1)\",\n            hidden: (_, props) => !props.content.euBlocking && !props.content.worldBlocking\n          }\n        }\n      },\n      animation: {\n        icon: \"effect\",\n        buttonTitle: \"Options\",\n        type: ControlType.Object,\n        controls: {\n          x: {\n            type: ControlType.Number,\n            displayStepper: true,\n            defaultValue: 0\n          },\n          y: {\n            type: ControlType.Number,\n            displayStepper: true,\n            defaultValue: 10\n          },\n          scale: {\n            type: ControlType.Number,\n            min: 0,\n            step: .1,\n            defaultValue: 1\n          },\n          transition: {\n            type: ControlType.Transition\n          }\n        }\n      }\n    }\n  },\n  button: {\n    title: \"Buttons\",\n    type: ControlType.Object,\n    buttonTitle: \"Variants, Style\",\n    controls: {\n      primary: {\n        title: \"Primary\",\n        type: ControlType.Object,\n        buttonTitle: \"Colors, Shadow\",\n        controls: {\n          fill: {\n            title: \"Fill\",\n            type: ControlType.Color,\n            defaultValue: \"#000\"\n          },\n          color: {\n            title: \"Color\",\n            type: ControlType.Color,\n            defaultValue: \"#FFF\"\n          },\n          shadow: {\n            type: ControlType.Object,\n            title: \"Shadow\",\n            optional: true,\n            controls: {\n              shadowColor: {\n                title: \"Color\",\n                type: ControlType.Color,\n                defaultValue: \"rgba(0,0,0,0.25)\"\n              },\n              shadowX: {\n                title: \"X\",\n                type: ControlType.Number,\n                min: -100,\n                max: 100\n              },\n              shadowY: {\n                title: \"Y\",\n                type: ControlType.Number,\n                min: -100,\n                max: 100\n              },\n              shadowBlur: {\n                title: \"Blur\",\n                type: ControlType.Number,\n                min: 0,\n                max: 100\n              }\n            }\n          }\n        }\n      },\n      secondary: {\n        title: \"Secondary\",\n        type: ControlType.Object,\n        buttonTitle: \"Colors, Shadow\",\n        controls: {\n          fill: {\n            title: \"Fill\",\n            type: ControlType.Color,\n            defaultValue: \"#EEE\"\n          },\n          color: {\n            title: \"Color\",\n            type: ControlType.Color,\n            defaultValue: \"#444\"\n          },\n          shadow: {\n            type: ControlType.Object,\n            title: \"Shadow\",\n            optional: true,\n            controls: {\n              shadowColor: {\n                title: \"Color\",\n                type: ControlType.Color,\n                defaultValue: \"rgba(0,0,0,0.25)\"\n              },\n              shadowX: {\n                title: \"X\",\n                type: ControlType.Number,\n                min: -100,\n                max: 100\n              },\n              shadowY: {\n                title: \"Y\",\n                type: ControlType.Number,\n                min: -100,\n                max: 100\n              },\n              shadowBlur: {\n                title: \"Blur\",\n                type: ControlType.Number,\n                min: 0,\n                max: 100\n              }\n            }\n          }\n        }\n      },\n      labels: {\n        type: ControlType.Object,\n        controls: {\n          accept: {\n            type: ControlType.String,\n            defaultValue: \"Accept\"\n          },\n          reject: {\n            type: ControlType.String,\n            defaultValue: \"Reject\"\n          },\n          acceptAll: {\n            type: ControlType.String,\n            defaultValue: \"Accept all\"\n          },\n          rejectAll: {\n            type: ControlType.String,\n            defaultValue: \"Reject all\"\n          },\n          customize: {\n            type: ControlType.String,\n            defaultValue: \"Customize\"\n          },\n          save: {\n            type: ControlType.String,\n            defaultValue: \"Save Preferences\"\n          },\n          confirm: {\n            type: ControlType.String,\n            defaultValue: \"Okay\"\n          }\n        }\n      },\n      font: {\n        // @ts-ignore - internal\n        type: ControlType.Font,\n        title: \"Font\",\n        controls: \"extended\"\n      },\n      padding: {\n        title: \"Padding\",\n        type: ControlType.FusedNumber,\n        toggleKey: \"paddingPerSide\",\n        toggleTitles: [\"Padding\", \"Padding per side\"],\n        defaultValue: 10,\n        valueKeys: [\"paddingTop\", \"paddingRight\", \"paddingBottom\", \"paddingLeft\"],\n        valueLabels: [\"T\", \"R\", \"B\", \"L\"],\n        min: 0\n      },\n      borderRadius: {\n        title: \"Radius\",\n        type: ControlType.Number,\n        displayStepper: true,\n        min: 0,\n        defaultValue: 8\n      },\n      direction: {\n        type: ControlType.Enum,\n        title: \"Direction\",\n        options: [\"row\", \"column\"],\n        // @ts-ignore - internal\n        optionIcons: [\"direction-horizontal\", \"direction-vertical\"],\n        defaultValue: \"row\",\n        displaySegmentedControl: true\n      },\n      fluid: {\n        title: \"Fluid\",\n        type: ControlType.Boolean,\n        defaultValue: true\n      }\n    }\n  },\n  content: {\n    title: \"Regions\",\n    type: ControlType.Object,\n    buttonTitle: \"World, EU\",\n    controls: {\n      isEU: {\n        title: \" \",\n        type: ControlType.Boolean,\n        defaultValue: true,\n        enabledTitle: \"EU\",\n        disabledTitle: \"World\"\n      },\n      euType: {\n        title: \"Choices\",\n        type: ControlType.Enum,\n        options: [\"simple\", \"medium\", \"advanced\"],\n        optionTitles: [\"None\", \"Accept/Reject\", \"Customizable\"],\n        defaultValue: \"medium\",\n        hidden: props => !props.isEU\n      },\n      euTitle: {\n        title: \"Title\",\n        type: ControlType.String,\n        defaultValue: \"Cookie Settings\",\n        hidden: props => props.euType === \"simple\" || !props.isEU\n      },\n      euDescription: {\n        title: \"Description\",\n        type: ControlType.String,\n        defaultValue: \"We use cookies to enhance your experience, analyze site traffic and deliver personalized content.\",\n        displayTextArea: true,\n        hidden: props => !props.isEU\n      },\n      euPolicy: {\n        title: \"Policy\",\n        type: ControlType.Object,\n        buttonTitle: \"Link, Prefix\",\n        controls: {\n          link: {\n            title: \"Link\",\n            type: ControlType.Link,\n            defaultValue: \"https://www.framer.com/legal/policy/\"\n          },\n          prefix: {\n            title: \"Prefix\",\n            type: ControlType.String,\n            defaultValue: \"Read our\",\n            hidden: props => !props.link\n          },\n          label: {\n            title: \"Label\",\n            type: ControlType.String,\n            defaultValue: \"Cookie Policy\",\n            hidden: props => !props.link\n          }\n        },\n        hidden: props => !props.isEU\n      },\n      euDefaults: {\n        title: \"Defaults\",\n        buttonTitle: \"Options\",\n        type: ControlType.Object,\n        controls: {\n          necessary: {\n            type: ControlType.Boolean,\n            enabledTitle: \"Granted\",\n            disabledTitle: \"Denied\",\n            defaultValue: false\n          },\n          preferences: {\n            type: ControlType.Boolean,\n            enabledTitle: \"Granted\",\n            disabledTitle: \"Denied\",\n            defaultValue: false\n          },\n          analytics: {\n            type: ControlType.Boolean,\n            enabledTitle: \"Granted\",\n            disabledTitle: \"Denied\",\n            defaultValue: false\n          },\n          marketing: {\n            type: ControlType.Boolean,\n            enabledTitle: \"Granted\",\n            disabledTitle: \"Denied\",\n            defaultValue: false,\n            description: \"The default consent when the user hasn\u2019t provided any yet.\"\n          }\n        },\n        hidden: props => !props.isEU\n      },\n      euBlocking: {\n        title: \"Blocking\",\n        type: ControlType.Boolean,\n        defaultValue: false,\n        description: \"Renders a content blocking backdrop.\",\n        hidden: props => !props.isEU\n      },\n      worldType: {\n        title: \"Choices\",\n        type: ControlType.Enum,\n        options: [\"simple\", \"medium\", \"advanced\"],\n        optionTitles: [\"None\", \"Accept/Reject\", \"Customizable\"],\n        defaultValue: \"simple\",\n        hidden: props => props.isEU\n      },\n      worldTitle: {\n        title: \"Title\",\n        type: ControlType.String,\n        defaultValue: \"Cookie Settings\",\n        hidden: props => props.worldType === \"simple\" || props.isEU\n      },\n      worldDescription: {\n        title: \"Description\",\n        type: ControlType.String,\n        defaultValue: \"We use cookies to personalize content, run ads, and analyze traffic.\",\n        displayTextArea: true,\n        hidden: props => props.isEU\n      },\n      worldPolicy: {\n        title: \"Policy\",\n        type: ControlType.Object,\n        buttonTitle: \"Link, Prefix\",\n        controls: {\n          link: {\n            title: \"Link\",\n            type: ControlType.Link\n          },\n          prefix: {\n            title: \"Prefix\",\n            type: ControlType.String,\n            defaultValue: \"Read our\",\n            hidden: props => !props.link\n          },\n          label: {\n            title: \"Label\",\n            type: ControlType.String,\n            defaultValue: \"Cookie Policy\",\n            hidden: props => !props.link\n          }\n        },\n        hidden: props => props.isEU\n      },\n      worldDefaults: {\n        title: \"Defaults\",\n        buttonTitle: \"Options\",\n        type: ControlType.Object,\n        controls: {\n          necessary: {\n            type: ControlType.Boolean,\n            enabledTitle: \"Granted\",\n            disabledTitle: \"Denied\",\n            defaultValue: true\n          },\n          preferences: {\n            type: ControlType.Boolean,\n            enabledTitle: \"Granted\",\n            disabledTitle: \"Denied\",\n            defaultValue: true\n          },\n          analytics: {\n            type: ControlType.Boolean,\n            enabledTitle: \"Granted\",\n            disabledTitle: \"Denied\",\n            defaultValue: true\n          },\n          marketing: {\n            type: ControlType.Boolean,\n            enabledTitle: \"Granted\",\n            disabledTitle: \"Denied\",\n            defaultValue: true,\n            description: \"The default consent when the user hasn\u2019t provided any yet.\"\n          }\n        },\n        hidden: props => props.isEU\n      },\n      worldBlocking: {\n        title: \"Blocking\",\n        type: ControlType.Boolean,\n        defaultValue: false,\n        description: \"Renders a content blocking backdrop.\",\n        hidden: props => props.isEU\n      }\n    }\n  },\n  options: {\n    type: ControlType.Object,\n    buttonTitle: \"Content, Styles\",\n    hidden: (_, props) => props.content.euType !== \"advanced\" && props.content.worldType !== \"advanced\",\n    controls: {\n      preview: {\n        type: ControlType.Boolean,\n        defaultValue: false,\n        description: \"Open when previewing banner on the canvas.\",\n        hidden: (_, props) => !props.preview\n      },\n      necessary: {\n        title: \"Necessary\",\n        type: ControlType.Object,\n        buttonTitle: \"Content\",\n        controls: {\n          title: {\n            title: \"Title\",\n            type: ControlType.String,\n            defaultValue: \"Necessary\"\n          },\n          description: {\n            title: \"Description\",\n            type: ControlType.String,\n            defaultValue: \"Enables security and basic functionality.\",\n            displayTextArea: true\n          }\n        }\n      },\n      preferences: {\n        title: \"Preferences\",\n        type: ControlType.Object,\n        buttonTitle: \"Content\",\n        controls: {\n          title: {\n            title: \"Title\",\n            type: ControlType.String,\n            defaultValue: \"Preferences\"\n          },\n          description: {\n            title: \"Description\",\n            type: ControlType.String,\n            defaultValue: \"Enables personalized content and settings.\",\n            displayTextArea: true,\n            optional: true\n          }\n        }\n      },\n      analytics: {\n        title: \"Analytics\",\n        type: ControlType.Object,\n        buttonTitle: \"Content\",\n        controls: {\n          title: {\n            title: \"Title\",\n            type: ControlType.String,\n            defaultValue: \"Analytics\"\n          },\n          description: {\n            title: \"Description\",\n            type: ControlType.String,\n            defaultValue: \"Enables tracking of performance.\",\n            displayTextArea: true\n          }\n        }\n      },\n      marketing: {\n        title: \"Marketing\",\n        type: ControlType.Object,\n        buttonTitle: \"Content\",\n        controls: {\n          title: {\n            title: \"Title\",\n            type: ControlType.String,\n            defaultValue: \"Marketing\"\n          },\n          description: {\n            title: \"Description\",\n            type: ControlType.String,\n            defaultValue: \"Enables ads personalization and tracking.\",\n            displayTextArea: true\n          }\n        }\n      },\n      style: {\n        type: ControlType.Object,\n        title: \"Style\",\n        buttonTitle: \"Fonts, Colors\",\n        controls: {\n          fontTitle: {\n            // @ts-ignore - internal\n            type: ControlType.Font,\n            title: \"Title\",\n            controls: \"basic\"\n          },\n          fontBody: {\n            // @ts-ignore - internal\n            type: ControlType.Font,\n            title: \"Body\",\n            controls: \"basic\"\n          },\n          background: {\n            title: \"Background\",\n            type: ControlType.Color,\n            defaultValue: \"rgba(0,0,0,0.02)\"\n          },\n          border: {\n            type: ControlType.Object,\n            title: \"Border\",\n            buttonTitle: \"Radius, Width\",\n            controls: {\n              radius: {\n                title: \"Radius\",\n                type: ControlType.Number,\n                displayStepper: true,\n                min: 0,\n                defaultValue: 8\n              },\n              width: {\n                title: \"Width\",\n                type: ControlType.Number,\n                displayStepper: true\n              },\n              color: {\n                title: \"Color\",\n                type: ControlType.Color,\n                defaultValue: \"rgba(0,0,0,0.02)\"\n              }\n            }\n          },\n          toggleColor: {\n            title: \"On\",\n            type: ControlType.Color,\n            defaultValue: \"#000\"\n          },\n          toggleColorInactive: {\n            title: \"Off\",\n            type: ControlType.Color,\n            defaultValue: \"rgba(0,0,0,0.1)\"\n          },\n          padding: {\n            title: \"Padding\",\n            type: ControlType.FusedNumber,\n            toggleKey: \"paddingPerSide\",\n            toggleTitles: [\"Padding\", \"Padding per side\"],\n            defaultValue: 12,\n            valueKeys: [\"paddingTop\", \"paddingRight\", \"paddingBottom\", \"paddingLeft\"],\n            valueLabels: [\"T\", \"R\", \"B\", \"L\"],\n            min: 0\n          }\n        }\n      }\n    }\n  }\n});\nCookieBanner.displayName = \"Cookie Banner\";\nexport const __FramerMetadata__ = {\n  \"exports\": {\n    \"OptionsStyle\": {\n      \"type\": \"tsType\",\n      \"annotations\": {\n        \"framerContractVersion\": \"1\"\n      }\n    },\n    \"PolicyProps\": {\n      \"type\": \"tsType\",\n      \"annotations\": {\n        \"framerContractVersion\": \"1\"\n      }\n    },\n    \"ButtonsProps\": {\n      \"type\": \"tsType\",\n      \"annotations\": {\n        \"framerContractVersion\": \"1\"\n      }\n    },\n    \"default\": {\n      \"type\": \"reactComponent\",\n      \"name\": \"CookieBanner\",\n      \"slots\": [],\n      \"annotations\": {\n        \"framerDisableUnlink\": \"*\",\n        \"framerSupportedLayoutWidth\": \"auto\",\n        \"framerContractVersion\": \"1\",\n        \"framerSupportedLayoutHeight\": \"auto\"\n      }\n    },\n    \"ContentProps\": {\n      \"type\": \"tsType\",\n      \"annotations\": {\n        \"framerContractVersion\": \"1\"\n      }\n    },\n    \"CookieBannerProps\": {\n      \"type\": \"tsType\",\n      \"annotations\": {\n        \"framerContractVersion\": \"1\"\n      }\n    },\n    \"ContentType\": {\n      \"type\": \"tsType\",\n      \"annotations\": {\n        \"framerContractVersion\": \"1\"\n      }\n    },\n    \"__FramerMetadata__\": {\n      \"type\": \"variable\"\n    }\n  }\n};", "import { useEffect, useReducer } from \"react\";\nimport { isBrowser } from \"framer-motion\";\nimport { useIsOnFramerCanvas } from \"framer\";\nimport { sendToGTM, initGTM } from \"https://framerusercontent.com/modules/RFM6zI5MxOiqwwNiQep4/g46SbqOSBOGIULlND7xM/gtm.js\";\nimport { safeJSONParse } from \"https://framerusercontent.com/modules/tfq8EDfrazNLXzc9LJte/HMvbWm8DYGjaZ8u68pI6/utils.js\";\nfunction toGTMConsent(consent) {\n  return {\n    functionality_storage: consent.necessary ? \"granted\" : \"denied\",\n    security_storage: consent.necessary ? \"granted\" : \"denied\",\n    ad_storage: consent.marketing ? \"granted\" : \"denied\",\n    analytics_storage: consent.analytics ? \"granted\" : \"denied\",\n    personalization_storage: consent.preferences ? \"granted\" : \"denied\"\n  };\n}\nfunction reducer(state, action) {\n  switch (action.type) {\n    case \"autoAccept\":\n      return {\n        ...state,\n        sync: true,\n        modes: {\n          analytics: true,\n          marketing: true,\n          necessary: true,\n          preferences: true\n        }\n      };\n    case \"acceptAll\":\n      return {\n        ...state,\n        sync: true,\n        dismissed: true,\n        modes: {\n          analytics: true,\n          marketing: true,\n          necessary: true,\n          preferences: true\n        }\n      };\n    case \"rejectAll\":\n      return {\n        ...state,\n        sync: true,\n        dismissed: true,\n        modes: {\n          analytics: false,\n          marketing: false,\n          necessary: false,\n          preferences: false\n        }\n      };\n    case \"acceptCurrent\":\n      return {\n        ...state,\n        dismissed: true,\n        sync: true\n      };\n    case \"update\":\n      return {\n        ...state,\n        modes: {\n          ...state.modes,\n          ...action.modes\n        },\n        sync: action.sync\n      };\n    case \"toggle\":\n      return {\n        ...state,\n        modes: {\n          ...state.modes,\n          [action.mode]: !state.modes[action.mode]\n        }\n      };\n    case \"initFromLocalStorage\":\n      return {\n        ...state,\n        modes: action.modes,\n        dismissed: action.dismissed,\n        initializedFromLocalStorage: true,\n        sync: true\n      };\n    case \"dismiss\":\n      return {\n        ...state,\n        dismissed: true\n      };\n    case \"synced\":\n      return {\n        ...state,\n        sync: false,\n        hasSynced: true\n      };\n    default:\n      return state;\n  }\n}\nconst initialState = {\n  dismissed: false,\n  modes: null,\n  sync: false,\n  initializedFromLocalStorage: false,\n  hasSynced: false\n};\nexport const defaultConsent = {\n  necessary: false,\n  analytics: false,\n  marketing: false,\n  preferences: false\n};\nexport function useConsent({\n  gtmId,\n  defaultConsent\n}) {\n  const [state, dispatch] = useReducer(reducer, initialState);\n  const isOnFramerCanvas = useIsOnFramerCanvas();\n  const consentModeLocalStorageKey = \"framerCookiesConsentMode\";\n  const dismissedLocalStorageKey = \"framerCookiesDismissed\";\n  function getStateFromLocalStorage() {\n    const consentFromLocalStorage = localStorage.getItem(consentModeLocalStorageKey);\n    const dismissedFromLocalStorage = localStorage.getItem(dismissedLocalStorageKey);\n    const hasDismissed = dismissedFromLocalStorage !== null;\n    dispatch({\n      type: \"initFromLocalStorage\",\n      dismissed: hasDismissed,\n      modes: consentFromLocalStorage !== null && hasDismissed ? safeJSONParse(consentFromLocalStorage, () => localStorage.removeItem(consentModeLocalStorageKey)) : defaultConsent\n    });\n  }\n  function syncToGTM() {\n    if (gtmId) {\n      const isFirstSync = !state.hasSynced;\n      if (isFirstSync) {\n        // This is the first time we sync consent, so we save it as \"default\" and initialize tag manager.\n        // This order is important, because we need to have set the default consent BEFORE we initialize GTM.\n        // https://developers.google.com/tag-platform/devguides/consent?tab=tag-manager&sjid=11348191096952324675-EU#implementation_example\n        sendToGTM(\"consent\", \"default\", toGTMConsent(state.modes));\n        initGTM({\n          dataLayer: undefined,\n          dataLayerName: \"dataLayer\",\n          environment: undefined,\n          nonce: undefined,\n          injectScript: true,\n          id: gtmId\n        });\n      } else {\n        sendToGTM(\"consent\", \"update\", toGTMConsent(state.modes));\n      }\n    }\n  }\n  useEffect(() => {\n    getStateFromLocalStorage();\n  }, []); // Anytime the dismissed value is updated, we need to persist it in local storage.\n  useEffect(() => {\n    if (state.dismissed) {\n      localStorage.setItem(dismissedLocalStorageKey, \"true\");\n    }\n  }, [state.dismissed]); // Sync data to dataLayer and localStorage.\n  useEffect(() => {\n    const shouldSync = state.sync && isBrowser && !isOnFramerCanvas && state.modes !== null;\n    if (!shouldSync) {\n      return;\n    }\n    syncToGTM(); // Save locally\n    localStorage.setItem(consentModeLocalStorageKey, JSON.stringify(state.modes));\n    dispatch({\n      type: \"synced\"\n    });\n  }, [state.sync]);\n  function dismiss() {\n    dispatch({\n      type: \"dismiss\"\n    });\n    localStorage.setItem(dismissedLocalStorageKey, \"true\");\n  }\n  function autoAccept() {\n    dispatch({\n      type: \"autoAccept\"\n    });\n  }\n  function acceptAll() {\n    dispatch({\n      type: \"acceptAll\"\n    });\n  }\n  function rejectAll() {\n    dispatch({\n      type: \"rejectAll\"\n    });\n  }\n  function acceptCurrent() {\n    dispatch({\n      type: \"acceptCurrent\"\n    });\n  }\n  function toggleMode(mode) {\n    dispatch({\n      type: \"toggle\",\n      mode\n    });\n  }\n  return {\n    modes: state.modes,\n    isInitialized: state.hasSynced,\n    isDismissed: state.dismissed,\n    dismiss,\n    autoAccept,\n    acceptAll,\n    rejectAll,\n    acceptCurrent,\n    toggleMode\n  };\n}\nexport const __FramerMetadata__ = {\n  \"exports\": {\n    \"ConsentModeName\": {\n      \"type\": \"tsType\",\n      \"annotations\": {\n        \"framerContractVersion\": \"1\"\n      }\n    },\n    \"defaultConsent\": {\n      \"type\": \"variable\",\n      \"annotations\": {\n        \"framerContractVersion\": \"1\"\n      }\n    },\n    \"useConsent\": {\n      \"type\": \"function\",\n      \"annotations\": {\n        \"framerContractVersion\": \"1\"\n      }\n    },\n    \"ConsentModes\": {\n      \"type\": \"tsType\",\n      \"annotations\": {\n        \"framerContractVersion\": \"1\"\n      }\n    },\n    \"__FramerMetadata__\": {\n      \"type\": \"variable\"\n    }\n  }\n};\n//# sourceMappingURL=./consent.map", "import { isBrowser } from \"framer-motion\";\nexport const DEFAULT_DOMAIN = \"https://www.googletagmanager.com\";\nexport const DEFAULT_SCRIPT_NAME = \"gtm.js\"; /**\n                                             * Function to get and set dataLayer\n                                             * @param dataLayer - The dataLayer\n                                             * @param dataLayerName - The dataLayer name\n                                             */\nconst getDataLayerSnippet = (dataLayer, dataLayerName = \"dataLayer\") => `window.${dataLayerName} = window.${dataLayerName} || [];` + (dataLayer ? `window.${dataLayerName}.push(${JSON.stringify(dataLayer)})` : \"\"); /**\n                                                                                                                                                                                                                      * Function to get the Iframe snippet\n                                                                                                                                                                                                                      * @param environment - The parameters to use a custom environment\n                                                                                                                                                                                                                      * @param customDomain - Custom domain for gtm\n                                                                                                                                                                                                                      * @param id - The id of the container\n                                                                                                                                                                                                                      */\nconst getIframeSnippet = (id, environment, customDomain = DEFAULT_DOMAIN) => {\n  let params = ``;\n  if (environment) {\n    const {\n      gtm_auth,\n      gtm_preview\n    } = environment;\n    params = `&gtm_auth=${gtm_auth}&gtm_preview=${gtm_preview}&gtm_cookies_win=x`;\n  }\n  return `<iframe src=\"${customDomain}/ns.html?id=${id}${params}\" height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\" id=\"tag-manager\"></iframe>`;\n}; /**\n   * Function to get the GTM script\n   * @param dataLayerName - The name of the dataLayer\n   * @param customDomain - Custom domain for gtm\n   * @param customScriptName - Custom script file name for gtm\n   * @param environment - The parameters to use a custom environment\n   * @param id - The id of the container\n   */\nconst getGTMScript = (dataLayerName, id, environment, customDomain = DEFAULT_DOMAIN, customScriptName = DEFAULT_SCRIPT_NAME) => {\n  let params = ``;\n  if (environment) {\n    const {\n      gtm_auth,\n      gtm_preview\n    } = environment;\n    params = `+\"&gtm_auth=${gtm_auth}&gtm_preview=${gtm_preview}&gtm_cookies_win=x\"`;\n  }\n  return `\n    (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\n      new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\n      j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\n      '${customDomain}/${customScriptName}?id='+i+dl${params};f.parentNode.insertBefore(j,f);\n    })(window,document,'script','${dataLayerName}','${id}');\n  `;\n}; /**\n   * Function to setup the Google Tag Manager\n   * @param params - The snippets params\n   */\nconst setupGTM = params => {\n  const getDataLayerScript = () => {\n    const dataLayerScript = document.createElement(\"script\");\n    if (params.nonce) {\n      dataLayerScript.setAttribute(\"nonce\", params.nonce);\n    }\n    dataLayerScript.innerHTML = getDataLayerSnippet(params.dataLayer, params.dataLayerName);\n    return dataLayerScript;\n  };\n  const getNoScript = () => {\n    const noScript = document.createElement(\"noscript\");\n    noScript.innerHTML = getIframeSnippet(params.id, params.environment, params.customDomain);\n    return noScript;\n  };\n  const getScript = () => {\n    const script = document.createElement(\"script\");\n    if (params.nonce) {\n      script.setAttribute(\"nonce\", params.nonce);\n    }\n    script.innerHTML = getGTMScript(params.dataLayerName, params.id, params.environment, params.customDomain, params.customScriptName);\n    return script;\n  };\n  return {\n    getDataLayerScript,\n    getNoScript,\n    getScript\n  };\n}; /**\n   * Function to init the GTM\n   * @param dataLayer - The dataLayer\n   * @param dataLayerName - The dataLayer name\n   * @param environment - Specify the custom environment to use\n   * @param nonce - Server-generated nonce\n   * @param id - The ID of the GTM\n   */\nexport const initGTM = ({\n  dataLayer,\n  dataLayerName,\n  environment,\n  nonce,\n  id,\n  customDomain,\n  customScriptName\n}) => {\n  const gtm = setupGTM({\n    dataLayer,\n    dataLayerName,\n    environment,\n    nonce,\n    id,\n    customDomain,\n    customScriptName\n  });\n  const dataLayerScript = gtm.getDataLayerScript();\n  const script = gtm.getScript();\n  const noScript = gtm.getNoScript();\n  document.head.insertBefore(dataLayerScript, document.head.childNodes[0]);\n  document.head.insertBefore(script, document.head.childNodes[1]);\n  document.body.insertBefore(noScript, document.body.childNodes[0]);\n}; /**\n   * Function to send the events to the GTM\n   * I can't find how to type a function using the \"arguments\" keyword so I've setup\n   * a wrapper function that mutes typescript.\n   */\nfunction gtag() {\n  if (isBrowser) {\n    window[\"dataLayer\"] = window[\"dataLayer\"] || [];\n    window[\"dataLayer\"].push(arguments);\n  }\n}\nexport function sendToGTM(...args) {\n  // @ts-ignore\n  gtag(...args);\n}\nexport const __FramerMetadata__ = {\n  \"exports\": {\n    \"DEFAULT_SCRIPT_NAME\": {\n      \"type\": \"variable\",\n      \"annotations\": {\n        \"framerContractVersion\": \"1\"\n      }\n    },\n    \"sendToGTM\": {\n      \"type\": \"function\",\n      \"annotations\": {\n        \"framerContractVersion\": \"1\"\n      }\n    },\n    \"initGTM\": {\n      \"type\": \"variable\",\n      \"annotations\": {\n        \"framerContractVersion\": \"1\"\n      }\n    },\n    \"DEFAULT_DOMAIN\": {\n      \"type\": \"variable\",\n      \"annotations\": {\n        \"framerContractVersion\": \"1\"\n      }\n    },\n    \"__FramerMetadata__\": {\n      \"type\": \"variable\"\n    }\n  }\n};\n//# sourceMappingURL=./gtm.map", "export const DEFAULT_FONT_FAMILY = `\"Inter\", system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"`;\nexport function getFlexboxValues(position) {\n  const positionParts = position.split(\"-\");\n  let justifyContent, alignItems;\n  switch (positionParts[0]) {\n    case \"top\":\n      alignItems = \"flex-start\";\n      break;\n    case \"bottom\":\n      alignItems = \"flex-end\";\n      break;\n    case \"center\":\n      alignItems = \"center\";\n      break;\n    default:\n      alignItems = \"initial\";\n      break;\n  }\n  switch (positionParts[1]) {\n    case \"left\":\n      justifyContent = \"flex-start\";\n      break;\n    case \"right\":\n      justifyContent = \"flex-end\";\n      break;\n    case \"center\":\n      justifyContent = \"center\";\n      break;\n    default:\n      justifyContent = \"initial\";\n      break;\n  }\n  return {\n    justifyContent,\n    alignItems\n  };\n}\nexport function getMultipleShadows(...shadows) {\n  const output = [];\n  shadows.forEach(shadow => {\n    return shadow && output.push(shadow);\n  });\n  return output.join(\", \");\n}\nexport function getShadow(shadow) {\n  if (shadow) {\n    return `${shadow.shadowX}px ${shadow.shadowY}px ${shadow.shadowBlur}px ${shadow.shadowColor}`;\n  } else return null;\n}\nexport function safeJSONParse(jsonString, onError) {\n  try {\n    return JSON.parse(jsonString);\n  } catch {\n    if (onError) onError();\n  }\n}\nexport const __FramerMetadata__ = {\n  \"exports\": {\n    \"getFlexboxValues\": {\n      \"type\": \"function\",\n      \"annotations\": {\n        \"framerContractVersion\": \"1\"\n      }\n    },\n    \"safeJSONParse\": {\n      \"type\": \"function\",\n      \"annotations\": {\n        \"framerContractVersion\": \"1\"\n      }\n    },\n    \"DEFAULT_FONT_FAMILY\": {\n      \"type\": \"variable\",\n      \"annotations\": {\n        \"framerContractVersion\": \"1\"\n      }\n    },\n    \"getMultipleShadows\": {\n      \"type\": \"function\",\n      \"annotations\": {\n        \"framerContractVersion\": \"1\"\n      }\n    },\n    \"getShadow\": {\n      \"type\": \"function\",\n      \"annotations\": {\n        \"framerContractVersion\": \"1\"\n      }\n    },\n    \"FlexboxPosition\": {\n      \"type\": \"tsType\",\n      \"annotations\": {\n        \"framerContractVersion\": \"1\"\n      }\n    },\n    \"__FramerMetadata__\": {\n      \"type\": \"variable\"\n    }\n  }\n};\n//# sourceMappingURL=./utils.map", "import { isBrowser } from \"framer-motion\";\nimport { inEU } from \"https://framerusercontent.com/modules/HKzIAGtbudIGLRAteuFH/CCpUsPPKoqHrXP3zvE2C/inEU.js\";\nexport function useRegion({\n  content,\n  useRegionFromProps\n}) {\n  const isInEUBasedOnLocation = isBrowser ? inEU() : false;\n  const regionBasedOnLocation = isInEUBasedOnLocation ? \"EU\" : \"World\";\n  const regionFromProps = content.isEU ? \"EU\" : \"World\";\n  const regionContent = {\n    EU: {\n      title: content.euTitle,\n      description: content.euDescription,\n      type: content.euType,\n      defaults: content.euDefaults,\n      policy: content.euPolicy,\n      blocking: content.euBlocking\n    },\n    World: {\n      title: content.worldTitle,\n      description: content.worldDescription,\n      type: content.worldType,\n      defaults: content.worldDefaults,\n      policy: content.worldPolicy,\n      blocking: content.worldBlocking\n    }\n  };\n  return regionContent[useRegionFromProps ? regionFromProps : regionBasedOnLocation];\n}\nexport const __FramerMetadata__ = {\n  \"exports\": {\n    \"RegionType\": {\n      \"type\": \"tsType\",\n      \"annotations\": {\n        \"framerContractVersion\": \"1\"\n      }\n    },\n    \"RegionContent\": {\n      \"type\": \"tsType\",\n      \"annotations\": {\n        \"framerContractVersion\": \"1\"\n      }\n    },\n    \"useRegion\": {\n      \"type\": \"function\",\n      \"annotations\": {\n        \"framerContractVersion\": \"1\"\n      }\n    },\n    \"__FramerMetadata__\": {\n      \"type\": \"variable\"\n    }\n  }\n};", "// Check if visitor is in EU\nconst countries = [\"BE\", \"EL\", \"LT\", \"PT\", \"BG\", \"ES\", \"LU\", \"RO\", \"CZ\", \"FR\", \"RE\", \"GP\", \"MQ\", \"GF\", \"YT\", \"BL\", \"MF\", \"PM\", \"WF\", \"PF\", \"NC\", \"HU\", \"SI\", \"DK\", \"FO\", \"GL\", \"HR\", \"MT\", \"SK\", \"DE\", \"IT\", \"NL\", \"AW\", \"CW\", \"SX\", \"FI\", \"AX\", \"EE\", \"CY\", \"AT\", \"SE\", \"IE\", \"LV\", \"PL\", \"UK\", \"GB\", \"AI\", \"BM\", \"IO\", \"VG\", \"KY\", \"FK\", \"GI\", \"MS\", \"PN\", \"SH\", \"TC\", \"GG\", \"JE\", \"IM\"];\nconst isInEUTimezone = () => {\n  var ref, ref1, ref2;\n  return (ref1 = (ref = Intl === null || Intl === void 0 ? void 0 : Intl.DateTimeFormat()) === null || ref === void 0 ? void 0 : ref.resolvedOptions()) === null || ref1 === void 0 ? void 0 : (ref2 = ref1.timeZone) === null || ref2 === void 0 ? void 0 : ref2.startsWith(\"Europe\");\n};\nconst isEULocale = () => {\n  var ref;\n  var _language;\n  const locale = (_language = navigator.language) !== null && _language !== void 0 ? _language : (ref = navigator.languages) === null || ref === void 0 ? void 0 : ref[0];\n  return countries.some(country => {\n    var ref;\n    return (ref = locale === null || locale === void 0 ? void 0 : locale.toUpperCase()) === null || ref === void 0 ? void 0 : ref.includes(country);\n  });\n};\nexport const inEU = () => {\n  return isInEUTimezone() || isEULocale();\n};\nexport const __FramerMetadata__ = {\n  \"exports\": {\n    \"inEU\": {\n      \"type\": \"variable\",\n      \"annotations\": {\n        \"framerContractVersion\": \"1\"\n      }\n    },\n    \"__FramerMetadata__\": {\n      \"type\": \"variable\"\n    }\n  }\n};\n//# sourceMappingURL=./inEU.map", "import { jsx as _jsx } from \"react/jsx-runtime\";\nexport const IconCookie = props => /*#__PURE__*/_jsx(\"svg\", {\n  xmlns: \"http://www.w3.org/2000/svg\",\n  viewBox: \"0 0 256 256\",\n  width: props.width,\n  height: props.height,\n  style: {\n    ...props.style,\n    color: props.color,\n    fill: props.color\n  },\n  children: /*#__PURE__*/_jsx(\"path\", {\n    d: \"M164.49,163.51a12,12,0,1,1-17,0A12,12,0,0,1,164.49,163.51Zm-81-8a12,12,0,1,0,17,0A12,12,0,0,0,83.51,155.51Zm9-39a12,12,0,1,0-17,0A12,12,0,0,0,92.49,116.49Zm48-1a12,12,0,1,0,0,17A12,12,0,0,0,140.49,115.51ZM232,128A104,104,0,1,1,128,24a8,8,0,0,1,8,8,40,40,0,0,0,40,40,8,8,0,0,1,8,8,40,40,0,0,0,40,40A8,8,0,0,1,232,128Zm-16.31,7.39A56.13,56.13,0,0,1,168.5,87.5a56.13,56.13,0,0,1-47.89-47.19,88,88,0,1,0,95.08,95.08Z\"\n  })\n});\nexport const __FramerMetadata__ = {\n  \"exports\": {\n    \"IconCookie\": {\n      \"type\": \"variable\",\n      \"annotations\": {\n        \"framerContractVersion\": \"1\"\n      }\n    },\n    \"__FramerMetadata__\": {\n      \"type\": \"variable\"\n    }\n  }\n};\n//# sourceMappingURL=./Icons.map", "import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from \"react/jsx-runtime\";\nimport { useState } from \"react\";\nimport { AnimatePresence, motion } from \"framer-motion\";\nimport { DEFAULT_FONT_FAMILY, getMultipleShadows, getShadow } from \"https://framerusercontent.com/modules/tfq8EDfrazNLXzc9LJte/HMvbWm8DYGjaZ8u68pI6/utils.js\";\nimport Toggle from \"https://framer.com/m/Toggle-zGbN.js@phy2eFc7N84QBgE1yepP\";\nconst SPACING = 20;\nexport function Banner({\n  banner,\n  button,\n  region,\n  options,\n  previewOptions,\n  consentModes,\n  onDismiss,\n  onAcceptAll,\n  onRejectAll,\n  onAcceptCurrent,\n  onToggleConsent,\n  animateOnMount\n}) {\n  var ref;\n  const maxHeightReduction = banner.insetPerSide ? banner.insetTop + banner.insetBottom : banner.inset * 2;\n  const linkColor = banner.style.link || button.primary.fill;\n  const paddingValue = banner.paddingPerSide ? `${banner.paddingTop}px ${banner.paddingRight}px ${banner.paddingBottom}px ${banner.paddingLeft}px` : `${banner.padding}px`;\n  const bannerShadow = getShadow(banner.style.shadow);\n  const borderShadow = ((ref = banner.style.border) === null || ref === void 0 ? void 0 : ref.width) ? `inset 0 0 0 ${banner.style.border.width}px ${banner.style.border.color}` : null;\n  const bannerStyle = {\n    background: banner.style.fill,\n    boxShadow: getMultipleShadows(bannerShadow, borderShadow),\n    overflow: \"hidden\",\n    borderRadius: banner.style.border.radius\n  };\n  return /*#__PURE__*/_jsx(motion.div, {\n    initial: animateOnMount && {\n      x: banner.animation.x,\n      y: banner.animation.y,\n      scale: banner.animation.scale,\n      opacity: 0\n    },\n    animate: {\n      y: 0,\n      x: 0,\n      scale: 1,\n      opacity: 1\n    },\n    exit: {\n      x: banner.animation.x,\n      y: banner.animation.y,\n      scale: banner.animation.scale,\n      opacity: 0\n    },\n    transition: animateOnMount ? banner.animation.transition : {\n      duration: 0\n    },\n    style: {\n      fontFamily: DEFAULT_FONT_FAMILY,\n      maxHeight: `calc(100vh - ${maxHeightReduction}px)`,\n      flexDirection: \"column\",\n      gap: 12,\n      position: \"relative\",\n      display: \"flex\",\n      zIndex: 100,\n      pointerEvents: \"auto\"\n    },\n    children: /*#__PURE__*/_jsx(\"div\", {\n      style: {\n        ...bannerStyle,\n        overflow: \"scroll\",\n        width: \"100%\",\n        maxWidth: banner.width\n      },\n      children: region.type === \"simple\" ? /*#__PURE__*/_jsx(SimpleBanner, {\n        banner: banner,\n        button: button,\n        linkColor: linkColor,\n        description: region.description,\n        policy: region.policy,\n        onDismiss: onDismiss\n      }) : region.type === \"medium\" ? /*#__PURE__*/_jsx(AcceptRejectBanner, {\n        banner: banner,\n        button: button,\n        linkColor: linkColor,\n        title: region.title,\n        description: region.description,\n        policy: region.policy,\n        onAccept: onAcceptAll,\n        onReject: onRejectAll\n      }) : /*#__PURE__*/_jsx(OptionsBanner, {\n        banner: banner,\n        button: button,\n        options: options,\n        previewOptions: previewOptions,\n        linkColor: linkColor,\n        title: region.title,\n        description: region.description,\n        policy: region.policy,\n        onOptionToggle: onToggleConsent,\n        consent: consentModes,\n        onAcceptAll: onAcceptAll,\n        onRejectAll: onRejectAll,\n        onAcceptCurrent: onAcceptCurrent\n      })\n    })\n  });\n}\nfunction SimpleBanner({\n  banner,\n  button,\n  description,\n  policy,\n  onDismiss,\n  linkColor\n}) {\n  const padding = banner.paddingPerSide ? `${banner.paddingTop}px ${banner.paddingRight}px ${banner.paddingBottom}px ${banner.paddingLeft}px` : `${banner.padding}px`;\n  return /*#__PURE__*/_jsxs(\"div\", {\n    style: {\n      display: \"flex\",\n      flexDirection: \"row\",\n      padding,\n      gap: SPACING\n    },\n    children: [/*#__PURE__*/_jsx(Description, {\n      style: {\n        ...banner.style.fontBody,\n        flex: 1,\n        alignItems: \"center\",\n        color: banner.style.colorBody\n      },\n      linkColor: linkColor,\n      description: description,\n      policy: policy\n    }), /*#__PURE__*/_jsx(motion.div, {\n      style: {\n        display: \"flex\",\n        justifyContent: \"center\",\n        alignItems: \"center\"\n      },\n      children: /*#__PURE__*/_jsx(Button, {\n        onClick: onDismiss,\n        settings: {\n          ...button,\n          fluid: false\n        },\n        children: button.labels.confirm\n      })\n    })]\n  });\n}\nfunction AcceptRejectBanner({\n  banner,\n  button,\n  title,\n  linkColor,\n  description,\n  policy,\n  onAccept,\n  onReject\n}) {\n  const padding = banner.paddingPerSide ? `${banner.paddingTop}px ${banner.paddingRight}px ${banner.paddingBottom}px ${banner.paddingLeft}px` : `${banner.padding}px`;\n  return /*#__PURE__*/_jsxs(\"div\", {\n    style: {\n      padding\n    },\n    children: [/*#__PURE__*/_jsxs(\"div\", {\n      children: [title && /*#__PURE__*/_jsx(Headline, {\n        style: {\n          ...banner.style.fontTitle,\n          color: banner.style.colorTitle\n        },\n        children: title\n      }), /*#__PURE__*/_jsx(Description, {\n        style: {\n          ...banner.style.fontBody,\n          color: banner.style.colorBody\n        },\n        linkColor: linkColor,\n        description: description,\n        policy: policy\n      })]\n    }), /*#__PURE__*/_jsxs(Buttons, {\n      direction: button.direction,\n      children: [/*#__PURE__*/_jsx(Button, {\n        settings: button,\n        onClick: onReject,\n        children: button.labels.reject\n      }), /*#__PURE__*/_jsx(Button, {\n        settings: button,\n        primary: true,\n        onClick: onAccept,\n        children: button.labels.accept\n      })]\n    })]\n  });\n}\nfunction OptionsBanner({\n  banner,\n  button,\n  options,\n  previewOptions,\n  title,\n  description,\n  policy,\n  linkColor,\n  consent,\n  onAcceptCurrent,\n  onAcceptAll,\n  onRejectAll,\n  onOptionToggle\n}) {\n  const [showOptions, setShowOptions] = useState(false);\n  const optionTheme = {\n    ...options.style,\n    color: banner.style.colorBody\n  };\n  const padding = banner.paddingPerSide ? `${banner.paddingTop}px ${banner.paddingRight}px ${banner.paddingBottom}px ${banner.paddingLeft}px` : `${banner.padding}px`; // const optionNames = consent && Object.keys(consent)\n  const optionNames = [\"necessary\", \"preferences\", \"analytics\", \"marketing\"];\n  const shouldShowOptions = showOptions || previewOptions;\n  return /*#__PURE__*/_jsxs(\"div\", {\n    style: {\n      padding\n    },\n    children: [/*#__PURE__*/_jsxs(\"div\", {\n      children: [title && /*#__PURE__*/_jsx(Headline, {\n        style: {\n          ...banner.style.fontTitle,\n          color: banner.style.colorTitle\n        },\n        children: title\n      }), /*#__PURE__*/_jsx(Description, {\n        style: {\n          ...banner.style.fontBody,\n          color: banner.style.colorBody\n        },\n        linkColor: linkColor,\n        description: description,\n        policy: policy\n      }), /*#__PURE__*/_jsx(AnimatePresence, {\n        children: shouldShowOptions && /*#__PURE__*/_jsx(motion.div, {\n          initial: previewOptions ? null : {\n            opacity: 0,\n            height: 0\n          },\n          animate: {\n            opacity: 1,\n            height: \"auto\"\n          },\n          exit: {\n            opacity: 0,\n            height: 0\n          },\n          style: {\n            display: \"flex\",\n            flexDirection: \"column\",\n            gap: 10,\n            marginTop: SPACING,\n            overflow: \"hidden\"\n          },\n          children: optionNames && optionNames.map(option => /*#__PURE__*/_jsx(Option, {\n            title: options[option].title,\n            description: options[option].description,\n            titleColor: banner.style.colorTitle,\n            descriptionColor: banner.style.colorBody,\n            showDescription: options.descriptions,\n            enabled: consent[option],\n            onClick: () => onOptionToggle(option),\n            theme: optionTheme\n          }))\n        }, \"modal\")\n      })]\n    }), /*#__PURE__*/_jsx(Buttons, {\n      direction: button.direction,\n      children: shouldShowOptions ? /*#__PURE__*/_jsx(Button, {\n        settings: button,\n        primary: true,\n        onClick: onAcceptCurrent,\n        children: button.labels.save\n      }) : /*#__PURE__*/_jsxs(_Fragment, {\n        children: [/*#__PURE__*/_jsx(Button, {\n          settings: button,\n          onClick: onRejectAll,\n          children: button.labels.rejectAll\n        }), /*#__PURE__*/_jsx(Button, {\n          settings: button,\n          onClick: () => {\n            setShowOptions(true);\n          },\n          children: button.labels.customize\n        }), /*#__PURE__*/_jsx(Button, {\n          settings: button,\n          primary: true,\n          onClick: onAcceptAll,\n          children: button.labels.acceptAll\n        })]\n      })\n    })]\n  });\n}\nfunction Option({\n  title,\n  titleColor,\n  description,\n  descriptionColor,\n  showDescription,\n  enabled,\n  onClick,\n  theme\n}) {\n  const paddingValue = theme.paddingPerSide ? `${theme.paddingTop}px ${theme.paddingRight}px ${theme.paddingBottom}px ${theme.paddingLeft}px` : `${theme.padding}px`;\n  const borderShadow = theme.border ? `inset 0 0 0 ${theme.border.width}px ${theme.border.color}` : null;\n  return /*#__PURE__*/_jsxs(motion.div, {\n    style: {\n      boxShadow: borderShadow,\n      background: theme.background,\n      borderRadius: theme.border.radius,\n      padding: paddingValue,\n      cursor: \"pointer\",\n      userSelect: \"none\",\n      pointerEvents: \"all\"\n    },\n    onClick: onClick,\n    whileHover: {\n      opacity: .5\n    },\n    children: [/*#__PURE__*/_jsxs(\"div\", {\n      style: {\n        display: \"flex\",\n        justifyContent: \"space-between\"\n      },\n      children: [/*#__PURE__*/_jsx(\"p\", {\n        style: {\n          margin: 0,\n          fontWeight: 600,\n          fontSize: 12,\n          color: titleColor,\n          ...theme.fontTitle\n        },\n        children: title\n      }), /*#__PURE__*/_jsx(Toggle, {\n        variant: enabled ? \"On\" : \"Off\",\n        background: theme.toggleColor,\n        backgroundInactive: theme.toggleColorInactive\n      })]\n    }), description && /*#__PURE__*/_jsx(\"p\", {\n      style: {\n        margin: 0,\n        marginTop: 10,\n        fontSize: 12,\n        lineHeight: 1.5,\n        color: descriptionColor,\n        ...theme.fontBody\n      },\n      children: description\n    })]\n  });\n}\nfunction Headline({\n  children,\n  style\n}) {\n  return /*#__PURE__*/_jsx(\"h6\", {\n    style: {\n      fontSize: 14,\n      margin: \"0px 0px 10px 0px\",\n      padding: 0,\n      ...style\n    },\n    children: children\n  });\n}\nfunction Description({\n  style,\n  description,\n  policy,\n  linkColor\n}) {\n  const shouldShow = description || (policy === null || policy === void 0 ? void 0 : policy.link);\n  return shouldShow && /*#__PURE__*/_jsxs(\"p\", {\n    style: {\n      lineHeight: 1.5,\n      margin: 0,\n      padding: 0,\n      fontSize: 14,\n      ...style\n    },\n    children: [description, \" \", (policy === null || policy === void 0 ? void 0 : policy.link) && /*#__PURE__*/_jsxs(\"span\", {\n      children: [policy === null || policy === void 0 ? void 0 : policy.prefix, \" \", /*#__PURE__*/_jsx(\"a\", {\n        href: policy === null || policy === void 0 ? void 0 : policy.link,\n        target: \"_blank\",\n        style: {\n          color: linkColor,\n          textDecoration: \"none\"\n        },\n        children: policy === null || policy === void 0 ? void 0 : policy.label\n      }), \".\"]\n    })]\n  });\n}\nfunction Buttons({\n  children,\n  direction\n}) {\n  return /*#__PURE__*/_jsx(\"div\", {\n    style: {\n      display: \"flex\",\n      flexDirection: direction,\n      gap: 10,\n      marginTop: 16\n    },\n    children: children\n  });\n}\nfunction Button({\n  children,\n  primary,\n  settings,\n  onClick\n}) {\n  const paddingValue = settings.paddingPerSide ? `${settings.paddingTop}px ${settings.paddingRight}px ${settings.paddingBottom}px ${settings.paddingLeft}px` : `${settings.padding}px`;\n  const theme = primary ? settings.primary : settings.secondary;\n  return /*#__PURE__*/_jsx(motion.input, {\n    onClick: onClick,\n    type: \"button\",\n    value: `${children}`,\n    whileHover: {\n      opacity: .6\n    },\n    whileTap: {\n      opacity: .4\n    },\n    style: {\n      WebkitAppearance: \"none\",\n      appearance: \"none\",\n      width: settings.fluid ? \"100%\" : \"auto\",\n      height: \"auto\",\n      outline: \"none\",\n      border: \"none\",\n      padding: paddingValue,\n      borderRadius: settings.borderRadius,\n      boxShadow: getShadow(theme.shadow),\n      background: theme.fill,\n      color: theme.color,\n      fontSize: 14,\n      fontWeight: 600,\n      lineHeight: 1,\n      cursor: \"pointer\",\n      ...settings.font\n    }\n  });\n}\nexport const __FramerMetadata__ = {\n  \"exports\": {\n    \"BannerComponentProps\": {\n      \"type\": \"tsType\",\n      \"annotations\": {\n        \"framerContractVersion\": \"1\"\n      }\n    },\n    \"Banner\": {\n      \"type\": \"reactComponent\",\n      \"name\": \"Banner\",\n      \"slots\": [],\n      \"annotations\": {\n        \"framerContractVersion\": \"1\"\n      }\n    },\n    \"__FramerMetadata__\": {\n      \"type\": \"variable\"\n    }\n  }\n};\n//# sourceMappingURL=./Banner.map", "// Generated by Framer (1445756)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion}from\"framer-motion\";import*as React from\"react\";const cycleOrder=[\"zReINw005\",\"n1Lxx4QSl\"];const variantClassNames={n1Lxx4QSl:\"framer-v-ydz03l\",zReINw005:\"framer-v-35610y\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants===null||variants===void 0?void 0:variants.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const humanReadableVariantMap={Off:\"zReINw005\",On:\"n1Lxx4QSl\"};const transitions={default:{damping:60,delay:0,mass:1,stiffness:500,type:\"spring\"}};const Component=/*#__PURE__*/ React.forwardRef(function({id,style,className,width,height,layoutId,variant:outerVariant=\"zReINw005\",background:oep5aWG90=\"rgb(0, 153, 255)\",backgroundInactive:wdGQJh0F_=\"rgba(0, 0, 0, 0.1)\",...restProps},ref){const outerVariantId=humanReadableVariantMap[outerVariant];const variant=outerVariantId||outerVariant;const{baseVariant,classNames,gestureVariant,setGestureState,setVariant,transition,variants}=useVariantState({cycleOrder,defaultVariant:\"zReINw005\",transitions,variant,variantClassNames});const layoutDependency=variants.join(\"-\")+restProps.layoutDependency;const defaultLayoutId=React.useId();return /*#__PURE__*/ _jsx(LayoutGroup,{id:layoutId!==null&&layoutId!==void 0?layoutId:defaultLayoutId,children:/*#__PURE__*/ _jsx(motion.div,{initial:variant,animate:variants,onHoverStart:()=>setGestureState({isHovered:true}),onHoverEnd:()=>setGestureState({isHovered:false}),onTapStart:()=>setGestureState({isPressed:true}),onTap:()=>setGestureState({isPressed:false}),onTapCancel:()=>setGestureState({isPressed:false}),className:cx(\"framer-4aJ9g\",classNames),style:{display:\"contents\"},children:/*#__PURE__*/ _jsx(motion.div,{...restProps,className:cx(\"framer-35610y\",className),\"data-framer-name\":\"Off\",layoutDependency:layoutDependency,layoutId:\"zReINw005\",ref:ref,style:{backgroundColor:wdGQJh0F_,borderBottomLeftRadius:20,borderBottomRightRadius:20,borderTopLeftRadius:20,borderTopRightRadius:20,...style},transition:transition,variants:{n1Lxx4QSl:{backgroundColor:oep5aWG90}},...addPropertyOverrides({n1Lxx4QSl:{\"data-framer-name\":\"On\"}},baseVariant,gestureVariant),children:/*#__PURE__*/ _jsx(motion.div,{className:\"framer-u7n9zz\",layoutDependency:layoutDependency,layoutId:\"O3uKgVodv\",style:{backgroundColor:\"rgb(255, 255, 255)\",borderBottomLeftRadius:\"50%\",borderBottomRightRadius:\"50%\",borderTopLeftRadius:\"50%\",borderTopRightRadius:\"50%\"},transition:transition})})})});});const css=['.framer-4aJ9g [data-border=\"true\"]::after { content: \"\"; border-width: var(--border-top-width, 0) var(--border-right-width, 0) var(--border-bottom-width, 0) var(--border-left-width, 0); border-color: var(--border-color, none); border-style: var(--border-style, none); width: 100%; height: 100%; position: absolute; box-sizing: border-box; left: 0; top: 0; border-radius: inherit; pointer-events: none; }',\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-4aJ9g .framer-15sckd1 { display: block; }\",\".framer-4aJ9g .framer-35610y { align-content: center; align-items: center; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: 14px; justify-content: flex-start; overflow: hidden; padding: 2px 2px 2px 2px; position: relative; width: 24px; will-change: transform; }\",\".framer-4aJ9g .framer-u7n9zz { aspect-ratio: 1 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 10px); overflow: visible; position: relative; width: 10px; z-index: 2; }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-4aJ9g .framer-35610y { gap: 0px; } .framer-4aJ9g .framer-35610y > * { margin: 0px; margin-left: calc(10px / 2); margin-right: calc(10px / 2); } .framer-4aJ9g .framer-35610y > :first-child { margin-left: 0px; } .framer-4aJ9g .framer-35610y > :last-child { margin-right: 0px; } }\",\".framer-4aJ9g.framer-v-ydz03l .framer-35610y { justify-content: flex-end; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 14\n * @framerIntrinsicWidth 24\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"n1Lxx4QSl\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"oep5aWG90\":\"background\",\"wdGQJh0F_\":\"backgroundInactive\"}\n */ const FramerBlf0sjosZ=withCSS(Component,css,\"framer-4aJ9g\");export default FramerBlf0sjosZ;FramerBlf0sjosZ.displayName=\"Toggle\";FramerBlf0sjosZ.defaultProps={height:14,width:24};addPropertyControls(FramerBlf0sjosZ,{variant:{options:[\"zReINw005\",\"n1Lxx4QSl\"],optionTitles:[\"Off\",\"On\"],title:\"Variant\",type:ControlType.Enum},oep5aWG90:{defaultValue:\"rgb(0, 153, 255)\",title:\"Background\",type:ControlType.Color},wdGQJh0F_:{defaultValue:\"rgba(0, 0, 0, 0.1)\",title:\"Background Inactive\",type:ControlType.Color}});addFonts(FramerBlf0sjosZ,[]);\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerBlf0sjosZ\",\"slots\":[],\"annotations\":{\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"n1Lxx4QSl\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerVariables\":\"{\\\"oep5aWG90\\\":\\\"background\\\",\\\"wdGQJh0F_\\\":\\\"backgroundInactive\\\"}\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"24\",\"framerIntrinsicHeight\":\"14\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Blf0sjosZ.map", "import { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nimport { addPropertyControls, ControlType, RenderTarget } from \"framer\";\nimport { motion } from \"framer-motion\";\nimport { IntercomProvider } from \"https://framer.com/m/framer/react-use-intercom.js@0.0.3\";\nimport { neutralStateStyle, stateParagraphStyle, stateTitleStyle } from \"https://framer.com/m/framer/integrations-styles.js@^0.2.0\"; /**\n                                                                                                                                     * INTERCOM\n                                                                                                                                     *\n                                                                                                                                     * @framerIntrinsicWidth 200\n                                                                                                                                     * @framerIntrinsicHeight 100\n                                                                                                                                     *\n                                                                                                                                     * @framerSupportedLayoutWidth fixed\n                                                                                                                                     * @framerSupportedLayoutHeight fixed\n                                                                                                                                     */\nexport default function Intercom({\n  appId,\n  style,\n  ...props\n}) {\n  const isCanvas = RenderTarget.current() === RenderTarget.canvas;\n  return isCanvas ? /*#__PURE__*/_jsxs(motion.div, {\n    style: {\n      ...neutralStateStyle,\n      ...style\n    },\n    children: [/*#__PURE__*/_jsx(\"h1\", {\n      style: stateTitleStyle,\n      children: \"Intercom\"\n    }), /*#__PURE__*/_jsx(\"p\", {\n      style: stateParagraphStyle,\n      children: \"Drop this component into a Screen to add Intercom.\"\n    })]\n  }) : /*#__PURE__*/_jsx(IntercomProvider, {\n    autoBoot: true,\n    appId: appId\n  });\n}\n;\naddPropertyControls(Intercom, {\n  appId: {\n    title: \"ID\",\n    type: ControlType.String,\n    description: \"Create an [Intercom](https://www.intercom.com/) account and copy your workspace ID. [Learn more\u2026](https://www.framer.com/sites/integrations/intercom/)\"\n  }\n});\nexport const __FramerMetadata__ = {\n  \"exports\": {\n    \"default\": {\n      \"type\": \"reactComponent\",\n      \"name\": \"Intercom\",\n      \"slots\": [],\n      \"annotations\": {\n        \"framerContractVersion\": \"1\",\n        \"framerSupportedLayoutHeight\": \"fixed\",\n        \"framerIntrinsicHeight\": \"100\",\n        \"framerIntrinsicWidth\": \"200\",\n        \"framerSupportedLayoutWidth\": \"fixed\"\n      }\n    },\n    \"__FramerMetadata__\": {\n      \"type\": \"variable\"\n    }\n  }\n};\n//# sourceMappingURL=./Intercom.map", "import { createContext, useRef, useCallback, useMemo, createElement, useContext } from 'react';\n\nfunction _extends() {\n  _extends = Object.assign || function (target) {\n    for (var i = 1; i < arguments.length; i++) {\n      var source = arguments[i];\n\n      for (var key in source) {\n        if (Object.prototype.hasOwnProperty.call(source, key)) {\n          target[key] = source[key];\n        }\n      }\n    }\n\n    return target;\n  };\n\n  return _extends.apply(this, arguments);\n}\n\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n  if (source == null) return {};\n  var target = {};\n  var sourceKeys = Object.keys(source);\n  var key, i;\n\n  for (i = 0; i < sourceKeys.length; i++) {\n    key = sourceKeys[i];\n    if (excluded.indexOf(key) >= 0) continue;\n    target[key] = source[key];\n  }\n\n  return target;\n}\n\n/**\r\n * Logs messages in the console with a corresponding urgency\r\n *\r\n * @param level the urgency of the message\r\n * @param message the message to log in the console\r\n */\nvar log = function log(level, message) {\n  if (process.env.NODE_ENV !== \"production\") {\n    var packageName = '[react-use-intercom]';\n\n    switch (level) {\n      case 'info':\n        console.log(packageName + \" \" + message);\n        break;\n\n      case 'warn':\n        console.warn(packageName + \" \" + message);\n        break;\n\n      case 'error':\n        console.error(packageName + \" \" + message);\n        break;\n\n      default:\n        console.log(packageName + \" \" + message);\n    }\n  }\n};\n\nvar isEmptyObject = function isEmptyObject(obj) {\n  return Object.keys(obj).length === 0 && obj.constructor === Object;\n};\nvar isSSR = typeof window === 'undefined';\n/**\r\n * Removes object entries where the value equals to `undefined`\r\n *\r\n * @param obj\r\n */\n\nvar removeUndefined = function removeUndefined(obj) {\n  Object.keys(obj).forEach(function (key) {\n    if (obj[key] && typeof obj[key] === 'object') removeUndefined(obj[key]);else if (obj[key] === undefined) delete obj[key];\n  });\n  return obj;\n};\n\n/**\r\n * Safely exposes `window.Intercom` and passes the arguments to the instance\r\n *\r\n * @param method method passed to the `window.Intercom` instance\r\n * @param args arguments passed to the `window.Intercom` instance\r\n *\r\n * @see {@link https://developers.intercom.com/installing-intercom/docs/intercom-javascript}\r\n */\n\nvar IntercomAPI = function IntercomAPI(method) {\n  if (!isSSR && window.Intercom) {\n    for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n      args[_key - 1] = arguments[_key];\n    }\n\n    return window.Intercom.apply(null, [method].concat(args));\n  } else {\n    log('error', method + \" Intercom instance is not initalized yet\");\n  }\n};\n\nvar NO_INTERCOM_PROVIDER_MESSAGE = 'Please wrap your component with `IntercomProvider`.';\nvar IntercomContext = /*#__PURE__*/createContext({\n  boot: function boot() {\n    return log('error', NO_INTERCOM_PROVIDER_MESSAGE);\n  },\n  shutdown: function shutdown() {\n    return log('error', NO_INTERCOM_PROVIDER_MESSAGE);\n  },\n  hardShutdown: function hardShutdown() {\n    return log('error', NO_INTERCOM_PROVIDER_MESSAGE);\n  },\n  update: function update() {\n    return log('error', NO_INTERCOM_PROVIDER_MESSAGE);\n  },\n  hide: function hide() {\n    return log('error', NO_INTERCOM_PROVIDER_MESSAGE);\n  },\n  show: function show() {\n    return log('error', NO_INTERCOM_PROVIDER_MESSAGE);\n  },\n  showMessages: function showMessages() {\n    return log('error', NO_INTERCOM_PROVIDER_MESSAGE);\n  },\n  showNewMessages: function showNewMessages() {\n    return log('error', NO_INTERCOM_PROVIDER_MESSAGE);\n  },\n  getVisitorId: function getVisitorId() {\n    log('error', NO_INTERCOM_PROVIDER_MESSAGE);\n    return '';\n  },\n  startTour: function startTour() {\n    return log('error', NO_INTERCOM_PROVIDER_MESSAGE);\n  },\n  trackEvent: function trackEvent() {\n    return log('error', NO_INTERCOM_PROVIDER_MESSAGE);\n  }\n});\n\n// @ts-nocheck\n\n/**\r\n * Snippet to initialize the Intercom instance\r\n *\r\n * @param appId - Intercom app id\r\n * @param [timeout=0] - Amount of milliseconds that the initialization should be delayed, defaults to 0\r\n *\r\n * @see {@link https://developers.intercom.com/installing-intercom/docs/basic-javascript}\r\n */\nvar initialize = function initialize(appId, timeout) {\n  if (timeout === void 0) {\n    timeout = 0;\n  }\n\n  var w = window;\n  var ic = w.Intercom;\n\n  if (typeof ic === 'function') {\n    ic('reattach_activator');\n    ic('update', w.intercomSettings);\n  } else {\n    var d = document;\n\n    var i = function i() {\n      i.c(arguments);\n    };\n\n    i.q = [];\n\n    i.c = function (args) {\n      i.q.push(args);\n    };\n\n    w.Intercom = i;\n\n    var l = function l() {\n      setTimeout(function () {\n        var s = d.createElement('script');\n        s.type = 'text/javascript';\n        s.async = true;\n        s.src = 'https://widget.intercom.io/widget/' + appId;\n        var x = d.getElementsByTagName('script')[0];\n        x.parentNode.insertBefore(s, x);\n      }, timeout);\n    };\n\n    if (document.readyState === 'complete') {\n      l();\n    } else if (w.attachEvent) {\n      w.attachEvent('onload', l);\n    } else {\n      w.addEventListener('load', l, false);\n    }\n  }\n};\n\nvar mapMessengerAttributesToRawMessengerAttributes = function mapMessengerAttributesToRawMessengerAttributes(attributes) {\n  return {\n    custom_launcher_selector: attributes.customLauncherSelector,\n    alignment: attributes.alignment,\n    vertical_padding: attributes.verticalPadding,\n    horizontal_padding: attributes.horizontalPadding,\n    hide_default_launcher: attributes.hideDefaultLauncher,\n    session_duration: attributes.sessionDuration,\n    action_color: attributes.actionColor,\n    background_color: attributes.backgroundColor\n  };\n};\n\nvar mapDataAttributesCompanyToRawDataAttributesCompany = function mapDataAttributesCompanyToRawDataAttributesCompany(attributes) {\n  return _extends({\n    company_id: attributes.companyId,\n    name: attributes.name,\n    created_at: attributes.createdAt,\n    plan: attributes.plan,\n    monthly_spend: attributes.monthlySpend,\n    user_count: attributes.userCount,\n    size: attributes.size,\n    website: attributes.website,\n    industry: attributes.industry\n  }, attributes.customAttributes);\n};\n\nvar mapDataAttributesAvatarToRawDataAttributesAvatar = function mapDataAttributesAvatarToRawDataAttributesAvatar(attributes) {\n  return {\n    type: attributes.type,\n    image_url: attributes.imageUrl\n  };\n};\n\nvar mapDataAttributesToRawDataAttributes = function mapDataAttributesToRawDataAttributes(attributes) {\n  var _attributes$companies;\n\n  return _extends({\n    email: attributes.email,\n    user_id: attributes.userId,\n    created_at: attributes.createdAt,\n    name: attributes.name,\n    phone: attributes.phone,\n    last_request_at: attributes.lastRequestAt,\n    unsubscribed_from_emails: attributes.unsubscribedFromEmails,\n    language_override: attributes.languageOverride,\n    utm_campaign: attributes.utmCampaign,\n    utm_content: attributes.utmContent,\n    utm_medium: attributes.utmMedium,\n    utm_source: attributes.utmSource,\n    utm_term: attributes.utmTerm,\n    avatar: attributes.avatar && mapDataAttributesAvatarToRawDataAttributesAvatar(attributes.avatar),\n    user_hash: attributes.userHash,\n    company: attributes.company && mapDataAttributesCompanyToRawDataAttributesCompany(attributes.company),\n    companies: (_attributes$companies = attributes.companies) == null ? void 0 : _attributes$companies.map(mapDataAttributesCompanyToRawDataAttributesCompany)\n  }, attributes.customAttributes);\n};\nvar mapIntercomPropsToRawIntercomProps = function mapIntercomPropsToRawIntercomProps(props) {\n  return removeUndefined(_extends({}, mapMessengerAttributesToRawMessengerAttributes(props), mapDataAttributesToRawDataAttributes(props)));\n};\n\nvar IntercomProvider = function IntercomProvider(_ref) {\n  var appId = _ref.appId,\n      _ref$autoBoot = _ref.autoBoot,\n      autoBoot = _ref$autoBoot === void 0 ? false : _ref$autoBoot,\n      autoBootProps = _ref.autoBootProps,\n      children = _ref.children,\n      onHide = _ref.onHide,\n      onShow = _ref.onShow,\n      onUnreadCountChange = _ref.onUnreadCountChange,\n      _ref$shouldInitialize = _ref.shouldInitialize,\n      shouldInitialize = _ref$shouldInitialize === void 0 ? !isSSR : _ref$shouldInitialize,\n      apiBase = _ref.apiBase,\n      initializeDelay = _ref.initializeDelay,\n      rest = _objectWithoutPropertiesLoose(_ref, [\"appId\", \"autoBoot\", \"autoBootProps\", \"children\", \"onHide\", \"onShow\", \"onUnreadCountChange\", \"shouldInitialize\", \"apiBase\", \"initializeDelay\"]);\n\n  var isBooted = useRef(false);\n  var isInitialized = useRef(false);\n  if (!isEmptyObject(rest) && process.env.NODE_ENV !== \"production\") log('error', ['some invalid props were passed to IntercomProvider. ', \"Please check following props: \" + Object.keys(rest).join(', ') + \".\"].join(''));\n  var boot = useCallback(function (props) {\n    if (!window.Intercom && !shouldInitialize) {\n      log('warn', 'Intercom instance is not initialized because `shouldInitialize` is set to `false` in `IntercomProvider`');\n      return;\n    }\n\n    if (isBooted.current) {\n      return;\n    }\n\n    var metaData = _extends({\n      app_id: appId\n    }, apiBase && {\n      api_base: apiBase\n    }, props && mapIntercomPropsToRawIntercomProps(props));\n\n    window.intercomSettings = metaData;\n    IntercomAPI('boot', metaData);\n    isBooted.current = true;\n  }, [apiBase, appId, shouldInitialize]);\n\n  if (!isSSR && shouldInitialize && !isInitialized.current) {\n    initialize(appId, initializeDelay); // attach listeners\n\n    if (onHide) IntercomAPI('onHide', onHide);\n    if (onShow) IntercomAPI('onShow', onShow);\n    if (onUnreadCountChange) IntercomAPI('onUnreadCountChange', onUnreadCountChange);\n\n    if (autoBoot) {\n      boot(autoBootProps);\n    }\n\n    isInitialized.current = true;\n  }\n\n  var ensureIntercom = useCallback(function (functionName, callback) {\n    if (functionName === void 0) {\n      functionName = 'A function';\n    }\n\n    if (!window.Intercom && !shouldInitialize) {\n      log('warn', 'Intercom instance is not initialized because `shouldInitialize` is set to `false` in `IntercomProvider`');\n      return;\n    }\n\n    if (!isBooted.current) {\n      log('warn', [\"'\" + functionName + \"' was called but Intercom has not booted yet. \", \"Please call 'boot' before calling '\" + functionName + \"' or \", \"set 'autoBoot' to true in the IntercomProvider.\"].join(''));\n      return;\n    }\n\n    return callback();\n  }, [shouldInitialize]);\n  var shutdown = useCallback(function () {\n    if (!isBooted.current) return;\n    IntercomAPI('shutdown');\n    isBooted.current = false;\n  }, []);\n  var hardShutdown = useCallback(function () {\n    if (!isBooted.current) return;\n    IntercomAPI('shutdown');\n    delete window.Intercom;\n    delete window.intercomSettings;\n    isBooted.current = false;\n  }, []);\n  var refresh = useCallback(function () {\n    ensureIntercom('update', function () {\n      var lastRequestedAt = new Date().getTime();\n      IntercomAPI('update', {\n        last_requested_at: lastRequestedAt\n      });\n    });\n  }, [ensureIntercom]);\n  var update = useCallback(function (props) {\n    ensureIntercom('update', function () {\n      if (!props) {\n        refresh();\n        return;\n      }\n\n      var rawProps = mapIntercomPropsToRawIntercomProps(props);\n      window.intercomSettings = _extends({}, window.intercomSettings, rawProps);\n      IntercomAPI('update', rawProps);\n    });\n  }, [ensureIntercom, refresh]);\n  var hide = useCallback(function () {\n    ensureIntercom('hide', function () {\n      IntercomAPI('hide');\n    });\n  }, [ensureIntercom]);\n  var show = useCallback(function () {\n    ensureIntercom('show', function () {\n      return IntercomAPI('show');\n    });\n  }, [ensureIntercom]);\n  var showMessages = useCallback(function () {\n    ensureIntercom('showMessages', function () {\n      IntercomAPI('showMessages');\n    });\n  }, [ensureIntercom]);\n  var showNewMessages = useCallback(function (message) {\n    ensureIntercom('showNewMessage', function () {\n      if (!message) {\n        IntercomAPI('showNewMessage');\n      } else {\n        IntercomAPI('showNewMessage', message);\n      }\n    });\n  }, [ensureIntercom]);\n  var getVisitorId = useCallback(function () {\n    return ensureIntercom('getVisitorId', function () {\n      return IntercomAPI('getVisitorId');\n    });\n  }, [ensureIntercom]);\n  var startTour = useCallback(function (tourId) {\n    ensureIntercom('startTour', function () {\n      IntercomAPI('startTour', tourId);\n    });\n  }, [ensureIntercom]);\n  var trackEvent = useCallback(function (event, metaData) {\n    ensureIntercom('trackEvent', function () {\n      if (metaData) {\n        IntercomAPI('trackEvent', event, metaData);\n      } else {\n        IntercomAPI('trackEvent', event);\n      }\n    });\n  }, [ensureIntercom]);\n  var providerValue = useMemo(function () {\n    return {\n      boot: boot,\n      shutdown: shutdown,\n      hardShutdown: hardShutdown,\n      update: update,\n      hide: hide,\n      show: show,\n      showMessages: showMessages,\n      showNewMessages: showNewMessages,\n      getVisitorId: getVisitorId,\n      startTour: startTour,\n      trackEvent: trackEvent\n    };\n  }, [boot, shutdown, hardShutdown, update, hide, show, showMessages, showNewMessages, getVisitorId, startTour, trackEvent]);\n  var content = useMemo(function () {\n    return children;\n  }, [children]);\n  return createElement(IntercomContext.Provider, {\n    value: providerValue\n  }, content);\n};\nvar useIntercomContext = function useIntercomContext() {\n  return useContext(IntercomContext);\n};\n\nvar useIntercom = function useIntercom() {\n  return useIntercomContext();\n};\n\nexport { IntercomProvider, useIntercom };\n//# sourceMappingURL=react-use-intercom.esm.js.map\n", "import{containerStyles,emptyStateStyle as defaultEmptyStateStyle}from\"https://framer.com/m/framer/default-utils.js@^0.43.0\";export const emptyStateStyle={...containerStyles,...defaultEmptyStateStyle,textAlign:\"center\",padding:15,width:200,height:100,overflow:\"hidden\"};export const neutralStateStyle={...emptyStateStyle,color:\"#09f\",background:\"rgb(0, 153, 255, 0.1)\",borderColor:\"#09f\"};export const stateTitleStyle={fontSize:12,fontWeight:600,margin:0};export const stateParagraphStyle={fontSize:12,maxWidth:200,lineHeight:1.4,margin:\"5px 0 0 0\"};\nexport const __FramerMetadata__ = {\"exports\":{\"neutralStateStyle\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"stateTitleStyle\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"emptyStateStyle\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"stateParagraphStyle\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./styles.map"],
  "mappings": "iZAAAA,ICAAC,ICAAC,IACO,IAAMC,GAAiB,mCACjBC,GAAsB,SAK7BC,GAAsB,CAACC,EAAWC,EAAgB,cAAgB,UAAUA,cAA0BA,YAA0BD,EAAY,UAAUC,UAAsB,KAAK,UAAUD,CAAS,KAAO,IAM3ME,GAAmB,CAACC,EAAIC,EAAaC,EAAeR,KAAmB,CAC3E,IAAIS,EAAS,GACb,GAAIF,EAAa,CACf,GAAM,CACJ,SAAAG,EACA,YAAAC,CACF,EAAIJ,EACJE,EAAS,aAAaC,iBAAwBC,sBAEhD,MAAO,gBAAgBH,gBAA2BF,IAAKG,2FACzD,EAQMG,GAAe,CAACR,EAAeE,EAAIC,EAAaC,EAAeR,GAAgBa,EAAmBZ,KAAwB,CAC9H,IAAIQ,EAAS,GACb,GAAIF,EAAa,CACf,GAAM,CACJ,SAAAG,EACA,YAAAC,CACF,EAAIJ,EACJE,EAAS,eAAeC,iBAAwBC,uBAElD,MAAO;AAAA;AAAA;AAAA;AAAA,SAIAH,KAAgBK,cAA6BJ;AAAA,mCACnBL,OAAmBE;AAAA,GAEtD,EAIMQ,GAAWL,IAsBR,CACL,mBAtByB,IAAM,CAC/B,IAAMM,EAAkB,SAAS,cAAc,QAAQ,EACvD,OAAIN,EAAO,OACTM,EAAgB,aAAa,QAASN,EAAO,KAAK,EAEpDM,EAAgB,UAAYb,GAAoBO,EAAO,UAAWA,EAAO,aAAa,EAC/EM,CACT,EAgBE,YAfkB,IAAM,CACxB,IAAMC,EAAW,SAAS,cAAc,UAAU,EAClD,OAAAA,EAAS,UAAYX,GAAiBI,EAAO,GAAIA,EAAO,YAAaA,EAAO,YAAY,EACjFO,CACT,EAYE,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ACL,MAAO,KACP,KAAMa,EAAY,OAClB,YAAa,6JACf,CACF,CAAC",
  "names": ["init_shims", "init_shims", "init_shims", "DEFAULT_DOMAIN", "DEFAULT_SCRIPT_NAME", "getDataLayerSnippet", "dataLayer", "dataLayerName", "getIframeSnippet", "id", "environment", "customDomain", "params", "gtm_auth", "gtm_preview", "getGTMScript", "customScriptName", "setupGTM", "dataLayerScript", "noScript", "script", "initGTM", "nonce", "gtm", "gtag", "isBrowser", "window", "sendToGTM", "args", "init_shims", "DEFAULT_FONT_FAMILY", "getFlexboxValues", "position", "positionParts", "justifyContent", "alignItems", "getMultipleShadows", "shadows", "output", "shadow", "getShadow", "safeJSONParse", "jsonString", "onError", "toGTMConsent", "consent", "reducer", "state", "action", "initialState", "defaultConsent", "useConsent", "gtmId", "dispatch", "le", "isOnFramerCanvas", "useIsOnFramerCanvas", "consentModeLocalStorageKey", "dismissedLocalStorageKey", "getStateFromLocalStorage", "consentFromLocalStorage", "hasDismissed", "safeJSONParse", "syncToGTM", "sendToGTM", "initGTM", "ue", "isBrowser", "dismiss", "autoAccept", "acceptAll", "rejectAll", "acceptCurrent", "toggleMode", "mode", "init_shims", "init_shims", "countries", "isInEUTimezone", "ref", "ref1", "ref2", "isEULocale", "_language", "locale", "navigator", "country", "inEU", "useRegion", "content", "useRegionFromProps", "regionBasedOnLocation", "isBrowser", "inEU", "regionFromProps", "init_shims", "IconCookie", "props", "p", "init_shims", "init_shims", "cycleOrder", "variantClassNames", "addPropertyOverrides", "overrides", "variants", "nextOverrides", "variant", "humanReadableVariantMap", "transitions", "Component", "Y", "id", "style", "className", "width", "height", "layoutId", "outerVariant", "oep5aWG90", "wdGQJh0F_", "restProps", "ref", "baseVariant", "classNames", "gestureVariant", "setGestureState", "setVariant", "transition", "useVariantState", "layoutDependency", "defaultLayoutId", "ae", "p", "LayoutGroup", "motion", "cx", "css", "FramerBlf0sjosZ", "withCSS", "Toggle_zGbN_default", "addPropertyControls", "ControlType", "addFonts", "SPACING", "Banner", "banner", "button", "region", "options", "previewOptions", "consentModes", "onDismiss", "onAcceptAll", "onRejectAll", "onAcceptCurrent", "onToggleConsent", "animateOnMount", "ref", "maxHeightReduction", "linkColor", "paddingValue", "bannerShadow", "getShadow", "borderShadow", "bannerStyle", "getMultipleShadows", "p", "motion", "DEFAULT_FONT_FAMILY", "SimpleBanner", "AcceptRejectBanner", "OptionsBanner", "description", "policy", "padding", "u", "Description", "Button", "title", "onAccept", "onReject", "Headline", "Buttons", "consent", "onOptionToggle", "showOptions", "setShowOptions", "ye", "optionTheme", "optionNames", "shouldShowOptions", "AnimatePresence", "option", "Option", "l", "titleColor", "descriptionColor", "showDescription", "enabled", "onClick", "theme", "Toggle_zGbN_default", "children", "style", "direction", "primary", "settings", "initiallyOpen", "CookieBanner", "gtmId", "preview", "trigger", "banner", "button", "content", "options", "style", "isOnFramerCanvas", "useIsOnFramerCanvas", "isPreview", "region", "useRegion", "consent", "useConsent", "isOpen", "setIsOpen", "ye", "instantlyShowOnMount", "setInstantlyShowOnMount", "ue", "noConsentGiven", "autoConsentAllowed", "handleDismiss", "handleAcceptAll", "handleRejectAll", "handleAcceptCurrent", "p", "Banner", "defaultConsent", "u", "l", "Trigger", "AnimatePresence", "Overlay", "props", "ref", "insetValue", "justifyContent", "alignItems", "getFlexboxValues", "qa", "motion", "Backdrop", "onClick", "IconCookie", "DEFAULT_FONT_FAMILY", "color", "addPropertyControls", "ControlType", "_", "init_shims", "init_shims", "_extends", "target", "i", "source", "key", "_objectWithoutPropertiesLoose", "excluded", "sourceKeys", "log", "level", "message", "packageName", "isEmptyObject", "obj", "isSSR", "window", "removeUndefined", "IntercomAPI", "method", "_len", "args", "_key", "NO_INTERCOM_PROVIDER_MESSAGE", "IntercomContext", "z", "initialize", "appId", "timeout", "w", "ic", "d", "s", "x", "mapMessengerAttributesToRawMessengerAttributes", "attributes", "mapDataAttributesCompanyToRawDataAttributesCompany", "mapDataAttributesAvatarToRawDataAttributesAvatar", "mapDataAttributesToRawDataAttributes", "_attributes$companies", "mapIntercomPropsToRawIntercomProps", "props", "IntercomProvider", "_ref", "_ref$autoBoot", "autoBoot", "autoBootProps", "children", "onHide", "onShow", "onUnreadCountChange", "_ref$shouldInitialize", "shouldInitialize", "apiBase", "initializeDelay", "rest", "isBooted", "pe", "isInitialized", "boot", "te", "metaData", "ensureIntercom", "functionName", "callback", "shutdown", "hardShutdown", "refresh", "lastRequestedAt", "update", "rawProps", "hide", "show", "showMessages", "showNewMessages", "getVisitorId", "startTour", "tourId", "trackEvent", "event", "providerValue", "se", "content", "B", "init_shims", "emptyStateStyle", "containerStyles", "neutralStateStyle", "stateTitleStyle", "stateParagraphStyle", "Intercom", "appId", "style", "props", "RenderTarget", "u", "motion", "neutralStateStyle", "p", "stateTitleStyle", "stateParagraphStyle", "IntercomProvider", "addPropertyControls", "ControlType"]
}
