{"version":3,"file":"withHydrationOnDemand.CBy6Iqo4.js","sources":["../../../../../../../node_modules/@babylon/ui-kit-styles/common/mixins/section.styled.js","../../../../../../../node_modules/@babylon/ui-kit-structures/components/others/section/views/desktop/styled.js","../../../../../../../node_modules/@babylon/ui-kit-structures/components/others/section/views/desktop/index.js","../../../../../../../node_modules/@babylon/ui-kit-structures/components/others/section/views/mobile/styled.js","../../../../../../../node_modules/@babylon/ui-kit-structures/components/others/section/views/mobile/index.js","../../../../../../../node_modules/@babylon/ui-kit-structures/components/others/section/index.js","../../../../../../../node_modules/@babylon/ui-kit-base/components/text/title/views/desktop/themes/styles/liverpool.js","../../../../../../../node_modules/@babylon/ui-kit-base/components/text/title/views/desktop/themes/styles/veci.js","../../../../../../../node_modules/@babylon/ui-kit-base/components/text/title/views/desktop/themes/index.js","../../../../../../../node_modules/@babylon/ui-kit-base/components/text/title/views/desktop/styled.js","../../../../../../../node_modules/@babylon/ui-kit-base/components/text/title/views/desktop/index.js","../../../../../../../node_modules/@babylon/ui-kit-base/components/text/title/views/mobile/themes/styles/liverpool.js","../../../../../../../node_modules/@babylon/ui-kit-base/components/text/title/views/mobile/themes/index.js","../../../../../../../node_modules/@babylon/ui-kit-base/components/text/title/views/mobile/styled.js","../../../../../../../node_modules/@babylon/ui-kit-base/components/text/title/views/mobile/index.js","../../../../../../../node_modules/@babylon/ui-kit-base/components/text/title/index.js","../../../../../../../node_modules/@babylon/ui-kit-hocs/hydration-on-demand/withHydrationOnDemand.helpers.js","../../../../../../../node_modules/@babylon/ui-kit-hocs/hydration-on-demand/withHydrationOnDemand.useHydrationOnDemand.js","../../../../../../../node_modules/@babylon/ui-kit-hocs/hydration-on-demand/withHydrationOnDemandClientSide.js","../../../../../../../node_modules/@babylon/ui-kit-hocs/hydration-on-demand/withHydrationOnDemandServerSide.js","../../../../../../../node_modules/@babylon/ui-kit-hocs/hydration-on-demand/withHydrationOnDemand.js"],"sourcesContent":["import styled, { css } from 'styled-components';\nimport { Container } from './container.styled.js';\nimport { Margin } from './logical.styled.js';\n\nconst SectionMixin = /*#__PURE__*/ css([\n ``,\n ` margin-bottom:`,\n `;`\n], (props)=>props.bg ? `background-color: ${props.bg};` : '', (props)=>props.mb ?? '50px');\nconst SectionMobileMixin = /*#__PURE__*/ css([\n ``,\n ` margin-top:`,\n `;`\n], (props)=>props.bg ? `background-color: ${props.bg};` : '', (props)=>props.mt ?? '20px');\nconst SectionContainer = /*#__PURE__*/ styled(Container).attrs({\n as: 'section'\n}).withConfig({\n displayName: \"SectionContainer\"\n})([\n ``,\n ``\n], SectionMixin);\nconst SectionContainerMobile = /*#__PURE__*/ styled(Container).attrs({\n as: 'section'\n}).withConfig({\n displayName: \"SectionContainerMobile\"\n})([\n ``,\n ``\n], SectionMobileMixin);\nconst SectionSearcher = /*#__PURE__*/ styled(Container).withConfig({\n displayName: \"SectionSearcher\"\n})([\n `margin-top:`,\n `;`\n], Margin({\n top: '-50px'\n}));\n\nexport { SectionContainer, SectionContainerMobile, SectionMixin, SectionMobileMixin, SectionSearcher };\n","import { SectionMixin } from '@babylon/ui-kit-styles/common/mixins/section.styled';\nimport styled from 'styled-components';\n\nconst Section = /*#__PURE__*/ styled.section.withConfig({\n displayName: \"Section\"\n})([\n ``,\n ``\n], SectionMixin);\n\nexport { Section };\n","import { jsx } from 'react/jsx-runtime';\nimport { Section } from './styled.js';\n\nconst SectionDesktop = ({ className, children })=>/*#__PURE__*/ jsx(Section, {\n className: className,\n children: children\n });\n\nexport { SectionDesktop as default };\n","import { SectionMobileMixin } from '@babylon/ui-kit-styles/common/mixins/section.styled';\nimport styled from 'styled-components';\n\nconst SectionMobile = /*#__PURE__*/ styled.section.withConfig({\n displayName: \"SectionMobile\"\n})([\n ``,\n ``\n], SectionMobileMixin);\n\nexport { SectionMobile };\n","import { jsx } from 'react/jsx-runtime';\nimport { SectionMobile as SectionMobile$1 } from './styled.js';\n\nconst SectionMobile = ({ className, children })=>/*#__PURE__*/ jsx(SectionMobile$1, {\n className: className,\n children: children\n });\n\nexport { SectionMobile as default };\n","import { generateViewsComponent } from '@babylon/ui-kit-helpers/views';\nimport SectionDesktop from './views/desktop/index.js';\nimport SectionMobile from './views/mobile/index.js';\n\nconst Section = generateViewsComponent(SectionDesktop, SectionMobile);\n\nexport { Section as default };\n","import { FontMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport { css } from 'styled-components';\n\nconst liverpoolTitleStyles = {\n TitleStyled: ()=>/*#__PURE__*/ css([\n ``,\n ` color:`,\n `;font-family:`,\n `;`\n ], FontMixin({\n weight: 'semiBold'\n }), ({ theme })=>theme.colors.grays.darker, ({ theme })=>theme.font.family.primary)\n};\n\nexport { liverpoolTitleStyles as default };\n","import { Margin } from '@babylon/ui-kit-styles/common/mixins/logical.styled';\nimport { css } from 'styled-components';\n\nconst veciTitleStyles = {\n SubTitleStyled: ()=>/*#__PURE__*/ css([\n ``,\n `;`\n ], Margin({\n top: '12px'\n }))\n};\n\nexport { veciTitleStyles as default };\n","import { createThemes } from '@babylon/ui-kit-styles/common/themes';\nimport { ThemeId } from '@babylon/ui-kit-styles/types/theme';\nimport liverpoolTitleStyles from './styles/liverpool.js';\nimport veciTitleStyles from './styles/veci.js';\n\nconst TitleDesktopThemes = createThemes({\n [ThemeId.veci]: veciTitleStyles,\n [ThemeId.partnershipsLiverpool]: liverpoolTitleStyles\n});\n\nexport { TitleDesktopThemes as default };\n","import { FontMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport { Margin } from '@babylon/ui-kit-styles/common/mixins/logical.styled';\nimport styled from 'styled-components';\nimport TitleDesktopThemes from './themes/index.js';\n\nconst TitleWrapper = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"TitleWrapper\"\n})([\n `margin-bottom:20px;text-align:`,\n `;`\n], ({ $textAlign })=>$textAlign);\nconst TitleStyled = /*#__PURE__*/ styled.h2.withConfig({\n displayName: \"TitleStyled\"\n})([\n ``,\n ` font-family:`,\n `;color:`,\n `;padding:0 8px;position:relative;a{color:`,\n `;}`,\n ``\n], FontMixin({\n size: 'largest',\n height: 'largest',\n weight: 'medium'\n}), (props)=>props.theme.font.family.secondary, ({ theme })=>theme.colors.grays.darker, ({ theme })=>theme.colors.grays.darker, TitleDesktopThemes('TitleStyled'));\nconst SubTitleStyled = /*#__PURE__*/ styled.p.withConfig({\n displayName: \"SubTitleStyled\"\n})([\n ``,\n ` color:`,\n `;`,\n `;`,\n ``\n], FontMixin({\n size: 'base',\n height: 'base',\n weight: 'light'\n}), ({ theme })=>theme.colors.grays.dark, Margin({\n top: '4px',\n bottom: '0'\n}), TitleDesktopThemes('SubTitleStyled'));\n\nexport { SubTitleStyled, TitleStyled, TitleWrapper };\n","import { jsxs, jsx } from 'react/jsx-runtime';\nimport Anchor from '../../../../others/anchor/index.js';\nimport InnerMarkdownHTML from '../../../inner-markdown-HTML/index.js';\nimport { TitleWrapper, TitleStyled, SubTitleStyled } from './styled.js';\n\nconst TitleDesktop = ({ title, subTitle, // inspired by the following fix - https://dev.azure.com/toolfactory/babylon/_git/babylon-ui-kit/pullrequest/142840?path=/src/components/base/title/views/desktop/index.tsx&_a=files\nsubtitle, link, className, textAlign = 'center', tag = 'h2' })=>/*#__PURE__*/ jsxs(TitleWrapper, {\n $textAlign: textAlign,\n \"data-testid\": \"Title\",\n className: className,\n children: [\n /*#__PURE__*/ jsxs(TitleStyled, {\n as: tag,\n children: [\n link && /*#__PURE__*/ jsx(Anchor, {\n \"data-testid\": \"link\",\n href: link?.href,\n title: link?.title,\n children: /*#__PURE__*/ jsx(InnerMarkdownHTML, {\n content: title\n })\n }),\n !link && /*#__PURE__*/ jsx(InnerMarkdownHTML, {\n content: title\n })\n ]\n }),\n subTitle && /*#__PURE__*/ jsx(SubTitleStyled, {\n \"data-testid\": \"subtitle\",\n children: /*#__PURE__*/ jsx(InnerMarkdownHTML, {\n content: subTitle\n })\n }),\n subtitle && /*#__PURE__*/ jsx(SubTitleStyled, {\n \"data-testid\": \"subtitle\",\n children: /*#__PURE__*/ jsx(InnerMarkdownHTML, {\n content: subtitle\n })\n })\n ]\n });\n\nexport { TitleDesktop as default };\n","import { FontMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport { css } from 'styled-components';\n\nconst liverpoolTitleStyles = {\n TitleStyled: ()=>/*#__PURE__*/ css([\n ``,\n ` color:`,\n `;font-family:`,\n `;`\n ], FontMixin({\n weight: 'semiBold'\n }), ({ theme })=>theme.colors.grays.darker, ({ theme })=>theme.font.family.primary)\n};\n\nexport { liverpoolTitleStyles as default };\n","import { createThemes } from '@babylon/ui-kit-styles/common/themes';\nimport { ThemeId } from '@babylon/ui-kit-styles/types/theme';\nimport liverpoolTitleStyles from './styles/liverpool.js';\n\nconst TitleMobileThemes = createThemes({\n [ThemeId.partnershipsLiverpool]: liverpoolTitleStyles\n});\n\nexport { TitleMobileThemes as default };\n","import { FontMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport { Margin, Padding } from '@babylon/ui-kit-styles/common/mixins/logical.styled';\nimport styled from 'styled-components';\nimport TitleMobileThemes from './themes/index.js';\n\nconst TitleMobileWrapper = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"TitleMobileWrapper\"\n})([\n `text-align:`,\n `;`,\n ``\n], ({ $textAlign })=>$textAlign, Margin({\n bottom: '12px'\n}));\nconst TitleMobileStyled = /*#__PURE__*/ styled.h2.withConfig({\n displayName: \"TitleMobileStyled\"\n})([\n ``,\n ` font-family:`,\n `;color:`,\n `;font-family:`,\n `;`,\n ` `,\n ` position:relative;`,\n ``\n], FontMixin({\n size: 'larger',\n height: 'larger',\n weight: 'medium'\n}), (props)=>props.theme.font.family.secondary, ({ theme })=>theme.colors.grays.darker, ({ theme })=>theme.font.family.secondary, Padding({\n x: '16px'\n}), Margin({\n bottom: '8px'\n}), TitleMobileThemes('TitleStyled'));\nconst SubTitleStyled = /*#__PURE__*/ styled.p.withConfig({\n displayName: \"SubTitleStyled\"\n})([\n ``,\n ` color:`,\n `;text-align:center;`,\n ``\n], FontMixin({\n size: 'medium',\n height: 'base',\n weight: 'light'\n}), ({ theme })=>theme.colors.grays.darker, Padding({\n x: '16px'\n}));\n\nexport { SubTitleStyled, TitleMobileStyled, TitleMobileWrapper };\n","import { jsxs, jsx } from 'react/jsx-runtime';\nimport InnerMarkdownHTML from '../../../inner-markdown-HTML/index.js';\nimport { TitleMobileWrapper, TitleMobileStyled, SubTitleStyled } from './styled.js';\n\nconst TitleMobile = ({ title, subTitle = '', className, textAlign = 'center', tag = 'h2' })=>/*#__PURE__*/ jsxs(TitleMobileWrapper, {\n $textAlign: textAlign,\n \"data-testid\": \"Title\",\n className: className,\n children: [\n /*#__PURE__*/ jsx(TitleMobileStyled, {\n as: tag,\n children: /*#__PURE__*/ jsx(InnerMarkdownHTML, {\n content: title\n })\n }),\n subTitle && /*#__PURE__*/ jsx(SubTitleStyled, {\n \"data-testid\": \"subtitle\",\n children: /*#__PURE__*/ jsx(InnerMarkdownHTML, {\n content: subTitle\n })\n })\n ]\n });\n\nexport { TitleMobile as default };\n","import { generateViewsComponent } from '@babylon/ui-kit-helpers/views';\nimport TitleDesktop from './views/desktop/index.js';\nimport TitleMobile from './views/mobile/index.js';\n\nconst Title = generateViewsComponent(TitleDesktop, TitleMobile);\n\nexport { Title as default };\n","const isClientSide = ()=>!!(typeof window !== 'undefined' && window.document?.createElement);\nconst eventListenerOptions = {\n once: true,\n capture: true,\n passive: true\n};\nconst getDisplayName = (WrappedComponent)=>WrappedComponent.displayName ?? WrappedComponent.name ?? 'Component';\nconst isInputPending = (isInputPendingFallbackValue)=>{\n const isInputPending = navigator?.scheduling?.isInputPending?.();\n return isInputPending ?? isInputPendingFallbackValue;\n};\nconst defaultOptions = {\n on: [\n 'idle',\n 'visible'\n ]\n};\n\nexport { defaultOptions, eventListenerOptions, getDisplayName, isClientSide, isInputPending };\n","import { useRef, useCallback, useState, useEffect, useLayoutEffect } from 'react';\nimport { eventListenerOptions, isInputPending } from './withHydrationOnDemand.helpers.js';\n\nconst useHydrationOnDemand = (hydrationOnDemandOptions, forceHydration)=>{\n const { disableFallback = false, isInputPendingFallbackValue = true, on = [], onBefore, whenInputPending = false } = hydrationOnDemandOptions;\n const cleanupFunctions = useRef([]);\n const rootRef = useRef(null);\n const cleanUp = useCallback(()=>{\n cleanupFunctions.current.forEach((fn)=>fn());\n cleanupFunctions.current = [];\n }, []);\n const getDefaultHydrationState = ()=>{\n const isNotInputPending = whenInputPending && !isInputPending(isInputPendingFallbackValue);\n return (isNotInputPending || forceHydration) && !onBefore;\n };\n const [isHydrated, setIsHydrated] = useState(getDefaultHydrationState());\n const hydrate = useCallback(()=>{\n cleanUp();\n if (isHydrated) return;\n if (onBefore) onBefore();\n setIsHydrated(true);\n }, [\n isHydrated,\n onBefore,\n cleanUp,\n setIsHydrated\n ]);\n const initDOMEvent = useCallback((type, getTarget = ()=>rootRef.current)=>{\n const target = getTarget();\n target?.addEventListener(type, hydrate, eventListenerOptions);\n cleanupFunctions.current.push(()=>{\n if (!target) return;\n target.removeEventListener(type, hydrate, eventListenerOptions);\n });\n }, [\n hydrate\n ]);\n const initIntersectionObserver = useCallback((getOptions = Function.prototype)=>{\n if (!('IntersectionObserver' in window)) {\n hydrate();\n return;\n }\n const options = getOptions();\n const observer = new IntersectionObserver(([entry])=>{\n if (!entry.isIntersecting || entry.intersectionRatio <= 0) return;\n hydrate();\n }, options);\n cleanupFunctions.current.push(()=>{\n if (!observer) return;\n observer.disconnect();\n });\n rootRef.current && observer.observe(rootRef.current);\n }, [\n hydrate\n ]);\n const initTimeout = useCallback((delay = 2000)=>{\n if (delay <= 0) return;\n const timeout = setTimeout(hydrate, delay);\n cleanupFunctions.current.push(()=>clearTimeout(timeout));\n }, [\n hydrate\n ]);\n const initIdleCallback = useCallback(()=>{\n if (!('requestIdleCallback' in window)) {\n initTimeout();\n return;\n }\n const idleCallback = requestIdleCallback(()=>requestAnimationFrame(()=>hydrate()), {\n timeout: 500\n });\n if (!('cancelIdleCallback' in window)) return;\n cleanupFunctions.current.push(()=>{\n cancelIdleCallback(idleCallback);\n });\n }, [\n hydrate,\n initTimeout\n ]);\n const initEvent = useCallback((type, options)=>{\n switch(type){\n case 'delay':\n initTimeout(options);\n break;\n case 'visible':\n initIntersectionObserver(options);\n break;\n case 'idle':\n initIdleCallback();\n break;\n default:\n initDOMEvent(type, options);\n }\n }, [\n initDOMEvent,\n initIdleCallback,\n initIntersectionObserver,\n initTimeout\n ]);\n useEffect(()=>{\n if (isHydrated) return;\n on.forEach((event)=>Array.isArray(event) ? initEvent(event[0], event[1]) : initEvent(event), []);\n return cleanUp;\n }, [\n isHydrated,\n on,\n initEvent,\n cleanUp\n ]);\n useLayoutEffect(()=>{\n if (isHydrated) return;\n if (forceHydration) {\n hydrate();\n return;\n }\n const wasRenderedServerSide = !!rootRef.current?.getAttribute('data-hydration-on-demand');\n const shouldHydrate = !wasRenderedServerSide && !disableFallback;\n if (shouldHydrate) hydrate();\n }, [\n isHydrated,\n rootRef,\n disableFallback,\n forceHydration,\n hydrate\n ]);\n return {\n rootRef,\n isHydrated\n };\n};\n\nexport { useHydrationOnDemand as default };\n","import { jsx } from 'react/jsx-runtime';\nimport { getDisplayName } from './withHydrationOnDemand.helpers.js';\nimport useHydrationOnDemand from './withHydrationOnDemand.useHydrationOnDemand.js';\n\nconst withHydrationOnDemandClientSide = (hydrationOnDemandOptions)=>(WrappedComponent)=>{\n const WithHydrationOnDemand = ({ forceHydration = false, wrapperProps, ...props })=>{\n const { rootRef, isHydrated } = useHydrationOnDemand(hydrationOnDemandOptions, forceHydration);\n if (!isHydrated) return /*#__PURE__*/ jsx(\"div\", {\n \"data-testid\": \"HydrationOnDemand\",\n ref: rootRef,\n dangerouslySetInnerHTML: {\n __html: ''\n },\n suppressHydrationWarning: true,\n ...wrapperProps\n });\n return /*#__PURE__*/ jsx(\"div\", {\n \"data-testid\": \"HydrationOnDemand\",\n ...wrapperProps,\n children: /*#__PURE__*/ jsx(WrappedComponent, {\n \"component-hydration-on-demand\": true,\n ...props\n })\n });\n };\n WithHydrationOnDemand.displayName = `withHydrationOnDemand(${getDisplayName(WrappedComponent)})`;\n return WithHydrationOnDemand;\n };\n\nexport { withHydrationOnDemandClientSide as default };\n","import { jsx } from 'react/jsx-runtime';\n\nconst withHydrationOnDemandServerSide = ()=>(WrappedComponent)=>{\n const ComponentWithHydration = (props)=>/*#__PURE__*/ jsx(\"div\", {\n \"data-testid\": \"HydrationOnDemand\",\n \"data-hydration-on-demand\": true,\n children: /*#__PURE__*/ jsx(WrappedComponent, {\n \"component-hydration-on-demand\": true,\n ...props\n })\n });\n return ComponentWithHydration;\n };\n\nexport { withHydrationOnDemandServerSide as default };\n","import { isClientSide, defaultOptions } from './withHydrationOnDemand.helpers.js';\nimport withHydrationOnDemandClientSide from './withHydrationOnDemandClientSide.js';\nimport withHydrationOnDemandServerSide from './withHydrationOnDemandServerSide.js';\n\nconst withHydrationOnDemand = (options = defaultOptions)=>{\n if (isClientSide()) return withHydrationOnDemandClientSide(options);\n return withHydrationOnDemandServerSide();\n};\n\nexport { withHydrationOnDemand as default };\n"],"names":["SectionMixin","css","props","SectionMobileMixin","SectionContainer","styled","Container","SectionSearcher","Margin","Section","SectionDesktop","className","children","jsx","SectionMobile","SectionMobile$1","generateViewsComponent","liverpoolTitleStyles","FontMixin","theme","veciTitleStyles","TitleDesktopThemes","createThemes","ThemeId","TitleWrapper","$textAlign","TitleStyled","SubTitleStyled","TitleDesktop","title","subTitle","subtitle","link","textAlign","tag","jsxs","Anchor","InnerMarkdownHTML","TitleMobileThemes","TitleMobileWrapper","TitleMobileStyled","Padding","TitleMobile","Title","isClientSide","_a","eventListenerOptions","getDisplayName","WrappedComponent","isInputPending","isInputPendingFallbackValue","_b","defaultOptions","useHydrationOnDemand","hydrationOnDemandOptions","forceHydration","disableFallback","on","onBefore","whenInputPending","cleanupFunctions","useRef","rootRef","cleanUp","useCallback","fn","getDefaultHydrationState","isHydrated","setIsHydrated","useState","hydrate","initDOMEvent","type","getTarget","target","initIntersectionObserver","getOptions","options","observer","entry","initTimeout","delay","timeout","initIdleCallback","idleCallback","initEvent","useEffect","event","useLayoutEffect","withHydrationOnDemandClientSide","WithHydrationOnDemand","wrapperProps","withHydrationOnDemandServerSide","withHydrationOnDemand"],"mappings":"4HAIA,MAAMA,EAA6BC,EAAI,CACnC,GACA,kBACA,GACJ,EAAIC,GAAQA,EAAM,GAAK,qBAAqBA,EAAM,EAAE,IAAM,GAAKA,GAAQA,EAAM,IAAM,MAAM,EACnFC,EAAmCF,EAAI,CACzC,GACA,eACA,GACJ,EAAIC,GAAQA,EAAM,GAAK,qBAAqBA,EAAM,EAAE,IAAM,GAAKA,GAAQA,EAAM,IAAM,MAAM,EACnFE,GAAiCC,EAAOC,CAAS,EAAE,MAAM,CAC3D,GAAI,SACR,CAAC,EAAE,WAAW,CACV,YAAa,kBACjB,CAAC,EAAE,CACC,GACA,EACJ,EAAGN,CAAY,EASTO,GAAgCF,EAAOC,CAAS,EAAE,WAAW,CAC/D,YAAa,iBACjB,CAAC,EAAE,CACC,cACA,GACJ,EAAGE,EAAO,CACN,IAAK,OACT,CAAC,CAAC,EClCIC,EAAwBJ,EAAO,QAAQ,WAAW,CACpD,YAAa,SACjB,CAAC,EAAE,CACC,GACA,EACJ,EAAGL,CAAY,ECLTU,EAAiB,CAAC,CAAE,UAAAC,EAAW,SAAAC,CAAQ,IAAmBC,EAAAA,IAAIJ,EAAS,CACrE,UAAWE,EACX,SAAUC,CAClB,CAAK,ECHCE,EAA8BT,EAAO,QAAQ,WAAW,CAC1D,YAAa,eACjB,CAAC,EAAE,CACC,GACA,EACJ,EAAGF,CAAkB,ECLfW,EAAgB,CAAC,CAAE,UAAAH,EAAW,SAAAC,CAAQ,IAAmBC,EAAAA,IAAIE,EAAiB,CAC5E,UAAWJ,EACX,SAAUC,CAClB,CAAK,ECFCH,GAAUO,EAAuBN,EAAgBI,CAAa,ECD9DG,EAAuB,CACzB,YAAa,IAAkBhB,EAAI,CAC3B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