{"version":3,"file":"BookReviewsWithBook-BshRNyjr.js","sources":["../../../app/javascript/components/BookReview/BookReviewWithBook.tsx","../../../app/javascript/components/BookReview/BookReviewsWithBook.tsx"],"sourcesContent":["import CoverLink from \"components/Cover/CoverLink\";\nimport TextLink from \"hardcover-ui/components/TextLink\";\nimport ContributionsList from \"components/authors/ContributionsList\";\nimport { BookButton } from \"features/BookButton\";\nimport BookReview from \"./BookReview\";\nimport { UserBookSerializersUserBookReviewWithBook } from \"types/serializers\";\n\nexport default function BookReviewWithBook({\n review,\n}: {\n review: UserBookSerializersUserBookReviewWithBook;\n}) {\n return (\n
\n \n
\n
\n
\n

\n \n {review.edition ? review.edition.title : review.book.title}\n \n

\n \n
\n \n
\n\n \n
\n
\n );\n}\n","import BookReviewWithBook from \"./BookReviewWithBook\";\nimport { UserBookSerializersUserBookReviewWithBook } from \"types/serializers\";\n\nexport default function BookReviewsWithBook({\n reviews,\n}: {\n reviews: UserBookSerializersUserBookReviewWithBook[];\n}) {\n return (\n
\n {reviews.map((review) => (\n \n ))}\n
\n );\n}\n"],"names":["BookReviewWithBook","review","jsxs","jsx","CoverLink","BookButton","TextLink","ContributionsList","BookReview","BookReviewsWithBook","reviews"],"mappings":"gRAOA,SAAwBA,EAAmB,CACzC,OAAAC,CACF,EAEG,CAEC,OAAAC,EAAA,KAAC,MAAI,CAAA,UAAU,uDACb,SAAA,CAACA,EAAAA,KAAA,MAAA,CAAI,UAAU,8DACb,SAAA,CAAAC,EAAA,IAACC,EAAA,CACC,KAAMH,EAAO,KACb,QAASA,EAAO,QAChB,KAAK,KACL,QAAQ,YACR,UAAU,YACV,SAAU,CACR,WAAY,GACZ,QAAS,GACT,QAAS,GACT,WAAYA,EAAO,MACrB,CAAA,CACF,EAEAE,EAAA,IAACE,EAAA,CACC,KAAK,KACL,OAAQJ,EAAO,OACf,eAAgBA,EAAO,MAAA,CACzB,CAAA,EACF,EACAC,EAAAA,KAAC,MAAI,CAAA,UAAU,YACb,SAAA,CAACA,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