{"version":3,"file":"static/components/front/legacyPages-062b9215d525884e.mjs?cv=7","sources":["webpack:///home/runner/work/actionpopulaire.fr/actionpopulaire.fr/agir/../node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js","webpack:///home/runner/work/actionpopulaire.fr/actionpopulaire.fr/agir/../node_modules/@emotion/memoize/dist/emotion-memoize.esm.js","webpack:///home/runner/work/actionpopulaire.fr/actionpopulaire.fr/agir/front/components/allPages/FloatButton.js","webpack:///home/runner/work/actionpopulaire.fr/actionpopulaire.fr/agir/front/components/authentication/api.js","webpack:///home/runner/work/actionpopulaire.fr/actionpopulaire.fr/agir/front/components/genericComponents/Modal.js","webpack:///home/runner/work/actionpopulaire.fr/actionpopulaire.fr/agir/front/components/genericComponents/Tooltip.js","webpack:///home/runner/work/actionpopulaire.fr/actionpopulaire.fr/agir/front/components/allPages/PushModal/index.js","webpack:///home/runner/work/actionpopulaire.fr/actionpopulaire.fr/agir/front/components/allPages/FeedbackButton.js","webpack:///home/runner/work/actionpopulaire.fr/actionpopulaire.fr/agir/front/components/legacyPages/copybox.js","webpack:///home/runner/work/actionpopulaire.fr/actionpopulaire.fr/agir/front/components/legacyPages/renderLegacyPageComponents.js"],"sourcesContent":["import memoize from '@emotion/memoize';\n\n// eslint-disable-next-line no-undef\nvar reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23\n\nvar isPropValid = /* #__PURE__ */memoize(function (prop) {\n  return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111\n  /* o */\n  && prop.charCodeAt(1) === 110\n  /* n */\n  && prop.charCodeAt(2) < 91;\n}\n/* Z+1 */\n);\n\nexport { isPropValid as default };\n","function memoize(fn) {\n  var cache = Object.create(null);\n  return function (arg) {\n    if (cache[arg] === undefined) cache[arg] = fn(arg);\n    return cache[arg];\n  };\n}\n\nexport { memoize as default };\n","import PropTypes from \"prop-types\";\nimport React, { useCallback, useState } from \"react\";\nimport { useTransition, animated } from \"@react-spring/web\";\nimport { useEffectOnce } from \"react-use\";\nimport styled, { css } from \"styled-components\";\n\nimport { useSelector } from \"@agir/front/globalContext/GlobalContext\";\nimport { getUser, getRoutes } from \"@agir/front/globalContext/reducers\";\nimport { useMobileApp } from \"@agir/front/app/hooks/useMobileApp\";\nimport { useLocalStorage } from \"@agir/lib/utils/hooks\";\n\nimport Tooltip from \"@agir/front/genericComponents/Tooltip\";\n\nconst slideInTransition = {\n  from: { opacity: 0, marginBottom: \"-3rem\" },\n  enter: { opacity: 1, marginBottom: \"0rem\" },\n  leave: { opacity: 0, marginBottom: \"-3rem\" },\n};\n\nconst Button = styled.a`\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  width: 100%;\n  height: 100%;\n  border-radius: 100%;\n  background-color: transparent;\n  background-repeat: no-repeat;\n  background-size: cover;\n  background-position: center center;\n\n  ${({ $background }) =>\n    $background\n      ? css`\n          background-image: url(${$background});\n        `\n      : css`\n          background-color: ${(props) => props.theme.secondary500};\n          &:hover {\n            background-color: ${(props) => props.theme.secondary600};\n          }\n        `}\n\n  &:hover {\n    text-decoration: none;\n  }\n\n  i {\n    font-size: 2em;\n  }\n`;\n\nconst Wrapper = styled(animated.div)`\n  z-index: 100;\n  position: fixed;\n  bottom: 1.5rem;\n  right: 1.5rem;\n  width: 3.5rem;\n  height: 3.5rem;\n  border-radius: 50%;\n\n  @media (max-width: ${(props) => props.theme.collapse}px) {\n    width: 3rem;\n    height: 3rem;\n    bottom: 6.5rem;\n  }\n`;\n\nexport const FloatButton = (props) => {\n  const { isActive, shouldPushTooltip, href, content, icon, label } = props;\n\n  const [hasTooltip, setHasTooltip] = useState(false);\n\n  const hideTooltip = useCallback(() => {\n    setHasTooltip(false);\n  }, []);\n\n  const showTooltip = useCallback(() => {\n    setHasTooltip(true);\n  }, []);\n\n  const pushTooltip = useCallback(() => {\n    shouldPushTooltip && showTooltip();\n  }, [shouldPushTooltip, showTooltip]);\n\n  const wrapperTransition = useTransition(isActive, {\n    ...slideInTransition,\n    onRest: pushTooltip,\n  });\n\n  return wrapperTransition((style, item) =>\n    item ? (\n      <Wrapper style={{ ...(props.style || {}), ...style }}>\n        <Tooltip\n          position=\"top-left\"\n          shouldShow={hasTooltip}\n          onClose={shouldPushTooltip ? hideTooltip : undefined}\n        >\n          {content}\n        </Tooltip>\n        <Button\n          $background={props.background}\n          href={href}\n          aria-label={label}\n          onMouseOver={shouldPushTooltip ? undefined : showTooltip}\n          onMouseLeave={shouldPushTooltip ? undefined : hideTooltip}\n        >\n          <i className={icon} />\n        </Button>\n      </Wrapper>\n    ) : null,\n  );\n};\nFloatButton.propTypes = {\n  isActive: PropTypes.bool,\n  shouldPushTooltip: PropTypes.bool,\n  href: PropTypes.string,\n};\n\nconst ConnectedFloatButton = (props) => {\n  const user = useSelector(getUser);\n  const [visitCount, setVisitCount] = useLocalStorage(\"AP_vcount\", 0);\n  const [shouldPushTooltip, setShouldPushTooltip] = useState(false);\n\n  useEffectOnce(() => {\n    const count = visitCount + 1;\n    count % 20 === 3 && setShouldPushTooltip(true);\n    setVisitCount(count);\n  });\n\n  return (\n    <FloatButton\n      {...props}\n      shouldPushTooltip={shouldPushTooltip}\n      isActive={!!user}\n    />\n  );\n};\nexport default ConnectedFloatButton;\n","import axios from \"@agir/lib/utils/axios\";\n\nexport const ENDPOINT = {\n  login: \"/api/connexion/\",\n  checkCode: \"/api/connexion/code/\",\n  logout: \"/api/deconnexion/\",\n  signUp: \"/api/inscription/\",\n  getProfile: \"/api/user/profile/\",\n  getProfileOptions: \"/api/user/profile/\",\n  updateProfile: \"/api/user/profile/\",\n};\n\nexport const getAuthenticationEndpoint = (key, params) => {\n  let endpoint = ENDPOINT[key] || \"\";\n  if (params) {\n    Object.entries(params).forEach(([key, value]) => {\n      endpoint = endpoint.replace(`:${key}`, value);\n    });\n  }\n  return endpoint;\n};\n\nexport const login = async (email) => {\n  const result = {\n    success: false,\n    error: null,\n  };\n  const url = ENDPOINT.login;\n  const body = { email: email.trim() };\n  try {\n    const response = await axios.post(url, body);\n    result.success = response.status === 200;\n    result.data = response.data || null;\n  } catch (e) {\n    result.error = (e.response && e.response.data) || e.message;\n  }\n\n  return result;\n};\n\nexport const checkCode = async (code) => {\n  const result = {\n    data: null,\n    error: null,\n  };\n  const url = ENDPOINT.checkCode;\n  const body = { code };\n  try {\n    const response = await axios.post(url, body);\n    result.data = response.data;\n  } catch (e) {\n    result.error = (e.response && e.response.data) || e.message;\n  }\n\n  return result;\n};\n\nexport const logout = async () => {\n  const result = {\n    success: false,\n    error: null,\n  };\n  const url = ENDPOINT.logout;\n  try {\n    const response = await axios.get(url);\n    result.success = response.status === 200;\n  } catch (e) {\n    result.error = (e.response && e.response.data) || e.message;\n  }\n\n  return result;\n};\n\nexport const signUp = async (data, next) => {\n  const result = {\n    data: null,\n    error: null,\n  };\n  const formData = {\n    email: data.email.trim(),\n    location_zip: data.postalCode,\n    location_country: data.country,\n    next: next || undefined,\n  };\n  const url = ENDPOINT.signUp;\n  try {\n    const response = await axios.post(url, formData);\n    result.data = response.data;\n  } catch (e) {\n    result.error = {};\n    if (!e.response || !e.response.data) {\n      result.error = e.message;\n      return result;\n    }\n    const { email, location_zip, location_country, non_field_errors } =\n      e.response.data;\n    if (email) {\n      result.error.email = email;\n    }\n    if (location_zip) {\n      result.error.postalCode = location_zip;\n    }\n    if (location_country) {\n      result.error.country = location_country;\n    }\n    if (non_field_errors) {\n      result.error.global = non_field_errors;\n    }\n  }\n\n  return result;\n};\n\nexport const getProfile = async () => {\n  const result = {\n    data: null,\n    error: null,\n  };\n  const url = ENDPOINT.getProfile;\n  try {\n    const response = await axios.get(url);\n    result.data = response.data;\n  } catch (e) {\n    result.error = (e.response && e.response.data) || e.message;\n  }\n\n  return result;\n};\n\nexport const getProfileOptions = async () => {\n  const result = {\n    data: null,\n    error: null,\n  };\n  const url = ENDPOINT.getProfileOptions;\n  try {\n    const response = await axios.options(url);\n    result.data = response.data;\n  } catch (e) {\n    result.error = (e.response && e.response.data) || e.message;\n  }\n\n  return result;\n};\n\nexport const updateProfile = async (body) => {\n  const result = {\n    data: null,\n    error: null,\n  };\n\n  const url = ENDPOINT.updateProfile;\n  try {\n    const response = await axios.patch(url, body);\n    result.data = response.data;\n  } catch (e) {\n    result.error = (e.response && e.response.data) || e.message;\n  }\n\n  return result;\n};\n","import PropTypes from \"prop-types\";\nimport React, { useEffect, useMemo } from \"react\";\nimport { createPortal } from \"react-dom\";\nimport { useTransition, animated } from \"@react-spring/web\";\nimport styled from \"styled-components\";\n\nimport { useDisableBodyScroll, useFocusTrap } from \"@agir/lib/utils/hooks\";\nimport { RawFeatherIcon } from \"./FeatherIcon\";\n\nconst slideInTransition = {\n  from: { opacity: 0, paddingTop: \"2%\" },\n  enter: { opacity: 1, paddingTop: \"0%\" },\n  leave: { opacity: 0, paddingTop: \"2%\" },\n};\n\nconst fadeInTransition = {\n  from: { opacity: 0 },\n  enter: { opacity: 1 },\n  leave: { opacity: 0 },\n};\n\nconst Overlay = styled(animated.div)`\n  width: 100%;\n  height: 100%;\n  position: fixed;\n  top: 0;\n  bottom: 0;\n  left: 0;\n  right: 0;\n  background-color: rgba(164, 159, 173, 0.6);\n  cursor: ${({ onClick }) => (onClick ? \"pointer\" : \"default\")};\n  z-index: 1;\n`;\n\nconst AnimatedOverlay = (props) => {\n  const { shouldShow = false, onClick } = props;\n  const transitions = useTransition(shouldShow, fadeInTransition);\n\n  return transitions((style, item) =>\n    item ? <Overlay style={style} onClick={onClick} /> : null,\n  );\n};\n\nAnimatedOverlay.propTypes = {\n  shouldShow: PropTypes.bool,\n  onClick: PropTypes.func,\n  className: PropTypes.string,\n};\n\nconst ModalContent = styled(animated.div)`\n  position: absolute;\n  top: 0;\n  left: 50%;\n  transform: translate3d(-50%, 0, 0);\n  z-index: 2;\n  width: 100%;\n  height: 100%;\n  margin: 0 auto;\n  pointer-events: none;\n\n  & > * {\n    pointer-events: all;\n  }\n`;\n\nconst ModalFrame = styled.div`\n  position: fixed;\n  top: var(--top-bar-height, 0);\n  bottom: 0;\n  left: 0;\n  right: 0;\n  padding: 0;\n  margin: 0;\n  width: 100vw;\n  overflow-x: hidden;\n  overflow-y: auto;\n  z-index: ${(props) => props.theme.zindexModal};\n`;\n\nconst StyledCloseButton = styled.button`\n  position: absolute;\n  top: 1rem;\n  right: 1rem;\n  padding: 0;\n  color: ${(props) => props.theme.text700};\n  z-index: 1;\n  background-color: transparent;\n  border: none;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  cursor: pointer;\n`;\n\nexport const ModalCloseButton = ({ onClose, size = \"2rem\", ...rest }) => {\n  if (!onClose) {\n    return null;\n  }\n\n  return (\n    <StyledCloseButton\n      {...rest}\n      onClick={onClose}\n      aria-label=\"Fermer la modale\"\n    >\n      <RawFeatherIcon name=\"x\" width={size} height={size} />\n    </StyledCloseButton>\n  );\n};\n\nModalCloseButton.propTypes = {\n  onClose: PropTypes.func,\n  size: PropTypes.string,\n};\n\nconst Modal = (props) => {\n  const {\n    shouldShow = false,\n    children,\n    onClose,\n    noScroll,\n    className,\n    disableFocusTrap,\n  } = props;\n\n  const modalRef = useDisableBodyScroll(noScroll, shouldShow);\n  const modalContentRef = useFocusTrap(shouldShow);\n\n  const transitions = useTransition(shouldShow, slideInTransition);\n\n  const modalParent = useMemo(() => {\n    const modalParent = document.createElement(\"div\");\n    modalParent.className = \"modal-root\";\n    document.body.appendChild(modalParent);\n\n    return modalParent;\n  }, []);\n\n  useEffect(\n    () => () => {\n      modalParent && document.body.removeChild(modalParent);\n    },\n    [modalParent],\n  );\n\n  return createPortal(\n    transitions((style, item) =>\n      item ? (\n        <ModalFrame ref={modalRef} className={className}>\n          <AnimatedOverlay onClick={onClose} shouldShow={shouldShow} />\n          <ModalContent\n            {...(!disableFocusTrap ? { ref: modalContentRef } : {})}\n            style={style}\n            aria-modal=\"true\"\n            role=\"dialog\"\n          >\n            {children}\n          </ModalContent>\n        </ModalFrame>\n      ) : null,\n    ),\n    modalParent,\n  );\n};\nModal.propTypes = {\n  shouldShow: PropTypes.bool,\n  children: PropTypes.node,\n  onClose: PropTypes.func,\n  noScroll: PropTypes.bool,\n};\n\nexport default Modal;\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { useTransition, animated } from \"@react-spring/web\";\nimport styled from \"styled-components\";\n\nimport closeButton from \"./images/close-btn.svg\";\n\nconst fadeInTransition = {\n  from: { opacity: 0 },\n  enter: { opacity: 1 },\n  leave: { opacity: 0 },\n  delay: 200,\n};\n\nconst CloseButton = styled.button`\n  position: absolute;\n  top: 0;\n  right: 0;\n  transform: translate(50%, -50%);\n  width: 24px;\n  height: 24px;\n  background-color: transparent;\n  border: none;\n  background-image: url(${closeButton});\n  background-repeat: no-repeat;\n  background-position: center center;\n  cursor: pointer;\n`;\n\nconst BaseTooltip = styled(animated.p)`\n  position: absolute;\n  width: 224px;\n  background-color: ${(props) => props.theme.text1000};\n  color: ${(props) => props.theme.background0};\n  padding: 1rem;\n  display: flex;\n  flex-flow: column nowrap;\n  font-size: 13px;\n  line-height: 1.3;\n  text-align: left;\n\n  strong {\n    font-size: 14px;\n  }\n\n  &:after {\n    content: \"\";\n    position: absolute;\n    border-style: solid;\n  }\n`;\n\nconst Tooltips = {\n  \"top-center\": styled(BaseTooltip)`\n    top: -10px;\n    left: 50%;\n    transform: translate(-50%, -100%);\n\n    &:after {\n      top: 100%;\n      right: 50%;\n      transform: translateX(3px);\n      border-width: 8px 6px 0 6px;\n      border-color: ${(props) => props.theme.text1000} transparent transparent\n        transparent;\n    }\n  `,\n  \"top-left\": styled(BaseTooltip)`\n    top: -10px;\n    right: 0;\n    transform: translate(-26px, -100%);\n\n    &:after {\n      top: 100%;\n      right: 0;\n      margin-left: -4px;\n      border-width: 4px;\n      border-color: ${(props) => props.theme.text1000}\n        ${(props) => props.theme.text1000} transparent transparent;\n    }\n  `,\n  \"top-right\": styled(BaseTooltip)`\n    top: -10px;\n    left: 0;\n    transform: translate(26px, -100%);\n\n    &:after {\n      top: 100%;\n      left: 0;\n      border-width: 4px;\n      border-color: ${(props) => props.theme.text1000} transparent transparent\n        ${(props) => props.theme.text1000};\n    }\n  `,\n};\n\nexport const TooltipContainer = (props) => {\n  const { shouldShow, onClose, position = \"top-center\", children } = props;\n  const tooltipTransition = useTransition(shouldShow, fadeInTransition);\n  const Tooltip = React.useMemo(() => Tooltips[position], [position]);\n  return tooltipTransition((style, item) =>\n    item ? (\n      <Tooltip style={style} position={position}>\n        {children}\n        {onClose ? <CloseButton aria-label=\"Cacher\" onClick={onClose} /> : null}\n      </Tooltip>\n    ) : null,\n  );\n};\nTooltipContainer.propTypes = {\n  position: PropTypes.oneOf(Object.keys(Tooltips)),\n  shouldShow: PropTypes.bool,\n  onClose: PropTypes.func,\n  children: PropTypes.node,\n};\n\nexport default TooltipContainer;\n","import PushModal from \"./PushModal\";\n\nexport default PushModal;\n","import React from \"react\";\n\nimport { useSelector } from \"@agir/front/globalContext/GlobalContext\";\nimport { getRoutes } from \"@agir/front/globalContext/reducers\";\nimport { useMobileApp } from \"@agir/front/app/hooks/useMobileApp\";\n\nimport background from \"./life-ring.svg\";\nimport ConnectedFloatButton from \"@agir/front/allPages/FloatButton\";\n\nfunction FeedbackButton() {\n  const routes = useSelector(getRoutes);\n  const href = routes && routes.feedbackForm;\n  const { isMobileApp } = useMobileApp();\n\n  return (\n    <ConnectedFloatButton\n      background={background}\n      href={href}\n      content={\n        <>\n          <strong>Aidez-nous !</strong>\n          {isMobileApp ? (\n            <span>\n              Donnez votre avis sur l'application Action Populaire&nbsp;→\n            </span>\n          ) : (\n            <span>Donnez votre avis sur le site Action Populaire&nbsp;→</span>\n          )}\n        </>\n      }\n    />\n  );\n}\n\nexport default FeedbackButton;\n","import onDOMReady from \"@agir/lib/utils/onDOMReady\";\n\nfunction selectAllWhenFocusing(e) {\n  e.target.setSelectionRange(0, e.target.value.length);\n}\n\nfunction setUpCopyBoxes() {\n  const copyboxes = document.querySelectorAll(\".copybox\");\n\n  Array.prototype.map.call(copyboxes, function (copybox) {\n    copybox.addEventListener(\"focus\", selectAllWhenFocusing);\n\n    if (navigator.clipboard) {\n      const button = document.createElement(\"button\");\n      button.className = \"btn btn-default\";\n      button.innerHTML = '<i class=\"fa fa-copy\"></i>';\n      const buttonContainer = document.createElement(\"span\");\n      buttonContainer.classList.add(\"input-group-btn\");\n      buttonContainer.appendChild(button);\n      copybox.parentNode.appendChild(buttonContainer);\n      button.addEventListener(\"click\", function () {\n        navigator.clipboard.writeText(copybox.value);\n      });\n    }\n  });\n}\n\nonDOMReady(setUpCopyBoxes);\n","import React from \"react\";\n\nimport onDOMReady from \"@agir/lib/utils/onDOMReady\";\nimport { renderReactComponent } from \"@agir/lib/utils/react\";\n\nimport GlobalContextProvider from \"@agir/front/globalContext/GlobalContext\";\nimport PushModal from \"@agir/front/allPages/PushModal\";\nimport FeedbackButton from \"@agir/front/allPages/FeedbackButton\";\nimport TopBar from \"@agir/front/allPages/TopBar\";\nimport SWRContext from \"@agir/front/allPages/SWRContext\";\nimport { MemoryRouter } from \"react-router-dom\";\n\nconst renderLegacyPageComponents = () => {\n  let renderElement = document.getElementById(\"mainApp\");\n  if (!renderElement) {\n    renderElement = document.createElement(\"div\");\n    renderElement.id = \"mainApp\";\n    document.body.appendChild(renderElement);\n  }\n  const hideFeedbackButton =\n    !!window?.Agir?.hideFeedbackButton ||\n    document.querySelectorAll(\"form[method='post']\")?.length > 0;\n\n  renderReactComponent(\n    <SWRContext>\n      <GlobalContextProvider colorScheme=\"light\">\n        <MemoryRouter forceRefresh>\n          <TopBar hideBannerDownload />\n          <PushModal isActive />\n          {hideFeedbackButton ? null : <FeedbackButton />}\n        </MemoryRouter>\n      </GlobalContextProvider>\n    </SWRContext>,\n    renderElement,\n  );\n};\n\nonDOMReady(renderLegacyPageComponents);\n"],"names":["Object","slideInTransition","Button","styled","$background","css","props","Wrapper","animated","FloatButton","isActive","shouldPushTooltip","href","content","icon","label","hasTooltip","setHasTooltip","useState","hideTooltip","useCallback","showTooltip","pushTooltip","wrapperTransition","useTransition","style","item","Tooltip","undefined","PropTypes","user","useSelector","getUser","visitCount","setVisitCount","useLocalStorage","setShouldPushTooltip","useEffectOnce","count","login","email","result","body","response","axios","e","checkCode","code","logout","signUp","data","next","formData","location_zip","location_country","non_field_errors","getProfile","updateProfile","fadeInTransition","Overlay","onClick","AnimatedOverlay","shouldShow","transitions","ModalContent","ModalFrame","StyledCloseButton","ModalCloseButton","onClose","size","rest","RawFeatherIcon","Modal","children","noScroll","className","disableFocusTrap","modalRef","useDisableBodyScroll","modalContentRef","useFocusTrap","modalParent","useMemo","document","useEffect","createPortal","CloseButton","closeButton","BaseTooltip","Tooltips","TooltipContainer","position","tooltipTransition","React","PushModal","routes","getRoutes","isMobileApp","useMobileApp","ConnectedFloatButton","background","selectAllWhenFocusing","onDOMReady","renderElement","hideFeedbackButton","window","renderReactComponent","SWRContext","GlobalContextProvider","MemoryRouter","TopBar","FeedbackButton","copyboxes","Array","copybox","navigator","button","buttonContainer"],"mappings":"gHAGI,EAAkB,gjIAElB,EAA6B,QAAQ,SAAU,CAAI,EACrD,OAAO,EAAgB,IAAI,CAAC,IAAS,AAAuB,MAAvB,EAAK,UAAU,CAAC,IAElD,AAAuB,MAAvB,EAAK,UAAU,CAAC,IAEhB,AAAqB,GAArB,EAAK,UAAU,CAAC,EACrB,G,+BCXA,SAAS,EAAQ,CAAE,EACjB,IAAI,EAAQA,OAAO,MAAM,CAAC,MAC1B,OAAO,SAAU,CAAG,EAElB,OADI,AAAe,SAAf,CAAK,CAAC,EAAI,EAAgB,EAAK,CAAC,EAAI,CAAG,EAAG,EAAG,EAC1C,CAAK,CAAC,EAAI,AACnB,CACF,C,4JCOA,IAAMC,EAAoB,CACxB,KAAM,CAAE,QAAS,EAAG,aAAc,OAAQ,EAC1C,MAAO,CAAE,QAAS,EAAG,aAAc,MAAO,EAC1C,MAAO,CAAE,QAAS,EAAG,aAAc,OAAQ,CAC7C,EAEMC,EAASC,EAAAA,E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