!function(t,e){for(var n in e)t[n]=e[n]}(window,function(t){var e={};function n(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(o,r,function(e){return t[e]}.bind(null,r));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=726)}({726:function(t,e,n){n(727)},727:function(t,e,n){"use strict";
/**
 * @preserve tableExport.jquery.plugin
 *
 * Version 1.10.9
 *
 * Copyright (c) 2015-2019 hhurz, https://github.com/hhurz
 *
 * Original Work Copyright (c) 2014 Giri Raj
 *
 * Licensed under the MIT License
 **/var o;(o=jQuery).fn.tableExport=function(t){var e,n={csvEnclosure:'"',csvSeparator:",",csvUseBOM:!0,date:{html:"dd/mm/yyyy"},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:"inherit",valign:"middle"},headerStyles:{fillColor:[52,73,94],textColor:255,fontStyle:"bold",halign:"inherit",valign:"middle"},alternateRowStyles:{fillColor:245},tableExport:{doc:null,onAfterAutotable:null,onBeforeAutotable:null,onAutotableText:null,onTable:null,outputImages:!0}}},mso:{fileFormat:"xlshtml",onMsoNumberFormat:null,pageFormat:"a4",pageOrientation:"portrait",rtl:!1,styles:[],worksheetName:"",xslx:{formatId:{date:14,numbers:2}}},numbers:{html:{decimalMark:".",thousandsSeparator:","},output:{decimalMark:".",thousandsSeparator:","}},onAfterSaveToFile:null,onBeforeSaveToFile:null,onCellData:null,onCellHtmlData:null,onIgnoreRow:null,outputMode:"file",pdfmake:{enabled:!1,docDefinition:{pageOrientation:"portrait",defaultStyle:{font:"Roboto"}},fonts:{}},preserve:{leadingWS:!1,trailingWS:!1},preventInjection:!0,sql:{tableEnclosure:"`",columnEnclosure:"`"},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,l=null,s=[],c=[],d=0,h="",u=[],f=[],m=[],p=!1;if(o.extend(!0,n,t),"xlsx"===n.type&&(n.mso.fileFormat=n.type,n.type="excel"),void 0!==n.excelFileFormat&&"undefined"===n.mso.fileFormat&&(n.mso.fileFormat=n.excelFileFormat),void 0!==n.excelPageFormat&&"undefined"===n.mso.pageFormat&&(n.mso.pageFormat=n.excelPageFormat),void 0!==n.excelPageOrientation&&"undefined"===n.mso.pageOrientation&&(n.mso.pageOrientation=n.excelPageOrientation),void 0!==n.excelRTL&&"undefined"===n.mso.rtl&&(n.mso.rtl=n.excelRTL),void 0!==n.excelstyles&&"undefined"===n.mso.styles&&(n.mso.styles=n.excelstyles),void 0!==n.onMsoNumberFormat&&"undefined"===n.mso.onMsoNumberFormat&&(n.mso.onMsoNumberFormat=n.onMsoNumberFormat),void 0!==n.worksheetName&&"undefined"===n.mso.worksheetName&&(n.mso.worksheetName=n.worksheetName),n.mso.pageOrientation="l"===n.mso.pageOrientation.substr(0,1)?"landscape":"portrait",n.date.html=n.date.html||"",n.date.html.length){var g=[];g.dd="(3[01]|[12][0-9]|0?[1-9])",g.mm="(1[012]|0?[1-9])",g.yyyy="((?:1[6-9]|2[0-2])\\d{2})",g.yy="(\\d{2})";var v=n.date.html.match(/[^a-zA-Z0-9]/)[0],y=n.date.html.toLowerCase().split(v);n.date.regex="^\\s*",n.date.regex+=g[y[0]],n.date.regex+="(.)",n.date.regex+=g[y[1]],n.date.regex+="\\2",n.date.regex+=g[y[2]],n.date.regex+="\\s*$",n.date.pattern=new RegExp(n.date.regex,"g");var b=y.indexOf("dd")+1;n.date.match_d=b+(b>1?1:0),b=y.indexOf("mm")+1,n.date.match_m=b+(b>1?1:0),b=(y.indexOf("yyyy")||y.indexOf("yy"))+1,n.date.match_y=b+(b>1?1:0)}if(u=st(a),"csv"===n.type||"tsv"===n.type||"txt"===n.type){var x="",w=0;f=[],d=0;var S=function(t,e,r){return t.each((function(){h="",ht(this,e,d,r+t.length,(function(t,e,o){h+=function(t,e,o){var r="";if(null!==t){var i=wt(t,e,o),a=null===i||""===i?"":i.toString();"tsv"===n.type?(i instanceof Date&&i.toLocaleString(),r=gt(a,"\t"," ")):i instanceof Date?r=n.csvEnclosure+i.toLocaleString()+n.csvEnclosure:((r=gt(r=St(a),n.csvEnclosure,n.csvEnclosure+n.csvEnclosure)).indexOf(n.csvSeparator)>=0||/[\r\n ]/g.test(r))&&(r=n.csvEnclosure+r+n.csvEnclosure)}return r}(t,e,o)+("tsv"===n.type?"\t":n.csvSeparator)})),(h=o.trim(h).substring(0,h.length-1)).length>0&&(x.length>0&&(x+="\n"),x+=h),d++})),t.length};if(w+=S(o(a).find("thead").first().find(n.theadSelector),"th,td",w),lt(o(a),"tbody").each((function(){w+=S(lt(o(this),n.tbodySelector),"td,th",w)})),n.tfootSelector.length&&S(o(a).find("tfoot").first().find(n.tfootSelector),"td,th",w),x+="\n","string"===n.outputMode)return x;if("base64"===n.outputMode)return Dt(x);if("window"===n.outputMode)return void Pt(!1,"data:text/"+("csv"===n.type?"csv":"plain")+";charset=utf-8,",x);It(x,n.fileName+"."+n.type,"text/"+("csv"===n.type?"csv":"plain"),"utf-8","","csv"===n.type&&n.csvUseBOM)}else if("sql"===n.type){d=0,f=[];var C="INSERT INTO "+n.sql.tableEnclosure+n.tableName+n.sql.tableEnclosure+" (";if(s=it(o(a)),o(s).each((function(){ht(this,"th,td",d,s.length,(function(t,e,o){C+=n.sql.columnEnclosure+wt(t,e,o)+n.sql.columnEnclosure+","})),d++,C=o.trim(C).substring(0,C.length-1)})),C+=") VALUES ",c=at(o(a)),o(c).each((function(){h="",ht(this,"td,th",d,s.length+c.length,(function(t,e,n){h+="'"+wt(t,e,n)+"',"})),h.length>3&&(C+="("+h,C=o.trim(C).substring(0,C.length-1),C+="),"),d++})),C=o.trim(C).substring(0,C.length-1),C+=";","string"===n.outputMode)return C;if("base64"===n.outputMode)return Dt(C);It(C,n.fileName+".sql","application/sql","utf-8","",!1)}else if("json"===n.type){var N=[];f=[],s=it(o(a)),o(s).each((function(){var t=[];ht(this,"th,td",d,s.length,(function(e,n,o){t.push(wt(e,n,o))})),N.push(t)}));var F=[];c=at(o(a)),o(c).each((function(){var t={},e=0;ht(this,"td,th",d,s.length+c.length,(function(n,o,r){N.length?t[N[N.length-1][e]]=wt(n,o,r):t[e]=wt(n,o,r),e++})),!1===o.isEmptyObject(t)&&F.push(t),d++}));var k="";if(k="head"===n.jsonScope?JSON.stringify(N):"data"===n.jsonScope?JSON.stringify(F):JSON.stringify({header:N,data:F}),"string"===n.outputMode)return k;if("base64"===n.outputMode)return Dt(k);It(k,n.fileName+".json","application/json","utf-8","base64",!1)}else if("xml"===n.type){d=0,f=[];var A='<?xml version="1.0" encoding="utf-8"?>';A+="<tabledata><fields>",s=it(o(a)),o(s).each((function(){ht(this,"th,td",d,s.length,(function(t,e,n){A+="<field>"+wt(t,e,n)+"</field>"})),d++})),A+="</fields><data>";var T=1;if(c=at(o(a)),o(c).each((function(){var t=1;h="",ht(this,"td,th",d,s.length+c.length,(function(e,n,o){h+="<column-"+t+">"+wt(e,n,o)+"</column-"+t+">",t++})),h.length>0&&"<column-1></column-1>"!==h&&(A+='<row id="'+T+'">'+h+"</row>",T++),d++})),A+="</data></tabledata>","string"===n.outputMode)return A;if("base64"===n.outputMode)return Dt(A);It(A,n.fileName+".xml","application/xml","utf-8","base64",!1)}else if("excel"===n.type&&"xmlss"===n.mso.fileFormat){var O=[],R=[];o(a).filter((function(){return ct(o(this))})).each((function(){var t=o(this),e="";function r(t,e,n){var r=[];return o(t).each((function(){var e=0,i=0;h="",ht(this,"td,th",d,n+t.length,(function(t,n,a){if(null!==t){var l="",s=wt(t,n,a),c="String";if(!1!==jQuery.isNumeric(s))c="Number";else{var u=((p=s).indexOf("%")>-1?!1!==(p=xt(p.replace(/%/g,"")))&&(p/=100):p=!1,p);!1!==u&&(s=u,c="Number",l+=' ss:StyleID="pct1"')}"Number"!==c&&(s=s.replace(/\n/g,"<br>"));var f=kt(t),m=At(t);o.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++})),(m||f)&&(m=m||1,f=f||1,r.push({s:{r:d,c:i},e:{r:d+m-1,c:i+f-1}})),f>1&&(l+=' ss:MergeAcross="'+(f-1)+'"',i+=f-1),m>1&&(l+=' ss:MergeDown="'+(m-1)+'" ss:StyleID="rsp1"'),e>0&&(l+=' ss:Index="'+(i+1)+'"',e=0),h+="<Cell"+l+'><Data ss:Type="'+c+'">'+o("<div />").text(s).html()+"</Data></Cell>\r",i++}var p})),h.length>0&&(q+='<Row ss:AutoFitHeight="0">\r'+h+"</Row>\r"),d++})),t.length}"string"==typeof n.mso.worksheetName&&n.mso.worksheetName.length?e=n.mso.worksheetName+" "+(R.length+1):void 0!==n.mso.worksheetName[R.length]&&(e=n.mso.worksheetName[R.length]),e.length||(e=t.find("caption").text()||""),e.length||(e="Table "+(R.length+1)),e=o.trim(e.replace(/[\\\/[\]*:?'"]/g,"").substring(0,31)),R.push(o("<div />").text(e).html()),!1===n.exportHiddenCells&&(m=t.find("tr, th, td").filter(":hidden"),p=m.length>0),d=0,u=st(this),q="<Table>\r";var i=r(it(t),0,0);r(at(t),0,i),q+="</Table>\r",O.push(q)}));for(var j,E,M={},I={},P=0,D=R.length;P<D;P++)E=M[j=R[P]],2===(E=M[j]=null==E?1:E+1)&&(R[I[j]]=R[I[j]].substring(0,29)+"-1"),M[j]>1?R[P]=R[P].substring(0,29)+"-"+M[j]:I[j]=P;for(var W='<?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>'+(new Date).toISOString()+'</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',L=0;L<O.length;L++)W+='<Worksheet ss:Name="'+R[L]+'" ss:RightToLeft="'+(n.mso.rtl?"1":"0")+'">\r'+O[L],n.mso.rtl?W+='<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">\r<DisplayRightToLeft/>\r</WorksheetOptions>\r':W+='<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel"/>\r',W+="</Worksheet>\r";if(W+="</Workbook>\r","string"===n.outputMode)return W;if("base64"===n.outputMode)return Dt(W);It(W,n.fileName+".xml","application/xml","utf-8","base64",!1)}else if("excel"===n.type&&"xlsx"===n.mso.fileFormat){var U=[],B=XLSX.utils.book_new();o(a).filter((function(){return ct(o(this))})).each((function(){var t=o(this),e=function(t){for(var e,r,i,a,l,s={},c=t.getElementsByTagName("tr"),h={s:{r:0,c:0},e:{r:0,c:0}},u=[],f=0,m=[],p=0,g=0;p<c.length&&g<1e7;++p){var v=c[p],y=!1;if("function"==typeof n.onIgnoreRow&&(y=n.onIgnoreRow(o(v),p)),!1===y&&-1===o.inArray(d,n.ignoreRow)&&-1===o.inArray(d-T,n.ignoreRow)&&ct(o(v))){var b=v.children,x=0;for(e=0;e<b.length;++e)l=b[e],a=+kt(l)||1,x+=a;var w=0;for(e=r=0;e<b.length;++e){l=b[e],a=+kt(l)||1;var S=e+w;if(!dt(o(l),x,S+(S<r?r-S:0))){for(w+=a-1,f=0;f<u.length;++f){var C=u[f];C.s.c==r&&C.s.r<=g&&g<=C.e.r&&(r=C.e.c+1,f=-1)}((i=+At(l))>0||a>1)&&u.push({s:{r:g,c:r},e:{r:g+(i||1)-1,c:r+a-1}});var N={type:""},F=wt(l,p,e+w,N),k={t:"s",v:F},A=o(l).attr("data-tableexport-xlsxformatid")||0,O="s";"number"===N.type||A>0&&A<14||A>36&&A<41||48===A?O="n":("date"===N.type||A>13&&A<37||A>44&&A<48||56===A)&&(O="d");var R=XLSX.SSF.get_table();null!=F&&(0===F.length?k.t=O||"z":0===F.trim().length||"s"===O||("TRUE"===F?k={t:"b",v:!0}:"FALSE"===F?k={t:"b",v:!1}:"n"!==O&&isNaN(Et(F))?"d"!==O&&!1===bt(F)||(A=A||n.mso.xslx.formatId.date,(k={t:"d",v:bt(F)}).z=A>0?R[A]:"m/d/yy"):(A=A||n.mso.xslx.formatId.numbers,(k={t:"n",v:Et(F)}).z=A>0?R[A]:"0.00"))),s[Rt({c:r,r:g})]=k,h.e.c<r&&(h.e.c=r),r+=a}}++g}}return u.length&&(s["!merges"]=u),m.length&&(s["!rows"]=m),h.e.r=g-1,s["!ref"]=jt(h),g>=1e7&&(s["!fullref"]=jt((h.e.r=c.length-p+g-1,h))),s}(this),r="";"string"==typeof n.mso.worksheetName&&n.mso.worksheetName.length?r=n.mso.worksheetName+" "+(U.length+1):void 0!==n.mso.worksheetName[U.length]&&(r=n.mso.worksheetName[U.length]),r.length||(r=t.find("caption").text()||""),r.length||(r="Table "+(U.length+1)),r=o.trim(r.replace(/[\\\/[\]*:?'"]/g,"").substring(0,31)),U.push(r),XLSX.utils.book_append_sheet(B,e,r)})),It(function(t){for(var e=new ArrayBuffer(t.length),n=new Uint8Array(e),o=0;o!==t.length;++o)n[o]=255&t.charCodeAt(o);return e}(XLSX.write(B,{type:"binary",bookType:n.mso.fileFormat,bookSST:!1})),n.fileName+"."+n.mso.fileFormat,"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","UTF-8","",!1)}else if("excel"===n.type||"xls"===n.type||"word"===n.type||"doc"===n.type){var H="excel"===n.type||"xls"===n.type?"excel":"word",z="excel"===H?"xls":"doc",_='xmlns:x="urn:schemas-microsoft-com:office:'+H+'"',q="",K="";o(a).filter((function(){return ct(o(this))})).each((function(){var t=o(this);""===K&&(K=n.mso.worksheetName||t.find("caption").text()||"Table",K=o.trim(K.replace(/[\\\/[\]*:?'"]/g,"").substring(0,31))),!1===n.exportHiddenCells&&(m=t.find("tr, th, td").filter(":hidden"),p=m.length>0),d=0,f=[],u=st(this),q+="<table><thead>",s=it(t),o(s).each((function(){var t=o(this);h="",ht(this,"th,td",d,s.length,(function(e,o,r){if(null!==e){var i="";if(h+="<th",n.mso.styles.length){var a=document.defaultView.getComputedStyle(e,null),l=document.defaultView.getComputedStyle(t[0],null);for(var s in n.mso.styles){var c=a[n.mso.styles[s]];""===c&&(c=l[n.mso.styles[s]]),""!==c&&"0px none rgb(0, 0, 0)"!==c&&"rgba(0, 0, 0, 0)"!==c&&(i+=""===i?'style="':";",i+=n.mso.styles[s]+":"+c)}}""!==i&&(h+=" "+i+'"');var d=kt(e);d>0&&(h+=' colspan="'+d+'"');var u=At(e);u>0&&(h+=' rowspan="'+u+'"'),h+=">"+wt(e,o,r)+"</th>"}})),h.length>0&&(q+="<tr>"+h+"</tr>"),d++})),q+="</thead><tbody>",c=at(t),o(c).each((function(){var t=o(this);h="",ht(this,"td,th",d,s.length+c.length,(function(e,r,i){if(null!==e){var a=wt(e,r,i),l="",s=o(e).attr("data-tableexport-msonumberformat");if(void 0===s&&"function"==typeof n.mso.onMsoNumberFormat&&(s=n.mso.onMsoNumberFormat(e,r,i)),void 0!==s&&""!==s&&(l="style=\"mso-number-format:'"+s+"'"),n.mso.styles.length){var c=document.defaultView.getComputedStyle(e,null),d=document.defaultView.getComputedStyle(t[0],null);for(var u in n.mso.styles)""===(s=c[n.mso.styles[u]])&&(s=d[n.mso.styles[u]]),""!==s&&"0px none rgb(0, 0, 0)"!==s&&"rgba(0, 0, 0, 0)"!==s&&(l+=""===l?'style="':";",l+=n.mso.styles[u]+":"+s)}h+="<td",""!==l&&(h+=" "+l+'"');var f=kt(e);f>0&&(h+=' colspan="'+f+'"');var m=At(e);m>0&&(h+=' rowspan="'+m+'"'),"string"==typeof a&&""!==a&&(a=(a=St(a)).replace(/\n/g,"<br>")),h+=">"+a+"</td>"}})),h.length>0&&(q+="<tr>"+h+"</tr>"),d++})),n.displayTableName&&(q+="<tr><td></td></tr><tr><td></td></tr><tr><td>"+wt(o("<p>"+n.tableName+"</p>"))+"</td></tr>"),q+="</tbody></table>"}));var X='<html xmlns:o="urn:schemas-microsoft-com:office:office" '+_+' xmlns="http://www.w3.org/TR/REC-html40">';if(X+='<meta http-equiv="content-type" content="application/vnd.ms-'+H+'; charset=UTF-8">',X+="<head>","excel"===H&&(X+="\x3c!--[if gte mso 9]>",X+="<xml>",X+="<x:ExcelWorkbook>",X+="<x:ExcelWorksheets>",X+="<x:ExcelWorksheet>",X+="<x:Name>",X+=K,X+="</x:Name>",X+="<x:WorksheetOptions>",X+="<x:DisplayGridlines/>",n.mso.rtl&&(X+="<x:DisplayRightToLeft/>"),X+="</x:WorksheetOptions>",X+="</x:ExcelWorksheet>",X+="</x:ExcelWorksheets>",X+="</x:ExcelWorkbook>",X+="</xml>",X+="<![endif]--\x3e"),X+="<style>",X+="@page { size:"+n.mso.pageOrientation+"; mso-page-orientation:"+n.mso.pageOrientation+"; }",X+="@page Section1 {size:"+r[n.mso.pageFormat][0]+"pt "+r[n.mso.pageFormat][1]+"pt",X+="; margin:1.0in 1.25in 1.0in 1.25in;mso-header-margin:.5in;mso-footer-margin:.5in;mso-paper-source:0;}",X+="div.Section1 {page:Section1;}",X+="@page Section2 {size:"+r[n.mso.pageFormat][1]+"pt "+r[n.mso.pageFormat][0]+"pt",X+=";mso-page-orientation:"+n.mso.pageOrientation+";margin:1.25in 1.0in 1.25in 1.0in;mso-header-margin:.5in;mso-footer-margin:.5in;mso-paper-source:0;}",X+="div.Section2 {page:Section2;}",X+="br {mso-data-placement:same-cell;}",X+="</style>",X+="</head>",X+="<body>",X+='<div class="Section'+("landscape"===n.mso.pageOrientation?"2":"1")+'">',X+=q,X+="</div>",X+="</body>",X+="</html>","string"===n.outputMode)return X;if("base64"===n.outputMode)return Dt(X);It(X,n.fileName+"."+z,"application/vnd.ms-"+H,"","base64",!1)}else if("png"===n.type)html2canvas(o(a)[0]).then((function(t){for(var e=t.toDataURL(),o=atob(e.substring(22)),r=new ArrayBuffer(o.length),i=new Uint8Array(r),a=0;a<o.length;a++)i[a]=o.charCodeAt(a);return"string"===n.outputMode?o:"base64"===n.outputMode?Dt(e):void("window"!==n.outputMode?It(r,n.fileName+".png","image/png","","",!1):window.open(e))}));else if("pdf"===n.type)if(!0===n.pdfmake.enabled){var V=[],$=[];d=0,f=[];for(var Q=function(t,e,n){var r=0;return o(t).each((function(){var t=[];ht(this,e,d,n,(function(e,n,o){if(null!=e){var r=kt(e),i=At(e),a=wt(e,n,o)||" ";r>1||i>1?(r=r||1,i=i||1,t.push({colSpan:r,rowSpan:i,text:a})):t.push(a)}else t.push(" ")})),t.length&&$.push(t),r<t.length&&(r=t.length),d++})),r},Y=Q(s=it(o(this)),"th,td",s.length),J=V.length;J<Y;J++)V.push("*");Q(c=at(o(this)),"th,td",s.length+c.length);var G={content:[{table:{headerRows:s.length,widths:V,body:$}}]};o.extend(!0,G,n.pdfmake.docDefinition),pdfMake.fonts={Roboto:{normal:"Roboto-Regular.ttf",bold:"Roboto-Medium.ttf",italics:"Roboto-Italic.ttf",bolditalics:"Roboto-MediumItalic.ttf"}},o.extend(!0,pdfMake.fonts,n.pdfmake.fonts),pdfMake.createPdf(G).getBuffer((function(t){It(t,n.fileName+".pdf","application/pdf","","",!1)}))}else if(!1===n.jspdf.autotable){var Z={dim:{w:Ot(o(a).first().get(0),"width","mm"),h:Ot(o(a).first().get(0),"height","mm")},pagesplit:!1},tt=new jsPDF(n.jspdf.orientation,n.jspdf.unit,n.jspdf.format);tt.addHTML(o(a).first(),n.jspdf.margins.left,n.jspdf.margins.top,Z,(function(){ft(tt,!1)}))}else{var et=n.jspdf.autotable.tableExport;if("string"==typeof n.jspdf.format&&"bestfit"===n.jspdf.format.toLowerCase()){var nt="",ot="",rt=0;o(a).each((function(){if(ct(o(this))){var t=Ot(o(this).get(0),"width","pt");if(t>rt){for(var e in t>r.a0[0]&&(nt="a0",ot="l"),r)r.hasOwnProperty(e)&&r[e][1]>t&&(nt=e,ot="l",r[e][0]>t&&(ot="p"));rt=t}}})),n.jspdf.format=""===nt?"a4":nt,n.jspdf.orientation=""===ot?"w":ot}null==et.doc&&(et.doc=new jsPDF(n.jspdf.orientation,n.jspdf.unit,n.jspdf.format),et.wScaleFactor=1,et.hScaleFactor=1,"function"==typeof n.jspdf.onDocCreated&&n.jspdf.onDocCreated(et.doc)),!0===et.outputImages&&(et.images={}),void 0!==et.images&&(o(a).filter((function(){return ct(o(this))})).each((function(){var t=0;f=[],!1===n.exportHiddenCells&&(m=o(this).find("tr, th, td").filter(":hidden"),p=m.length>0),s=it(o(this)),c=at(o(this)),o(c).each((function(){ht(this,"td,th",s.length+t,s.length+c.length,(function(t){!function t(e,n,r){if(null!=e)if(e.hasAttribute("data-tableexport-canvas")){var i=(new Date).getTime();o(e).attr("data-tableexport-canvas",i),r.images[i]={url:'[data-tableexport-canvas="'+i+'"]',src:null}}else"undefined"!==n&&null!=n&&n.each((function(){if(o(this).is("img")){var n=Mt(this.src);r.images[n]={url:this.src,src:this.src}}t(e,o(this).children(),r)}))}(t,o(t).children(),et)})),t++}))})),s=[],c=[]),function(t,e){var n=0,r=0;function i(){e(n)}function a(t){if(t.url)if(t.src){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 n=document.createElement("canvas"),o=n.getContext("2d");n.width=e.width,n.height=e.height,o.drawImage(e,0,0),t.src=n.toDataURL("image/png")}--r||i()},e.src=t.url}else{var a=o(t.url);a.length&&(n=++r,html2canvas(a[0]).then((function(e){t.src=e.toDataURL("image/png"),--r||i()})))}}if(void 0!==t.images)for(var l in t.images)t.images.hasOwnProperty(l)&&a(t.images[l]);r||i()}(et,(function(){o(a).filter((function(){return ct(o(this))})).each((function(){var t;if(d=0,f=[],!1===n.exportHiddenCells&&(m=o(this).find("tr, th, td").filter(":hidden"),p=m.length>0),u=st(this),et.columns=[],et.rows=[],et.teCells={},"function"==typeof et.onTable&&!1===et.onTable(o(this),n))return!0;n.jspdf.autotable.tableExport=null;var e=o.extend(!0,{},n.jspdf.autotable);if(n.jspdf.autotable.tableExport=et,e.margin={},o.extend(!0,e.margin,n.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);o.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,n){if(t.styles=o.extend({},n.row.styles),void 0!==et.columns[n.column.dataKey]){var r,i=et.columns[n.column.dataKey];void 0!==i.rect&&(t.contentWidth=i.rect.width,void 0!==et.heightRatio&&0!==et.heightRatio||(r=n.row.raw[n.column.dataKey].rowspan?n.row.raw[n.column.dataKey].rect.height/n.row.raw[n.column.dataKey].rowspan:n.row.raw[n.column.dataKey].rect.height,et.heightRatio=t.styles.rowHeight/r),(r=n.row.raw[n.column.dataKey].rect.height*et.heightRatio)>t.styles.rowHeight&&(t.styles.rowHeight=r)),t.styles.halign="inherit"===e.headerStyles.halign?"center":e.headerStyles.halign,t.styles.valign=e.headerStyles.valign,void 0!==i.style&&!0!==i.style.hidden&&("inherit"===e.headerStyles.halign&&(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,n){var o=et.teCells[n.row.index+":"+n.column.dataKey];t.styles.halign="inherit"===e.styles.halign?"center":e.styles.halign,t.styles.valign=e.styles.valign,void 0!==o&&void 0!==o.style&&!0!==o.style.hidden&&("inherit"===e.styles.halign&&(t.styles.halign=o.style.align),"inherit"===e.styles.fillColor&&(t.styles.fillColor=o.style.bcolor),"inherit"===e.styles.textColor&&(t.styles.textColor=o.style.color),"inherit"===e.styles.fontStyle&&(t.styles.fontStyle=o.style.fstyle))}),"function"!=typeof e.drawHeaderCell&&(e.drawHeaderCell=function(t,e){var n=et.columns[e.column.dataKey];return(!0!==n.style.hasOwnProperty("hidden")||!0!==n.style.hidden)&&n.rowIndex>=0&&mt(t,e,n)}),"function"!=typeof e.drawCell&&(e.drawCell=function(t,e){var r=et.teCells[e.row.index+":"+e.column.dataKey];if(!0!==(void 0!==r&&r.isCanvas)){if(mt(t,e,r))if(et.doc.rect(t.x,t.y,t.width,t.height,t.styles.fillStyle),void 0!==r&&void 0!==r.elements&&r.elements.length){var i=t.height/r.rect.height;i>et.hScaleFactor&&(et.hScaleFactor=i),et.wScaleFactor=t.width/r.rect.width;var a=t.textPos.y;!function t(e,r,i){r.each((function(){if(o(this).is("div")){var r=Nt(Tt(this,"background-color"),[255,255,255]),a=Nt(Tt(this,"border-top-color"),[0,0,0]),l=Ot(this,"border-top-width",n.jspdf.unit),s=this.getBoundingClientRect(),c=this.offsetLeft*i.wScaleFactor,d=this.offsetTop*i.hScaleFactor,h=s.width*i.wScaleFactor,u=s.height*i.hScaleFactor;i.doc.setDrawColor.apply(void 0,a),i.doc.setFillColor.apply(void 0,r),i.doc.setLineWidth(l),i.doc.rect(e.x+c,e.y+d,h,u,l?"FD":"F")}else if(o(this).is("img")){var f=Mt(this.src);ut(e,this,f,i)}t(e,o(this).children(),i)}))}(t,r.elements,et),t.textPos.y=a,pt(t,r.elements,et)}else pt(t,{},et)}else{var l=r.elements[0],s=o(l).attr("data-tableexport-canvas"),c=l.getBoundingClientRect();t.width=c.width*et.wScaleFactor,t.height=c.height*et.hScaleFactor,e.row.height=t.height,ut(t,l,s,et)}return!1}),et.headerrows=[],s=it(o(this)),o(s).each((function(){t=0,et.headerrows[d]=[],ht(this,"th,td",d,s.length,(function(e,n,o){var r=Ft(e);r.title=wt(e,n,o),r.key=t++,r.rowIndex=d,et.headerrows[d].push(r)})),d++})),d>0)for(var r=d-1;r>=0;)o.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=at(o(this)),o(c).each((function(){var e=[];t=0,ht(this,"td,th",d,s.length+c.length,(function(n,r,i){var l;void 0===et.columns[t]&&(l={title:"",key:t,style:{hidden:!0}},et.columns.push(l)),null!=n?((l=Ft(n)).isCanvas=n.hasAttribute("data-tableexport-canvas"),l.elements=l.isCanvas?o(n):o(n).children(),et.teCells[a+":"+t++]=l):((l=o.extend(!0,{},et.teCells[a+":"+(t-1)])).colspan=-1,et.teCells[a+":"+t++]=l),e.push(wt(n,r,i))})),e.length&&(et.rows.push(e),a++),d++})),"function"==typeof et.onBeforeAutotable&&et.onBeforeAutotable(o(this),et.columns,et.rows,e),et.doc.autoTable(et.columns,et.rows,e),"function"==typeof et.onAfterAutotable&&et.onAfterAutotable(o(this),e),n.jspdf.autotable.startY=et.doc.autoTableEndPosY()+e.margin.top})),ft(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 lt(t,"thead").each((function(){e.push.apply(e,lt(o(this),n.theadSelector).toArray())})),e}function at(t){var e=[];return lt(t,"tbody").each((function(){e.push.apply(e,lt(o(this),n.tbodySelector).toArray())})),n.tfootSelector.length&&lt(t,"tfoot").each((function(){e.push.apply(e,lt(o(this),n.tfootSelector).toArray())})),e}function lt(t,e){var n=t[0].tagName,r=t.parents(n).length;return t.find(e).filter((function(){return r===o(this).closest(n).parents(n).length}))}function st(t){var e=[];return o(t).find("thead").first().find("th").each((function(t,n){void 0!==o(n).attr("data-field")?e[t]=o(n).attr("data-field"):e[t]=t.toString()})),e}function ct(t){var e=void 0!==t[0].rowIndex,n=!1===e&&void 0!==t[0].cellIndex,r=n||e?function(t){var e=[];return p&&(e=m.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}))),!1===p||0===e.length}(t):t.is(":visible"),i=t.attr("data-tableexport-display");return n&&"none"!==i&&"always"!==i&&(e=void 0!==(t=o(t[0].parentNode))[0].rowIndex,i=t.attr("data-tableexport-display")),e&&"none"!==i&&"always"!==i&&(i=t.closest("table").attr("data-tableexport-display")),"none"!==i&&(!0===r||"always"===i)}function dt(t,e,r){var i=!1;return ct(t)?n.ignoreColumn.length>0&&(-1!==o.inArray(r,n.ignoreColumn)||-1!==o.inArray(r-e,n.ignoreColumn)||u.length>r&&void 0!==u[r]&&-1!==o.inArray(u[r],n.ignoreColumn))&&(i=!0):i=!0,i}function ht(t,e,r,i,a){if("function"==typeof a){var l=!1;if("function"==typeof n.onIgnoreRow&&(l=n.onIgnoreRow(o(t),r)),!1===l&&(0===n.ignoreRow.length||-1===o.inArray(r,n.ignoreRow)&&-1===o.inArray(r-i,n.ignoreRow))&&ct(o(t))){var s=lt(o(t),e),c=0;s.each((function(t){var e,n=o(this),i=kt(this),l=At(this);if(o.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)a(null,r,c++)})),!1===dt(n,s.length,t)&&((l||i)&&(l=l||1,i=i||1,f.push({s:{r:r,c:c},e:{r:r+l-1,c:c+i-1}})),a(this,r,c++)),i)for(e=0;e<i-1;++e)a(null,r,c++)})),o.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)a(null,r,c++)}))}}}function ut(t,e,n,o){if(void 0!==o.images){var r=o.images[n];if(void 0!==r){var i=e.getBoundingClientRect(),a=t.width/t.height,l=i.width/i.height,s=t.width,c=t.height,d=0;l<=a?(c=Math.min(t.height,i.height),s=i.width*c/i.height):l>a&&(s=Math.min(t.width,i.width),c=i.height*s/i.width),s*=19.049976/25.4,(c*=19.049976/25.4)<t.height&&(d=(t.height-c)/2);try{o.doc.addImage(r.src,t.textPos.x,t.y+d,s,c)}catch(t){}t.textPos.x+=s}}}function ft(t,e){if("string"===n.outputMode)return t.output();if("base64"===n.outputMode)return Dt(t.output());if("window"===n.outputMode)return window.URL=window.URL||window.webkitURL,void window.open(window.URL.createObjectURL(t.output("blob")));try{var o=t.output("blob");saveAs(o,n.fileName+".pdf")}catch(o){Pt(n.fileName+".pdf","data:application/pdf"+(e?"":";base64")+",",e?t.output("blob"):t.output())}}function mt(t,e,n){var o=0;if(void 0!==n&&(o=n.colspan),o>=0){for(var r=t.width,a=t.textPos.x,l=e.table.columns.indexOf(e.column),s=1;s<o;s++)r+=e.table.columns[l+s].width;if(o>1&&("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!==n&&n.rowspan>1&&(t.height=t.height*n.rowspan),"middle"===t.styles.valign||"bottom"===t.styles.valign){var c=("string"==typeof t.text?t.text.split(/\r\n|\r|\n/g):t.text).length||1;c>2&&(t.textPos.y-=(2-i)/2*e.row.styles.fontSize*(c-2)/3)}return!0}return!1}function pt(t,e,r){if("function"==typeof r.onAutotableText)r.onAutotableText(r.doc,t,e);else{var i=t.textPos.x,a=t.textPos.y,l={halign:t.styles.halign,valign:t.styles.valign};if(e.length){for(var s=e[0];s.previousSibling;)s=s.previousSibling;for(var c=!1,d=!1;s;){var h=s.innerText||s.textContent||"",u=h.length&&" "===h[0]?" ":"",f=h.length>1&&" "===h[h.length-1]?" ":"";!0!==n.preserve.leadingWS&&(h=u+vt(h)),!0!==n.preserve.trailingWS&&(h=yt(h)+f),o(s).is("br")&&(i=t.textPos.x,a+=r.doc.internal.getFontSize()),o(s).is("b")?c=!0:o(s).is("i")&&(d=!0),(c||d)&&r.doc.setFontType(c&&d?"bolditalic":c?"bold":"italic");var m=r.doc.getStringUnitWidth(h)*r.doc.internal.getFontSize();if(m){if("linebreak"===t.styles.overflow&&i>t.textPos.x&&i+m>t.textPos.x+t.width){if(".,!%*;:=-".indexOf(h.charAt(0))>=0){var p=h.charAt(0);i+(m=r.doc.getStringUnitWidth(p)*r.doc.internal.getFontSize())<=t.textPos.x+t.width&&(r.doc.autoTableText(p,i,a,l),h=h.substring(1,h.length)),m=r.doc.getStringUnitWidth(h)*r.doc.internal.getFontSize()}i=t.textPos.x,a+=r.doc.internal.getFontSize()}if("visible"!==t.styles.overflow)for(;h.length&&i+m>t.textPos.x+t.width;)h=h.substring(0,h.length-1),m=r.doc.getStringUnitWidth(h)*r.doc.internal.getFontSize();r.doc.autoTableText(h,i,a,l),i+=m}(c||d)&&(o(s).is("b")?c=!1:o(s).is("i")&&(d=!1),r.doc.setFontType(c||d?c?"bold":"italic":"normal")),s=s.nextSibling}t.textPos.x=i,t.textPos.y=a}else r.doc.autoTableText(t.text,t.textPos.x,t.textPos.y,l)}}function gt(t,e,n){return null==t?"":t.toString().replace(new RegExp(function(t){return null==t?"":t.toString().replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1")}(e),"g"),n)}function vt(t){return null==t?"":t.toString().replace(/^\s+/,"")}function yt(t){return null==t?"":t.toString().replace(/\s+$/,"")}function bt(t){n.date.pattern.lastIndex=0;var e=n.date.pattern.exec(t);if(null==e)return!1;var o=+e[n.date.match_y];if(o<0||o>8099)return!1;var r=1*e[n.date.match_m],i=1*e[n.date.match_d];if(isNaN(i))return!1;var a=new Date(o,r-1,i);return a.getFullYear()===o&&a.getMonth()===r-1&&a.getDate()===i&&a}function xt(t){return t=gt(t=t||"0",n.numbers.html.thousandsSeparator,""),("number"==typeof(t=gt(t,n.numbers.html.decimalMark,"."))||!1!==jQuery.isNumeric(t))&&t}function wt(t,e,r,i){var a="",l="text";if(null!==t){var s,c=o(t);if(c[0].hasAttribute("data-tableexport-canvas"))s="";else if(c[0].hasAttribute("data-tableexport-value"))s=(s=c.attr("data-tableexport-value"))?s+"":"";else if(s=c.html(),"function"==typeof n.onCellHtmlData)s=n.onCellHtmlData(c,e,r,s);else if(""!==s){var d=o.parseHTML(s),h=0,u=0;s="",o.each(d,(function(){o(this).is("input")?s+=c.find("input").eq(h++).val():o(this).is("select")?s+=c.find("select option:selected").eq(u++).text():o(this).is("br")?s+="<br>":void 0===o(this).html()?s+=o(this).text():(void 0===jQuery().bootstrapTable||!1===o(this).hasClass("fht-cell")&&!1===o(this).hasClass("filterControl")&&0===c.parents(".detail-view").length)&&(s+=o(this).html())}))}if(!0===n.htmlContent)a=o.trim(s);else if(s&&""!==s)if(""!==o(t).attr("data-tableexport-cellformat")){var f=s.replace(/\n/g,"\u2028").replace(/(<\s*br([^>]*)>)/gi,"⁠"),m=o("<div/>").html(f).contents(),p=!1;if(f="",o.each(m.text().split("\u2028"),(function(t,e){t>0&&(f+=" "),!0!==n.preserve.leadingWS&&(e=vt(e)),f+=!0!==n.preserve.trailingWS?yt(e):e})),o.each(f.split("⁠"),(function(t,e){t>0&&(a+="\n"),!0!==n.preserve.leadingWS&&(e=vt(e)),!0!==n.preserve.trailingWS&&(e=yt(e)),a+=e.replace(/\u00AD/g,"")})),a=a.replace(/\u00A0/g," "),"json"===n.type||"excel"===n.type&&"xmlss"===n.mso.fileFormat||!1===n.numbers.output)!1!==(p=xt(a))&&(l="number",a=Number(p));else if((n.numbers.html.decimalMark!==n.numbers.output.decimalMark||n.numbers.html.thousandsSeparator!==n.numbers.output.thousandsSeparator)&&!1!==(p=xt(a))){var g=(""+p.substr(p<0?1:0)).split(".");1===g.length&&(g[1]="");var v=g[0].length>3?g[0].length%3:0;l="number",a=(p<0?"-":"")+(n.numbers.output.thousandsSeparator?(v?g[0].substr(0,v)+n.numbers.output.thousandsSeparator:"")+g[0].substr(v).replace(/(\d{3})(?=\d)/g,"$1"+n.numbers.output.thousandsSeparator):g[0])+(g[1].length?n.numbers.output.decimalMark+g[1]:"")}}else a=s;!0===n.escape&&(a=escape(a)),"function"==typeof n.onCellData&&(a=n.onCellData(c,e,r,a,l))}return void 0!==i&&(i.type=l),a}function St(t){return t.length>0&&!0===n.preventInjection&&"=+-@".indexOf(t.charAt(0))>=0?"'"+t:t}function Ct(t,e,n){return e+"-"+n.toLowerCase()}function Nt(t,e){var n=/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/.exec(t),o=e;return n&&(o=[parseInt(n[1]),parseInt(n[2]),parseInt(n[3])]),o}function Ft(t){var e=Tt(t,"text-align"),n=Tt(t,"font-weight"),o=Tt(t,"font-style"),r="";"start"===e&&(e="rtl"===Tt(t,"direction")?"right":"left"),n>=700&&(r="bold"),"italic"===o&&(r+=o),""===r&&(r="normal");var i={style:{align:e,bcolor:Nt(Tt(t,"background-color"),[255,255,255]),color:Nt(Tt(t,"color"),[0,0,0]),fstyle:r},colspan:kt(t),rowspan:At(t)};if(null!==t){var a=t.getBoundingClientRect();i.rect={width:a.width,height:a.height}}return i}function kt(t){var e=o(t).attr("data-tableexport-colspan");return void 0===e&&o(t).is("[colspan]")&&(e=o(t).attr("colspan")),parseInt(e)||0}function At(t){var e=o(t).attr("data-tableexport-rowspan");return void 0===e&&o(t).is("[rowspan]")&&(e=o(t).attr("rowspan")),parseInt(e)||0}function Tt(t,e){try{return window.getComputedStyle?(e=e.replace(/([a-z])([A-Z])/,Ct),window.getComputedStyle(t,null).getPropertyValue(e)):t.currentStyle?t.currentStyle[e]:t.style[e]}catch(t){}return""}function Ot(t,e,n){var o=Tt(t,e).match(/\d+/);return null!==o?(o=o[0],function(t,e,n){var o=document.createElement("div");o.style.overflow="hidden",o.style.visibility="hidden",t.appendChild(o),o.style.width=100+n;var r=100/o.offsetWidth;return t.removeChild(o),e*r}(t.parentElement,o,n)):0}function Rt(t){return function(t){var e="";for(++t;t;t=Math.floor((t-1)/26))e=String.fromCharCode((t-1)%26+65)+e;return e}(t.c)+""+(t.r+1)}function jt(t,e){return void 0===e||"number"==typeof e?jt(t.s,t.e):("string"!=typeof t&&(t=Rt(t)),"string"!=typeof e&&(e=Rt(e)),t===e?t:t+":"+e)}function Et(t){var e=Number(t);if(!isNaN(e))return e;var n=1,o=t.replace(/([\d]),([\d])/g,"$1$2").replace(/[$]/g,"").replace(/[%]/g,(function(){return n*=100,""}));return isNaN(e=Number(o))?(o=o.replace(/[(](.*)[)]/,(function(t,e){return n=-n,e})),isNaN(e=Number(o))?e:e/n):e/n}function Mt(t){var e,n,o=0;if(0===t.length)return o;for(e=0,n=t.length;e<n;e++)o=(o<<5)-o+t.charCodeAt(e),o|=0;return o}function It(t,o,r,i,a,l){var s=!0;if("function"==typeof n.onBeforeSaveToFile&&"boolean"!=typeof(s=n.onBeforeSaveToFile(t,o,r,i,a))&&(s=!0),s)try{e=new Blob([t],{type:r+";charset="+i}),saveAs(e,o,!1===l),"function"==typeof n.onAfterSaveToFile&&n.onAfterSaveToFile(t,o)}catch(e){Pt(o,"data:"+r+(i.length?";charset="+i:"")+(a.length?";"+a:"")+","+(l?"\ufeff":""),t)}}function Pt(t,e,o){var r=window.navigator.userAgent;if(!1!==t&&window.navigator.msSaveOrOpenBlob)window.navigator.msSaveOrOpenBlob(new Blob([o]),t);else if(!1!==t&&(r.indexOf("MSIE ")>0||r.match(/Trident.*rv\:11\./))){var i=document.createElement("iframe");if(i){switch(document.body.appendChild(i),i.setAttribute("style","display:none"),i.contentDocument.open("txt/plain","replace"),i.contentDocument.write(o),i.contentDocument.close(),i.contentWindow.focus(),t.substr(t.lastIndexOf(".")+1)){case"doc":case"json":case"png":case"pdf":case"xls":case"xlsx":t+=".txt"}i.contentDocument.execCommand("SaveAs",!0,t),document.body.removeChild(i)}}else{var a=document.createElement("a");if(a){var s=null;if(a.style.display="none",!1!==t?a.download=t:a.target="_blank","object"==typeof o){window.URL=window.URL||window.webkitURL;var c=[];c.push(o),s=window.URL.createObjectURL(new Blob(c,{type:e})),a.href=s}else e.toLowerCase().indexOf("base64,")>=0?a.href=e+Dt(o):a.href=e+encodeURIComponent(o);document.body.appendChild(a),document.createEvent?(null===l&&(l=document.createEvent("MouseEvents")),l.initEvent("click",!0,!1),a.dispatchEvent(l)):document.createEventObject?a.fireEvent("onclick"):"function"==typeof a.onclick&&a.onclick(),setTimeout((function(){s&&window.URL.revokeObjectURL(s),document.body.removeChild(a),"function"==typeof n.onAfterSaveToFile&&n.onAfterSaveToFile(o,t)}),100)}}}function Dt(t){var e,n,o,r,i,a,l,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",c="",d=0;for(t=function(t){if("string"==typeof t){t=t.replace(/\x0d\x0a/g,"\n");for(var e="",n=0;n<t.length;n++){var o=t.charCodeAt(n);o<128?e+=String.fromCharCode(o):o>127&&o<2048?(e+=String.fromCharCode(o>>6|192),e+=String.fromCharCode(63&o|128)):(e+=String.fromCharCode(o>>12|224),e+=String.fromCharCode(o>>6&63|128),e+=String.fromCharCode(63&o|128))}return e}return t}(t);d<t.length;)r=(e=t.charCodeAt(d++))>>2,i=(3&e)<<4|(n=t.charCodeAt(d++))>>4,a=(15&n)<<2|(o=t.charCodeAt(d++))>>6,l=63&o,isNaN(n)?a=l=64:isNaN(o)&&(l=64),c=c+s.charAt(r)+s.charAt(i)+s.charAt(a)+s.charAt(l);return c}return this}}}));