{"version":3,"mappings":";kGAKA,MAAMA,EAA2BC,EAAA,KAC/B,IAAAC,EAAA,IAAM,OAAO,wCAA4B,mCAC3C,EAQA,SAAwBC,EAAgC,CACtD,OAAAC,EACA,WAAAC,EACA,KAAAC,CACF,EAAU,CAGR,OAFgBC,UAObC,WACC,UAAAC,MAACT,GAAyB,OAAAI,EAAgB,KAAAE,EAAY,WAAAD,CAAwB,EAChF,GANSI,EAAA,IAAAC,WAAA,GAQb","names":["BookDetailsPopoverButton","lazy","__vitePreload","BookDetailsPopoverButtonWrapper","bookId","referrerId","size","useMount","Suspense","jsx","Fragment"],"ignoreList":[],"sources":["../../../app/javascript/features/BookDetailsPopover/components/index.tsx"],"sourcesContent":["/* eslint-disable import/no-cycle */\nimport { Suspense, lazy } from \"react\";\nimport { CoverProps } from \"hardcover-ui/theme/components/cover\";\nimport useMount from \"hooks/useMount\";\n\nconst BookDetailsPopoverButton = lazy(\n () => import(\"./BookDetailsPopoverButton\")\n);\n\ninterface Props {\n bookId: number;\n referrerId?: number;\n size: CoverProps[\"size\"];\n}\n\nexport default function BookDetailsPopoverButtonWrapper({\n bookId,\n referrerId,\n size,\n}: Props) {\n const mounted = useMount();\n\n if (!mounted) {\n return <>;\n }\n\n return (\n \n \n \n );\n}\n"],"file":"assets/index-Cbi36N6T.js"}