/** * @preserve tableExport.jquery.plugin * * Version 1.21 * * Copyright (c) 2015-2021 hhurz, * https://github.com/hhurz/tableExport.jquery.plugin * * Based on https://github.com/kayalshri/tableExport.jquery.plugin * * Licensed under the MIT License **/ /* tableExport.jquery.plugin Version 1.21 Copyright (c) 2015-2021 hhurz, https://github.com/hhurz/tableExport.jquery.plugin Based on https://github.com/kayalshri/tableExport.jquery.plugin Licensed under the MIT License */ var $jscomp={scope:{}};$jscomp.defineProperty="function"==typeof Object.defineProperties?Object.defineProperty:function(d,T,Ia){if(Ia.get||Ia.set)throw new TypeError("ES3 does not support getters and setters.");d!=Array.prototype&&d!=Object.prototype&&(d[T]=Ia.value)};$jscomp.getGlobal=function(d){return"undefined"!=typeof window&&window===d?d:"undefined"!=typeof global?global:d};$jscomp.global=$jscomp.getGlobal(this);$jscomp.SYMBOL_PREFIX="jscomp_symbol_";$jscomp.initSymbol=function(){$jscomp.initSymbol=function(){};$jscomp.global.Symbol||($jscomp.global.Symbol=$jscomp.Symbol)};$jscomp.symbolCounter_=0;$jscomp.Symbol=function(d){return $jscomp.SYMBOL_PREFIX+(d||"")+$jscomp.symbolCounter_++};$jscomp.initSymbolIterator=function(){$jscomp.initSymbol();var d=$jscomp.global.Symbol.iterator;d||(d=$jscomp.global.Symbol.iterator=$jscomp.global.Symbol("iterator"));"function"!=typeof Array.prototype[d]&&$jscomp.defineProperty(Array.prototype,d,{configurable:!0,writable:!0,value:function(){return $jscomp.arrayIterator(this)}});$jscomp.initSymbolIterator=function(){}};$jscomp.arrayIterator=function(d){var T=0;return $jscomp.iteratorPrototype(function(){return Te&&"undefined"!==typeof xa[e]&&-1!==d.inArray(xa[e],b.ignoreColumn))&&(g=!0):g=!0;return g}function n(a,c,e,g,f){if("function"===typeof f){var y=!1;"function"===typeof b.onIgnoreRow&&(y=b.onIgnoreRow(d(a),e));if(!1===y&&(0===b.ignoreRow.length||-1===d.inArray(e,b.ignoreRow)&&-1===d.inArray(e-g,b.ignoreRow))&&U(d(a))){a=K(d(a),c);var l=a.length,h=0,q=0;a.each(function(){var a=d(this),c=P(this),b=ra(this),g;d.each(M,function(){if(e>this.s.r&&e<=this.e.r&&h>=this.s.c&&h<=this.e.c)for(g=0;g<=this.e.c-this.s.c;++g)l++,q++,f(null,e,h++)});if(b||c)c=c||1,M.push({s:{r:e,c:h},e:{r:e+(b||1)-1,c:h+c-1}});!1===cb(a,l,q++)&&f(this,e,h++);if(1=this.s.r&&e<=this.e.r&&h>=this.s.c&&h<=this.e.c)for(var a=0;a<=this.e.c-this.s.c;++a)f(null,e,h++)})}}}function eb(a,c,b,g){if("undefined"!==typeof g.images&&(b=g.images[b],"undefined"!==typeof b)){c=c.getBoundingClientRect();var e=a.width/a.height,d=c.width/c.height,l=a.width,h=a.height,q=19.049976/25.4,db=0;d<=e?(h=Math.min(a.height,c.height),l=c.width*h/c.height):d>e&&(l=Math.min(a.width,c.width),h=c.height*l/c.width);l*=q;h*=q;ha.textPos.x&&g+k>a.textPos.x+a.width&&(0<=".,!%*;:\x3d-".indexOf(q.charAt(0))&&(C=q.charAt(0),k=e.doc.getStringUnitWidth(C)*e.doc.internal.getFontSize(),g+k<=a.textPos.x+a.width&&(La(C,g,f,y),q=q.substring(1,q.length)),k=e.doc.getStringUnitWidth(q)*e.doc.internal.getFontSize()),g=a.textPos.x,f+=e.doc.internal.getFontSize());if("visible"!==a.styles.overflow)for(;q.length&&g+k>a.textPos.x+a.width;)q=q.substring(0,q.length-1),k=e.doc.getStringUnitWidth(q)*e.doc.internal.getFontSize();La(q,g,f,y);g+=k}if(l||h)d(c).is("b")?l=!1:d(c).is("i")&&(h=!1),e.doc.setFont("undefined ",l||h?l?"bold":"italic":"normal");c=c.nextSibling}a.textPos.x=g;a.textPos.y=f}else La(a.text,a.textPos.x,a.textPos.y,y)}}function za(a,c,b){return null==a?"":a.toString().replace(new RegExp(null==c?"":c.toString().replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1"),"g"),b)}function Ka(a){return null==a?"":a.toString().replace(/^\s+/,"")}function ib(a){return null==a?"":a.toString().replace(/\s+$/,"")}function Ma(a){if(0===b.date.html.length)return!1;b.date.pattern.lastIndex=0;var c=b.date.pattern.exec(a);if(null==c)return!1;a=+c[b.date.match_y];if(0>a||8099]*)>)/gi,"\u2060"),V=d("\x3cdiv/\x3e").html(C).contents();a=!1;C="";d.each(V.text().split("\u2028"),function(a,c){0a?1:0)).split(".");1===V.length&&(V[1]="");var m=3a?"-":"")+(b.numbers.output.thousandsSeparator?(m?V[0].substr(0,m)+b.numbers.output.thousandsSeparator:"")+V[0].substr(m).replace(/(\d{3})(?=\d)/g,"$1"+b.numbers.output.thousandsSeparator):V[0])+(V[1].length?b.numbers.output.decimalMark+V[1]:"")}}else f=h;!0===b.escape&&(f=escape(f));"function"===typeof b.onCellData&&(f=b.onCellData(l,c,e,f,y),l.data("teUserDefText",1))}void 0!==g&&(g.type=y);return f}function Q(a){return 0f?b+=String.fromCharCode(f):(127f?b+=String.fromCharCode(f>>6|192):(b+=String.fromCharCode(f>>12|224),b+=String.fromCharCode(f>>6&63|128)),b+=String.fromCharCode(f&63|128));a=b}for(;q>2,c=(c&3)<<4|b>>4,y=(b&15)<<2|d>>6,l=d&63,isNaN(b)?y=l=64:isNaN(d)&&(l=64),h=h+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\x3d".charAt(f)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\x3d".charAt(c)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\x3d".charAt(y)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\x3d".charAt(l);return h}function Ab(a,b,e,d){b&&"object"===typeof b||console.error("The headers should be an object or array, is: "+typeof b);e&&"object"===typeof e||console.error("The data should be an object or array, is: "+typeof e);d&&"object"!==typeof d&&console.error("The data should be an object or array, is: "+typeof e);Array.prototype.forEach||console.error("The current browser does not support Array.prototype.forEach which is required for jsPDF-AutoTable");w=a;m=Jb(d||{});lb=1;I={y:!1===m.startY?m.margin.top:m.startY};a={textColor:30,fontSize:w.internal.getFontSize(),fontStyle:w.internal.getFont().fontStyle};Bb(b,e);Kb();b=m.startY+m.margin.bottom+r.headerRow.height+(r.rows[0]&&"auto"===m.pageBreak?r.rows[0].height:0);"avoid"===m.pageBreak&&(b+=r.height);if("always"===m.pageBreak&&!1!==m.startY||!1!==m.startY&&b>w.internal.pageSize.height)w.addPage(),I.y=m.margin.top;Aa(a);m.beforePageContent(Y());!1!==m.drawHeaderRow(r.headerRow,Y({row:r.headerRow}))&&Wa(r.headerRow,m.drawHeaderCell);Aa(a);Cb();m.afterPageContent(Y());Aa(a);return w}function La(a,b,d,g){"number"===typeof b&&"number"===typeof d||console.error("The x and y parameters are required. Missing for the text: ",a);var c=w.internal.getFontSize()/w.internal.scaleFactor,e=/\r\n|\r|\n/g,l=null,h=1;if("middle"===g.valign||"bottom"===g.valign||"center"===g.halign||"right"===g.halign)l="string"===typeof a?a.split(e):a,h=l.length||1;d+=c*(2-1.15);"middle"===g.valign?d-=h/2*c:"bottom"===g.valign&&(d-=h*c);if("center"===g.halign||"right"===g.halign){e=c;"center"===g.halign&&(e*=.5);if(l&&1<=h){for(a=0;ab.contentWidth&&(b.contentWidth=a)});b.width=b.contentWidth;a+=b.contentWidth});r.contentWidth=a;var b=w.internal.pageSize.width-m.margin.left-m.margin.right,d=b;"number"===typeof m.tableWidth?d=m.tableWidth:"wrap"===m.tableWidth&&(d=r.contentWidth);r.width=dr.width?a.width=a.contentWidth:(g.push(a),f+=a.contentWidth,a.width=0);l+=a.width});Eb(g,l,f,k);r.height=0;r.rows.concat(r.headerRow).forEach(function(a,b){var c=0,d=r.x;r.columns.forEach(function(b){var e=a.cells[b.dataKey];b.x=d;Aa(e.styles);var f=b.width-2*e.styles.cellPadding;"linebreak"===e.styles.overflow?e.text=w.splitTextToSize(e.text,f+1,{fontSize:e.styles.fontSize}):"ellipsize"===e.styles.overflow?e.text=ob(e.text,f,e.styles):"visible"!==e.styles.overflow&&("hidden"===e.styles.overflow?e.text=ob(e.text,f,e.styles,""):"function"===typeof e.styles.overflow?e.text=e.styles.overflow(e.text,f):console.error("Unrecognized overflow type: "+e.styles.overflow));e=Array.isArray(e.text)?e.text.length-1:0;e>c&&(c=e);d+=b.width});a.heightStyle=a.styles.rowHeight;a.height=a.heightStyle+c*a.styles.fontSize*1.15+(2-1.15)/2*a.styles.fontSize;r.height+=a.height})}function Eb(a,b,d,g){for(var c=r.width-b-d,e=0;ec&&q){a.splice(e,1);d-=l.contentWidth;l.width=g;b+=l.width;Eb(a,b,d,g);break}else l.width=l.contentWidth+c*h}}function Cb(){r.rows.forEach(function(a,b){I.y+a.height+m.margin.bottom>=w.internal.pageSize.height&&(m.afterPageContent(Y()),w.addPage(),lb++,I={x:m.margin.left,y:m.margin.top},m.beforePageContent(Y()),!1!==m.drawHeaderRow(r.headerRow,Y({row:r.headerRow}))&&Wa(r.headerRow,m.drawHeaderCell));a.y=I.y;!1!==m.drawRow(a,Y({row:a}))&&Wa(a,m.drawCell)})}function Wa(a,b){for(var c=0;c=Ea(a,d))return a;for(;ba.length);)a=a.substring(0,a.length-1);return a.trim()+g}function Ea(a,b){Aa(b);return w.getStringUnitWidth(a)*b.fontSize}function Z(a){var b={},d;for(d in a)a.hasOwnProperty(d)&&(b[d]=a[d]);for(var g=1;g=this.s.r&&t<=this.e.r&&f>=this.s.c&&f<=this.e.c)for(var a=0;a<=this.e.c-this.s.c;++a)f++,b++});if(a||g)a=a||1,g=g||1,e.push({s:{r:t,c:f},e:{r:t+a-1,c:f+g-1}});1c||36c||48===c)u="n";else{if("date"===x.type||13c||44c||56===c)u="d"}else u="s";if(null!=A){if(0===A.length)h.t="z";else if(0!==A.trim().length&&"s"!==u)if("function"===x.type)h={f:A};else if("TRUE"===A)h={t:"b",v:!0};else if("FALSE"===A)h={t:"b",v:!1};else if("n"===u||isFinite(Da(A,b.numbers.output))){if(u=Da(A,b.numbers.output),0===c&&"function"!==typeof b.mso.xslx.formatId.numbers&&(c=b.mso.xslx.formatId.numbers),isFinite(u)||isFinite(A))h={t:"n",v:isFinite(u)?u:A,z:"string"===typeof c?c:c in v?v[c]:"0.00"}}else if(!1!==(x=Ma(A))||"d"===u)0===c&&"function"!==typeof b.mso.xslx.formatId.date&&(c=b.mso.xslx.formatId.date),h={t:"d",v:!1!==x?x:A,z:"string"===typeof c?c:c in v?v[c]:"m/d/yy"};(u=d(n).find("a"))&&u.length&&(u=u[0].hasAttribute("href")?u.attr("href"):"",A="href"!==b.htmlHyperlink||""===u?A:"",x=""!==u?'\x3dHYPERLINK("'+u+(A.length?'","'+A:"")+'")':"",""!==x&&("function"===typeof b.mso.xlsx.onHyperlink?(A=b.mso.xlsx.onHyperlink(d(n),q,C,u,A,x),h=0!==A.indexOf("\x3dHYPERLINK")?{t:"s",v:A}:{f:A}):h={f:x}))}e[R({c:p,r:m})]=h;k.e.c=f&&(e["!fullref"]=Ua((k.e.r=g.length-q+m-1,k)));c="";"string"===typeof b.mso.worksheetName&&b.mso.worksheetName.length?c=b.mso.worksheetName+" "+(Fa.length+1):"undefined"!==typeof b.mso.worksheetName[Fa.length]&&(c=b.mso.worksheetName[Fa.length]);c.length||(c=a.find("caption").text()||"");c.length||(c="Table "+(Fa.length+1));c=d.trim(c.replace(/[\\\/[\]*:?'"]/g,"").substring(0,31));Fa.push(c);XLSX.utils.book_append_sheet(tb,e,c)});var va=XLSX.write(tb,{type:"binary",bookType:b.mso.fileFormat,bookSST:!1});X(yb(va),b.fileName+"."+b.mso.fileFormat,"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","UTF-8","",!1)}else if("excel"===b.type||"xls"===b.type||"word"===b.type||"doc"===b.type){var wa="excel"===b.type||"xls"===b.type?"excel":"word",Qa="excel"===wa?"xls":"doc",ub='xmlns:x\x3d"urn:schemas-microsoft-com:office:'+wa+'"',Ra=N="";d(B).filter(function(){return U(d(this))}).each(function(){var a=d(this);""===Ra&&(Ra=b.mso.worksheetName||a.find("caption").text()||"Table",Ra=d.trim(Ra.replace(/[\\\/[\]*:?'"]/g,"").substring(0,31)));!1===b.exportHiddenCells&&(L=a.find("tr, th, td").filter(":hidden"),Ca=0wb){a>ia.a0[0]&&(Za="a0",Ga="l");for(var b in ia)ia.hasOwnProperty(b)&&ia[b][1]>a&&(Za=b,Ga="l",ia[b][0]>a&&(Ga="p"));wb=a}}});b.jspdf.format=""===Za?"a4":Za;b.jspdf.orientation=""===Ga?"w":Ga}if(null==k.doc&&(k.doc=new jspdf.jsPDF(b.jspdf.orientation,b.jspdf.unit,b.jspdf.format),k.wScaleFactor=1,k.hScaleFactor=1,"function"===typeof b.jspdf.onDocCreated))b.jspdf.onDocCreated(k.doc);!0===k.outputImages&&(k.images={});"undefined"!==typeof k.images&&(d(B).filter(function(){return U(d(this))}).each(function(){var a=0;M=[];!1===b.exportHiddenCells&&(L=d(this).find("tr, th, td").filter(":hidden"),Ca=0a.styles.rowHeight&&(a.styles.rowHeight=e)}a.styles.halign="inherit"===c.headerStyles.halign?"center":c.headerStyles.halign;a.styles.valign=c.headerStyles.valign;"undefined"!==typeof d.style&&!0!==d.style.hidden&&("inherit"===c.headerStyles.halign&&(a.styles.halign=d.style.align),"inherit"===c.styles.fillColor&&(a.styles.fillColor=d.style.bcolor),"inherit"===c.styles.textColor&&(a.styles.textColor=d.style.color),"inherit"===c.styles.fontStyle&&(a.styles.fontStyle=d.style.fstyle))}});"function"!==typeof c.createdCell&&(c.createdCell=function(a,b){var d=k.teCells[b.row.index+":"+b.column.dataKey];a.styles.halign="inherit"===c.styles.halign?"center":c.styles.halign;a.styles.valign=c.styles.valign;"undefined"!==typeof d&&"undefined"!==typeof d.style&&!0!==d.style.hidden&&("inherit"===c.styles.halign&&(a.styles.halign=d.style.align),"inherit"===c.styles.fillColor&&(a.styles.fillColor=d.style.bcolor),"inherit"===c.styles.textColor&&(a.styles.textColor=d.style.color),"inherit"===c.styles.fontStyle&&(a.styles.fontStyle=d.style.fstyle))});"function"!==typeof c.drawHeaderCell&&(c.drawHeaderCell=function(a,b){var c=k.columns[b.column.dataKey];return(!0!==c.style.hasOwnProperty("hidden")||!0!==c.style.hidden)&&0<=c.rowIndex?u(a,b,c):!1});"function"!==typeof c.drawCell&&(c.drawCell=function(a,b){var c=k.teCells[b.row.index+":"+b.column.dataKey];if(!0!==("undefined"!==typeof c&&c.isCanvas)){if(u(a,b,c))if(k.doc.rect(a.x,a.y,a.width,a.height,a.styles.fillStyle),"undefined"===typeof c||"undefined"!==typeof c.hasUserDefText&&!0===c.hasUserDefText||"undefined"===typeof c.elements||!c.elements.length)hb(a,{},k);else{var e=a.height/c.rect.height;e>k.hScaleFactor&&(k.hScaleFactor=e);k.wScaleFactor=a.width/c.rect.width;e=a.textPos.y;fb(a,c.elements,k);a.textPos.y=e;hb(a,c.elements,k)}}else{var c=c.elements[0],e=d(c).attr("data-tableexport-canvas"),f=c.getBoundingClientRect();a.width=f.width*k.wScaleFactor;a.height=f.height*k.hScaleFactor;b.row.height=a.height;eb(a,c,e,k)}return!1});k.headerrows=[];z=J(d(this));d(z).each(function(){a=0;k.headerrows[t]=[];n(this,"th,td",t,z.length,function(b,c,d){var e=W(b);e.title=E(b,c,d);e.key=a++;e.rowIndex=t;k.headerrows[t].push(e)});t++});if(0a.length)b=a.length;for(var c=0,d=Array(b);c=a.length?{done:!0}:{done:!1,value:a[d++]}},e:function(a){throw a;},f:D}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var e=!0,f=!1,pa;return{s:function(){$jscomp.initSymbol();$jscomp.initSymbolIterator();c=a[Symbol.iterator]()},n:function(){var a=c.next();e=a.done;return a},e:function(a){f=!0;pa=a},f:function(){try{e||null==c["return"]||c["return"]()}finally{if(f)throw pa;}}}}function cb(a,b){return b={exports:{}},a(b,b.exports),b.exports}var n=d&&"object"===typeof d&&"default"in d?d:{"default":d},eb="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{},Ja=function(a){return a&&a.Math==Math&&a},u=Ja("object"==typeof globalThis&&globalThis)||Ja("object"==typeof window&&window)||Ja("object"==typeof self&&self)||Ja("object"==typeof eb&&eb)||function(){return this}()||Function("return this")(),G=function(a){try{return!!a()}catch(pa){return!0}},ya=!G(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),fb={}.propertyIsEnumerable,hb=Object.getOwnPropertyDescriptor,za=hb&&!fb.call({1:2},1)?function(a){a=hb(this,a);return!!a&&a.enumerable}:fb,Ka=function(a,b){return{enumerable:!(a&1),configurable:!(a&2),writable:!(a&4),value:b}},ib={}.toString,Ma=function(a){return ib.call(a).slice(8,-1)},jb="".split,ta=G(function(){return!Object("z").propertyIsEnumerable(0)})?function(a){return"String"==Ma(a)?jb.call(a,""):Object(a)}:Object,E=function(a){if(void 0==a)throw TypeError("Can't call method on "+a);return a},Q=function(a){return"object"===typeof a?null!==a:"function"===typeof a},kb=function(a,b){if(!Q(a))return a;var c,d;if(b&&"function"==typeof(c=a.toString)&&!Q(d=c.call(a))||"function"==typeof(c=a.valueOf)&&!Q(d=c.call(a))||!b&&"function"==typeof(c=a.toString)&&!Q(d=c.call(a)))return d;throw TypeError("Can't convert object to primitive value");},Ta={}.hasOwnProperty,W=function(a,b){return Ta.call(a,b)},P=u.document,ra=Q(P)&&Q(P.createElement),da=!ya&&!G(function(){return 7!=Object.defineProperty(ra?P.createElement("div"):{},"a",{get:function(){return 7}}).a}),gb=Object.getOwnPropertyDescriptor,yb=ya?gb:function(a,b){a=ta(E(a));b=kb(b,!0);if(da)try{return gb(a,b)}catch(lc){}if(W(a,b))return Ka(!za.call(a,b),a[b])},R=function(a){if(!Q(a))throw TypeError(String(a)+" is not an object");return a},Ua=Object.defineProperty,Da={f:ya?Ua:function(a,b,c){R(a);b=kb(b,!0);R(c);if(da)try{return Ua(a,b,c)}catch(Ha){}if("get"in c||"set"in c)throw TypeError("Accessors not supported");"value"in c&&(a[b]=c.value);return a}},sa=ya?function(a,b,c){return Da.f(a,b,Ka(1,c))}:function(a,b,c){a[b]=c;return a},X=function(a,b){try{sa(u,a,b)}catch(lc){u[a]=b}return b},ga=u["__core-js_shared__"]||X("__core-js_shared__",{}),fa=Function.toString;"function"!=typeof ga.inspectSource&&(ga.inspectSource=function(a){return fa.call(a)});var Ab=ga.inspectSource,La=u.WeakMap,Jb="function"===typeof La&&/native code/.test(Ab(La)),Bb=cb(function(a){(a.exports=function(a,b){return ga[a]||(ga[a]=void 0!==b?b:{})})("versions",[]).push({version:"3.9.1",mode:"global",copyright:"\u00a9 2021 Denis Pushkarev (zloirock.ru)"})}),Kb=0,Eb=Math.random(),Cb=function(a){return"Symbol("+String(void 0===a?"":a)+")_"+(++Kb+Eb).toString(36)},Wa=Bb("keys"),Aa=function(a){return Wa[a]||(Wa[a]=Cb(a))},Y={},ob=u.WeakMap,Ea,Z,N;if(Jb){var b=ga.state||(ga.state=new ob),ia=b.get,Na=b.has,nb=b.set;Ea=function(a,c){c.facade=a;nb.call(b,a,c);return c};Z=function(a){return ia.call(b,a)||{}};N=function(a){return Na.call(b,a)}}else{var B=Aa("state");Y[B]=!0;Ea=function(a,b){b.facade=a;sa(a,B,b);return b};Z=function(a){return W(a,B)?a[B]:{}};N=function(a){return W(a,B)}}var Va=Z,z=cb(function(a){var b=String(String).split("String");(a.exports=function(a,c,d,e){var f=e?!!e.unsafe:!1,D=e?!!e.enumerable:!1;e=e?!!e.noTargetGet:!1;var h;"function"==typeof d&&("string"!=typeof c||W(d,"name")||sa(d,"name",c),h=N(d)?Z(d):Ea(d,{}),h.source||(h.source=b.join("string"==typeof c?c:"")));a===u?D?a[c]=d:X(c,d):(f?!e&&a[c]&&(D=!0):delete a[c],D?a[c]=d:sa(a,c,d))})(Function.prototype,"toString",function(){return"function"==typeof this&&Va(this).source||Ab(this)})}),x=function(a){return"function"==typeof a?a:void 0},t=function(a,b){return 2>arguments.length?x(u[a])||x(u[a]):u[a]&&u[a][b]||u[a]&&u[a][b]},v=Math.ceil,xa=Math.floor,M=function(a){return isNaN(a=+a)?0:(0c?Ca(c+b,0):Ba(c,b)},ja=function(a){return function(b,c,d){b=ta(E(b));var e=L(b.length);d=pb(d,e);if(a&&c!=c)for(;e>d;){if(c=b[d++],c!=c)return!0}else for(;e>d;d++)if((a||d in b)&&b[d]===c)return a||d||0;return!a&&-1}},ua={includes:ja(!0),indexOf:ja(!1)}.indexOf,ka=function(a,b){var c=ta(E(a)),d=0,e=[],f;for(f in c)!W(Y,f)&&W(c,f)&&e.push(f);for(;b.length>d;)W(c,f=b[d++])&&(~ua(e,f)||e.push(f));return e},la="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),qb=la.concat("length","prototype"),H={f:Object.getOwnPropertyNames||function(a){return ka(a,qb)}},ma=Object.getOwnPropertySymbols,rb=t("Reflect","ownKeys")||function(a){var b=H.f(R(a));return ma?b.concat(ma(a)):b},Xa=/#|\.prototype\./,O=function(a,b){var c=sb[Fb(a)];return c==Ya?!0:c==S?!1:"function"==typeof b?G(b):!!b},Fb=O.normalize=function(a){return String(a).replace(Xa,".").toLowerCase()},sb=O.data={},S=O.NATIVE="N",Ya=O.POLYFILL="P",na=function(a,b){var c=a.target,d=a.global,e=a.stat,f,D,h,g,k;if(D=d?u:e?u[c]||X(c,{}):(u[c]||{}).prototype)for(h in b){k=b[h];g=a.noTargetGet?(g=yb(D,h))&&g.value:D[h];f=O(d?h:c+(e?".":"#")+h,a.forced);if(!f&&void 0!==g){if(typeof k===typeof g)continue;f=k;for(var l=g,pa=rb(l),m=Da.f,p=yb,n=0;nQa)});$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbolIterator();var Ra=ub&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,p=Bb("wks"),ba=u.Symbol,vb=Ra?ba:ba&&ba.withoutSetter||Cb,k=function(a){if(!W(p,a)||!ub&&"string"!=typeof p[a])ub&&W(ba,a)?p[a]=ba[a]:p[a]=vb("Symbol."+a);return p[a]},Za=k("species"),Ga=function(a,b){var c;ea(a)&&((c=a.constructor,"function"!=typeof c||c!==Array&&!ea(c.prototype))?Q(c)&&(c=c[Za],null===c&&(c=void 0)):c=void 0);return new (void 0===c?Array:c)(0===b?0:b)},wb=[].push,w=function(a){var b=1==a,c=2==a,d=3==a,e=4==a,f=6==a,h=7==a,g=5==a||f;return function(D,k,F,ca){var l=Object(E(D)),pa=ta(l);k=Oa(k,F,3);F=L(pa.length);var Ha=0;ca=ca||Ga;D=b?ca(D,F):c||h?ca(D,0):void 0;for(var Ob;F>Ha;Ha++)if(g||Ha in pa)if(ca=pa[Ha],Ob=k(ca,Ha,l),a)if(b)D[Ha]=Ob;else if(Ob)switch(a){case 3:return!0;case 5:return ca;case 6:return Ha;case 2:wb.call(D,ca)}else switch(a){case 4:return!1;case 7:wb.call(D,ca)}return f?-1:d||e?e:D}},I=w(0),m=w(1);w(2);w(3);w(4);var lb=w(5);w(6);w(7);var r=Object.keys||function(a){return ka(a,la)},a=ya?Object.defineProperties:function(a,b){R(a);for(var c=r(b),d=c.length,e=0,f;d>e;)Da.f(a,f=c[e++],b[f]);return a},c=t("document","documentElement"),e=Aa("IE_PROTO"),g=function(){},f,y=function(){try{f=document.domain&&new ActiveXObject("htmlfile")}catch(pa){}var a;f?(a=f,a.write("\x3cscript\x3e\x3c/script\x3e"),a.close(),a=a.parentWindow.Object):(a=ra?P.createElement("iframe"):{},a.style.display="none",c.appendChild(a),a.src="javascript:",a=a.contentWindow.document,a.open(),a.write("\x3cscript\x3edocument.F\x3dObject\x3c/script\x3e"),a.close(),a=a.F);y=a;for(a=la.length;a--;)delete y.prototype[la[a]];return y()};Y[e]=!0;var l=Object.create||function(b,c){var d;null!==b?(g.prototype=R(b),d=new g,g.prototype=null,d[e]=b):d=y();return void 0===c?d:a(d,c)},h=k("unscopables"),q=Array.prototype;void 0==q[h]&&Da.f(q,h,{configurable:!0,value:l(null)});var db=!0;"find"in[]&&Array(1).find(function(){db=!1});na({target:"Array",proto:!0,forced:db},{find:function(a){return lb(this,a,1e||e>=f)return a?"":void 0;h=d.charCodeAt(e);return 55296>h||56319(g=d.charCodeAt(e+1))||57343>>0;if(0===e)return[];if(void 0===a)return[d];var f;if(!Q(a)||(void 0!==(f=a[oc])?!f:"RegExp"!=Ma(a)))return b.call(d,a,e);f=[];for(var h=0,g=new RegExp(a.source,(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(a.sticky?"y":"")+"g"),k,l,F;k=A.call(g,d);){l=g.lastIndex;if(l>h&&(f.push(d.slice(h,k.index)),1=e))break;g.lastIndex===k.index&&g.lastIndex++}h===d.length?!F&&g.test("")||f.push(""):f.push(d.slice(h));return f.length>e?f.slice(0,e):f}:"0".split(void 0,0).length?function(a,c){return void 0===a&&0===c?[]:b.call(this,a,c)}:b;return[function(b,c){var e=E(this),f=void 0==b?void 0:b[a];return void 0!==f?f.call(b,e,c):d.call(String(e),b,c)},function(a,e){var f=c(d,a,this,e,d!==b);if(f.done)return f.value;var h=R(a),f=String(this),g;g=RegExp;var k=R(h).constructor,l;g=void 0===k||void 0==(l=R(k)[pc])?g:oa(l);l=h.unicode;h=new g($a?h:"^(?:"+h.source+")",(h.ignoreCase?"i":"")+(h.multiline?"m":"")+(h.unicode?"u":"")+($a?"y":"g"));g=void 0===e?4294967295:e>>>0;if(0===g)return[];if(0===f.length)return null===Qb(h,f)?[f]:[];for(var F=0,m=0,k=[];m]*>)/g,vc=/\$([$&'`]|\d{1,2})/g,wc=function(a,b,c,d,e,f){var h=c+a.length,g=d.length,k=vc;void 0!==e&&(e=Object(E(e)),k=uc);return tc.call(f,k,function(f,k){var l;switch(k.charAt(0)){case "$":return"$";case "\x26":return a;case "`":return b.slice(0,c);case "'":return b.slice(h);case "\x3c":l=e[k.slice(1,-1)];break;default:l=+k;if(0===l)return f;if(l>g)return l=sc(l/10),0===l?f:l<=g?void 0===d[l-1]?k.charAt(1):d[l-1]+k.charAt(1):f;l=d[l-1]}return void 0===l?"":l})},xc=Math.max,yc=Math.min,zc=function(a){return void 0===a?a:String(a)};Yb("replace",2,function(a,b,c,d){var e=d.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,f=d.REPLACE_KEEPS_$0,h=e?"$":"$0";return[function(c,d){var e=E(this),f=void 0==c?void 0:c[a];return void 0!==f?f.call(c,e,d):b.call(String(e),c,d)},function(a,d){if(!e&&f||"string"===typeof d&&-1===d.indexOf(h)){var g=c(b,a,this,d);if(g.done)return g.value}var k=R(a),g=String(this),l="function"===typeof d;l||(d=String(d));var F=k.global;if(F){var m=k.unicode;k.lastIndex=0}for(var p=[];;){var n=Qb(k,g);if(null===n)break;p.push(n);if(!F)break;""===String(n[0])&&(n=L(k.lastIndex),n+=m?$b(g,n).length:1,k.lastIndex=n)}m="";for(F=k=0;F=k&&(m+=g.slice(k,D)+n,k=D+q.length)}return m+g.slice(k)}]});var Rb=function(a,b,c){b=kb(b);b in a?Da.f(a,b,Ka(0,c)):a[b]=c},Ac=k("species"),Sb=function(a){return 51<=Qa||!G(function(){var b=[];(b.constructor={})[Ac]=function(){return{foo:1}};return 1!==b[a](Boolean).foo})},Bc=Sb("slice"),Cc=k("species"),Dc=[].slice,Ec=Math.max;na({target:"Array",proto:!0,forced:!Bc},{slice:function(a,b){var c=ta(E(this)),d=L(c.length),e=pb(a,d),d=pb(void 0===b?d:b,d),f,h;if(ea(c)&&(f=c.constructor,"function"!=typeof f||f!==Array&&!ea(f.prototype)?Q(f)&&(f=f[Cc],null===f&&(f=void 0)):f=void 0,f===Array||void 0===f))return Dc.call(c,e,d);f=new (void 0===f?Array:f)(Ec(d-e,0));for(h=0;ee;)for(var f=ta(arguments[e++]),h=ma?r(f).concat(ma(f)):r(f),g=h.length,k=0,l;g>k;)if(l=h[k++],!ya||za.call(f,l))c[l]=f[l];return c}:ab;na({target:"Object",stat:!0,forced:Object.assign!==bc},{assign:bc});var cc=k("isConcatSpreadable"),Gc=51<=Qa||!G(function(){var a=[];a[cc]=!1;return a.concat()[0]!==a}),Hc=Sb("concat");na({target:"Array",proto:!0,forced:!Gc||!Hc},{concat:function(a){var b=Object(E(this)),c=Ga(b,0),d=0,e,f,h,g,k;e=-1;for(h=arguments.length;e