text: !function(e){"function"==typeof define&&define.amd?define(["jquery","datatables.net","datatables.net-buttons"],function(t){return e(t,window,document)}):"object"==typeof exports?module.exports=function(t,o){return t||(t=window),o&&o.fn.dataTable||(o=require("datatables.net")(t,o).$),o.fn.dataTable.Buttons||require("datatables.net-buttons")(t,o),e(o,t,t.document)}:e(jQuery,window,document)}(function(e,t,o,n){"use strict";var r=e.fn.dataTable,a=function(e){if("undefined"==typeof navigator||!/MSIE [1-9]\./.test(navigator.userAgent)){var t=e.document,o=function(){return e.URL||e.webkitURL||e},r=t.createElementNS("http://www.w3.org/1999/xhtml","a"),a="download"in r,i=function(o){var n=t.createEvent("MouseEvents");n.initMouseEvent("click",!0,!1,e,0,0,0,0,0,!1,!1,!1,!1,0,null),o.dispatchEvent(n)},s=e.webkitRequestFileSystem,l=e.requestFileSystem||s||e.mozRequestFileSystem,c=function(t){(e.setImmediate||e.setTimeout)(function(){throw t},0)},p="application/octet-stream",f=0,u=500,d=function(t){var n=function(){"string"==typeof t?o().revokeObjectURL(t):t.remove()};e.chrome?n():setTimeout(n,u)},m=function(e,t,o){t=[].concat(t);for(var n=t.length;n--;){var r=e["on"+t[n]];if("function"==typeof r)try{r.call(e,o||e)}catch(a){c(a)}}},h=function(e){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\ufeff",e],{type:e.type}):e},x=function(t,c){t=h(t);var u,x,b,y=this,w=t.type,g=!1,v=function(){m(y,"writestart progress write writeend".split(" "))},k=function(){if((g||!u)&&(u=o().createObjectURL(t)),x)x.location.href=u;else{var r=e.open(u,"_blank");r===n&&"undefined"!=typeof safari&&(e.location.href=u)}y.readyState=y.DONE,v(),d(u)},S=function(e){return function(){return y.readyState!==y.DONE?e.apply(this,arguments):void 0}},T={create:!0,exclusive:!1};return y.readyState=y.INIT,c||(c="download"),a?(u=o().createObjectURL(t),r.href=u,r.download=c,i(r),y.readyState=y.DONE,v(),void d(u)):(e.chrome&&w&&w!==p&&(b=t.slice||t.webkitSlice,t=b.call(t,0,t.size,p),g=!0),s&&"download"!==c&&(c+=".download"),(w===p||s)&&(x=e),l?(f+=t.size,void l(e.TEMPORARY,f,S(function(e){e.root.getDirectory("saved",T,S(function(e){var o=function(){e.getFile(c,T,S(function(e){e.createWriter(S(function(o){o.onwriteend=function(t){x.location.href=e.toURL(),y.readyState=y.DONE,m(y,"writeend",t),d(e)},o.onerror=function(){var e=o.error;e.code!==e.ABORT_ERR&&k()},"writestart progress write abort".split(" ").forEach(function(e){o["on"+e]=y["on"+e]}),o.write(t),y.abort=function(){o.abort(),y.readyState=y.DONE},y.readyState=y.WRITING}),k)}),k)};e.getFile(c,{create:!1},S(function(e){e.remove(),o()}),S(function(e){e.code===e.NOT_FOUND_ERR?o():k()}))}),k)}),k)):void k())},b=x.prototype,y=function(e,t){return new x(e,t)};return"undefined"!=typeof navigator&&navigator.msSaveOrOpenBlob?function(e,t){return navigator.msSaveOrOpenBlob(h(e),t)}:(b.abort=function(){var e=this;e.readyState=e.DONE,m(e,"abort")},b.readyState=b.INIT=0,b.WRITING=1,b.DONE=2,b.error=b.onwritestart=b.onprogress=b.onwrite=b.onabort=b.onerror=b.onwriteend=null,y)}}(t),i=function(t,o){var r="*"===t.filename&&"*"!==t.title&&t.title!==n?t.title:t.filename;return"function"==typeof r&&(r=r()),-1!==r.indexOf("*")&&(r=r.replace("*",e("title").text())),r=r.replace(/[^a-zA-Z0-9_\u00A1-\uFFFF\.,\-_ !\(\)]/g,""),o===n||o===!0?r+t.extension:r},s=function(e){var t="Sheet1";return e.sheetName&&(t=e.sheetName.replace(/[\[\]\*\/\\\?\:]/g,"")),t},l=function(t){var o=t.title;return"function"==typeof o&&(o=o()),-1!==o.indexOf("*")?o.replace("*",e("title").text()):o},c=function(e){return e.newline?e.newline:navigator.userAgent.match(/Windows/)?"\r\n":"\n"},p=function(e,t){for(var o=c(t),r=e.buttons.exportData(t.exportOptions),a=t.fieldBoundary,i=t.fieldSeparator,s=new RegExp(a,"g"),l=t.escapeChar!==n?t.escapeChar:"\\",p=function(e){for(var t="",o=0,n=e.length;n>o;o++)o>0&&(t+=i),t+=a?a+(""+e[o]).replace(s,l+a)+a:e[o];return t},f=t.header?p(r.header)+o:"",u=t.footer&&r.footer?o+p(r.footer):"",d=[],m=0,h=r.body.length;h>m;m++)d.push(p(r.body[m]));return{str:f+d.join(o)+u,rows:d.length}},f=function(){return-1!==navigator.userAgent.indexOf("Safari")&&-1===navigator.userAgent.indexOf("Chrome")&&-1===navigator.userAgent.indexOf("Opera")},u={"_rels/.rels":'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">	<Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml"/></Relationships>',"xl/_rels/workbook.xml.rels":'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">	<Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet" Target="worksheets/sheet1.xml"/></Relationships>',"[Content_Types].xml":'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types">	<Default Extension="xml" ContentType="application/xml"/>	<Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/>	<Default Extension="jpeg" ContentType="image/jpeg"/>	<Override PartName="/xl/workbook.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"/>	<Override PartName="/xl/worksheets/sheet1.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"/></Types>',"xl/workbook.xml":'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><workbook xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships">	<fileVersion appName="xl" lastEdited="5" lowestEdited="5" rupBuild="24816"/>	<workbookPr showInkAnnotation="0" autoCompressPictures="0"/>	<bookViews>		<workbookView xWindow="0" yWindow="0" windowWidth="25600" windowHeight="19020" tabRatio="500"/>	</bookViews>	<sheets>		<sheet name="__SHEET_NAME__" sheetId="1" r:id="rId1"/>	</sheets></workbook>',"xl/worksheets/sheet1.xml":'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x14ac" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac">	<sheetData>		__DATA__	</sheetData></worksheet>'};return r.ext.buttons.copyHtml5={className:"buttons-copy buttons-html5",text:function(e){return e.i18n("buttons.copy","Kopieren")},action:function(t,n,r,a){var i=p(n,a),s=i.str,l=e("<div/>").css({height:1,width:1,overflow:"hidden",position:"fixed",top:0,left:0});a.customize&&(s=a.customize(s,a));var c=e("<textarea readonly/>").val(s).appendTo(l);if(o.queryCommandSupported("copy")){l.appendTo(n.table().container()),c[0].focus(),c[0].select();try{return o.execCommand("copy"),l.remove(),void n.buttons.info(n.i18n("buttons.copyTitle","In den Zwischenspeicher kopieren"),n.i18n("buttons.copySuccess",{1:"Eine Zeile kopiert",_:"%d Zeilen kopiert"},i.rows),2e3)}catch(f){}}var u=e("<span>"+n.i18n("buttons.copyKeys","Drücken Sie <i>Strg</i> oder <i>⌘</i> + <i>C</i> um die Daten<br>in den Zwischenspeicher zu koieren<br><br>Um abzubrechen drücken Sie auf diese Nachricht oder auf <i>Esc</i>.")+"</span>").append(l);n.buttons.info(n.i18n("buttons.copyTitle","In den Zwischenspeicher kopieren"),u,0),c[0].focus(),c[0].select();var d=e(u).closest(".dt-button-info"),m=function(){d.off("click.buttons-copy"),e(o).off(".buttons-copy"),n.buttons.info(!1)};d.on("click.buttons-copy",m),e(o).on("keydown.buttons-copy",function(e){27===e.keyCode&&m()}).on("copy.buttons-copy cut.buttons-copy",function(){m()})},exportOptions:{},fieldSeparator:"	",fieldBoundary:"",header:!0,footer:!1},r.ext.buttons.csvHtml5={className:"buttons-csv buttons-html5",available:function(){return t.FileReader!==n&&t.Blob},text:function(e){return e.i18n("buttons.csv","CSV")},action:function(e,t,n,r){var s=(c(r),p(t,r).str),l=r.charset;r.customize&&(s=r.customize(s,r)),l!==!1?(l||(l=o.characterSet||o.charset),l&&(l=";charset="+l)):l="",a(new Blob([s],{type:"text/csv"+l}),i(r))},filename:"*",extension:".csv",exportOptions:{},fieldSeparator:",",fieldBoundary:'"',escapeChar:'"',charset:null,header:!0,footer:!1},r.ext.buttons.excelHtml5={className:"buttons-excel buttons-html5",available:function(){return t.FileReader!==n&&t.JSZip!==n&&!f()},text:function(e){return e.i18n("buttons.excel","Excel")},action:function(o,r,l,c){var p="",f=r.buttons.exportData(c.exportOptions),d=function(t){for(var o=[],r=0,a=t.length;a>r;r++)(null===t[r]||t[r]===n)&&(t[r]=""),o.push("number"==typeof t[r]||t[r].match&&e.trim(t[r]).match(/^-?\d+(\.\d+)?$/)&&"0"!==t[r].charAt(0)?'<c t="n"><v>'+t[r]+"</v></c>":'<c t="inlineStr"><is><t>'+(t[r].replace?t[r].replace(/&(?!amp;)/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/[\x00-\x09\x0B\x0C\x0E-\x1F\x7F-\x9F]/g,""):t[r])+"</t></is></c>");return"<row>"+o.join("")+"</row>"};c.header&&(p+=d(f.header));for(var m=0,h=f.body.length;h>m;m++)p+=d(f.body[m]);c.footer&&(p+=d(f.footer));var x=new t.JSZip,b=x.folder("_rels"),y=x.folder("xl"),w=x.folder("xl/_rels"),g=x.folder("xl/worksheets");x.file("[Content_Types].xml",u["[Content_Types].xml"]),b.file(".rels",u["_rels/.rels"]),y.file("workbook.xml",u["xl/workbook.xml"].replace("__SHEET_NAME__",s(c))),w.file("workbook.xml.rels",u["xl/_rels/workbook.xml.rels"]),g.file("sheet1.xml",u["xl/worksheets/sheet1.xml"].replace("__DATA__",p)),a(x.generate({type:"blob",mimeType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"}),i(c))},filename:"*",extension:".xlsx",exportOptions:{},header:!0,footer:!1},r.ext.buttons.pdfHtml5={className:"buttons-pdf buttons-html5",available:function(){return t.FileReader!==n&&t.pdfMake},text:function(e){return e.i18n("buttons.pdf","PDF")},action:function(o,n,r,s){var p=(c(s),n.buttons.exportData(s.exportOptions)),u=[];s.header&&u.push(e.map(p.header,function(e){return{text:"string"==typeof e?e:e+"",style:"tableHeader"}}));for(var d=0,m=p.body.length;m>d;d++)u.push(e.map(p.body[d],function(e){return{text:"string"==typeof e?e:e+"",style:d%2?"tableBodyEven":"tableBodyOdd"}}));s.footer&&u.push(e.map(p.footer,function(e){return{text:"string"==typeof e?e:e+"",style:"tableFooter"}}));var h={pageSize:s.pageSize,pageOrientation:s.orientation,content:[{table:{headerRows:1,body:u},layout:"noBorders"}],styles:{tableHeader:{bold:!0,fontSize:11,color:"white",fillColor:"#2d4154",alignment:"center"},tableBodyEven:{},tableBodyOdd:{fillColor:"#f3f3f3"},tableFooter:{bold:!0,fontSize:11,color:"white",fillColor:"#2d4154"},title:{alignment:"center",fontSize:15},message:{}},defaultStyle:{fontSize:10}};s.message&&h.content.unshift({text:s.message,style:"message",margin:[0,0,0,12]}),s.title&&h.content.unshift({text:l(s,!1),style:"title",margin:[0,0,0,12]}),s.customize&&s.customize(h,s);var x=t.pdfMake.createPdf(h);"open"!==s.download||f()?x.getBuffer(function(e){var t=new Blob([e],{type:"application/pdf"});a(t,i(s))}):x.open()},title:"*",filename:"*",extension:".pdf",exportOptions:{},orientation:"portrait",pageSize:"A4",header:!0,footer:!1,message:null,customize:null,download:"download"},r.Buttons});