!function(e){e.fn.ResponsiveTable=function(n){var t=e.extend({breakpoint:640},n),i=e(this);Resize=function(n){window.innerWidth<=t.breakpoint?n.each(function(){if(!n.hasClass("responsive-table")){var t=n.find("tr:first"),i=n.find("tr").not(":first"),s=[],a=0!=t.children("th").length?t.children("th"):t.children("td");a.each(function(n){s[n]=e(this).text()}),i.each(function(){e(this).children("td").each(function(n){e(this).attr("data-rt-label",s[n])})}),n.addClass("responsive-table")}}):n.hasClass("responsive-table")&&n.toggleClass("responsive-table")},Resize(i),e(window).resize(function(){Resize(i)})}}(jQuery);