{"version":3,"file":"Layout-BVqGGYYT.js","sources":["../../../app/frontend/components/Directory/BackgroundGradient.jsx","../../../../../shared/node_modules/@heroicons/react/24/solid/esm/ArrowUpTrayIcon.js","../../../../../shared/node_modules/@heroicons/react/24/solid/esm/CursorArrowRaysIcon.js","../../../../../shared/node_modules/@heroicons/react/24/solid/esm/QueueListIcon.js","../../../app/frontend/pages/Brochure/Directory/components/Layout.jsx"],"sourcesContent":["export default function BackgroundGradient() {\n return (\n
\n )\n}\n","import * as React from \"react\";\nfunction ArrowUpTrayIcon({\n title,\n titleId,\n ...props\n}, svgRef) {\n return /*#__PURE__*/React.createElement(\"svg\", Object.assign({\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 24 24\",\n fill: \"currentColor\",\n \"aria-hidden\": \"true\",\n \"data-slot\": \"icon\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n d: \"M11.47 2.47a.75.75 0 0 1 1.06 0l4.5 4.5a.75.75 0 0 1-1.06 1.06l-3.22-3.22V16.5a.75.75 0 0 1-1.5 0V4.81L8.03 8.03a.75.75 0 0 1-1.06-1.06l4.5-4.5ZM3 15.75a.75.75 0 0 1 .75.75v2.25a1.5 1.5 0 0 0 1.5 1.5h13.5a1.5 1.5 0 0 0 1.5-1.5V16.5a.75.75 0 0 1 1.5 0v2.25a3 3 0 0 1-3 3H5.25a3 3 0 0 1-3-3V16.5a.75.75 0 0 1 .75-.75Z\",\n clipRule: \"evenodd\"\n }));\n}\nconst ForwardRef = React.forwardRef(ArrowUpTrayIcon);\nexport default ForwardRef;","import * as React from \"react\";\nfunction CursorArrowRaysIcon({\n title,\n titleId,\n ...props\n}, svgRef) {\n return /*#__PURE__*/React.createElement(\"svg\", Object.assign({\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 24 24\",\n fill: \"currentColor\",\n \"aria-hidden\": \"true\",\n \"data-slot\": \"icon\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n d: \"M12 1.5a.75.75 0 0 1 .75.75V4.5a.75.75 0 0 1-1.5 0V2.25A.75.75 0 0 1 12 1.5ZM5.636 4.136a.75.75 0 0 1 1.06 0l1.592 1.591a.75.75 0 0 1-1.061 1.06l-1.591-1.59a.75.75 0 0 1 0-1.061Zm12.728 0a.75.75 0 0 1 0 1.06l-1.591 1.592a.75.75 0 0 1-1.06-1.061l1.59-1.591a.75.75 0 0 1 1.061 0Zm-6.816 4.496a.75.75 0 0 1 .82.311l5.228 7.917a.75.75 0 0 1-.777 1.148l-2.097-.43 1.045 3.9a.75.75 0 0 1-1.45.388l-1.044-3.899-1.601 1.42a.75.75 0 0 1-1.247-.606l.569-9.47a.75.75 0 0 1 .554-.68ZM3 10.5a.75.75 0 0 1 .75-.75H6a.75.75 0 0 1 0 1.5H3.75A.75.75 0 0 1 3 10.5Zm14.25 0a.75.75 0 0 1 .75-.75h2.25a.75.75 0 0 1 0 1.5H18a.75.75 0 0 1-.75-.75Zm-8.962 3.712a.75.75 0 0 1 0 1.061l-1.591 1.591a.75.75 0 1 1-1.061-1.06l1.591-1.592a.75.75 0 0 1 1.06 0Z\",\n clipRule: \"evenodd\"\n }));\n}\nconst ForwardRef = React.forwardRef(CursorArrowRaysIcon);\nexport default ForwardRef;","import * as React from \"react\";\nfunction QueueListIcon({\n title,\n titleId,\n ...props\n}, svgRef) {\n return /*#__PURE__*/React.createElement(\"svg\", Object.assign({\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 24 24\",\n fill: \"currentColor\",\n \"aria-hidden\": \"true\",\n \"data-slot\": \"icon\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M5.625 3.75a2.625 2.625 0 1 0 0 5.25h12.75a2.625 2.625 0 0 0 0-5.25H5.625ZM3.75 11.25a.75.75 0 0 0 0 1.5h16.5a.75.75 0 0 0 0-1.5H3.75ZM3 15.75a.75.75 0 0 1 .75-.75h16.5a.75.75 0 0 1 0 1.5H3.75a.75.75 0 0 1-.75-.75ZM3.75 18.75a.75.75 0 0 0 0 1.5h16.5a.75.75 0 0 0 0-1.5H3.75Z\"\n }));\n}\nconst ForwardRef = React.forwardRef(QueueListIcon);\nexport default ForwardRef;","import React, { useState, useEffect } from \"react\"\nimport { usePage } from \"@inertiajs/react\"\nimport { chunkArray } from \"@/lib/utils\"\n\nimport BackgroundGradient from \"@/components/Directory/BackgroundGradient\"\nimport Logo from \"@/assets/logo.png\"\nimport DiscordIcon from \"@/assets/icons/discord_black.svg\"\nimport {\n CursorArrowRaysIcon,\n QueueListIcon,\n ArrowUpTrayIcon,\n} from \"@heroicons/react/24/solid\"\nimport CatchEmailBar from \"./CatchEmailBar\"\nimport { Head } from \"@inertiajs/react\"\n\n// Move to Inertia Link if we have more Inertia pages\nconst Link = ({ children, href }) => {\n return {children}\n}\n\nexport default function Layout({ children }) {\n const { currentPath, currentUser, categories, languages } = usePage().props\n\n const [isMobileMenuOpen, setIsMobileMenuOpen] = useState(false)\n const [shakeKey, setShakeKey] = useState(0)\n\n const toggleMobileMenu = () => {\n setIsMobileMenuOpen(!isMobileMenuOpen)\n }\n\n useEffect(() => {\n const shakeInterval = setInterval(() => {\n setShakeKey((prevKey) => prevKey + 1)\n }, 10000) // Reset shake every 10 seconds\n\n return () => clearInterval(shakeInterval)\n }, [])\n\n return (\n <>\n \n \n \n