{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/L7QoflBM8xrn1Tj80HcD/rASOWEreOhyykKLpLMLd/UtilityFunctions.js"],
  "sourcesContent": ["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useRef,useMemo}from\"react\";import{v4 as uuidv4}from\"uuid\";import styled from\"styled-components\";export function withAspectRatioSquare(Component){const StyledComponent=styled(Component)`\n        width: 100%;\n        aspect-ratio: 1/1;\n        min-height: fit-contnet;\n        height: auto !important\";\n    `;return props=>{return /*#__PURE__*/_jsx(StyledComponent,{...props});};}export function withFillParent(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,style:{width:\"100%\",aspectRatio:\"1/1\",height:\"auto !important\"}});};}export function withNavReload(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,onClick:()=>{}});};}export function withNavBlur(Component){return props=>{const compRef=useRef(null);const uuid=useMemo(()=>uuidv4(),[]);const getSiblings=()=>{if(!compRef.current)return;const parent=compRef.current.closest(\"nav\");return parent?.querySelectorAll(`*[data-blur-uuid]:not([data-blur-uuid=\"${uuid}\"])`);};const handleMouseEnter=ev=>{if(!compRef.current)return;const siblings=getSiblings();siblings?.forEach(el=>{el.style.filter=\"blur(1px)\";});compRef.current.style.removeProperty(\"filter\");};const handleMouseLeave=ev=>{if(!compRef.current)return;const siblings=getSiblings();compRef.current.style.removeProperty(\"filter\");siblings?.forEach(el=>{el.style.removeProperty(\"filter\");});};return /*#__PURE__*/_jsx(Component,{...props,ref:compRef,\"data-blur-uuid\":uuid,onMouseEnter:handleMouseEnter,onMouseLeave:handleMouseLeave,style:{...props.style,transition:\"filter 0.3s linear\"}});};}export function withOverlayNavBlur(Component){return props=>{const compRef=useRef(null);const uuid=useMemo(()=>uuidv4(),[]);const getSiblings=()=>{if(!compRef.current)return;const parent=compRef.current.parentNode.parentNode;return parent?.querySelectorAll(`*[data-blur-uuid]:not([data-blur-uuid=\"${uuid}\"])`);};const handleMouseEnter=ev=>{if(!compRef.current||compRef.current.tagName!==\"A\")return;const siblings=getSiblings();siblings?.forEach(el=>{el.style.filter=\"blur(1px)\";});compRef.current.style.removeProperty(\"filter\");};const handleMouseLeave=ev=>{if(!compRef.current||compRef.current.tagName!==\"A\")return;const siblings=getSiblings();compRef.current.style.removeProperty(\"filter\");siblings.forEach(el=>{el.style.removeProperty(\"filter\");});};return /*#__PURE__*/_jsx(Component,{...props,ref:compRef,\"data-blur-uuid\":uuid,onMouseEnter:handleMouseEnter,onMouseLeave:handleMouseLeave,style:{...props.style,transition:\"filter 0.3s linear\"}});};}export function withOverlayBlur(Component){return props=>{const compRef=useRef(null);const getNavigationItems=()=>{const navigation=document.querySelector(\"nav\");return navigation?.querySelectorAll(`*[data-blur-uuid]:not(button)`);};const handleMouseEnter=ev=>{if(!compRef.current)return;const navItems=getNavigationItems();navItems?.forEach(el=>{el.style.filter=\"blur(1px)\";});};const handleMouseLeave=ev=>{if(!compRef.current)return;const navItems=getNavigationItems();navItems.forEach(el=>{el.style.removeProperty(\"filter\");});};return /*#__PURE__*/_jsx(Component,{...props,ref:compRef,onMouseEnter:handleMouseEnter,onMouseLeave:handleMouseLeave});};}export function navigationScrollHidden(Component){return props=>{const compRef=useRef(null);const toggleOverflow=()=>{const navigation=compRef.current.closest(\"nav\");document.body.style.overflow=navigation.dataset.framerName===\"Phone\"?\"hidden\":\"auto\";};return /*#__PURE__*/_jsx(Component,{...props,onClick:toggleOverflow,ref:compRef});};}export function withDynamicCollectionGrid(Component){return props=>{/*\n        const DynamicCollectionGrid = styled(Component)`\n                > a {\n                    grid-column: auto / span 3 !important;\n                }\n\n                > a:nth-child(3),\n                > a:nth-child(4),\n                > a:nth-child(6n + 3), > a:nth-child(6n + 4) {\n                    grid-column: auto / span 6 !important;\n                }\n\n                > a:nth-child(3) img, \n                > a:nth-child(4) img,\n                > a:nth-child(6n + 3) img, > a:nth-child(6n + 4) img {\n                    aspect-ratio: 2.03/1 !important;\n                }\n        `\n        return <DynamicCollectionGrid {...props} />*/const className=(props.className??\"\").split(\" \")[0];return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:`\n                            .${className} > div:not([class$=\"-container\"]) {\n                                grid-column: auto / span 3 !important;\n                            }\n\n                            .${className} > div:not([class$=\"-container\"]):nth-of-type(3),\n                            .${className} > div:not([class$=\"-container\"]):nth-of-type(4),\n                            .${className} > div:not([class$=\"-container\"]):nth-of-type(6n + 3), \n                            .${className} > div:not([class$=\"-container\"]):nth-of-type(6n + 4) {\n                                grid-column: auto / span 6 !important;\n                            }\n\n                            .${className} > div:not([class$=\"-container\"]):nth-of-type(3) img, \n                            .${className} > div:not([class$=\"-container\"]):nth-of-type(4) img,\n                            .${className} > div:not([class$=\"-container\"]):nth-of-type(6n + 3) img, \n                            .${className} > div:not([class$=\"-container\"]):nth-of-type(6n + 4) img {\n                                aspect-ratio: 2.03/1 !important;\n                            }\n                        `}}),/*#__PURE__*/_jsx(Component,{...props})]});};}export function withArticleContentStyles(Component){return props=>{/*\n        const StyledArticleContent = styled(Component)`\n            align-items: center;\n\n            > *:not(:is(div, img)) {\n                width: 75%;\n            }\n        `\n\n        return <StyledArticleContent {...props} />*/// @ts-ignore\nconst{className=\"\"}=props;return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:`\n                        .${className.replaceAll(\" \",\".\")} {\n                            align-items: center;\n                        }\n\n                        .${className.replaceAll(\" \",\".\")} > *:not(:is(div, img)) {\n                            width: 75%;\n                            max-width: 670px;\n                        }\n                    `}}),/*#__PURE__*/_jsx(Component,{...props})]});};}export function withArticleIntroductionStyles(Component){return props=>{/*\n        const StyledArticleContent = styled(Component)`\n            align-items: center;\n\n            > *:not(:is(div, img)) {\n                width: 75%;\n            }\n        `\n\n        return <StyledArticleContent {...props} />*/// @ts-ignore\nconst{className=\"\"}=props;console.log(\"className\",className,className.replaceAll(\" \",\".\"));return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:`\n                        .${className.replaceAll(\" \",\".\")} > *:not(:is(div, img)) {\n                            font-size: 48px !important;\n                            letter-spacing: -0.96px !important;\n                            line-height: 1.15 !important;   \n                        }\n\n                        @media (max-width: 1199px) {\n                            .${className.replaceAll(\" \",\".\")} > *:not(:is(div, img)) {\n                                font-size: 32px !important;\n                                letter-spacing: -0.64px !important;\n                                line-height: 1.15 !important;\n                            }\n                        }\n                    `}}),/*#__PURE__*/_jsx(Component,{...props})]});};}export function withOverrideWrappingTag(Component){return({children,...props})=>{return /*#__PURE__*/_jsx(\"span\",{...props,children:children});};}export function withAriaHidden(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,\"aria-hidden\":true});};}export function withCustomClass(Component){return props=>{props.className+=\" custom\";return /*#__PURE__*/_jsx(Component,{...props});};}export function withTranslated3d(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,style:{...props.style,transform:\"translate3d(0, 0, 0)\"}});};}export function withInformationContainerId(Component){return props=>{return /*#__PURE__*/_jsx(Component,{id:\"information-container\",...props});};}export function withOverlayBlurAndCloseOverlay(Component){return props=>{const compRef=useRef(null);const getNavigationItems=()=>{const navigation=document.querySelector(\"nav\");return navigation?.querySelectorAll(`*[data-blur-uuid]:not(button)`);};const handleMouseEnter=ev=>{if(!compRef.current)return;const navItems=getNavigationItems();navItems?.forEach(el=>{el.style.filter=\"blur(1px)\";});};const handleMouseLeave=ev=>{if(!compRef.current)return;const navItems=getNavigationItems();navItems.forEach(el=>{el.style.removeProperty(\"filter\");});};const handleCloseOverlay=ev=>{const navigation=document.querySelector(\"nav\");compRef.current.style.display=\"none\";navigation.click();};return /*#__PURE__*/_jsx(Component,{...props,ref:compRef,onClick:handleCloseOverlay,onMouseEnter:handleMouseEnter,onMouseLeave:handleMouseLeave});};}export function withTextCenter(Component){return props=>{const StyledComponent=styled(Component)`\n            text-align: center;\n\n            .framer-text {\n                --framer-text-alignment: center !important;\n            }\n        `;return /*#__PURE__*/_jsx(StyledComponent,{...props});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withOverrideWrappingTag\":{\"type\":\"reactHoc\",\"name\":\"withOverrideWrappingTag\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withTranslated3d\":{\"type\":\"reactHoc\",\"name\":\"withTranslated3d\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withNavBlur\":{\"type\":\"reactHoc\",\"name\":\"withNavBlur\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCustomClass\":{\"type\":\"reactHoc\",\"name\":\"withCustomClass\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withArticleContentStyles\":{\"type\":\"reactHoc\",\"name\":\"withArticleContentStyles\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withAriaHidden\":{\"type\":\"reactHoc\",\"name\":\"withAriaHidden\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withOverlayBlur\":{\"type\":\"reactHoc\",\"name\":\"withOverlayBlur\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"navigationScrollHidden\":{\"type\":\"reactHoc\",\"name\":\"navigationScrollHidden\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withFillParent\":{\"type\":\"reactHoc\",\"name\":\"withFillParent\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withAspectRatioSquare\":{\"type\":\"reactHoc\",\"name\":\"withAspectRatioSquare\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withOverlayBlurAndCloseOverlay\":{\"type\":\"reactHoc\",\"name\":\"withOverlayBlurAndCloseOverlay\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withTextCenter\":{\"type\":\"reactHoc\",\"name\":\"withTextCenter\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withOverlayNavBlur\":{\"type\":\"reactHoc\",\"name\":\"withOverlayNavBlur\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withNavReload\":{\"type\":\"reactHoc\",\"name\":\"withNavReload\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withInformationContainerId\":{\"type\":\"reactHoc\",\"name\":\"withInformationContainerId\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withArticleIntroductionStyles\":{\"type\":\"reactHoc\",\"name\":\"withArticleIntroductionStyles\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withDynamicCollectionGrid\":{\"type\":\"reactHoc\",\"name\":\"withDynamicCollectionGrid\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./UtilityFunctions.map"],
  "mappings": "8GAKwX,SAASA,EAAYC,EAAU,CAAC,OAAOC,GAAO,CAAC,IAAMC,EAAQC,EAAO,IAAI,EAAQC,EAAKC,EAAQ,IAAIC,EAAO,EAAE,CAAC,CAAC,EAAQC,EAAY,IAASL,EAAQ,QAA4BA,EAAQ,QAAQ,QAAQ,KAAK,GAAiB,iBAAiB,0CAA0CE,CAAI,KAAK,EAAtI,OAAsgB,OAAoBI,EAAKR,EAAU,CAAC,GAAGC,EAAM,IAAIC,EAAQ,iBAAiBE,EAAK,aAApbK,GAAI,CAAC,GAAG,CAACP,EAAQ,QAAQ,OAAsBK,EAAY,GAAY,QAAQG,GAAI,CAACA,EAAG,MAAM,OAAO,WAAY,CAAC,EAAER,EAAQ,QAAQ,MAAM,eAAe,QAAQ,CAAE,EAAgT,aAAvRO,GAAI,CAAC,GAAG,CAACP,EAAQ,QAAQ,OAAO,IAAMS,EAASJ,EAAY,EAAEL,EAAQ,QAAQ,MAAM,eAAe,QAAQ,EAAES,GAAU,QAAQD,GAAI,CAACA,EAAG,MAAM,eAAe,QAAQ,CAAE,CAAC,CAAE,EAA6I,MAAM,CAAC,GAAGT,EAAM,MAAM,WAAW,oBAAoB,CAAC,CAAC,CAAE,CAAE,CAAg6D,SAASW,EAA0BC,EAAU,CAAC,OAAOC,GAAO,CAkBpoG,IAAMC,GAAWD,EAAM,WAAW,IAAI,MAAM,GAAG,EAAE,CAAC,EAAE,OAAoBE,EAAMC,EAAU,CAAC,SAAS,CAAcC,EAAK,QAAQ,CAAC,wBAAwB,CAAC,OAAO;AAAA,+BACpLH,CAAS;AAAA;AAAA;AAAA;AAAA,+BAITA,CAAS;AAAA,+BACTA,CAAS;AAAA,+BACTA,CAAS;AAAA,+BACTA,CAAS;AAAA;AAAA;AAAA;AAAA,+BAITA,CAAS;AAAA,+BACTA,CAAS;AAAA,+BACTA,CAAS;AAAA,+BACTA,CAAS;AAAA;AAAA;AAAA,yBAGf,CAAC,CAAC,EAAeG,EAAKL,EAAU,CAAC,GAAGC,CAAK,CAAC,CAAC,CAAC,CAAC,CAAE,CAAE,CA2CoR,SAASK,EAAgBC,EAAU,CAAC,OAAOC,IAAQA,EAAM,WAAW,UAA8BC,EAAKF,EAAU,CAAC,GAAGC,CAAK,CAAC,EAAI,CAA6K,SAASE,EAA2BC,EAAU,CAAC,OAAOC,GAA4BC,EAAKF,EAAU,CAAC,GAAG,wBAAwB,GAAGC,CAAK,CAAC,CAAI",
  "names": ["withNavBlur", "Component", "props", "compRef", "pe", "uuid", "se", "v4", "getSiblings", "p", "ev", "el", "siblings", "withDynamicCollectionGrid", "Component", "props", "className", "u", "l", "p", "withCustomClass", "Component", "props", "p", "withInformationContainerId", "Component", "props", "p"]
}
