var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(n,t,i){var f,r,u;for(n instanceof String&&(n=String(n)),f=n.length,r=0;r<f;r++)if(u=n[r],t.call(i,u,r,n))return{i:r,v:u};return{i:-1,v:void 0}};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(n,t,i){n!=Array.prototype&&n!=Object.prototype&&(n[t]=i.value)};$jscomp.getGlobal=function(n){return"undefined"!=typeof window&&window===n?n:"undefined"!=typeof global&&null!=global?global:n};$jscomp.global=$jscomp.getGlobal(this);$jscomp.polyfill=function(n,t,i,r){if(t){for(i=$jscomp.global,n=n.split("."),r=0;r<n.length-1;r++){var u=n[r];u in i||(i[u]={});i=i[u]}n=n[n.length-1];r=i[n];t=t(r);t!=r&&null!=t&&$jscomp.defineProperty(i,n,{configurable:!0,writable:!0,value:t})}};$jscomp.polyfill("Array.prototype.find",function(n){return n?n:function(n,t){return $jscomp.findInternal(this,n,t).v}},"es6","es3"),function(n){n.fn.tableExport=function(t){function ft(t){var r=[];return b(t,"thead").each(function(){r.push.apply(r,b(n(this),i.theadSelector).toArray())}),r}function et(t){var r=[];return b(t,"tbody").each(function(){r.push.apply(r,b(n(this),i.tbodySelector).toArray())}),i.tfootSelector.length&&b(t,"tfoot").each(function(){r.push.apply(r,b(n(this),i.tfootSelector).toArray())}),r}function b(t,i){var r=t[0].tagName,u=t.parents(r).length;return t.find(i).filter(function(){return u===n(this).closest(r).parents(r).length})}function gt(t){var i=[];return n(t).find("thead").first().find("th").each(function(t,r){i[t]=void 0!==n(r).attr("data-field")?n(r).attr("data-field"):t.toString()}),i}function k(t){var r="undefined"!=typeof t[0].rowIndex,u=!1===r&&"undefined"!=typeof t[0].cellIndex,f=u||r?hr(t):t.is(":visible"),i=t.attr("data-tableexport-display");return u&&"none"!==i&&"always"!==i&&(t=n(t[0].parentNode),r="undefined"!=typeof t[0].rowIndex,i=t.attr("data-tableexport-display")),r&&"none"!==i&&"always"!==i&&(i=t.closest("table").attr("data-tableexport-display")),"none"!==i&&(!0===f||"always"===i)}function hr(n){var t=[];return yt&&(t=it.filter(function(){var t=!1;return this.nodeType===n[0].nodeType&&("undefined"!=typeof this.rowIndex&&this.rowIndex===n[0].rowIndex?t=!0:"undefined"!=typeof this.cellIndex&&this.cellIndex===n[0].cellIndex&&"undefined"!=typeof this.parentNode.rowIndex&&"undefined"!=typeof n[0].parentNode.rowIndex&&this.parentNode.rowIndex===n[0].parentNode.rowIndex&&(t=!0)),t})),!1===yt||0===t.length}function bi(t,r,u){var f=!1;return k(t)?0<i.ignoreColumn.length&&(-1!==n.inArray(u,i.ignoreColumn)||-1!==n.inArray(u-r,i.ignoreColumn)||ct.length>u&&"undefined"!=typeof ct[u]&&-1!==n.inArray(ct[u],i.ignoreColumn))&&(f=!0):f=!0,f}function v(t,r,u,f,e){var s,h,o;"function"==typeof e&&(s=!1,"function"==typeof i.onIgnoreRow&&(s=i.onIgnoreRow(n(t),u)),!1===s&&(0===i.ignoreRow.length||-1===n.inArray(u,i.ignoreRow)&&-1===n.inArray(u-f,i.ignoreRow))&&k(n(t))&&(h=b(n(t),r),o=0,h.each(function(t){var s=n(this),i,r=ot(this),f=ht(this);if(n.each(w,function(){if(u>=this.s.r&&u<=this.e.r&&o>=this.s.c&&o<=this.e.c)for(i=0;i<=this.e.c-this.s.c;++i)e(null,u,o++)}),!1===bi(s,h.length,t)&&((f||r)&&(r=r||1,w.push({s:{r:u,c:o},e:{r:u+(f||1)-1,c:o+r-1}})),e(this,u,o++)),r)for(i=0;i<r-1;++i)e(null,u,o++)}),n.each(w,function(){if(u>=this.s.r&&u<=this.e.r&&o>=this.s.c&&o<=this.e.c)for(kt=0;kt<=this.e.c-this.s.c;++kt)e(null,u,o++)})))}function ki(n,t,i,r){if("undefined"!=typeof r.images&&(i=r.images[i],"undefined"!=typeof i)){t=t.getBoundingClientRect();var e=n.width/n.height,o=t.width/t.height,f=n.width,u=n.height,s=19.049976/25.4,h=0;o<=e?(u=Math.min(n.height,t.height),f=t.width*u/t.height):o>e&&(f=Math.min(n.width,t.width),u=t.height*f/t.width);f*=s;u*=s;u<n.height&&(h=(n.height-u)/2);try{r.doc.addImage(i.src,n.textPos.x,n.y+h,f,u)}catch(c){}n.textPos.x+=f}}function di(n,t){if("string"===i.outputMode)return n.output();if("base64"===i.outputMode)return nt(n.output());if("window"===i.outputMode)window.URL=window.URL||window.webkitURL,window.open(window.URL.createObjectURL(n.output("blob")));else try{var r=n.output("blob");saveAs(r,i.fileName+".pdf")}catch(u){vi(i.fileName+".pdf","data:application/pdf"+(t?"":";base64")+",",t?n.output("blob"):n.output())}}function gi(n,t,i){var r=0;if("undefined"!=typeof i&&(r=i.colspan),0<=r){for(var u=n.width,f=n.textPos.x,o=t.table.columns.indexOf(t.column),e=1;e<r;e++)u+=t.table.columns[o+e].width;return 1<r&&("right"===n.styles.halign?f=n.textPos.x+u-n.width:"center"===n.styles.halign&&(f=n.textPos.x+(u-n.width)/2)),n.width=u,n.textPos.x=f,"undefined"!=typeof i&&1<i.rowspan&&(n.height*=i.rowspan),("middle"===n.styles.valign||"bottom"===n.styles.valign)&&(i=("string"==typeof n.text?n.text.split(/\r\n|\r|\n/g):n.text).length||1,2<i&&(n.textPos.y-=(2-1.15)/2*t.row.styles.fontSize*(i-2)/3)),!0}return!1}function nr(t,i,r){"undefined"!=typeof t&&null!==t&&(t.hasAttribute("data-tableexport-canvas")?(i=(new Date).getTime(),n(t).attr("data-tableexport-canvas",i),r.images[i]={url:'[data-tableexport-canvas="'+i+'"]',src:null}):"undefined"!==i&&null!=i&&i.each(function(){if(n(this).is("img")){var i=er(this.src);r.images[i]={url:this.src,src:this.src}}nr(t,n(this).children(),r)}))}function cr(t,i){function e(t){var f,e;t.url&&(t.src?(f=new Image,r=++u,f.crossOrigin="Anonymous",f.onerror=f.onload=function(){if(f.complete&&(0===f.src.indexOf("data:image/")&&(f.width=t.width||f.width||0,f.height=t.height||f.height||0),f.width+f.height)){var n=document.createElement("canvas"),e=n.getContext("2d");n.width=f.width;n.height=f.height;e.drawImage(f,0,0);t.src=n.toDataURL("image/png")}--u||i(r)},f.src=t.url):(e=n(t.url),e.length&&(r=++u,html2canvas(e[0]).then(function(n){t.src=n.toDataURL("image/png");--u||i(r)}))))}var r=0,u=0,f;if("undefined"!=typeof t.images)for(f in t.images)t.images.hasOwnProperty(f)&&e(t.images[f]);return(t=u)||(i(r),t=void 0),t}function tr(t,r,u){r.each(function(){if(n(this).is("div")){var f=ni(d(this,"background-color"),[255,255,255]),o=ni(d(this,"border-top-color"),[0,0,0]),e=ti(this,"border-top-width",i.jspdf.unit),r=this.getBoundingClientRect(),s=this.offsetLeft*u.wScaleFactor,h=this.offsetTop*u.hScaleFactor,c=r.width*u.wScaleFactor;r=r.height*u.hScaleFactor;u.doc.setDrawColor.apply(void 0,o);u.doc.setFillColor.apply(void 0,f);u.doc.setLineWidth(e);u.doc.rect(t.x+s,t.y+h,c,r,e?"FD":"F")}else n(this).is("img")&&(f=er(this.src),ki(t,this,f,u));tr(t,n(this).children(),u)})}function ir(t,r,u){var o,h;if("function"==typeof u.onAutotableText)u.onAutotableText(u.doc,t,r);else{var e=t.textPos.x,c=t.textPos.y,a={halign:t.styles.halign,valign:t.styles.valign};if(r.length){for(r=r[0];r.previousSibling;)r=r.previousSibling;for(o=!1,h=!1;r;){var f=r.innerText||r.textContent||"",s=f.length&&" "===f[0]?" ":"",l=1<f.length&&" "===f[f.length-1]?" ":"";if(!0!==i.preserve.leadingWS&&(f=s+si(f)),!0!==i.preserve.trailingWS&&(f=hi(f)+l),n(r).is("br")&&(e=t.textPos.x,c+=u.doc.internal.getFontSize()),n(r).is("b")?o=!0:n(r).is("i")&&(h=!0),(o||h)&&u.doc.setFontType(o&&h?"bolditalic":o?"bold":"italic"),s=u.doc.getStringUnitWidth(f)*u.doc.internal.getFontSize()){if("linebreak"===t.styles.overflow&&e>t.textPos.x&&e+s>t.textPos.x+t.width&&(0<=".,!%*;:=-".indexOf(f.charAt(0))&&(l=f.charAt(0),s=u.doc.getStringUnitWidth(l)*u.doc.internal.getFontSize(),e+s<=t.textPos.x+t.width&&(u.doc.autoTableText(l,e,c,a),f=f.substring(1,f.length)),s=u.doc.getStringUnitWidth(f)*u.doc.internal.getFontSize()),e=t.textPos.x,c+=u.doc.internal.getFontSize()),"visible"!==t.styles.overflow)for(;f.length&&e+s>t.textPos.x+t.width;)f=f.substring(0,f.length-1),s=u.doc.getStringUnitWidth(f)*u.doc.internal.getFontSize();u.doc.autoTableText(f,e,c,a);e+=s}(o||h)&&(n(r).is("b")?o=!1:n(r).is("i")&&(h=!1),u.doc.setFontType(o||h?o?"bold":"italic":"normal"));r=r.nextSibling}t.textPos.x=e;t.textPos.y=c}else u.doc.autoTableText(t.text,t.textPos.x,t.textPos.y,a)}}function vt(n,t,i){return null==n?"":n.toString().replace(new RegExp(null==t?"":t.toString().replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1"),"g"),i)}function si(n){return null==n?"":n.toString().replace(/^\s+/,"")}function hi(n){return null==n?"":n.toString().replace(/\s+$/,"")}function lr(n){var t,r,u;return(i.date.pattern.lastIndex=0,t=i.date.pattern.exec(n),null==t)?!1:(n=+t[i.date.match_y],0>n||8099<n)?!1:(r=1*t[i.date.match_m],t=1*t[i.date.match_d],!isFinite(t))?!1:(u=new Date(n,r-1,t,0,0,0),u.getFullYear()===n&&u.getMonth()===r-1&&u.getDate()===t?new Date(Date.UTC(n,r-1,t,0,0,0)):!1)}function ci(n){return n=n||"0",""!==i.numbers.html.thousandsSeparator&&(n=vt(n,i.numbers.html.thousandsSeparator,"")),"."!==i.numbers.html.decimalMark&&(n=vt(n,i.numbers.html.decimalMark,".")),"number"==typeof n||!1!==jQuery.isNumeric(n)?n:!1}function ar(n){return-1<n.indexOf("%")?(n=ci(n.replace(/%/g,"")),!1!==n&&(n/=100)):n=!1,n}function a(t,r,u,f){var o="",l="text",s,e,v,y,c,h,a;return null!==t&&(s=n(t),s[0].hasAttribute("data-tableexport-canvas")?e="":s[0].hasAttribute("data-tableexport-value")?e=(e=s.attr("data-tableexport-value"))?e+"":"":(e=s.html(),"function"==typeof i.onCellHtmlData)?e=i.onCellHtmlData(s,r,u,e):""!==e&&(t=n.parseHTML(e),v=0,y=0,e="",n.each(t,function(){if(n(this).is("input"))e+=s.find("input").eq(v++).val();else if(n(this).is("select"))e+=s.find("select option:selected").eq(y++).text();else if(n(this).is("br"))e+="<br>";else if("undefined"==typeof n(this).html()?e+=n(this).text():(void 0===jQuery().bootstrapTable||!1===n(this).hasClass("fht-cell")&&!1===n(this).hasClass("filterControl")&&0===s.parents(".detail-view").length)&&(e+=n(this).html()),n(this).is("a")){var t=s.find("a").attr("href")||"";o="function"==typeof i.onCellHtmlHyperlink?o+i.onCellHtmlHyperlink(s,r,u,t,e):"href"===i.htmlHyperlink?o+t:o+e;e=""}})),e&&""!==e&&!0===i.htmlContent?o=n.trim(e):e&&""!==e&&(""!==s.attr("data-tableexport-cellformat")?(c=e.replace(/\n/g,"\u2028").replace(/(<\s*br([^>]*)>)/gi,"⁠"),h=n("<div/>").html(c).contents(),t=!1,c="",n.each(h.text().split("\u2028"),function(n,t){0<n&&(c+=" ");!0!==i.preserve.leadingWS&&(t=si(t));c+=!0!==i.preserve.trailingWS?hi(t):t}),n.each(c.split("⁠"),function(n,t){0<n&&(o+="\n");!0!==i.preserve.leadingWS&&(t=si(t));!0!==i.preserve.trailingWS&&(t=hi(t));o+=t.replace(/\u00AD/g,"")}),o=o.replace(/\u00A0/g," "),"json"===i.type||"excel"===i.type&&"xmlss"===i.mso.fileFormat||!1===i.numbers.output?(t=ci(o),!1!==t&&(l="number",o=Number(t))):(i.numbers.html.decimalMark!==i.numbers.output.decimalMark||i.numbers.html.thousandsSeparator!==i.numbers.output.thousandsSeparator)&&(t=ci(o),!1!==t)&&(h=(""+t.substr(0>t?1:0)).split("."),1===h.length&&(h[1]=""),a=3<h[0].length?h[0].length%3:0,l="number",o=(0>t?"-":"")+(i.numbers.output.thousandsSeparator?(a?h[0].substr(0,a)+i.numbers.output.thousandsSeparator:"")+h[0].substr(a).replace(/(\d{3})(?=\d)/g,"$1"+i.numbers.output.thousandsSeparator):h[0])+(h[1].length?i.numbers.output.decimalMark+h[1]:""))):o=e),!0===i.escape&&(o=escape(o)),"function"==typeof i.onCellData&&(o=i.onCellData(s,r,u,o,l))),void 0!==f&&(f.type=l),o}function rr(n){return 0<n.length&&!0===i.preventInjection&&0<="=+-@".indexOf(n.charAt(0))?"'"+n:n}function vr(n,t,i){return t+"-"+i.toLowerCase()}function ni(n,t){return(n=/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/.exec(n))&&(t=[parseInt(n[1]),parseInt(n[2]),parseInt(n[3])]),t}function ur(n){var t=d(n,"text-align"),u=d(n,"font-weight"),r=d(n,"font-style"),i="";return"start"===t&&(t="rtl"===d(n,"direction")?"right":"left"),700<=u&&(i="bold"),"italic"===r&&(i+=r),""===i&&(i="normal"),t={style:{align:t,bcolor:ni(d(n,"background-color"),[255,255,255]),color:ni(d(n,"color"),[0,0,0]),fstyle:i},colspan:ot(n),rowspan:ht(n)},null!==n&&(n=n.getBoundingClientRect(),t.rect={width:n.width,height:n.height}),t}function ot(t){var i=n(t).attr("data-tableexport-colspan");return"undefined"==typeof i&&n(t).is("[colspan]")&&(i=n(t).attr("colspan")),parseInt(i)||0}function ht(t){var i=n(t).attr("data-tableexport-rowspan");return"undefined"==typeof i&&n(t).is("[rowspan]")&&(i=n(t).attr("rowspan")),parseInt(i)||0}function d(n,t){try{return window.getComputedStyle?(t=t.replace(/([a-z])([A-Z])/,vr),window.getComputedStyle(n,null).getPropertyValue(t)):n.currentStyle?n.currentStyle[t]:n.style[t]}catch(i){}return""}function ti(n,t,i){if(t=d(n,t).match(/\d+/),null!==t){t=t[0];n=n.parentElement;var r=document.createElement("div");return r.style.overflow="hidden",r.style.visibility="hidden",n.appendChild(r),r.style.width=100+i,i=100/r.offsetWidth,n.removeChild(r),t*i}return 0}function yr(n){for(var i=new ArrayBuffer(n.length),r=new Uint8Array(i),t=0;t!==n.length;++t)r[t]=n.charCodeAt(t)&255;return i}function li(n){var t=n.c,i="";for(++t;t;t=Math.floor((t-1)/26))i=String.fromCharCode((t-1)%26+65)+i;return i+(""+(n.r+1))}function ai(n,t){return"undefined"==typeof t||"number"==typeof t?ai(n.s,n.e):("string"!=typeof n&&(n=li(n)),"string"!=typeof t&&(t=li(t)),n===t?n:n+":"+t)}function fr(n,t){var i=Number(n),r;return isFinite(i)?i:(r=1,""!==t.thousandsSeparator&&(n=n.replace(new RegExp("([\\d])"+t.thousandsSeparator+"([\\d])","g"),"$1$2")),"."!==t.decimalMark&&(n=n.replace(new RegExp("([\\d])"+t.decimalMark+"([\\d])","g"),"$1.$2")),n=n.replace(/[$]/g,"").replace(/[%]/g,function(){return r*=100,""}),isFinite(i=Number(n)))?i/r:(n=n.replace(/[(](.*)[)]/,function(n,t){return r=-r,t}),isFinite(i=Number(n))?i/r:i)}function er(n){var t=0,r,i,u;if(0===n.length)return t;for(i=0,r=n.length;i<r;i++)u=n.charCodeAt(i),t=(t<<5)-t+u|0;return t}function g(n,t,r,u,f,e){var o=!0;if("function"==typeof i.onBeforeSaveToFile&&(o=i.onBeforeSaveToFile(n,t,r,u,f),"boolean"!=typeof o&&(o=!0)),o)try{if(or=new Blob([n],{type:r+";charset="+u}),saveAs(or,t,!1===e),"function"==typeof i.onAfterSaveToFile)i.onAfterSaveToFile(n,t)}catch(s){vi(t,"data:"+r+(u.length?";charset="+u:"")+(f.length?";"+f:"")+",",e?"﻿"+n:n)}}function vi(n,t,r){var f=window.navigator.userAgent,u,e;if(!1!==n&&window.navigator.msSaveOrOpenBlob)window.navigator.msSaveOrOpenBlob(new Blob([r]),n);else if(!1!==n&&(0<f.indexOf("MSIE ")||f.match(/Trident.*rv\:11\./))){if(t=document.createElement("iframe")){document.body.appendChild(t);t.setAttribute("style","display:none");t.contentDocument.open("txt/plain","replace");t.contentDocument.write(r);t.contentDocument.close();t.contentWindow.focus();switch(n.substr(n.lastIndexOf(".")+1)){case"doc":case"json":case"png":case"pdf":case"xls":case"xlsx":n+=".txt"}t.contentDocument.execCommand("SaveAs",!0,n);document.body.removeChild(t)}}else u=document.createElement("a"),u&&(e=null,u.style.display="none",!1!==n?u.download=n:u.target="_blank","object"==typeof r?(window.URL=window.URL||window.webkitURL,f=[],f.push(r),e=window.URL.createObjectURL(new Blob(f,{type:t})),u.href=e):u.href=0<=t.toLowerCase().indexOf("base64,")?t+nt(r):t+encodeURIComponent(r),document.body.appendChild(u),document.createEvent?(null===ii&&(ii=document.createEvent("MouseEvents")),ii.initEvent("click",!0,!1),u.dispatchEvent(ii)):document.createEventObject?u.fireEvent("onclick"):"function"==typeof u.onclick&&u.onclick(),setTimeout(function(){if(e&&window.URL.revokeObjectURL(e),document.body.removeChild(u),"function"==typeof i.onAfterSaveToFile)i.onAfterSaveToFile(r,n)},100))}function nt(n){var r,o="",f=0,t,i,u,s,e;if("string"==typeof n){for(n=n.replace(/\x0d\x0a/g,"\n"),t="",r=0;r<n.length;r++)i=n.charCodeAt(r),128>i?t+=String.fromCharCode(i):(127<i&&2048>i?t+=String.fromCharCode(i>>6|192):(t+=String.fromCharCode(i>>12|224),t+=String.fromCharCode(i>>6&63|128)),t+=String.fromCharCode(i&63|128));n=t}for(;f<n.length;)u=n.charCodeAt(f++),t=n.charCodeAt(f++),r=n.charCodeAt(f++),i=u>>2,u=(u&3)<<4|t>>4,s=(t&15)<<2|r>>6,e=r&63,isNaN(t)?s=e=64:isNaN(r)&&(e=64),o=o+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(i)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(u)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(s)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(e);return o}var i={csvEnclosure:'"',csvSeparator:",",csvUseBOM:!0,date:{html:"dd/mm/yyyy"},displayTableName:!1,escape:!1,exportHiddenCells:!1,fileName:"tableExport",htmlContent:!1,htmlHyperlink:"content",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,onCellHtmlHyperlink: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"},tt={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]},c=this,ii=null,o=[],h=[],f=0,e="",ct=[],w=[],or,it=[],yt=!1,s,rt,pt,ri,l,lt,ui,ut,fi,ei,y,u,st,at,kt,wt,yi,p,bt,pi,wi,r;if(n.extend(!0,i,t),"xlsx"===i.type&&(i.mso.fileFormat=i.type,i.type="excel"),"undefined"!=typeof i.excelFileFormat&&"undefined"===i.mso.fileFormat&&(i.mso.fileFormat=i.excelFileFormat),"undefined"!=typeof i.excelPageFormat&&"undefined"===i.mso.pageFormat&&(i.mso.pageFormat=i.excelPageFormat),"undefined"!=typeof i.excelPageOrientation&&"undefined"===i.mso.pageOrientation&&(i.mso.pageOrientation=i.excelPageOrientation),"undefined"!=typeof i.excelRTL&&"undefined"===i.mso.rtl&&(i.mso.rtl=i.excelRTL),"undefined"!=typeof i.excelstyles&&"undefined"===i.mso.styles&&(i.mso.styles=i.excelstyles),"undefined"!=typeof i.onMsoNumberFormat&&"undefined"===i.mso.onMsoNumberFormat&&(i.mso.onMsoNumberFormat=i.onMsoNumberFormat),"undefined"!=typeof i.worksheetName&&"undefined"===i.mso.worksheetName&&(i.mso.worksheetName=i.worksheetName),i.mso.pageOrientation="l"===i.mso.pageOrientation.substr(0,1)?"landscape":"portrait",i.date.html=i.date.html||"",i.date.html.length&&(t=[],t.dd="(3[01]|[12][0-9]|0?[1-9])",t.mm="(1[012]|0?[1-9])",t.yyyy="((?:1[6-9]|2[0-2])\\d{2})",t.yy="(\\d{2})",s=i.date.html.match(/[^a-zA-Z0-9]/)[0],s=i.date.html.toLowerCase().split(s),i.date.regex="^\\s*",i.date.regex+=t[s[0]],i.date.regex+="(.)",i.date.regex+=t[s[1]],i.date.regex+="\\2",i.date.regex+=t[s[2]],i.date.regex+="\\s*$",i.date.pattern=new RegExp(i.date.regex,"g"),t=s.indexOf("dd")+1,i.date.match_d=t+(1<t?1:0),t=s.indexOf("mm")+1,i.date.match_m=t+(1<t?1:0),t=(0<=s.indexOf("yyyy")?s.indexOf("yyyy"):s.indexOf("yy"))+1,i.date.match_y=t+(1<t?1:0)),ct=gt(c),"csv"===i.type||"tsv"===i.type||"txt"===i.type){if(rt="",pt=0,w=[],f=0,ri=function(t,r,u){return t.each(function(){e="";v(this,r,f,u+t.length,function(n,t,r){var f=e,u="";null!==n&&((n=a(n,t,r),t=null===n||""===n?"":n.toString(),"tsv"===i.type)?(n instanceof Date&&n.toLocaleString(),u=vt(t,"\t"," ")):n instanceof Date?u=i.csvEnclosure+n.toLocaleString()+i.csvEnclosure:(u=rr(t),u=vt(u,i.csvEnclosure,i.csvEnclosure+i.csvEnclosure),0<=u.indexOf(i.csvSeparator)||/[\r\n ]/g.test(u))&&(u=i.csvEnclosure+u+i.csvEnclosure));e=f+(u+("tsv"===i.type?"\t":i.csvSeparator))});e=n.trim(e).substring(0,e.length-1);0<e.length&&(0<rt.length&&(rt+="\n"),rt+=e);f++}),t.length},pt+=ri(n(c).find("thead").first().find(i.theadSelector),"th,td",pt),b(n(c),"tbody").each(function(){pt+=ri(b(n(this),i.tbodySelector),"td,th",pt)}),i.tfootSelector.length&&ri(n(c).find("tfoot").first().find(i.tfootSelector),"td,th",pt),rt+="\n","string"===i.outputMode)return rt;if("base64"===i.outputMode)return nt(rt);if("window"===i.outputMode){vi(!1,"data:text/"+("csv"===i.type?"csv":"plain")+";charset=utf-8,",rt);return}g(rt,i.fileName+"."+i.type,"text/"+("csv"===i.type?"csv":"plain"),"utf-8","","csv"===i.type&&i.csvUseBOM)}else if("sql"===i.type){if(f=0,w=[],l="INSERT INTO "+i.sql.tableEnclosure+i.tableName+i.sql.tableEnclosure+" (",o=ft(n(c)),n(o).each(function(){v(this,"th,td",f,o.length,function(n,t,r){n=a(n,t,r)||"";-1<n.indexOf(i.sql.columnEnclosure)&&(n=vt(n.toString(),i.sql.columnEnclosure,i.sql.columnEnclosure+i.sql.columnEnclosure));l+=i.sql.columnEnclosure+n+i.sql.columnEnclosure+","});f++;l=n.trim(l).substring(0,l.length-1)}),l+=") VALUES ",h=et(n(c)),n(h).each(function(){e="";v(this,"td,th",f,o.length+h.length,function(n,t,i){n=a(n,t,i)||"";-1<n.indexOf("'")&&(n=vt(n.toString(),"'","''"));e+="'"+n+"',"});3<e.length&&(l+="("+e,l=n.trim(l).substring(0,l.length-1),l+="),");f++}),l=n.trim(l).substring(0,l.length-1),l+=";","string"===i.outputMode)return l;if("base64"===i.outputMode)return nt(l);g(l,i.fileName+".sql","application/sql","utf-8","",!1)}else if("json"===i.type){if(lt=[],w=[],o=ft(n(c)),n(o).each(function(){var n=[];v(this,"th,td",f,o.length,function(t,i,r){n.push(a(t,i,r))});lt.push(n)}),ui=[],h=et(n(c)),n(h).each(function(){var t={},i=0;v(this,"td,th",f,o.length+h.length,function(n,r,u){lt.length?t[lt[lt.length-1][i]]=a(n,r,u):t[i]=a(n,r,u);i++});!1===n.isEmptyObject(t)&&ui.push(t);f++}),t="",t="head"===i.jsonScope?JSON.stringify(lt):"data"===i.jsonScope?JSON.stringify(ui):JSON.stringify({header:lt,data:ui}),"string"===i.outputMode)return t;if("base64"===i.outputMode)return nt(t);g(t,i.fileName+".json","application/json","utf-8","base64",!1)}else if("xml"===i.type){if(f=0,w=[],ut='<?xml version="1.0" encoding="utf-8"?>',ut+="<tabledata><fields>",o=ft(n(c)),n(o).each(function(){v(this,"th,td",f,o.length,function(n,t,i){ut+="<field>"+a(n,t,i)+"<\/field>"});f++}),ut+="<\/fields><data>",fi=1,h=et(n(c)),n(h).each(function(){var n=1;e="";v(this,"td,th",f,o.length+h.length,function(t,i,r){e+="<column-"+n+">"+a(t,i,r)+"<\/column-"+n+">";n++});0<e.length&&"<column-1><\/column-1>"!==e&&(ut+='<row id="'+fi+'">'+e+"<\/row>",fi++);f++}),ut+="<\/data><\/tabledata>","string"===i.outputMode)return ut;if("base64"===i.outputMode)return nt(ut);g(ut,i.fileName+".xml","application/xml","utf-8","base64",!1)}else if("excel"===i.type&&"xmlss"===i.mso.fileFormat){for(ei=[],y=[],n(c).filter(function(){return k(n(this))}).each(function(){function u(t,i,r){var u=[];return n(t).each(function(){var o=0,i=0;e="";v(this,"td,th",f,r+t.length,function(t,r,s){var c,h;null!==t&&(c="",r=a(t,r,s),s="String",!1!==jQuery.isNumeric(r)?s="Number":(h=ar(r),!1!==h&&(r=h,s="Number",c+=' ss:StyleID="pct1"')),"Number"!==s&&(r=r.replace(/\n/g,"<br>")),h=ot(t),t=ht(t),n.each(u,function(){if(f>=this.s.r&&f<=this.e.r&&i>=this.s.c&&i<=this.e.c)for(var n=0;n<=this.e.c-this.s.c;++n)i++,o++}),(t||h)&&(t=t||1,h=h||1,u.push({s:{r:f,c:i},e:{r:f+t-1,c:i+h-1}})),1<h&&(c+=' ss:MergeAcross="'+(h-1)+'"',i+=h-1),1<t&&(c+=' ss:MergeDown="'+(t-1)+'" ss:StyleID="rsp1"'),0<o&&(c+=' ss:Index="'+(i+1)+'"',o=0),e+="<Cell"+c+'><Data ss:Type="'+s+'">'+n("<div />").text(r).html()+"<\/Data><\/Cell>\r",i++)});0<e.length&&(p+='<Row ss:AutoFitHeight="0">\r'+e+"<\/Row>\r");f++}),t.length}var r=n(this),t="";"string"==typeof i.mso.worksheetName&&i.mso.worksheetName.length?t=i.mso.worksheetName+" "+(y.length+1):"undefined"!=typeof i.mso.worksheetName[y.length]&&(t=i.mso.worksheetName[y.length]);t.length||(t=r.find("caption").text()||"");t.length||(t="Table "+(y.length+1));t=n.trim(t.replace(/[\\\/[\]*:?'"]/g,"").substring(0,31));y.push(n("<div />").text(t).html());!1===i.exportHiddenCells&&(it=r.find("tr, th, td").filter(":hidden"),yt=0<it.length);f=0;ct=gt(this);p="<Table>\r";t=u(ft(r),"th,td",0);u(et(r),"td,th",t);p+="<\/Table>\r";ei.push(p)}),t={},s={},at=0,kt=y.length;at<kt;at++)u=y[at],st=t[u],st=t[u]=null==st?1:st+1,2===st&&(y[s[u]]=y[s[u]].substring(0,29)+"-1"),1<t[u]?y[at]=y[at].substring(0,29)+"-"+t[u]:s[u]=at;for(t='<?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',s=0;s<ei.length;s++)t+='<Worksheet ss:Name="'+y[s]+'" ss:RightToLeft="'+(i.mso.rtl?"1":"0")+'">\r'+ei[s],t=i.mso.rtl?t+'<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">\r<DisplayRightToLeft/>\r<\/WorksheetOptions>\r':t+'<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel"/>\r',t+="<\/Worksheet>\r";if(t+="<\/Workbook>\r","string"===i.outputMode)return t;if("base64"===i.outputMode)return nt(t);g(t,i.fileName+".xml","application/xml","utf-8","base64",!1)}else if("excel"===i.type&&"xlsx"===i.mso.fileFormat)wt=[],yi=XLSX.utils.book_new(),n(c).filter(function(){return k(n(this))}).each(function(){for(var g,it,b,h,nt,l,t,ft=n(this),p={},o=this.getElementsByTagName("tr"),w={s:{r:0,c:0},e:{r:0,c:0}},d=[],r,rt=[],v=0,c=0,e,s,ut,y,u,tt=XLSX.SSF.get_table();v<o.length&&1e7>c;++v)if(e=o[v],s=!1,"function"==typeof i.onIgnoreRow&&(s=i.onIgnoreRow(n(e),v)),!1===s&&-1===n.inArray(f,i.ignoreRow)&&-1===n.inArray(f-fi,i.ignoreRow)&&k(n(e))){for(g=e.children,it=0,e=0;e<g.length;++e)u=g[e],y=+ot(u)||1,it+=y;for(b=0,e=s=0;e<g.length;++e)if(u=g[e],y=+ot(u)||1,r=e+b,!bi(n(u),it,r+(r<s?s-r:0))){for(b+=y-1,r=0;r<d.length;++r)h=d[r],h.s.c==s&&h.s.r<=c&&c<=h.e.r&&(s=h.e.c+1,r=-1);(0<(ut=+ht(u))||1<y)&&d.push({s:{r:c,c:s},e:{r:c+(ut||1)-1,c:s+y-1}});nt={type:""};r=a(u,v,e+b,nt);h={t:"s",v:r};l="";""!==n(u).attr("data-tableexport-cellformat")?(t=parseInt(n(u).attr("data-tableexport-xlsxformatid")||0),0===t&&"function"==typeof i.mso.xslx.formatId.numbers&&(t=i.mso.xslx.formatId.numbers(n(u),v,e+b)),0===t&&"function"==typeof i.mso.xslx.formatId.date&&(t=i.mso.xslx.formatId.date(n(u),v,e+b)),49===t||"@"===t?l="s":"number"===nt.type||0<t&&14>t||36<t&&41>t||48===t?l="n":("date"===nt.type||13<t&&37>t||44<t&&48>t||56===t)&&(l="d")):l="s";null!=r&&(0===r.length?h.t=l||"z":0!==r.trim().length&&"s"!==l&&("function"===nt.type?h={f:r}:"TRUE"===r?h={t:"b",v:!0}:"FALSE"===r?h={t:"b",v:!1}:""===l&&n(u).find("a").length?(r="href"!==i.htmlHyperlink?r:"",h={f:'=HYPERLINK("'+n(u).find("a").attr("href")+(r.length?'","'+r:"")+'")'}):"n"===l||isFinite(fr(r,i.numbers.output))?(u=fr(r,i.numbers.output),0===t&&"function"!=typeof i.mso.xslx.formatId.numbers&&(t=i.mso.xslx.formatId.numbers),isFinite(u)||isFinite(r))&&(h={t:"n",v:isFinite(u)?u:r,z:"string"==typeof t?t:t in tt?tt[t]:"0.00"}):(!1!==(u=lr(r))||"d"===l)&&(0===t&&"function"!=typeof i.mso.xslx.formatId.date&&(t=i.mso.xslx.formatId.date),h={t:"d",v:!1!==u?u:r,z:"string"==typeof t?t:t in tt?tt[t]:"m/d/yy"})));p[li({c:s,r:c})]=h;w.e.c<s&&(w.e.c=s);s+=y}++c}d.length&&(p["!merges"]=d);rt.length&&(p["!rows"]=rt);w.e.r=c-1;p["!ref"]=ai(w);1e7<=c&&(p["!fullref"]=ai((w.e.r=o.length-v+c-1,w)));o="";"string"==typeof i.mso.worksheetName&&i.mso.worksheetName.length?o=i.mso.worksheetName+" "+(wt.length+1):"undefined"!=typeof i.mso.worksheetName[wt.length]&&(o=i.mso.worksheetName[wt.length]);o.length||(o=ft.find("caption").text()||"");o.length||(o="Table "+(wt.length+1));o=n.trim(o.replace(/[\\\/[\]*:?'"]/g,"").substring(0,31));wt.push(o);XLSX.utils.book_append_sheet(yi,p,o)}),t=XLSX.write(yi,{type:"binary",bookType:i.mso.fileFormat,bookSST:!1}),g(yr(t),i.fileName+"."+i.mso.fileFormat,"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","UTF-8","",!1);else if("excel"===i.type||"xls"===i.type||"word"===i.type||"doc"===i.type){if(t="excel"===i.type||"xls"===i.type?"excel":"word",s="excel"===t?"xls":"doc",u='xmlns:x="urn:schemas-microsoft-com:office:'+t+'"',p="",bt="",n(c).filter(function(){return k(n(this))}).each(function(){var t=n(this);""===bt&&(bt=i.mso.worksheetName||t.find("caption").text()||"Table",bt=n.trim(bt.replace(/[\\\/[\]*:?'"]/g,"").substring(0,31)));!1===i.exportHiddenCells&&(it=t.find("tr, th, td").filter(":hidden"),yt=0<it.length);f=0;w=[];ct=gt(this);p+="<table><thead>";o=ft(t);n(o).each(function(){var t=n(this);e="";v(this,"th,td",f,o.length,function(n,r,u){var f,h,c,s,o;if(null!==n){if(f="",e+="<th",i.mso.styles.length){h=document.defaultView.getComputedStyle(n,null);c=document.defaultView.getComputedStyle(t[0],null);for(s in i.mso.styles)o=h[i.mso.styles[s]],""===o&&(o=c[i.mso.styles[s]]),""!==o&&"0px none rgb(0, 0, 0)"!==o&&"rgba(0, 0, 0, 0)"!==o&&(f+=""===f?'style="':";",f+=i.mso.styles[s]+":"+o)}""!==f&&(e+=" "+f+'"');f=ot(n);0<f&&(e+=' colspan="'+f+'"');f=ht(n);0<f&&(e+=' rowspan="'+f+'"');e+=">"+a(n,r,u)+"<\/th>"}});0<e.length&&(p+="<tr>"+e+"<\/tr>");f++});p+="<\/thead><tbody>";h=et(t);n(h).each(function(){var t=n(this);e="";v(this,"td,th",f,o.length+h.length,function(r,u,f){var c;if(null!==r){var h=a(r,u,f),s="",o=n(r).attr("data-tableexport-msonumberformat");if("undefined"==typeof o&&"function"==typeof i.mso.onMsoNumberFormat&&(o=i.mso.onMsoNumberFormat(r,u,f)),"undefined"!=typeof o&&""!==o&&(s="style=\"mso-number-format:'"+o+"'"),i.mso.styles.length){u=document.defaultView.getComputedStyle(r,null);f=document.defaultView.getComputedStyle(t[0],null);for(c in i.mso.styles)o=u[i.mso.styles[c]],""===o&&(o=f[i.mso.styles[c]]),""!==o&&"0px none rgb(0, 0, 0)"!==o&&"rgba(0, 0, 0, 0)"!==o&&(s+=""===s?'style="':";",s+=i.mso.styles[c]+":"+o)}e+="<td";""!==s&&(e+=" "+s+'"');s=ot(r);0<s&&(e+=' colspan="'+s+'"');r=ht(r);0<r&&(e+=' rowspan="'+r+'"');"string"==typeof h&&""!==h&&(h=rr(h),h=h.replace(/\n/g,"<br>"));e+=">"+h+"<\/td>"}});0<e.length&&(p+="<tr>"+e+"<\/tr>");f++});i.displayTableName&&(p+="<tr><td><\/td><\/tr><tr><td><\/td><\/tr><tr><td>"+a(n("<p>"+i.tableName+"<\/p>"))+"<\/td><\/tr>");p+="<\/tbody><\/table>"}),u='<html xmlns:o="urn:schemas-microsoft-com:office:office" '+u+' xmlns="http://www.w3.org/TR/REC-html40">'+('<meta http-equiv="content-type" content="application/vnd.ms-'+t+'; charset=UTF-8">'),u+="<head>","excel"===t&&(u+="<!--[if gte mso 9]>",u+="<xml>",u+="<x:ExcelWorkbook>",u+="<x:ExcelWorksheets>",u+="<x:ExcelWorksheet>",u+="<x:Name>",u+=bt,u+="<\/x:Name>",u+="<x:WorksheetOptions>",u+="<x:DisplayGridlines/>",i.mso.rtl&&(u+="<x:DisplayRightToLeft/>"),u+="<\/x:WorksheetOptions>",u+="<\/x:ExcelWorksheet>",u+="<\/x:ExcelWorksheets>",u+="<\/x:ExcelWorkbook>",u+="<\/xml>",u+="<![endif]-->"),u+="<style>",u+="@page { size:"+i.mso.pageOrientation+"; mso-page-orientation:"+i.mso.pageOrientation+"; }",u+="@page Section1 {size:"+tt[i.mso.pageFormat][0]+"pt "+tt[i.mso.pageFormat][1]+"pt",u+="; margin:1.0in 1.25in 1.0in 1.25in;mso-header-margin:.5in;mso-footer-margin:.5in;mso-paper-source:0;}",u+="div.Section1 {page:Section1;}",u+="@page Section2 {size:"+tt[i.mso.pageFormat][1]+"pt "+tt[i.mso.pageFormat][0]+"pt",u+=";mso-page-orientation:"+i.mso.pageOrientation+";margin:1.25in 1.0in 1.25in 1.0in;mso-header-margin:.5in;mso-footer-margin:.5in;mso-paper-source:0;}",u+="div.Section2 {page:Section2;}",u+="br {mso-data-placement:same-cell;}",u+="<\/style>",u+="<\/head>",u+="<body>",u+='<div class="Section'+("landscape"===i.mso.pageOrientation?"2":"1")+'">',u+=p,u+="<\/div>",u+="<\/body>",u+="<\/html>","string"===i.outputMode)return u;if("base64"===i.outputMode)return nt(u);g(u,i.fileName+"."+s,"application/vnd.ms-"+t,"","base64",!1)}else if("png"===i.type)html2canvas(n(c)[0]).then(function(n){n=n.toDataURL();for(var t=atob(n.substring(22)),u=new ArrayBuffer(t.length),f=new Uint8Array(u),r=0;r<t.length;r++)f[r]=t.charCodeAt(r);if("string"===i.outputMode)return t;if("base64"===i.outputMode)return nt(n);"window"===i.outputMode?window.open(n):g(u,i.fileName+".png","image/png","","",!1)});else if("pdf"===i.type)if(!0===i.pdfmake.enabled){for(t=[],pi=[],f=0,w=[],s=function(t,i,r){var u=0;return n(t).each(function(){var n=[];v(this,i,f,r,function(t,i,r){if("undefined"!=typeof t&&null!==t){var u=ot(t),f=ht(t);t=a(t,i,r)||" ";1<u||1<f?n.push({colSpan:u||1,rowSpan:f||1,text:t}):n.push(t)}else n.push(" ")});n.length&&pi.push(n);u<n.length&&(u=n.length);f++}),u},o=ft(n(this)),u=s(o,"th,td",o.length),st=t.length;st<u;st++)t.push("*");h=et(n(this));s(h,"th,td",o.length+h.length);t={content:[{table:{headerRows:o.length,widths:t,body:pi}}]};n.extend(!0,t,i.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,i.pdfmake.fonts);pdfMake.createPdf(t).getBuffer(function(n){g(n,i.fileName+".pdf","application/pdf","","",!1)})}else if(!1===i.jspdf.autotable)t={dim:{w:ti(n(c).first().get(0),"width","mm"),h:ti(n(c).first().get(0),"height","mm")},pagesplit:!1},wi=new jsPDF(i.jspdf.orientation,i.jspdf.unit,i.jspdf.format),wi.addHTML(n(c).first(),i.jspdf.margins.left,i.jspdf.margins.top,t,function(){di(wi,!1)});else{if(r=i.jspdf.autotable.tableExport,"string"==typeof i.jspdf.format&&"bestfit"===i.jspdf.format.toLowerCase()){var oi="",dt="",sr=0;n(c).each(function(){var t,i;if(k(n(this))&&(t=ti(n(this).get(0),"width","pt"),t>sr)){t>tt.a0[0]&&(oi="a0",dt="l");for(i in tt)tt.hasOwnProperty(i)&&tt[i][1]>t&&(oi=i,dt="l",tt[i][0]>t&&(dt="p"));sr=t}});i.jspdf.format=""===oi?"a4":oi;i.jspdf.orientation=""===dt?"w":dt}if(null==r.doc&&(r.doc=new jsPDF(i.jspdf.orientation,i.jspdf.unit,i.jspdf.format),r.wScaleFactor=1,r.hScaleFactor=1,"function"==typeof i.jspdf.onDocCreated))i.jspdf.onDocCreated(r.doc);!0===r.outputImages&&(r.images={});"undefined"!=typeof r.images&&(n(c).filter(function(){return k(n(this))}).each(function(){var t=0;w=[];!1===i.exportHiddenCells&&(it=n(this).find("tr, th, td").filter(":hidden"),yt=0<it.length);o=ft(n(this));h=et(n(this));n(h).each(function(){v(this,"td,th",o.length+t,o.length+h.length,function(t){nr(t,n(t).children(),r)});t++})}),o=[],h=[]);cr(r,function(){n(c).filter(function(){return k(n(this))}).each(function(){var u,t,e,s;if(f=0,w=[],!1===i.exportHiddenCells&&(it=n(this).find("tr, th, td").filter(":hidden"),yt=0<it.length),ct=gt(this),r.columns=[],r.rows=[],r.teCells={},"function"==typeof r.onTable&&!1===r.onTable(n(this),i))return!0;if(i.jspdf.autotable.tableExport=null,t=n.extend(!0,{},i.jspdf.autotable),i.jspdf.autotable.tableExport=r,t.margin={},n.extend(!0,t.margin,i.jspdf.margins),t.tableExport=r,"function"!=typeof t.beforePageContent&&(t.beforePageContent=function(t){if(1===t.pageCount){var i=t.table.rows.concat(t.table.headerRow);n.each(i,function(){0<this.height&&(this.height+=(2-1.15)/2*this.styles.fontSize,t.table.height+=(2-1.15)/2*this.styles.fontSize)})}}),"function"!=typeof t.createdHeaderCell&&(t.createdHeaderCell=function(i,u){var f,e;i.styles=n.extend({},u.row.styles);"undefined"!=typeof r.columns[u.column.dataKey]&&(f=r.columns[u.column.dataKey],"undefined"!=typeof f.rect&&(i.contentWidth=f.rect.width,("undefined"==typeof r.heightRatio||0===r.heightRatio)&&(e=u.row.raw[u.column.dataKey].rowspan?u.row.raw[u.column.dataKey].rect.height/u.row.raw[u.column.dataKey].rowspan:u.row.raw[u.column.dataKey].rect.height,r.heightRatio=i.styles.rowHeight/e),e=u.row.raw[u.column.dataKey].rect.height*r.heightRatio,e>i.styles.rowHeight&&(i.styles.rowHeight=e)),i.styles.halign="inherit"===t.headerStyles.halign?"center":t.headerStyles.halign,i.styles.valign=t.headerStyles.valign,"undefined"!=typeof f.style&&!0!==f.style.hidden&&("inherit"===t.headerStyles.halign&&(i.styles.halign=f.style.align),"inherit"===t.styles.fillColor&&(i.styles.fillColor=f.style.bcolor),"inherit"===t.styles.textColor&&(i.styles.textColor=f.style.color),"inherit"===t.styles.fontStyle&&(i.styles.fontStyle=f.style.fstyle)))}),"function"!=typeof t.createdCell&&(t.createdCell=function(n,i){i=r.teCells[i.row.index+":"+i.column.dataKey];n.styles.halign="inherit"===t.styles.halign?"center":t.styles.halign;n.styles.valign=t.styles.valign;"undefined"!=typeof i&&"undefined"!=typeof i.style&&!0!==i.style.hidden&&("inherit"===t.styles.halign&&(n.styles.halign=i.style.align),"inherit"===t.styles.fillColor&&(n.styles.fillColor=i.style.bcolor),"inherit"===t.styles.textColor&&(n.styles.textColor=i.style.color),"inherit"===t.styles.fontStyle&&(n.styles.fontStyle=i.style.fstyle))}),"function"!=typeof t.drawHeaderCell&&(t.drawHeaderCell=function(n,t){var i=r.columns[t.column.dataKey];return(!0!==i.style.hasOwnProperty("hidden")||!0!==i.style.hidden)&&0<=i.rowIndex?gi(n,t,i):!1}),"function"!=typeof t.drawCell&&(t.drawCell=function(t,i){var u=r.teCells[i.row.index+":"+i.column.dataKey],e,f;return!0!==("undefined"!=typeof u&&u.isCanvas)?gi(t,i,u)&&(r.doc.rect(t.x,t.y,t.width,t.height,t.styles.fillStyle),"undefined"!=typeof u&&"undefined"!=typeof u.elements&&u.elements.length?(i=t.height/u.rect.height,i>r.hScaleFactor&&(r.hScaleFactor=i),r.wScaleFactor=t.width/u.rect.width,i=t.textPos.y,tr(t,u.elements,r),t.textPos.y=i,ir(t,u.elements,r)):ir(t,{},r)):(u=u.elements[0],e=n(u).attr("data-tableexport-canvas"),f=u.getBoundingClientRect(),t.width=f.width*r.wScaleFactor,t.height=f.height*r.hScaleFactor,i.row.height=t.height,ki(t,u,e,r)),!1}),r.headerrows=[],o=ft(n(this)),n(o).each(function(){u=0;r.headerrows[f]=[];v(this,"th,td",f,o.length,function(n,t,i){var e=ur(n);e.title=a(n,t,i);e.key=u++;e.rowIndex=f;r.headerrows[f].push(e)});f++}),0<f)for(e=f-1;0<=e;)n.each(r.headerrows[e],function(){var n=this;0<e&&null===this.rect&&(n=r.headerrows[e-1][this.key]);null!==n&&0<=n.rowIndex&&(!0!==n.style.hasOwnProperty("hidden")||!0!==n.style.hidden)&&r.columns.push(n)}),e=0<r.columns.length?-1:e-1;if(s=0,h=[],h=et(n(this)),n(h).each(function(){var t=[];u=0;v(this,"td,th",f,o.length+h.length,function(i,f,e){if("undefined"==typeof r.columns[u]){var o={title:"",key:u,style:{hidden:!0}};r.columns.push(o)}"undefined"!=typeof i&&null!==i?(o=ur(i),o.isCanvas=i.hasAttribute("data-tableexport-canvas"),o.elements=o.isCanvas?n(i):n(i).children()):(o=n.extend(!0,{},r.teCells[s+":"+(u-1)]),o.colspan=-1);r.teCells[s+":"+u++]=o;t.push(a(i,f,e))});t.length&&(r.rows.push(t),s++);f++}),"function"==typeof r.onBeforeAutotable)r.onBeforeAutotable(n(this),r.columns,r.rows,t);if(r.doc.autoTable(r.columns,r.rows,t),"function"==typeof r.onAfterAutotable)r.onAfterAutotable(n(this),t);i.jspdf.autotable.startY=r.doc.autoTableEndPosY()+t.margin.top});di(r.doc,"undefined"!=typeof r.images&&!1===jQuery.isEmptyObject(r.images));"undefined"!=typeof r.headerrows&&(r.headerrows.length=0);"undefined"!=typeof r.columns&&(r.columns.length=0);"undefined"!=typeof r.rows&&(r.rows.length=0);delete r.doc;r.doc=null})}return this}}(jQuery)