!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=199)}({198:function(t,e,o){"use strict"; /** * @preserve tableExport.jquery.plugin * * Version 1.9.11 * * 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.11 * * 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={csvEnclosure:'"',csvSeparator:",",csvUseBOM:!0,displayTableName:!1,escape:!1,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}}},maxNestedTables:1,mso:{fileFormat:"xlshtml",onMsoNumberFormat:null,pageFormat:"a4",pageOrientation:"portrait",rtl:!1,styles:[],worksheetName:""},numbers:{html:{decimalMark:".",thousandsSeparator:","},output:{decimalMark:".",thousandsSeparator:","}},onCellData:null,onCellHtmlData:null,onIgnoreRow:null,outputMode:"file",pdfmake:{enabled:!1,docDefinition:{pageOrientation:"portrait",defaultStyle:{font:"Roboto"}},fonts:{}},tbodySelector:"tr",tfootSelector:"tr",theadSelector:"tr",tableName:"Table",type:"csv"},r={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],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]},i=1.15,a=this,s=null,l=[],c=[],d=0,h="",f=[],u=[],p=[],m=!1;if(n.extend(!0,o,t),"xlsx"===o.type&&(o.mso.fileFormat=o.type,o.type="excel"),void 0!==o.excelFileFormat&&"undefined"===o.mso.fileFormat&&(o.mso.fileFormat=o.excelFileFormat),void 0!==o.excelPageFormat&&"undefined"===o.mso.pageFormat&&(o.mso.pageFormat=o.excelPageFormat),void 0!==o.excelPageOrientation&&"undefined"===o.mso.pageOrientation&&(o.mso.pageOrientation=o.excelPageOrientation),void 0!==o.excelRTL&&"undefined"===o.mso.rtl&&(o.mso.rtl=o.excelRTL),void 0!==o.excelstyles&&"undefined"===o.mso.styles&&(o.mso.styles=o.excelstyles),void 0!==o.onMsoNumberFormat&&"undefined"===o.mso.onMsoNumberFormat&&(o.mso.onMsoNumberFormat=o.onMsoNumberFormat),void 0!==o.worksheetName&&"undefined"===o.mso.worksheetName&&(o.mso.worksheetName=o.worksheetName),o.mso.pageOrientation="l"===o.mso.pageOrientation.substr(0,1)?"landscape":"portrait",o.maxNestedTables=o.maxNestedTables>=0?o.maxNestedTables:1,f=lt(a),"csv"===o.type||"tsv"===o.type||"txt"===o.type){var g="",v=0;u=[],d=0;var y=function(t,e,r){return t.each(function(){h="",dt(this,e,d,r+t.length,function(t,e,n){h+=function(t,e,n){var r="";if(null!==t){var i=gt(t,e,n),a=null===i||""===i?"":i.toString();"tsv"===o.type?(i instanceof Date&&i.toLocaleString(),r=pt(a,"\t"," ")):i instanceof Date?r=o.csvEnclosure+i.toLocaleString()+o.csvEnclosure:((r=pt(a,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),d++}),t.length};if(v+=y(n(a).find("thead").first().find(o.theadSelector),"th,td",v),at(n(a),"tbody").each(function(){v+=y(st(n(this),o.tbodySelector),"td,th",v)}),o.tfootSelector.length&&y(n(a).find("tfoot").first().find(o.tfootSelector),"td,th",v),g+="\n","string"===o.outputMode)return g;if("base64"===o.outputMode)return Ot(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){d=0,u=[];var b="INSERT INTO `"+o.tableName+"` (";if((l=n(a).find("thead").first().find(o.theadSelector)).each(function(){dt(this,"th,td",d,l.length,function(t,e,o){b+="'"+gt(t,e,o)+"',"}),d++,b=n.trim(b).substring(0,b.length-1)}),b+=") VALUES ",c=it(n(a)),n(c).each(function(){h="",dt(this,"td,th",d,l.length+c.length,function(t,e,o){h+="'"+gt(t,e,o)+"',"}),h.length>3&&(b+="("+h,b=n.trim(b).substring(0,b.length-1),b+="),"),d++}),b=n.trim(b).substring(0,b.length-1),b+=";","string"===o.outputMode)return b;if("base64"===o.outputMode)return Ot(b);try{e=new Blob([b],{type:"text/plain;charset=utf-8"}),saveAs(e,o.fileName+".sql")}catch(t){Tt(o.fileName+".sql","data:application/sql;charset=utf-8,",b)}}else if("json"===o.type){var w=[];u=[],(l=n(a).find("thead").first().find(o.theadSelector)).each(function(){var t=[];dt(this,"th,td",d,l.length,function(e,o,n){t.push(gt(e,o,n))}),w.push(t)});var x=[];c=it(n(a)),n(c).each(function(){var t={},e=0;dt(this,"td,th",d,l.length+c.length,function(o,n,r){w.length?t[w[w.length-1][e]]=gt(o,n,r):t[e]=gt(o,n,r),e++}),!1===n.isEmptyObject(t)&&x.push(t),d++});var S="";if(S="head"===o.jsonScope?JSON.stringify(w):"data"===o.jsonScope?JSON.stringify(x):JSON.stringify({header:w,data:x}),"string"===o.outputMode)return S;if("base64"===o.outputMode)return Ot(S);try{e=new Blob([S],{type:"application/json;charset=utf-8"}),saveAs(e,o.fileName+".json")}catch(t){Tt(o.fileName+".json","data:application/json;charset=utf-8;base64,",S)}}else if("xml"===o.type){d=0,u=[];var C='';C+="",(l=n(a).find("thead").first().find(o.theadSelector)).each(function(){dt(this,"th,td",d,l.length,function(t,e,o){C+=""+gt(t,e,o)+""}),d++}),C+="";var N=1;if(c=it(n(a)),n(c).each(function(){var t=1;h="",dt(this,"td,th",d,l.length+c.length,function(e,o,n){h+=""+gt(e,o,n)+"",t++}),h.length>0&&""!==h&&(C+=''+h+"",N++),d++}),C+="","string"===o.outputMode)return C;if("base64"===o.outputMode)return Ot(C);try{e=new Blob([C],{type:"application/xml;charset=utf-8"}),saveAs(e,o.fileName+".xml")}catch(t){Tt(o.fileName+".xml","data:application/xml;charset=utf-8;base64,",C)}}else if("excel"===o.type&&"xmlss"===o.mso.fileFormat){var k=[],A=[];n(a).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="",dt(this,"td,th",d,o+t.length,function(t,o,a){if(null!==t){var s="",l=gt(t,o,a),c="String";if(!1!==jQuery.isNumeric(l))c="Number";else{var f=((m=l).indexOf("%")>-1?!1!==(m=mt(m.replace(/%/g,"")))&&(m/=100):m=!1,m);!1!==f&&(l=f,c="Number",s+=' ss:StyleID="pct1"')}"Number"!==c&&(l=l.replace(/\n/g,"
"));var u=wt(t),p=xt(t);n.each(r,function(){if(d>=this.s.r&&d<=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:d,c:i},e:{r:d+p-1,c:i+u-1}})),u>1&&(s+=' ss:MergeAcross="'+(u-1)+'"',i+=u-1),p>1&&(s+=' ss:MergeDown="'+(p-1)+'" ss:StyleID="rsp1"'),e>0&&(s+=' ss:Index="'+(i+1)+'"',e=0),h+="'+n("
").text(l).html()+"\r",i++}var m}),h.length>0&&(_+='\r'+h+"\r"),d++}),t.length}"string"==typeof o.mso.worksheetName&&o.mso.worksheetName.length?e=o.mso.worksheetName+" "+(A.length+1):void 0!==o.mso.worksheetName[A.length]&&(e=o.mso.worksheetName[A.length]),e.length||(e=t.find("caption").text()||""),e.length||(e="Table "+(A.length+1)),e=n.trim(e.replace(/[\\\/[\]*:?'"]/g,"").substring(0,31)),A.push(n("
").text(e).html()),!1===o.exportHiddenCells&&(p=t.find("tr, th, td").filter(":hidden"),m=p.length>0),d=0,f=lt(this),_="\r";var i=0;i+=r(t.find("thead").first().find(o.theadSelector),"th,td",i),r(it(t),"td,th",i),_+="
\r",k.push(_)});for(var T,O,j={},F={},M=0,P=A.length;M1?A[M]=A[M].substring(0,29)+"-"+j[T]:F[T]=M;for(var R=(new Date).toISOString(),D='\r\r\r\r '+R+'\r\r\r \r\r\r 9000\r 13860\r 0\r 0\r False\r False\r\r\r \r \r \r\r',E=0;E\r'+k[E],o.mso.rtl?D+='\r\r\r':D+='\r',D+="\r";if(D+="\r","string"===o.outputMode)return D;if("base64"===o.outputMode)return Ot(D);try{e=new Blob([D],{type:"application/xml;charset=utf-8"}),saveAs(e,o.fileName+".xml")}catch(t){Tt(o.fileName+".xml","data:application/xml;charset=utf-8;base64,",D)}}else if("excel"===o.type&&"xlsx"===o.mso.fileFormat){var I=[],W=[];d=0,(c=n(a).find("thead").first().find(o.theadSelector).toArray()).push.apply(c,it(n(a))),n(c).each(function(){var t=[];dt(this,"th,td",d,c.length,function(e,r,i){if(void 0!==e&&null!==e){var a=gt(e,r,i),s=wt(e),l=xt(e);if(n.each(W,function(){if(d>=this.s.r&&d<=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||s)&&(l=l||1,s=s||1,W.push({s:{r:d,c:t.length},e:{r:d+l-1,c:t.length+s-1}})),"function"!=typeof o.onCellData&&""!==a&&a===+a&&(a=+a),t.push(""!==a?a:null),s)for(var c=0;cn&&(o.s.r=n),o.s.c>r&&(o.s.c=r),o.e.r0),d=0,u=[],f=lt(this),_+="",(l=t.find("thead").first().find(o.theadSelector)).each(function(){h="",dt(this,"th,td",d,l.length,function(t,e,r){if(null!==t){var i="";for(var a in h+="0&&(h+=' colspan="'+l+'"');var c=xt(t);c>0&&(h+=' rowspan="'+c+'"'),h+=">"+gt(t,e,r)+""}}),h.length>0&&(_+=""+h+""),d++}),_+="",c=it(t),n(c).each(function(){var t=n(this);h="",dt(this,"td,th",d,l.length+c.length,function(e,r,i){if(null!==e){var a=gt(e,r,i),s="",l=n(e).data("tableexport-msonumberformat");for(var c in void 0===l&&"function"==typeof o.mso.onMsoNumberFormat&&(l=o.mso.onMsoNumberFormat(e,r,i)),void 0!==l&&""!==l&&(s="style=\"mso-number-format:'"+l+"'"),o.mso.styles)o.mso.styles.hasOwnProperty(c)&&(""===(l=n(e).css(o.mso.styles[c]))&&(l=t.css(o.mso.styles[c])),""!==l&&"0px none rgb(0, 0, 0)"!==l&&"rgba(0, 0, 0, 0)"!==l&&(s+=""===s?'style="':";",s+=o.mso.styles[c]+":"+l));h+="0&&(h+=' colspan="'+d+'"');var f=xt(e);f>0&&(h+=' rowspan="'+f+'"'),"string"==typeof a&&""!==a&&(a=a.replace(/\n/g,"
")),h+=">"+a+""}}),h.length>0&&(_+="
"+h+""),d++}),o.displayTableName&&(_+=""),_+="
"+gt(n("

"+o.tableName+"

"))+"
"});var q='';if(q+='',q+="","excel"===H&&(q+="\x3c!--[if gte mso 9]>",q+="",q+="",q+="",q+="",q+="",q+=K,q+="",q+="",q+="",o.mso.rtl&&(q+=""),q+="",q+="",q+="",q+="",q+="",q+="",q+="@page { size:"+o.mso.pageOrientation+"; mso-page-orientation:"+o.mso.pageOrientation+"; }",q+="@page Section1 {size:"+r[o.mso.pageFormat][0]+"pt "+r[o.mso.pageFormat][1]+"pt",q+="; margin:1.0in 1.25in 1.0in 1.25in;mso-header-margin:.5in;mso-footer-margin:.5in;mso-paper-source:0;}",q+="div.Section1 {page:Section1;}",q+="@page Section2 {size:"+r[o.mso.pageFormat][1]+"pt "+r[o.mso.pageFormat][0]+"pt",q+=";mso-page-orientation:"+o.mso.pageOrientation+";margin:1.25in 1.0in 1.25in 1.0in;mso-header-margin:.5in;mso-footer-margin:.5in;mso-paper-source:0;}",q+="div.Section2 {page:Section2;}",q+="br {mso-data-placement:same-cell;}",q+="",q+="",q+="",q+='
',q+=_,q+="
",q+="",q+="","string"===o.outputMode)return q;if("base64"===o.outputMode)return Ot(q);try{e=new Blob([q],{type:"application/vnd.ms-"+o.type}),saveAs(e,o.fileName+"."+z)}catch(t){Tt(o.fileName+"."+z,"data:application/vnd.ms-"+H+";base64,",q)}}else if("png"===o.type)html2canvas(n(a)[0]).then(function(t){for(var n=t.toDataURL(),r=atob(n.substring(22)),i=new ArrayBuffer(r.length),a=new Uint8Array(i),s=0;s1||i>1?(r=r||1,i=i||1,t.push({colSpan:r,rowSpan:i,text:a})):t.push(a)}else t.push(" ")}),t.length&&V.push(t),rrt){for(var e in t>r.a0[0]&&(ot="a0",nt="l"),r)r.hasOwnProperty(e)&&r[e][1]>t&&(ot=e,nt="l",r[e][0]>t&&(nt="p"));rt=t}}}),o.jspdf.format=""===ot?"a4":ot,o.jspdf.orientation=""===nt?"w":nt}null==et.doc&&(et.doc=new jsPDF(o.jspdf.orientation,o.jspdf.unit,o.jspdf.format),"function"==typeof o.jspdf.onDocCreated&&o.jspdf.onDocCreated(et.doc)),!0===et.outputImages&&(et.images={}),void 0!==et.images&&(n(a).filter(function(){return ct(n(this))}).each(function(){var t=0;u=[],!1===o.exportHiddenCells&&(p=n(this).find("tr, th, td").filter(":hidden"),m=p.length>0),l=n(this).find("thead").find(o.theadSelector),c=it(n(this)),n(c).each(function(){dt(this,"td,th",l.length+t,l.length+c.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,et)}}),t++})}),l=[],c=[]),function(t,e){var o,n=0,r=0;function i(){e(n)}function a(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)&&a(t.images[o]);r||i()}(et,function(){n(a).filter(function(){return ct(n(this))}).each(function(){var t;if(d=0,u=[],!1===o.exportHiddenCells&&(p=n(this).find("tr, th, td").filter(":hidden"),m=p.length>0),f=lt(this),et.columns=[],et.rows=[],et.rowoptions={},"function"==typeof et.onTable&&!1===et.onTable(n(this),o))return!0;o.jspdf.autotable.tableExport=null;var e=n.extend(!0,{},o.jspdf.autotable);if(o.jspdf.autotable.tableExport=et,e.margin={},n.extend(!0,e.margin,o.jspdf.margins),e.tableExport=et,"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-i)/2*this.styles.fontSize,t.table.height+=(2-i)/2*this.styles.fontSize)})}}),"function"!=typeof e.createdHeaderCell&&(e.createdHeaderCell=function(t,o){if(t.styles=n.extend({},o.row.styles),void 0!==et.columns[o.column.dataKey]){var r,i=et.columns[o.column.dataKey];void 0!==i.rect&&(t.contentWidth=i.rect.width,void 0!==et.heightRatio&&0!==et.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,et.heightRatio=t.styles.rowHeight/r),(r=o.row.raw[o.column.dataKey].rect.height*et.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=et.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=et.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=et.rowoptions[e.row.index+":"+e.column.dataKey];if(ft(t,e,r))if(et.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>et.dh||void 0===et.dh)&&(et.dh=i),et.dw=t.width/r.rect.width;var a=t.textPos.y;!function t(e,r,i){r.each(function(){var r=n(this).children(),a=0;if(n(this).is("div")){var s=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),d=this.getBoundingClientRect(),h=this.offsetLeft*i.dw;a=this.offsetTop*i.dh;var f=d.width*i.dw,u=d.height*i.dh;i.doc.setDrawColor.apply(void 0,l),i.doc.setFillColor.apply(void 0,s),i.doc.setLineWidth(c),i.doc.rect(e.x+h,e.y+a,f,u,c?"FD":"F")}else if(n(this).is("img")&&void 0!==i.images){var p=At(this.src),m=i.images[p];if(void 0!==m){var g=e.width/e.height,v=this.width/this.height,y=e.width,b=e.height;v<=g?(b=Math.min(e.height,this.height),y=this.width*b/this.height):v>g&&(y=Math.min(e.width,this.width),b=this.height*y/this.width),y*=19.049976/25.4,(b*=19.049976/25.4)0&&t(e,r,i)})}(t,r.kids,et),t.textPos.y=a,ut(t,r.kids,et)}else ut(t,{},et);return!1}),et.headerrows=[],(l=n(this).find("thead").find(o.theadSelector)).each(function(){t=0,et.headerrows[d]=[],dt(this,"th,td",d,l.length,function(e,o,n){var r=bt(e);r.title=gt(e,o,n),r.key=t++,r.rowIndex=d,et.headerrows[d].push(r)}),d++}),d>0)for(var r=d-1;r>=0;)n.each(et.headerrows[r],function(){var t=this;r>0&&null===this.rect&&(t=et.headerrows[r-1][this.key]),null!==t&&t.rowIndex>=0&&(!0!==t.style.hasOwnProperty("hidden")||!0!==t.style.hidden)&&et.columns.push(t)}),r=et.columns.length>0?-1:r-1;var a=0;c=[],c=it(n(this)),n(c).each(function(){var e=[];t=0,dt(this,"td,th",d,l.length+c.length,function(o,r,i){var s;void 0===et.columns[t]&&(s={title:"",key:t,style:{hidden:!0}},et.columns.push(s)),void 0!==o&&null!==o?((s=bt(o)).kids=n(o).children(),et.rowoptions[a+":"+t++]=s):((s=n.extend(!0,{},et.rowoptions[a+":"+(t-1)])).colspan=-1,et.rowoptions[a+":"+t++]=s),e.push(gt(o,r,i))}),e.length&&(et.rows.push(e),a++),d++}),"function"==typeof et.onBeforeAutotable&&et.onBeforeAutotable(n(this),et.columns,et.rows,e),et.doc.autoTable(et.columns,et.rows,e),"function"==typeof et.onAfterAutotable&&et.onAfterAutotable(n(this),e),o.jspdf.autotable.startY=et.doc.autoTableEndPosY()+e.margin.top}),ht(et.doc,void 0!==et.images&&!1===jQuery.isEmptyObject(et.images)),void 0!==et.headerrows&&(et.headerrows.length=0),void 0!==et.columns&&(et.columns.length=0),void 0!==et.rows&&(et.rows.length=0),delete et.doc,et.doc=null})}function it(t){var e=[];return at(t,"tbody").each(function(){e.push.apply(e,st(n(this),o.tbodySelector).toArray())}),o.tfootSelector.length&&at(t,"tfoot").each(function(){e.push.apply(e,st(n(this),o.tfootSelector).toArray())}),e}function at(t,e){var o=t.parents("table").length;return t.find(e).filter(function(){return n(this).closest("table").parents("table").length===o})}function st(t,e){return t.find(e).filter(function(){return 0===o.maxNestedTables||n(this).find("table").length=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)a(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)||f.length>r&&void 0!==f[r]&&-1!==n.inArray(f[r],o.ignoreColumn))&&(i=!0):i=!0,i}(i,l.length,t)&&((d||s)&&(d=d||1,s=s||1,u.push({s:{r:r,c:c},e:{r:r+d-1,c:c+s-1}})),a(this,r,c++)),s)for(e=0;e=this.s.r&&r<=this.e.r&&c>=this.s.c&&c<=this.e.c)for(P=0;P<=this.e.c-this.s.c;++P)a(null,r,c++)})}}}function ht(t,e){if("string"===o.outputMode)return t.output();if("base64"===o.outputMode)return Ot(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 r=t.width,a=t.textPos.x,s=e.table.columns.indexOf(e.column),l=1;l1&&("right"===t.styles.halign?a=t.textPos.x+r-t.width:"center"===t.styles.halign&&(a=t.textPos.x+(r-t.width)/2)),t.width=r,t.textPos.x=a,void 0!==o&&o.rowspan>1&&(t.height=t.height*o.rowspan),"middle"===t.styles.valign||"bottom"===t.styles.valign){var d="string"==typeof t.text?t.text.split(/\r\n|\r|\n/g):t.text,h=d.length||1;h>2&&(t.textPos.y-=(2-i)/2*e.row.styles.fontSize*(h-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,a={halign:t.styles.halign,valign:t.styles.valign};if(e.length){for(var s=e[0];s.previousSibling;)s=s.previousSibling;for(var l=!1,c=!1;s;){var d=s.innerText||s.textContent||"";d=(d.length&&" "===d[0]?" ":"")+n.trim(d)+(d.length>1&&" "===d[d.length-1]?" ":""),n(s).is("br")&&(r=t.textPos.x,i+=o.doc.internal.getFontSize()),n(s).is("b")?l=!0:n(s).is("i")&&(c=!0),(l||c)&&o.doc.setFontType(l&&c?"bolditalic":l?"bold":"italic");var h=o.doc.getStringUnitWidth(d)*o.doc.internal.getFontSize();if(h){if("linebreak"===t.styles.overflow&&r>t.textPos.x&&r+h>t.textPos.x+t.width){if(".,!%*;:=-".indexOf(d.charAt(0))>=0){var f=d.charAt(0);h=o.doc.getStringUnitWidth(f)*o.doc.internal.getFontSize(),r+h<=t.textPos.x+t.width&&(o.doc.autoTableText(f,r,i,a),d=d.substring(1,d.length)),h=o.doc.getStringUnitWidth(d)*o.doc.internal.getFontSize()}r=t.textPos.x,i+=o.doc.internal.getFontSize()}if("visible"!==t.styles.overflow)for(;d.length&&r+h>t.textPos.x+t.width;)d=d.substring(0,d.length-1),h=o.doc.getStringUnitWidth(d)*o.doc.internal.getFontSize();o.doc.autoTableText(d,r,i,a),r+=h}(l||c)&&(n(s).is("b")?l=!1:n(s).is("i")&&(c=!1),o.doc.setFontType(l||c?l?"bold":"italic":"normal")),s=s.nextSibling}t.textPos.x=r,t.textPos.y=i}else o.doc.autoTableText(t.text,t.textPos.x,t.textPos.y,a)}}function pt(t,e,o){return t.replace(new RegExp(function(t){return t.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1")}(e),"g"),o)}function mt(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 gt(t,e,r){var i="";if(null!==t){var a,s=n(t);if(s[0].hasAttribute("data-tableexport-value"))a=(a=s.data("tableexport-value"))?a+"":"";else if(a=s.html(),"function"==typeof o.onCellHtmlData)a=o.onCellHtmlData(s,e,r,a);else if(""!==a){var l=n.parseHTML(a),c=0,d=0;a="",n.each(l,function(){n(this).is("input")?a+=s.find("input").eq(c++).val():n(this).is("select")?a+=s.find("select option:selected").eq(d++).text():void 0===n(this).html()?a+=n(this).text():(void 0===jQuery().bootstrapTable||!0!==n(this).hasClass("filterControl")&&0===n(t).parents(".detail-view").length)&&(a+=n(this).html())})}if(!0===o.htmlContent)i=n.trim(a);else if(a&&""!==a){var h=n(t).data("tableexport-cellformat");if(""!==h){var f=a.replace(/\n/g,"\u2028").replace(//gi,"⁠"),u=n("
").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.mso.fileFormat||!1===o.numbers.output)!1!==(p=mt(i))&&(i=Number(p));else if((o.numbers.html.decimalMark!==o.numbers.output.decimalMark||o.numbers.html.thousandsSeparator!==o.numbers.output.thousandsSeparator)&&!1!==(p=mt(i))){var m=(""+p.substr(p<0?1:0)).split(".");1===m.length&&(m[1]="");var g=m[0].length>3?m[0].length%3:0;i=(p<0?"-":"")+(o.numbers.output.thousandsSeparator?(g?m[0].substr(0,g)+o.numbers.output.thousandsSeparator:"")+m[0].substr(g).replace(/(\d{3})(?=\d)/g,"$1"+o.numbers.output.thousandsSeparator):m[0])+(m[1].length?o.numbers.output.decimalMark+m[1]:"")}}else i=a}!0===o.escape&&(i=escape(i)),"function"==typeof o.onCellData&&(i=o.onCellData(s,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 bt(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:wt(t),rowspan:xt(t)};if(null!==t){var a=t.getBoundingClientRect();i.rect={width:a.width,height:a.height}}return i}function wt(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 xt(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;e0||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+Ot(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 Ot(t){var e,o,n,r,i,a,s,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",c="",d=0;for(t=function(t){if("string"==typeof t){t=t.replace(/\x0d\x0a/g,"\n");for(var e="",o=0;o127&&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);d>2,i=(3&e)<<4|o>>4,a=(15&o)<<2|n>>6,s=63&n,isNaN(o)?a=s=64:isNaN(n)&&(s=64),c=c+l.charAt(r)+l.charAt(i)+l.charAt(a)+l.charAt(s);return c}return this}},199:function(t,e,o){o(198)}});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);