(()=>{var t=t||{};t.meta=t.meta||{},t.meta.report=t.meta.report||{},t.meta.report.event=t.meta.report.event||{},function(t,e,o,n){n.init=function(){o(".wp-list-table.attendees").on("click",".event-tickets-meta-toggle",n.event.toggle_meta_view),o(t).on("attendees-report-before-print.tribe-tickets",n.toggle_meta_rows),o(t).on("attendees-report-before-print.tribe-tickets",n.toggle_meta_rows)},n.toggle_meta_view=function(t){t.toggleClass("event-tickets-meta-toggle-open")},n.toggle_meta_row=function(t,e){n.toggle_meta_view(e);const o=tribe_event_tickets_attendees.count_columns(t);e.find("td").attr("colspan",o-1)},n.event.toggle_meta_view=function(t){t.preventDefault();const e=o(this),i=e.closest("tr"),a=e.parents("tr").nextAll("tr.event-tickets-meta-row");a.length&&(n.toggle_meta_view(i),n.toggle_meta_row(i,a.first()))},n.toggle_meta_rows=function(){o("table.wp-list-table.attendees").find("tr").has("a.event-tickets-meta-toggle").each((function(){const t=o(this);n.toggle_meta_view(t),n.toggle_meta_row(t,t.next("tr.event-tickets-meta-row").first())}))},o(n.init)}(window,document,jQuery,t.meta.report),window.ticketsPlus=window.ticketsPlus||{},window.ticketsPlus.metaReport={}})();