{"version":3,"file":"Redirection.CjSdOUiB.mjs","names":[],"sources":["https:/framerusercontent.com/modules/vHBgFfekL3iORzMftUUm/h8WeoYhd7hXeIJzXRTs5/Redirection.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";// Custom hook for redirection\nconst useRedirect=url=>{useEffect(()=>{if(url){window.location.href=url;}},[url]);};export default function Redirection(){let pdfUrl=\"\";// Automatically set PDF URL based on the current page\nswitch(window.location.pathname){case\"/mahakumbh\":pdfUrl=\"https://drive.google.com/file/d/1VyGldX2GBwAGJSXWRQ-XSkjTRwQ2Y8Na/view\";break;default:pdfUrl=\"https://drive.google.com/file/d/1VyGldX2GBwAGJSXWRQ-XSkjTRwQ2Y8Na/view\";}useRedirect(pdfUrl);return /*#__PURE__*/_jsx(\"div\",{});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Redirection\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Redirection.map"],"mappings":"2HACoF,SAAwB,GAAa,CAAC,IAAI,EAAO,GACrI,OAAO,EAAO,SAAS,SAAvB,CAAiC,IAAI,aAAa,EAAO,yEAAyE,MAAM,QAAQ,EAAO,yEAA8F,OAApB,EAAY,EAAO,CAAqB,EAAK,MAAM,EAAE,CAAC,wBAF5O,IAA6B,CAClE,EAAY,GAAK,CAAC,MAAc,CAAI,IAAK,EAAO,SAAS,KAAK,IAAO,CAAC,EAAI,CAAC"}