{"version":3,"sources":["webpack:///./Scripts/Components/CustomAccordion.js","webpack:///./Scripts/Components/FooterLinks.js","webpack:///./Scripts/Hooks/UseToggleExpand.js"],"names":["CustomAccordion","header","content","children","icon","className","elementRef","useRef","expanded","expand","recalculateHeight","useToggleExpand","useEffect","handleResize","window","addEventListener","removeEventListener","clearTimeout","resizeTimer","Fragment","onClick","ref","links","map","x","index","key","sectionTitle","xmlns","width","height","viewBox","fill","d","stroke","strokeWidth","strokeLinecap","strokeLinejoin","sectionLinkList","link","linkIndex","href","text","sectionText","value","dangerouslySetInnerHTML","__html","mobile","initialState","externalRef","setIsExpanded","useState","prevExpanded","current","element","style","Array","prototype","reduce","call","childNodes","acc","child","offsetHeight","closeExpand"],"mappings":"4HAGO,MAEMA,EAAkB,EAAGC,SAAQC,UAASC,WAAUC,OAAMC,gBAC/D,MAAMC,GAAaC,YAAO,OAEpB,SAAEC,EAAF,OAAYC,EAAZ,kBAAoBC,IAAsBC,QAAgB,GAsBhE,OApBAC,gBAAU,KAGN,MAAMC,EAAe,KACdL,GACCE,EAAkBJ,IAQ1B,OAHAQ,OAAOC,iBAAiB,SAAUF,GAG3B,KACHC,OAAOE,oBAAoB,SAAUH,GACrCI,aAdAC,cAgBL,CAACV,IAIA,gBAAC,EAAAW,SAAD,KACI,0BAAQd,UAAU,2BAA2Be,QAAS,IAAMX,EAAOH,IAC9DL,EAED,wBAAMI,UAAW,2BAA6BG,EAAW,iCAAmC,KACvFJ,GAAQA,IAIjB,uBAAKC,UAAU,4BAA4BgB,IAAKf,GAC3CJ,M,4FCrCjB,MA6DA,EA7DoB,EAAGoB,WAEf,uBAAKjB,UAAU,mBAEPiB,EAAMC,KAAI,CAACC,EAAGC,IACF,2BAASpB,UAAU,eAAeqB,IAAKD,GACvC,uBAAKpB,UAAU,0BACX,gBAAC,IAAD,CACIJ,OAAQ,sBAAII,UAAU,mCAAmCmB,EAAEG,cAC3DvB,KACI,uBAAKwB,MAAM,6BAA6BC,MAAM,KAAKC,O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AIgC,QAAS,CACb,MAAMC,EAAUjC,EAAIgC,SAChBC,EAAQC,MAAMzB,QAAmC,QAAzBwB,EAAQC,MAAMzB,UACtCwB,EAAQC,MAAMzB,OAAS0B,MAAMC,UAAUC,OAAOC,KAC1CL,EAAQM,YACR,CAACC,EAAKC,IAAUD,GAAOC,EAAMC,cAAgB,IAC7C,GACA","file":"400.00b2600bcc29154600d2.js","sourcesContent":["import React, { useState, useMemo, Fragment, useRef, useLayoutEffect, useEffect } from 'react';\nimport useToggleExpand from \"../Hooks/UseToggleExpand\";\n\nexport const AccordionPanel = (props) => props;\n\nexport const CustomAccordion = ({ header, content, children, icon, className }) => {\n const elementRef = useRef(null);\n\n const { expanded, expand, recalculateHeight } = useToggleExpand(false);\n\n useEffect(() => {\n let resizeTimer;\n\n const handleResize = () => {\n if(expanded){\n recalculateHeight(elementRef);\n }\n };\n\n // Add event listener for window resize start\n window.addEventListener('resize', handleResize);\n\n // Clean up the event listener and timer on component unmount\n return () => {\n window.removeEventListener('resize', handleResize);\n clearTimeout(resizeTimer);\n };\n }, [expanded]);\n\n\n return (\n