!function(t,e){var o=function(t){var e={};function o(n){if(e[n])return e[n].exports;var r=e[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,o),r.l=!0,r.exports}return o.m=t,o.c=e,o.d=function(t,e,n){o.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},o.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=195)}({194:function(t,e,o){"use strict";
/**
 * @preserve tableExport.jquery.plugin
 *
 * Version 1.9.9
 *
 * Copyright (c) 2015-2018 hhurz, https://github.com/hhurz
 *
 * Original Work Copyright (c) 2014 Giri Raj
 *
 * Licensed under the MIT License
 **/
/**
 * @preserve tableExport.jquery.plugin
 *
 * Version 1.9.9
 *
 * Copyright (c) 2015-2018 hhurz, https://github.com/hhurz
 *
 * Original Work Copyright (c) 2014 Giri Raj
 *
 * Licensed under the MIT License
 **/
var n;(n=jQuery).fn.tableExport=function(t){var e,o={consoleLog:!1,csvEnclosure:'"',csvSeparator:",",csvUseBOM:!0,displayTableName:!1,escape:!1,excelFileFormat:"xlshtml",excelRTL:!1,excelstyles:[],exportHiddenCells:!1,fileName:"tableExport",htmlContent:!1,ignoreColumn:[],ignoreRow:[],jsonScope:"all",jspdf:{orientation:"p",unit:"pt",format:"a4",margins:{left:20,right:10,top:10,bottom:10},onDocCreated:null,autotable:{styles:{cellPadding:2,rowHeight:12,fontSize:8,fillColor:255,textColor:50,fontStyle:"normal",overflow:"ellipsize",halign:"left",valign:"middle"},headerStyles:{fillColor:[52,73,94],textColor:255,fontStyle:"bold",halign:"center"},alternateRowStyles:{fillColor:245},tableExport:{doc:null,onAfterAutotable:null,onBeforeAutotable:null,onAutotableText:null,onTable:null,outputImages:!0}}},numbers:{html:{decimalMark:".",thousandsSeparator:","},output:{decimalMark:".",thousandsSeparator:","}},onCellData:null,onCellHtmlData:null,onIgnoreRow:null,onMsoNumberFormat:null,outputMode:"file",pdfmake:{enabled:!1,docDefinition:{pageOrientation:"portrait",defaultStyle:{font:"Roboto"}},fonts:{}},tbodySelector:"tr",tfootSelector:"tr",theadSelector:"tr",tableName:"Table",type:"csv",worksheetName:""},r=1.15,i=this,s=null,a=[],l=[],c=0,h="",d=[],f=[],u=[],p=!1;if(n.extend(!0,o,t),d=lt(i),"csv"==o.type||"tsv"==o.type||"txt"==o.type){var g="",m=0;f=[],c=0;var v=function(t,e,r){return t.each(function(){h="",ht(this,e,c,r+t.length,function(t,e,n){h+=function(t,e,n){var r="";if(null!==t){var i=mt(t,e,n),s=null===i||""===i?"":i.toString();"tsv"==o.type?(i instanceof Date&&i.toLocaleString(),r=pt(s,"\t"," ")):i instanceof Date?r=o.csvEnclosure+i.toLocaleString()+o.csvEnclosure:((r=pt(s,o.csvEnclosure,o.csvEnclosure+o.csvEnclosure)).indexOf(o.csvSeparator)>=0||/[\r\n ]/g.test(r))&&(r=o.csvEnclosure+r+o.csvEnclosure)}return r}(t,e,n)+("tsv"==o.type?"\t":o.csvSeparator)}),(h=n.trim(h).substring(0,h.length-1)).length>0&&(g.length>0&&(g+="\n"),g+=h),c++}),t.length};if(m+=v(n(i).find("thead").first().find(o.theadSelector),"th,td",m),st(n(i),"tbody").each(function(){m+=v(at(n(this),o.tbodySelector),"td,th",m)}),o.tfootSelector.length&&v(n(i).find("tfoot").first().find(o.tfootSelector),"td,th",m),g+="\n",!0===o.consoleLog&&console.log(g),"string"===o.outputMode)return g;if("base64"===o.outputMode)return jt(g);if("window"===o.outputMode)return void Tt(!1,"data:text/"+("csv"==o.type?"csv":"plain")+";charset=utf-8,",g);try{e=new Blob([g],{type:"text/"+("csv"==o.type?"csv":"plain")+";charset=utf-8"}),saveAs(e,o.fileName+"."+o.type,"csv"!=o.type||!1===o.csvUseBOM)}catch(t){Tt(o.fileName+"."+o.type,"data:text/"+("csv"==o.type?"csv":"plain")+";charset=utf-8,"+("csv"==o.type&&o.csvUseBOM?"\ufeff":""),g)}}else if("sql"==o.type){c=0,f=[];var y="INSERT INTO `"+o.tableName+"` (";if((a=n(i).find("thead").first().find(o.theadSelector)).each(function(){ht(this,"th,td",c,a.length,function(t,e,o){y+="'"+mt(t,e,o)+"',"}),c++,y=n.trim(y).substring(0,y.length-1)}),y+=") VALUES ",l=it(n(i)),n(l).each(function(){h="",ht(this,"td,th",c,a.length+l.length,function(t,e,o){h+="'"+mt(t,e,o)+"',"}),h.length>3&&(y+="("+h,y=n.trim(y).substring(0,y.length-1),y+="),"),c++}),y=n.trim(y).substring(0,y.length-1),y+=";",!0===o.consoleLog&&console.log(y),"string"===o.outputMode)return y;if("base64"===o.outputMode)return jt(y);try{e=new Blob([y],{type:"text/plain;charset=utf-8"}),saveAs(e,o.fileName+".sql")}catch(t){Tt(o.fileName+".sql","data:application/sql;charset=utf-8,",y)}}else if("json"==o.type){var w=[];f=[],(a=n(i).find("thead").first().find(o.theadSelector)).each(function(){var t=[];ht(this,"th,td",c,a.length,function(e,o,n){t.push(mt(e,o,n))}),w.push(t)});var x=[];l=it(n(i)),n(l).each(function(){var t={},e=0;ht(this,"td,th",c,a.length+l.length,function(o,n,r){w.length?t[w[w.length-1][e]]=mt(o,n,r):t[e]=mt(o,n,r),e++}),!1===n.isEmptyObject(t)&&x.push(t),c++});var b="";if(b="head"==o.jsonScope?JSON.stringify(w):"data"==o.jsonScope?JSON.stringify(x):JSON.stringify({header:w,data:x}),!0===o.consoleLog&&console.log(b),"string"===o.outputMode)return b;if("base64"===o.outputMode)return jt(b);try{e=new Blob([b],{type:"application/json;charset=utf-8"}),saveAs(e,o.fileName+".json")}catch(t){Tt(o.fileName+".json","data:application/json;charset=utf-8;base64,",b)}}else if("xml"===o.type){c=0,f=[];var S='<?xml version="1.0" encoding="utf-8"?>';S+="<tabledata><fields>",(a=n(i).find("thead").first().find(o.theadSelector)).each(function(){ht(this,"th,td",c,a.length,function(t,e,o){S+="<field>"+mt(t,e,o)+"</field>"}),c++}),S+="</fields><data>";var C=1;if(l=it(n(i)),n(l).each(function(){var t=1;h="",ht(this,"td,th",c,a.length+l.length,function(e,o,n){h+="<column-"+t+">"+mt(e,o,n)+"</column-"+t+">",t++}),h.length>0&&"<column-1></column-1>"!=h&&(S+='<row id="'+C+'">'+h+"</row>",C++),c++}),S+="</data></tabledata>",!0===o.consoleLog&&console.log(S),"string"===o.outputMode)return S;if("base64"===o.outputMode)return jt(S);try{e=new Blob([S],{type:"application/xml;charset=utf-8"}),saveAs(e,o.fileName+".xml")}catch(t){Tt(o.fileName+".xml","data:application/xml;charset=utf-8;base64,",S)}}else if("excel"===o.type&&"xmlss"===o.excelFileFormat){var N=[],k=[];n(i).filter(function(){return ct(n(this))}).each(function(){var t=n(this),e="";function r(t,e,o){var r=[];return n(t).each(function(){var e=0,i=0;h="",ht(this,"td,th",c,o+t.length,function(t,o,s){if(null!==t){var a="",l=mt(t,o,s),d="String";if(!1!==jQuery.isNumeric(l))d="Number";else{var f=((g=l).indexOf("%")>-1?!1!==(g=gt(g.replace(/%/g,"")))&&(g/=100):g=!1,g);!1!==f&&(l=f,d="Number",a+=' ss:StyleID="pct1"')}"Number"!==d&&(l=l.replace(/\n/g,"<br>"));var u=xt(t),p=bt(t);n.each(r,function(){if(c>=this.s.r&&c<=this.e.r&&i>=this.s.c&&i<=this.e.c)for(var t=0;t<=this.e.c-this.s.c;++t)i++,e++}),(p||u)&&(p=p||1,u=u||1,r.push({s:{r:c,c:i},e:{r:c+p-1,c:i+u-1}})),u>1&&(a+=' ss:MergeAcross="'+(u-1)+'"',i+=u-1),p>1&&(a+=' ss:MergeDown="'+(p-1)+'" ss:StyleID="rsp1"'),e>0&&(a+=' ss:Index="'+(i+1)+'"',e=0),h+="<Cell"+a+'><Data ss:Type="'+d+'">'+n("<div />").text(l).html()+"</Data></Cell>\r",i++}var g}),h.length>0&&(F+='<Row ss:AutoFitHeight="0">\r'+h+"</Row>\r"),c++}),t.length}"string"==typeof o.worksheetName&&o.worksheetName.length?e=o.worksheetName+" "+(k.length+1):void 0!==o.worksheetName[k.length]&&(e=o.worksheetName[k.length]),e.length||(e=t.find("caption").text()||""),e.length||(e="Table "+(k.length+1)),e=n.trim(e.replace(/[\\\/[\]*:?'"]/g,"").substring(0,31)),k.push(n("<div />").text(e).html()),!1===o.exportHiddenCells&&(u=t.find("tr, th, td").filter(":hidden"),p=u.length>0),c=0,d=lt(this),F="<Table>\r";var i=0;i+=r(t.find("thead").first().find(o.theadSelector),"th,td",i),r(it(t),"td,th",i),F+="</Table>\r",N.push(F),!0===o.consoleLog&&console.log(F)});for(var A,T,j={},R={},M=0,D=k.length;M<D;M++)A=k[M],T=j[A],2==(T=j[A]=null==T?1:T+1)&&(k[R[A]]=k[R[A]].substring(0,29)+"-1"),j[A]>1?k[M]=k[M].substring(0,29)+"-"+j[A]:R[A]=M;for(var P=(new Date).toISOString(),L='<?xml version="1.0" encoding="UTF-8"?>\r<?mso-application progid="Excel.Sheet"?>\r<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"\r xmlns:o="urn:schemas-microsoft-com:office:office"\r xmlns:x="urn:schemas-microsoft-com:office:excel"\r xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"\r xmlns:html="http://www.w3.org/TR/REC-html40">\r<DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">\r  <Created>'+P+'</Created>\r</DocumentProperties>\r<OfficeDocumentSettings xmlns="urn:schemas-microsoft-com:office:office">\r  <AllowPNG/>\r</OfficeDocumentSettings>\r<ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">\r  <WindowHeight>9000</WindowHeight>\r  <WindowWidth>13860</WindowWidth>\r  <WindowTopX>0</WindowTopX>\r  <WindowTopY>0</WindowTopY>\r  <ProtectStructure>False</ProtectStructure>\r  <ProtectWindows>False</ProtectWindows>\r</ExcelWorkbook>\r<Styles>\r  <Style ss:ID="Default" ss:Name="Normal">\r    <Alignment ss:Vertical="Bottom"/>\r    <Borders/>\r    <Font/>\r    <Interior/>\r    <NumberFormat/>\r    <Protection/>\r  </Style>\r  <Style ss:ID="rsp1">\r    <Alignment ss:Vertical="Center"/>\r  </Style>\r  <Style ss:ID="pct1">\r    <NumberFormat ss:Format="Percent"/>\r  </Style>\r</Styles>\r',E=0;E<N.length;E++)L+='<Worksheet ss:Name="'+k[E]+'" ss:RightToLeft="'+(o.excelRTL?"1":"0")+'">\r'+N[E],o.excelRTL?L+='<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">\r<DisplayRightToLeft/>\r</WorksheetOptions>\r':L+='<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel"/>\r',L+="</Worksheet>\r";if(L+="</Workbook>\r",!0===o.consoleLog&&console.log(L),"string"===o.outputMode)return L;if("base64"===o.outputMode)return jt(L);try{e=new Blob([L],{type:"application/xml;charset=utf-8"}),saveAs(e,o.fileName+".xml")}catch(t){Tt(o.fileName+".xml","data:application/xml;charset=utf-8;base64,",L)}}else if("excel"==o.type||"xls"==o.type||"word"==o.type||"doc"==o.type){var O="excel"==o.type||"xls"==o.type?"excel":"word",I="excel"==O?"xls":"doc",W='xmlns:x="urn:schemas-microsoft-com:office:'+O+'"',F="",U="";n(i).filter(function(){return ct(n(this))}).each(function(){var t=n(this);""===U&&(U=o.worksheetName||t.find("caption").text()||"Table",U=n.trim(U.replace(/[\\\/[\]*:?'"]/g,"").substring(0,31))),!1===o.exportHiddenCells&&(u=t.find("tr, th, td").filter(":hidden"),p=u.length>0),c=0,f=[],d=lt(this),F+="<table><thead>",(a=t.find("thead").first().find(o.theadSelector)).each(function(){h="",ht(this,"th,td",c,a.length,function(t,e,r){if(null!==t){var i="";for(var s in h+="<th",o.excelstyles)if(o.excelstyles.hasOwnProperty(s)){var a=n(t).css(o.excelstyles[s]);""!==a&&"0px none rgb(0, 0, 0)"!=a&&"rgba(0, 0, 0, 0)"!=a&&(i+=""===i?'style="':";",i+=o.excelstyles[s]+":"+a)}""!==i&&(h+=" "+i+'"');var l=xt(t);l>0&&(h+=' colspan="'+l+'"');var c=bt(t);c>0&&(h+=' rowspan="'+c+'"'),h+=">"+mt(t,e,r)+"</th>"}}),h.length>0&&(F+="<tr>"+h+"</tr>"),c++}),F+="</thead><tbody>",l=it(t),n(l).each(function(){var t=n(this);h="",ht(this,"td,th",c,a.length+l.length,function(e,r,i){if(null!==e){var s=mt(e,r,i),a="",l=n(e).data("tableexport-msonumberformat");for(var c in void 0===l&&"function"==typeof o.onMsoNumberFormat&&(l=o.onMsoNumberFormat(e,r,i)),void 0!==l&&""!==l&&(a="style=\"mso-number-format:'"+l+"'"),o.excelstyles)o.excelstyles.hasOwnProperty(c)&&(""===(l=n(e).css(o.excelstyles[c]))&&(l=t.css(o.excelstyles[c])),""!==l&&"0px none rgb(0, 0, 0)"!=l&&"rgba(0, 0, 0, 0)"!=l&&(a+=""===a?'style="':";",a+=o.excelstyles[c]+":"+l));h+="<td",""!==a&&(h+=" "+a+'"');var d=xt(e);d>0&&(h+=' colspan="'+d+'"');var f=bt(e);f>0&&(h+=' rowspan="'+f+'"'),"string"==typeof s&&""!=s&&(s=s.replace(/\n/g,"<br>")),h+=">"+s+"</td>"}}),h.length>0&&(F+="<tr>"+h+"</tr>"),c++}),o.displayTableName&&(F+="<tr><td></td></tr><tr><td></td></tr><tr><td>"+mt(n("<p>"+o.tableName+"</p>"))+"</td></tr>"),F+="</tbody></table>",!0===o.consoleLog&&console.log(F)});var B='<html xmlns:o="urn:schemas-microsoft-com:office:office" '+W+' xmlns="http://www.w3.org/TR/REC-html40">';if(B+='<meta http-equiv="content-type" content="application/vnd.ms-'+O+'; charset=UTF-8">',B+="<head>","excel"===O&&(B+="\x3c!--[if gte mso 9]>",B+="<xml>",B+="<x:ExcelWorkbook>",B+="<x:ExcelWorksheets>",B+="<x:ExcelWorksheet>",B+="<x:Name>",B+=U,B+="</x:Name>",B+="<x:WorksheetOptions>",B+="<x:DisplayGridlines/>",o.excelRTL&&(B+="<x:DisplayRightToLeft/>"),B+="</x:WorksheetOptions>",B+="</x:ExcelWorksheet>",B+="</x:ExcelWorksheets>",B+="</x:ExcelWorkbook>",B+="</xml>",B+="<![endif]--\x3e"),B+="<style>br {mso-data-placement:same-cell;}</style>",B+="</head>",B+="<body>",B+=F,B+="</body>",B+="</html>",!0===o.consoleLog&&console.log(B),"string"===o.outputMode)return B;if("base64"===o.outputMode)return jt(B);try{e=new Blob([B],{type:"application/vnd.ms-"+o.type}),saveAs(e,o.fileName+"."+I)}catch(t){Tt(o.fileName+"."+I,"data:application/vnd.ms-"+O+";base64,",B)}}else if("xlsx"==o.type){var H=[],z=[];c=0,(l=n(i).find("thead").first().find(o.theadSelector).toArray()).push.apply(l,it(n(i))),n(l).each(function(){var t=[];ht(this,"th,td",c,l.length,function(e,r,i){if(void 0!==e&&null!==e){var s=mt(e,r,i),a=xt(e),l=bt(e);if(n.each(z,function(){if(c>=this.s.r&&c<=this.e.r&&t.length>=this.s.c&&t.length<=this.e.c)for(var e=0;e<=this.e.c-this.s.c;++e)t.push(null)}),(l||a)&&(l=l||1,a=a||1,z.push({s:{r:c,c:t.length},e:{r:c+l-1,c:t.length+a-1}})),"function"!=typeof o.onCellData&&""!==s&&s==+s&&(s=+s),t.push(""!==s?s:null),a)for(var h=0;h<a-1;++h)t.push(null)}}),H.push(t),c++});var K=new function t(){if(!(this instanceof t))return new t;this.SheetNames=[],this.Sheets={}},X=function(t){for(var e={},o={s:{c:1e7,r:1e7},e:{c:0,r:0}},n=0;n!=t.length;++n)for(var r=0;r!=t[n].length;++r){o.s.r>n&&(o.s.r=n),o.s.c>r&&(o.s.c=r),o.e.r<n&&(o.e.r=n),o.e.c<r&&(o.e.c=r);var i={v:t[n][r]};if(null!==i.v){var s=XLSX.utils.encode_cell({c:r,r:n});"number"==typeof i.v?i.t="n":"boolean"==typeof i.v?i.t="b":i.v instanceof Date?(i.t="n",i.z=XLSX.SSF._table[14],i.v=kt(i.v)):i.t="s",e[s]=i}}return o.s.c<1e7&&(e["!ref"]=XLSX.utils.encode_range(o)),e}(H);X["!merges"]=z,K.SheetNames.push(o.worksheetName),K.Sheets[o.worksheetName]=X;var _=XLSX.write(K,{bookType:o.type,bookSST:!1,type:"binary"});try{e=new Blob([Nt(_)],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8"}),saveAs(e,o.fileName+"."+o.type)}catch(t){Tt(o.fileName+"."+o.type,"data:application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8,",Nt(_))}}else if("png"==o.type)html2canvas(n(i)[0]).then(function(t){for(var n=t.toDataURL(),r=atob(n.substring(22)),i=new ArrayBuffer(r.length),s=new Uint8Array(i),a=0;a<r.length;a++)s[a]=r.charCodeAt(a);if(!0===o.consoleLog&&console.log(r),"string"===o.outputMode)return r;if("base64"===o.outputMode)return jt(n);if("window"!==o.outputMode)try{e=new Blob([i],{type:"image/png"}),saveAs(e,o.fileName+".png")}catch(t){Tt(o.fileName+".png","data:image/png,",e)}else window.open(n)});else if("pdf"==o.type)if(!0===o.pdfmake.enabled){var q=[],Q=[];c=0,f=[];var V=function(t,e,o){var r=0;return n(t).each(function(){var t=[];ht(this,e,c,o,function(e,o,n){if(void 0!==e&&null!==e){var r=xt(e),i=bt(e),s=mt(e,o,n)||" ";r>1||i>1?(r=r||1,i=i||1,t.push({colSpan:r,rowSpan:i,text:s})):t.push(s)}else t.push(" ")}),t.length&&Q.push(t),r<t.length&&(r=t.length),c++}),r};a=n(this).find("thead").first().find(o.theadSelector);for(var Y=V(a,"th,td",a.length),J=q.length;J<Y;J++)q.push("*");l=it(n(this)),V(l,"th,td",a.length+l.length);var $={content:[{table:{headerRows:a.length,widths:q,body:Q}}]};n.extend(!0,$,o.pdfmake.docDefinition),pdfMake.fonts={Roboto:{normal:"Roboto-Regular.ttf",bold:"Roboto-Medium.ttf",italics:"Roboto-Italic.ttf",bolditalics:"Roboto-MediumItalic.ttf"}},n.extend(!0,pdfMake.fonts,o.pdfmake.fonts),pdfMake.createPdf($).getBuffer(function(t){try{var e=new Blob([t],{type:"application/pdf"});saveAs(e,o.fileName+".pdf")}catch(e){Tt(o.fileName+".pdf","data:application/pdf;base64,",t)}})}else if(!1===o.jspdf.autotable){var G={dim:{w:Ct(n(i).first().get(0),"width","mm"),h:Ct(n(i).first().get(0),"height","mm")},pagesplit:!1},Z=new jsPDF(o.jspdf.orientation,o.jspdf.unit,o.jspdf.format);Z.addHTML(n(i).first(),o.jspdf.margins.left,o.jspdf.margins.top,G,function(){dt(Z,!1)})}else{var tt=o.jspdf.autotable.tableExport;if("string"==typeof o.jspdf.format&&"bestfit"===o.jspdf.format.toLowerCase()){var et={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89]},ot="",nt="",rt=0;n(i).each(function(){if(ct(n(this))){var t=Ct(n(this).get(0),"width","pt");if(t>rt){for(var e in t>et.a0[0]&&(ot="a0",nt="l"),et)et.hasOwnProperty(e)&&et[e][1]>t&&(ot=e,nt="l",et[e][0]>t&&(nt="p"));rt=t}}}),o.jspdf.format=""===ot?"a4":ot,o.jspdf.orientation=""===nt?"w":nt}null==tt.doc&&(tt.doc=new jsPDF(o.jspdf.orientation,o.jspdf.unit,o.jspdf.format),"function"==typeof o.jspdf.onDocCreated&&o.jspdf.onDocCreated(tt.doc)),!0===tt.outputImages&&(tt.images={}),void 0!==tt.images&&(n(i).filter(function(){return ct(n(this))}).each(function(){var t=0;f=[],!1===o.exportHiddenCells&&(u=n(this).find("tr, th, td").filter(":hidden"),p=u.length>0),a=n(this).find("thead").find(o.theadSelector),l=it(n(this)),n(l).each(function(){ht(this,"td,th",a.length+t,a.length+l.length,function(t){if(void 0!==t&&null!==t){var e=n(t).children();void 0!==e&&e.length>0&&function t(e,o,r){void 0!==r.images&&o.each(function(){var o=n(this).children();if(n(this).is("img")){var i=At(this.src);r.images[i]={url:this.src,src:this.src}}void 0!==o&&o.length>0&&t(e,o,r)})}(t,e,tt)}}),t++})}),a=[],l=[]),function(t,e){var o,n=0,r=0;function i(){e(n)}function s(t){if(t.url){var e=new Image;n=++r,e.crossOrigin="Anonymous",e.onerror=e.onload=function(){if(e.complete&&(0===e.src.indexOf("data:image/")&&(e.width=t.width||e.width||0,e.height=t.height||e.height||0),e.width+e.height)){var o=document.createElement("canvas"),n=o.getContext("2d");o.width=e.width,o.height=e.height,n.drawImage(e,0,0),t.src=o.toDataURL("image/jpeg")}--r||i()},e.src=t.url}}if(void 0!==t.images)for(o in t.images)t.images.hasOwnProperty(o)&&s(t.images[o]);r||i()}(tt,function(){n(i).filter(function(){return ct(n(this))}).each(function(){var t;if(c=0,f=[],!1===o.exportHiddenCells&&(u=n(this).find("tr, th, td").filter(":hidden"),p=u.length>0),d=lt(this),tt.columns=[],tt.rows=[],tt.rowoptions={},"function"==typeof tt.onTable&&!1===tt.onTable(n(this),o))return!0;o.jspdf.autotable.tableExport=null;var e=n.extend(!0,{},o.jspdf.autotable);if(o.jspdf.autotable.tableExport=tt,e.margin={},n.extend(!0,e.margin,o.jspdf.margins),e.tableExport=tt,"function"!=typeof e.beforePageContent&&(e.beforePageContent=function(t){if(1==t.pageCount){var e=t.table.rows.concat(t.table.headerRow);n.each(e,function(){this.height>0&&(this.height+=(2-r)/2*this.styles.fontSize,t.table.height+=(2-r)/2*this.styles.fontSize)})}}),"function"!=typeof e.createdHeaderCell&&(e.createdHeaderCell=function(t,o){if(t.styles=n.extend({},o.row.styles),void 0!==tt.columns[o.column.dataKey]){var r,i=tt.columns[o.column.dataKey];void 0!==i.rect&&(t.contentWidth=i.rect.width,void 0!==tt.heightRatio&&0!==tt.heightRatio||(r=o.row.raw[o.column.dataKey].rowspan?o.row.raw[o.column.dataKey].rect.height/o.row.raw[o.column.dataKey].rowspan:o.row.raw[o.column.dataKey].rect.height,tt.heightRatio=t.styles.rowHeight/r),(r=o.row.raw[o.column.dataKey].rect.height*tt.heightRatio)>t.styles.rowHeight&&(t.styles.rowHeight=r)),void 0!==i.style&&!0!==i.style.hidden&&(t.styles.halign=i.style.align,"inherit"===e.styles.fillColor&&(t.styles.fillColor=i.style.bcolor),"inherit"===e.styles.textColor&&(t.styles.textColor=i.style.color),"inherit"===e.styles.fontStyle&&(t.styles.fontStyle=i.style.fstyle))}}),"function"!=typeof e.createdCell&&(e.createdCell=function(t,o){var n=tt.rowoptions[o.row.index+":"+o.column.dataKey];void 0!==n&&void 0!==n.style&&!0!==n.style.hidden&&(t.styles.halign=n.style.align,"inherit"===e.styles.fillColor&&(t.styles.fillColor=n.style.bcolor),"inherit"===e.styles.textColor&&(t.styles.textColor=n.style.color),"inherit"===e.styles.fontStyle&&(t.styles.fontStyle=n.style.fstyle))}),"function"!=typeof e.drawHeaderCell&&(e.drawHeaderCell=function(t,e){var o=tt.columns[e.column.dataKey];return(!0!==o.style.hasOwnProperty("hidden")||!0!==o.style.hidden)&&o.rowIndex>=0&&ft(t,e,o)}),"function"!=typeof e.drawCell&&(e.drawCell=function(t,e){var r=tt.rowoptions[e.row.index+":"+e.column.dataKey];if(ft(t,e,r))if(tt.doc.rect(t.x,t.y,t.width,t.height,t.styles.fillStyle),void 0!==r&&void 0!==r.kids&&r.kids.length>0){var i=t.height/r.rect.height;(i>tt.dh||void 0===tt.dh)&&(tt.dh=i),tt.dw=t.width/r.rect.width;var s=t.textPos.y;!function t(e,r,i){r.each(function(){var r=n(this).children(),s=0;if(n(this).is("div")){var a=yt(St(this,"background-color"),[255,255,255]),l=yt(St(this,"border-top-color"),[0,0,0]),c=Ct(this,"border-top-width",o.jspdf.unit),h=this.getBoundingClientRect(),d=this.offsetLeft*i.dw;s=this.offsetTop*i.dh;var f=h.width*i.dw,u=h.height*i.dh;i.doc.setDrawColor.apply(void 0,l),i.doc.setFillColor.apply(void 0,a),i.doc.setLineWidth(c),i.doc.rect(e.x+d,e.y+s,f,u,c?"FD":"F")}else if(n(this).is("img")&&void 0!==i.images){var p=At(this.src),g=i.images[p];if(void 0!==g){var m=e.width/e.height,v=this.width/this.height,y=e.width,w=e.height;v<=m?(w=Math.min(e.height,this.height),y=this.width*w/this.height):v>m&&(y=Math.min(e.width,this.width),w=this.height*y/this.width),y*=19.049976/25.4,(w*=19.049976/25.4)<e.height&&(s=(e.height-w)/2);try{i.doc.addImage(g.src,e.textPos.x,e.y+s,y,w)}catch(t){}e.textPos.x+=y}}void 0!==r&&r.length>0&&t(e,r,i)})}(t,r.kids,tt),t.textPos.y=s,ut(t,r.kids,tt)}else ut(t,{},tt);return!1}),tt.headerrows=[],(a=n(this).find("thead").find(o.theadSelector)).each(function(){t=0,tt.headerrows[c]=[],ht(this,"th,td",c,a.length,function(e,o,n){var r=wt(e);r.title=mt(e,o,n),r.key=t++,r.rowIndex=c,tt.headerrows[c].push(r)}),c++}),c>0)for(var i=c-1;i>=0;)n.each(tt.headerrows[i],function(){var t=this;i>0&&null===this.rect&&(t=tt.headerrows[i-1][this.key]),null!==t&&t.rowIndex>=0&&(!0!==t.style.hasOwnProperty("hidden")||!0!==t.style.hidden)&&tt.columns.push(t)}),i=tt.columns.length>0?-1:i-1;var s=0;l=[],l=it(n(this)),n(l).each(function(){var e=[];t=0,ht(this,"td,th",c,a.length+l.length,function(o,r,i){var a;void 0===tt.columns[t]&&(a={title:"",key:t,style:{hidden:!0}},tt.columns.push(a)),void 0!==o&&null!==o?((a=wt(o)).kids=n(o).children(),tt.rowoptions[s+":"+t++]=a):((a=n.extend(!0,{},tt.rowoptions[s+":"+(t-1)])).colspan=-1,tt.rowoptions[s+":"+t++]=a),e.push(mt(o,r,i))}),e.length&&(tt.rows.push(e),s++),c++}),"function"==typeof tt.onBeforeAutotable&&tt.onBeforeAutotable(n(this),tt.columns,tt.rows,e),tt.doc.autoTable(tt.columns,tt.rows,e),"function"==typeof tt.onAfterAutotable&&tt.onAfterAutotable(n(this),e),o.jspdf.autotable.startY=tt.doc.autoTableEndPosY()+e.margin.top}),dt(tt.doc,void 0!==tt.images&&!1===jQuery.isEmptyObject(tt.images)),void 0!==tt.headerrows&&(tt.headerrows.length=0),void 0!==tt.columns&&(tt.columns.length=0),void 0!==tt.rows&&(tt.rows.length=0),delete tt.doc,tt.doc=null})}function it(t){var e=[];return st(t,"tbody").each(function(){e.push.apply(e,at(n(this),o.tbodySelector).toArray())}),o.tfootSelector.length&&st(t,"tfoot").each(function(){e.push.apply(e,at(n(this),o.tfootSelector).toArray())}),e}function st(t,e){var o=t.parents("table").length;return t.find(e).filter(function(){return n(this).closest("table").parents("table").length===o})}function at(t,e){return t.find(e).filter(function(){return 0===n(this).find("table").length&&1===n(this).parents("table").length})}function lt(t){var e=[];return n(t).find("thead").first().find("th").each(function(t,o){void 0!==n(o).attr("data-field")?e[t]=n(o).attr("data-field"):e[t]=t.toString()}),e}function ct(t){var e=void 0!==t[0].cellIndex,o=void 0!==t[0].rowIndex,r=e||o?function(t){var e=[];return p&&(e=u.filter(function(){var e=!1;return this.nodeType==t[0].nodeType&&(void 0!==this.rowIndex&&this.rowIndex==t[0].rowIndex?e=!0:void 0!==this.cellIndex&&this.cellIndex==t[0].cellIndex&&void 0!==this.parentNode.rowIndex&&void 0!==t[0].parentNode.rowIndex&&this.parentNode.rowIndex==t[0].parentNode.rowIndex&&(e=!0)),e})),0==p||0==e.length}(t):t.is(":visible"),i=t.data("tableexport-display");return e&&"none"!=i&&"always"!=i&&(t=n(t[0].parentNode),o=void 0!==t[0].rowIndex,i=t.data("tableexport-display")),o&&"none"!=i&&"always"!=i&&(i=t.closest("table").data("tableexport-display")),"none"!==i&&(1==r||"always"==i)}function ht(t,e,r,i,s){if("function"==typeof s){var a=!1;if("function"==typeof o.onIgnoreRow&&(a=o.onIgnoreRow(n(t),r)),!1===a&&-1==n.inArray(r,o.ignoreRow)&&-1==n.inArray(r-i,o.ignoreRow)&&ct(n(t))){var l=n(t).find(e),c=0;l.each(function(t){var e,i=n(this),a=xt(this),h=bt(this);if(n.each(f,function(){if(r>=this.s.r&&r<=this.e.r&&c>=this.s.c&&c<=this.e.c)for(e=0;e<=this.e.c-this.s.c;++e)s(null,r,c++)}),!1===function(t,e,r){var i=!1;return ct(t)?o.ignoreColumn.length>0&&(-1!=n.inArray(r,o.ignoreColumn)||-1!=n.inArray(r-e,o.ignoreColumn)||d.length>r&&void 0!==d[r]&&-1!=n.inArray(d[r],o.ignoreColumn))&&(i=!0):i=!0,i}(i,l.length,t)&&((h||a)&&(h=h||1,a=a||1,f.push({s:{r:r,c:c},e:{r:r+h-1,c:c+a-1}})),s(this,r,c++)),a)for(e=0;e<a-1;++e)s(null,r,c++)}),n.each(f,function(){if(r>=this.s.r&&r<=this.e.r&&c>=this.s.c&&c<=this.e.c)for(D=0;D<=this.e.c-this.s.c;++D)s(null,r,c++)})}}}function dt(t,e){if(!0===o.consoleLog&&console.log(t.output()),"string"===o.outputMode)return t.output();if("base64"===o.outputMode)return jt(t.output());if("window"===o.outputMode)return window.URL=window.URL||window.webkitURL,void window.open(window.URL.createObjectURL(t.output("blob")));try{var n=t.output("blob");saveAs(n,o.fileName+".pdf")}catch(n){Tt(o.fileName+".pdf","data:application/pdf"+(e?"":";base64")+",",e?t.output("blob"):t.output())}}function ft(t,e,o){var n=0;if(void 0!==o&&(n=o.colspan),n>=0){for(var i=t.width,s=t.textPos.x,a=e.table.columns.indexOf(e.column),l=1;l<n;l++){var c=e.table.columns[a+l];i+=c.width}if(n>1&&("right"===t.styles.halign?s=t.textPos.x+i-t.width:"center"===t.styles.halign&&(s=t.textPos.x+(i-t.width)/2)),t.width=i,t.textPos.x=s,void 0!==o&&o.rowspan>1&&(t.height=t.height*o.rowspan),"middle"===t.styles.valign||"bottom"===t.styles.valign){var h="string"==typeof t.text?t.text.split(/\r\n|\r|\n/g):t.text,d=h.length||1;d>2&&(t.textPos.y-=(2-r)/2*e.row.styles.fontSize*(d-2)/3)}return!0}return!1}function ut(t,e,o){if("function"==typeof o.onAutotableText)o.onAutotableText(o.doc,t,e);else{var r=t.textPos.x,i=t.textPos.y,s={halign:t.styles.halign,valign:t.styles.valign};if(e.length){for(var a=e[0];a.previousSibling;)a=a.previousSibling;for(var l=!1,c=!1;a;){var h=a.innerText||a.textContent||"";h=(h.length&&" "==h[0]?" ":"")+n.trim(h)+(h.length>1&&" "==h[h.length-1]?" ":""),n(a).is("br")&&(r=t.textPos.x,i+=o.doc.internal.getFontSize()),n(a).is("b")?l=!0:n(a).is("i")&&(c=!0),(l||c)&&o.doc.setFontType(l&&c?"bolditalic":l?"bold":"italic");var d=o.doc.getStringUnitWidth(h)*o.doc.internal.getFontSize();if(d){if("linebreak"===t.styles.overflow&&r>t.textPos.x&&r+d>t.textPos.x+t.width){if(".,!%*;:=-".indexOf(h.charAt(0))>=0){var f=h.charAt(0);d=o.doc.getStringUnitWidth(f)*o.doc.internal.getFontSize(),r+d<=t.textPos.x+t.width&&(o.doc.autoTableText(f,r,i,s),h=h.substring(1,h.length)),d=o.doc.getStringUnitWidth(h)*o.doc.internal.getFontSize()}r=t.textPos.x,i+=o.doc.internal.getFontSize()}for(;h.length&&r+d>t.textPos.x+t.width;)h=h.substring(0,h.length-1),d=o.doc.getStringUnitWidth(h)*o.doc.internal.getFontSize();o.doc.autoTableText(h,r,i,s),r+=d}(l||c)&&(n(a).is("b")?l=!1:n(a).is("i")&&(c=!1),o.doc.setFontType(l||c?l?"bold":"italic":"normal")),a=a.nextSibling}t.textPos.x=r,t.textPos.y=i}else o.doc.autoTableText(t.text,t.textPos.x,t.textPos.y,s)}}function pt(t,e,o){return t.replace(new RegExp(function(t){return t.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1")}(e),"g"),o)}function gt(t){return("number"==typeof(t=pt(t=pt(t=t||"0",o.numbers.html.thousandsSeparator,""),o.numbers.html.decimalMark,"."))||!1!==jQuery.isNumeric(t))&&t}function mt(t,e,r){var i="";if(null!==t){var s,a=n(t);if(a[0].hasAttribute("data-tableexport-value"))s=(s=a.data("tableexport-value"))?s+"":"";else if(s=a.html(),"function"==typeof o.onCellHtmlData)s=o.onCellHtmlData(a,e,r,s);else if(""!=s){var l=n.parseHTML(s),c=0,h=0;s="",n.each(l,function(){n(this).is("input")?s+=a.find("input").eq(c++).val():n(this).is("select")?s+=a.find("select option:selected").eq(h++).text():void 0===n(this).html()?s+=n(this).text():(void 0===jQuery().bootstrapTable||!0!==n(this).hasClass("filterControl")&&0===n(t).parents(".detail-view").length)&&(s+=n(this).html())})}if(!0===o.htmlContent)i=n.trim(s);else if(s&&""!=s){var d=n(t).data("tableexport-cellformat");if(""!=d){var f=s.replace(/\n/g,"\u2028").replace(/<br\s*[\/]?>/gi,"⁠"),u=n("<div/>").html(f).contents(),p=!1;if(f="",n.each(u.text().split("\u2028"),function(t,e){t>0&&(f+=" "),f+=n.trim(e)}),n.each(f.split("⁠"),function(t,e){t>0&&(i+="\n"),i+=n.trim(e).replace(/\u00AD/g,"")}),"json"==o.type||"excel"===o.type&&"xmlss"===o.excelFileFormat||!1===o.numbers.output)!1!==(p=gt(i))&&(i=Number(p));else if((o.numbers.html.decimalMark!=o.numbers.output.decimalMark||o.numbers.html.thousandsSeparator!=o.numbers.output.thousandsSeparator)&&!1!==(p=gt(i))){var g=(""+p.substr(p<0?1:0)).split(".");1==g.length&&(g[1]="");var m=g[0].length>3?g[0].length%3:0;i=(p<0?"-":"")+(o.numbers.output.thousandsSeparator?(m?g[0].substr(0,m)+o.numbers.output.thousandsSeparator:"")+g[0].substr(m).replace(/(\d{3})(?=\d)/g,"$1"+o.numbers.output.thousandsSeparator):g[0])+(g[1].length?o.numbers.output.decimalMark+g[1]:"")}}else i=s}!0===o.escape&&(i=escape(i)),"function"==typeof o.onCellData&&(i=o.onCellData(a,e,r,i))}return i}function vt(t,e,o){return e+"-"+o.toLowerCase()}function yt(t,e){var o=/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/.exec(t),n=e;return o&&(n=[parseInt(o[1]),parseInt(o[2]),parseInt(o[3])]),n}function wt(t){var e=St(t,"text-align"),o=St(t,"font-weight"),n=St(t,"font-style"),r="";"start"==e&&(e="rtl"==St(t,"direction")?"right":"left"),o>=700&&(r="bold"),"italic"==n&&(r+=n),""===r&&(r="normal");var i={style:{align:e,bcolor:yt(St(t,"background-color"),[255,255,255]),color:yt(St(t,"color"),[0,0,0]),fstyle:r},colspan:xt(t),rowspan:bt(t)};if(null!==t){var s=t.getBoundingClientRect();i.rect={width:s.width,height:s.height}}return i}function xt(t){var e=n(t).data("tableexport-colspan");return void 0===e&&n(t).is("[colspan]")&&(e=n(t).attr("colspan")),parseInt(e)||0}function bt(t){var e=n(t).data("tableexport-rowspan");return void 0===e&&n(t).is("[rowspan]")&&(e=n(t).attr("rowspan")),parseInt(e)||0}function St(t,e){try{return window.getComputedStyle?(e=e.replace(/([a-z])([A-Z])/,vt),window.getComputedStyle(t,null).getPropertyValue(e)):t.currentStyle?t.currentStyle[e]:t.style[e]}catch(t){}return""}function Ct(t,e,o){var n=St(t,e),r=n.match(/\d+/);return null!==r?(r=r[0],function(t,e,o){var n=document.createElement("div");n.style.overflow="hidden",n.style.visibility="hidden",t.appendChild(n),n.style.width=100+o;var r=100/n.offsetWidth;return t.removeChild(n),e*r}(t.parentElement,r,o)):0}function Nt(t){for(var e=new ArrayBuffer(t.length),o=new Uint8Array(e),n=0;n!=t.length;++n)o[n]=255&t.charCodeAt(n);return e}function kt(t,e){e&&(t+=1462);var o=Date.parse(t);return(o-new Date(Date.UTC(1899,11,30)))/864e5}function At(t){var e,o,n,r=0;if(0===t.length)return r;for(e=0,n=t.length;e<n;e++)o=t.charCodeAt(e),r=(r<<5)-r+o,r|=0;return r}function Tt(t,e,o){var n=window.navigator.userAgent;if(!1!==t&&window.navigator.msSaveOrOpenBlob)window.navigator.msSaveOrOpenBlob(new Blob([o]),t);else if(!1!==t&&(n.indexOf("MSIE ")>0||n.match(/Trident.*rv\:11\./))){var r=document.createElement("iframe");if(r){document.body.appendChild(r),r.setAttribute("style","display:none"),r.contentDocument.open("txt/plain","replace"),r.contentDocument.write(o),r.contentDocument.close(),r.contentDocument.focus();var i=t.substr(t.lastIndexOf(".")+1);switch(i){case"doc":case"json":case"png":case"pdf":case"xls":case"xlsx":t+=".txt"}r.contentDocument.execCommand("SaveAs",!0,t),document.body.removeChild(r)}}else{var a=document.createElement("a");if(a){var l=null;a.style.display="none",!1!==t?a.download=t:a.target="_blank","object"==typeof o?(window.URL=window.URL||window.webkitURL,l=window.URL.createObjectURL(o),a.href=l):e.toLowerCase().indexOf("base64,")>=0?a.href=e+jt(o):a.href=e+encodeURIComponent(o),document.body.appendChild(a),document.createEvent?(null===s&&(s=document.createEvent("MouseEvents")),s.initEvent("click",!0,!1),a.dispatchEvent(s)):document.createEventObject?a.fireEvent("onclick"):"function"==typeof a.onclick&&a.onclick(),setTimeout(function(){l&&window.URL.revokeObjectURL(l),document.body.removeChild(a)},100)}}}function jt(t){var e,o,n,r,i,s,a,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",c="",h=0;for(t=function(t){if("string"==typeof t){t=t.replace(/\x0d\x0a/g,"\n");for(var e="",o=0;o<t.length;o++){var n=t.charCodeAt(o);n<128?e+=String.fromCharCode(n):n>127&&n<2048?(e+=String.fromCharCode(n>>6|192),e+=String.fromCharCode(63&n|128)):(e+=String.fromCharCode(n>>12|224),e+=String.fromCharCode(n>>6&63|128),e+=String.fromCharCode(63&n|128))}return e}return t}(t);h<t.length;)e=t.charCodeAt(h++),o=t.charCodeAt(h++),n=t.charCodeAt(h++),r=e>>2,i=(3&e)<<4|o>>4,s=(15&o)<<2|n>>6,a=63&n,isNaN(o)?s=a=64:isNaN(n)&&(a=64),c=c+l.charAt(r)+l.charAt(i)+l.charAt(s)+l.charAt(a);return c}return this}},195:function(t,e,o){o(194)}});if("object"==typeof o){var n=["object"==typeof module&&"object"==typeof module.exports?module.exports:null,"undefined"!=typeof window?window:null,t&&t!==window?t:null];for(var r in o)n[0]&&(n[0][r]=o[r]),n[1]&&"__esModule"!==r&&(n[1][r]=o[r]),n[2]&&(n[2][r]=o[r])}}(this);