$((function(){var e=!1;$(document).on("click",'[data-bb-toggle="export-data"]',(function(t){if(t.preventDefault(),!e){var n=$(t.currentTarget);$httpClient.make().withButtonLoading(n).withResponseType("blob").post(n.prop("href")).then((function(e){var t=e.data,o=document.createElement("a"),a=window.URL.createObjectURL(t);o.href=a,o.download=n.data("filename"),document.body.append(o),o.click(),o.remove(),window.URL.revokeObjectURL(a)})).finally((function(){return e=!1}))}}))}));