{"performances":{"performances":[{"event_date":"17620925","id":26916,"event_id":10894,"work_id":185,"title_clean":"The Musical Lady","count":4,"genre_colour":"#00d5ff","genre":"Farce","source_genre":"Unknown Genre","source_genre_colour":"green","total_performances_for_work":84,"filtered_performances_for_work":4,"work":{"id":185,"lsdb_id":185,"title":"The Musical Lady","title_variant":null,"type_1":"afterpiece","type_2":null,"source_1":null,"source_2":null,"first_performed_date":null,"publication_date":"1762","notes":null,"created_at":"2022-11-01T23:59:14.000000Z","updated_at":"2023-10-27T11:00:39.000000Z","deleted_at":null,"genre_id":4,"performance_medium":"Spoken Drama","date_type":"Performed","genre":{"id":4,"label":"Farce","description":null,"lod_type":null,"lod_uri":null,"created_at":"2023-06-22T10:30:43.000000Z","updated_at":"2023-06-22T10:30:43.000000Z"}}},{"event_date":"17660218","id":30255,"event_id":12265,"work_id":2515,"title_clean":"A Fairy Tale","count":4,"genre_colour":"#00d5ff","genre":"Farce","source_genre":"Unknown Genre","source_genre_colour":"green","total_performances_for_work":43,"filtered_performances_for_work":4,"work":{"id":2515,"lsdb_id":2515,"title":"The Fairy Tale","title_variant":null,"type_1":"afterpiece","type_2":null,"source_1":"A Midsummer Night's Dream","source_2":null,"first_performed_date":null,"publication_date":"1763","notes":"Based on Shakespeare's 'A Midsummer NIght's Dream' (1596-7).","created_at":"2022-11-01T23:59:19.000000Z","updated_at":"2024-09-24T19:01:09.000000Z","deleted_at":null,"genre_id":4,"performance_medium":"Spoken Drama","date_type":"Performed","genre":{"id":4,"label":"Farce","description":null,"lod_type":null,"lod_uri":null,"created_at":"2023-06-22T10:30:43.000000Z","updated_at":"2023-06-22T10:30:43.000000Z"}}},{"event_date":"17681013","id":32679,"event_id":13232,"work_id":68,"title_clean":"The Padlock","count":4,"genre_colour":"#0048ff","genre":"Comedy","source_genre":"Unknown Genre","source_genre_colour":"green","total_performances_for_work":284,"filtered_performances_for_work":4,"work":{"id":68,"lsdb_id":68,"title":"The Padlock","title_variant":null,"type_1":"afterpiece","type_2":null,"source_1":null,"source_2":null,"first_performed_date":null,"publication_date":"1768","notes":null,"created_at":"2022-11-01T23:59:14.000000Z","updated_at":"2024-12-16T13:08:14.000000Z","deleted_at":null,"genre_id":2,"performance_medium":"Musical","date_type":"Performed","genre":{"id":2,"label":"Comedy","description":null,"lod_type":null,"lod_uri":null,"created_at":"2023-06-22T10:30:16.000000Z","updated_at":"2023-06-22T10:30:16.000000Z"}}},{"event_date":"17650420","id":29590,"event_id":11985,"work_id":286,"title_clean":"Fortunatus","count":4,"genre_colour":"#ffe600","genre":"Pantomime","source_genre":"Unknown Genre","source_genre_colour":"green","total_performances_for_work":222,"filtered_performances_for_work":4,"work":{"id":286,"lsdb_id":286,"title":"Fortunatus","title_variant":null,"type_1":"afterpiece","type_2":null,"source_1":null,"source_2":null,"first_performed_date":null,"publication_date":"1753","notes":null,"created_at":"2022-11-01T23:59:14.000000Z","updated_at":"2023-10-30T10:34:50.000000Z","deleted_at":null,"genre_id":9,"performance_medium":"Dance","date_type":"Performed","genre":{"id":9,"label":"Pantomime","description":null,"lod_type":null,"lod_uri":null,"created_at":"2023-06-22T10:31:31.000000Z","updated_at":"2023-06-22T10:31:31.000000Z"}}},{"event_date":"17620508","id":26805,"event_id":10860,"work_id":1804,"title_clean":"The Conscious Lovers","count":4,"genre_colour":"#0048ff","genre":"Comedy","source_genre":"Unknown Genre","source_genre_colour":"green","total_performances_for_work":321,"filtered_performances_for_work":4,"work":{"id":1804,"lsdb_id":1804,"title":"The Conscious Lovers","title_variant":null,"type_1":"mainpiece","type_2":null,"source_1":null,"source_2":null,"first_performed_date":null,"publication_date":"1722","notes":null,"created_at":"2022-11-01T23:59:18.000000Z","updated_at":"2023-12-15T15:40:33.000000Z","deleted_at":null,"genre_id":2,"performance_medium":"Spoken Drama","date_type":"Performed","genre":{"id":2,"label":"Comedy","description":null,"lod_type":null,"lod_uri":null,"created_at":"2023-06-22T10:30:16.000000Z","updated_at":"2023-06-22T10:30:16.000000Z"}}},{"event_date":"17610501","id":78363,"event_id":10404,"work_id":5312,"title_clean":"Hornpipe","count":4,"genre_colour":"#9900ff","genre":"Unknown","source_genre":"Unknown Genre","source_genre_colour":"green","total_performances_for_work":710,"filtered_performances_for_work":4,"work":{"id":5312,"lsdb_id":null,"title":"Hornpipe","title_variant":null,"type_1":null,"type_2":null,"source_1":null,"source_2":null,"first_performed_date":null,"publication_date":null,"notes":null,"created_at":"2025-05-01T12:06:15.000000Z","updated_at":"2025-05-01T12:06:15.000000Z","deleted_at":null,"genre_id":null,"performance_medium":"Dance","date_type":null,"genre":null}},{"event_date":"17650420","id":78700,"event_id":11985,"work_id":4042,"title_clean":"Bucks Have at Ye All","count":3,"genre_colour":"#9900ff","genre":"Occasional","source_genre":"Unknown Genre","source_genre_colour":"green","total_performances_for_work":51,"filtered_performances_for_work":3,"work":{"id":4042,"lsdb_id":null,"title":"A Picture of a Playhouse; Or, Bucks Have at ye All","title_variant":null,"type_1":"afterpiece","type_2":null,"source_1":null,"source_2":null,"first_performed_date":null,"publication_date":"1760","notes":"See LA 175.","created_at":"2025-04-29T15:48:28.000000Z","updated_at":"2025-06-17T15:07:26.000000Z","deleted_at":null,"genre_id":8,"performance_medium":"Spoken Drama","date_type":"Performed","genre":{"id":8,"label":"Occasional","description":null,"lod_type":null,"lod_uri":null,"created_at":"2023-06-22T10:31:21.000000Z","updated_at":"2023-06-22T10:31:21.000000Z"}}},{"event_date":"17671022","id":31707,"event_id":12848,"work_id":879,"title_clean":"As You Like It","count":3,"genre_colour":"#0048ff","genre":"Comedy","source_genre":"Unknown Genre","source_genre_colour":"green","total_performances_for_work":288,"filtered_performances_for_work":3,"work":{"id":879,"lsdb_id":879,"title":"As You Like It","title_variant":null,"type_1":"mainpiece","type_2":null,"source_1":null,"source_2":null,"first_performed_date":null,"publication_date":"1623","notes":null,"created_at":"2022-11-01T23:59:16.000000Z","updated_at":"2023-10-11T16:56:36.000000Z","deleted_at":null,"genre_id":2,"performance_medium":"Spoken Drama","date_type":"Published","genre":{"id":2,"label":"Comedy","description":null,"lod_type":null,"lod_uri":null,"created_at":"2023-06-22T10:30:16.000000Z","updated_at":"2023-06-22T10:30:16.000000Z"}}},{"event_date":"17671027","id":31728,"event_id":12856,"work_id":108,"title_clean":"A Peep behind the Curtain","count":3,"genre_colour":"#00d5ff","genre":"Farce","source_genre":"Unknown Genre","source_genre_colour":"green","total_performances_for_work":74,"filtered_performances_for_work":3,"work":{"id":108,"lsdb_id":108,"title":"A Peep Behind the Curtain; or, The New Rehearsal","title_variant":null,"type_1":"afterpiece","type_2":null,"source_1":null,"source_2":null,"first_performed_date":null,"publication_date":"1767","notes":null,"created_at":"2022-11-01T23:59:14.000000Z","updated_at":"2023-10-23T15:23:29.000000Z","deleted_at":null,"genre_id":4,"performance_medium":"Spoken Drama","date_type":"Performed","genre":{"id":4,"label":"Farce","description":null,"lod_type":null,"lod_uri":null,"created_at":"2023-06-22T10:30:43.000000Z","updated_at":"2023-06-22T10:30:43.000000Z"}}},{"event_date":"17610501","id":25678,"event_id":10404,"work_id":5321,"title_clean":"Last New Comic Dance","count":3,"genre_colour":"#9900ff","genre":"Unknown","source_genre":"Unknown Genre","source_genre_colour":"green","total_performances_for_work":719,"filtered_performances_for_work":3,"work":{"id":5321,"lsdb_id":null,"title":"Comic Dance","title_variant":null,"type_1":null,"type_2":null,"source_1":null,"source_2":null,"first_performed_date":null,"publication_date":null,"notes":null,"created_at":"2025-05-01T12:20:46.000000Z","updated_at":"2025-05-01T12:20:46.000000Z","deleted_at":null,"genre_id":null,"performance_medium":"Dance","date_type":null,"genre":null}}],"total_performances":53,"covent_garden_performances":1,"drury_lane_performances":52,"date_ranged_total_performances":53,"date_ranged_covent_garden_performances":1,"date_ranged_drury_lane_performances":52,"from_year":1732,"to_year":1809},"genre_colour":"green","performances_html":"<div class=\"row\">\n    <h3>Performances<\/h3>\n\n    <div class=\"table-responsive\">\n        <table class=\"table mt-3 table-striped\">\n            <thead>\n\n\n                \n\n                <tr>\n                    <th><a class=\"sort\" data-order=\"asc\" id=\"sort-dates\"\n                            data-sort=\"event_date\">Dates <\/a><\/th>\n\n                    <th><a class=\"sort\" data-order=\"desc\"\n                            id=\"sort-theatre\" data-sort=\"theatre_name\">Theatre <\/a><\/th>\n\n                    <th style=\"white-space: nowrap\">Performances<\/th>\n                    <th><a class=\"sort\" data-order=\"desc\"\n                            id=\"sort-command\" data-sort=\"is_requested\">Requested <\/a><\/th>\n                    <th style=\"white-space: nowrap\"><a class=\"sort\"\n                            data-order=\"desc\"\n                            id=\"sort-command\" data-sort=\"is_command_performance\">Commands <\/a>\n                    <\/th>\n                    <th><a class=\"sort\" data-order=\"desc\"\n                            id=\"sort-benefit\" data-sort=\"is_benefit\">Benefit <\/a><\/th>\n                    <th><a class=\"sort\" data-order=\"desc\"\n                            id=\"sort-revenue\" data-sort=\"event_total_receipts\">Revenue <\/a><\/th>\n                    <th style=\"white-space: nowrap\"><a class=\"sort\"\n                            data-order=\"desc\"\n                            id=\"sort-type\" data-sort=\"percentage_portion_of_receipts\">Available\n                            Revenue %<\/a><\/th>\n                    <th style=\"white-space: nowrap\"><a class=\"sort\"\n                            data-order=\"desc\" id=\"sort-type\"\n                            data-sort=\"portion_of_capacity\">Capacity %<\/a><\/th>\n                    <\/th>\n                <\/tr>\n            <\/thead>\n            <tbody>\n                                                    \n                    <tr class=\"performance play-row\">\n                        <td style=\"white-space: nowrap\"><a\n                                href=\"https:\/\/data.theatronomics.com\/this-day\/1761-05-01?theatre=CG\">01 May 1761<\/a><\/td>\n                        <td class=\"text-nowrap\">Covent Garden<\/td>\n                        <td><i><a target=\"_blank\" href=\"\/plays\/748\" title=\"More info on King Henry V\">King Henry V<\/a>, <a target=\"_blank\" href=\"\/plays\/2424\" title=\"More info on The Englishman Returned from Paris\">The Englishman Returned from Paris<\/a>, <a target=\"_blank\" href=\"\/plays\/5321\" title=\"More info on Last New Comic Dance\">Last New Comic Dance<\/a>, <a target=\"_blank\" href=\"\/plays\/5765\" title=\"More info on Heart of Oak\">Heart of Oak<\/a>, <a target=\"_blank\" href=\"\/plays\/5312\" title=\"More info on Hornpipe\">Hornpipe<\/a><\/i><\/td>\n                        <td>\n                                                            <a href=\"\/people?person=\">Yes<\/a>\n                                                    <\/td>\n                        <td>\n                                                            No\n                                                    <\/td>\n                        <td>\n                                                            <a href=\"https:\/\/data.theatronomics.com\/this-day\/1761-05-01?theatre=CG\">Yes<\/a>\n                                                    <\/td>\n                        <td>\u00a3202 2s 6d<\/td>\n                        <td>N\/A<\/td>\n                        <td>N\/A<\/td>\n                    <\/tr>\n                                    \n                    <tr class=\"performance play-row\">\n                        <td style=\"white-space: nowrap\"><a\n                                href=\"https:\/\/data.theatronomics.com\/this-day\/1762-05-07?theatre=DL\">07 May 1762<\/a><\/td>\n                        <td class=\"text-nowrap\">Drury Lane<\/td>\n                        <td><i><a target=\"_blank\" href=\"\/plays\/1420\" title=\"More info on Love Makes A Man\">Love Makes A Man<\/a>, <a target=\"_blank\" href=\"\/plays\/2421\" title=\"More info on The Apprentice\">The Apprentice<\/a>, <a target=\"_blank\" href=\"\/plays\/5312\" title=\"More info on Hornpipe\">Hornpipe<\/a>, <a target=\"_blank\" href=\"\/plays\/5765\" title=\"More info on Hearts of Oak\">Hearts of Oak<\/a><\/i><\/td>\n                        <td>\n                                                            No\n                                                    <\/td>\n                        <td>\n                                                            No\n                                                    <\/td>\n                        <td>\n                                                            <a href=\"https:\/\/data.theatronomics.com\/this-day\/1762-05-07?theatre=DL\">Yes<\/a>\n                                                    <\/td>\n                        <td>Unknown<\/td>\n                        <td>N\/A<\/td>\n                        <td>N\/A<\/td>\n                    <\/tr>\n                                    \n                    <tr class=\"performance play-row\">\n                        <td style=\"white-space: nowrap\"><a\n                                href=\"https:\/\/data.theatronomics.com\/this-day\/1762-05-08?theatre=DL\">08 May 1762<\/a><\/td>\n                        <td class=\"text-nowrap\">Drury Lane<\/td>\n                        <td><i><a target=\"_blank\" href=\"\/plays\/1804\" title=\"More info on The Conscious Lovers\">The Conscious Lovers<\/a>, <a target=\"_blank\" href=\"\/plays\/2421\" title=\"More info on The Apprentice\">The Apprentice<\/a>, <a target=\"_blank\" href=\"\/plays\/5765\" title=\"More info on Hearts of Oak\">Hearts of Oak<\/a><\/i><\/td>\n                        <td>\n                                                            No\n                                                    <\/td>\n                        <td>\n                                                            No\n                                                    <\/td>\n                        <td>\n                                                            <a href=\"https:\/\/data.theatronomics.com\/this-day\/1762-05-08?theatre=DL\">Yes<\/a>\n                                                    <\/td>\n                        <td>Unknown<\/td>\n                        <td>N\/A<\/td>\n                        <td>N\/A<\/td>\n                    <\/tr>\n                                    \n                    <tr class=\"performance play-row\">\n                        <td style=\"white-space: nowrap\"><a\n                                href=\"https:\/\/data.theatronomics.com\/this-day\/1762-05-17?theatre=DL\">17 May 1762<\/a><\/td>\n                        <td class=\"text-nowrap\">Drury Lane<\/td>\n                        <td><i><a target=\"_blank\" href=\"\/plays\/601\" title=\"More info on The Merry Wives Of Windsor\">The Merry Wives Of Windsor<\/a>, <a target=\"_blank\" href=\"\/plays\/2436\" title=\"More info on The Reprisal\">The Reprisal<\/a>, <a target=\"_blank\" href=\"\/plays\/5765\" title=\"More info on Hearts of Oak\">Hearts of Oak<\/a>, <a target=\"_blank\" href=\"\/plays\/2062\" title=\"More info on Hippisley's Drunken Man\">Hippisley's Drunken Man<\/a><\/i><\/td>\n                        <td>\n                                                            No\n                                                    <\/td>\n                        <td>\n                                                            No\n                                                    <\/td>\n                        <td>\n                                                            <a href=\"https:\/\/data.theatronomics.com\/this-day\/1762-05-17?theatre=DL\">Yes<\/a>\n                                                    <\/td>\n                        <td>Unknown<\/td>\n                        <td>N\/A<\/td>\n                        <td>N\/A<\/td>\n                    <\/tr>\n                                    \n                    <tr class=\"performance play-row\">\n                        <td style=\"white-space: nowrap\"><a\n                                href=\"https:\/\/data.theatronomics.com\/this-day\/1762-05-18?theatre=DL\">18 May 1762<\/a><\/td>\n                        <td class=\"text-nowrap\">Drury Lane<\/td>\n                        <td><i><a target=\"_blank\" href=\"\/plays\/1476\" title=\"More info on The Careless Husband\">The Careless Husband<\/a>, <a target=\"_blank\" href=\"\/plays\/2211\" title=\"More info on The King and the Miller\">The King and the Miller<\/a>, <a target=\"_blank\" href=\"\/plays\/5312\" title=\"More info on Hornpipe\">Hornpipe<\/a>, <a target=\"_blank\" href=\"\/plays\/4598\" title=\"More info on If O'er the Cruel Tyrant Love\">If O'er the Cruel Tyrant Love<\/a>, <a target=\"_blank\" href=\"\/plays\/5765\" title=\"More info on Hearts of Oak\">Hearts of Oak<\/a><\/i><\/td>\n                        <td>\n                                                            No\n                                                    <\/td>\n                        <td>\n                                                            No\n                                                    <\/td>\n                        <td>\n                                                            <a href=\"https:\/\/data.theatronomics.com\/this-day\/1762-05-18?theatre=DL\">Yes<\/a>\n                                                    <\/td>\n                        <td>Unknown<\/td>\n                        <td>N\/A<\/td>\n                        <td>N\/A<\/td>\n                    <\/tr>\n                                    \n                    <tr class=\"performance play-row\">\n                        <td style=\"white-space: nowrap\"><a\n                                href=\"https:\/\/data.theatronomics.com\/this-day\/1762-05-19?theatre=DL\">19 May 1762<\/a><\/td>\n                        <td class=\"text-nowrap\">Drury Lane<\/td>\n                        <td><i><a target=\"_blank\" href=\"\/plays\/1503\" title=\"More info on The Stratagem\">The Stratagem<\/a>, <a target=\"_blank\" href=\"\/plays\/271\" title=\"More info on Damon and Phillida\">Damon and Phillida<\/a>, <a target=\"_blank\" href=\"\/plays\/5676\" title=\"More info on New Dutch Comic Dance\">New Dutch Comic Dance<\/a>, <a target=\"_blank\" href=\"\/plays\/5765\" title=\"More info on Hearts of Oak\">Hearts of Oak<\/a><\/i><\/td>\n                        <td>\n                                                            No\n                                                    <\/td>\n                        <td>\n                                                            No\n                                                    <\/td>\n                        <td>\n                                                            <a href=\"https:\/\/data.theatronomics.com\/this-day\/1762-05-19?theatre=DL\">Yes<\/a>\n                                                    <\/td>\n                        <td>Unknown<\/td>\n                        <td>N\/A<\/td>\n                        <td>N\/A<\/td>\n                    <\/tr>\n                                    \n                    <tr class=\"performance play-row\">\n                        <td style=\"white-space: nowrap\"><a\n                                href=\"https:\/\/data.theatronomics.com\/this-day\/1762-05-21?theatre=DL\">21 May 1762<\/a><\/td>\n                        <td class=\"text-nowrap\">Drury Lane<\/td>\n                        <td><i><a target=\"_blank\" href=\"\/plays\/1616\" title=\"More info on A Bold Stroke For A Wife\">A Bold Stroke For A Wife<\/a>, <a target=\"_blank\" href=\"\/plays\/6052\" title=\"More info on The Englishman in Paris\">The Englishman in Paris<\/a>, <a target=\"_blank\" href=\"\/plays\/5765\" title=\"More info on Hearts of Oak\">Hearts of Oak<\/a><\/i><\/td>\n                        <td>\n                                                            No\n                                                    <\/td>\n                        <td>\n                                                            No\n                                                    <\/td>\n                        <td>\n                                                            <a href=\"https:\/\/data.theatronomics.com\/this-day\/1762-05-21?theatre=DL\">Yes<\/a>\n                                                    <\/td>\n                        <td>Unknown<\/td>\n                        <td>N\/A<\/td>\n                        <td>N\/A<\/td>\n                    <\/tr>\n                                    \n                    <tr class=\"performance play-row\">\n                        <td style=\"white-space: nowrap\"><a\n                                href=\"https:\/\/data.theatronomics.com\/this-day\/1762-05-24?theatre=DL\">24 May 1762<\/a><\/td>\n                        <td class=\"text-nowrap\">Drury Lane<\/td>\n                        <td><i><a target=\"_blank\" href=\"\/plays\/1520\" title=\"More info on The Busy Body\">The Busy Body<\/a>, <a target=\"_blank\" href=\"\/plays\/6052\" title=\"More info on The Englishman in Paris\">The Englishman in Paris<\/a>, <a target=\"_blank\" href=\"\/plays\/5765\" title=\"More info on Hearts of Oak\">Hearts of Oak<\/a>, <a target=\"_blank\" href=\"\/plays\/5571\" title=\"More info on Baltazar\">Baltazar<\/a><\/i><\/td>\n                        <td>\n                                                            No\n                                                    <\/td>\n                        <td>\n                                                            No\n                                                    <\/td>\n                        <td>\n                                                            <a href=\"https:\/\/data.theatronomics.com\/this-day\/1762-05-24?theatre=DL\">Yes<\/a>\n                                                    <\/td>\n                        <td>Unknown<\/td>\n                        <td>N\/A<\/td>\n                        <td>N\/A<\/td>\n                    <\/tr>\n                                    \n                    <tr class=\"performance play-row\">\n                        <td style=\"white-space: nowrap\"><a\n                                href=\"https:\/\/data.theatronomics.com\/this-day\/1762-09-25?theatre=DL\">25 Sep 1762<\/a><\/td>\n                        <td class=\"text-nowrap\">Drury Lane<\/td>\n                        <td><i><a target=\"_blank\" href=\"\/plays\/3724\" title=\"More info on King Henry IV Part I\">King Henry IV Part I<\/a>, <a target=\"_blank\" href=\"\/plays\/185\" title=\"More info on The Musical Lady\">The Musical Lady<\/a>, <a target=\"_blank\" href=\"\/plays\/5765\" title=\"More info on Hearts of Oak\">Hearts of Oak<\/a><\/i><\/td>\n                        <td>\n                                                            No\n                                                    <\/td>\n                        <td>\n                                                            No\n                                                    <\/td>\n                        <td>\n                                                            No\n                                                    <\/td>\n                        <td>Unknown<\/td>\n                        <td>N\/A<\/td>\n                        <td>N\/A<\/td>\n                    <\/tr>\n                                    \n                    <tr class=\"performance play-row\">\n                        <td style=\"white-space: nowrap\"><a\n                                href=\"https:\/\/data.theatronomics.com\/this-day\/1762-10-04?theatre=DL\">04 Oct 1762<\/a><\/td>\n                        <td class=\"text-nowrap\">Drury Lane<\/td>\n                        <td><i><a target=\"_blank\" href=\"\/plays\/839\" title=\"More info on Every Man In His Humour\">Every Man In His Humour<\/a>, <a target=\"_blank\" href=\"\/plays\/2041\" title=\"More info on The Devil to Pay\">The Devil to Pay<\/a>, <a target=\"_blank\" href=\"\/plays\/5765\" title=\"More info on Hearts of Oak\">Hearts of Oak<\/a><\/i><\/td>\n                        <td>\n                                                            No\n                                                    <\/td>\n                        <td>\n                                                            No\n                                                    <\/td>\n                        <td>\n                                                            No\n                                                    <\/td>\n                        <td>Unknown<\/td>\n                        <td>N\/A<\/td>\n                        <td>N\/A<\/td>\n                    <\/tr>\n                            <\/tbody>\n        <\/table>\n\n        <nav class=\"d-flex justify-items-center justify-content-between\">\n        <div class=\"d-flex justify-content-between flex-fill d-sm-none\">\n            <ul class=\"pagination\">\n                \n                                    <li class=\"page-item disabled\" aria-disabled=\"true\">\n                        <span class=\"page-link\">&laquo; Previous<\/span>\n                    <\/li>\n                \n                \n                                    <li class=\"page-item\">\n                        <a class=\"page-link\" href=\"https:\/\/data.theatronomics.com\/api\/pairings?perPage=10&amp;workId=5765&amp;page=2\" rel=\"next\">Next &raquo;<\/a>\n                    <\/li>\n                            <\/ul>\n        <\/div>\n\n\n\n<div class=\"d-none flex-sm-fill d-sm-flex align-items-sm-center justify-content-sm-between\">\n    <div>\n        <p class=\"small text-muted\">\n            Showing\n            <span class=\"fw-semibold\">1<\/span>\n            to\n            <span class=\"fw-semibold\">10<\/span>\n            of\n            <span class=\"fw-semibold\">53<\/span>\n            results\n        <\/p>\n    <\/div>\n<\/div>\n\n\n    <div class=\"d-none flex-sm-fill d-sm-flex align-items-sm-center justify-content-sm-between\">\n        <div>\n            <p class=\"small text-muted\">\n                <span class=\"fw-semibold\">Items per page<\/span>\n            <\/p>\n        <\/div>\n    <\/div>\n    <div class=\"d-none flex-sm-fill d-sm-flex align-items-sm-center justify-content-sm-between\">\n        <ul id=\"perpage\" class=\"pagination\">\n            \n\n                        <li class=\"page-item  active \"><a\n                    href=\"https:\/\/data.theatronomics.com\/api\/pairings?perPage=10&workId=5765&amp;perPage=10\" class=\"page-link per-page-link\">10<\/a>\n            <\/li>\n            <li class=\"page-item \"><a\n                    href=\"https:\/\/data.theatronomics.com\/api\/pairings?perPage=10&workId=5765&amp;perPage=25\" class=\"page-link per-page-link\">25<\/a>\n            <\/li>\n            <li class=\"page-item \"><a\n                    href=\"https:\/\/data.theatronomics.com\/api\/pairings?perPage=10&workId=5765&amp;perPage=50\" class=\"page-link per-page-link\">50<\/a>\n            <\/li>\n            <li class=\"page-item \"><a\n                    href=\"https:\/\/data.theatronomics.com\/api\/pairings?perPage=10&workId=5765&amp;perPage=100\" class=\"page-link per-page-link\">100<\/a>\n            <\/li>\n        <\/ul>\n    <\/div>\n\n    <div>\n        <ul id=\"pagination\" class=\"pagination\">\n            \n                            <li class=\"page-item disabled\" aria-disabled=\"true\" aria-label=\"&laquo; Previous\">\n                    <span class=\"page-link\" aria-hidden=\"true\">&lsaquo;<\/span>\n                <\/li>\n            \n            \n                            \n                \n                \n                                                                                        <li class=\"page-item active\" aria-current=\"page\"><span\n                                    class=\"page-link\">1<\/span><\/li>\n                                                                                                <li class=\"page-item\"><a class=\"page-link\"\n                                    href=\"https:\/\/data.theatronomics.com\/api\/pairings?perPage=10&amp;workId=5765&amp;page=2\">2<\/a><\/li>\n                                                                                                <li class=\"page-item\"><a class=\"page-link\"\n                                    href=\"https:\/\/data.theatronomics.com\/api\/pairings?perPage=10&amp;workId=5765&amp;page=3\">3<\/a><\/li>\n                                                                                                <li class=\"page-item\"><a class=\"page-link\"\n                                    href=\"https:\/\/data.theatronomics.com\/api\/pairings?perPage=10&amp;workId=5765&amp;page=4\">4<\/a><\/li>\n                                                                                                <li class=\"page-item\"><a class=\"page-link\"\n                                    href=\"https:\/\/data.theatronomics.com\/api\/pairings?perPage=10&amp;workId=5765&amp;page=5\">5<\/a><\/li>\n                                                                                                <li class=\"page-item\"><a class=\"page-link\"\n                                    href=\"https:\/\/data.theatronomics.com\/api\/pairings?perPage=10&amp;workId=5765&amp;page=6\">6<\/a><\/li>\n                                                                        \n            \n                            <li class=\"page-item\">\n                    <a class=\"page-link\" href=\"https:\/\/data.theatronomics.com\/api\/pairings?perPage=10&amp;workId=5765&amp;page=2\" rel=\"next\"\n                        aria-label=\"Next &raquo;\">&rsaquo;<\/a>\n                <\/li>\n                    <\/ul>\n    <\/div>\n    <\/nav>\n\n        <div class=\"row\">\n            <div class=\"col p-0\">\n                <a href=\"\/api\/filters\/plays\/export\/?from=1732&amp;to=1809&amp;works[]=5765\" class=\"btn btn-primary download-plays-csv float-end\"\n                    style=\"background:#F26522; color: white !important;\">Download Export<\/a>\n            <\/div>\n        <\/div>\n\n    <\/div>\n<\/div>\n\n<div class=\"performances-receipts-graphs container mt-4\">\n    <!-- Include Chart.js -->\n\n<!-- Canvas for the chart -->\n<div class=\"chart-container\" style=\"position: relative; height:500px; width:100%\">\n    <canvas id=\"receiptsChart\"><\/canvas>\n<\/div>\n\n<script>\n\nfunction bootLineGraph(graphableReceiptsData) {\n    \/\/ Use passed data if available, otherwise fall back to page data\n    const graphable_receipts = graphableReceiptsData || {\"1760-1761\":{\"Covent Garden\":{\"formatted\":\"\\u00a334 13s 6d\",\"graphable\":34.68}},\"1766-1767\":{\"Drury Lane\":{\"formatted\":\"\\u00a3806 4s 6d\",\"graphable\":806.23}}};\n    \n    \/\/ Destroy existing chart if it exists\n    if (receiptsChart) {\n        receiptsChart.destroy();\n        receiptsChart = null;\n    }\n    \n    \/\/ If no data, return early\n    if (!graphable_receipts || Object.keys(graphable_receipts).length === 0) {\n        return;\n    }\n    \n    console.log(graphable_receipts);\n\n    \/\/ Prepare data structures for the chart\n    const years = Object.keys(graphable_receipts);\n    const theaters = new Set();\n    const theaterTotals = {};\n\n    \/\/ First pass: collect all theaters and calculate total flow per theater\n    years.forEach(year => {\n        Object.keys(graphable_receipts[year]).forEach(theater => {\n            theaters.add(theater);\n            if (!theaterTotals[theater]) {\n                theaterTotals[theater] = 0;\n            }\n            theaterTotals[theater] += graphable_receipts[year][theater].graphable;\n        });\n    });\n\n    \/\/ Sort theaters by total flow value (descending)\n    const sortedTheaters = Array.from(theaters).sort((a, b) => {\n        return theaterTotals[b] - theaterTotals[a];\n    });\n\n    \/\/ Prepare datasets for Chart.js\n    const datasets = [];\n    const colorPalette = [\n        'rgba(255, 99, 132, 0.7)',\n        'rgba(54, 162, 235, 0.7)',\n        'rgba(255, 206, 86, 0.7)',\n        'rgba(75, 192, 192, 0.7)',\n        'rgba(153, 102, 255, 0.7)',\n        'rgba(255, 159, 64, 0.7)'\n    ];\n\n    \/\/ Create a dataset for each theater in order of total flow\n    sortedTheaters.forEach((theater, index) => {\n        const data = years.map(year => {\n            if (graphable_receipts[year][theater]) {\n                return graphable_receipts[year][theater].graphable;\n            }\n            return 0;\n        });\n\n        datasets.push({\n            label: theater,\n            data: data,\n            backgroundColor: colorPalette[index % colorPalette.length],\n            borderColor: colorPalette[index % colorPalette.length].replace('0.7', '1.0'),\n            borderWidth: 1\n        });\n    });\n\n    \/\/ Create and render the chart\n    const ctx = document.getElementById('receiptsChart').getContext('2d');\n    receiptsChart = new Chart(ctx, {\n        type: 'bar',\n        data: {\n            labels: years,\n            datasets: datasets\n        },\n        options: {\n            responsive: true,\n            maintainAspectRatio: false,\n            plugins: {\n                title: {\n                    display: true,\n                    text: 'Theatre Receipts by Season'\n                },\n                tooltip: {\n                    callbacks: {\n                        label: function(context) {\n                            const year = context.label;\n                            const theater = context.dataset.label;\n                            const value = context.raw;\n\n                            if (value > 0 && graphable_receipts[year][theater]) {\n                                return `${theater}: ${graphable_receipts[year][theater].formatted}`;\n                            }\n                            return `${theater}: \u00a30`;\n                        }\n                    }\n                },\n                legend: {\n                    display: true,\n                    position: 'top',\n                }\n            },\n            scales: {\n                x: {\n                    title: {\n                        display: true,\n                        text: 'Season'\n                    },\n                    stacked: true\n                },\n                y: {\n                    title: {\n                        display: true,\n                        text: 'Receipts (\u00a3)'\n                    },\n                    stacked: true,\n                    beginAtZero: true\n                }\n            }\n        }\n    });\n\n    \/\/ Function to update chart based on year range\n    window.updateChart = function(startYear, endYear) {\n        \/\/ Filter years based on range\n        const filteredYears = years.filter(year => {\n            return year >= startYear && year <= endYear;\n        });\n\n        \/\/ Update each dataset with filtered data\n        datasets.forEach(dataset => {\n            const theater = dataset.label;\n            dataset.data = filteredYears.map(year => {\n                if (graphable_receipts[year][theater]) {\n                    return graphable_receipts[year][theater].graphable;\n                }\n                return 0;\n            });\n        });\n\n        \/\/ Update chart labels and redraw\n        receiptsChart.data.labels = filteredYears;\n        receiptsChart.update();\n    };\n}\n\ndocument.addEventListener('DOMContentLoaded', function() {\n    bootLineGraph({\"1760-1761\":{\"Covent Garden\":{\"formatted\":\"\\u00a334 13s 6d\",\"graphable\":34.68}},\"1766-1767\":{\"Drury Lane\":{\"formatted\":\"\\u00a3806 4s 6d\",\"graphable\":806.23}}});\n});\n<\/script>\n<\/div>\n","total_work_receipts":"\u00a3840 18s","export_link":"\/api\/filters\/plays\/export\/?from=1732&to=1809&works[]=5765","graphable_receipts":{"1760-1761":{"Covent Garden":{"formatted":"\u00a334 13s 6d","graphable":34.68}},"1766-1767":{"Drury Lane":{"formatted":"\u00a3806 4s 6d","graphable":806.23}}},"notes":null,"date_range_receipts_ratio":100,"from_year":1732,"to_year":1809,"date_ranged_total_work_receipts":"\u00a3840 18s","date_ranged_covent_garden_revenue":"\u00a334 13s 6d","date_ranged_drury_lane_revenue":"\u00a3806 4s 6d","date_ranged_covent_garden_ratio":4.1,"date_ranged_drury_lane_ratio":95.9,"covent_garden_ratio":4.1,"drury_lane_ratio":95.9,"covent_garden_revenue":"\u00a334 13s 6d","drury_lane_revenue":"\u00a3806 4s 6d","work_year":null,"activity_people":[],"pairings":{"performances":[{"event_date":"17620925","id":26916,"event_id":10894,"work_id":185,"title_clean":"The Musical Lady","count":4,"genre_colour":"#00d5ff","genre":"Farce","source_genre":"Unknown Genre","source_genre_colour":"green","total_performances_for_work":84,"filtered_performances_for_work":4,"work":{"id":185,"lsdb_id":185,"title":"The Musical Lady","title_variant":null,"type_1":"afterpiece","type_2":null,"source_1":null,"source_2":null,"first_performed_date":null,"publication_date":"1762","notes":null,"created_at":"2022-11-01T23:59:14.000000Z","updated_at":"2023-10-27T11:00:39.000000Z","deleted_at":null,"genre_id":4,"performance_medium":"Spoken Drama","date_type":"Performed","genre":{"id":4,"label":"Farce","description":null,"lod_type":null,"lod_uri":null,"created_at":"2023-06-22T10:30:43.000000Z","updated_at":"2023-06-22T10:30:43.000000Z"}}},{"event_date":"17660218","id":30255,"event_id":12265,"work_id":2515,"title_clean":"A Fairy Tale","count":4,"genre_colour":"#00d5ff","genre":"Farce","source_genre":"Unknown Genre","source_genre_colour":"green","total_performances_for_work":43,"filtered_performances_for_work":4,"work":{"id":2515,"lsdb_id":2515,"title":"The Fairy Tale","title_variant":null,"type_1":"afterpiece","type_2":null,"source_1":"A Midsummer Night's Dream","source_2":null,"first_performed_date":null,"publication_date":"1763","notes":"Based on Shakespeare's 'A Midsummer NIght's Dream' (1596-7).","created_at":"2022-11-01T23:59:19.000000Z","updated_at":"2024-09-24T19:01:09.000000Z","deleted_at":null,"genre_id":4,"performance_medium":"Spoken Drama","date_type":"Performed","genre":{"id":4,"label":"Farce","description":null,"lod_type":null,"lod_uri":null,"created_at":"2023-06-22T10:30:43.000000Z","updated_at":"2023-06-22T10:30:43.000000Z"}}},{"event_date":"17681013","id":32679,"event_id":13232,"work_id":68,"title_clean":"The Padlock","count":4,"genre_colour":"#0048ff","genre":"Comedy","source_genre":"Unknown Genre","source_genre_colour":"green","total_performances_for_work":284,"filtered_performances_for_work":4,"work":{"id":68,"lsdb_id":68,"title":"The Padlock","title_variant":null,"type_1":"afterpiece","type_2":null,"source_1":null,"source_2":null,"first_performed_date":null,"publication_date":"1768","notes":null,"created_at":"2022-11-01T23:59:14.000000Z","updated_at":"2024-12-16T13:08:14.000000Z","deleted_at":null,"genre_id":2,"performance_medium":"Musical","date_type":"Performed","genre":{"id":2,"label":"Comedy","description":null,"lod_type":null,"lod_uri":null,"created_at":"2023-06-22T10:30:16.000000Z","updated_at":"2023-06-22T10:30:16.000000Z"}}},{"event_date":"17650420","id":29590,"event_id":11985,"work_id":286,"title_clean":"Fortunatus","count":4,"genre_colour":"#ffe600","genre":"Pantomime","source_genre":"Unknown Genre","source_genre_colour":"green","total_performances_for_work":222,"filtered_performances_for_work":4,"work":{"id":286,"lsdb_id":286,"title":"Fortunatus","title_variant":null,"type_1":"afterpiece","type_2":null,"source_1":null,"source_2":null,"first_performed_date":null,"publication_date":"1753","notes":null,"created_at":"2022-11-01T23:59:14.000000Z","updated_at":"2023-10-30T10:34:50.000000Z","deleted_at":null,"genre_id":9,"performance_medium":"Dance","date_type":"Performed","genre":{"id":9,"label":"Pantomime","description":null,"lod_type":null,"lod_uri":null,"created_at":"2023-06-22T10:31:31.000000Z","updated_at":"2023-06-22T10:31:31.000000Z"}}},{"event_date":"17620508","id":26805,"event_id":10860,"work_id":1804,"title_clean":"The Conscious Lovers","count":4,"genre_colour":"#0048ff","genre":"Comedy","source_genre":"Unknown Genre","source_genre_colour":"green","total_performances_for_work":321,"filtered_performances_for_work":4,"work":{"id":1804,"lsdb_id":1804,"title":"The Conscious Lovers","title_variant":null,"type_1":"mainpiece","type_2":null,"source_1":null,"source_2":null,"first_performed_date":null,"publication_date":"1722","notes":null,"created_at":"2022-11-01T23:59:18.000000Z","updated_at":"2023-12-15T15:40:33.000000Z","deleted_at":null,"genre_id":2,"performance_medium":"Spoken Drama","date_type":"Performed","genre":{"id":2,"label":"Comedy","description":null,"lod_type":null,"lod_uri":null,"created_at":"2023-06-22T10:30:16.000000Z","updated_at":"2023-06-22T10:30:16.000000Z"}}},{"event_date":"17610501","id":78363,"event_id":10404,"work_id":5312,"title_clean":"Hornpipe","count":4,"genre_colour":"#9900ff","genre":"Unknown","source_genre":"Unknown Genre","source_genre_colour":"green","total_performances_for_work":710,"filtered_performances_for_work":4,"work":{"id":5312,"lsdb_id":null,"title":"Hornpipe","title_variant":null,"type_1":null,"type_2":null,"source_1":null,"source_2":null,"first_performed_date":null,"publication_date":null,"notes":null,"created_at":"2025-05-01T12:06:15.000000Z","updated_at":"2025-05-01T12:06:15.000000Z","deleted_at":null,"genre_id":null,"performance_medium":"Dance","date_type":null,"genre":null}},{"event_date":"17650420","id":78700,"event_id":11985,"work_id":4042,"title_clean":"Bucks Have at Ye All","count":3,"genre_colour":"#9900ff","genre":"Occasional","source_genre":"Unknown Genre","source_genre_colour":"green","total_performances_for_work":51,"filtered_performances_for_work":3,"work":{"id":4042,"lsdb_id":null,"title":"A Picture of a Playhouse; Or, Bucks Have at ye All","title_variant":null,"type_1":"afterpiece","type_2":null,"source_1":null,"source_2":null,"first_performed_date":null,"publication_date":"1760","notes":"See LA 175.","created_at":"2025-04-29T15:48:28.000000Z","updated_at":"2025-06-17T15:07:26.000000Z","deleted_at":null,"genre_id":8,"performance_medium":"Spoken Drama","date_type":"Performed","genre":{"id":8,"label":"Occasional","description":null,"lod_type":null,"lod_uri":null,"created_at":"2023-06-22T10:31:21.000000Z","updated_at":"2023-06-22T10:31:21.000000Z"}}},{"event_date":"17671022","id":31707,"event_id":12848,"work_id":879,"title_clean":"As You Like It","count":3,"genre_colour":"#0048ff","genre":"Comedy","source_genre":"Unknown Genre","source_genre_colour":"green","total_performances_for_work":288,"filtered_performances_for_work":3,"work":{"id":879,"lsdb_id":879,"title":"As You Like It","title_variant":null,"type_1":"mainpiece","type_2":null,"source_1":null,"source_2":null,"first_performed_date":null,"publication_date":"1623","notes":null,"created_at":"2022-11-01T23:59:16.000000Z","updated_at":"2023-10-11T16:56:36.000000Z","deleted_at":null,"genre_id":2,"performance_medium":"Spoken Drama","date_type":"Published","genre":{"id":2,"label":"Comedy","description":null,"lod_type":null,"lod_uri":null,"created_at":"2023-06-22T10:30:16.000000Z","updated_at":"2023-06-22T10:30:16.000000Z"}}},{"event_date":"17671027","id":31728,"event_id":12856,"work_id":108,"title_clean":"A Peep behind the Curtain","count":3,"genre_colour":"#00d5ff","genre":"Farce","source_genre":"Unknown Genre","source_genre_colour":"green","total_performances_for_work":74,"filtered_performances_for_work":3,"work":{"id":108,"lsdb_id":108,"title":"A Peep Behind the Curtain; or, The New Rehearsal","title_variant":null,"type_1":"afterpiece","type_2":null,"source_1":null,"source_2":null,"first_performed_date":null,"publication_date":"1767","notes":null,"created_at":"2022-11-01T23:59:14.000000Z","updated_at":"2023-10-23T15:23:29.000000Z","deleted_at":null,"genre_id":4,"performance_medium":"Spoken Drama","date_type":"Performed","genre":{"id":4,"label":"Farce","description":null,"lod_type":null,"lod_uri":null,"created_at":"2023-06-22T10:30:43.000000Z","updated_at":"2023-06-22T10:30:43.000000Z"}}},{"event_date":"17610501","id":25678,"event_id":10404,"work_id":5321,"title_clean":"Last New Comic Dance","count":3,"genre_colour":"#9900ff","genre":"Unknown","source_genre":"Unknown Genre","source_genre_colour":"green","total_performances_for_work":719,"filtered_performances_for_work":3,"work":{"id":5321,"lsdb_id":null,"title":"Comic Dance","title_variant":null,"type_1":null,"type_2":null,"source_1":null,"source_2":null,"first_performed_date":null,"publication_date":null,"notes":null,"created_at":"2025-05-01T12:20:46.000000Z","updated_at":"2025-05-01T12:20:46.000000Z","deleted_at":null,"genre_id":null,"performance_medium":"Dance","date_type":null,"genre":null}}],"total_performances":53,"covent_garden_performances":1,"drury_lane_performances":52,"date_ranged_total_performances":53,"date_ranged_covent_garden_performances":1,"date_ranged_drury_lane_performances":52,"from_year":1732,"to_year":1809},"performance_name":"Unknown Performance","theatres":[1,2],"this_genre_colour":"green","date_type":null}