/*!
DataTables Foundation integration
©2011-2015 SpryMedia Ltd - datatables.net/license
*/
(function(c){"function"===typeof define&&define.amd?define(["jquery","datatables.net"],function(a){return c(a,window,document)}):"object"===typeof exports?module.exports=function(a,d){a||(a=window);d&&d.fn.dataTable||(d=require("datatables.net")(a,d).$);return c(d,a,a.document)}:c(jQuery,window,document)})(function(c,a,d,z){var e=c.fn.dataTable;a=c('').appendTo("head");e.ext.foundationVersion=a.css("font-family").match(/small|medium|large/)?6:5;a.remove();c.extend(e.ext.classes,
{sWrapper:"dataTables_wrapper dt-foundation",sProcessing:"dataTables_processing panel callout"});c.extend(!0,e.defaults,{dom:"<'row'<'small-6 columns'l><'small-6 columns'f>r>t<'row'<'small-6 columns'i><'small-6 columns'p>>",renderer:"foundation"});e.ext.renderer.pageButton.foundation=function(a,d,v,p,f,l){var q=new e.Api(a),w=a.oClasses,m=a.oLanguage.oPaginate,x=a.oLanguage.oAria.paginate||{},g,k,h,y=5===e.ext.foundationVersion,u=function(d,e){var n,r,t,b,p=function(a){a.preventDefault();c(a.currentTarget).hasClass("unavailable")||
q.page()==a.data.action||q.page(a.data.action).draw("page")};n=0;for(r=e.length;n",{"class":w.sPageButton+" "+k,"aria-controls":a.sTableId,"aria-label":x[b],tabindex:a.iTabIndex,id:0===v&&"string"===typeof b?a.sTableId+"_"+b:null}).append(h?c("<"+h+"/>",{href:"#"}).html(g):g).appendTo(d),a.oApi._fnBindAction(t,{action:b},p))}};u(c(d).empty().html('').children("ul"),p)};return e});