From 273f913a8185fc979115c73f25094838bc958a3c Mon Sep 17 00:00:00 2001 From: Brent Ely Date: Wed, 21 Jul 2021 22:03:30 -0500 Subject: [PATCH] Updated for v3.7.1 --- CHANGELOG.md | 6 ++++++ demos/browser/js/pptxgen.bundle.js | 4 ++-- demos/browser/js/pptxgen.bundle.js.map | 2 +- dist/pptxgen.bundle.js | 4 ++-- dist/pptxgen.bundle.js.map | 2 +- dist/pptxgen.cjs.js | 4 ++-- dist/pptxgen.es.js | 4 ++-- dist/pptxgen.min.js | 4 ++-- dist/pptxgen.min.js.map | 2 +- package.json | 2 +- src/pptxgen.ts | 2 +- 11 files changed, 21 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 87440fa3c..c86444fec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Notes] +## [3.7.1] - 2021-07-21 + +### Fixed + +- Added missing `altText` prop to ImageProps [\#848](https://github.com/gitbrent/PptxGenJS/pull/848) ([yorch](https://github.com/yorch)) + ## [3.7.0] - 2021-07-20 ### Added diff --git a/demos/browser/js/pptxgen.bundle.js b/demos/browser/js/pptxgen.bundle.js index f68d17e64..44afcc388 100644 --- a/demos/browser/js/pptxgen.bundle.js +++ b/demos/browser/js/pptxgen.bundle.js @@ -1,3 +1,3 @@ -/* PptxGenJS 3.7.0 @ 2021-07-21T02:38:25.952Z */ -!function(t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).JSZip=t()}(function(){return function o(i,s,l){function c(e,t){if(!s[e]){if(!i[e]){var r="function"==typeof require&&require;if(!t&&r)return r(e,!0);if(u)return u(e,!0);var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}var a=s[e]={exports:{}};i[e][0].call(a.exports,function(t){return c(i[e][1][t]||t)},a,a.exports,o,i,s,l)}return s[e].exports}for(var u="function"==typeof require&&require,t=0;t>2,o=(3&e)<<4|r>>4,i=1>6:64,s=2>4,r=(15&a)<<4|(o=h.indexOf(t.charAt(s++)))>>2,n=(3&o)<<6|(i=h.indexOf(t.charAt(s++))),c[l++]=e,64!==o&&(c[l++]=r),64!==i&&(c[l++]=n);return c}},{"./support":30,"./utils":32}],2:[function(t,e,r){"use strict";var n=t("./external"),a=t("./stream/DataWorker"),o=t("./stream/Crc32Probe"),i=t("./stream/DataLengthProbe");function s(t,e,r,n,a){this.compressedSize=t,this.uncompressedSize=e,this.crc32=r,this.compression=n,this.compressedContent=a}s.prototype={getContentWorker:function(){var t=new a(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new i("data_length")),e=this;return t.on("end",function(){if(this.streamInfo.data_length!==e.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),t},getCompressedWorker:function(){return new a(n.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},s.createWorkerFrom=function(t,e,r){return t.pipe(new o).pipe(new i("uncompressedSize")).pipe(e.compressWorker(r)).pipe(new i("compressedSize")).withStreamInfo("compression",e)},e.exports=s},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(t,e,r){"use strict";var n=t("./stream/GenericWorker");r.STORE={magic:"\0\0",compressWorker:function(t){return new n("STORE compression")},uncompressWorker:function(){return new n("STORE decompression")}},r.DEFLATE=t("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(t,e,r){"use strict";var n=t("./utils"),i=function(){for(var t,e=[],r=0;r<256;r++){t=r;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[r]=t}return e}();e.exports=function(t,e){return void 0!==t&&t.length?"string"!==n.getTypeOf(t)?function(t,e,r){var n=i,a=0+r;t^=-1;for(var o=0;o>>8^n[255&(t^e[o])];return-1^t}(0|e,t,t.length):function(t,e,r){var n=i,a=0+r;t^=-1;for(var o=0;o>>8^n[255&(t^e.charCodeAt(o))];return-1^t}(0|e,t,t.length):0}},{"./utils":32}],5:[function(t,e,r){"use strict";r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!0,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],6:[function(t,e,r){"use strict";var n;n="undefined"!=typeof Promise?Promise:t("lie"),e.exports={Promise:n}},{lie:37}],7:[function(t,e,r){"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,a=t("pako"),o=t("./utils"),i=t("./stream/GenericWorker"),s=n?"uint8array":"array";function l(t,e){i.call(this,"FlateWorker/"+t),this._pako=null,this._pakoAction=t,this._pakoOptions=e,this.meta={}}r.magic="\b\0",o.inherits(l,i),l.prototype.processChunk=function(t){this.meta=t.meta,null===this._pako&&this._createPako(),this._pako.push(o.transformTo(s,t.data),!1)},l.prototype.flush=function(){i.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},l.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this._pako=null},l.prototype._createPako=function(){this._pako=new a[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},r.compressWorker=function(t){return new l("Deflate",t)},r.uncompressWorker=function(){return new l("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(t,e,r){"use strict";function T(t,e){var r,n="";for(r=0;r>>=8;return n}function a(t,e,r,n,a,o){var i,s,l=t.file,c=t.compression,u=o!==R.utf8encode,p=k.transformTo("string",o(l.name)),f=k.transformTo("string",R.utf8encode(l.name)),d=l.comment,h=k.transformTo("string",o(d)),m=k.transformTo("string",R.utf8encode(d)),g=f.length!==l.name.length,v=m.length!==d.length,A="",y="",b="",x=l.dir,w=l.date,_={crc32:0,compressedSize:0,uncompressedSize:0};e&&!r||(_.crc32=t.crc32,_.compressedSize=t.compressedSize,_.uncompressedSize=t.uncompressedSize);var C=0;e&&(C|=8),u||!g&&!v||(C|=2048);var P,S=0,L=0;x&&(S|=16),"UNIX"===a?(L=798,S|=((P=l.unixPermissions)||(P=x?16893:33204),(65535&P)<<16)):(L=20,S|=63&(l.dosPermissions||0)),i=w.getUTCHours(),i<<=6,i|=w.getUTCMinutes(),i<<=5,i|=w.getUTCSeconds()/2,s=w.getUTCFullYear()-1980,s<<=4,s|=w.getUTCMonth()+1,s<<=5,s|=w.getUTCDate(),g&&(A+="up"+T((y=T(1,1)+T(F(p),4)+f).length,2)+y),v&&(A+="uc"+T((b=T(1,1)+T(F(h),4)+m).length,2)+b);var E="";return E+="\n\0",E+=T(C,2),E+=c.magic,E+=T(i,2),E+=T(s,2),E+=T(_.crc32,4),E+=T(_.compressedSize,4),E+=T(_.uncompressedSize,4),E+=T(p.length,2),E+=T(A.length,2),{fileRecord:I.LOCAL_FILE_HEADER+E+p+A,dirRecord:I.CENTRAL_FILE_HEADER+T(L,2)+E+T(h.length,2)+"\0\0\0\0"+T(S,4)+T(n,4)+p+A+h}}var k=t("../utils"),o=t("../stream/GenericWorker"),R=t("../utf8"),F=t("../crc32"),I=t("../signature");function n(t,e,r,n){o.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=e,this.zipPlatform=r,this.encodeFileName=n,this.streamFiles=t,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}k.inherits(n,o),n.prototype.push=function(t){var e=t.meta.percent||0,r=this.entriesCount,n=this._sources.length;this.accumulate?this.contentBuffer.push(t):(this.bytesWritten+=t.data.length,o.prototype.push.call(this,{data:t.data,meta:{currentFile:this.currentFile,percent:r?(e+100*(r-n-1))/r:100}}))},n.prototype.openedSource=function(t){this.currentSourceOffset=this.bytesWritten,this.currentFile=t.file.name;var e=this.streamFiles&&!t.file.dir;if(e){var r=a(t,e,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},n.prototype.closedSource=function(t){this.accumulate=!1;var e,r=this.streamFiles&&!t.file.dir,n=a(t,r,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),r)this.push({data:(e=t,I.DATA_DESCRIPTOR+T(e.crc32,4)+T(e.compressedSize,4)+T(e.uncompressedSize,4)),meta:{percent:100}});else for(this.push({data:n.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},n.prototype.flush=function(){for(var t=this.bytesWritten,e=0;e=this.index;e--)r=(r<<8)+this.byteAt(e);return this.index+=t,r},readString:function(t){return n.transformTo("string",this.readData(t))},readData:function(t){},lastIndexOfSignature:function(t){},readAndCheckSignature:function(t){},readDate:function(){var t=this.readInt(4);return new Date(Date.UTC(1980+(t>>25&127),(t>>21&15)-1,t>>16&31,t>>11&31,t>>5&63,(31&t)<<1))}},e.exports=a},{"../utils":32}],19:[function(t,e,r){"use strict";var n=t("./Uint8ArrayReader");function a(t){n.call(this,t)}t("../utils").inherits(a,n),a.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=a},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(t,e,r){"use strict";var n=t("./DataReader");function a(t){n.call(this,t)}t("../utils").inherits(a,n),a.prototype.byteAt=function(t){return this.data.charCodeAt(this.zero+t)},a.prototype.lastIndexOfSignature=function(t){return this.data.lastIndexOf(t)-this.zero},a.prototype.readAndCheckSignature=function(t){return t===this.readData(4)},a.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=a},{"../utils":32,"./DataReader":18}],21:[function(t,e,r){"use strict";var n=t("./ArrayReader");function a(t){n.call(this,t)}t("../utils").inherits(a,n),a.prototype.readData=function(t){if(this.checkOffset(t),0===t)return new Uint8Array(0);var e=this.data.subarray(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=a},{"../utils":32,"./ArrayReader":17}],22:[function(t,e,r){"use strict";var n=t("../utils"),a=t("../support"),o=t("./ArrayReader"),i=t("./StringReader"),s=t("./NodeBufferReader"),l=t("./Uint8ArrayReader");e.exports=function(t){var e=n.getTypeOf(t);return n.checkSupport(e),"string"!==e||a.uint8array?"nodebuffer"===e?new s(t):a.uint8array?new l(n.transformTo("uint8array",t)):new o(n.transformTo("array",t)):new i(t)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(t,e,r){"use strict";r.LOCAL_FILE_HEADER="PK",r.CENTRAL_FILE_HEADER="PK",r.CENTRAL_DIRECTORY_END="PK",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",r.ZIP64_CENTRAL_DIRECTORY_END="PK",r.DATA_DESCRIPTOR="PK\b"},{}],24:[function(t,e,r){"use strict";var n=t("./GenericWorker"),a=t("../utils");function o(t){n.call(this,"ConvertWorker to "+t),this.destType=t}a.inherits(o,n),o.prototype.processChunk=function(t){this.push({data:a.transformTo(this.destType,t.data),meta:t.meta})},e.exports=o},{"../utils":32,"./GenericWorker":28}],25:[function(t,e,r){"use strict";var n=t("./GenericWorker"),a=t("../crc32");function o(){n.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}t("../utils").inherits(o,n),o.prototype.processChunk=function(t){this.streamInfo.crc32=a(t.data,this.streamInfo.crc32||0),this.push(t)},e.exports=o},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(t,e,r){"use strict";var n=t("../utils"),a=t("./GenericWorker");function o(t){a.call(this,"DataLengthProbe for "+t),this.propName=t,this.withStreamInfo(t,0)}n.inherits(o,a),o.prototype.processChunk=function(t){if(t){var e=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=e+t.data.length}a.prototype.processChunk.call(this,t)},e.exports=o},{"../utils":32,"./GenericWorker":28}],27:[function(t,e,r){"use strict";var n=t("../utils"),a=t("./GenericWorker");function o(t){a.call(this,"DataWorker");var e=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,t.then(function(t){e.dataIsReady=!0,e.data=t,e.max=t&&t.length||0,e.type=n.getTypeOf(t),e.isPaused||e._tickAndRepeat()},function(t){e.error(t)})}n.inherits(o,a),o.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this.data=null},o.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,n.delay(this._tickAndRepeat,[],this)),!0)},o.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(n.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},o.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var t=null,e=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":t=this.data.substring(this.index,e);break;case"uint8array":t=this.data.subarray(this.index,e);break;case"array":case"nodebuffer":t=this.data.slice(this.index,e)}return this.index=e,this.push({data:t,meta:{percent:this.max?this.index/this.max*100:0}})},e.exports=o},{"../utils":32,"./GenericWorker":28}],28:[function(t,e,r){"use strict";function n(t){this.name=t||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}n.prototype={push:function(t){this.emit("data",t)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(t){this.emit("error",t)}return!0},error:function(t){return!this.isFinished&&(this.isPaused?this.generatedError=t:(this.isFinished=!0,this.emit("error",t),this.previous&&this.previous.error(t),this.cleanUp()),!0)},on:function(t,e){return this._listeners[t].push(e),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(t,e){if(this._listeners[t])for(var r=0;r "+t:t}},e.exports=n},{}],29:[function(t,e,r){"use strict";var c=t("../utils"),a=t("./ConvertWorker"),o=t("./GenericWorker"),u=t("../base64"),n=t("../support"),i=t("../external"),s=null;if(n.nodestream)try{s=t("../nodejs/NodejsStreamOutputAdapter")}catch(t){}function l(t,e,r){var n=e;switch(e){case"blob":case"arraybuffer":n="uint8array";break;case"base64":n="string"}try{this._internalType=n,this._outputType=e,this._mimeType=r,c.checkSupport(n),this._worker=t.pipe(new a(n)),t.lock()}catch(t){this._worker=new o("error"),this._worker.error(t)}}l.prototype={accumulate:function(t){return s=this,l=t,new i.Promise(function(e,r){var n=[],a=s._internalType,o=s._outputType,i=s._mimeType;s.on("data",function(t,e){n.push(t),l&&l(e)}).on("error",function(t){n=[],r(t)}).on("end",function(){try{var t=function(t,e,r){switch(t){case"blob":return c.newBlob(c.transformTo("arraybuffer",e),r);case"base64":return u.encode(e);default:return c.transformTo(t,e)}}(o,function(t,e){var r,n=0,a=null,o=0;for(r=0;r>>6:(r<65536?e[o++]=224|r>>>12:(e[o++]=240|r>>>18,e[o++]=128|r>>>12&63),e[o++]=128|r>>>6&63),e[o++]=128|63&r);return e}(t)},o.utf8decode=function(t){return l.nodebuffer?s.transformTo("nodebuffer",t).toString("utf-8"):function(t){var e,r,n,a,o=t.length,i=new Array(2*o);for(e=r=0;e>10&1023,i[r++]=56320|1023&n)}return i.length!==r&&(i.subarray?i=i.subarray(0,r):i.length=r),s.applyFromCharCode(i)}(t=s.transformTo(l.uint8array?"uint8array":"array",t))},s.inherits(i,n),i.prototype.processChunk=function(t){var e=s.transformTo(l.uint8array?"uint8array":"array",t.data);if(this.leftOver&&this.leftOver.length){if(l.uint8array){var r=e;(e=new Uint8Array(r.length+this.leftOver.length)).set(this.leftOver,0),e.set(r,this.leftOver.length)}else e=this.leftOver.concat(e);this.leftOver=null}var n=function(t,e){var r;for((e=e||t.length)>t.length&&(e=t.length),r=e-1;0<=r&&128==(192&t[r]);)r--;return r<0?e:0===r?e:r+c[t[r]]>e?r:e}(e),a=e;n!==e.length&&(l.uint8array?(a=e.subarray(0,n),this.leftOver=e.subarray(n,e.length)):(a=e.slice(0,n),this.leftOver=e.slice(n,e.length))),this.push({data:o.utf8decode(a),meta:t.meta})},i.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:o.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},o.Utf8DecodeWorker=i,s.inherits(u,n),u.prototype.processChunk=function(t){this.push({data:o.utf8encode(t.data),meta:t.meta})},o.Utf8EncodeWorker=u},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(t,e,s){"use strict";var l=t("./support"),c=t("./base64"),r=t("./nodejsUtils"),n=t("set-immediate-shim"),u=t("./external");function a(t){return t}function p(t,e){for(var r=0;r>8;this.dir=!!(16&this.externalFileAttributes),0==t&&(this.dosPermissions=63&this.externalFileAttributes),3==t&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(t){if(this.extraFields[1]){var e=n(this.extraFields[1].value);this.uncompressedSize===o.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===o.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===o.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===o.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(t){var e,r,n,a=t.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});t.index+4>>6:(r<65536?e[o++]=224|r>>>12:(e[o++]=240|r>>>18,e[o++]=128|r>>>12&63),e[o++]=128|r>>>6&63),e[o++]=128|63&r);return e},r.buf2binstring=function(t){return u(t,t.length)},r.binstring2buf=function(t){for(var e=new l.Buf8(t.length),r=0,n=e.length;r>10&1023,s[n++]=56320|1023&a)}return u(s,n)},r.utf8border=function(t,e){var r;for((e=e||t.length)>t.length&&(e=t.length),r=e-1;0<=r&&128==(192&t[r]);)r--;return r<0?e:0===r?e:r+c[t[r]]>e?r:e}},{"./common":41}],43:[function(t,e,r){"use strict";e.exports=function(t,e,r,n){for(var a=65535&t|0,o=t>>>16&65535|0,i=0;0!==r;){for(r-=i=2e3>>1:t>>>1;e[r]=t}return e}();e.exports=function(t,e,r,n){var a=s,o=n+r;t^=-1;for(var i=n;i>>8^a[255&(t^e[i])];return-1^t}},{}],46:[function(t,e,r){"use strict";var l,f=t("../utils/common"),c=t("./trees"),d=t("./adler32"),h=t("./crc32"),n=t("./messages"),u=0,p=0,m=-2,a=2,g=8,o=286,i=30,s=19,v=2*o+1,A=15,y=3,b=258,x=b+y+1,w=42,_=113;function C(t,e){return t.msg=n[e],e}function P(t){return(t<<1)-(4t.avail_out&&(r=t.avail_out),0!==r&&(f.arraySet(t.output,e.pending_buf,e.pending_out,r,t.next_out),t.next_out+=r,e.pending_out+=r,t.total_out+=r,t.avail_out-=r,e.pending-=r,0===e.pending&&(e.pending_out=0))}function E(t,e){c._tr_flush_block(t,0<=t.block_start?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,L(t.strm)}function T(t,e){t.pending_buf[t.pending++]=e}function k(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function R(t,e){var r,n,a=t.max_chain_length,o=t.strstart,i=t.prev_length,s=t.nice_match,l=t.strstart>t.w_size-x?t.strstart-(t.w_size-x):0,c=t.window,u=t.w_mask,p=t.prev,f=t.strstart+b,d=c[o+i-1],h=c[o+i];t.prev_length>=t.good_match&&(a>>=2),s>t.lookahead&&(s=t.lookahead);do{if(c[(r=e)+i]===h&&c[r+i-1]===d&&c[r]===c[o]&&c[++r]===c[o+1]){o+=2,r++;do{}while(c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&ol&&0!=--a);return i<=t.lookahead?i:t.lookahead}function F(t){var e,r,n,a,o,i,s,l,c,u,p=t.w_size;do{if(a=t.window_size-t.lookahead-t.strstart,t.strstart>=p+(p-x)){for(f.arraySet(t.window,t.window,p,p,0),t.match_start-=p,t.strstart-=p,t.block_start-=p,e=r=t.hash_size;n=t.head[--e],t.head[e]=p<=n?n-p:0,--r;);for(e=r=p;n=t.prev[--e],t.prev[e]=p<=n?n-p:0,--r;);a+=p}if(0===t.strm.avail_in)break;if(i=t.strm,s=t.window,l=t.strstart+t.lookahead,u=void 0,(c=a)<(u=i.avail_in)&&(u=c),r=0===u?0:(i.avail_in-=u,f.arraySet(s,i.input,i.next_in,u,l),1===i.state.wrap?i.adler=d(i.adler,s,u,l):2===i.state.wrap&&(i.adler=h(i.adler,s,u,l)),i.next_in+=u,i.total_in+=u,u),t.lookahead+=r,t.lookahead+t.insert>=y)for(o=t.strstart-t.insert,t.ins_h=t.window[o],t.ins_h=(t.ins_h<=y&&(t.ins_h=(t.ins_h<=y)if(n=c._tr_tally(t,t.strstart-t.match_start,t.match_length-y),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=y){for(t.match_length--;t.strstart++,t.ins_h=(t.ins_h<=y&&(t.ins_h=(t.ins_h<=y&&t.match_length<=t.prev_length){for(a=t.strstart+t.lookahead-y,n=c._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-y),t.lookahead-=t.prev_length-1,t.prev_length-=2;++t.strstart<=a&&(t.ins_h=(t.ins_h<t.pending_buf_size-5&&(r=t.pending_buf_size-5);;){if(t.lookahead<=1){if(F(t),0===t.lookahead&&e===u)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+r;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,E(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-x&&(E(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(E(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(E(t,!1),t.strm.avail_out),1)}),new B(4,4,8,4,I),new B(4,5,16,8,I),new B(4,6,32,32,I),new B(4,4,16,16,O),new B(8,16,32,32,O),new B(8,16,128,128,O),new B(8,32,128,256,O),new B(32,128,258,1024,O),new B(32,258,258,4096,O)],r.deflateInit=function(t,e){return z(t,e,g,15,8,0)},r.deflateInit2=z,r.deflateReset=M,r.deflateResetKeep=D,r.deflateSetHeader=function(t,e){return t&&t.state?2!==t.state.wrap?m:(t.state.gzhead=e,p):m},r.deflate=function(t,e){var r,n,a,o;if(!t||!t.state||5>8&255),T(n,n.gzhead.time>>16&255),T(n,n.gzhead.time>>24&255),T(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),T(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(T(n,255&n.gzhead.extra.length),T(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(t.adler=h(t.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69):(T(n,0),T(n,0),T(n,0),T(n,0),T(n,0),T(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),T(n,3),n.status=_);else{var i=g+(n.w_bits-8<<4)<<8;i|=(2<=n.strategy||n.level<2?0:n.level<6?1:6===n.level?2:3)<<6,0!==n.strstart&&(i|=32),i+=31-i%31,n.status=_,k(n,i),0!==n.strstart&&(k(n,t.adler>>>16),k(n,65535&t.adler)),t.adler=1}if(69===n.status)if(n.gzhead.extra){for(a=n.pending;n.gzindex<(65535&n.gzhead.extra.length)&&(n.pending!==n.pending_buf_size||(n.gzhead.hcrc&&n.pending>a&&(t.adler=h(t.adler,n.pending_buf,n.pending-a,a)),L(t),a=n.pending,n.pending!==n.pending_buf_size));)T(n,255&n.gzhead.extra[n.gzindex]),n.gzindex++;n.gzhead.hcrc&&n.pending>a&&(t.adler=h(t.adler,n.pending_buf,n.pending-a,a)),n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=73)}else n.status=73;if(73===n.status)if(n.gzhead.name){a=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>a&&(t.adler=h(t.adler,n.pending_buf,n.pending-a,a)),L(t),a=n.pending,n.pending===n.pending_buf_size)){o=1;break}o=n.gzindexa&&(t.adler=h(t.adler,n.pending_buf,n.pending-a,a)),0===o&&(n.gzindex=0,n.status=91)}else n.status=91;if(91===n.status)if(n.gzhead.comment){a=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>a&&(t.adler=h(t.adler,n.pending_buf,n.pending-a,a)),L(t),a=n.pending,n.pending===n.pending_buf_size)){o=1;break}o=n.gzindexa&&(t.adler=h(t.adler,n.pending_buf,n.pending-a,a)),0===o&&(n.status=103)}else n.status=103;if(103===n.status&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&L(t),n.pending+2<=n.pending_buf_size&&(T(n,255&t.adler),T(n,t.adler>>8&255),t.adler=0,n.status=_)):n.status=_),0!==n.pending){if(L(t),0===t.avail_out)return n.last_flush=-1,p}else if(0===t.avail_in&&P(e)<=P(r)&&4!==e)return C(t,-5);if(666===n.status&&0!==t.avail_in)return C(t,-5);if(0!==t.avail_in||0!==n.lookahead||e!==u&&666!==n.status){var s=2===n.strategy?function(t,e){for(var r;;){if(0===t.lookahead&&(F(t),0===t.lookahead)){if(e===u)return 1;break}if(t.match_length=0,r=c._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,r&&(E(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(E(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(E(t,!1),0===t.strm.avail_out)?1:2}(n,e):3===n.strategy?function(t,e){for(var r,n,a,o,i=t.window;;){if(t.lookahead<=b){if(F(t),t.lookahead<=b&&e===u)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=y&&0t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=y?(r=c._tr_tally(t,1,t.match_length-y),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(r=c._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),r&&(E(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(E(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(E(t,!1),0===t.strm.avail_out)?1:2}(n,e):l[n.level].func(n,e);if(3!==s&&4!==s||(n.status=666),1===s||3===s)return 0===t.avail_out&&(n.last_flush=-1),p;if(2===s&&(1===e?c._tr_align(n):5!==e&&(c._tr_stored_block(n,0,0,!1),3===e&&(S(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),L(t),0===t.avail_out))return n.last_flush=-1,p}return 4!==e?p:n.wrap<=0?1:(2===n.wrap?(T(n,255&t.adler),T(n,t.adler>>8&255),T(n,t.adler>>16&255),T(n,t.adler>>24&255),T(n,255&t.total_in),T(n,t.total_in>>8&255),T(n,t.total_in>>16&255),T(n,t.total_in>>24&255)):(k(n,t.adler>>>16),k(n,65535&t.adler)),L(t),0=r.w_size&&(0===o&&(S(r.head),r.strstart=0,r.block_start=0,r.insert=0),c=new f.Buf8(r.w_size),f.arraySet(c,e,u-r.w_size,r.w_size,0),e=c,u=r.w_size),i=t.avail_in,s=t.next_in,l=t.input,t.avail_in=u,t.next_in=0,t.input=e,F(r);r.lookahead>=y;){for(n=r.strstart,a=r.lookahead-(y-1);r.ins_h=(r.ins_h<>>=b=y>>>24,h-=b,0==(b=y>>>16&255))S[o++]=65535&y;else{if(!(16&b)){if(0==(64&b)){y=m[(65535&y)+(d&(1<>>=b,h-=b),h<15&&(d+=P[n++]<>>=b=y>>>24,h-=b,!(16&(b=y>>>16&255))){if(0==(64&b)){y=g[(65535&y)+(d&(1<>>=b,h-=b,(b=o-i)>3,d&=(1<<(h-=x<<3))-1,t.next_in=n,t.next_out=o,t.avail_in=n>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function o(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new T.Buf16(320),this.work=new T.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function i(t){var e;return t&&t.state?(e=t.state,t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=M,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new T.Buf32(n),e.distcode=e.distdyn=new T.Buf32(a),e.sane=1,e.back=-1,N):D}function s(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,i(t)):D}function l(t,e){var r,n;return t&&t.state?(n=t.state,e<0?(r=0,e=-e):(r=1+(e>>4),e<48&&(e&=15)),e&&(e<8||15=o.wsize?(T.arraySet(o.window,e,r-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):(n<(a=o.wsize-o.wnext)&&(a=n),T.arraySet(o.window,e,r-n,a,o.wnext),(n-=a)?(T.arraySet(o.window,e,r-n,n,0),o.wnext=n,o.whave=o.wsize):(o.wnext+=a,o.wnext===o.wsize&&(o.wnext=0),o.whave>>8&255,r.check=R(r.check,L,2,0),u=c=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&c)<<8)+(c>>8))%31){t.msg="incorrect header check",r.mode=30;break}if(8!=(15&c)){t.msg="unknown compression method",r.mode=30;break}if(u-=4,w=8+(15&(c>>>=4)),0===r.wbits)r.wbits=w;else if(w>r.wbits){t.msg="invalid window size",r.mode=30;break}r.dmax=1<>8&1),512&r.flags&&(L[0]=255&c,L[1]=c>>>8&255,r.check=R(r.check,L,2,0)),u=c=0,r.mode=3;case 3:for(;u<32;){if(0===s)break t;s--,c+=n[o++]<>>8&255,L[2]=c>>>16&255,L[3]=c>>>24&255,r.check=R(r.check,L,4,0)),u=c=0,r.mode=4;case 4:for(;u<16;){if(0===s)break t;s--,c+=n[o++]<>8),512&r.flags&&(L[0]=255&c,L[1]=c>>>8&255,r.check=R(r.check,L,2,0)),u=c=0,r.mode=5;case 5:if(1024&r.flags){for(;u<16;){if(0===s)break t;s--,c+=n[o++]<>>8&255,r.check=R(r.check,L,2,0)),u=c=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&(s<(d=r.length)&&(d=s),d&&(r.head&&(w=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),T.arraySet(r.head.extra,n,o,d,w)),512&r.flags&&(r.check=R(r.check,n,d,o)),s-=d,o+=d,r.length-=d),r.length))break t;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===s)break t;for(d=0;w=n[o+d++],r.head&&w&&r.length<65536&&(r.head.name+=String.fromCharCode(w)),w&&d>9&1,r.head.done=!0),t.adler=r.check=0,r.mode=12;break;case 10:for(;u<32;){if(0===s)break t;s--,c+=n[o++]<>>=7&u,u-=7&u,r.mode=27;break}for(;u<3;){if(0===s)break t;s--,c+=n[o++]<>>=1)){case 0:r.mode=14;break;case 1:if(U(r),r.mode=20,6!==e)break;c>>>=2,u-=2;break t;case 2:r.mode=17;break;case 3:t.msg="invalid block type",r.mode=30}c>>>=2,u-=2;break;case 14:for(c>>>=7&u,u-=7&u;u<32;){if(0===s)break t;s--,c+=n[o++]<>>16^65535)){t.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&c,u=c=0,r.mode=15,6===e)break t;case 15:r.mode=16;case 16:if(d=r.length){if(s>>=5,u-=5,r.ndist=1+(31&c),c>>>=5,u-=5,r.ncode=4+(15&c),c>>>=4,u-=4,286>>=3,u-=3}for(;r.have<19;)r.lens[E[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,C={bits:r.lenbits},_=I(0,r.lens,0,19,r.lencode,0,r.work,C),r.lenbits=C.bits,_){t.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have>>16&255,A=65535&S,!((g=S>>>24)<=u);){if(0===s)break t;s--,c+=n[o++]<>>=g,u-=g,r.lens[r.have++]=A;else{if(16===A){for(P=g+2;u>>=g,u-=g,0===r.have){t.msg="invalid bit length repeat",r.mode=30;break}w=r.lens[r.have-1],d=3+(3&c),c>>>=2,u-=2}else if(17===A){for(P=g+3;u>>=g)),c>>>=3,u-=3}else{for(P=g+7;u>>=g)),c>>>=7,u-=7}if(r.have+d>r.nlen+r.ndist){t.msg="invalid bit length repeat",r.mode=30;break}for(;d--;)r.lens[r.have++]=w}}if(30===r.mode)break;if(0===r.lens[256]){t.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,C={bits:r.lenbits},_=I(O,r.lens,0,r.nlen,r.lencode,0,r.work,C),r.lenbits=C.bits,_){t.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,C={bits:r.distbits},_=I(B,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,C),r.distbits=C.bits,_){t.msg="invalid distances set",r.mode=30;break}if(r.mode=20,6===e)break t;case 20:r.mode=21;case 21:if(6<=s&&258<=l){t.next_out=i,t.avail_out=l,t.next_in=o,t.avail_in=s,r.hold=c,r.bits=u,F(t,f),i=t.next_out,a=t.output,l=t.avail_out,o=t.next_in,n=t.input,s=t.avail_in,c=r.hold,u=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;v=(S=r.lencode[c&(1<>>16&255,A=65535&S,!((g=S>>>24)<=u);){if(0===s)break t;s--,c+=n[o++]<>y)])>>>16&255,A=65535&S,!(y+(g=S>>>24)<=u);){if(0===s)break t;s--,c+=n[o++]<>>=y,u-=y,r.back+=y}if(c>>>=g,u-=g,r.back+=g,r.length=A,0===v){r.mode=26;break}if(32&v){r.back=-1,r.mode=12;break}if(64&v){t.msg="invalid literal/length code",r.mode=30;break}r.extra=15&v,r.mode=22;case 22:if(r.extra){for(P=r.extra;u>>=r.extra,u-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;v=(S=r.distcode[c&(1<>>16&255,A=65535&S,!((g=S>>>24)<=u);){if(0===s)break t;s--,c+=n[o++]<>y)])>>>16&255,A=65535&S,!(y+(g=S>>>24)<=u);){if(0===s)break t;s--,c+=n[o++]<>>=y,u-=y,r.back+=y}if(c>>>=g,u-=g,r.back+=g,64&v){t.msg="invalid distance code",r.mode=30;break}r.offset=A,r.extra=15&v,r.mode=24;case 24:if(r.extra){for(P=r.extra;u>>=r.extra,u-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){t.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(0===l)break t;if(d=f-l,r.offset>d){if((d=r.offset-d)>r.whave&&r.sane){t.msg="invalid distance too far back",r.mode=30;break}h=d>r.wnext?(d-=r.wnext,r.wsize-d):r.wnext-d,d>r.length&&(d=r.length),m=r.window}else m=a,h=i-r.offset,d=r.length;for(ld?(m=F[I+i[y]],E[T+i[y]]):(m=96,0),l=1<>C)+(c-=l)]=h<<24|m<<16|g|0,0!==c;);for(l=1<>=1;if(0!==l?(L&=l-1,L+=l):L=0,y++,0==--k[A]){if(A===x)break;A=e[r+i[y]]}if(w>>7)]}function _(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function C(t,e,r){t.bi_valid>a-r?(t.bi_buf|=e<>a-t.bi_valid,t.bi_valid+=r-a):(t.bi_buf|=e<>>=1,r<<=1,0<--e;);return r>>>1}function L(t,e,r){var n,a,o=new Array(g+1),i=0;for(n=1;n<=g;n++)o[n]=i=i+r[n-1]<<1;for(a=0;a<=e;a++){var s=t[2*a+1];0!==s&&(t[2*a]=S(o[s]++,s))}}function E(t){var e;for(e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function T(t){8>1;1<=r;r--)R(t,o,r);for(a=l;r=t.heap[1],t.heap[1]=t.heap[t.heap_len--],R(t,o,1),n=t.heap[1],t.heap[--t.heap_max]=r,t.heap[--t.heap_max]=n,o[2*a]=o[2*r]+o[2*n],t.depth[a]=(t.depth[r]>=t.depth[n]?t.depth[r]:t.depth[n])+1,o[2*r+1]=o[2*n+1]=a,t.heap[1]=a++,R(t,o,1),2<=t.heap_len;);t.heap[--t.heap_max]=t.heap[1],function(t,e){var r,n,a,o,i,s,l=e.dyn_tree,c=e.max_code,u=e.stat_desc.static_tree,p=e.stat_desc.has_stree,f=e.stat_desc.extra_bits,d=e.stat_desc.extra_base,h=e.stat_desc.max_length,m=0;for(o=0;o<=g;o++)t.bl_count[o]=0;for(l[2*t.heap[t.heap_max]+1]=0,r=t.heap_max+1;r<573;r++)h<(o=l[2*l[2*(n=t.heap[r])+1]+1]+1)&&(o=h,m++),l[2*n+1]=o,c>=7;n<30;n++)for(b[n]=a<<7,t=0;t<1<>>=1)if(1&r&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<256;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0}(t)),I(t,t.l_desc),I(t,t.d_desc),i=function(t){var e;for(O(t,t.dyn_ltree,t.l_desc.max_code),O(t,t.dyn_dtree,t.d_desc.max_code),I(t,t.bl_desc),e=18;3<=e&&0===t.bl_tree[2*u[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),a=t.opt_len+3+7>>>3,(o=t.static_len+3+7>>>3)<=a&&(a=o)):a=o=r+5,r+4<=a&&-1!==e?D(t,e,r,n):4===t.strategy||o===a?(C(t,2+(n?1:0),3),F(t,p,f)):(C(t,4+(n?1:0),3),function(t,e,r,n){var a;for(C(t,e-257,5),C(t,r-1,5),C(t,n-4,4),a=0;a>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&r,t.last_lit++,0===e?t.dyn_ltree[2*r]++:(t.matches++,e--,t.dyn_ltree[2*(h[r]+256+1)]++,t.dyn_dtree[2*w(e)]++),t.last_lit===t.lit_bufsize-1},r._tr_align=function(t){var e;C(t,2,3),P(t,256,p),16===(e=t).bi_valid?(_(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):8<=e.bi_valid&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}},{"../utils/common":41}],53:[function(t,e,r){"use strict";e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(t,e,r){"use strict";e.exports="function"==typeof setImmediate?setImmediate:function(){var t=[].slice.apply(arguments);t.splice(1,0,0),setTimeout.apply(null,t)}},{}]},{},[10])(10)})}).call(this,void 0!==r?r:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,void 0!==r?r:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,void 0!==r?r:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,void 0!==r?r:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)}),function o(i,s,l){function c(e,t){if(!s[e]){if(!i[e]){var r="function"==typeof require&&require;if(!t&&r)return r(e,!0);if(u)return u(e,!0);var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}var a=s[e]={exports:{}};i[e][0].call(a.exports,function(t){return c(i[e][1][t]||t)},a,a.exports,o,i,s,l)}return s[e].exports}for(var u="function"==typeof require&&require,t=0;ti;)o.call(t,n=a[i++])&&e.push(n);return e}},{104:104,107:107,108:108}],62:[function(t,e,r){var m=t(70),g=t(52),v=t(72),A=t(118),y=t(54),b="prototype",x=function(t,e,r){var n,a,o,i,s=t&x.F,l=t&x.G,c=t&x.S,u=t&x.P,p=t&x.B,f=l?m:c?m[e]||(m[e]={}):(m[e]||{})[b],d=l?g:g[e]||(g[e]={}),h=d[b]||(d[b]={});for(n in l&&(r=e),r)o=((a=!s&&f&&void 0!==f[n])?f:r)[n],i=p&&a?y(o,m):u&&"function"==typeof o?y(Function.call,o):o,f&&A(f,n,o,t&x.U),d[n]!=o&&v(d,n,i),u&&h[n]!=o&&(h[n]=o)};m.core=g,x.F=1,x.G=2,x.S=4,x.P=8,x.B=16,x.W=32,x.U=64,x.R=128,e.exports=x},{118:118,52:52,54:54,70:70,72:72}],63:[function(t,e,r){var n=t(152)("match");e.exports=function(e){var r=/./;try{"/./"[e](r)}catch(t){try{return r[n]=!1,!"/./"[e](r)}catch(t){}}return!0}},{152:152}],64:[function(t,e,r){arguments[4][23][0].apply(r,arguments)},{23:23}],65:[function(t,e,r){"use strict";t(248);var u=t(118),p=t(72),f=t(64),d=t(57),h=t(152),m=t(120),g=h("species"),v=!f(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")}),A=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2===r.length&&"a"===r[0]&&"b"===r[1]}();e.exports=function(r,t,e){var n=h(r),o=!f(function(){var t={};return t[n]=function(){return 7},7!=""[r](t)}),a=o?!f(function(){var t=!1,e=/a/;return e.exec=function(){return t=!0,null},"split"===r&&(e.constructor={},e.constructor[g]=function(){return e}),e[n](""),!t}):void 0;if(!o||!a||"replace"===r&&!v||"split"===r&&!A){var i=/./[n],s=e(d,n,""[r],function(t,e,r,n,a){return e.exec===m?o&&!a?{done:!0,value:i.call(e,r,n)}:{done:!0,value:t.call(r,e,n)}:{done:!1}}),l=s[0],c=s[1];u(String.prototype,r,l),p(RegExp.prototype,n,2==t?function(t,e){return c.call(t,this,e)}:function(t){return c.call(t,this)})}}},{118:118,120:120,152:152,248:248,57:57,64:64,72:72}],66:[function(t,e,r){"use strict";var n=t(38);e.exports=function(){var t=n(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},{38:38}],67:[function(t,e,r){"use strict";var h=t(79),m=t(81),g=t(141),v=t(54),A=t(152)("isConcatSpreadable");e.exports=function t(e,r,n,a,o,i,s,l){for(var c,u,p=o,f=0,d=!!s&&v(s,l,3);fdocument.F=Object<\/script>"),t.close(),u=t.F;r--;)delete u[c][s[r]];return u()};t.exports=Object.create||function(t,e){var r;return null!==t?(a[c]=o(t),r=new a,a[c]=null,r[l]=t):r=u(),void 0===e?r:i(r,e)}},{100:100,125:125,38:38,59:59,60:60,73:73}],99:[function(t,e,r){arguments[4][29][0].apply(r,arguments)},{143:143,29:29,38:38,58:58,74:74}],100:[function(t,e,r){var i=t(99),s=t(38),l=t(107);e.exports=t(58)?Object.defineProperties:function(t,e){s(t);for(var r,n=l(e),a=n.length,o=0;oa;)i(n,r=e[a++])&&(~l(o,r)||o.push(r));return o}},{125:125,140:140,41:41,71:71}],107:[function(t,e,r){var n=t(106),a=t(60);e.exports=Object.keys||function(t){return n(t,a)}},{106:106,60:60}],108:[function(t,e,r){r.f={}.propertyIsEnumerable},{}],109:[function(t,e,r){var a=t(62),o=t(52),i=t(64);e.exports=function(t,e){var r=(o.Object||{})[t]||Object[t],n={};n[t]=e(r),a(a.S+a.F*i(function(){r(1)}),"Object",n)}},{52:52,62:62,64:64}],110:[function(t,e,r){var l=t(58),c=t(107),u=t(140),p=t(108).f;e.exports=function(s){return function(t){for(var e,r=u(t),n=c(r),a=n.length,o=0,i=[];o>>0||(i.test(r)?16:10))}:n},{134:134,135:135,70:70}],114:[function(t,e,r){e.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},{}],115:[function(t,e,r){var n=t(38),a=t(81),o=t(96);e.exports=function(t,e){if(n(t),a(e)&&e.constructor===t)return e;var r=o.f(t);return(0,r.resolve)(e),r.promise}},{38:38,81:81,96:96}],116:[function(t,e,r){arguments[4][30][0].apply(r,arguments)},{30:30}],117:[function(t,e,r){var a=t(118);e.exports=function(t,e,r){for(var n in e)a(t,n,e[n],r);return t}},{118:118}],118:[function(t,e,r){var o=t(70),i=t(72),s=t(71),l=t(147)("src"),n=t(69),a="toString",c=(""+n).split(a);t(52).inspectSource=function(t){return n.call(t)},(e.exports=function(t,e,r,n){var a="function"==typeof r;a&&(s(r,"name")||i(r,"name",e)),t[e]!==r&&(a&&(s(r,l)||i(r,l,t[e]?""+t[e]:c.join(String(e)))),t===o?t[e]=r:n?t[e]?t[e]=r:i(t,e,r):(delete t[e],i(t,e,r)))})(Function.prototype,a,function(){return"function"==typeof this&&this[l]||n.call(this)})},{147:147,52:52,69:69,70:70,71:71,72:72}],119:[function(t,e,r){"use strict";var a=t(47),o=RegExp.prototype.exec;e.exports=function(t,e){var r=t.exec;if("function"==typeof r){var n=r.call(t,e);if("object"!=typeof n)throw new TypeError("RegExp exec method returned something other than an Object or null");return n}if("RegExp"!==a(t))throw new TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},{47:47}],120:[function(t,e,r){"use strict";var n,a,i=t(66),s=RegExp.prototype.exec,l=String.prototype.replace,o=s,c="lastIndex",u=(n=/a/,a=/b*/g,s.call(n,"a"),s.call(a,"a"),0!==n[c]||0!==a[c]),p=void 0!==/()??/.exec("")[1];(u||p)&&(o=function(t){var e,r,n,a,o=this;return p&&(r=new RegExp("^"+o.source+"$(?!\\s)",i.call(o))),u&&(e=o[c]),n=s.call(o,t),u&&n&&(o[c]=o.global?n.index+n[0].length:e),p&&n&&1"+a+""}var a=t(62),o=t(64),i=t(57),s=/"/g;e.exports=function(e,t){var r={};r[e]=t(n),a(a.P+a.F*o(function(){var t=""[e]('"');return t!==t.toLowerCase()||3l&&(c=c.slice(0,l)),n?c+a:a+c}},{133:133,141:141,57:57}],133:[function(t,e,r){"use strict";var a=t(139),o=t(57);e.exports=function(t){var e=String(o(this)),r="",n=a(t);if(n<0||n==1/0)throw RangeError("Count can't be negative");for(;0>>=1)&&(e+=e))1&n&&(r+=e);return r}},{139:139,57:57}],134:[function(t,e,r){function n(t,e,r){var n={},a=s(function(){return!!l[t]()||"​…"!="​…"[t]()}),o=n[t]=a?e(p):l[t];r&&(n[r]=o),i(i.P+i.F*a,"String",n)}var i=t(62),a=t(57),s=t(64),l=t(135),o="["+l+"]",c=RegExp("^"+o+o+"*"),u=RegExp(o+o+"*$"),p=n.trim=function(t,e){return t=String(a(t)),1&e&&(t=t.replace(c,"")),2&e&&(t=t.replace(u,"")),t};e.exports=n},{135:135,57:57,62:62,64:64}],135:[function(t,e,r){e.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},{}],136:[function(t,e,r){function n(){var t=+this;if(y.hasOwnProperty(t)){var e=y[t];delete y[t],e()}}function a(t){n.call(t.data)}var o,i,s,l=t(54),c=t(76),u=t(73),p=t(59),f=t(70),d=f.process,h=f.setImmediate,m=f.clearImmediate,g=f.MessageChannel,v=f.Dispatch,A=0,y={},b="onreadystatechange";h&&m||(h=function(t){for(var e=[],r=1;r>1,u=23===e?T(2,-24)-T(2,-77):0,p=0,f=t<0||0===t&&1/t<0?1:0;for((t=E(t))!=t||t===S?(a=t!=t?1:0,n=l):(n=k(R(t)/F),t*(o=T(2,-n))<1&&(n--,o*=2),2<=(t+=1<=n+c?u/o:u*T(2,1-c))*o&&(n++,o/=2),l<=n+c?(a=0,n=l):1<=n+c?(a=(t*o-1)*T(2,e),n+=c):(a=t*T(2,c-1)*T(2,e),n=0));8<=e;i[p++]=255&a,a/=256,e-=8);for(n=n<>1,s=a-7,l=r-1,c=t[l--],u=127&c;for(c>>=7;0>=-s,s+=e;0>8&255]}function W(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function H(t){return M(t,52,8)}function V(t){return M(t,23,4)}function Q(t,e,r){m(t[b],e,{get:function(){return this[r]}})}function Y(t,e,r,n){var a=d(+r);if(a+e>t[N])throw P(x);var o=t[B]._b,i=a+t[D],s=o.slice(i,i+e);return n?s:s.reverse()}function q(t,e,r,n,a,o){var i=d(+r);if(i+e>t[N])throw P(x);for(var s=t[B]._b,l=i+t[D],c=n(+a),u=0;uJ;)(Z=K[J++])in w||s(w,Z,L[Z]);o||(X.constructor=w)}var $=new _(new w(2)),tt=_[b].setInt8;$.setInt8(0,2147483648),$.setInt8(1,2147483649),!$.getInt8(0)&&$.getInt8(1)||l(_[b],{setInt8:function(t,e){tt.call(this,t,e<<24>>24)},setUint8:function(t,e){tt.call(this,t,e<<24>>24)}},!0)}else w=function(t){u(this,w,A);var e=d(t);this._b=g.call(new Array(e),0),this[N]=e},_=function(t,e,r){u(this,_,y),u(t,w,y);var n=t[N],a=p(e);if(a<0||n>24},getUint8:function(t){return Y(this,1,t)[0]},getInt16:function(t,e){var r=Y(this,2,t,e);return(r[1]<<8|r[0])<<16>>16},getUint16:function(t,e){var r=Y(this,2,t,e);return r[1]<<8|r[0]},getInt32:function(t,e){return U(Y(this,4,t,e))},getUint32:function(t,e){return U(Y(this,4,t,e))>>>0},getFloat32:function(t,e){return z(Y(this,4,t,e),23,4)},getFloat64:function(t,e){return z(Y(this,8,t,e),52,8)},setInt8:function(t,e){q(this,1,t,j,e)},setUint8:function(t,e){q(this,1,t,j,e)},setInt16:function(t,e,r){q(this,2,t,G,e,r)},setUint16:function(t,e,r){q(this,2,t,G,e,r)},setInt32:function(t,e,r){q(this,4,t,W,e,r)},setUint32:function(t,e,r){q(this,4,t,W,e,r)},setFloat32:function(t,e,r){q(this,4,t,V,e,r)},setFloat64:function(t,e,r){q(this,8,t,H,e,r)}});v(w,A),v(_,y),s(_[b],i.VIEW,!0),r[A]=w,r[y]=_},{103:103,117:117,124:124,138:138,139:139,141:141,146:146,37:37,40:40,58:58,64:64,70:70,72:72,89:89,99:99}],146:[function(t,e,r){for(var n,a=t(70),o=t(72),i=t(147),s=i("typed_array"),l=i("view"),c=!(!a.ArrayBuffer||!a.DataView),u=c,p=0,f="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");p<9;)(n=a[f[p++]])?(o(n.prototype,s,!0),o(n.prototype,l,!0)):u=!1;e.exports={ABV:c,CONSTR:u,TYPED:s,VIEW:l}},{147:147,70:70,72:72}],147:[function(t,e,r){var n=0,a=Math.random();e.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+a).toString(36))}},{}],148:[function(t,e,r){var n=t(70).navigator;e.exports=n&&n.userAgent||""},{70:70}],149:[function(t,e,r){var n=t(81);e.exports=function(t,e){if(!n(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},{81:81}],150:[function(t,e,r){var n=t(70),a=t(52),o=t(89),i=t(151),s=t(99).f;e.exports=function(t){var e=a.Symbol||(a.Symbol=o?{}:n.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:i.f(t)})}},{151:151,52:52,70:70,89:89,99:99}],151:[function(t,e,r){r.f=t(152)},{152:152}],152:[function(t,e,r){var n=t(126)("wks"),a=t(147),o=t(70).Symbol,i="function"==typeof o;(e.exports=function(t){return n[t]||(n[t]=i&&o[t]||(i?o:a)("Symbol."+t))}).store=n},{126:126,147:147,70:70}],153:[function(t,e,r){var n=t(47),a=t(152)("iterator"),o=t(88);e.exports=t(52).getIteratorMethod=function(t){if(null!=t)return t[a]||t["@@iterator"]||o[n(t)]}},{152:152,47:47,52:52,88:88}],154:[function(t,e,r){var n=t(62);n(n.P,"Array",{copyWithin:t(39)}),t(35)("copyWithin")},{35:35,39:39,62:62}],155:[function(t,e,r){"use strict";var n=t(62),a=t(42)(4);n(n.P+n.F*!t(128)([].every,!0),"Array",{every:function(t,e){return a(this,t,e)}})},{128:128,42:42,62:62}],156:[function(t,e,r){var n=t(62);n(n.P,"Array",{fill:t(40)}),t(35)("fill")},{35:35,40:40,62:62}],157:[function(t,e,r){"use strict";var n=t(62),a=t(42)(2);n(n.P+n.F*!t(128)([].filter,!0),"Array",{filter:function(t,e){return a(this,t,e)}})},{128:128,42:42,62:62}],158:[function(t,e,r){"use strict";var n=t(62),a=t(42)(6),o="findIndex",i=!0;o in[]&&Array(1)[o](function(){i=!1}),n(n.P+n.F*i,"Array",{findIndex:function(t,e){return a(this,t,1=t.length?(this._t=void 0,a(1)):a(0,"keys"==e?r:"values"==e?t[r]:[r,t[r]])},"values"),o.Arguments=o.Array,n("keys"),n("values"),n("entries")},{140:140,35:35,85:85,87:87,88:88}],165:[function(t,e,r){"use strict";var n=t(62),a=t(140),o=[].join;n(n.P+n.F*(t(77)!=Object||!t(128)(o)),"Array",{join:function(t){return o.call(a(this),void 0===t?",":t)}})},{128:128,140:140,62:62,77:77}],166:[function(t,e,r){"use strict";var n=t(62),o=t(140),i=t(139),s=t(141),l=[].lastIndexOf,c=!!l&&1/[1].lastIndexOf(1,-0)<0;n(n.P+n.F*(c||!t(128)(l)),"Array",{lastIndexOf:function(t,e){if(c)return l.apply(this,arguments)||0;var r=o(this),n=s(r.length),a=n-1;for(1>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},{62:62}],189:[function(t,e,r){var n=t(62),a=Math.exp;n(n.S,"Math",{cosh:function(t){return(a(t=+t)+a(-t))/2}})},{62:62}],190:[function(t,e,r){var n=t(62),a=t(90);n(n.S+n.F*(a!=Math.expm1),"Math",{expm1:a})},{62:62,90:90}],191:[function(t,e,r){var n=t(62);n(n.S,"Math",{fround:t(91)})},{62:62,91:91}],192:[function(t,e,r){var n=t(62),l=Math.abs;n(n.S,"Math",{hypot:function(t,e){for(var r,n,a=0,o=0,i=arguments.length,s=0;o>>16)*o+a*(65535&n>>>16)<<16>>>0)}})},{62:62,64:64}],194:[function(t,e,r){var n=t(62);n(n.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},{62:62}],195:[function(t,e,r){var n=t(62);n(n.S,"Math",{log1p:t(92)})},{62:62,92:92}],196:[function(t,e,r){var n=t(62);n(n.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},{62:62}],197:[function(t,e,r){var n=t(62);n(n.S,"Math",{sign:t(93)})},{62:62,93:93}],198:[function(t,e,r){var n=t(62),a=t(90),o=Math.exp;n(n.S+n.F*t(64)(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(a(t)-a(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},{62:62,64:64,90:90}],199:[function(t,e,r){var n=t(62),a=t(90),o=Math.exp;n(n.S,"Math",{tanh:function(t){var e=a(t=+t),r=a(-t);return e==1/0?1:r==1/0?-1:(e-r)/(o(t)+o(-t))}})},{62:62,90:90}],200:[function(t,e,r){var n=t(62);n(n.S,"Math",{trunc:function(t){return(0w;w++)o(g,b=x[w])&&!o(m,b)&&f(m,b,p(g,b));(m.prototype=v).constructor=m,t(118)(a,h,m)}},{101:101,103:103,118:118,134:134,143:143,48:48,58:58,64:64,70:70,71:71,75:75,98:98,99:99}],202:[function(t,e,r){var n=t(62);n(n.S,"Number",{EPSILON:Math.pow(2,-52)})},{62:62}],203:[function(t,e,r){var n=t(62),a=t(70).isFinite;n(n.S,"Number",{isFinite:function(t){return"number"==typeof t&&a(t)}})},{62:62,70:70}],204:[function(t,e,r){var n=t(62);n(n.S,"Number",{isInteger:t(80)})},{62:62,80:80}],205:[function(t,e,r){var n=t(62);n(n.S,"Number",{isNaN:function(t){return t!=t}})},{62:62}],206:[function(t,e,r){var n=t(62),a=t(80),o=Math.abs;n(n.S,"Number",{isSafeInteger:function(t){return a(t)&&o(t)<=9007199254740991}})},{62:62,80:80}],207:[function(t,e,r){var n=t(62);n(n.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},{62:62}],208:[function(t,e,r){var n=t(62);n(n.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},{62:62}],209:[function(t,e,r){var n=t(62),a=t(112);n(n.S+n.F*(Number.parseFloat!=a),"Number",{parseFloat:a})},{112:112,62:62}],210:[function(t,e,r){var n=t(62),a=t(113);n(n.S+n.F*(Number.parseInt!=a),"Number",{parseInt:a})},{113:113,62:62}],211:[function(t,e,r){"use strict";function c(t,e){for(var r=-1,n=e;++r<6;)n+=t*i[r],i[r]=n%1e7,n=o(n/1e7)}function u(t){for(var e=6,r=0;0<=--e;)r+=i[e],i[e]=o(r/t),r=r%t*1e7}function p(){for(var t=6,e="";0<=--t;)if(""!==e||0===t||0!==i[t]){var r=String(i[t]);e=""===e?r:e+h.call("0",7-r.length)+r}return e}var n=t(62),f=t(139),d=t(34),h=t(133),a=1..toFixed,o=Math.floor,i=[0,0,0,0,0,0],m="Number.toFixed: incorrect invocation!",g=function(t,e,r){return 0===e?r:e%2==1?g(t,e-1,r*t):g(t*t,e/2,r)};n(n.P+n.F*(!!a&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!t(64)(function(){a.call({})})),"Number",{toFixed:function(t){var e,r,n,a,o=d(this,m),i=f(t),s="",l="0";if(i<0||20t;)e(n[t++]);u._c=[],u._n=!1,r&&!u._h&&N(u)})}}function o(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),a(e,!0))}var i,s,l,c,u=r(89),f=r(70),d=r(54),h=r(47),m=r(62),g=r(81),v=r(33),A=r(37),y=r(68),b=r(127),x=r(136).set,w=r(95)(),_=r(96),C=r(114),P=r(148),S=r(115),L="Promise",E=f.TypeError,T=f.process,k=T&&T.versions,R=k&&k.v8||"",F=f[L],I="process"==h(T),O=s=_.f,B=!!function(){try{var t=F.resolve(1),e=(t.constructor={})[r(152)("species")]=function(t){t(n,n)};return(I||"function"==typeof PromiseRejectionEvent)&&t.then(n)instanceof e&&0!==R.indexOf("6.6")&&-1===P.indexOf("Chrome/66")}catch(t){}}(),N=function(o){x.call(f,function(){var t,e,r,n=o._v,a=D(o);if(a&&(t=C(function(){I?T.emit("unhandledRejection",n,o):(e=f.onunhandledrejection)?e({promise:o,reason:n}):(r=f.console)&&r.error&&r.error("Unhandled promise rejection",n)}),o._h=I||D(o)?2:1),o._a=void 0,a&&t.e)throw t.v})},D=function(t){return 1!==t._h&&0===(t._a||t._c).length},M=function(e){x.call(f,function(){var t;I?T.emit("rejectionHandled",e):(t=f.onrejectionhandled)&&t({promise:e,reason:e._v})})},z=function(t){var r,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw E("Promise can't be resolved itself");(r=p(t))?w(function(){var e={_w:n,_d:!1};try{r.call(t,d(z,e,1),d(o,e,1))}catch(t){o.call(e,t)}}):(n._v=t,n._s=1,a(n,!1))}catch(t){o.call({_w:n,_d:!1},t)}}};B||(F=function(t){A(this,F,L,"_h"),v(t),i.call(this);try{t(d(z,this,1),d(o,this,1))}catch(t){o.call(this,t)}},(i=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=r(117)(F.prototype,{then:function(t,e){var r=O(b(this,F));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=I?T.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&a(this,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),l=function(){var t=new i;this.promise=t,this.resolve=d(z,t,1),this.reject=d(o,t,1)},_.f=O=function(t){return t===F||t===c?new l(t):s(t)}),m(m.G+m.W+m.F*!B,{Promise:F}),r(124)(F,L),r(123)(L),c=r(52)[L],m(m.S+m.F*!B,L,{reject:function(t){var e=O(this);return(0,e.reject)(t),e.promise}}),m(m.S+m.F*(u||!B),L,{resolve:function(t){return S(u&&this===c?F:this,t)}}),m(m.S+m.F*!(B&&r(86)(function(t){F.all(t).catch(n)})),L,{all:function(t){var i=this,e=O(i),s=e.resolve,l=e.reject,r=C(function(){var n=[],a=0,o=1;y(t,!1,function(t){var e=a++,r=!1;n.push(void 0),o++,i.resolve(t).then(function(t){r||(r=!0,n[e]=t,--o||s(n))},l)}),--o||s(n)});return r.e&&l(r.v),e.promise},race:function(t){var e=this,r=O(e),n=r.reject,a=C(function(){y(t,!1,function(t){e.resolve(t).then(r.resolve,n)})});return a.e&&n(a.v),r.promise}})},{114:114,115:115,117:117,123:123,124:124,127:127,136:136,148:148,152:152,33:33,37:37,47:47,52:52,54:54,62:62,68:68,70:70,81:81,86:86,89:89,95:95,96:96}],233:[function(t,e,r){var n=t(62),o=t(33),i=t(38),s=(t(70).Reflect||{}).apply,l=Function.apply;n(n.S+n.F*!t(64)(function(){s(function(){})}),"Reflect",{apply:function(t,e,r){var n=o(t),a=i(r);return s?s(n,e,a):l.call(n,e,a)}})},{33:33,38:38,62:62,64:64,70:70}],234:[function(t,e,r){var n=t(62),l=t(98),c=t(33),u=t(38),p=t(81),a=t(64),f=t(46),d=(t(70).Reflect||{}).construct,h=a(function(){function t(){}return!(d(function(){},[],t)instanceof t)}),m=!a(function(){d(function(){})});n(n.S+n.F*(h||m),"Reflect",{construct:function(t,e,r){c(t),u(e);var n=arguments.length<3?t:c(r);if(m&&!h)return d(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var a=[null];return a.push.apply(a,e),new(f.apply(t,a))}var o=n.prototype,i=l(p(o)?o:Object.prototype),s=Function.apply.call(t,i,e);return p(s)?s:i}})},{33:33,38:38,46:46,62:62,64:64,70:70,81:81,98:98}],235:[function(t,e,r){var n=t(99),a=t(62),o=t(38),i=t(143);a(a.S+a.F*t(64)(function(){Reflect.defineProperty(n.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(t,e,r){o(t),e=i(e,!0),o(r);try{return n.f(t,e,r),!0}catch(t){return!1}}})},{143:143,38:38,62:62,64:64,99:99}],236:[function(t,e,r){var n=t(62),a=t(101).f,o=t(38);n(n.S,"Reflect",{deleteProperty:function(t,e){var r=a(o(t),e);return!(r&&!r.configurable)&&delete t[e]}})},{101:101,38:38,62:62}],237:[function(t,e,r){"use strict";function n(t){this._t=o(t),this._i=0;var e,r=this._k=[];for(e in t)r.push(e)}var a=t(62),o=t(38);t(84)(n,"Object",function(){var t,e=this._k;do{if(this._i>=e.length)return{value:void 0,done:!0}}while(!((t=e[this._i++])in this._t));return{value:t,done:!1}}),a(a.S,"Reflect",{enumerate:function(t){return new n(t)}})},{38:38,62:62,84:84}],238:[function(t,e,r){var n=t(101),a=t(62),o=t(38);a(a.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return n.f(o(t),e)}})},{101:101,38:38,62:62}],239:[function(t,e,r){var n=t(62),a=t(105),o=t(38);n(n.S,"Reflect",{getPrototypeOf:function(t){return a(o(t))}})},{105:105,38:38,62:62}],240:[function(t,e,r){var s=t(101),l=t(105),c=t(71),n=t(62),u=t(81),p=t(38);n(n.S,"Reflect",{get:function t(e,r,n){var a,o,i=arguments.length<3?e:n;return p(e)===i?e[r]:(a=s.f(e,r))?c(a,"value")?a.value:void 0!==a.get?a.get.call(i):void 0:u(o=l(e))?t(o,r,i):void 0}})},{101:101,105:105,38:38,62:62,71:71,81:81}],241:[function(t,e,r){var n=t(62);n(n.S,"Reflect",{has:function(t,e){return e in t}})},{62:62}],242:[function(t,e,r){var n=t(62),a=t(38),o=Object.isExtensible;n(n.S,"Reflect",{isExtensible:function(t){return a(t),!o||o(t)}})},{38:38,62:62}],243:[function(t,e,r){var n=t(62);n(n.S,"Reflect",{ownKeys:t(111)})},{111:111,62:62}],244:[function(t,e,r){var n=t(62),a=t(38),o=Object.preventExtensions;n(n.S,"Reflect",{preventExtensions:function(t){a(t);try{return o&&o(t),!0}catch(t){return!1}}})},{38:38,62:62}],245:[function(t,e,r){var n=t(62),a=t(122);a&&n(n.S,"Reflect",{setPrototypeOf:function(t,e){a.check(t,e);try{return a.set(t,e),!0}catch(t){return!1}}})},{122:122,62:62}],246:[function(t,e,r){var c=t(99),u=t(101),p=t(105),f=t(71),n=t(62),d=t(116),h=t(38),m=t(81);n(n.S,"Reflect",{set:function t(e,r,n,a){var o,i,s=arguments.length<4?e:a,l=u.f(h(e),r);if(!l){if(m(i=p(e)))return t(i,r,n,s);l=d(0)}if(f(l,"value")){if(!1===l.writable||!m(s))return!1;if(o=u.f(s,r)){if(o.get||o.set||!1===o.writable)return!1;o.value=n,c.f(s,r,o)}else c.f(s,r,d(0,n));return!0}return void 0!==l.set&&(l.set.call(s,n),!0)}})},{101:101,105:105,116:116,38:38,62:62,71:71,81:81,99:99}],247:[function(t,e,r){var n=t(70),o=t(75),a=t(99).f,i=t(103).f,s=t(82),l=t(66),c=n.RegExp,u=c,p=c.prototype,f=/a/g,d=/a/g,h=new c(f)!==f;if(t(58)&&(!h||t(64)(function(){return d[t(152)("match")]=!1,c(f)!=f||c(d)==d||"/a/i"!=c(f,"i")}))){function m(e){e in c||a(c,e,{configurable:!0,get:function(){return u[e]},set:function(t){u[e]=t}})}c=function(t,e){var r=this instanceof c,n=s(t),a=void 0===e;return!r&&n&&t.constructor===c&&a?t:o(h?new u(n&&!a?t.source:t,e):u((n=t instanceof c)?t.source:t,n&&a?l.call(t):e),r?this:p,c)};for(var g=i(u),v=0;g.length>v;)m(g[v++]);(p.constructor=c).prototype=p,t(118)(n,"RegExp",c)}t(123)("RegExp")},{103:103,118:118,123:123,152:152,58:58,64:64,66:66,70:70,75:75,82:82,99:99}],248:[function(t,e,r){"use strict";var n=t(120);t(62)({target:"RegExp",proto:!0,forced:n!==/./.exec},{exec:n})},{120:120,62:62}],249:[function(t,e,r){t(58)&&"g"!=/./g.flags&&t(99).f(RegExp.prototype,"flags",{configurable:!0,get:t(66)})},{58:58,66:66,99:99}],250:[function(t,e,r){"use strict";var p=t(38),f=t(141),d=t(36),h=t(119);t(65)("match",1,function(n,a,c,u){return[function(t){var e=n(this),r=null==t?void 0:t[a];return void 0!==r?r.call(t,e):new RegExp(t)[a](String(e))},function(t){var e=u(c,t,this);if(e.done)return e.value;var r=p(t),n=String(this);if(!r.global)return h(r,n);for(var a,o=r.unicode,i=[],s=r.lastIndex=0;null!==(a=h(r,n));){var l=String(a[0]);""===(i[s]=l)&&(r.lastIndex=d(n,f(r.lastIndex),o)),s++}return 0===s?null:i}]})},{119:119,141:141,36:36,38:38,65:65}],251:[function(t,e,r){"use strict";var C=t(38),n=t(142),P=t(141),S=t(139),L=t(36),E=t(119),T=Math.max,k=Math.min,f=Math.floor,d=/\$([$&`']|\d\d?|<[^>]*>)/g,h=/\$([$&`']|\d\d?)/g;t(65)("replace",2,function(a,o,x,w){return[function(t,e){var r=a(this),n=null==t?void 0:t[o];return void 0!==n?n.call(t,r,e):x.call(String(r),t,e)},function(t,e){var r=w(x,t,this,e);if(r.done)return r.value;var n=C(t),a=String(this),o="function"==typeof e;o||(e=String(e));var i=n.global;if(i){var s=n.unicode;n.lastIndex=0}for(var l=[];;){var c=E(n,a);if(null===c)break;if(l.push(c),!i)break;""===String(c[0])&&(n.lastIndex=L(a,P(n.lastIndex),s))}for(var u,p="",f=0,d=0;d>>0,u=new RegExp(t.source,s+"g");(n=f.call(u,r))&&!(l<(a=u[m])&&(i.push(r.slice(l,n.index)),1=c));)u[m]===n.index&&u[m]++;return l===r[h]?!o&&u.test("")||i.push(""):i.push(r.slice(l)),i[h]>c?i.slice(0,c):i}:"0"[i](void 0,0)[h]?function(t,e){return void 0===t&&0===e?[]:g.call(this,t,e)}:g,[function(t,e){var r=a(this),n=null==t?void 0:t[o];return void 0!==n?n.call(t,r,e):A.call(String(r),t,e)},function(t,e){var r=v(A,t,this,e,A!==g);if(r.done)return r.value;var n=y(t),a=String(this),o=b(n,RegExp),i=n.unicode,s=(n.ignoreCase?"i":"")+(n.multiline?"m":"")+(n.unicode?"u":"")+(S?"y":"g"),l=new o(S?n:"^(?:"+n.source+")",s),c=void 0===e?P:e>>>0;if(0==c)return[];if(0===a.length)return null===_(l,a)?[a]:[];for(var u=0,p=0,f=[];p>10),e%1024+56320))}return r.join("")}})},{137:137,62:62}],266:[function(t,e,r){"use strict";var n=t(62),a=t(130);n(n.P+n.F*t(63)("includes"),"String",{includes:function(t,e){return!!~a(this,t,"includes").indexOf(t,1=e.length?{value:void 0,done:!0}:(t=n(e,r),this._i+=t.length,{value:t,done:!1})})},{129:129,85:85}],269:[function(t,e,r){"use strict";t(131)("link",function(e){return function(t){return e(this,"a","href",t)}})},{131:131}],270:[function(t,e,r){var n=t(62),i=t(140),s=t(141);n(n.S,"String",{raw:function(t){for(var e=i(t.raw),r=s(e.length),n=arguments.length,a=[],o=0;oa;)u(Y,e=r[a++])||e==W||e==h||n.push(e);return n}function l(t){for(var e,r=t===Z,n=M(r?q:L(t)),a=[],o=0;n.length>o;)!u(Y,e=n[o++])||r&&!u(Z,e)||a.push(Y[e]);return a}var c=t(70),u=t(71),p=t(58),f=t(62),d=t(118),h=t(94).KEY,m=t(64),g=t(126),v=t(124),A=t(147),y=t(152),b=t(151),x=t(150),w=t(61),_=t(79),C=t(38),P=t(81),S=t(142),L=t(140),E=t(143),T=t(116),k=t(98),R=t(102),F=t(101),I=t(104),O=t(99),B=t(107),N=F.f,D=O.f,M=R.f,z=c.Symbol,U=c.JSON,j=U&&U.stringify,G="prototype",W=y("_hidden"),H=y("toPrimitive"),V={}.propertyIsEnumerable,Q=g("symbol-registry"),Y=g("symbols"),q=g("op-symbols"),Z=Object[G],X="function"==typeof z&&!!I.f,K=c.QObject,J=!K||!K[G]||!K[G].findChild,$=p&&m(function(){return 7!=k(D({},"a",{get:function(){return D(this,"a",{value:7}).a}})).a})?function(t,e,r){var n=N(Z,e);n&&delete Z[e],D(t,e,r),n&&t!==Z&&D(Z,e,n)}:D,tt=X&&"symbol"==typeof z.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof z},et=function(t,e,r){return t===Z&&et(q,e,r),C(t),e=E(e,!0),C(r),u(Y,e)?(r.enumerable?(u(t,W)&&t[W][e]&&(t[W][e]=!1),r=k(r,{enumerable:T(0,!1)})):(u(t,W)||D(t,W,T(1,{})),t[W][e]=!0),$(t,e,r)):D(t,e,r)};X||(d((z=function(t){if(this instanceof z)throw TypeError("Symbol is not a constructor!");var e=A(0nt;)y(rt[nt++]);for(var at=B(y.store),ot=0;at.length>ot;)x(at[ot++]);f(f.S+f.F*!X,"Symbol",{for:function(t){return u(Q,t+="")?Q[t]:Q[t]=z(t)},keyFor:function(t){if(!tt(t))throw TypeError(t+" is not a symbol!");for(var e in Q)if(Q[e]===t)return e},useSetter:function(){J=!0},useSimple:function(){J=!1}}),f(f.S+f.F*!X,"Object",{create:function(t,e){return void 0===e?k(t):a(k(t),e)},defineProperty:et,defineProperties:a,getOwnPropertyDescriptor:i,getOwnPropertyNames:s,getOwnPropertySymbols:l});var it=m(function(){I.f(1)});f(f.S+f.F*it,"Object",{getOwnPropertySymbols:function(t){return I.f(S(t))}}),U&&f(f.S+f.F*(!X||m(function(){var t=z();return"[null]"!=j([t])||"{}"!=j({a:t})||"{}"!=j(Object(t))})),"JSON",{stringify:function(t){for(var e,r,n=[t],a=1;as;)void 0!==(r=a(n,e=o[s++]))&&p(i,e,r);return i}})},{101:101,111:111,140:140,53:53,62:62}],296:[function(t,e,r){var n=t(62),a=t(110)(!1);n(n.S,"Object",{values:function(t){return a(t)}})},{110:110,62:62}],297:[function(t,e,r){"use strict";var n=t(62),a=t(52),o=t(70),i=t(127),s=t(115);n(n.P+n.R,"Promise",{finally:function(e){var r=i(this,a.Promise||o.Promise),t="function"==typeof e;return this.then(t?function(t){return s(r,e()).then(function(){return t})}:e,t?function(t){return s(r,e()).then(function(){throw t})}:e)}})},{115:115,127:127,52:52,62:62,70:70}],298:[function(t,e,r){"use strict";var n=t(62),a=t(132),o=t(148),i=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);n(n.P+n.F*i,"String",{padEnd:function(t,e){return a(this,t,1/g,">").replace(/"/g,""").replace(/'/g,"'")}function vt(t){return"number"==typeof t&&100"+e+"":""}function _t(t){var e="solid",r="",n="",a="";if(t)switch("string"==typeof t?r=t:(t.type&&(e=t.type),t.color&&(r=t.color),t.alpha&&(n+=''),t.transparency&&(n+='')),e){case"solid":a+=""+wt(r,n)+"";break;default:a+=""}return a}function Ct(t){return t._rels.length+t._relsChart.length+t._relsMedia.length+1}function Pt(l,c,u,t){void 0===l&&(l=[]),void 0===c&&(c={});var e,p=P,f=0,d=1*B,r=0,h=[{rows:[]}];if(c.verbose&&(console.log("-- VERBOSE MODE ----------------------------------"),console.log(".. (PARAMETERS)"),console.log("presLayout.height ......... = "+u.height/B),console.log("tabOpts.h ................. = "+c.h),console.log("tabOpts.w ................. = "+c.w),console.log("tabOpts.colW .............. = "+c.colW),console.log("tabOpts.slideMargin ....... = "+(c.slideMargin||"")),console.log(".. (/PARAMETERS)")),c.slideMargin||0===c.slideMargin||(c.slideMargin=P[0]),t&&void 0!==t._margin?Array.isArray(t._margin)?p=t._margin:isNaN(Number(t._margin))||(p=[Number(t._margin),Number(t._margin),Number(t._margin),Number(t._margin)]):!c.slideMargin&&0!==c.slideMargin||(Array.isArray(c.slideMargin)?p=c.slideMargin:isNaN(c.slideMargin)||(p=[c.slideMargin,c.slideMargin,c.slideMargin,c.slideMargin])),c.verbose&&console.log("arrInchMargins ......... = "+p.toString()),(l[0]||[]).forEach(function(t){var e=(t=t||{_type:at.tablecell}).options||null;r+=Number(e&&e.colspan?e.colspan:1)}),c.verbose&&console.log("numCols ................ = "+r),!c.w&&c.colW&&(Array.isArray(c.colW)?c.colW.forEach(function(t){"number"!=typeof c.w?c.w=0+t:c.w+=t}):c.w=c.colW*r),e="number"==typeof c.w?vt(c.w):u.width-vt(("number"==typeof c.x?c.x:p[1])+p[3]),c.verbose&&console.log("emuSlideTabW (in) ...... = "+(e/B).toFixed(1)),!c.colW||!Array.isArray(c.colW))if(c.colW&&!isNaN(Number(c.colW))){var n=[];(l[0]||[]).forEach(function(){return n.push(c.colW)}),c.colW=[],n.forEach(function(t){Array.isArray(c.colW)&&c.colW.push(t)})}else{c.colW=[];for(var a=0;ae?e=At(t.options.margin[0]):c.margin&&c.margin[0]&&At(c.margin[0])>e&&(e=At(c.margin[0])),t.options.margin&&t.options.margin[2]&&At(t.options.margin[2])>r?r=At(t.options.margin[2]):c.margin&&c.margin[2]&&At(c.margin[2])>r&&(r=At(c.margin[2]))}),d=c.h&&"number"==typeof c.h?c.h:u.height-vt(p[0]+p[2])-(c.y&&"number"==typeof c.y?c.y:0),c.verbose&&console.log("emuSlideTabH (in) ...... = "+(d/B).toFixed(1)),1 "+d/B),h.push({rows:[]}),f=0,(c.addHeaderToEach||c.autoPageRepeatHeader)&&c._arrObjTabHeadRows){var e=[];i.forEach(function(t){e.push({type:at.tablecell,text:t._lines.join(""),options:t.options})}),l.unshift(e);var r=[];return c._arrObjTabHeadRows.forEach(function(t){var e=[];t.forEach(function(t){return e.push(t)}),r.push(e)}),l=O(O([],r),l),"break"}var t=h[h.length-1],n=[];a.forEach(function(t){n.push({type:at.tablecell,text:"",options:t.options})}),t.rows.push(n)}i.forEach(function(t,e){if(0o&&(o=t._lineHeight)}}),f+=o,c.verbose&&console.log("- SLIDE ["+h.length+"]: ROW ["+m+"]: one line added ... emuTabCurrH = "+(f/B).toFixed(2))};0'},contain:function(t,e){var r=t.h/t.w,n=r'},crop:function(t,e){var r=e.x,n=t.w-(e.x+e.w),a=e.y,o=t.h-(e.y+e.h);return''}};function Lt(R){var F=R._name?'':"",I=1;return R._bkgdImgRid?F+='':R.background&&R.background.color?F+=""+_t(R.background)+"":!R.bkgd&&R._name&&R._name===n&&(F+=''),F+="",F+='',F+='',F+='',R._slideObjects.forEach(function(n,t){var e,r,a=0,o=0,i=dt("75%","X",R._presLayout),s=0,l="";switch(void 0!==R._slideLayout&&void 0!==R._slideLayout._slideObjects&&n.options&&n.options.placeholder&&(r=R._slideLayout._slideObjects.filter(function(t){return t.options.placeholder===n.options.placeholder})[0]),n.options=n.options||{},void 0!==n.options.x&&(a=dt(n.options.x,"X",R._presLayout)),void 0!==n.options.y&&(o=dt(n.options.y,"Y",R._presLayout)),void 0!==n.options.w&&(i=dt(n.options.w,"X",R._presLayout)),void 0!==n.options.h&&(s=dt(n.options.h,"Y",R._presLayout)),r&&(!r.options.x&&0!==r.options.x||(a=dt(r.options.x,"X",R._presLayout)),!r.options.y&&0!==r.options.y||(o=dt(r.options.y,"Y",R._presLayout)),!r.options.w&&0!==r.options.w||(i=dt(r.options.w,"X",R._presLayout)),!r.options.h&&0!==r.options.h||(s=dt(r.options.h,"Y",R._presLayout))),n.options.flipH&&(l+=' flipH="1"'),n.options.flipV&&(l+=' flipV="1"'),n.options.rotate&&(l+=' rot="'+yt(n.options.rotate)+'"'),n._type){case at.table:var c,u=n.arrTabRows,f=n.options,p=0,d=0;u[0].forEach(function(t){c=t.options||null,p+=c&&c.colspan?Number(c.colspan):1});var h='';if(h+=' ',h+='',h+='',Array.isArray(f.colW)){h+="";for(var m=0;m'}h+=""}else{d=f.colW?f.colW:B,n.options.w&&!f.colW&&(d=Math.round(("number"==typeof n.options.w?n.options.w:1)/p)),h+="";for(var v=0;v';h+=""}u.forEach(function(o){for(var i,s,l,t=function(t){var e=o[t],r=null===(i=e.options)||void 0===i?void 0:i.colspan,n=null===(s=e.options)||void 0===s?void 0:s.rowspan;if(r&&1',t.forEach(function(t){var e,r,n=t,a={rowSpan:1<(null===(e=n.options)||void 0===e?void 0:e.rowspan)?n.options.rowspan:void 0,gridSpan:1<(null===(r=n.options)||void 0===r?void 0:r.colspan)?n.options.colspan:void 0,vMerge:n._vmerge?1:void 0,hMerge:n._hmerge?1:void 0},o=Object.keys(a).map(function(t){return[t,a[t]]}).filter(function(t){return t[0],!!t[1]}).map(function(t){return t[0]+'="'+t[1]+'"'}).join(" ");if(o=o&&" "+o,n._hmerge||n._vmerge)h+="";else{var i=n.options||{};n.options=i,["align","bold","border","color","fill","fontFace","fontSize","margin","underline","valign"].forEach(function(t){f[t]&&!i[t]&&0!==i[t]&&(i[t]=f[t])});var s=i.valign?' anchor="'+i.valign.replace(/^c$/i,"ctr").replace(/^m$/i,"ctr").replace("center","ctr").replace("middle","ctr").replace("top","t").replace("btm","b").replace("bottom","b")+'"':"",l=n._optImp&&n._optImp.fill&&n._optImp.fill.color?n._optImp.fill.color:n._optImp&&n._optImp.fill&&"string"==typeof n._optImp.fill?n._optImp.fill:"",c=(l=l||i.fill&&i.fill.color?i.fill.color:i.fill&&"string"==typeof i.fill?i.fill:"")?""+wt(l)+"":"",u=0===i.margin||i.margin?i.margin:N;Array.isArray(u)||"number"!=typeof u||(u=[u,u,u,u]);var p=' marL="'+At(u[3])+'" marR="'+At(u[1])+'" marT="'+At(u[0])+'" marB="'+At(u[2])+'"';h+=""+Rt(n)+"",i.border&&Array.isArray(i.border)&&[{idx:3,name:"lnL"},{idx:1,name:"lnR"},{idx:0,name:"lnT"},{idx:2,name:"lnB"}].forEach(function(t){"none"!==i.border[t.idx].type?(h+="',h+=""+wt(i.border[t.idx].color)+"",h+='',h+=""):h+=""}),h+=c,h+=" ",h+=" "}}),h+=""}),h+=" ",h+=" ",h+=" ",F+=h+="",I++;break;case at.text:case at.placeholder:var A=n.options.shapeName?gt(n.options.shapeName):"Object"+(t+1);if(n.options.line||0!==s||(s=.3*B),n.options._bodyProp||(n.options._bodyProp={}),n.options.margin&&Array.isArray(n.options.margin)?(n.options._bodyProp.lIns=At(n.options.margin[0]||0),n.options._bodyProp.rIns=At(n.options.margin[1]||0),n.options._bodyProp.bIns=At(n.options.margin[2]||0),n.options._bodyProp.tIns=At(n.options.margin[3]||0)):"number"==typeof n.options.margin&&(n.options._bodyProp.lIns=At(n.options.margin),n.options._bodyProp.rIns=At(n.options.margin),n.options._bodyProp.bIns=At(n.options.margin),n.options._bodyProp.tIns=At(n.options.margin)),F+="",F+='',n.options.hyperlink&&n.options.hyperlink.url&&(F+=''),n.options.hyperlink&&n.options.hyperlink.slide&&(F+=''),F+="",F+="':"/>"),F+=""+("placeholder"===n._type?Ft(n):Ft(r))+"",F+="",F+="",F+='',F+='',"custGeom"===n.shape)F+="",F+="",F+="",F+="",F+="",F+="",F+='',F+="",F+='',null===(e=n.options.points)||void 0===e||e.map(function(t,e){if("curve"in t)switch(t.curve.type){case"arc":F+='';break;case"cubic":F+='\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t';break;case"quadratic":F+='\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t'}else"close"in t?F+="":t.moveTo||0===e?F+='':F+=''}),F+="",F+="",F+="";else{if(F+='',n.options.rectRadius)F+='';else if(n.options.angleRange){for(var y=0;y<2;y++){var b=n.options.angleRange[y];F+=''}n.options.arcThicknessRatio&&(F+='')}F+=""}F+=n.options.fill?_t(n.options.fill):"",n.options.line&&(F+=n.options.line.width?'':"",n.options.line.color&&(F+=_t(n.options.line)),n.options.line.dashType&&(F+=''),n.options.line.beginArrowType&&(F+=''),n.options.line.endArrowType&&(F+=''),F+=""),n.options.shadow&&(n.options.shadow.type=n.options.shadow.type||"outer",n.options.shadow.blur=At(n.options.shadow.blur||8),n.options.shadow.offset=At(n.options.shadow.offset||4),n.options.shadow.angle=Math.round(6e4*(n.options.shadow.angle||270)),n.options.shadow.opacity=Math.round(1e5*(n.options.shadow.opacity||.75)),n.options.shadow.color=n.options.shadow.color||D.color,F+="",F+="',F+='',F+='',F+="",F+=""),F+="",F+=Rt(n),F+="";break;case at.image:var x=n.options,w=x.sizing,_=x.rounding,C=i,P=s;if(F+="",F+=" ",F+='',n.hyperlink&&n.hyperlink.url&&(F+=''),n.hyperlink&&n.hyperlink.slide&&(F+=''),F+=" ",F+=' ',F+=" "+Ft(r)+"",F+=" ",F+="",(R._relsMedia||[]).filter(function(t){return t.rId===n.imageRid})[0]&&"svg"===(R._relsMedia||[]).filter(function(t){return t.rId===n.imageRid})[0].extn?(F+='',F+=" ",F+=' ',F+=' ',F+=" ",F+=" ",F+=""):F+='',w&&w.type){var S=w.w?dt(w.w,"X",R._presLayout):i,L=w.h?dt(w.h,"Y",R._presLayout):s,E=dt(w.x||0,"X",R._presLayout),T=dt(w.y||0,"Y",R._presLayout);F+=St[w.type]({w:C,h:P},{w:S,h:L,x:E,y:T}),C=S,P=L}else F+=" ";F+="",F+="",F+=" ",F+=' ',F+=' ',F+=" ",F+=' ',F+="",F+="";break;case at.media:"online"===n.mtype?(F+="",F+=" ",F+=' ',F+=" ",F+=" ",F+=' ',F+=" ",F+=" ",F+=' '):(F+="",F+=" ",F+=' ',F+=' ',F+=" ",F+=' ',F+=" ",F+=' ',F+=' ',F+=" ",F+=" ",F+=" ",F+=" ",F+=' '),F+=" ",F+=" ",F+=' ',F+=' ',F+=" ",F+=' ',F+=" ",F+="";break;case at.chart:var k=n.options;F+="",F+=" ",F+=' ',F+=" ",F+=" "+Ft(r)+"",F+=" ",F+=' ',F+=' ',F+=' ',F+=' ',F+=" ",F+=" ",F+="";break;default:F+=""}}),R._slideNumberProps&&(R._slideNumberProps.align||(R._slideNumberProps.align="left"),F+=' ',F+="",F+="',R._slideNumberProps.color&&(F+=_t(R._slideNumberProps.color)),R._slideNumberProps.fontFace&&(F+=''),F+=""),F+="",F+='',R._slideNumberProps.align.startsWith("l")?F+='':R._slideNumberProps.align.startsWith("c")?F+='':R._slideNumberProps.align.startsWith("r")?F+='':F+='',F+='',F+=""),F+="",F+=""}function Et(t,e){var r=0,n=''+v+'';return t._rels.forEach(function(t){r=Math.max(r,t.rId),-1':n+='':-1')}),(t._relsChart||[]).forEach(function(t){r=Math.max(r,t.rId),n+=''}),(t._relsMedia||[]).forEach(function(t){r=Math.max(r,t.rId),-1':-1':n+='':-1':n+='':-1':n+='')}),e.forEach(function(t,e){n+=''}),n+=""}function Tt(t,e){var r="",n="",a="",o="",i=e?"a:lvl1pPr":"a:pPr",s=At(u),l="<"+i+(t.options.rtlMode?' rtl="1" ':"");if(t.options.align)switch(t.options.align){case"left":l+=' algn="l"';break;case"right":l+=' algn="r"';break;case"center":l+=' algn="ctr"';break;case"justify":l+=' algn="just"';break;default:l+=""}if(t.options.lineSpacing?n='':t.options.lineSpacingMultiple&&(n=''),t.options.indentLevel&&!isNaN(Number(t.options.indentLevel))&&0'),t.options.paraSpaceAfter&&!isNaN(Number(t.options.paraSpaceAfter))&&0'),"object"==typeof t.options.bullet)if(t&&t.options&&t.options.bullet&&t.options.bullet.indent&&(s=At(t.options.bullet.indent)),t.options.bullet.type)"number"===t.options.bullet.type.toString().toLowerCase()&&(l+=' marL="'+(t.options.indentLevel&&0');else if(t.options.bullet.characterCode){var c="&#x"+t.options.bullet.characterCode+";";!1===/^[0-9A-Fa-f]{4}$/.test(t.options.bullet.characterCode)&&(console.warn("Warning: `bullet.characterCode should be a 4-digit unicode charatcer (ex: 22AB)`!"),c=lt.DEFAULT),l+=' marL="'+(t.options.indentLevel&&0'}else if(t.options.bullet.code){c="&#x"+t.options.bullet.code+";";!1===/^[0-9A-Fa-f]{4}$/.test(t.options.bullet.code)&&(console.warn("Warning: `bullet.code should be a 4-digit hex code (ex: 22AB)`!"),c=lt.DEFAULT),l+=' marL="'+(t.options.indentLevel&&0'}else l+=' marL="'+(t.options.indentLevel&&0';else!0===t.options.bullet?(l+=' marL="'+(t.options.indentLevel&&0'):!1===t.options.bullet&&(l+=' indent="0" marL="0"',r="");t.options.tabStops&&Array.isArray(t.options.tabStops)&&(o=""+t.options.tabStops.map(function(t){return''}).join("")+"");return l+=">"+n+a+r+o,e&&(l+=kt(t.options,!0)),l+=""}function kt(t,e){var r,n="",a=e?"a:defRPr":"a:rPr";if(n+="<"+a+' lang="'+(t.lang?t.lang:"en-US")+'"'+(t.lang?' altLang="en-US"':""),n+=t.fontSize?' sz="'+Math.round(t.fontSize)+'00"':"",n+=t.hasOwnProperty("bold")?' b="'+(t.bold?1:0)+'"':"",n+=t.hasOwnProperty("italic")?' i="'+(t.italic?1:0)+'"':"",n+=t.hasOwnProperty("strike")?' strike="'+("string"==typeof t.strike?t.strike:"sngStrike")+'"':"","object"==typeof t.underline&&(null===(r=t.underline)||void 0===r?void 0:r.style)?n+=' u="'+t.underline.style+'"':"string"==typeof t.underline?n+=' u="'+t.underline+'"':t.hyperlink&&(n+=' u="sng"'),t.baseline?n+=' baseline="'+Math.round(50*t.baseline)+'"':t.subscript?n+=' baseline="-40000"':t.superscript&&(n+=' baseline="30000"'),n+=t.charSpacing?' spc="'+Math.round(100*t.charSpacing)+'" kern="0"':"",n+=' dirty="0">',(t.color||t.fontFace||t.outline||"object"==typeof t.underline&&t.underline.color)&&(t.outline&&"object"==typeof t.outline&&(n+=''+_t(t.outline.color||"FFFFFF")+""),t.color&&(n+=_t(t.color)),t.highlight&&(n+=""+wt(t.highlight)+""),"object"==typeof t.underline&&t.underline.color&&(n+=""+_t(t.underline.color)+""),t.glow&&(n+=""+function(t,e){var r="",n=mt(e,t);return r+='',r+=wt(n.color,''),r+=""}(t.glow,S)+""),t.fontFace&&(n+='')),t.hyperlink){if("object"!=typeof t.hyperlink)throw new Error("ERROR: text `hyperlink` option should be an object. Ex: `hyperlink:{url:'https://github.com'}` ");if(!t.hyperlink.url&&!t.hyperlink.slide)throw new Error("ERROR: 'hyperlink requires either `url` or `slide`'");t.hyperlink.url?n+='":"/>"):t.hyperlink.slide&&(n+='":"/>")),t.color&&(n+="\t",n+='\t\t',n+='\t\t\t',n+="\t\t",n+="\t",n+="")}return n+=""}function Rt(n){var a=n.options||{},t=[],r=[];if(a&&n._type!==at.tablecell&&(void 0===n.text||null===n.text))return"";var o=n._type===at.tablecell?"":"";o+=function(t){var e="":"resize"===t.options.fit&&(e+="")),t.options.shrinkText&&(e+=""),e+=!1!==t.options._bodyProp.autoFit?"":""):e+=' wrap="square" rtlCol="0">',e+="",t._type===at.tablecell?"":e}(n),0===a.h&&a.line&&a.align?o+='':"placeholder"===n._type?o+=""+Tt(n,!0)+"":o+="","string"==typeof n.text||"number"==typeof n.text?t.push({text:n.text.toString(),options:a||{}}):n.text&&!Array.isArray(n.text)&&"object"==typeof n.text&&-1";var r=""),n.options.align=n.options.align||a.align,n.options.lineSpacing=n.options.lineSpacing||a.lineSpacing,n.options.lineSpacingMultiple=n.options.lineSpacingMultiple||a.lineSpacingMultiple,n.options.indentLevel=n.options.indentLevel||a.indentLevel,n.options.paraSpaceBefore=n.options.paraSpaceBefore||a.paraSpaceBefore,n.options.paraSpaceAfter=n.options.paraSpaceAfter||a.paraSpaceAfter,r=Tt(n,!1),o+=r,Object.entries(a).forEach(function(t){var e=t[0],r=t[1];n.options.hyperlink&&"color"===e||"bullet"===e||n.options[e]||(n.options[e]=r)}),o+=function(t){return t.text?""+kt(t.options,!1)+""+gt(t.text)+"":""}(n),(!n.text&&a.fontSize||n.options.fontSize)&&(e=!0,a.fontSize=a.fontSize||n.options.fontSize)}),n._type===at.tablecell&&(a.fontSize||a.fontFace)?a.fontFace?(o+='',o+='',o+='',o+='',o+=""):o+='':o+=e?'':'',o+=""}),o+=n._type===at.tablecell?"":""}function Ft(t){if(!t)return"";var e=t.options&&t.options._placeholderIdx?t.options._placeholderIdx:"",r=t.options&&t.options._placeholderType?t.options._placeholderType:"";return""}function It(t){return''+v+''+gt(function(t){var e="";return t._slideObjects.forEach(function(t){t._type===at.notes&&(e+=t.text&&t.text[0]?t.text[0].text:"")}),e.replace(/\r*\n/g,v)}(t))+''+t._slideNum+''}function Ot(t){t&&"object"==typeof t&&("outer"!==t.type&&"inner"!==t.type&&"none"!==t.type&&(console.warn("Warning: shadow.type options are `outer`, `inner` or `none`."),t.type="outer"),t.angle&&((isNaN(Number(t.angle))||t.angle<0||359 \n'),t.file("_rels/.rels",'\n'),t.file("docProps/app.xml",'Microsoft Excel0falseWorksheets1Sheet1\n'),t.file("docProps/core.xml",'PptxGenJSEly, Brent'+(new Date).toISOString()+''+(new Date).toISOString()+"\n"),t.file("xl/_rels/workbook.xml.rels",'\n'),t.file("xl/styles.xml",'\n'),t.file("xl/theme/theme1.xml",''),t.file("xl/workbook.xml",'\n'),t.file("xl/worksheets/_rels/sheet1.xml.rels",'\n');var n='';u.opts._type===J.BUBBLE?n+='':u.opts._type===J.SCATTER?n+='':(n+='',n+=''),u.opts._type===J.BUBBLE?f.forEach(function(t,e){0===e?n+="X-Axis":(n+=""+gt(t.name||" ")+"",n+=""+gt("Size "+e)+"")}):f.forEach(function(t){n+=""+gt((t.name||" ").replace("X-Axis","X-Values"))+""}),u.opts._type!==J.BUBBLE&&u.opts._type!==J.SCATTER&&f[0].labels.forEach(function(t){n+=""+gt(t)+""}),n+="\n",t.file("xl/sharedStrings.xml",n);var o='';u.opts._type===J.BUBBLE||(u.opts._type===J.SCATTER?(o+='',o+='',f.forEach(function(t,e){o+=''})):(o+='
',o+='',o+='',f.forEach(function(t,e){o+=''}))),o+="",o+='',o+="
",t.file("xl/tables/table1.xml",o);var i='';if(i+='',u.opts._type===J.BUBBLE?i+='':u.opts._type===J.SCATTER?i+='':i+='',i+='',i+='',u.opts._type===J.BUBBLE){i+="",i+='',i+="",i+="",i+='',i+='0';for(var s=1;s',i+=""+s+"",i+="";i+="",f[0].values.forEach(function(t,e){i+='',i+=''+t+"";for(var r=1,n=1;n',i+=""+(f[n].values[e]||"")+"",i+="",i+='',i+=""+(f[n].sizes[e]||"")+"",i+="",r++;i+=""})}else if(u.opts._type===J.SCATTER){i+="",i+='',i+="",i+="",i+='',i+='0';for(var l=1;l',i+=""+l+"",i+="";i+="",f[0].values.forEach(function(t,e){i+='',i+=''+t+"";for(var r=1;r',i+=""+(f[r].values[e]||0===f[r].values[e]?f[r].values[e]:"")+"",i+="";i+=""})}else{i+="",i+='',i+="",i+="",i+='',i+='0';for(var c=1;c<=f.length;c++)i+='',i+=""+c+"",i+="";i+="",f[0].labels.forEach(function(t,e){i+='',i+='',i+=""+(f.length+e+1)+"",i+="";for(var r=0;r',i+=""+(f[r].values[e]||"")+"",i+="";i+=""})}i+="",i+='',i+="\n",t.file("xl/worksheets/sheet1.xml",i),t.generateAsync({type:"base64"}).then(function(t){p.file("ppt/embeddings/Microsoft_Excel_Worksheet"+u.globalId+".xlsx",t,{base64:!0}),p.file("ppt/charts/_rels/"+u.fileName+".rels",''),p.file("ppt/charts/"+u.fileName,function(a){var o='',i=!1;o+='',o+='',o+="",a.opts.showTitle?(o+=qt({title:a.opts.title||"Chart Title",color:a.opts.titleColor,fontFace:a.opts.titleFontFace,fontSize:a.opts.titleFontSize||w,titleAlign:a.opts.titleAlign,titleBold:a.opts.titleBold,titlePos:a.opts.titlePos,titleRotate:a.opts.titleRotate}),o+=''):o+='';a.opts._type===J.BAR3D&&(o+="",o+=' ',o+=' ',o+=' ',o+=' ',o+="");o+="",a.opts.layout?(o+="",o+=" ",o+=' ',o+=' ',o+=' ',o+=' ',o+=' ',o+=' ',o+=' ',o+=" ",o+=""):o+="";Array.isArray(a.opts._type)?a.opts._type.forEach(function(t){var e=mt(a.opts,t.options),r=e.secondaryValAxis?E:L,n=e.secondaryCatAxis?k:T;i=i||e.secondaryValAxis,o+=Vt(t.type,t.data,e,r,n)}):o+=Vt(a.opts._type,a.data,a.opts,L,T);if(a.opts._type!==J.PIE&&a.opts._type!==J.DOUGHNUT){if(a.opts.valAxes&&1',n+=' ',n+=' ',n+=' ',n+="none"!==e.serGridLine.style?Kt(e.serGridLine):"",e.showSerAxisTitle&&(n+=qt({color:e.serAxisTitleColor,fontFace:e.serAxisTitleFontFace,fontSize:e.serAxisTitleFontSize,titleRotate:e.serAxisTitleRotate,title:e.serAxisTitle||"Axis Title"}));n+=' ',n+=' ',n+=' ',n+=' ',n+=" ",n+=' ',n+=!1===e.serAxisLineShow?"":""+wt(e.serAxisLineColor||y.color)+"",n+=' ',n+=" ",n+=" ",n+=" ",n+=" ",n+=" ",n+=" ",n+=" ",n+=" ",n+=' ',n+=" "+wt(e.serAxisLabelColor||b)+"",n+=' ',n+=" ",n+=" ",n+=' ',n+=" ",n+=" ",n+=' ',n+=' ',e.serAxisLabelFrequency&&(n+=' ');e.serLabelFormatCode&&(["serAxisBaseTimeUnit","serAxisMajorTimeUnit","serAxisMinorTimeUnit"].forEach(function(t){!e[t]||"string"==typeof e[t]&&-1!==["days","months","years"].indexOf(t.toLowerCase())||(console.warn("`"+t+"` must be one of: 'days','months','years' !"),e[t]=null)}),e.serAxisBaseTimeUnit&&(n+=' '),e.serAxisMajorTimeUnit&&(n+=' '),e.serAxisMinorTimeUnit&&(n+=' '),e.serAxisMajorUnit&&(n+=' '),e.serAxisMinorUnit&&(n+=' '));return n+=""}(a.opts,R,L)))}a.opts.showDataTable&&(o+="",o+=' ',o+=' ',o+=' ',o+=' ',o+=" ",o+=" ",o+=' ',o+=" ",o+=" ",o+=" ",o+='\t ',o+="\t ",o+="\t ",o+='\t\t',o+=' ',o+='\t\t\t',o+='\t\t\t',o+='\t\t\t',o+='\t\t\t',o+="\t\t ",o+="\t\t",o+='\t\t',o+="\t ",o+="\t",o+="");o+=" ",o+=a.opts.fill?_t(a.opts.fill):"",o+=a.opts.border?''+_t(a.opts.border.color)+"":"",o+=" ",o+=" ",o+="",a.opts.showLegend&&(o+="",o+='',o+='',(a.opts.legendFontFace||a.opts.legendFontSize||a.opts.legendColor)&&(o+="",o+=" ",o+=" ",o+=" ",o+=" ",o+=a.opts.legendFontSize?'':"",a.opts.legendColor&&(o+=_t(a.opts.legendColor)),a.opts.legendFontFace&&(o+=''),a.opts.legendFontFace&&(o+=''),o+=" ",o+=" ",o+=' ',o+=" ",o+=""),o+="");o+=' ',o+=' ',a.opts._type===J.SCATTER&&(o+='');return o+="",o+="",o+=" ",o+=' ',o+=" ",o+="",o+='',o+=""}(u)),e(null)}).catch(function(t){r(t)})})}function Vt(n,a,o,t,e){var i="";switch(n){case J.AREA:case J.BAR:case J.BAR3D:case J.LINE:case J.RADAR:i+="",n===J.AREA&&"stacked"===o.barGrouping&&(i+=''),n!==J.BAR&&n!==J.BAR3D||(i+='',i+=''),n===J.RADAR&&(i+=''),i+='';var s=-1;a.forEach(function(t){s++;var e=t.index;i+="",i+=' ',i+=' ',i+=" ",i+=" ",i+=" Sheet1!$"+Zt(e+1)+"$1",i+=' '+gt(t.name)+"",i+=" ",i+=" ",i+=' ';var r=o.chartColors?o.chartColors[s%o.chartColors.length]:null;i+=" ","transparent"===r?i+="":o.chartColorsOpacity?i+=""+wt(r,'')+"":i+=""+wt(r)+"",n===J.LINE?0===o.lineSize?i+="":(i+=''+wt(r)+"",i+=''):o.dataBorder&&(i+=''+wt(o.dataBorder.color)+''),i+=Xt(o.shadow,C),i+=" ",n!==J.RADAR&&(i+=" ",i+=' ',o.dataLabelBkgrdColors&&(i+=" ",i+=" "+wt(r)+"",i+=" "),i+=" ",i+=" ",i+=" ",i+=" ",i+=' ',i+=" "+wt(o.dataLabelColor||b)+"",i+=' ',i+=" ",i+=" ",i+=" ",o.dataLabelPosition&&(i+=' '),i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=" "),n!==J.LINE&&n!==J.RADAR||(i+="",i+=' ',o.lineDataSymbolSize&&(i+=' '),i+=" ",i+=" "+wt(o.chartColors[e+1>o.chartColors.length?Math.floor(Math.random()*o.chartColors.length):e])+"",i+=' '+wt(o.lineDataSymbolLineColor||r)+'',i+=" ",i+=" ",i+=""),(n===J.BAR||n===J.BAR3D)&&1===a.length&&o.chartColors!==I&&1",i+=' ',i+=' ',i+=' ',i+=" ",0===o.lineSize?i+="":n===J.BAR?(i+="",i+=' ',i+=""):(i+="",i+=" ",i+=' ',i+=" ",i+=""),i+=Xt(o.shadow,C),i+=" ",i+=" "}),i+="",o.catLabelFormatCode?(i+=" ",i+=" Sheet1!$A$2:$A$"+(t.labels.length+1)+"",i+=" ",i+=" "+(o.catLabelFormatCode||"General")+"",i+=' ',t.labels.forEach(function(t,e){i+=''+gt(t)+""}),i+=" ",i+=" "):(i+=" ",i+=" Sheet1!$A$2:$A$"+(t.labels.length+1)+"",i+=" ",i+='\t ',t.labels.forEach(function(t,e){i+=''+gt(t)+""}),i+=" ",i+=" "),i+="",i+="",i+=" ",i+=" Sheet1!$"+Zt(e+1)+"$2:$"+Zt(e+1)+"$"+(t.labels.length+1)+"",i+=" ",i+=" "+(o.valLabelFormatCode||o.dataTableFormatCode||"General")+"",i+=' ',t.values.forEach(function(t,e){i+=''+(t||0===t?t:"")+""}),i+=" ",i+=" ",i+="",n===J.LINE&&(i+=''),i+=""}),i+=" ",i+=' ',i+=" ",i+=" ",i+=" ",i+=" ",i+=' ',i+=" "+wt(o.dataLabelColor||b)+"",i+=' ',i+=" ",i+=" ",i+=" ",o.dataLabelPosition&&(i+=' '),i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=" ",n===J.BAR?(i+=' ',i+=' '):n===J.BAR3D?(i+=' ',i+=' ',i+=' '):n===J.LINE&&(i+=' '),i+=' ',i+=' ',i+=' ',i+="";break;case J.SCATTER:i+="",i+='',i+='',s=-1,a.filter(function(t,e){return 0",i+=' ',i+=' ',i+=" ",i+=" ",i+=" Sheet1!$"+F[t+1]+"$1",i+=' '+r.name+"",i+=" ",i+=" ",i+=" ";var e=o.chartColors[s%o.chartColors.length];if("transparent"===e?i+="":o.chartColorsOpacity?i+=""+wt(e,'')+"":i+=""+wt(e)+"",0===o.lineSize?i+="":(i+=''+wt(e)+"",i+=''),i+=Xt(o.shadow,C),i+=" ",i+="",i+=' ',o.lineDataSymbolSize&&(i+=' '),i+=" ",i+=" "+wt(o.chartColors[t+1>o.chartColors.length?Math.floor(Math.random()*o.chartColors.length):t])+"",i+=' '+wt(o.lineDataSymbolLineColor||o.chartColors[s%o.chartColors.length])+'',i+=" ",i+=" ",i+="",o.showLabel){var n=ht("-xxxx-xxxx-xxxx-xxxxxxxxxxxx");!r.labels||"custom"!==o.dataLabelFormatScatter&&"customXY"!==o.dataLabelFormatScatter||(i+="",r.labels.forEach(function(t,e){"custom"!==o.dataLabelFormatScatter&&"customXY"!==o.dataLabelFormatScatter||(i+=" ",i+=' ',i+=" ",i+=" ",i+="\t\t\t",i+="\t\t\t\t",i+="\t\t\t",i+=" \t",i+=" \t",i+="\t\t\t\t",i+="\t\t\t\t\t",i+="\t\t\t\t",i+=" \t",i+=' \t\t',i+=" \t\t"+gt(t)+"",i+=" \t","customXY"!==o.dataLabelFormatScatter||/^ *$/.test(t)||(i+=" \t",i+=' \t\t',i+=" \t\t (",i+=" \t",i+=' \t',i+=' \t\t',i+=" \t\t",i+=" \t\t\t",i+=" \t\t",i+=" \t\t["+gt(r.name)+"",i+=" \t",i+=" \t",i+=' \t\t',i+=" \t\t, ",i+=" \t",i+=' \t',i+=' \t\t',i+=" \t\t",i+=" \t\t\t",i+=" \t\t",i+=" \t\t["+gt(r.name)+"]",i+=" \t",i+=" \t",i+=' \t\t',i+=" \t\t)",i+=" \t",i+=' \t'),i+=" \t",i+=" ",i+=" ",i+=" ",i+=" \t",i+=" \t",i+=" \t\t",i+=" \t",i+=" \t",i+=" ",o.dataLabelPosition&&(i+=' '),i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+='\t ',i+=" ",i+=' ',i+=' ',i+='\t\t\t',i+=" ",i+="\t\t",i+="")}),i+=""),"XY"===o.dataLabelFormatScatter&&(i+="",i+="\t",i+="\t\t",i+="\t\t",i+="\t\t\t",i+="\t\t",i+="\t \t",i+="\t",i+="\t",i+="\t\t",i+="\t\t\t",i+="\t\t",i+="\t\t",i+="\t\t",i+="\t \t",i+=" \t\t",i+="\t \t",i+='\t \t',i+="\t\t",i+="\t",o.dataLabelPosition&&(i+=' '),i+='\t',i+=' ',i+=' ',i+='\t',i+='\t',i+='\t',i+="\t",i+='\t\t',i+='\t\t\t',i+="\t\t",i+="\t",i+="")}1===a.length&&o.chartColors!==I&&r.values.forEach(function(t,e){var r=t<0?o.invertedColors||o.chartColors||I:o.chartColors||[];i+=" ",i+=' ',i+=' ',i+=' ',i+=" ",0===o.lineSize?i+="":(i+="",i+=' ',i+=""),i+=Xt(o.shadow,C),i+=" ",i+=" "}),i+="",i+=" ",i+=" Sheet1!$A$2:$A$"+(a[0].values.length+1)+"",i+=" ",i+=" General",i+=' ',a[0].values.forEach(function(t,e){i+=''+(t||0===t?t:"")+""}),i+=" ",i+=" ",i+="",i+="",i+=" ",i+=" Sheet1!$"+Zt(t+1)+"$2:$"+Zt(t+1)+"$"+(a[0].values.length+1)+"",i+=" ",i+=" General",i+=' ',a[0].values.forEach(function(t,e){i+=''+(r.values[e]||0===r.values[e]?r.values[e]:"")+""}),i+=" ",i+=" ",i+="",i+='',i+=""}),i+=" ",i+=' ',i+=" ",i+=" ",i+=" ",i+=" ",i+=' ',i+=" "+wt(o.dataLabelColor||b)+"",i+=' ',i+=" ",i+=" ",i+=" ",o.dataLabelPosition&&(i+=' '),i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=" ",i+=' ',i+=' ',i+="";break;case J.BUBBLE:i+="",i+='',s=-1;var l=1;a.filter(function(t,e){return 0",i+=' ',i+=' ',i+=" ",i+=" ",i+=" Sheet1!$"+F[l]+"$1",i+=' '+r.name+"",i+=" ",i+=" ",i+="";var e=o.chartColors[s%o.chartColors.length];"transparent"===e?i+="":o.chartColorsOpacity?i+=""+wt(e,'')+"":i+=""+wt(e)+"",0===o.lineSize?i+="":o.dataBorder?i+=''+wt(o.dataBorder.color)+'':(i+=''+wt(e)+"",i+=''),i+=Xt(o.shadow,C),i+="",i+="",i+=" ",i+=" Sheet1!$A$2:$A$"+(a[0].values.length+1)+"",i+=" ",i+=" General",i+=' ',a[0].values.forEach(function(t,e){i+=''+(t||0===t?t:"")+""}),i+=" ",i+=" ",i+="",i+="",i+=" ",i+=" Sheet1!$"+Zt(l)+"$2:$"+Zt(l)+"$"+(a[0].values.length+1)+"",l++,i+=" ",i+=" General",i+=' ',a[0].values.forEach(function(t,e){i+=''+(r.values[e]||0===r.values[e]?r.values[e]:"")+""}),i+=" ",i+=" ",i+="",i+=" ",i+=" ",i+=" Sheet1!$"+Zt(l)+"$2:$"+Zt(t+2)+"$"+(r.sizes.length+1)+"",l++,i+=" ",i+=" General",i+='\t ',r.sizes.forEach(function(t,e){i+=''+(t||"")+""}),i+=" ",i+=" ",i+=" ",i+=' ',i+=""}),i+=" ",i+=' ',i+=" ",i+=" ",i+=" ",i+=" ",i+=' ',i+=" "+wt(o.dataLabelColor||b)+"",i+=' ',i+=" ",i+=" ",i+=" ",o.dataLabelPosition&&(i+=' '),i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=" ",i+=' ',i+=' ',i+="";break;case J.DOUGHNUT:case J.PIE:var r=a[0];i+="",i+=' ',i+="",i+=' ',i+=' ',i+=" ",i+=" ",i+=" Sheet1!$B$1",i+=" ",i+=' ',i+=' '+gt(r.name)+"",i+=" ",i+=" ",i+=" ",i+=" ",i+=' ',i+=' ',o.dataNoEffects?i+="":i+=Xt(o.shadow,C),i+=" ",r.labels.forEach(function(t,e){i+="",i+=' ',i+=' ',i+=" ",i+=""+wt(o.chartColors[e+1>o.chartColors.length?Math.floor(Math.random()*o.chartColors.length):e])+"",o.dataBorder&&(i+=''+wt(o.dataBorder.color)+''),i+=Xt(o.shadow,C),i+=" ",i+=""}),i+="",r.labels.forEach(function(t,e){i+="",i+=' ',i+=' ',i+=" ",i+=" ",i+=" ",i+=' ',i+=" "+wt(o.dataLabelColor||b)+"",i+=' ',i+=" ",i+=" ",i+=" ",n===J.PIE&&o.dataLabelPosition&&(i+=' '),i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=" "}),i+=' ',i+="\t",i+="\t ",i+="\t ",i+="\t ",i+="\t\t",i+='\t\t ',i+='\t\t\t',i+="\t\t ",i+="\t\t",i+="\t ",i+="\t",i+=n===J.PIE?'':"",i+='\t',i+='\t',i+='\t',i+='\t',i+='\t',i+='\t',i+=' ',i+="",i+="",i+=" ",i+=" Sheet1!$A$2:$A$"+(r.labels.length+1)+"",i+=" ",i+='\t ',r.labels.forEach(function(t,e){i+=''+gt(t)+""}),i+=" ",i+=" ",i+="",i+=" ",i+=" ",i+=" Sheet1!$B$2:$B$"+(r.labels.length+1)+"",i+=" ",i+='\t ',r.values.forEach(function(t,e){i+=''+(t||0===t?t:"")+""}),i+=" ",i+=" ",i+=" ",i+=" ",i+=' ',n===J.DOUGHNUT&&(i+=' '),i+="";break;default:i+=""}return i}function Qt(e,t,r){var n="";return e._type===J.SCATTER||e._type===J.BUBBLE?n+="":n+="",n+=' ',n+=" ",n+='',!e.catAxisMaxVal&&0!==e.catAxisMaxVal||(n+=''),!e.catAxisMinVal&&0!==e.catAxisMinVal||(n+=''),n+="",n+=' ',n+=' ',n+="none"!==e.catGridLine.style?Kt(e.catGridLine):"",e.showCatAxisTitle&&(n+=qt({color:e.catAxisTitleColor,fontFace:e.catAxisTitleFontFace,fontSize:e.catAxisTitleFontSize,titleRotate:e.catAxisTitleRotate,title:e.catAxisTitle||"Axis Title"})),e._type===J.SCATTER||e._type===J.BUBBLE?n+=' ':n+=' ',e._type===J.SCATTER?(n+=' ',n+=' ',n+=' '):(n+=' ',n+=' ',n+=' '),n+=" ",n+=' ',n+=!1===e.catAxisLineShow?"":""+wt(e.catAxisLineColor||y.color)+"",n+=' ',n+=" ",n+=" ",n+=" ",n+=" ",n+=" ",n+=" ",n+=" ",n+=" ",n+=' ',n+=" "+wt(e.catAxisLabelColor||b)+"",n+=' ',n+=" ",n+=" ",n+=' ',n+=" ",n+=" ",n+=' ',n+=" ',n+=' ',n+=' ',n+=' ',e.catAxisLabelFrequency&&(n+=' '),!e.catLabelFormatCode&&e._type!==J.SCATTER&&e._type!==J.BUBBLE||(e.catLabelFormatCode&&(["catAxisBaseTimeUnit","catAxisMajorTimeUnit","catAxisMinorTimeUnit"].forEach(function(t){!e[t]||"string"==typeof e[t]&&-1!==["days","months","years"].indexOf(e[t].toLowerCase())||(console.warn("`"+t+"` must be one of: 'days','months','years' !"),e[t]=null)}),e.catAxisBaseTimeUnit&&(n+=''),e.catAxisMajorTimeUnit&&(n+=''),e.catAxisMinorTimeUnit&&(n+='')),e.catAxisMajorUnit&&(n+=''),e.catAxisMinorUnit&&(n+='')),e._type===J.SCATTER||e._type===J.BUBBLE?n+="":n+="",n}function Yt(t,e){var r=e===L?"col"===t.barDir?"l":"b":"col"!==t.barDir?"r":"t",n="",a="r"==r||"t"==r?"max":"autoZero",o=e===L?T:k;return n+="",n+=' ',n+=" ",t.valAxisLogScaleBase&&(n+=' '),n+=' ',!t.valAxisMaxVal&&0!==t.valAxisMaxVal||(n+=''),!t.valAxisMinVal&&0!==t.valAxisMinVal||(n+=''),n+=" ",n+=' ',n+=' ',"none"!==t.valGridLine.style&&(n+=Kt(t.valGridLine)),t.showValAxisTitle&&(n+=qt({color:t.valAxisTitleColor,fontFace:t.valAxisTitleFontFace,fontSize:t.valAxisTitleFontSize,titleRotate:t.valAxisTitleRotate,title:t.valAxisTitle||"Axis Title"})),n+="',t._type===J.SCATTER?(n+=' ',n+=' ',n+=' '):(n+=' ',n+=' ',n+=' '),n+=" ",n+=' ',n+=!1===t.valAxisLineShow?"":""+wt(t.valAxisLineColor||y.color)+"",n+=' ',n+=" ",n+=" ",n+=" ",n+=" ",n+=" ",n+=" ",n+=" ",n+=" ",n+=' ',n+=" "+wt(t.valAxisLabelColor||b)+"",n+=' ',n+=" ",n+=" ",n+=' ',n+=" ",n+=" ",n+=' ',n+=' ',n+=' ',t.valAxisMajorUnit&&(n+=' '),t.valAxisDisplayUnit&&(n+=''+(t.valAxisDisplayUnitLabel?"":"")+""),n+=""}function qt(t){var e="left"===t.titleAlign||"right"===t.titleAlign?'':"",r=t.titleRotate?'':"",n=t.fontSize?'sz="'+Math.round(100*t.fontSize)+'"':"",a=!0===t.titleBold?1:0,o=t.titlePos&&t.titlePos.x&&t.titlePos.y?'':"";return"\n\t \n\t \n\t "+r+"\n\t \n\t \n\t "+e+"\n\t \n\t '+wt(t.color||b)+'\n\t \n\t \n\t \n\t \n\t \n\t '+wt(t.color||b)+'\n\t \n\t \n\t '+(gt(t.title)||"")+"\n\t \n\t \n\t \n\t \n\t "+o+'\n\t \n\t'}function Zt(t){var e="";return t<=26?e=F[t]:(e+=F[Math.floor(t/F.length)-1],e+=F[t%F.length]),e}function Xt(t,e){if(!t)return"";if("object"!=typeof t)return console.warn("`shadow` options must be an object. Ex: `{shadow: {type:'none'}}`"),"";var r="",n=mt(e,t),a=n.type||"outer",o=At(n.blur),i=At(n.offset),s=Math.round(6e4*n.angle),l=n.color,c=Math.round(1e5*n.opacity);return r+="',r+='',r+='',r+="",r+=""}function Kt(t){var e="";return e+=" ",e+=' ',e+=' ',e+=' ',e+=" ",e+=" ",e+=""}function Jt(t){var o="undefined"!=typeof require&&"undefined"==typeof window?require("fs"):null,i="undefined"!=typeof require&&"undefined"==typeof window?require("https"):null,e=[];return t._relsMedia.filter(function(t){return"online"!==t.type&&!t.data&&(!t.path||t.path&&-1===t.path.indexOf("preencoded"))}).forEach(function(a){e.push(new Promise(function(r,n){if(o&&0!==a.path.indexOf("http"))try{var t=o.readFileSync(a.path);a.data=Buffer.from(t).toString("base64"),r("done")}catch(t){a.data=pt,n('ERROR: Unable to read media: "'+a.path+'"\n'+t.toString())}else if(o&&i&&0===a.path.indexOf("http"))i.get(a.path,function(t){var e="";t.setEncoding("binary"),t.on("data",function(t){return e+=t}),t.on("end",function(){a.data=Buffer.from(e,"binary").toString("base64"),r("done")}),t.on("error",function(t){a.data=pt,n("ERROR! Unable to load image (https.get): "+a.path)})});else{var e=new XMLHttpRequest;e.onload=function(){var t=new FileReader;t.onloadend=function(){a.data=t.result,a.isSvgPng?$t(a).then(function(){r("done")}).catch(function(t){n(t)}):r("done")},t.readAsDataURL(e.response)},e.onerror=function(t){a.data=pt,n("ERROR! Unable to load image (xhr.onerror): "+a.path)},e.open("GET",a.path),e.responseType="blob",e.send()}}))}),t._relsMedia.filter(function(t){return t.isSvgPng&&t.data}).forEach(function(t){o?(t.data=pt,e.push(Promise.resolve().then(function(){return"done"}))):e.push($t(t))}),e}function $t(a){return new Promise(function(r,e){var n=new Image;n.onload=function(){n.width+n.height===0&&n.onerror("h/w=0");var t=document.createElement("CANVAS"),e=t.getContext("2d");t.width=n.width,t.height=n.height,e.drawImage(n,0,0);try{a.data=t.toDataURL(a.type),r("done")}catch(t){n.onerror(t)}t=null},n.onerror=function(t){a.data=pt,e("ERROR! Unable to load image (image.onerror): "+a.path)},n.src="string"==typeof a.data?a.data:pt})}function te(){var a=this;this._version="3.7.0",this._alignH=Q,this._alignV=q,this._chartType=U,this._outputType=z,this._schemeColor=H,this._shapeType=G,this._charts=J,this._colors=tt,this._shapes=X,this.addNewSlide=function(t){var e=0')})}),n+='',n+='',n+='',n+='',t.forEach(function(t,e){n+='',n+='',t._relsChart.forEach(function(t){n+=' '})}),n+='',n+='',n+='',n+='',e.forEach(function(t,e){n+='',(t._relsChart||[]).forEach(function(t){n+=' '})}),t.forEach(function(t,e){n+=' '}),r._relsChart.forEach(function(t){n+=' '}),r._relsMedia.forEach(function(t){"image"!==t.type&&"online"!==t.type&&"chart"!==t.type&&"m4v"!==t.extn&&-1===n.indexOf(t.type)&&(n+=' ')}),n+=' ',n+=' ',n+=""}(a.slides,a.slideLayouts,a.masterSlide)),n.file("_rels/.rels",''+v+'\n\t\t\n\t\t\n\t\t\n\t\t'),n.file("docProps/app.xml",function(t,e){return''+v+'\n\t0\n\t0\n\tMicrosoft Office PowerPoint\n\tOn-screen Show (16:9)\n\t0\n\t'+t.length+"\n\t"+t.length+'\n\t0\n\t0\n\tfalse\n\t\n\t\t\n\t\t\tFonts Used\n\t\t\t2\n\t\t\tTheme\n\t\t\t1\n\t\t\tSlide Titles\n\t\t\t'+t.length+'\n\t\t\n\t\n\t\n\t\t\n\t\t\tArial\n\t\t\tCalibri\n\t\t\tOffice Theme\n\t\t\t'+t.map(function(t,e){return"Slide "+(e+1)+"\n"}).join("")+"\n\t\t\n\t\n\t"+e+"\n\tfalse\n\tfalse\n\tfalse\n\t16.0000\n\t"}(a.slides,a.company)),n.file("docProps/core.xml",function(t,e,r,n){return'\n\t\n\t\t'+gt(t)+"\n\t\t"+gt(e)+"\n\t\t"+gt(r)+"\n\t\t"+gt(r)+"\n\t\t"+n+'\n\t\t'+(new Date).toISOString().replace(/\.\d\d\dZ/,"Z")+'\n\t\t'+(new Date).toISOString().replace(/\.\d\d\dZ/,"Z")+"\n\t"}(a.title,a.subject,a.author,a.revision)),n.file("ppt/_rels/presentation.xml.rels",function(t){var e=1,r=''+v;r+='',r+='';for(var n=1;n<=t.length;n++)r+='';return r+=''}(a.slides)),n.file("ppt/theme/theme1.xml",''+v+''),n.file("ppt/presentation.xml",function(t){var e=''+v+'';e+='',e+="",t.slides.forEach(function(t){return e+=''}),e+="",e+='',e+='',e+='',e+="";for(var r=1;r<10;r++)e+="";return e+="",t.sections&&0',e+='',t.sections.forEach(function(t){e+='',t._slides.forEach(function(t){return e+=''}),e+=""}),e+="",e+='',e+=""),e+=""}(a)),n.file("ppt/presProps.xml",''+v+''),n.file("ppt/tableStyles.xml",''+v+''),n.file("ppt/viewProps.xml",''+v+''),a.slideLayouts.forEach(function(t,e){n.file("ppt/slideLayouts/slideLayout"+(e+1)+".xml",function(t){return'\n\t\t\n\t\t'+Lt(t)+"\n\t\t"}(t)),n.file("ppt/slideLayouts/_rels/slideLayout"+(e+1)+".xml.rels",function(t,e){return Et(e[t-1],[{target:"../slideMasters/slideMaster1.xml",type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster"}])}(e+1,a.slideLayouts))}),a.slides.forEach(function(t,e){n.file("ppt/slides/slide"+(e+1)+".xml",function(t){return''+v+'"+Lt(t)+""}(t)),n.file("ppt/slides/_rels/slide"+(e+1)+".xml.rels",function(t,e,r){return Et(t[r-1],[{target:"../slideLayouts/slideLayout"+function(t,e,r){for(var n=0;n\n\t\t\n\t\t\t\n\t\t\t\n\t\t'}(e+1))}),n.file("ppt/slideMasters/slideMaster1.xml",function(r,t){var e=t.map(function(t,e){return''}),n=''+v;return n+='',n+=Lt(r),n+='',n+=""+e.join("")+"",n+='',n+=' ',n+=""}(a.masterSlide,a.slideLayouts)),n.file("ppt/slideMasters/_rels/slideMaster1.xml.rels",function(t,e){var r=e.map(function(t,e){return{target:"../slideLayouts/slideLayout"+(e+1)+".xml",type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout"}});return r.push({target:"../theme/theme1.xml",type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme"}),Et(t,r)}(a.masterSlide,a.slideLayouts)),n.file("ppt/notesMasters/notesMaster1.xml",''+v+'7/23/19Click to edit Master text stylesSecond levelThird levelFourth levelFifth level‹#›'),n.file("ppt/notesMasters/_rels/notesMaster1.xml.rels",''+v+'\n\t\t\n\t\t'),a.slideLayouts.forEach(function(t){a.createChartMediaRels(t,n,e)}),a.slides.forEach(function(t){a.createChartMediaRels(t,n,e)}),a.createChartMediaRels(a.masterSlide,n,e),Promise.all(e).then(function(){return"STREAM"===t.outputType?n.generateAsync({type:"nodebuffer",compression:t.compression?"DEFLATE":"STORE"}):t.outputType?n.generateAsync({type:t.outputType}):n.generateAsync({type:"blob",compression:t.compression?"DEFLATE":"STORE"})})})},this.LAYOUTS={LAYOUT_4x3:{name:"screen4x3",width:9144e3,height:6858e3},LAYOUT_16x9:{name:"screen16x9",width:9144e3,height:5143500},LAYOUT_16x10:{name:"screen16x10",width:9144e3,height:5715e3},LAYOUT_WIDE:{name:"custom",width:12192e3,height:6858e3}},this._author="PptxGenJS",this._company="PptxGenJS",this._revision="1",this._subject="PptxGenJS Presentation",this._title="PptxGenJS Presentation",this._presLayout={name:this.LAYOUTS[p].name,_sizeW:this.LAYOUTS[p].width,_sizeH:this.LAYOUTS[p].height,width:this.LAYOUTS[p].width,height:this.LAYOUTS[p].height},this._rtlMode=!1,this._slideLayouts=[{_margin:P,_name:n,_presLayout:this._presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slide:null,_slideNum:1e3,_slideNumberProps:null,_slideObjects:[]}],this._slides=[],this._sections=[],this._masterSlide={addChart:null,addImage:null,addMedia:null,addNotes:null,addShape:null,addTable:null,addText:null,_name:null,_presLayout:this._presLayout,_rId:null,_rels:[],_relsChart:[],_relsMedia:[],_slideId:null,_slideLayout:null,_slideNum:null,_slideNumberProps:null,_slideObjects:[]}}return Object.defineProperty(te.prototype,"layout",{get:function(){return this._layout},set:function(t){var e=this.LAYOUTS[t];if(!e)throw new Error("UNKNOWN-LAYOUT");this._layout=t,this._presLayout=e},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"version",{get:function(){return this._version},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"author",{get:function(){return this._author},set:function(t){this._author=t},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"company",{get:function(){return this._company},set:function(t){this._company=t},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"revision",{get:function(){return this._revision},set:function(t){this._revision=t},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"subject",{get:function(){return this._subject},set:function(t){this._subject=t},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"title",{get:function(){return this._title},set:function(t){this._title=t},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"rtlMode",{get:function(){return this._rtlMode},set:function(t){this._rtlMode=t},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"masterSlide",{get:function(){return this._masterSlide},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"slides",{get:function(){return this._slides},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"sections",{get:function(){return this._sections},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"slideLayouts",{get:function(){return this._slideLayouts},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"AlignH",{get:function(){return this._alignH},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"AlignV",{get:function(){return this._alignV},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"ChartType",{get:function(){return this._chartType},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"OutputType",{get:function(){return this._outputType},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"presLayout",{get:function(){return this._presLayout},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"SchemeColor",{get:function(){return this._schemeColor},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"ShapeType",{get:function(){return this._shapeType},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"charts",{get:function(){return this._charts},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"colors",{get:function(){return this._colors},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"shapes",{get:function(){return this._shapes},enumerable:!1,configurable:!0}),te.prototype.stream=function(t){var e=!("object"!=typeof t||!t.hasOwnProperty("compression"))&&t.compression;return this.exportPresentation({compression:e,outputType:"STREAM"})},te.prototype.write=function(t){var e="object"==typeof t&&t.hasOwnProperty("outputType")?t.outputType:t||null,r=!("object"!=typeof t||!t.hasOwnProperty("compression"))&&t.compression;return this.exportPresentation({compression:r,outputType:e})},te.prototype.writeFile=function(t){var e=this,n="undefined"!=typeof require&&"undefined"==typeof window?require("fs"):null;"string"==typeof t&&console.log("Warning: `writeFile(filename)` is deprecated - please use `WriteFileProps` argument (v3.5.0)");var r="object"==typeof t&&t.hasOwnProperty("fileName")?t.fileName:"string"==typeof t?t:"",a=!("object"!=typeof t||!t.hasOwnProperty("compression"))&&t.compression,o=r?r.toString().toLowerCase().endsWith(".pptx")?r:r+".pptx":"Presentation.pptx";return this.exportPresentation({compression:a,outputType:n?"nodebuffer":null}).then(function(t){return n?new Promise(function(e,r){n.writeFile(o,t,function(t){t?r(t):e(o)})}):e.writeFileToBrowser(o,t)})},te.prototype.addSection=function(t){t?t.title||console.warn("addSection requires a title"):console.warn("addSection requires an argument");var e={_type:"user",_slides:[],title:t.title};t.order?this.sections.splice(t.order,0,e):this._sections.push(e)},te.prototype.addSlide=function(e){var r="string"==typeof e?e:e&&e.masterName?e.masterName:"",t={_name:this.LAYOUTS[p].name,_presLayout:this.presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slideNum:this.slides.length+1};if(r){var n=this.slideLayouts.filter(function(t){return t._name===r})[0];n&&(t=n)}var a=new Gt({addSlide:this.addNewSlide,getSlide:this.getSlide,presLayout:this.presLayout,setSlideNum:this.setSlideNumber,slideId:this.slides.length+256,slideRId:this.slides.length+2,slideNumber:this.slides.length+1,slideLayout:t});if(this._slides.push(a),e&&e.sectionTitle){var o=this.sections.filter(function(t){return t.title===e.sectionTitle})[0];o?o._slides.push(a):console.warn('addSlide: unable to find section with title: "'+e.sectionTitle+'"')}else if(this.sections&&0 opts.y = "+a.y),r.addTable(t.rows,{x:a.x||p[3],y:a.y,w:Number(s)/B,colW:c,autoPage:!1}),a.addImage&&r.addImage({path:a.addImage.url,x:a.addImage.x,y:a.addImage.y,w:a.addImage.w,h:a.addImage.h}),a.addShape&&r.addShape(a.addShape.shape,a.addShape.options||{}),a.addTable&&r.addTable(a.addTable.rows,a.addTable.options||{}),a.addText&&r.addText(a.addText.text,a.addText.options||{})})}(this,t,e,e&&e.masterSlideName?this.slideLayouts.filter(function(t){return t._name===e.masterSlideName})[0]:null)},te}(); +/* PptxGenJS 3.7.1 @ 2021-07-22T03:01:25.409Z */ +!function(t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).JSZip=t()}(function(){return function o(i,s,l){function c(e,t){if(!s[e]){if(!i[e]){var r="function"==typeof require&&require;if(!t&&r)return r(e,!0);if(u)return u(e,!0);var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}var a=s[e]={exports:{}};i[e][0].call(a.exports,function(t){return c(i[e][1][t]||t)},a,a.exports,o,i,s,l)}return s[e].exports}for(var u="function"==typeof require&&require,t=0;t>2,o=(3&e)<<4|r>>4,i=1>6:64,s=2>4,r=(15&a)<<4|(o=h.indexOf(t.charAt(s++)))>>2,n=(3&o)<<6|(i=h.indexOf(t.charAt(s++))),c[l++]=e,64!==o&&(c[l++]=r),64!==i&&(c[l++]=n);return c}},{"./support":30,"./utils":32}],2:[function(t,e,r){"use strict";var n=t("./external"),a=t("./stream/DataWorker"),o=t("./stream/Crc32Probe"),i=t("./stream/DataLengthProbe");function s(t,e,r,n,a){this.compressedSize=t,this.uncompressedSize=e,this.crc32=r,this.compression=n,this.compressedContent=a}s.prototype={getContentWorker:function(){var t=new a(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new i("data_length")),e=this;return t.on("end",function(){if(this.streamInfo.data_length!==e.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),t},getCompressedWorker:function(){return new a(n.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},s.createWorkerFrom=function(t,e,r){return t.pipe(new o).pipe(new i("uncompressedSize")).pipe(e.compressWorker(r)).pipe(new i("compressedSize")).withStreamInfo("compression",e)},e.exports=s},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(t,e,r){"use strict";var n=t("./stream/GenericWorker");r.STORE={magic:"\0\0",compressWorker:function(t){return new n("STORE compression")},uncompressWorker:function(){return new n("STORE decompression")}},r.DEFLATE=t("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(t,e,r){"use strict";var n=t("./utils"),i=function(){for(var t,e=[],r=0;r<256;r++){t=r;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[r]=t}return e}();e.exports=function(t,e){return void 0!==t&&t.length?"string"!==n.getTypeOf(t)?function(t,e,r){var n=i,a=0+r;t^=-1;for(var o=0;o>>8^n[255&(t^e[o])];return-1^t}(0|e,t,t.length):function(t,e,r){var n=i,a=0+r;t^=-1;for(var o=0;o>>8^n[255&(t^e.charCodeAt(o))];return-1^t}(0|e,t,t.length):0}},{"./utils":32}],5:[function(t,e,r){"use strict";r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!0,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],6:[function(t,e,r){"use strict";var n;n="undefined"!=typeof Promise?Promise:t("lie"),e.exports={Promise:n}},{lie:37}],7:[function(t,e,r){"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,a=t("pako"),o=t("./utils"),i=t("./stream/GenericWorker"),s=n?"uint8array":"array";function l(t,e){i.call(this,"FlateWorker/"+t),this._pako=null,this._pakoAction=t,this._pakoOptions=e,this.meta={}}r.magic="\b\0",o.inherits(l,i),l.prototype.processChunk=function(t){this.meta=t.meta,null===this._pako&&this._createPako(),this._pako.push(o.transformTo(s,t.data),!1)},l.prototype.flush=function(){i.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},l.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this._pako=null},l.prototype._createPako=function(){this._pako=new a[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},r.compressWorker=function(t){return new l("Deflate",t)},r.uncompressWorker=function(){return new l("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(t,e,r){"use strict";function T(t,e){var r,n="";for(r=0;r>>=8;return n}function a(t,e,r,n,a,o){var i,s,l=t.file,c=t.compression,u=o!==R.utf8encode,p=k.transformTo("string",o(l.name)),f=k.transformTo("string",R.utf8encode(l.name)),d=l.comment,h=k.transformTo("string",o(d)),m=k.transformTo("string",R.utf8encode(d)),g=f.length!==l.name.length,v=m.length!==d.length,A="",y="",b="",x=l.dir,w=l.date,_={crc32:0,compressedSize:0,uncompressedSize:0};e&&!r||(_.crc32=t.crc32,_.compressedSize=t.compressedSize,_.uncompressedSize=t.uncompressedSize);var C=0;e&&(C|=8),u||!g&&!v||(C|=2048);var P,S=0,L=0;x&&(S|=16),"UNIX"===a?(L=798,S|=((P=l.unixPermissions)||(P=x?16893:33204),(65535&P)<<16)):(L=20,S|=63&(l.dosPermissions||0)),i=w.getUTCHours(),i<<=6,i|=w.getUTCMinutes(),i<<=5,i|=w.getUTCSeconds()/2,s=w.getUTCFullYear()-1980,s<<=4,s|=w.getUTCMonth()+1,s<<=5,s|=w.getUTCDate(),g&&(A+="up"+T((y=T(1,1)+T(F(p),4)+f).length,2)+y),v&&(A+="uc"+T((b=T(1,1)+T(F(h),4)+m).length,2)+b);var E="";return E+="\n\0",E+=T(C,2),E+=c.magic,E+=T(i,2),E+=T(s,2),E+=T(_.crc32,4),E+=T(_.compressedSize,4),E+=T(_.uncompressedSize,4),E+=T(p.length,2),E+=T(A.length,2),{fileRecord:I.LOCAL_FILE_HEADER+E+p+A,dirRecord:I.CENTRAL_FILE_HEADER+T(L,2)+E+T(h.length,2)+"\0\0\0\0"+T(S,4)+T(n,4)+p+A+h}}var k=t("../utils"),o=t("../stream/GenericWorker"),R=t("../utf8"),F=t("../crc32"),I=t("../signature");function n(t,e,r,n){o.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=e,this.zipPlatform=r,this.encodeFileName=n,this.streamFiles=t,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}k.inherits(n,o),n.prototype.push=function(t){var e=t.meta.percent||0,r=this.entriesCount,n=this._sources.length;this.accumulate?this.contentBuffer.push(t):(this.bytesWritten+=t.data.length,o.prototype.push.call(this,{data:t.data,meta:{currentFile:this.currentFile,percent:r?(e+100*(r-n-1))/r:100}}))},n.prototype.openedSource=function(t){this.currentSourceOffset=this.bytesWritten,this.currentFile=t.file.name;var e=this.streamFiles&&!t.file.dir;if(e){var r=a(t,e,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},n.prototype.closedSource=function(t){this.accumulate=!1;var e,r=this.streamFiles&&!t.file.dir,n=a(t,r,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),r)this.push({data:(e=t,I.DATA_DESCRIPTOR+T(e.crc32,4)+T(e.compressedSize,4)+T(e.uncompressedSize,4)),meta:{percent:100}});else for(this.push({data:n.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},n.prototype.flush=function(){for(var t=this.bytesWritten,e=0;e=this.index;e--)r=(r<<8)+this.byteAt(e);return this.index+=t,r},readString:function(t){return n.transformTo("string",this.readData(t))},readData:function(t){},lastIndexOfSignature:function(t){},readAndCheckSignature:function(t){},readDate:function(){var t=this.readInt(4);return new Date(Date.UTC(1980+(t>>25&127),(t>>21&15)-1,t>>16&31,t>>11&31,t>>5&63,(31&t)<<1))}},e.exports=a},{"../utils":32}],19:[function(t,e,r){"use strict";var n=t("./Uint8ArrayReader");function a(t){n.call(this,t)}t("../utils").inherits(a,n),a.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=a},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(t,e,r){"use strict";var n=t("./DataReader");function a(t){n.call(this,t)}t("../utils").inherits(a,n),a.prototype.byteAt=function(t){return this.data.charCodeAt(this.zero+t)},a.prototype.lastIndexOfSignature=function(t){return this.data.lastIndexOf(t)-this.zero},a.prototype.readAndCheckSignature=function(t){return t===this.readData(4)},a.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=a},{"../utils":32,"./DataReader":18}],21:[function(t,e,r){"use strict";var n=t("./ArrayReader");function a(t){n.call(this,t)}t("../utils").inherits(a,n),a.prototype.readData=function(t){if(this.checkOffset(t),0===t)return new Uint8Array(0);var e=this.data.subarray(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=a},{"../utils":32,"./ArrayReader":17}],22:[function(t,e,r){"use strict";var n=t("../utils"),a=t("../support"),o=t("./ArrayReader"),i=t("./StringReader"),s=t("./NodeBufferReader"),l=t("./Uint8ArrayReader");e.exports=function(t){var e=n.getTypeOf(t);return n.checkSupport(e),"string"!==e||a.uint8array?"nodebuffer"===e?new s(t):a.uint8array?new l(n.transformTo("uint8array",t)):new o(n.transformTo("array",t)):new i(t)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(t,e,r){"use strict";r.LOCAL_FILE_HEADER="PK",r.CENTRAL_FILE_HEADER="PK",r.CENTRAL_DIRECTORY_END="PK",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",r.ZIP64_CENTRAL_DIRECTORY_END="PK",r.DATA_DESCRIPTOR="PK\b"},{}],24:[function(t,e,r){"use strict";var n=t("./GenericWorker"),a=t("../utils");function o(t){n.call(this,"ConvertWorker to "+t),this.destType=t}a.inherits(o,n),o.prototype.processChunk=function(t){this.push({data:a.transformTo(this.destType,t.data),meta:t.meta})},e.exports=o},{"../utils":32,"./GenericWorker":28}],25:[function(t,e,r){"use strict";var n=t("./GenericWorker"),a=t("../crc32");function o(){n.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}t("../utils").inherits(o,n),o.prototype.processChunk=function(t){this.streamInfo.crc32=a(t.data,this.streamInfo.crc32||0),this.push(t)},e.exports=o},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(t,e,r){"use strict";var n=t("../utils"),a=t("./GenericWorker");function o(t){a.call(this,"DataLengthProbe for "+t),this.propName=t,this.withStreamInfo(t,0)}n.inherits(o,a),o.prototype.processChunk=function(t){if(t){var e=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=e+t.data.length}a.prototype.processChunk.call(this,t)},e.exports=o},{"../utils":32,"./GenericWorker":28}],27:[function(t,e,r){"use strict";var n=t("../utils"),a=t("./GenericWorker");function o(t){a.call(this,"DataWorker");var e=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,t.then(function(t){e.dataIsReady=!0,e.data=t,e.max=t&&t.length||0,e.type=n.getTypeOf(t),e.isPaused||e._tickAndRepeat()},function(t){e.error(t)})}n.inherits(o,a),o.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this.data=null},o.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,n.delay(this._tickAndRepeat,[],this)),!0)},o.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(n.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},o.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var t=null,e=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":t=this.data.substring(this.index,e);break;case"uint8array":t=this.data.subarray(this.index,e);break;case"array":case"nodebuffer":t=this.data.slice(this.index,e)}return this.index=e,this.push({data:t,meta:{percent:this.max?this.index/this.max*100:0}})},e.exports=o},{"../utils":32,"./GenericWorker":28}],28:[function(t,e,r){"use strict";function n(t){this.name=t||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}n.prototype={push:function(t){this.emit("data",t)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(t){this.emit("error",t)}return!0},error:function(t){return!this.isFinished&&(this.isPaused?this.generatedError=t:(this.isFinished=!0,this.emit("error",t),this.previous&&this.previous.error(t),this.cleanUp()),!0)},on:function(t,e){return this._listeners[t].push(e),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(t,e){if(this._listeners[t])for(var r=0;r "+t:t}},e.exports=n},{}],29:[function(t,e,r){"use strict";var c=t("../utils"),a=t("./ConvertWorker"),o=t("./GenericWorker"),u=t("../base64"),n=t("../support"),i=t("../external"),s=null;if(n.nodestream)try{s=t("../nodejs/NodejsStreamOutputAdapter")}catch(t){}function l(t,e,r){var n=e;switch(e){case"blob":case"arraybuffer":n="uint8array";break;case"base64":n="string"}try{this._internalType=n,this._outputType=e,this._mimeType=r,c.checkSupport(n),this._worker=t.pipe(new a(n)),t.lock()}catch(t){this._worker=new o("error"),this._worker.error(t)}}l.prototype={accumulate:function(t){return s=this,l=t,new i.Promise(function(e,r){var n=[],a=s._internalType,o=s._outputType,i=s._mimeType;s.on("data",function(t,e){n.push(t),l&&l(e)}).on("error",function(t){n=[],r(t)}).on("end",function(){try{var t=function(t,e,r){switch(t){case"blob":return c.newBlob(c.transformTo("arraybuffer",e),r);case"base64":return u.encode(e);default:return c.transformTo(t,e)}}(o,function(t,e){var r,n=0,a=null,o=0;for(r=0;r>>6:(r<65536?e[o++]=224|r>>>12:(e[o++]=240|r>>>18,e[o++]=128|r>>>12&63),e[o++]=128|r>>>6&63),e[o++]=128|63&r);return e}(t)},o.utf8decode=function(t){return l.nodebuffer?s.transformTo("nodebuffer",t).toString("utf-8"):function(t){var e,r,n,a,o=t.length,i=new Array(2*o);for(e=r=0;e>10&1023,i[r++]=56320|1023&n)}return i.length!==r&&(i.subarray?i=i.subarray(0,r):i.length=r),s.applyFromCharCode(i)}(t=s.transformTo(l.uint8array?"uint8array":"array",t))},s.inherits(i,n),i.prototype.processChunk=function(t){var e=s.transformTo(l.uint8array?"uint8array":"array",t.data);if(this.leftOver&&this.leftOver.length){if(l.uint8array){var r=e;(e=new Uint8Array(r.length+this.leftOver.length)).set(this.leftOver,0),e.set(r,this.leftOver.length)}else e=this.leftOver.concat(e);this.leftOver=null}var n=function(t,e){var r;for((e=e||t.length)>t.length&&(e=t.length),r=e-1;0<=r&&128==(192&t[r]);)r--;return r<0?e:0===r?e:r+c[t[r]]>e?r:e}(e),a=e;n!==e.length&&(l.uint8array?(a=e.subarray(0,n),this.leftOver=e.subarray(n,e.length)):(a=e.slice(0,n),this.leftOver=e.slice(n,e.length))),this.push({data:o.utf8decode(a),meta:t.meta})},i.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:o.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},o.Utf8DecodeWorker=i,s.inherits(u,n),u.prototype.processChunk=function(t){this.push({data:o.utf8encode(t.data),meta:t.meta})},o.Utf8EncodeWorker=u},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(t,e,s){"use strict";var l=t("./support"),c=t("./base64"),r=t("./nodejsUtils"),n=t("set-immediate-shim"),u=t("./external");function a(t){return t}function p(t,e){for(var r=0;r>8;this.dir=!!(16&this.externalFileAttributes),0==t&&(this.dosPermissions=63&this.externalFileAttributes),3==t&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(t){if(this.extraFields[1]){var e=n(this.extraFields[1].value);this.uncompressedSize===o.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===o.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===o.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===o.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(t){var e,r,n,a=t.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});t.index+4>>6:(r<65536?e[o++]=224|r>>>12:(e[o++]=240|r>>>18,e[o++]=128|r>>>12&63),e[o++]=128|r>>>6&63),e[o++]=128|63&r);return e},r.buf2binstring=function(t){return u(t,t.length)},r.binstring2buf=function(t){for(var e=new l.Buf8(t.length),r=0,n=e.length;r>10&1023,s[n++]=56320|1023&a)}return u(s,n)},r.utf8border=function(t,e){var r;for((e=e||t.length)>t.length&&(e=t.length),r=e-1;0<=r&&128==(192&t[r]);)r--;return r<0?e:0===r?e:r+c[t[r]]>e?r:e}},{"./common":41}],43:[function(t,e,r){"use strict";e.exports=function(t,e,r,n){for(var a=65535&t|0,o=t>>>16&65535|0,i=0;0!==r;){for(r-=i=2e3>>1:t>>>1;e[r]=t}return e}();e.exports=function(t,e,r,n){var a=s,o=n+r;t^=-1;for(var i=n;i>>8^a[255&(t^e[i])];return-1^t}},{}],46:[function(t,e,r){"use strict";var l,f=t("../utils/common"),c=t("./trees"),d=t("./adler32"),h=t("./crc32"),n=t("./messages"),u=0,p=0,m=-2,a=2,g=8,o=286,i=30,s=19,v=2*o+1,A=15,y=3,b=258,x=b+y+1,w=42,_=113;function C(t,e){return t.msg=n[e],e}function P(t){return(t<<1)-(4t.avail_out&&(r=t.avail_out),0!==r&&(f.arraySet(t.output,e.pending_buf,e.pending_out,r,t.next_out),t.next_out+=r,e.pending_out+=r,t.total_out+=r,t.avail_out-=r,e.pending-=r,0===e.pending&&(e.pending_out=0))}function E(t,e){c._tr_flush_block(t,0<=t.block_start?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,L(t.strm)}function T(t,e){t.pending_buf[t.pending++]=e}function k(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function R(t,e){var r,n,a=t.max_chain_length,o=t.strstart,i=t.prev_length,s=t.nice_match,l=t.strstart>t.w_size-x?t.strstart-(t.w_size-x):0,c=t.window,u=t.w_mask,p=t.prev,f=t.strstart+b,d=c[o+i-1],h=c[o+i];t.prev_length>=t.good_match&&(a>>=2),s>t.lookahead&&(s=t.lookahead);do{if(c[(r=e)+i]===h&&c[r+i-1]===d&&c[r]===c[o]&&c[++r]===c[o+1]){o+=2,r++;do{}while(c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&ol&&0!=--a);return i<=t.lookahead?i:t.lookahead}function F(t){var e,r,n,a,o,i,s,l,c,u,p=t.w_size;do{if(a=t.window_size-t.lookahead-t.strstart,t.strstart>=p+(p-x)){for(f.arraySet(t.window,t.window,p,p,0),t.match_start-=p,t.strstart-=p,t.block_start-=p,e=r=t.hash_size;n=t.head[--e],t.head[e]=p<=n?n-p:0,--r;);for(e=r=p;n=t.prev[--e],t.prev[e]=p<=n?n-p:0,--r;);a+=p}if(0===t.strm.avail_in)break;if(i=t.strm,s=t.window,l=t.strstart+t.lookahead,u=void 0,(c=a)<(u=i.avail_in)&&(u=c),r=0===u?0:(i.avail_in-=u,f.arraySet(s,i.input,i.next_in,u,l),1===i.state.wrap?i.adler=d(i.adler,s,u,l):2===i.state.wrap&&(i.adler=h(i.adler,s,u,l)),i.next_in+=u,i.total_in+=u,u),t.lookahead+=r,t.lookahead+t.insert>=y)for(o=t.strstart-t.insert,t.ins_h=t.window[o],t.ins_h=(t.ins_h<=y&&(t.ins_h=(t.ins_h<=y)if(n=c._tr_tally(t,t.strstart-t.match_start,t.match_length-y),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=y){for(t.match_length--;t.strstart++,t.ins_h=(t.ins_h<=y&&(t.ins_h=(t.ins_h<=y&&t.match_length<=t.prev_length){for(a=t.strstart+t.lookahead-y,n=c._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-y),t.lookahead-=t.prev_length-1,t.prev_length-=2;++t.strstart<=a&&(t.ins_h=(t.ins_h<t.pending_buf_size-5&&(r=t.pending_buf_size-5);;){if(t.lookahead<=1){if(F(t),0===t.lookahead&&e===u)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+r;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,E(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-x&&(E(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(E(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(E(t,!1),t.strm.avail_out),1)}),new B(4,4,8,4,I),new B(4,5,16,8,I),new B(4,6,32,32,I),new B(4,4,16,16,O),new B(8,16,32,32,O),new B(8,16,128,128,O),new B(8,32,128,256,O),new B(32,128,258,1024,O),new B(32,258,258,4096,O)],r.deflateInit=function(t,e){return z(t,e,g,15,8,0)},r.deflateInit2=z,r.deflateReset=M,r.deflateResetKeep=D,r.deflateSetHeader=function(t,e){return t&&t.state?2!==t.state.wrap?m:(t.state.gzhead=e,p):m},r.deflate=function(t,e){var r,n,a,o;if(!t||!t.state||5>8&255),T(n,n.gzhead.time>>16&255),T(n,n.gzhead.time>>24&255),T(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),T(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(T(n,255&n.gzhead.extra.length),T(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(t.adler=h(t.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69):(T(n,0),T(n,0),T(n,0),T(n,0),T(n,0),T(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),T(n,3),n.status=_);else{var i=g+(n.w_bits-8<<4)<<8;i|=(2<=n.strategy||n.level<2?0:n.level<6?1:6===n.level?2:3)<<6,0!==n.strstart&&(i|=32),i+=31-i%31,n.status=_,k(n,i),0!==n.strstart&&(k(n,t.adler>>>16),k(n,65535&t.adler)),t.adler=1}if(69===n.status)if(n.gzhead.extra){for(a=n.pending;n.gzindex<(65535&n.gzhead.extra.length)&&(n.pending!==n.pending_buf_size||(n.gzhead.hcrc&&n.pending>a&&(t.adler=h(t.adler,n.pending_buf,n.pending-a,a)),L(t),a=n.pending,n.pending!==n.pending_buf_size));)T(n,255&n.gzhead.extra[n.gzindex]),n.gzindex++;n.gzhead.hcrc&&n.pending>a&&(t.adler=h(t.adler,n.pending_buf,n.pending-a,a)),n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=73)}else n.status=73;if(73===n.status)if(n.gzhead.name){a=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>a&&(t.adler=h(t.adler,n.pending_buf,n.pending-a,a)),L(t),a=n.pending,n.pending===n.pending_buf_size)){o=1;break}o=n.gzindexa&&(t.adler=h(t.adler,n.pending_buf,n.pending-a,a)),0===o&&(n.gzindex=0,n.status=91)}else n.status=91;if(91===n.status)if(n.gzhead.comment){a=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>a&&(t.adler=h(t.adler,n.pending_buf,n.pending-a,a)),L(t),a=n.pending,n.pending===n.pending_buf_size)){o=1;break}o=n.gzindexa&&(t.adler=h(t.adler,n.pending_buf,n.pending-a,a)),0===o&&(n.status=103)}else n.status=103;if(103===n.status&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&L(t),n.pending+2<=n.pending_buf_size&&(T(n,255&t.adler),T(n,t.adler>>8&255),t.adler=0,n.status=_)):n.status=_),0!==n.pending){if(L(t),0===t.avail_out)return n.last_flush=-1,p}else if(0===t.avail_in&&P(e)<=P(r)&&4!==e)return C(t,-5);if(666===n.status&&0!==t.avail_in)return C(t,-5);if(0!==t.avail_in||0!==n.lookahead||e!==u&&666!==n.status){var s=2===n.strategy?function(t,e){for(var r;;){if(0===t.lookahead&&(F(t),0===t.lookahead)){if(e===u)return 1;break}if(t.match_length=0,r=c._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,r&&(E(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(E(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(E(t,!1),0===t.strm.avail_out)?1:2}(n,e):3===n.strategy?function(t,e){for(var r,n,a,o,i=t.window;;){if(t.lookahead<=b){if(F(t),t.lookahead<=b&&e===u)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=y&&0t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=y?(r=c._tr_tally(t,1,t.match_length-y),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(r=c._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),r&&(E(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(E(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(E(t,!1),0===t.strm.avail_out)?1:2}(n,e):l[n.level].func(n,e);if(3!==s&&4!==s||(n.status=666),1===s||3===s)return 0===t.avail_out&&(n.last_flush=-1),p;if(2===s&&(1===e?c._tr_align(n):5!==e&&(c._tr_stored_block(n,0,0,!1),3===e&&(S(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),L(t),0===t.avail_out))return n.last_flush=-1,p}return 4!==e?p:n.wrap<=0?1:(2===n.wrap?(T(n,255&t.adler),T(n,t.adler>>8&255),T(n,t.adler>>16&255),T(n,t.adler>>24&255),T(n,255&t.total_in),T(n,t.total_in>>8&255),T(n,t.total_in>>16&255),T(n,t.total_in>>24&255)):(k(n,t.adler>>>16),k(n,65535&t.adler)),L(t),0=r.w_size&&(0===o&&(S(r.head),r.strstart=0,r.block_start=0,r.insert=0),c=new f.Buf8(r.w_size),f.arraySet(c,e,u-r.w_size,r.w_size,0),e=c,u=r.w_size),i=t.avail_in,s=t.next_in,l=t.input,t.avail_in=u,t.next_in=0,t.input=e,F(r);r.lookahead>=y;){for(n=r.strstart,a=r.lookahead-(y-1);r.ins_h=(r.ins_h<>>=b=y>>>24,h-=b,0==(b=y>>>16&255))S[o++]=65535&y;else{if(!(16&b)){if(0==(64&b)){y=m[(65535&y)+(d&(1<>>=b,h-=b),h<15&&(d+=P[n++]<>>=b=y>>>24,h-=b,!(16&(b=y>>>16&255))){if(0==(64&b)){y=g[(65535&y)+(d&(1<>>=b,h-=b,(b=o-i)>3,d&=(1<<(h-=x<<3))-1,t.next_in=n,t.next_out=o,t.avail_in=n>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function o(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new T.Buf16(320),this.work=new T.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function i(t){var e;return t&&t.state?(e=t.state,t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=M,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new T.Buf32(n),e.distcode=e.distdyn=new T.Buf32(a),e.sane=1,e.back=-1,N):D}function s(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,i(t)):D}function l(t,e){var r,n;return t&&t.state?(n=t.state,e<0?(r=0,e=-e):(r=1+(e>>4),e<48&&(e&=15)),e&&(e<8||15=o.wsize?(T.arraySet(o.window,e,r-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):(n<(a=o.wsize-o.wnext)&&(a=n),T.arraySet(o.window,e,r-n,a,o.wnext),(n-=a)?(T.arraySet(o.window,e,r-n,n,0),o.wnext=n,o.whave=o.wsize):(o.wnext+=a,o.wnext===o.wsize&&(o.wnext=0),o.whave>>8&255,r.check=R(r.check,L,2,0),u=c=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&c)<<8)+(c>>8))%31){t.msg="incorrect header check",r.mode=30;break}if(8!=(15&c)){t.msg="unknown compression method",r.mode=30;break}if(u-=4,w=8+(15&(c>>>=4)),0===r.wbits)r.wbits=w;else if(w>r.wbits){t.msg="invalid window size",r.mode=30;break}r.dmax=1<>8&1),512&r.flags&&(L[0]=255&c,L[1]=c>>>8&255,r.check=R(r.check,L,2,0)),u=c=0,r.mode=3;case 3:for(;u<32;){if(0===s)break t;s--,c+=n[o++]<>>8&255,L[2]=c>>>16&255,L[3]=c>>>24&255,r.check=R(r.check,L,4,0)),u=c=0,r.mode=4;case 4:for(;u<16;){if(0===s)break t;s--,c+=n[o++]<>8),512&r.flags&&(L[0]=255&c,L[1]=c>>>8&255,r.check=R(r.check,L,2,0)),u=c=0,r.mode=5;case 5:if(1024&r.flags){for(;u<16;){if(0===s)break t;s--,c+=n[o++]<>>8&255,r.check=R(r.check,L,2,0)),u=c=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&(s<(d=r.length)&&(d=s),d&&(r.head&&(w=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),T.arraySet(r.head.extra,n,o,d,w)),512&r.flags&&(r.check=R(r.check,n,d,o)),s-=d,o+=d,r.length-=d),r.length))break t;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===s)break t;for(d=0;w=n[o+d++],r.head&&w&&r.length<65536&&(r.head.name+=String.fromCharCode(w)),w&&d>9&1,r.head.done=!0),t.adler=r.check=0,r.mode=12;break;case 10:for(;u<32;){if(0===s)break t;s--,c+=n[o++]<>>=7&u,u-=7&u,r.mode=27;break}for(;u<3;){if(0===s)break t;s--,c+=n[o++]<>>=1)){case 0:r.mode=14;break;case 1:if(U(r),r.mode=20,6!==e)break;c>>>=2,u-=2;break t;case 2:r.mode=17;break;case 3:t.msg="invalid block type",r.mode=30}c>>>=2,u-=2;break;case 14:for(c>>>=7&u,u-=7&u;u<32;){if(0===s)break t;s--,c+=n[o++]<>>16^65535)){t.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&c,u=c=0,r.mode=15,6===e)break t;case 15:r.mode=16;case 16:if(d=r.length){if(s>>=5,u-=5,r.ndist=1+(31&c),c>>>=5,u-=5,r.ncode=4+(15&c),c>>>=4,u-=4,286>>=3,u-=3}for(;r.have<19;)r.lens[E[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,C={bits:r.lenbits},_=I(0,r.lens,0,19,r.lencode,0,r.work,C),r.lenbits=C.bits,_){t.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have>>16&255,A=65535&S,!((g=S>>>24)<=u);){if(0===s)break t;s--,c+=n[o++]<>>=g,u-=g,r.lens[r.have++]=A;else{if(16===A){for(P=g+2;u>>=g,u-=g,0===r.have){t.msg="invalid bit length repeat",r.mode=30;break}w=r.lens[r.have-1],d=3+(3&c),c>>>=2,u-=2}else if(17===A){for(P=g+3;u>>=g)),c>>>=3,u-=3}else{for(P=g+7;u>>=g)),c>>>=7,u-=7}if(r.have+d>r.nlen+r.ndist){t.msg="invalid bit length repeat",r.mode=30;break}for(;d--;)r.lens[r.have++]=w}}if(30===r.mode)break;if(0===r.lens[256]){t.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,C={bits:r.lenbits},_=I(O,r.lens,0,r.nlen,r.lencode,0,r.work,C),r.lenbits=C.bits,_){t.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,C={bits:r.distbits},_=I(B,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,C),r.distbits=C.bits,_){t.msg="invalid distances set",r.mode=30;break}if(r.mode=20,6===e)break t;case 20:r.mode=21;case 21:if(6<=s&&258<=l){t.next_out=i,t.avail_out=l,t.next_in=o,t.avail_in=s,r.hold=c,r.bits=u,F(t,f),i=t.next_out,a=t.output,l=t.avail_out,o=t.next_in,n=t.input,s=t.avail_in,c=r.hold,u=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;v=(S=r.lencode[c&(1<>>16&255,A=65535&S,!((g=S>>>24)<=u);){if(0===s)break t;s--,c+=n[o++]<>y)])>>>16&255,A=65535&S,!(y+(g=S>>>24)<=u);){if(0===s)break t;s--,c+=n[o++]<>>=y,u-=y,r.back+=y}if(c>>>=g,u-=g,r.back+=g,r.length=A,0===v){r.mode=26;break}if(32&v){r.back=-1,r.mode=12;break}if(64&v){t.msg="invalid literal/length code",r.mode=30;break}r.extra=15&v,r.mode=22;case 22:if(r.extra){for(P=r.extra;u>>=r.extra,u-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;v=(S=r.distcode[c&(1<>>16&255,A=65535&S,!((g=S>>>24)<=u);){if(0===s)break t;s--,c+=n[o++]<>y)])>>>16&255,A=65535&S,!(y+(g=S>>>24)<=u);){if(0===s)break t;s--,c+=n[o++]<>>=y,u-=y,r.back+=y}if(c>>>=g,u-=g,r.back+=g,64&v){t.msg="invalid distance code",r.mode=30;break}r.offset=A,r.extra=15&v,r.mode=24;case 24:if(r.extra){for(P=r.extra;u>>=r.extra,u-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){t.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(0===l)break t;if(d=f-l,r.offset>d){if((d=r.offset-d)>r.whave&&r.sane){t.msg="invalid distance too far back",r.mode=30;break}h=d>r.wnext?(d-=r.wnext,r.wsize-d):r.wnext-d,d>r.length&&(d=r.length),m=r.window}else m=a,h=i-r.offset,d=r.length;for(ld?(m=F[I+i[y]],E[T+i[y]]):(m=96,0),l=1<>C)+(c-=l)]=h<<24|m<<16|g|0,0!==c;);for(l=1<>=1;if(0!==l?(L&=l-1,L+=l):L=0,y++,0==--k[A]){if(A===x)break;A=e[r+i[y]]}if(w>>7)]}function _(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function C(t,e,r){t.bi_valid>a-r?(t.bi_buf|=e<>a-t.bi_valid,t.bi_valid+=r-a):(t.bi_buf|=e<>>=1,r<<=1,0<--e;);return r>>>1}function L(t,e,r){var n,a,o=new Array(g+1),i=0;for(n=1;n<=g;n++)o[n]=i=i+r[n-1]<<1;for(a=0;a<=e;a++){var s=t[2*a+1];0!==s&&(t[2*a]=S(o[s]++,s))}}function E(t){var e;for(e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function T(t){8>1;1<=r;r--)R(t,o,r);for(a=l;r=t.heap[1],t.heap[1]=t.heap[t.heap_len--],R(t,o,1),n=t.heap[1],t.heap[--t.heap_max]=r,t.heap[--t.heap_max]=n,o[2*a]=o[2*r]+o[2*n],t.depth[a]=(t.depth[r]>=t.depth[n]?t.depth[r]:t.depth[n])+1,o[2*r+1]=o[2*n+1]=a,t.heap[1]=a++,R(t,o,1),2<=t.heap_len;);t.heap[--t.heap_max]=t.heap[1],function(t,e){var r,n,a,o,i,s,l=e.dyn_tree,c=e.max_code,u=e.stat_desc.static_tree,p=e.stat_desc.has_stree,f=e.stat_desc.extra_bits,d=e.stat_desc.extra_base,h=e.stat_desc.max_length,m=0;for(o=0;o<=g;o++)t.bl_count[o]=0;for(l[2*t.heap[t.heap_max]+1]=0,r=t.heap_max+1;r<573;r++)h<(o=l[2*l[2*(n=t.heap[r])+1]+1]+1)&&(o=h,m++),l[2*n+1]=o,c>=7;n<30;n++)for(b[n]=a<<7,t=0;t<1<>>=1)if(1&r&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<256;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0}(t)),I(t,t.l_desc),I(t,t.d_desc),i=function(t){var e;for(O(t,t.dyn_ltree,t.l_desc.max_code),O(t,t.dyn_dtree,t.d_desc.max_code),I(t,t.bl_desc),e=18;3<=e&&0===t.bl_tree[2*u[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),a=t.opt_len+3+7>>>3,(o=t.static_len+3+7>>>3)<=a&&(a=o)):a=o=r+5,r+4<=a&&-1!==e?D(t,e,r,n):4===t.strategy||o===a?(C(t,2+(n?1:0),3),F(t,p,f)):(C(t,4+(n?1:0),3),function(t,e,r,n){var a;for(C(t,e-257,5),C(t,r-1,5),C(t,n-4,4),a=0;a>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&r,t.last_lit++,0===e?t.dyn_ltree[2*r]++:(t.matches++,e--,t.dyn_ltree[2*(h[r]+256+1)]++,t.dyn_dtree[2*w(e)]++),t.last_lit===t.lit_bufsize-1},r._tr_align=function(t){var e;C(t,2,3),P(t,256,p),16===(e=t).bi_valid?(_(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):8<=e.bi_valid&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}},{"../utils/common":41}],53:[function(t,e,r){"use strict";e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(t,e,r){"use strict";e.exports="function"==typeof setImmediate?setImmediate:function(){var t=[].slice.apply(arguments);t.splice(1,0,0),setTimeout.apply(null,t)}},{}]},{},[10])(10)})}).call(this,void 0!==r?r:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,void 0!==r?r:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,void 0!==r?r:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,void 0!==r?r:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)}),function o(i,s,l){function c(e,t){if(!s[e]){if(!i[e]){var r="function"==typeof require&&require;if(!t&&r)return r(e,!0);if(u)return u(e,!0);var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}var a=s[e]={exports:{}};i[e][0].call(a.exports,function(t){return c(i[e][1][t]||t)},a,a.exports,o,i,s,l)}return s[e].exports}for(var u="function"==typeof require&&require,t=0;ti;)o.call(t,n=a[i++])&&e.push(n);return e}},{104:104,107:107,108:108}],62:[function(t,e,r){var m=t(70),g=t(52),v=t(72),A=t(118),y=t(54),b="prototype",x=function(t,e,r){var n,a,o,i,s=t&x.F,l=t&x.G,c=t&x.S,u=t&x.P,p=t&x.B,f=l?m:c?m[e]||(m[e]={}):(m[e]||{})[b],d=l?g:g[e]||(g[e]={}),h=d[b]||(d[b]={});for(n in l&&(r=e),r)o=((a=!s&&f&&void 0!==f[n])?f:r)[n],i=p&&a?y(o,m):u&&"function"==typeof o?y(Function.call,o):o,f&&A(f,n,o,t&x.U),d[n]!=o&&v(d,n,i),u&&h[n]!=o&&(h[n]=o)};m.core=g,x.F=1,x.G=2,x.S=4,x.P=8,x.B=16,x.W=32,x.U=64,x.R=128,e.exports=x},{118:118,52:52,54:54,70:70,72:72}],63:[function(t,e,r){var n=t(152)("match");e.exports=function(e){var r=/./;try{"/./"[e](r)}catch(t){try{return r[n]=!1,!"/./"[e](r)}catch(t){}}return!0}},{152:152}],64:[function(t,e,r){arguments[4][23][0].apply(r,arguments)},{23:23}],65:[function(t,e,r){"use strict";t(248);var u=t(118),p=t(72),f=t(64),d=t(57),h=t(152),m=t(120),g=h("species"),v=!f(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$
")}),A=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2===r.length&&"a"===r[0]&&"b"===r[1]}();e.exports=function(r,t,e){var n=h(r),o=!f(function(){var t={};return t[n]=function(){return 7},7!=""[r](t)}),a=o?!f(function(){var t=!1,e=/a/;return e.exec=function(){return t=!0,null},"split"===r&&(e.constructor={},e.constructor[g]=function(){return e}),e[n](""),!t}):void 0;if(!o||!a||"replace"===r&&!v||"split"===r&&!A){var i=/./[n],s=e(d,n,""[r],function(t,e,r,n,a){return e.exec===m?o&&!a?{done:!0,value:i.call(e,r,n)}:{done:!0,value:t.call(r,e,n)}:{done:!1}}),l=s[0],c=s[1];u(String.prototype,r,l),p(RegExp.prototype,n,2==t?function(t,e){return c.call(t,this,e)}:function(t){return c.call(t,this)})}}},{118:118,120:120,152:152,248:248,57:57,64:64,72:72}],66:[function(t,e,r){"use strict";var n=t(38);e.exports=function(){var t=n(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},{38:38}],67:[function(t,e,r){"use strict";var h=t(79),m=t(81),g=t(141),v=t(54),A=t(152)("isConcatSpreadable");e.exports=function t(e,r,n,a,o,i,s,l){for(var c,u,p=o,f=0,d=!!s&&v(s,l,3);fdocument.F=Object<\/script>"),t.close(),u=t.F;r--;)delete u[c][s[r]];return u()};t.exports=Object.create||function(t,e){var r;return null!==t?(a[c]=o(t),r=new a,a[c]=null,r[l]=t):r=u(),void 0===e?r:i(r,e)}},{100:100,125:125,38:38,59:59,60:60,73:73}],99:[function(t,e,r){arguments[4][29][0].apply(r,arguments)},{143:143,29:29,38:38,58:58,74:74}],100:[function(t,e,r){var i=t(99),s=t(38),l=t(107);e.exports=t(58)?Object.defineProperties:function(t,e){s(t);for(var r,n=l(e),a=n.length,o=0;oa;)i(n,r=e[a++])&&(~l(o,r)||o.push(r));return o}},{125:125,140:140,41:41,71:71}],107:[function(t,e,r){var n=t(106),a=t(60);e.exports=Object.keys||function(t){return n(t,a)}},{106:106,60:60}],108:[function(t,e,r){r.f={}.propertyIsEnumerable},{}],109:[function(t,e,r){var a=t(62),o=t(52),i=t(64);e.exports=function(t,e){var r=(o.Object||{})[t]||Object[t],n={};n[t]=e(r),a(a.S+a.F*i(function(){r(1)}),"Object",n)}},{52:52,62:62,64:64}],110:[function(t,e,r){var l=t(58),c=t(107),u=t(140),p=t(108).f;e.exports=function(s){return function(t){for(var e,r=u(t),n=c(r),a=n.length,o=0,i=[];o>>0||(i.test(r)?16:10))}:n},{134:134,135:135,70:70}],114:[function(t,e,r){e.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},{}],115:[function(t,e,r){var n=t(38),a=t(81),o=t(96);e.exports=function(t,e){if(n(t),a(e)&&e.constructor===t)return e;var r=o.f(t);return(0,r.resolve)(e),r.promise}},{38:38,81:81,96:96}],116:[function(t,e,r){arguments[4][30][0].apply(r,arguments)},{30:30}],117:[function(t,e,r){var a=t(118);e.exports=function(t,e,r){for(var n in e)a(t,n,e[n],r);return t}},{118:118}],118:[function(t,e,r){var o=t(70),i=t(72),s=t(71),l=t(147)("src"),n=t(69),a="toString",c=(""+n).split(a);t(52).inspectSource=function(t){return n.call(t)},(e.exports=function(t,e,r,n){var a="function"==typeof r;a&&(s(r,"name")||i(r,"name",e)),t[e]!==r&&(a&&(s(r,l)||i(r,l,t[e]?""+t[e]:c.join(String(e)))),t===o?t[e]=r:n?t[e]?t[e]=r:i(t,e,r):(delete t[e],i(t,e,r)))})(Function.prototype,a,function(){return"function"==typeof this&&this[l]||n.call(this)})},{147:147,52:52,69:69,70:70,71:71,72:72}],119:[function(t,e,r){"use strict";var a=t(47),o=RegExp.prototype.exec;e.exports=function(t,e){var r=t.exec;if("function"==typeof r){var n=r.call(t,e);if("object"!=typeof n)throw new TypeError("RegExp exec method returned something other than an Object or null");return n}if("RegExp"!==a(t))throw new TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},{47:47}],120:[function(t,e,r){"use strict";var n,a,i=t(66),s=RegExp.prototype.exec,l=String.prototype.replace,o=s,c="lastIndex",u=(n=/a/,a=/b*/g,s.call(n,"a"),s.call(a,"a"),0!==n[c]||0!==a[c]),p=void 0!==/()??/.exec("")[1];(u||p)&&(o=function(t){var e,r,n,a,o=this;return p&&(r=new RegExp("^"+o.source+"$(?!\\s)",i.call(o))),u&&(e=o[c]),n=s.call(o,t),u&&n&&(o[c]=o.global?n.index+n[0].length:e),p&&n&&1"+a+""}var a=t(62),o=t(64),i=t(57),s=/"/g;e.exports=function(e,t){var r={};r[e]=t(n),a(a.P+a.F*o(function(){var t=""[e]('"');return t!==t.toLowerCase()||3l&&(c=c.slice(0,l)),n?c+a:a+c}},{133:133,141:141,57:57}],133:[function(t,e,r){"use strict";var a=t(139),o=t(57);e.exports=function(t){var e=String(o(this)),r="",n=a(t);if(n<0||n==1/0)throw RangeError("Count can't be negative");for(;0>>=1)&&(e+=e))1&n&&(r+=e);return r}},{139:139,57:57}],134:[function(t,e,r){function n(t,e,r){var n={},a=s(function(){return!!l[t]()||"​…"!="​…"[t]()}),o=n[t]=a?e(p):l[t];r&&(n[r]=o),i(i.P+i.F*a,"String",n)}var i=t(62),a=t(57),s=t(64),l=t(135),o="["+l+"]",c=RegExp("^"+o+o+"*"),u=RegExp(o+o+"*$"),p=n.trim=function(t,e){return t=String(a(t)),1&e&&(t=t.replace(c,"")),2&e&&(t=t.replace(u,"")),t};e.exports=n},{135:135,57:57,62:62,64:64}],135:[function(t,e,r){e.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},{}],136:[function(t,e,r){function n(){var t=+this;if(y.hasOwnProperty(t)){var e=y[t];delete y[t],e()}}function a(t){n.call(t.data)}var o,i,s,l=t(54),c=t(76),u=t(73),p=t(59),f=t(70),d=f.process,h=f.setImmediate,m=f.clearImmediate,g=f.MessageChannel,v=f.Dispatch,A=0,y={},b="onreadystatechange";h&&m||(h=function(t){for(var e=[],r=1;r>1,u=23===e?T(2,-24)-T(2,-77):0,p=0,f=t<0||0===t&&1/t<0?1:0;for((t=E(t))!=t||t===S?(a=t!=t?1:0,n=l):(n=k(R(t)/F),t*(o=T(2,-n))<1&&(n--,o*=2),2<=(t+=1<=n+c?u/o:u*T(2,1-c))*o&&(n++,o/=2),l<=n+c?(a=0,n=l):1<=n+c?(a=(t*o-1)*T(2,e),n+=c):(a=t*T(2,c-1)*T(2,e),n=0));8<=e;i[p++]=255&a,a/=256,e-=8);for(n=n<>1,s=a-7,l=r-1,c=t[l--],u=127&c;for(c>>=7;0>=-s,s+=e;0>8&255]}function W(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function H(t){return M(t,52,8)}function V(t){return M(t,23,4)}function Q(t,e,r){m(t[b],e,{get:function(){return this[r]}})}function Y(t,e,r,n){var a=d(+r);if(a+e>t[N])throw P(x);var o=t[B]._b,i=a+t[D],s=o.slice(i,i+e);return n?s:s.reverse()}function q(t,e,r,n,a,o){var i=d(+r);if(i+e>t[N])throw P(x);for(var s=t[B]._b,l=i+t[D],c=n(+a),u=0;uJ;)(Z=K[J++])in w||s(w,Z,L[Z]);o||(X.constructor=w)}var $=new _(new w(2)),tt=_[b].setInt8;$.setInt8(0,2147483648),$.setInt8(1,2147483649),!$.getInt8(0)&&$.getInt8(1)||l(_[b],{setInt8:function(t,e){tt.call(this,t,e<<24>>24)},setUint8:function(t,e){tt.call(this,t,e<<24>>24)}},!0)}else w=function(t){u(this,w,A);var e=d(t);this._b=g.call(new Array(e),0),this[N]=e},_=function(t,e,r){u(this,_,y),u(t,w,y);var n=t[N],a=p(e);if(a<0||n>24},getUint8:function(t){return Y(this,1,t)[0]},getInt16:function(t,e){var r=Y(this,2,t,e);return(r[1]<<8|r[0])<<16>>16},getUint16:function(t,e){var r=Y(this,2,t,e);return r[1]<<8|r[0]},getInt32:function(t,e){return U(Y(this,4,t,e))},getUint32:function(t,e){return U(Y(this,4,t,e))>>>0},getFloat32:function(t,e){return z(Y(this,4,t,e),23,4)},getFloat64:function(t,e){return z(Y(this,8,t,e),52,8)},setInt8:function(t,e){q(this,1,t,j,e)},setUint8:function(t,e){q(this,1,t,j,e)},setInt16:function(t,e,r){q(this,2,t,G,e,r)},setUint16:function(t,e,r){q(this,2,t,G,e,r)},setInt32:function(t,e,r){q(this,4,t,W,e,r)},setUint32:function(t,e,r){q(this,4,t,W,e,r)},setFloat32:function(t,e,r){q(this,4,t,V,e,r)},setFloat64:function(t,e,r){q(this,8,t,H,e,r)}});v(w,A),v(_,y),s(_[b],i.VIEW,!0),r[A]=w,r[y]=_},{103:103,117:117,124:124,138:138,139:139,141:141,146:146,37:37,40:40,58:58,64:64,70:70,72:72,89:89,99:99}],146:[function(t,e,r){for(var n,a=t(70),o=t(72),i=t(147),s=i("typed_array"),l=i("view"),c=!(!a.ArrayBuffer||!a.DataView),u=c,p=0,f="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");p<9;)(n=a[f[p++]])?(o(n.prototype,s,!0),o(n.prototype,l,!0)):u=!1;e.exports={ABV:c,CONSTR:u,TYPED:s,VIEW:l}},{147:147,70:70,72:72}],147:[function(t,e,r){var n=0,a=Math.random();e.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+a).toString(36))}},{}],148:[function(t,e,r){var n=t(70).navigator;e.exports=n&&n.userAgent||""},{70:70}],149:[function(t,e,r){var n=t(81);e.exports=function(t,e){if(!n(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},{81:81}],150:[function(t,e,r){var n=t(70),a=t(52),o=t(89),i=t(151),s=t(99).f;e.exports=function(t){var e=a.Symbol||(a.Symbol=o?{}:n.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:i.f(t)})}},{151:151,52:52,70:70,89:89,99:99}],151:[function(t,e,r){r.f=t(152)},{152:152}],152:[function(t,e,r){var n=t(126)("wks"),a=t(147),o=t(70).Symbol,i="function"==typeof o;(e.exports=function(t){return n[t]||(n[t]=i&&o[t]||(i?o:a)("Symbol."+t))}).store=n},{126:126,147:147,70:70}],153:[function(t,e,r){var n=t(47),a=t(152)("iterator"),o=t(88);e.exports=t(52).getIteratorMethod=function(t){if(null!=t)return t[a]||t["@@iterator"]||o[n(t)]}},{152:152,47:47,52:52,88:88}],154:[function(t,e,r){var n=t(62);n(n.P,"Array",{copyWithin:t(39)}),t(35)("copyWithin")},{35:35,39:39,62:62}],155:[function(t,e,r){"use strict";var n=t(62),a=t(42)(4);n(n.P+n.F*!t(128)([].every,!0),"Array",{every:function(t,e){return a(this,t,e)}})},{128:128,42:42,62:62}],156:[function(t,e,r){var n=t(62);n(n.P,"Array",{fill:t(40)}),t(35)("fill")},{35:35,40:40,62:62}],157:[function(t,e,r){"use strict";var n=t(62),a=t(42)(2);n(n.P+n.F*!t(128)([].filter,!0),"Array",{filter:function(t,e){return a(this,t,e)}})},{128:128,42:42,62:62}],158:[function(t,e,r){"use strict";var n=t(62),a=t(42)(6),o="findIndex",i=!0;o in[]&&Array(1)[o](function(){i=!1}),n(n.P+n.F*i,"Array",{findIndex:function(t,e){return a(this,t,1=t.length?(this._t=void 0,a(1)):a(0,"keys"==e?r:"values"==e?t[r]:[r,t[r]])},"values"),o.Arguments=o.Array,n("keys"),n("values"),n("entries")},{140:140,35:35,85:85,87:87,88:88}],165:[function(t,e,r){"use strict";var n=t(62),a=t(140),o=[].join;n(n.P+n.F*(t(77)!=Object||!t(128)(o)),"Array",{join:function(t){return o.call(a(this),void 0===t?",":t)}})},{128:128,140:140,62:62,77:77}],166:[function(t,e,r){"use strict";var n=t(62),o=t(140),i=t(139),s=t(141),l=[].lastIndexOf,c=!!l&&1/[1].lastIndexOf(1,-0)<0;n(n.P+n.F*(c||!t(128)(l)),"Array",{lastIndexOf:function(t,e){if(c)return l.apply(this,arguments)||0;var r=o(this),n=s(r.length),a=n-1;for(1>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},{62:62}],189:[function(t,e,r){var n=t(62),a=Math.exp;n(n.S,"Math",{cosh:function(t){return(a(t=+t)+a(-t))/2}})},{62:62}],190:[function(t,e,r){var n=t(62),a=t(90);n(n.S+n.F*(a!=Math.expm1),"Math",{expm1:a})},{62:62,90:90}],191:[function(t,e,r){var n=t(62);n(n.S,"Math",{fround:t(91)})},{62:62,91:91}],192:[function(t,e,r){var n=t(62),l=Math.abs;n(n.S,"Math",{hypot:function(t,e){for(var r,n,a=0,o=0,i=arguments.length,s=0;o>>16)*o+a*(65535&n>>>16)<<16>>>0)}})},{62:62,64:64}],194:[function(t,e,r){var n=t(62);n(n.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},{62:62}],195:[function(t,e,r){var n=t(62);n(n.S,"Math",{log1p:t(92)})},{62:62,92:92}],196:[function(t,e,r){var n=t(62);n(n.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},{62:62}],197:[function(t,e,r){var n=t(62);n(n.S,"Math",{sign:t(93)})},{62:62,93:93}],198:[function(t,e,r){var n=t(62),a=t(90),o=Math.exp;n(n.S+n.F*t(64)(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(a(t)-a(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},{62:62,64:64,90:90}],199:[function(t,e,r){var n=t(62),a=t(90),o=Math.exp;n(n.S,"Math",{tanh:function(t){var e=a(t=+t),r=a(-t);return e==1/0?1:r==1/0?-1:(e-r)/(o(t)+o(-t))}})},{62:62,90:90}],200:[function(t,e,r){var n=t(62);n(n.S,"Math",{trunc:function(t){return(0w;w++)o(g,b=x[w])&&!o(m,b)&&f(m,b,p(g,b));(m.prototype=v).constructor=m,t(118)(a,h,m)}},{101:101,103:103,118:118,134:134,143:143,48:48,58:58,64:64,70:70,71:71,75:75,98:98,99:99}],202:[function(t,e,r){var n=t(62);n(n.S,"Number",{EPSILON:Math.pow(2,-52)})},{62:62}],203:[function(t,e,r){var n=t(62),a=t(70).isFinite;n(n.S,"Number",{isFinite:function(t){return"number"==typeof t&&a(t)}})},{62:62,70:70}],204:[function(t,e,r){var n=t(62);n(n.S,"Number",{isInteger:t(80)})},{62:62,80:80}],205:[function(t,e,r){var n=t(62);n(n.S,"Number",{isNaN:function(t){return t!=t}})},{62:62}],206:[function(t,e,r){var n=t(62),a=t(80),o=Math.abs;n(n.S,"Number",{isSafeInteger:function(t){return a(t)&&o(t)<=9007199254740991}})},{62:62,80:80}],207:[function(t,e,r){var n=t(62);n(n.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},{62:62}],208:[function(t,e,r){var n=t(62);n(n.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},{62:62}],209:[function(t,e,r){var n=t(62),a=t(112);n(n.S+n.F*(Number.parseFloat!=a),"Number",{parseFloat:a})},{112:112,62:62}],210:[function(t,e,r){var n=t(62),a=t(113);n(n.S+n.F*(Number.parseInt!=a),"Number",{parseInt:a})},{113:113,62:62}],211:[function(t,e,r){"use strict";function c(t,e){for(var r=-1,n=e;++r<6;)n+=t*i[r],i[r]=n%1e7,n=o(n/1e7)}function u(t){for(var e=6,r=0;0<=--e;)r+=i[e],i[e]=o(r/t),r=r%t*1e7}function p(){for(var t=6,e="";0<=--t;)if(""!==e||0===t||0!==i[t]){var r=String(i[t]);e=""===e?r:e+h.call("0",7-r.length)+r}return e}var n=t(62),f=t(139),d=t(34),h=t(133),a=1..toFixed,o=Math.floor,i=[0,0,0,0,0,0],m="Number.toFixed: incorrect invocation!",g=function(t,e,r){return 0===e?r:e%2==1?g(t,e-1,r*t):g(t*t,e/2,r)};n(n.P+n.F*(!!a&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!t(64)(function(){a.call({})})),"Number",{toFixed:function(t){var e,r,n,a,o=d(this,m),i=f(t),s="",l="0";if(i<0||20t;)e(n[t++]);u._c=[],u._n=!1,r&&!u._h&&N(u)})}}function o(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),a(e,!0))}var i,s,l,c,u=r(89),f=r(70),d=r(54),h=r(47),m=r(62),g=r(81),v=r(33),A=r(37),y=r(68),b=r(127),x=r(136).set,w=r(95)(),_=r(96),C=r(114),P=r(148),S=r(115),L="Promise",E=f.TypeError,T=f.process,k=T&&T.versions,R=k&&k.v8||"",F=f[L],I="process"==h(T),O=s=_.f,B=!!function(){try{var t=F.resolve(1),e=(t.constructor={})[r(152)("species")]=function(t){t(n,n)};return(I||"function"==typeof PromiseRejectionEvent)&&t.then(n)instanceof e&&0!==R.indexOf("6.6")&&-1===P.indexOf("Chrome/66")}catch(t){}}(),N=function(o){x.call(f,function(){var t,e,r,n=o._v,a=D(o);if(a&&(t=C(function(){I?T.emit("unhandledRejection",n,o):(e=f.onunhandledrejection)?e({promise:o,reason:n}):(r=f.console)&&r.error&&r.error("Unhandled promise rejection",n)}),o._h=I||D(o)?2:1),o._a=void 0,a&&t.e)throw t.v})},D=function(t){return 1!==t._h&&0===(t._a||t._c).length},M=function(e){x.call(f,function(){var t;I?T.emit("rejectionHandled",e):(t=f.onrejectionhandled)&&t({promise:e,reason:e._v})})},z=function(t){var r,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw E("Promise can't be resolved itself");(r=p(t))?w(function(){var e={_w:n,_d:!1};try{r.call(t,d(z,e,1),d(o,e,1))}catch(t){o.call(e,t)}}):(n._v=t,n._s=1,a(n,!1))}catch(t){o.call({_w:n,_d:!1},t)}}};B||(F=function(t){A(this,F,L,"_h"),v(t),i.call(this);try{t(d(z,this,1),d(o,this,1))}catch(t){o.call(this,t)}},(i=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=r(117)(F.prototype,{then:function(t,e){var r=O(b(this,F));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=I?T.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&a(this,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),l=function(){var t=new i;this.promise=t,this.resolve=d(z,t,1),this.reject=d(o,t,1)},_.f=O=function(t){return t===F||t===c?new l(t):s(t)}),m(m.G+m.W+m.F*!B,{Promise:F}),r(124)(F,L),r(123)(L),c=r(52)[L],m(m.S+m.F*!B,L,{reject:function(t){var e=O(this);return(0,e.reject)(t),e.promise}}),m(m.S+m.F*(u||!B),L,{resolve:function(t){return S(u&&this===c?F:this,t)}}),m(m.S+m.F*!(B&&r(86)(function(t){F.all(t).catch(n)})),L,{all:function(t){var i=this,e=O(i),s=e.resolve,l=e.reject,r=C(function(){var n=[],a=0,o=1;y(t,!1,function(t){var e=a++,r=!1;n.push(void 0),o++,i.resolve(t).then(function(t){r||(r=!0,n[e]=t,--o||s(n))},l)}),--o||s(n)});return r.e&&l(r.v),e.promise},race:function(t){var e=this,r=O(e),n=r.reject,a=C(function(){y(t,!1,function(t){e.resolve(t).then(r.resolve,n)})});return a.e&&n(a.v),r.promise}})},{114:114,115:115,117:117,123:123,124:124,127:127,136:136,148:148,152:152,33:33,37:37,47:47,52:52,54:54,62:62,68:68,70:70,81:81,86:86,89:89,95:95,96:96}],233:[function(t,e,r){var n=t(62),o=t(33),i=t(38),s=(t(70).Reflect||{}).apply,l=Function.apply;n(n.S+n.F*!t(64)(function(){s(function(){})}),"Reflect",{apply:function(t,e,r){var n=o(t),a=i(r);return s?s(n,e,a):l.call(n,e,a)}})},{33:33,38:38,62:62,64:64,70:70}],234:[function(t,e,r){var n=t(62),l=t(98),c=t(33),u=t(38),p=t(81),a=t(64),f=t(46),d=(t(70).Reflect||{}).construct,h=a(function(){function t(){}return!(d(function(){},[],t)instanceof t)}),m=!a(function(){d(function(){})});n(n.S+n.F*(h||m),"Reflect",{construct:function(t,e,r){c(t),u(e);var n=arguments.length<3?t:c(r);if(m&&!h)return d(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var a=[null];return a.push.apply(a,e),new(f.apply(t,a))}var o=n.prototype,i=l(p(o)?o:Object.prototype),s=Function.apply.call(t,i,e);return p(s)?s:i}})},{33:33,38:38,46:46,62:62,64:64,70:70,81:81,98:98}],235:[function(t,e,r){var n=t(99),a=t(62),o=t(38),i=t(143);a(a.S+a.F*t(64)(function(){Reflect.defineProperty(n.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(t,e,r){o(t),e=i(e,!0),o(r);try{return n.f(t,e,r),!0}catch(t){return!1}}})},{143:143,38:38,62:62,64:64,99:99}],236:[function(t,e,r){var n=t(62),a=t(101).f,o=t(38);n(n.S,"Reflect",{deleteProperty:function(t,e){var r=a(o(t),e);return!(r&&!r.configurable)&&delete t[e]}})},{101:101,38:38,62:62}],237:[function(t,e,r){"use strict";function n(t){this._t=o(t),this._i=0;var e,r=this._k=[];for(e in t)r.push(e)}var a=t(62),o=t(38);t(84)(n,"Object",function(){var t,e=this._k;do{if(this._i>=e.length)return{value:void 0,done:!0}}while(!((t=e[this._i++])in this._t));return{value:t,done:!1}}),a(a.S,"Reflect",{enumerate:function(t){return new n(t)}})},{38:38,62:62,84:84}],238:[function(t,e,r){var n=t(101),a=t(62),o=t(38);a(a.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return n.f(o(t),e)}})},{101:101,38:38,62:62}],239:[function(t,e,r){var n=t(62),a=t(105),o=t(38);n(n.S,"Reflect",{getPrototypeOf:function(t){return a(o(t))}})},{105:105,38:38,62:62}],240:[function(t,e,r){var s=t(101),l=t(105),c=t(71),n=t(62),u=t(81),p=t(38);n(n.S,"Reflect",{get:function t(e,r,n){var a,o,i=arguments.length<3?e:n;return p(e)===i?e[r]:(a=s.f(e,r))?c(a,"value")?a.value:void 0!==a.get?a.get.call(i):void 0:u(o=l(e))?t(o,r,i):void 0}})},{101:101,105:105,38:38,62:62,71:71,81:81}],241:[function(t,e,r){var n=t(62);n(n.S,"Reflect",{has:function(t,e){return e in t}})},{62:62}],242:[function(t,e,r){var n=t(62),a=t(38),o=Object.isExtensible;n(n.S,"Reflect",{isExtensible:function(t){return a(t),!o||o(t)}})},{38:38,62:62}],243:[function(t,e,r){var n=t(62);n(n.S,"Reflect",{ownKeys:t(111)})},{111:111,62:62}],244:[function(t,e,r){var n=t(62),a=t(38),o=Object.preventExtensions;n(n.S,"Reflect",{preventExtensions:function(t){a(t);try{return o&&o(t),!0}catch(t){return!1}}})},{38:38,62:62}],245:[function(t,e,r){var n=t(62),a=t(122);a&&n(n.S,"Reflect",{setPrototypeOf:function(t,e){a.check(t,e);try{return a.set(t,e),!0}catch(t){return!1}}})},{122:122,62:62}],246:[function(t,e,r){var c=t(99),u=t(101),p=t(105),f=t(71),n=t(62),d=t(116),h=t(38),m=t(81);n(n.S,"Reflect",{set:function t(e,r,n,a){var o,i,s=arguments.length<4?e:a,l=u.f(h(e),r);if(!l){if(m(i=p(e)))return t(i,r,n,s);l=d(0)}if(f(l,"value")){if(!1===l.writable||!m(s))return!1;if(o=u.f(s,r)){if(o.get||o.set||!1===o.writable)return!1;o.value=n,c.f(s,r,o)}else c.f(s,r,d(0,n));return!0}return void 0!==l.set&&(l.set.call(s,n),!0)}})},{101:101,105:105,116:116,38:38,62:62,71:71,81:81,99:99}],247:[function(t,e,r){var n=t(70),o=t(75),a=t(99).f,i=t(103).f,s=t(82),l=t(66),c=n.RegExp,u=c,p=c.prototype,f=/a/g,d=/a/g,h=new c(f)!==f;if(t(58)&&(!h||t(64)(function(){return d[t(152)("match")]=!1,c(f)!=f||c(d)==d||"/a/i"!=c(f,"i")}))){function m(e){e in c||a(c,e,{configurable:!0,get:function(){return u[e]},set:function(t){u[e]=t}})}c=function(t,e){var r=this instanceof c,n=s(t),a=void 0===e;return!r&&n&&t.constructor===c&&a?t:o(h?new u(n&&!a?t.source:t,e):u((n=t instanceof c)?t.source:t,n&&a?l.call(t):e),r?this:p,c)};for(var g=i(u),v=0;g.length>v;)m(g[v++]);(p.constructor=c).prototype=p,t(118)(n,"RegExp",c)}t(123)("RegExp")},{103:103,118:118,123:123,152:152,58:58,64:64,66:66,70:70,75:75,82:82,99:99}],248:[function(t,e,r){"use strict";var n=t(120);t(62)({target:"RegExp",proto:!0,forced:n!==/./.exec},{exec:n})},{120:120,62:62}],249:[function(t,e,r){t(58)&&"g"!=/./g.flags&&t(99).f(RegExp.prototype,"flags",{configurable:!0,get:t(66)})},{58:58,66:66,99:99}],250:[function(t,e,r){"use strict";var p=t(38),f=t(141),d=t(36),h=t(119);t(65)("match",1,function(n,a,c,u){return[function(t){var e=n(this),r=null==t?void 0:t[a];return void 0!==r?r.call(t,e):new RegExp(t)[a](String(e))},function(t){var e=u(c,t,this);if(e.done)return e.value;var r=p(t),n=String(this);if(!r.global)return h(r,n);for(var a,o=r.unicode,i=[],s=r.lastIndex=0;null!==(a=h(r,n));){var l=String(a[0]);""===(i[s]=l)&&(r.lastIndex=d(n,f(r.lastIndex),o)),s++}return 0===s?null:i}]})},{119:119,141:141,36:36,38:38,65:65}],251:[function(t,e,r){"use strict";var C=t(38),n=t(142),P=t(141),S=t(139),L=t(36),E=t(119),T=Math.max,k=Math.min,f=Math.floor,d=/\$([$&`']|\d\d?|<[^>]*>)/g,h=/\$([$&`']|\d\d?)/g;t(65)("replace",2,function(a,o,x,w){return[function(t,e){var r=a(this),n=null==t?void 0:t[o];return void 0!==n?n.call(t,r,e):x.call(String(r),t,e)},function(t,e){var r=w(x,t,this,e);if(r.done)return r.value;var n=C(t),a=String(this),o="function"==typeof e;o||(e=String(e));var i=n.global;if(i){var s=n.unicode;n.lastIndex=0}for(var l=[];;){var c=E(n,a);if(null===c)break;if(l.push(c),!i)break;""===String(c[0])&&(n.lastIndex=L(a,P(n.lastIndex),s))}for(var u,p="",f=0,d=0;d>>0,u=new RegExp(t.source,s+"g");(n=f.call(u,r))&&!(l<(a=u[m])&&(i.push(r.slice(l,n.index)),1=c));)u[m]===n.index&&u[m]++;return l===r[h]?!o&&u.test("")||i.push(""):i.push(r.slice(l)),i[h]>c?i.slice(0,c):i}:"0"[i](void 0,0)[h]?function(t,e){return void 0===t&&0===e?[]:g.call(this,t,e)}:g,[function(t,e){var r=a(this),n=null==t?void 0:t[o];return void 0!==n?n.call(t,r,e):A.call(String(r),t,e)},function(t,e){var r=v(A,t,this,e,A!==g);if(r.done)return r.value;var n=y(t),a=String(this),o=b(n,RegExp),i=n.unicode,s=(n.ignoreCase?"i":"")+(n.multiline?"m":"")+(n.unicode?"u":"")+(S?"y":"g"),l=new o(S?n:"^(?:"+n.source+")",s),c=void 0===e?P:e>>>0;if(0==c)return[];if(0===a.length)return null===_(l,a)?[a]:[];for(var u=0,p=0,f=[];p>10),e%1024+56320))}return r.join("")}})},{137:137,62:62}],266:[function(t,e,r){"use strict";var n=t(62),a=t(130);n(n.P+n.F*t(63)("includes"),"String",{includes:function(t,e){return!!~a(this,t,"includes").indexOf(t,1=e.length?{value:void 0,done:!0}:(t=n(e,r),this._i+=t.length,{value:t,done:!1})})},{129:129,85:85}],269:[function(t,e,r){"use strict";t(131)("link",function(e){return function(t){return e(this,"a","href",t)}})},{131:131}],270:[function(t,e,r){var n=t(62),i=t(140),s=t(141);n(n.S,"String",{raw:function(t){for(var e=i(t.raw),r=s(e.length),n=arguments.length,a=[],o=0;oa;)u(Y,e=r[a++])||e==W||e==h||n.push(e);return n}function l(t){for(var e,r=t===Z,n=M(r?q:L(t)),a=[],o=0;n.length>o;)!u(Y,e=n[o++])||r&&!u(Z,e)||a.push(Y[e]);return a}var c=t(70),u=t(71),p=t(58),f=t(62),d=t(118),h=t(94).KEY,m=t(64),g=t(126),v=t(124),A=t(147),y=t(152),b=t(151),x=t(150),w=t(61),_=t(79),C=t(38),P=t(81),S=t(142),L=t(140),E=t(143),T=t(116),k=t(98),R=t(102),F=t(101),I=t(104),O=t(99),B=t(107),N=F.f,D=O.f,M=R.f,z=c.Symbol,U=c.JSON,j=U&&U.stringify,G="prototype",W=y("_hidden"),H=y("toPrimitive"),V={}.propertyIsEnumerable,Q=g("symbol-registry"),Y=g("symbols"),q=g("op-symbols"),Z=Object[G],X="function"==typeof z&&!!I.f,K=c.QObject,J=!K||!K[G]||!K[G].findChild,$=p&&m(function(){return 7!=k(D({},"a",{get:function(){return D(this,"a",{value:7}).a}})).a})?function(t,e,r){var n=N(Z,e);n&&delete Z[e],D(t,e,r),n&&t!==Z&&D(Z,e,n)}:D,tt=X&&"symbol"==typeof z.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof z},et=function(t,e,r){return t===Z&&et(q,e,r),C(t),e=E(e,!0),C(r),u(Y,e)?(r.enumerable?(u(t,W)&&t[W][e]&&(t[W][e]=!1),r=k(r,{enumerable:T(0,!1)})):(u(t,W)||D(t,W,T(1,{})),t[W][e]=!0),$(t,e,r)):D(t,e,r)};X||(d((z=function(t){if(this instanceof z)throw TypeError("Symbol is not a constructor!");var e=A(0nt;)y(rt[nt++]);for(var at=B(y.store),ot=0;at.length>ot;)x(at[ot++]);f(f.S+f.F*!X,"Symbol",{for:function(t){return u(Q,t+="")?Q[t]:Q[t]=z(t)},keyFor:function(t){if(!tt(t))throw TypeError(t+" is not a symbol!");for(var e in Q)if(Q[e]===t)return e},useSetter:function(){J=!0},useSimple:function(){J=!1}}),f(f.S+f.F*!X,"Object",{create:function(t,e){return void 0===e?k(t):a(k(t),e)},defineProperty:et,defineProperties:a,getOwnPropertyDescriptor:i,getOwnPropertyNames:s,getOwnPropertySymbols:l});var it=m(function(){I.f(1)});f(f.S+f.F*it,"Object",{getOwnPropertySymbols:function(t){return I.f(S(t))}}),U&&f(f.S+f.F*(!X||m(function(){var t=z();return"[null]"!=j([t])||"{}"!=j({a:t})||"{}"!=j(Object(t))})),"JSON",{stringify:function(t){for(var e,r,n=[t],a=1;as;)void 0!==(r=a(n,e=o[s++]))&&p(i,e,r);return i}})},{101:101,111:111,140:140,53:53,62:62}],296:[function(t,e,r){var n=t(62),a=t(110)(!1);n(n.S,"Object",{values:function(t){return a(t)}})},{110:110,62:62}],297:[function(t,e,r){"use strict";var n=t(62),a=t(52),o=t(70),i=t(127),s=t(115);n(n.P+n.R,"Promise",{finally:function(e){var r=i(this,a.Promise||o.Promise),t="function"==typeof e;return this.then(t?function(t){return s(r,e()).then(function(){return t})}:e,t?function(t){return s(r,e()).then(function(){throw t})}:e)}})},{115:115,127:127,52:52,62:62,70:70}],298:[function(t,e,r){"use strict";var n=t(62),a=t(132),o=t(148),i=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);n(n.P+n.F*i,"String",{padEnd:function(t,e){return a(this,t,1/g,">").replace(/"/g,""").replace(/'/g,"'")}function vt(t){return"number"==typeof t&&100"+e+"":""}function _t(t){var e="solid",r="",n="",a="";if(t)switch("string"==typeof t?r=t:(t.type&&(e=t.type),t.color&&(r=t.color),t.alpha&&(n+=''),t.transparency&&(n+='')),e){case"solid":a+=""+wt(r,n)+"";break;default:a+=""}return a}function Ct(t){return t._rels.length+t._relsChart.length+t._relsMedia.length+1}function Pt(l,c,u,t){void 0===l&&(l=[]),void 0===c&&(c={});var e,p=P,f=0,d=1*B,r=0,h=[{rows:[]}];if(c.verbose&&(console.log("-- VERBOSE MODE ----------------------------------"),console.log(".. (PARAMETERS)"),console.log("presLayout.height ......... = "+u.height/B),console.log("tabOpts.h ................. = "+c.h),console.log("tabOpts.w ................. = "+c.w),console.log("tabOpts.colW .............. = "+c.colW),console.log("tabOpts.slideMargin ....... = "+(c.slideMargin||"")),console.log(".. (/PARAMETERS)")),c.slideMargin||0===c.slideMargin||(c.slideMargin=P[0]),t&&void 0!==t._margin?Array.isArray(t._margin)?p=t._margin:isNaN(Number(t._margin))||(p=[Number(t._margin),Number(t._margin),Number(t._margin),Number(t._margin)]):!c.slideMargin&&0!==c.slideMargin||(Array.isArray(c.slideMargin)?p=c.slideMargin:isNaN(c.slideMargin)||(p=[c.slideMargin,c.slideMargin,c.slideMargin,c.slideMargin])),c.verbose&&console.log("arrInchMargins ......... = "+p.toString()),(l[0]||[]).forEach(function(t){var e=(t=t||{_type:at.tablecell}).options||null;r+=Number(e&&e.colspan?e.colspan:1)}),c.verbose&&console.log("numCols ................ = "+r),!c.w&&c.colW&&(Array.isArray(c.colW)?c.colW.forEach(function(t){"number"!=typeof c.w?c.w=0+t:c.w+=t}):c.w=c.colW*r),e="number"==typeof c.w?vt(c.w):u.width-vt(("number"==typeof c.x?c.x:p[1])+p[3]),c.verbose&&console.log("emuSlideTabW (in) ...... = "+(e/B).toFixed(1)),!c.colW||!Array.isArray(c.colW))if(c.colW&&!isNaN(Number(c.colW))){var n=[];(l[0]||[]).forEach(function(){return n.push(c.colW)}),c.colW=[],n.forEach(function(t){Array.isArray(c.colW)&&c.colW.push(t)})}else{c.colW=[];for(var a=0;ae?e=At(t.options.margin[0]):c.margin&&c.margin[0]&&At(c.margin[0])>e&&(e=At(c.margin[0])),t.options.margin&&t.options.margin[2]&&At(t.options.margin[2])>r?r=At(t.options.margin[2]):c.margin&&c.margin[2]&&At(c.margin[2])>r&&(r=At(c.margin[2]))}),d=c.h&&"number"==typeof c.h?c.h:u.height-vt(p[0]+p[2])-(c.y&&"number"==typeof c.y?c.y:0),c.verbose&&console.log("emuSlideTabH (in) ...... = "+(d/B).toFixed(1)),1 "+d/B),h.push({rows:[]}),f=0,(c.addHeaderToEach||c.autoPageRepeatHeader)&&c._arrObjTabHeadRows){var e=[];i.forEach(function(t){e.push({type:at.tablecell,text:t._lines.join(""),options:t.options})}),l.unshift(e);var r=[];return c._arrObjTabHeadRows.forEach(function(t){var e=[];t.forEach(function(t){return e.push(t)}),r.push(e)}),l=O(O([],r),l),"break"}var t=h[h.length-1],n=[];a.forEach(function(t){n.push({type:at.tablecell,text:"",options:t.options})}),t.rows.push(n)}i.forEach(function(t,e){if(0o&&(o=t._lineHeight)}}),f+=o,c.verbose&&console.log("- SLIDE ["+h.length+"]: ROW ["+m+"]: one line added ... emuTabCurrH = "+(f/B).toFixed(2))};0'},contain:function(t,e){var r=t.h/t.w,n=r'},crop:function(t,e){var r=e.x,n=t.w-(e.x+e.w),a=e.y,o=t.h-(e.y+e.h);return''}};function Lt(R){var F=R._name?'':"",I=1;return R._bkgdImgRid?F+='':R.background&&R.background.color?F+=""+_t(R.background)+"":!R.bkgd&&R._name&&R._name===n&&(F+=''),F+="",F+='',F+='',F+='',R._slideObjects.forEach(function(n,t){var e,r,a=0,o=0,i=dt("75%","X",R._presLayout),s=0,l="";switch(void 0!==R._slideLayout&&void 0!==R._slideLayout._slideObjects&&n.options&&n.options.placeholder&&(r=R._slideLayout._slideObjects.filter(function(t){return t.options.placeholder===n.options.placeholder})[0]),n.options=n.options||{},void 0!==n.options.x&&(a=dt(n.options.x,"X",R._presLayout)),void 0!==n.options.y&&(o=dt(n.options.y,"Y",R._presLayout)),void 0!==n.options.w&&(i=dt(n.options.w,"X",R._presLayout)),void 0!==n.options.h&&(s=dt(n.options.h,"Y",R._presLayout)),r&&(!r.options.x&&0!==r.options.x||(a=dt(r.options.x,"X",R._presLayout)),!r.options.y&&0!==r.options.y||(o=dt(r.options.y,"Y",R._presLayout)),!r.options.w&&0!==r.options.w||(i=dt(r.options.w,"X",R._presLayout)),!r.options.h&&0!==r.options.h||(s=dt(r.options.h,"Y",R._presLayout))),n.options.flipH&&(l+=' flipH="1"'),n.options.flipV&&(l+=' flipV="1"'),n.options.rotate&&(l+=' rot="'+yt(n.options.rotate)+'"'),n._type){case at.table:var c,u=n.arrTabRows,f=n.options,p=0,d=0;u[0].forEach(function(t){c=t.options||null,p+=c&&c.colspan?Number(c.colspan):1});var h='';if(h+=' ',h+='',h+='',Array.isArray(f.colW)){h+="";for(var m=0;m'}h+=""}else{d=f.colW?f.colW:B,n.options.w&&!f.colW&&(d=Math.round(("number"==typeof n.options.w?n.options.w:1)/p)),h+="";for(var v=0;v';h+=""}u.forEach(function(o){for(var i,s,l,t=function(t){var e=o[t],r=null===(i=e.options)||void 0===i?void 0:i.colspan,n=null===(s=e.options)||void 0===s?void 0:s.rowspan;if(r&&1',t.forEach(function(t){var e,r,n=t,a={rowSpan:1<(null===(e=n.options)||void 0===e?void 0:e.rowspan)?n.options.rowspan:void 0,gridSpan:1<(null===(r=n.options)||void 0===r?void 0:r.colspan)?n.options.colspan:void 0,vMerge:n._vmerge?1:void 0,hMerge:n._hmerge?1:void 0},o=Object.keys(a).map(function(t){return[t,a[t]]}).filter(function(t){return t[0],!!t[1]}).map(function(t){return t[0]+'="'+t[1]+'"'}).join(" ");if(o=o&&" "+o,n._hmerge||n._vmerge)h+="";else{var i=n.options||{};n.options=i,["align","bold","border","color","fill","fontFace","fontSize","margin","underline","valign"].forEach(function(t){f[t]&&!i[t]&&0!==i[t]&&(i[t]=f[t])});var s=i.valign?' anchor="'+i.valign.replace(/^c$/i,"ctr").replace(/^m$/i,"ctr").replace("center","ctr").replace("middle","ctr").replace("top","t").replace("btm","b").replace("bottom","b")+'"':"",l=n._optImp&&n._optImp.fill&&n._optImp.fill.color?n._optImp.fill.color:n._optImp&&n._optImp.fill&&"string"==typeof n._optImp.fill?n._optImp.fill:"",c=(l=l||i.fill&&i.fill.color?i.fill.color:i.fill&&"string"==typeof i.fill?i.fill:"")?""+wt(l)+"":"",u=0===i.margin||i.margin?i.margin:N;Array.isArray(u)||"number"!=typeof u||(u=[u,u,u,u]);var p=' marL="'+At(u[3])+'" marR="'+At(u[1])+'" marT="'+At(u[0])+'" marB="'+At(u[2])+'"';h+=""+Rt(n)+"",i.border&&Array.isArray(i.border)&&[{idx:3,name:"lnL"},{idx:1,name:"lnR"},{idx:0,name:"lnT"},{idx:2,name:"lnB"}].forEach(function(t){"none"!==i.border[t.idx].type?(h+="',h+=""+wt(i.border[t.idx].color)+"",h+='',h+=""):h+=""}),h+=c,h+=" ",h+=" "}}),h+=""}),h+=" ",h+=" ",h+=" ",F+=h+="",I++;break;case at.text:case at.placeholder:var A=n.options.shapeName?gt(n.options.shapeName):"Object"+(t+1);if(n.options.line||0!==s||(s=.3*B),n.options._bodyProp||(n.options._bodyProp={}),n.options.margin&&Array.isArray(n.options.margin)?(n.options._bodyProp.lIns=At(n.options.margin[0]||0),n.options._bodyProp.rIns=At(n.options.margin[1]||0),n.options._bodyProp.bIns=At(n.options.margin[2]||0),n.options._bodyProp.tIns=At(n.options.margin[3]||0)):"number"==typeof n.options.margin&&(n.options._bodyProp.lIns=At(n.options.margin),n.options._bodyProp.rIns=At(n.options.margin),n.options._bodyProp.bIns=At(n.options.margin),n.options._bodyProp.tIns=At(n.options.margin)),F+="",F+='',n.options.hyperlink&&n.options.hyperlink.url&&(F+=''),n.options.hyperlink&&n.options.hyperlink.slide&&(F+=''),F+="",F+="':"/>"),F+=""+("placeholder"===n._type?Ft(n):Ft(r))+"",F+="",F+="",F+='',F+='',"custGeom"===n.shape)F+="",F+="",F+="",F+="",F+="",F+="",F+='',F+="",F+='',null===(e=n.options.points)||void 0===e||e.map(function(t,e){if("curve"in t)switch(t.curve.type){case"arc":F+='';break;case"cubic":F+='\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t';break;case"quadratic":F+='\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t'}else"close"in t?F+="":t.moveTo||0===e?F+='':F+=''}),F+="",F+="",F+="";else{if(F+='',n.options.rectRadius)F+='';else if(n.options.angleRange){for(var y=0;y<2;y++){var b=n.options.angleRange[y];F+=''}n.options.arcThicknessRatio&&(F+='')}F+=""}F+=n.options.fill?_t(n.options.fill):"",n.options.line&&(F+=n.options.line.width?'':"",n.options.line.color&&(F+=_t(n.options.line)),n.options.line.dashType&&(F+=''),n.options.line.beginArrowType&&(F+=''),n.options.line.endArrowType&&(F+=''),F+=""),n.options.shadow&&(n.options.shadow.type=n.options.shadow.type||"outer",n.options.shadow.blur=At(n.options.shadow.blur||8),n.options.shadow.offset=At(n.options.shadow.offset||4),n.options.shadow.angle=Math.round(6e4*(n.options.shadow.angle||270)),n.options.shadow.opacity=Math.round(1e5*(n.options.shadow.opacity||.75)),n.options.shadow.color=n.options.shadow.color||D.color,F+="",F+="',F+='',F+='',F+="",F+=""),F+="",F+=Rt(n),F+="";break;case at.image:var x=n.options,w=x.sizing,_=x.rounding,C=i,P=s;if(F+="",F+=" ",F+='',n.hyperlink&&n.hyperlink.url&&(F+=''),n.hyperlink&&n.hyperlink.slide&&(F+=''),F+=" ",F+=' ',F+=" "+Ft(r)+"",F+=" ",F+="",(R._relsMedia||[]).filter(function(t){return t.rId===n.imageRid})[0]&&"svg"===(R._relsMedia||[]).filter(function(t){return t.rId===n.imageRid})[0].extn?(F+='',F+=" ",F+=' ',F+=' ',F+=" ",F+=" ",F+=""):F+='',w&&w.type){var S=w.w?dt(w.w,"X",R._presLayout):i,L=w.h?dt(w.h,"Y",R._presLayout):s,E=dt(w.x||0,"X",R._presLayout),T=dt(w.y||0,"Y",R._presLayout);F+=St[w.type]({w:C,h:P},{w:S,h:L,x:E,y:T}),C=S,P=L}else F+=" ";F+="",F+="",F+=" ",F+=' ',F+=' ',F+=" ",F+=' ',F+="",F+="";break;case at.media:"online"===n.mtype?(F+="",F+=" ",F+=' ',F+=" ",F+=" ",F+=' ',F+=" ",F+=" ",F+=' '):(F+="",F+=" ",F+=' ',F+=' ',F+=" ",F+=' ',F+=" ",F+=' ',F+=' ',F+=" ",F+=" ",F+=" ",F+=" ",F+=' '),F+=" ",F+=" ",F+=' ',F+=' ',F+=" ",F+=' ',F+=" ",F+="";break;case at.chart:var k=n.options;F+="",F+=" ",F+=' ',F+=" ",F+=" "+Ft(r)+"",F+=" ",F+=' ',F+=' ',F+=' ',F+=' ',F+=" ",F+=" ",F+="";break;default:F+=""}}),R._slideNumberProps&&(R._slideNumberProps.align||(R._slideNumberProps.align="left"),F+=' ',F+="",F+="',R._slideNumberProps.color&&(F+=_t(R._slideNumberProps.color)),R._slideNumberProps.fontFace&&(F+=''),F+=""),F+="",F+='',R._slideNumberProps.align.startsWith("l")?F+='':R._slideNumberProps.align.startsWith("c")?F+='':R._slideNumberProps.align.startsWith("r")?F+='':F+='',F+='',F+=""),F+="",F+=""}function Et(t,e){var r=0,n=''+v+'';return t._rels.forEach(function(t){r=Math.max(r,t.rId),-1':n+='':-1')}),(t._relsChart||[]).forEach(function(t){r=Math.max(r,t.rId),n+=''}),(t._relsMedia||[]).forEach(function(t){r=Math.max(r,t.rId),-1':-1':n+='':-1':n+='':-1':n+='')}),e.forEach(function(t,e){n+=''}),n+=""}function Tt(t,e){var r="",n="",a="",o="",i=e?"a:lvl1pPr":"a:pPr",s=At(u),l="<"+i+(t.options.rtlMode?' rtl="1" ':"");if(t.options.align)switch(t.options.align){case"left":l+=' algn="l"';break;case"right":l+=' algn="r"';break;case"center":l+=' algn="ctr"';break;case"justify":l+=' algn="just"';break;default:l+=""}if(t.options.lineSpacing?n='':t.options.lineSpacingMultiple&&(n=''),t.options.indentLevel&&!isNaN(Number(t.options.indentLevel))&&0'),t.options.paraSpaceAfter&&!isNaN(Number(t.options.paraSpaceAfter))&&0'),"object"==typeof t.options.bullet)if(t&&t.options&&t.options.bullet&&t.options.bullet.indent&&(s=At(t.options.bullet.indent)),t.options.bullet.type)"number"===t.options.bullet.type.toString().toLowerCase()&&(l+=' marL="'+(t.options.indentLevel&&0');else if(t.options.bullet.characterCode){var c="&#x"+t.options.bullet.characterCode+";";!1===/^[0-9A-Fa-f]{4}$/.test(t.options.bullet.characterCode)&&(console.warn("Warning: `bullet.characterCode should be a 4-digit unicode charatcer (ex: 22AB)`!"),c=lt.DEFAULT),l+=' marL="'+(t.options.indentLevel&&0'}else if(t.options.bullet.code){c="&#x"+t.options.bullet.code+";";!1===/^[0-9A-Fa-f]{4}$/.test(t.options.bullet.code)&&(console.warn("Warning: `bullet.code should be a 4-digit hex code (ex: 22AB)`!"),c=lt.DEFAULT),l+=' marL="'+(t.options.indentLevel&&0'}else l+=' marL="'+(t.options.indentLevel&&0';else!0===t.options.bullet?(l+=' marL="'+(t.options.indentLevel&&0'):!1===t.options.bullet&&(l+=' indent="0" marL="0"',r="");t.options.tabStops&&Array.isArray(t.options.tabStops)&&(o=""+t.options.tabStops.map(function(t){return''}).join("")+"");return l+=">"+n+a+r+o,e&&(l+=kt(t.options,!0)),l+=""}function kt(t,e){var r,n="",a=e?"a:defRPr":"a:rPr";if(n+="<"+a+' lang="'+(t.lang?t.lang:"en-US")+'"'+(t.lang?' altLang="en-US"':""),n+=t.fontSize?' sz="'+Math.round(t.fontSize)+'00"':"",n+=t.hasOwnProperty("bold")?' b="'+(t.bold?1:0)+'"':"",n+=t.hasOwnProperty("italic")?' i="'+(t.italic?1:0)+'"':"",n+=t.hasOwnProperty("strike")?' strike="'+("string"==typeof t.strike?t.strike:"sngStrike")+'"':"","object"==typeof t.underline&&(null===(r=t.underline)||void 0===r?void 0:r.style)?n+=' u="'+t.underline.style+'"':"string"==typeof t.underline?n+=' u="'+t.underline+'"':t.hyperlink&&(n+=' u="sng"'),t.baseline?n+=' baseline="'+Math.round(50*t.baseline)+'"':t.subscript?n+=' baseline="-40000"':t.superscript&&(n+=' baseline="30000"'),n+=t.charSpacing?' spc="'+Math.round(100*t.charSpacing)+'" kern="0"':"",n+=' dirty="0">',(t.color||t.fontFace||t.outline||"object"==typeof t.underline&&t.underline.color)&&(t.outline&&"object"==typeof t.outline&&(n+=''+_t(t.outline.color||"FFFFFF")+""),t.color&&(n+=_t(t.color)),t.highlight&&(n+=""+wt(t.highlight)+""),"object"==typeof t.underline&&t.underline.color&&(n+=""+_t(t.underline.color)+""),t.glow&&(n+=""+function(t,e){var r="",n=mt(e,t);return r+='',r+=wt(n.color,''),r+=""}(t.glow,S)+""),t.fontFace&&(n+='')),t.hyperlink){if("object"!=typeof t.hyperlink)throw new Error("ERROR: text `hyperlink` option should be an object. Ex: `hyperlink:{url:'https://github.com'}` ");if(!t.hyperlink.url&&!t.hyperlink.slide)throw new Error("ERROR: 'hyperlink requires either `url` or `slide`'");t.hyperlink.url?n+='":"/>"):t.hyperlink.slide&&(n+='":"/>")),t.color&&(n+="\t",n+='\t\t',n+='\t\t\t',n+="\t\t",n+="\t",n+="")}return n+=""}function Rt(n){var a=n.options||{},t=[],r=[];if(a&&n._type!==at.tablecell&&(void 0===n.text||null===n.text))return"";var o=n._type===at.tablecell?"":"";o+=function(t){var e="":"resize"===t.options.fit&&(e+="")),t.options.shrinkText&&(e+=""),e+=!1!==t.options._bodyProp.autoFit?"":""):e+=' wrap="square" rtlCol="0">',e+="",t._type===at.tablecell?"":e}(n),0===a.h&&a.line&&a.align?o+='':"placeholder"===n._type?o+=""+Tt(n,!0)+"":o+="","string"==typeof n.text||"number"==typeof n.text?t.push({text:n.text.toString(),options:a||{}}):n.text&&!Array.isArray(n.text)&&"object"==typeof n.text&&-1";var r=""),n.options.align=n.options.align||a.align,n.options.lineSpacing=n.options.lineSpacing||a.lineSpacing,n.options.lineSpacingMultiple=n.options.lineSpacingMultiple||a.lineSpacingMultiple,n.options.indentLevel=n.options.indentLevel||a.indentLevel,n.options.paraSpaceBefore=n.options.paraSpaceBefore||a.paraSpaceBefore,n.options.paraSpaceAfter=n.options.paraSpaceAfter||a.paraSpaceAfter,r=Tt(n,!1),o+=r,Object.entries(a).forEach(function(t){var e=t[0],r=t[1];n.options.hyperlink&&"color"===e||"bullet"===e||n.options[e]||(n.options[e]=r)}),o+=function(t){return t.text?""+kt(t.options,!1)+""+gt(t.text)+"":""}(n),(!n.text&&a.fontSize||n.options.fontSize)&&(e=!0,a.fontSize=a.fontSize||n.options.fontSize)}),n._type===at.tablecell&&(a.fontSize||a.fontFace)?a.fontFace?(o+='',o+='',o+='',o+='',o+=""):o+='':o+=e?'':'',o+=""}),o+=n._type===at.tablecell?"":""}function Ft(t){if(!t)return"";var e=t.options&&t.options._placeholderIdx?t.options._placeholderIdx:"",r=t.options&&t.options._placeholderType?t.options._placeholderType:"";return""}function It(t){return''+v+''+gt(function(t){var e="";return t._slideObjects.forEach(function(t){t._type===at.notes&&(e+=t.text&&t.text[0]?t.text[0].text:"")}),e.replace(/\r*\n/g,v)}(t))+''+t._slideNum+''}function Ot(t){t&&"object"==typeof t&&("outer"!==t.type&&"inner"!==t.type&&"none"!==t.type&&(console.warn("Warning: shadow.type options are `outer`, `inner` or `none`."),t.type="outer"),t.angle&&((isNaN(Number(t.angle))||t.angle<0||359 \n'),t.file("_rels/.rels",'\n'),t.file("docProps/app.xml",'Microsoft Excel0falseWorksheets1Sheet1\n'),t.file("docProps/core.xml",'PptxGenJSEly, Brent'+(new Date).toISOString()+''+(new Date).toISOString()+"\n"),t.file("xl/_rels/workbook.xml.rels",'\n'),t.file("xl/styles.xml",'\n'),t.file("xl/theme/theme1.xml",''),t.file("xl/workbook.xml",'\n'),t.file("xl/worksheets/_rels/sheet1.xml.rels",'\n');var n='';u.opts._type===J.BUBBLE?n+='':u.opts._type===J.SCATTER?n+='':(n+='',n+=''),u.opts._type===J.BUBBLE?f.forEach(function(t,e){0===e?n+="X-Axis":(n+=""+gt(t.name||" ")+"",n+=""+gt("Size "+e)+"")}):f.forEach(function(t){n+=""+gt((t.name||" ").replace("X-Axis","X-Values"))+""}),u.opts._type!==J.BUBBLE&&u.opts._type!==J.SCATTER&&f[0].labels.forEach(function(t){n+=""+gt(t)+""}),n+="\n",t.file("xl/sharedStrings.xml",n);var o='';u.opts._type===J.BUBBLE||(u.opts._type===J.SCATTER?(o+='',o+='',f.forEach(function(t,e){o+=''})):(o+='
',o+='',o+='',f.forEach(function(t,e){o+=''}))),o+="",o+='',o+="
",t.file("xl/tables/table1.xml",o);var i='';if(i+='',u.opts._type===J.BUBBLE?i+='':u.opts._type===J.SCATTER?i+='':i+='',i+='',i+='',u.opts._type===J.BUBBLE){i+="",i+='',i+="",i+="",i+='',i+='0';for(var s=1;s',i+=""+s+"",i+="";i+="",f[0].values.forEach(function(t,e){i+='',i+=''+t+"";for(var r=1,n=1;n',i+=""+(f[n].values[e]||"")+"",i+="",i+='',i+=""+(f[n].sizes[e]||"")+"",i+="",r++;i+=""})}else if(u.opts._type===J.SCATTER){i+="",i+='',i+="",i+="",i+='',i+='0';for(var l=1;l',i+=""+l+"",i+="";i+="",f[0].values.forEach(function(t,e){i+='',i+=''+t+"";for(var r=1;r',i+=""+(f[r].values[e]||0===f[r].values[e]?f[r].values[e]:"")+"",i+="";i+=""})}else{i+="",i+='',i+="",i+="",i+='',i+='0';for(var c=1;c<=f.length;c++)i+='',i+=""+c+"",i+="";i+="",f[0].labels.forEach(function(t,e){i+='',i+='',i+=""+(f.length+e+1)+"",i+="";for(var r=0;r',i+=""+(f[r].values[e]||"")+"",i+="";i+=""})}i+="",i+='',i+="\n",t.file("xl/worksheets/sheet1.xml",i),t.generateAsync({type:"base64"}).then(function(t){p.file("ppt/embeddings/Microsoft_Excel_Worksheet"+u.globalId+".xlsx",t,{base64:!0}),p.file("ppt/charts/_rels/"+u.fileName+".rels",''),p.file("ppt/charts/"+u.fileName,function(a){var o='',i=!1;o+='',o+='',o+="",a.opts.showTitle?(o+=qt({title:a.opts.title||"Chart Title",color:a.opts.titleColor,fontFace:a.opts.titleFontFace,fontSize:a.opts.titleFontSize||w,titleAlign:a.opts.titleAlign,titleBold:a.opts.titleBold,titlePos:a.opts.titlePos,titleRotate:a.opts.titleRotate}),o+=''):o+='';a.opts._type===J.BAR3D&&(o+="",o+=' ',o+=' ',o+=' ',o+=' ',o+="");o+="",a.opts.layout?(o+="",o+=" ",o+=' ',o+=' ',o+=' ',o+=' ',o+=' ',o+=' ',o+=' ',o+=" ",o+=""):o+="";Array.isArray(a.opts._type)?a.opts._type.forEach(function(t){var e=mt(a.opts,t.options),r=e.secondaryValAxis?E:L,n=e.secondaryCatAxis?k:T;i=i||e.secondaryValAxis,o+=Vt(t.type,t.data,e,r,n)}):o+=Vt(a.opts._type,a.data,a.opts,L,T);if(a.opts._type!==J.PIE&&a.opts._type!==J.DOUGHNUT){if(a.opts.valAxes&&1',n+=' ',n+=' ',n+=' ',n+="none"!==e.serGridLine.style?Kt(e.serGridLine):"",e.showSerAxisTitle&&(n+=qt({color:e.serAxisTitleColor,fontFace:e.serAxisTitleFontFace,fontSize:e.serAxisTitleFontSize,titleRotate:e.serAxisTitleRotate,title:e.serAxisTitle||"Axis Title"}));n+=' ',n+=' ',n+=' ',n+=' ',n+=" ",n+=' ',n+=!1===e.serAxisLineShow?"":""+wt(e.serAxisLineColor||y.color)+"",n+=' ',n+=" ",n+=" ",n+=" ",n+=" ",n+=" ",n+=" ",n+=" ",n+=" ",n+=' ',n+=" "+wt(e.serAxisLabelColor||b)+"",n+=' ',n+=" ",n+=" ",n+=' ',n+=" ",n+=" ",n+=' ',n+=' ',e.serAxisLabelFrequency&&(n+=' ');e.serLabelFormatCode&&(["serAxisBaseTimeUnit","serAxisMajorTimeUnit","serAxisMinorTimeUnit"].forEach(function(t){!e[t]||"string"==typeof e[t]&&-1!==["days","months","years"].indexOf(t.toLowerCase())||(console.warn("`"+t+"` must be one of: 'days','months','years' !"),e[t]=null)}),e.serAxisBaseTimeUnit&&(n+=' '),e.serAxisMajorTimeUnit&&(n+=' '),e.serAxisMinorTimeUnit&&(n+=' '),e.serAxisMajorUnit&&(n+=' '),e.serAxisMinorUnit&&(n+=' '));return n+=""}(a.opts,R,L)))}a.opts.showDataTable&&(o+="",o+=' ',o+=' ',o+=' ',o+=' ',o+=" ",o+=" ",o+=' ',o+=" ",o+=" ",o+=" ",o+='\t ',o+="\t ",o+="\t ",o+='\t\t',o+=' ',o+='\t\t\t',o+='\t\t\t',o+='\t\t\t',o+='\t\t\t',o+="\t\t ",o+="\t\t",o+='\t\t',o+="\t ",o+="\t",o+="");o+=" ",o+=a.opts.fill?_t(a.opts.fill):"",o+=a.opts.border?''+_t(a.opts.border.color)+"":"",o+=" ",o+=" ",o+="",a.opts.showLegend&&(o+="",o+='',o+='',(a.opts.legendFontFace||a.opts.legendFontSize||a.opts.legendColor)&&(o+="",o+=" ",o+=" ",o+=" ",o+=" ",o+=a.opts.legendFontSize?'':"",a.opts.legendColor&&(o+=_t(a.opts.legendColor)),a.opts.legendFontFace&&(o+=''),a.opts.legendFontFace&&(o+=''),o+=" ",o+=" ",o+=' ',o+=" ",o+=""),o+="");o+=' ',o+=' ',a.opts._type===J.SCATTER&&(o+='');return o+="",o+="",o+=" ",o+=' ',o+=" ",o+="",o+='',o+=""}(u)),e(null)}).catch(function(t){r(t)})})}function Vt(n,a,o,t,e){var i="";switch(n){case J.AREA:case J.BAR:case J.BAR3D:case J.LINE:case J.RADAR:i+="",n===J.AREA&&"stacked"===o.barGrouping&&(i+=''),n!==J.BAR&&n!==J.BAR3D||(i+='',i+=''),n===J.RADAR&&(i+=''),i+='';var s=-1;a.forEach(function(t){s++;var e=t.index;i+="",i+=' ',i+=' ',i+=" ",i+=" ",i+=" Sheet1!$"+Zt(e+1)+"$1",i+=' '+gt(t.name)+"",i+=" ",i+=" ",i+=' ';var r=o.chartColors?o.chartColors[s%o.chartColors.length]:null;i+=" ","transparent"===r?i+="":o.chartColorsOpacity?i+=""+wt(r,'')+"":i+=""+wt(r)+"",n===J.LINE?0===o.lineSize?i+="":(i+=''+wt(r)+"",i+=''):o.dataBorder&&(i+=''+wt(o.dataBorder.color)+''),i+=Xt(o.shadow,C),i+=" ",n!==J.RADAR&&(i+=" ",i+=' ',o.dataLabelBkgrdColors&&(i+=" ",i+=" "+wt(r)+"",i+=" "),i+=" ",i+=" ",i+=" ",i+=" ",i+=' ',i+=" "+wt(o.dataLabelColor||b)+"",i+=' ',i+=" ",i+=" ",i+=" ",o.dataLabelPosition&&(i+=' '),i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=" "),n!==J.LINE&&n!==J.RADAR||(i+="",i+=' ',o.lineDataSymbolSize&&(i+=' '),i+=" ",i+=" "+wt(o.chartColors[e+1>o.chartColors.length?Math.floor(Math.random()*o.chartColors.length):e])+"",i+=' '+wt(o.lineDataSymbolLineColor||r)+'',i+=" ",i+=" ",i+=""),(n===J.BAR||n===J.BAR3D)&&1===a.length&&o.chartColors!==I&&1",i+=' ',i+=' ',i+=' ',i+=" ",0===o.lineSize?i+="":n===J.BAR?(i+="",i+=' ',i+=""):(i+="",i+=" ",i+=' ',i+=" ",i+=""),i+=Xt(o.shadow,C),i+=" ",i+=" "}),i+="",o.catLabelFormatCode?(i+=" ",i+=" Sheet1!$A$2:$A$"+(t.labels.length+1)+"",i+=" ",i+=" "+(o.catLabelFormatCode||"General")+"",i+=' ',t.labels.forEach(function(t,e){i+=''+gt(t)+""}),i+=" ",i+=" "):(i+=" ",i+=" Sheet1!$A$2:$A$"+(t.labels.length+1)+"",i+=" ",i+='\t ',t.labels.forEach(function(t,e){i+=''+gt(t)+""}),i+=" ",i+=" "),i+="",i+="",i+=" ",i+=" Sheet1!$"+Zt(e+1)+"$2:$"+Zt(e+1)+"$"+(t.labels.length+1)+"",i+=" ",i+=" "+(o.valLabelFormatCode||o.dataTableFormatCode||"General")+"",i+=' ',t.values.forEach(function(t,e){i+=''+(t||0===t?t:"")+""}),i+=" ",i+=" ",i+="",n===J.LINE&&(i+=''),i+=""}),i+=" ",i+=' ',i+=" ",i+=" ",i+=" ",i+=" ",i+=' ',i+=" "+wt(o.dataLabelColor||b)+"",i+=' ',i+=" ",i+=" ",i+=" ",o.dataLabelPosition&&(i+=' '),i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=" ",n===J.BAR?(i+=' ',i+=' '):n===J.BAR3D?(i+=' ',i+=' ',i+=' '):n===J.LINE&&(i+=' '),i+=' ',i+=' ',i+=' ',i+="";break;case J.SCATTER:i+="",i+='',i+='',s=-1,a.filter(function(t,e){return 0",i+=' ',i+=' ',i+=" ",i+=" ",i+=" Sheet1!$"+F[t+1]+"$1",i+=' '+r.name+"",i+=" ",i+=" ",i+=" ";var e=o.chartColors[s%o.chartColors.length];if("transparent"===e?i+="":o.chartColorsOpacity?i+=""+wt(e,'')+"":i+=""+wt(e)+"",0===o.lineSize?i+="":(i+=''+wt(e)+"",i+=''),i+=Xt(o.shadow,C),i+=" ",i+="",i+=' ',o.lineDataSymbolSize&&(i+=' '),i+=" ",i+=" "+wt(o.chartColors[t+1>o.chartColors.length?Math.floor(Math.random()*o.chartColors.length):t])+"",i+=' '+wt(o.lineDataSymbolLineColor||o.chartColors[s%o.chartColors.length])+'',i+=" ",i+=" ",i+="",o.showLabel){var n=ht("-xxxx-xxxx-xxxx-xxxxxxxxxxxx");!r.labels||"custom"!==o.dataLabelFormatScatter&&"customXY"!==o.dataLabelFormatScatter||(i+="",r.labels.forEach(function(t,e){"custom"!==o.dataLabelFormatScatter&&"customXY"!==o.dataLabelFormatScatter||(i+=" ",i+=' ',i+=" ",i+=" ",i+="\t\t\t",i+="\t\t\t\t",i+="\t\t\t",i+=" \t",i+=" \t",i+="\t\t\t\t",i+="\t\t\t\t\t",i+="\t\t\t\t",i+=" \t",i+=' \t\t',i+=" \t\t"+gt(t)+"",i+=" \t","customXY"!==o.dataLabelFormatScatter||/^ *$/.test(t)||(i+=" \t",i+=' \t\t',i+=" \t\t (",i+=" \t",i+=' \t',i+=' \t\t',i+=" \t\t",i+=" \t\t\t",i+=" \t\t",i+=" \t\t["+gt(r.name)+"",i+=" \t",i+=" \t",i+=' \t\t',i+=" \t\t, ",i+=" \t",i+=' \t',i+=' \t\t',i+=" \t\t",i+=" \t\t\t",i+=" \t\t",i+=" \t\t["+gt(r.name)+"]",i+=" \t",i+=" \t",i+=' \t\t',i+=" \t\t)",i+=" \t",i+=' \t'),i+=" \t",i+=" ",i+=" ",i+=" ",i+=" \t",i+=" \t",i+=" \t\t",i+=" \t",i+=" \t",i+=" ",o.dataLabelPosition&&(i+=' '),i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+='\t ',i+=" ",i+=' ',i+=' ',i+='\t\t\t',i+=" ",i+="\t\t",i+="")}),i+=""),"XY"===o.dataLabelFormatScatter&&(i+="",i+="\t",i+="\t\t",i+="\t\t",i+="\t\t\t",i+="\t\t",i+="\t \t",i+="\t",i+="\t",i+="\t\t",i+="\t\t\t",i+="\t\t",i+="\t\t",i+="\t\t",i+="\t \t",i+=" \t\t",i+="\t \t",i+='\t \t',i+="\t\t",i+="\t",o.dataLabelPosition&&(i+=' '),i+='\t',i+=' ',i+=' ',i+='\t',i+='\t',i+='\t',i+="\t",i+='\t\t',i+='\t\t\t',i+="\t\t",i+="\t",i+="")}1===a.length&&o.chartColors!==I&&r.values.forEach(function(t,e){var r=t<0?o.invertedColors||o.chartColors||I:o.chartColors||[];i+=" ",i+=' ',i+=' ',i+=' ',i+=" ",0===o.lineSize?i+="":(i+="",i+=' ',i+=""),i+=Xt(o.shadow,C),i+=" ",i+=" "}),i+="",i+=" ",i+=" Sheet1!$A$2:$A$"+(a[0].values.length+1)+"",i+=" ",i+=" General",i+=' ',a[0].values.forEach(function(t,e){i+=''+(t||0===t?t:"")+""}),i+=" ",i+=" ",i+="",i+="",i+=" ",i+=" Sheet1!$"+Zt(t+1)+"$2:$"+Zt(t+1)+"$"+(a[0].values.length+1)+"",i+=" ",i+=" General",i+=' ',a[0].values.forEach(function(t,e){i+=''+(r.values[e]||0===r.values[e]?r.values[e]:"")+""}),i+=" ",i+=" ",i+="",i+='',i+=""}),i+=" ",i+=' ',i+=" ",i+=" ",i+=" ",i+=" ",i+=' ',i+=" "+wt(o.dataLabelColor||b)+"",i+=' ',i+=" ",i+=" ",i+=" ",o.dataLabelPosition&&(i+=' '),i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=" ",i+=' ',i+=' ',i+="";break;case J.BUBBLE:i+="",i+='',s=-1;var l=1;a.filter(function(t,e){return 0",i+=' ',i+=' ',i+=" ",i+=" ",i+=" Sheet1!$"+F[l]+"$1",i+=' '+r.name+"",i+=" ",i+=" ",i+="";var e=o.chartColors[s%o.chartColors.length];"transparent"===e?i+="":o.chartColorsOpacity?i+=""+wt(e,'')+"":i+=""+wt(e)+"",0===o.lineSize?i+="":o.dataBorder?i+=''+wt(o.dataBorder.color)+'':(i+=''+wt(e)+"",i+=''),i+=Xt(o.shadow,C),i+="",i+="",i+=" ",i+=" Sheet1!$A$2:$A$"+(a[0].values.length+1)+"",i+=" ",i+=" General",i+=' ',a[0].values.forEach(function(t,e){i+=''+(t||0===t?t:"")+""}),i+=" ",i+=" ",i+="",i+="",i+=" ",i+=" Sheet1!$"+Zt(l)+"$2:$"+Zt(l)+"$"+(a[0].values.length+1)+"",l++,i+=" ",i+=" General",i+=' ',a[0].values.forEach(function(t,e){i+=''+(r.values[e]||0===r.values[e]?r.values[e]:"")+""}),i+=" ",i+=" ",i+="",i+=" ",i+=" ",i+=" Sheet1!$"+Zt(l)+"$2:$"+Zt(t+2)+"$"+(r.sizes.length+1)+"",l++,i+=" ",i+=" General",i+='\t ',r.sizes.forEach(function(t,e){i+=''+(t||"")+""}),i+=" ",i+=" ",i+=" ",i+=' ',i+=""}),i+=" ",i+=' ',i+=" ",i+=" ",i+=" ",i+=" ",i+=' ',i+=" "+wt(o.dataLabelColor||b)+"",i+=' ',i+=" ",i+=" ",i+=" ",o.dataLabelPosition&&(i+=' '),i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=" ",i+=' ',i+=' ',i+="";break;case J.DOUGHNUT:case J.PIE:var r=a[0];i+="",i+=' ',i+="",i+=' ',i+=' ',i+=" ",i+=" ",i+=" Sheet1!$B$1",i+=" ",i+=' ',i+=' '+gt(r.name)+"",i+=" ",i+=" ",i+=" ",i+=" ",i+=' ',i+=' ',o.dataNoEffects?i+="":i+=Xt(o.shadow,C),i+=" ",r.labels.forEach(function(t,e){i+="",i+=' ',i+=' ',i+=" ",i+=""+wt(o.chartColors[e+1>o.chartColors.length?Math.floor(Math.random()*o.chartColors.length):e])+"",o.dataBorder&&(i+=''+wt(o.dataBorder.color)+''),i+=Xt(o.shadow,C),i+=" ",i+=""}),i+="",r.labels.forEach(function(t,e){i+="",i+=' ',i+=' ',i+=" ",i+=" ",i+=" ",i+=' ',i+=" "+wt(o.dataLabelColor||b)+"",i+=' ',i+=" ",i+=" ",i+=" ",n===J.PIE&&o.dataLabelPosition&&(i+=' '),i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=" "}),i+=' ',i+="\t",i+="\t ",i+="\t ",i+="\t ",i+="\t\t",i+='\t\t ',i+='\t\t\t',i+="\t\t ",i+="\t\t",i+="\t ",i+="\t",i+=n===J.PIE?'':"",i+='\t',i+='\t',i+='\t',i+='\t',i+='\t',i+='\t',i+=' ',i+="",i+="",i+=" ",i+=" Sheet1!$A$2:$A$"+(r.labels.length+1)+"",i+=" ",i+='\t ',r.labels.forEach(function(t,e){i+=''+gt(t)+""}),i+=" ",i+=" ",i+="",i+=" ",i+=" ",i+=" Sheet1!$B$2:$B$"+(r.labels.length+1)+"",i+=" ",i+='\t ',r.values.forEach(function(t,e){i+=''+(t||0===t?t:"")+""}),i+=" ",i+=" ",i+=" ",i+=" ",i+=' ',n===J.DOUGHNUT&&(i+=' '),i+="";break;default:i+=""}return i}function Qt(e,t,r){var n="";return e._type===J.SCATTER||e._type===J.BUBBLE?n+="":n+="",n+=' ',n+=" ",n+='',!e.catAxisMaxVal&&0!==e.catAxisMaxVal||(n+=''),!e.catAxisMinVal&&0!==e.catAxisMinVal||(n+=''),n+="",n+=' ',n+=' ',n+="none"!==e.catGridLine.style?Kt(e.catGridLine):"",e.showCatAxisTitle&&(n+=qt({color:e.catAxisTitleColor,fontFace:e.catAxisTitleFontFace,fontSize:e.catAxisTitleFontSize,titleRotate:e.catAxisTitleRotate,title:e.catAxisTitle||"Axis Title"})),e._type===J.SCATTER||e._type===J.BUBBLE?n+=' ':n+=' ',e._type===J.SCATTER?(n+=' ',n+=' ',n+=' '):(n+=' ',n+=' ',n+=' '),n+=" ",n+=' ',n+=!1===e.catAxisLineShow?"":""+wt(e.catAxisLineColor||y.color)+"",n+=' ',n+=" ",n+=" ",n+=" ",n+=" ",n+=" ",n+=" ",n+=" ",n+=" ",n+=' ',n+=" "+wt(e.catAxisLabelColor||b)+"",n+=' ',n+=" ",n+=" ",n+=' ',n+=" ",n+=" ",n+=' ',n+=" ',n+=' ',n+=' ',n+=' ',e.catAxisLabelFrequency&&(n+=' '),!e.catLabelFormatCode&&e._type!==J.SCATTER&&e._type!==J.BUBBLE||(e.catLabelFormatCode&&(["catAxisBaseTimeUnit","catAxisMajorTimeUnit","catAxisMinorTimeUnit"].forEach(function(t){!e[t]||"string"==typeof e[t]&&-1!==["days","months","years"].indexOf(e[t].toLowerCase())||(console.warn("`"+t+"` must be one of: 'days','months','years' !"),e[t]=null)}),e.catAxisBaseTimeUnit&&(n+=''),e.catAxisMajorTimeUnit&&(n+=''),e.catAxisMinorTimeUnit&&(n+='')),e.catAxisMajorUnit&&(n+=''),e.catAxisMinorUnit&&(n+='')),e._type===J.SCATTER||e._type===J.BUBBLE?n+="":n+="",n}function Yt(t,e){var r=e===L?"col"===t.barDir?"l":"b":"col"!==t.barDir?"r":"t",n="",a="r"==r||"t"==r?"max":"autoZero",o=e===L?T:k;return n+="",n+=' ',n+=" ",t.valAxisLogScaleBase&&(n+=' '),n+=' ',!t.valAxisMaxVal&&0!==t.valAxisMaxVal||(n+=''),!t.valAxisMinVal&&0!==t.valAxisMinVal||(n+=''),n+=" ",n+=' ',n+=' ',"none"!==t.valGridLine.style&&(n+=Kt(t.valGridLine)),t.showValAxisTitle&&(n+=qt({color:t.valAxisTitleColor,fontFace:t.valAxisTitleFontFace,fontSize:t.valAxisTitleFontSize,titleRotate:t.valAxisTitleRotate,title:t.valAxisTitle||"Axis Title"})),n+="',t._type===J.SCATTER?(n+=' ',n+=' ',n+=' '):(n+=' ',n+=' ',n+=' '),n+=" ",n+=' ',n+=!1===t.valAxisLineShow?"":""+wt(t.valAxisLineColor||y.color)+"",n+=' ',n+=" ",n+=" ",n+=" ",n+=" ",n+=" ",n+=" ",n+=" ",n+=" ",n+=' ',n+=" "+wt(t.valAxisLabelColor||b)+"",n+=' ',n+=" ",n+=" ",n+=' ',n+=" ",n+=" ",n+=' ',n+=' ',n+=' ',t.valAxisMajorUnit&&(n+=' '),t.valAxisDisplayUnit&&(n+=''+(t.valAxisDisplayUnitLabel?"":"")+""),n+=""}function qt(t){var e="left"===t.titleAlign||"right"===t.titleAlign?'':"",r=t.titleRotate?'':"",n=t.fontSize?'sz="'+Math.round(100*t.fontSize)+'"':"",a=!0===t.titleBold?1:0,o=t.titlePos&&t.titlePos.x&&t.titlePos.y?'':"";return"\n\t \n\t \n\t "+r+"\n\t \n\t \n\t "+e+"\n\t \n\t '+wt(t.color||b)+'\n\t \n\t \n\t \n\t \n\t \n\t '+wt(t.color||b)+'\n\t \n\t \n\t '+(gt(t.title)||"")+"\n\t \n\t \n\t \n\t \n\t "+o+'\n\t \n\t'}function Zt(t){var e="";return t<=26?e=F[t]:(e+=F[Math.floor(t/F.length)-1],e+=F[t%F.length]),e}function Xt(t,e){if(!t)return"";if("object"!=typeof t)return console.warn("`shadow` options must be an object. Ex: `{shadow: {type:'none'}}`"),"";var r="",n=mt(e,t),a=n.type||"outer",o=At(n.blur),i=At(n.offset),s=Math.round(6e4*n.angle),l=n.color,c=Math.round(1e5*n.opacity);return r+="',r+='',r+='',r+="",r+=""}function Kt(t){var e="";return e+=" ",e+=' ',e+=' ',e+=' ',e+=" ",e+=" ",e+=""}function Jt(t){var o="undefined"!=typeof require&&"undefined"==typeof window?require("fs"):null,i="undefined"!=typeof require&&"undefined"==typeof window?require("https"):null,e=[];return t._relsMedia.filter(function(t){return"online"!==t.type&&!t.data&&(!t.path||t.path&&-1===t.path.indexOf("preencoded"))}).forEach(function(a){e.push(new Promise(function(r,n){if(o&&0!==a.path.indexOf("http"))try{var t=o.readFileSync(a.path);a.data=Buffer.from(t).toString("base64"),r("done")}catch(t){a.data=pt,n('ERROR: Unable to read media: "'+a.path+'"\n'+t.toString())}else if(o&&i&&0===a.path.indexOf("http"))i.get(a.path,function(t){var e="";t.setEncoding("binary"),t.on("data",function(t){return e+=t}),t.on("end",function(){a.data=Buffer.from(e,"binary").toString("base64"),r("done")}),t.on("error",function(t){a.data=pt,n("ERROR! Unable to load image (https.get): "+a.path)})});else{var e=new XMLHttpRequest;e.onload=function(){var t=new FileReader;t.onloadend=function(){a.data=t.result,a.isSvgPng?$t(a).then(function(){r("done")}).catch(function(t){n(t)}):r("done")},t.readAsDataURL(e.response)},e.onerror=function(t){a.data=pt,n("ERROR! Unable to load image (xhr.onerror): "+a.path)},e.open("GET",a.path),e.responseType="blob",e.send()}}))}),t._relsMedia.filter(function(t){return t.isSvgPng&&t.data}).forEach(function(t){o?(t.data=pt,e.push(Promise.resolve().then(function(){return"done"}))):e.push($t(t))}),e}function $t(a){return new Promise(function(r,e){var n=new Image;n.onload=function(){n.width+n.height===0&&n.onerror("h/w=0");var t=document.createElement("CANVAS"),e=t.getContext("2d");t.width=n.width,t.height=n.height,e.drawImage(n,0,0);try{a.data=t.toDataURL(a.type),r("done")}catch(t){n.onerror(t)}t=null},n.onerror=function(t){a.data=pt,e("ERROR! Unable to load image (image.onerror): "+a.path)},n.src="string"==typeof a.data?a.data:pt})}function te(){var a=this;this._version="3.7.1",this._alignH=Q,this._alignV=q,this._chartType=U,this._outputType=z,this._schemeColor=H,this._shapeType=G,this._charts=J,this._colors=tt,this._shapes=X,this.addNewSlide=function(t){var e=0')})}),n+='',n+='',n+='',n+='',t.forEach(function(t,e){n+='',n+='',t._relsChart.forEach(function(t){n+=' '})}),n+='',n+='',n+='',n+='',e.forEach(function(t,e){n+='',(t._relsChart||[]).forEach(function(t){n+=' '})}),t.forEach(function(t,e){n+=' '}),r._relsChart.forEach(function(t){n+=' '}),r._relsMedia.forEach(function(t){"image"!==t.type&&"online"!==t.type&&"chart"!==t.type&&"m4v"!==t.extn&&-1===n.indexOf(t.type)&&(n+=' ')}),n+=' ',n+=' ',n+=""}(a.slides,a.slideLayouts,a.masterSlide)),n.file("_rels/.rels",''+v+'\n\t\t\n\t\t\n\t\t\n\t\t'),n.file("docProps/app.xml",function(t,e){return''+v+'\n\t0\n\t0\n\tMicrosoft Office PowerPoint\n\tOn-screen Show (16:9)\n\t0\n\t'+t.length+"\n\t"+t.length+'\n\t0\n\t0\n\tfalse\n\t\n\t\t\n\t\t\tFonts Used\n\t\t\t2\n\t\t\tTheme\n\t\t\t1\n\t\t\tSlide Titles\n\t\t\t'+t.length+'\n\t\t\n\t\n\t\n\t\t\n\t\t\tArial\n\t\t\tCalibri\n\t\t\tOffice Theme\n\t\t\t'+t.map(function(t,e){return"Slide "+(e+1)+"\n"}).join("")+"\n\t\t\n\t\n\t"+e+"\n\tfalse\n\tfalse\n\tfalse\n\t16.0000\n\t"}(a.slides,a.company)),n.file("docProps/core.xml",function(t,e,r,n){return'\n\t\n\t\t'+gt(t)+"\n\t\t"+gt(e)+"\n\t\t"+gt(r)+"\n\t\t"+gt(r)+"\n\t\t"+n+'\n\t\t'+(new Date).toISOString().replace(/\.\d\d\dZ/,"Z")+'\n\t\t'+(new Date).toISOString().replace(/\.\d\d\dZ/,"Z")+"\n\t"}(a.title,a.subject,a.author,a.revision)),n.file("ppt/_rels/presentation.xml.rels",function(t){var e=1,r=''+v;r+='',r+='';for(var n=1;n<=t.length;n++)r+='';return r+=''}(a.slides)),n.file("ppt/theme/theme1.xml",''+v+''),n.file("ppt/presentation.xml",function(t){var e=''+v+'';e+='',e+="",t.slides.forEach(function(t){return e+=''}),e+="",e+='',e+='',e+='',e+="";for(var r=1;r<10;r++)e+="";return e+="",t.sections&&0',e+='',t.sections.forEach(function(t){e+='',t._slides.forEach(function(t){return e+=''}),e+=""}),e+="",e+='',e+=""),e+=""}(a)),n.file("ppt/presProps.xml",''+v+''),n.file("ppt/tableStyles.xml",''+v+''),n.file("ppt/viewProps.xml",''+v+''),a.slideLayouts.forEach(function(t,e){n.file("ppt/slideLayouts/slideLayout"+(e+1)+".xml",function(t){return'\n\t\t\n\t\t'+Lt(t)+"\n\t\t"}(t)),n.file("ppt/slideLayouts/_rels/slideLayout"+(e+1)+".xml.rels",function(t,e){return Et(e[t-1],[{target:"../slideMasters/slideMaster1.xml",type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster"}])}(e+1,a.slideLayouts))}),a.slides.forEach(function(t,e){n.file("ppt/slides/slide"+(e+1)+".xml",function(t){return''+v+'"+Lt(t)+""}(t)),n.file("ppt/slides/_rels/slide"+(e+1)+".xml.rels",function(t,e,r){return Et(t[r-1],[{target:"../slideLayouts/slideLayout"+function(t,e,r){for(var n=0;n\n\t\t\n\t\t\t\n\t\t\t\n\t\t'}(e+1))}),n.file("ppt/slideMasters/slideMaster1.xml",function(r,t){var e=t.map(function(t,e){return''}),n=''+v;return n+='',n+=Lt(r),n+='',n+=""+e.join("")+"",n+='',n+=' ',n+=""}(a.masterSlide,a.slideLayouts)),n.file("ppt/slideMasters/_rels/slideMaster1.xml.rels",function(t,e){var r=e.map(function(t,e){return{target:"../slideLayouts/slideLayout"+(e+1)+".xml",type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout"}});return r.push({target:"../theme/theme1.xml",type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme"}),Et(t,r)}(a.masterSlide,a.slideLayouts)),n.file("ppt/notesMasters/notesMaster1.xml",''+v+'7/23/19Click to edit Master text stylesSecond levelThird levelFourth levelFifth level‹#›'),n.file("ppt/notesMasters/_rels/notesMaster1.xml.rels",''+v+'\n\t\t\n\t\t'),a.slideLayouts.forEach(function(t){a.createChartMediaRels(t,n,e)}),a.slides.forEach(function(t){a.createChartMediaRels(t,n,e)}),a.createChartMediaRels(a.masterSlide,n,e),Promise.all(e).then(function(){return"STREAM"===t.outputType?n.generateAsync({type:"nodebuffer",compression:t.compression?"DEFLATE":"STORE"}):t.outputType?n.generateAsync({type:t.outputType}):n.generateAsync({type:"blob",compression:t.compression?"DEFLATE":"STORE"})})})},this.LAYOUTS={LAYOUT_4x3:{name:"screen4x3",width:9144e3,height:6858e3},LAYOUT_16x9:{name:"screen16x9",width:9144e3,height:5143500},LAYOUT_16x10:{name:"screen16x10",width:9144e3,height:5715e3},LAYOUT_WIDE:{name:"custom",width:12192e3,height:6858e3}},this._author="PptxGenJS",this._company="PptxGenJS",this._revision="1",this._subject="PptxGenJS Presentation",this._title="PptxGenJS Presentation",this._presLayout={name:this.LAYOUTS[p].name,_sizeW:this.LAYOUTS[p].width,_sizeH:this.LAYOUTS[p].height,width:this.LAYOUTS[p].width,height:this.LAYOUTS[p].height},this._rtlMode=!1,this._slideLayouts=[{_margin:P,_name:n,_presLayout:this._presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slide:null,_slideNum:1e3,_slideNumberProps:null,_slideObjects:[]}],this._slides=[],this._sections=[],this._masterSlide={addChart:null,addImage:null,addMedia:null,addNotes:null,addShape:null,addTable:null,addText:null,_name:null,_presLayout:this._presLayout,_rId:null,_rels:[],_relsChart:[],_relsMedia:[],_slideId:null,_slideLayout:null,_slideNum:null,_slideNumberProps:null,_slideObjects:[]}}return Object.defineProperty(te.prototype,"layout",{get:function(){return this._layout},set:function(t){var e=this.LAYOUTS[t];if(!e)throw new Error("UNKNOWN-LAYOUT");this._layout=t,this._presLayout=e},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"version",{get:function(){return this._version},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"author",{get:function(){return this._author},set:function(t){this._author=t},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"company",{get:function(){return this._company},set:function(t){this._company=t},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"revision",{get:function(){return this._revision},set:function(t){this._revision=t},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"subject",{get:function(){return this._subject},set:function(t){this._subject=t},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"title",{get:function(){return this._title},set:function(t){this._title=t},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"rtlMode",{get:function(){return this._rtlMode},set:function(t){this._rtlMode=t},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"masterSlide",{get:function(){return this._masterSlide},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"slides",{get:function(){return this._slides},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"sections",{get:function(){return this._sections},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"slideLayouts",{get:function(){return this._slideLayouts},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"AlignH",{get:function(){return this._alignH},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"AlignV",{get:function(){return this._alignV},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"ChartType",{get:function(){return this._chartType},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"OutputType",{get:function(){return this._outputType},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"presLayout",{get:function(){return this._presLayout},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"SchemeColor",{get:function(){return this._schemeColor},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"ShapeType",{get:function(){return this._shapeType},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"charts",{get:function(){return this._charts},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"colors",{get:function(){return this._colors},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"shapes",{get:function(){return this._shapes},enumerable:!1,configurable:!0}),te.prototype.stream=function(t){var e=!("object"!=typeof t||!t.hasOwnProperty("compression"))&&t.compression;return this.exportPresentation({compression:e,outputType:"STREAM"})},te.prototype.write=function(t){var e="object"==typeof t&&t.hasOwnProperty("outputType")?t.outputType:t||null,r=!("object"!=typeof t||!t.hasOwnProperty("compression"))&&t.compression;return this.exportPresentation({compression:r,outputType:e})},te.prototype.writeFile=function(t){var e=this,n="undefined"!=typeof require&&"undefined"==typeof window?require("fs"):null;"string"==typeof t&&console.log("Warning: `writeFile(filename)` is deprecated - please use `WriteFileProps` argument (v3.5.0)");var r="object"==typeof t&&t.hasOwnProperty("fileName")?t.fileName:"string"==typeof t?t:"",a=!("object"!=typeof t||!t.hasOwnProperty("compression"))&&t.compression,o=r?r.toString().toLowerCase().endsWith(".pptx")?r:r+".pptx":"Presentation.pptx";return this.exportPresentation({compression:a,outputType:n?"nodebuffer":null}).then(function(t){return n?new Promise(function(e,r){n.writeFile(o,t,function(t){t?r(t):e(o)})}):e.writeFileToBrowser(o,t)})},te.prototype.addSection=function(t){t?t.title||console.warn("addSection requires a title"):console.warn("addSection requires an argument");var e={_type:"user",_slides:[],title:t.title};t.order?this.sections.splice(t.order,0,e):this._sections.push(e)},te.prototype.addSlide=function(e){var r="string"==typeof e?e:e&&e.masterName?e.masterName:"",t={_name:this.LAYOUTS[p].name,_presLayout:this.presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slideNum:this.slides.length+1};if(r){var n=this.slideLayouts.filter(function(t){return t._name===r})[0];n&&(t=n)}var a=new Gt({addSlide:this.addNewSlide,getSlide:this.getSlide,presLayout:this.presLayout,setSlideNum:this.setSlideNumber,slideId:this.slides.length+256,slideRId:this.slides.length+2,slideNumber:this.slides.length+1,slideLayout:t});if(this._slides.push(a),e&&e.sectionTitle){var o=this.sections.filter(function(t){return t.title===e.sectionTitle})[0];o?o._slides.push(a):console.warn('addSlide: unable to find section with title: "'+e.sectionTitle+'"')}else if(this.sections&&0 opts.y = "+a.y),r.addTable(t.rows,{x:a.x||p[3],y:a.y,w:Number(s)/B,colW:c,autoPage:!1}),a.addImage&&r.addImage({path:a.addImage.url,x:a.addImage.x,y:a.addImage.y,w:a.addImage.w,h:a.addImage.h}),a.addShape&&r.addShape(a.addShape.shape,a.addShape.options||{}),a.addTable&&r.addTable(a.addTable.rows,a.addTable.options||{}),a.addText&&r.addText(a.addText.text,a.addText.options||{})})}(this,t,e,e&&e.masterSlideName?this.slideLayouts.filter(function(t){return t._name===e.masterSlideName})[0]:null)},te}(); //# sourceMappingURL=pptxgen.bundle.js.map diff --git a/demos/browser/js/pptxgen.bundle.js.map b/demos/browser/js/pptxgen.bundle.js.map index e0321c526..d1d3106f0 100644 --- a/demos/browser/js/pptxgen.bundle.js.map +++ b/demos/browser/js/pptxgen.bundle.js.map @@ -1 +1 @@ -{"version":3,"names":[],"mappings":"","sources":["pptxgen.bundle.js"],"sourcesContent":["/* PptxGenJS 3.7.0 @ 2021-07-21T02:38:25.952Z */\n!function(t){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=t():\"function\"==typeof define&&define.amd?define([],t):(\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:this).JSZip=t()}(function(){return function o(i,s,l){function c(e,t){if(!s[e]){if(!i[e]){var r=\"function\"==typeof require&&require;if(!t&&r)return r(e,!0);if(u)return u(e,!0);var n=new Error(\"Cannot find module '\"+e+\"'\");throw n.code=\"MODULE_NOT_FOUND\",n}var a=s[e]={exports:{}};i[e][0].call(a.exports,function(t){return c(i[e][1][t]||t)},a,a.exports,o,i,s,l)}return s[e].exports}for(var u=\"function\"==typeof require&&require,t=0;t>2,o=(3&e)<<4|r>>4,i=1>6:64,s=2>4,r=(15&a)<<4|(o=h.indexOf(t.charAt(s++)))>>2,n=(3&o)<<6|(i=h.indexOf(t.charAt(s++))),c[l++]=e,64!==o&&(c[l++]=r),64!==i&&(c[l++]=n);return c}},{\"./support\":30,\"./utils\":32}],2:[function(t,e,r){\"use strict\";var n=t(\"./external\"),a=t(\"./stream/DataWorker\"),o=t(\"./stream/Crc32Probe\"),i=t(\"./stream/DataLengthProbe\");function s(t,e,r,n,a){this.compressedSize=t,this.uncompressedSize=e,this.crc32=r,this.compression=n,this.compressedContent=a}s.prototype={getContentWorker:function(){var t=new a(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new i(\"data_length\")),e=this;return t.on(\"end\",function(){if(this.streamInfo.data_length!==e.uncompressedSize)throw new Error(\"Bug : uncompressed data size mismatch\")}),t},getCompressedWorker:function(){return new a(n.Promise.resolve(this.compressedContent)).withStreamInfo(\"compressedSize\",this.compressedSize).withStreamInfo(\"uncompressedSize\",this.uncompressedSize).withStreamInfo(\"crc32\",this.crc32).withStreamInfo(\"compression\",this.compression)}},s.createWorkerFrom=function(t,e,r){return t.pipe(new o).pipe(new i(\"uncompressedSize\")).pipe(e.compressWorker(r)).pipe(new i(\"compressedSize\")).withStreamInfo(\"compression\",e)},e.exports=s},{\"./external\":6,\"./stream/Crc32Probe\":25,\"./stream/DataLengthProbe\":26,\"./stream/DataWorker\":27}],3:[function(t,e,r){\"use strict\";var n=t(\"./stream/GenericWorker\");r.STORE={magic:\"\\0\\0\",compressWorker:function(t){return new n(\"STORE compression\")},uncompressWorker:function(){return new n(\"STORE decompression\")}},r.DEFLATE=t(\"./flate\")},{\"./flate\":7,\"./stream/GenericWorker\":28}],4:[function(t,e,r){\"use strict\";var n=t(\"./utils\"),i=function(){for(var t,e=[],r=0;r<256;r++){t=r;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[r]=t}return e}();e.exports=function(t,e){return void 0!==t&&t.length?\"string\"!==n.getTypeOf(t)?function(t,e,r){var n=i,a=0+r;t^=-1;for(var o=0;o>>8^n[255&(t^e[o])];return-1^t}(0|e,t,t.length):function(t,e,r){var n=i,a=0+r;t^=-1;for(var o=0;o>>8^n[255&(t^e.charCodeAt(o))];return-1^t}(0|e,t,t.length):0}},{\"./utils\":32}],5:[function(t,e,r){\"use strict\";r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!0,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],6:[function(t,e,r){\"use strict\";var n;n=\"undefined\"!=typeof Promise?Promise:t(\"lie\"),e.exports={Promise:n}},{lie:37}],7:[function(t,e,r){\"use strict\";var n=\"undefined\"!=typeof Uint8Array&&\"undefined\"!=typeof Uint16Array&&\"undefined\"!=typeof Uint32Array,a=t(\"pako\"),o=t(\"./utils\"),i=t(\"./stream/GenericWorker\"),s=n?\"uint8array\":\"array\";function l(t,e){i.call(this,\"FlateWorker/\"+t),this._pako=null,this._pakoAction=t,this._pakoOptions=e,this.meta={}}r.magic=\"\\b\\0\",o.inherits(l,i),l.prototype.processChunk=function(t){this.meta=t.meta,null===this._pako&&this._createPako(),this._pako.push(o.transformTo(s,t.data),!1)},l.prototype.flush=function(){i.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},l.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this._pako=null},l.prototype._createPako=function(){this._pako=new a[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},r.compressWorker=function(t){return new l(\"Deflate\",t)},r.uncompressWorker=function(){return new l(\"Inflate\",{})}},{\"./stream/GenericWorker\":28,\"./utils\":32,pako:38}],8:[function(t,e,r){\"use strict\";function T(t,e){var r,n=\"\";for(r=0;r>>=8;return n}function a(t,e,r,n,a,o){var i,s,l=t.file,c=t.compression,u=o!==R.utf8encode,p=k.transformTo(\"string\",o(l.name)),f=k.transformTo(\"string\",R.utf8encode(l.name)),d=l.comment,h=k.transformTo(\"string\",o(d)),m=k.transformTo(\"string\",R.utf8encode(d)),g=f.length!==l.name.length,v=m.length!==d.length,A=\"\",y=\"\",b=\"\",x=l.dir,w=l.date,_={crc32:0,compressedSize:0,uncompressedSize:0};e&&!r||(_.crc32=t.crc32,_.compressedSize=t.compressedSize,_.uncompressedSize=t.uncompressedSize);var C=0;e&&(C|=8),u||!g&&!v||(C|=2048);var P,S=0,L=0;x&&(S|=16),\"UNIX\"===a?(L=798,S|=((P=l.unixPermissions)||(P=x?16893:33204),(65535&P)<<16)):(L=20,S|=63&(l.dosPermissions||0)),i=w.getUTCHours(),i<<=6,i|=w.getUTCMinutes(),i<<=5,i|=w.getUTCSeconds()/2,s=w.getUTCFullYear()-1980,s<<=4,s|=w.getUTCMonth()+1,s<<=5,s|=w.getUTCDate(),g&&(A+=\"up\"+T((y=T(1,1)+T(F(p),4)+f).length,2)+y),v&&(A+=\"uc\"+T((b=T(1,1)+T(F(h),4)+m).length,2)+b);var E=\"\";return E+=\"\\n\\0\",E+=T(C,2),E+=c.magic,E+=T(i,2),E+=T(s,2),E+=T(_.crc32,4),E+=T(_.compressedSize,4),E+=T(_.uncompressedSize,4),E+=T(p.length,2),E+=T(A.length,2),{fileRecord:I.LOCAL_FILE_HEADER+E+p+A,dirRecord:I.CENTRAL_FILE_HEADER+T(L,2)+E+T(h.length,2)+\"\\0\\0\\0\\0\"+T(S,4)+T(n,4)+p+A+h}}var k=t(\"../utils\"),o=t(\"../stream/GenericWorker\"),R=t(\"../utf8\"),F=t(\"../crc32\"),I=t(\"../signature\");function n(t,e,r,n){o.call(this,\"ZipFileWorker\"),this.bytesWritten=0,this.zipComment=e,this.zipPlatform=r,this.encodeFileName=n,this.streamFiles=t,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}k.inherits(n,o),n.prototype.push=function(t){var e=t.meta.percent||0,r=this.entriesCount,n=this._sources.length;this.accumulate?this.contentBuffer.push(t):(this.bytesWritten+=t.data.length,o.prototype.push.call(this,{data:t.data,meta:{currentFile:this.currentFile,percent:r?(e+100*(r-n-1))/r:100}}))},n.prototype.openedSource=function(t){this.currentSourceOffset=this.bytesWritten,this.currentFile=t.file.name;var e=this.streamFiles&&!t.file.dir;if(e){var r=a(t,e,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},n.prototype.closedSource=function(t){this.accumulate=!1;var e,r=this.streamFiles&&!t.file.dir,n=a(t,r,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),r)this.push({data:(e=t,I.DATA_DESCRIPTOR+T(e.crc32,4)+T(e.compressedSize,4)+T(e.uncompressedSize,4)),meta:{percent:100}});else for(this.push({data:n.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},n.prototype.flush=function(){for(var t=this.bytesWritten,e=0;e=this.index;e--)r=(r<<8)+this.byteAt(e);return this.index+=t,r},readString:function(t){return n.transformTo(\"string\",this.readData(t))},readData:function(t){},lastIndexOfSignature:function(t){},readAndCheckSignature:function(t){},readDate:function(){var t=this.readInt(4);return new Date(Date.UTC(1980+(t>>25&127),(t>>21&15)-1,t>>16&31,t>>11&31,t>>5&63,(31&t)<<1))}},e.exports=a},{\"../utils\":32}],19:[function(t,e,r){\"use strict\";var n=t(\"./Uint8ArrayReader\");function a(t){n.call(this,t)}t(\"../utils\").inherits(a,n),a.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=a},{\"../utils\":32,\"./Uint8ArrayReader\":21}],20:[function(t,e,r){\"use strict\";var n=t(\"./DataReader\");function a(t){n.call(this,t)}t(\"../utils\").inherits(a,n),a.prototype.byteAt=function(t){return this.data.charCodeAt(this.zero+t)},a.prototype.lastIndexOfSignature=function(t){return this.data.lastIndexOf(t)-this.zero},a.prototype.readAndCheckSignature=function(t){return t===this.readData(4)},a.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=a},{\"../utils\":32,\"./DataReader\":18}],21:[function(t,e,r){\"use strict\";var n=t(\"./ArrayReader\");function a(t){n.call(this,t)}t(\"../utils\").inherits(a,n),a.prototype.readData=function(t){if(this.checkOffset(t),0===t)return new Uint8Array(0);var e=this.data.subarray(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=a},{\"../utils\":32,\"./ArrayReader\":17}],22:[function(t,e,r){\"use strict\";var n=t(\"../utils\"),a=t(\"../support\"),o=t(\"./ArrayReader\"),i=t(\"./StringReader\"),s=t(\"./NodeBufferReader\"),l=t(\"./Uint8ArrayReader\");e.exports=function(t){var e=n.getTypeOf(t);return n.checkSupport(e),\"string\"!==e||a.uint8array?\"nodebuffer\"===e?new s(t):a.uint8array?new l(n.transformTo(\"uint8array\",t)):new o(n.transformTo(\"array\",t)):new i(t)}},{\"../support\":30,\"../utils\":32,\"./ArrayReader\":17,\"./NodeBufferReader\":19,\"./StringReader\":20,\"./Uint8ArrayReader\":21}],23:[function(t,e,r){\"use strict\";r.LOCAL_FILE_HEADER=\"PK\u0003\u0004\",r.CENTRAL_FILE_HEADER=\"PK\u0001\u0002\",r.CENTRAL_DIRECTORY_END=\"PK\u0005\u0006\",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR=\"PK\u0006\u0007\",r.ZIP64_CENTRAL_DIRECTORY_END=\"PK\u0006\u0006\",r.DATA_DESCRIPTOR=\"PK\u0007\\b\"},{}],24:[function(t,e,r){\"use strict\";var n=t(\"./GenericWorker\"),a=t(\"../utils\");function o(t){n.call(this,\"ConvertWorker to \"+t),this.destType=t}a.inherits(o,n),o.prototype.processChunk=function(t){this.push({data:a.transformTo(this.destType,t.data),meta:t.meta})},e.exports=o},{\"../utils\":32,\"./GenericWorker\":28}],25:[function(t,e,r){\"use strict\";var n=t(\"./GenericWorker\"),a=t(\"../crc32\");function o(){n.call(this,\"Crc32Probe\"),this.withStreamInfo(\"crc32\",0)}t(\"../utils\").inherits(o,n),o.prototype.processChunk=function(t){this.streamInfo.crc32=a(t.data,this.streamInfo.crc32||0),this.push(t)},e.exports=o},{\"../crc32\":4,\"../utils\":32,\"./GenericWorker\":28}],26:[function(t,e,r){\"use strict\";var n=t(\"../utils\"),a=t(\"./GenericWorker\");function o(t){a.call(this,\"DataLengthProbe for \"+t),this.propName=t,this.withStreamInfo(t,0)}n.inherits(o,a),o.prototype.processChunk=function(t){if(t){var e=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=e+t.data.length}a.prototype.processChunk.call(this,t)},e.exports=o},{\"../utils\":32,\"./GenericWorker\":28}],27:[function(t,e,r){\"use strict\";var n=t(\"../utils\"),a=t(\"./GenericWorker\");function o(t){a.call(this,\"DataWorker\");var e=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type=\"\",this._tickScheduled=!1,t.then(function(t){e.dataIsReady=!0,e.data=t,e.max=t&&t.length||0,e.type=n.getTypeOf(t),e.isPaused||e._tickAndRepeat()},function(t){e.error(t)})}n.inherits(o,a),o.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this.data=null},o.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,n.delay(this._tickAndRepeat,[],this)),!0)},o.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(n.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},o.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var t=null,e=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case\"string\":t=this.data.substring(this.index,e);break;case\"uint8array\":t=this.data.subarray(this.index,e);break;case\"array\":case\"nodebuffer\":t=this.data.slice(this.index,e)}return this.index=e,this.push({data:t,meta:{percent:this.max?this.index/this.max*100:0}})},e.exports=o},{\"../utils\":32,\"./GenericWorker\":28}],28:[function(t,e,r){\"use strict\";function n(t){this.name=t||\"default\",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}n.prototype={push:function(t){this.emit(\"data\",t)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit(\"end\"),this.cleanUp(),this.isFinished=!0}catch(t){this.emit(\"error\",t)}return!0},error:function(t){return!this.isFinished&&(this.isPaused?this.generatedError=t:(this.isFinished=!0,this.emit(\"error\",t),this.previous&&this.previous.error(t),this.cleanUp()),!0)},on:function(t,e){return this._listeners[t].push(e),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(t,e){if(this._listeners[t])for(var r=0;r \"+t:t}},e.exports=n},{}],29:[function(t,e,r){\"use strict\";var c=t(\"../utils\"),a=t(\"./ConvertWorker\"),o=t(\"./GenericWorker\"),u=t(\"../base64\"),n=t(\"../support\"),i=t(\"../external\"),s=null;if(n.nodestream)try{s=t(\"../nodejs/NodejsStreamOutputAdapter\")}catch(t){}function l(t,e,r){var n=e;switch(e){case\"blob\":case\"arraybuffer\":n=\"uint8array\";break;case\"base64\":n=\"string\"}try{this._internalType=n,this._outputType=e,this._mimeType=r,c.checkSupport(n),this._worker=t.pipe(new a(n)),t.lock()}catch(t){this._worker=new o(\"error\"),this._worker.error(t)}}l.prototype={accumulate:function(t){return s=this,l=t,new i.Promise(function(e,r){var n=[],a=s._internalType,o=s._outputType,i=s._mimeType;s.on(\"data\",function(t,e){n.push(t),l&&l(e)}).on(\"error\",function(t){n=[],r(t)}).on(\"end\",function(){try{var t=function(t,e,r){switch(t){case\"blob\":return c.newBlob(c.transformTo(\"arraybuffer\",e),r);case\"base64\":return u.encode(e);default:return c.transformTo(t,e)}}(o,function(t,e){var r,n=0,a=null,o=0;for(r=0;r>>6:(r<65536?e[o++]=224|r>>>12:(e[o++]=240|r>>>18,e[o++]=128|r>>>12&63),e[o++]=128|r>>>6&63),e[o++]=128|63&r);return e}(t)},o.utf8decode=function(t){return l.nodebuffer?s.transformTo(\"nodebuffer\",t).toString(\"utf-8\"):function(t){var e,r,n,a,o=t.length,i=new Array(2*o);for(e=r=0;e>10&1023,i[r++]=56320|1023&n)}return i.length!==r&&(i.subarray?i=i.subarray(0,r):i.length=r),s.applyFromCharCode(i)}(t=s.transformTo(l.uint8array?\"uint8array\":\"array\",t))},s.inherits(i,n),i.prototype.processChunk=function(t){var e=s.transformTo(l.uint8array?\"uint8array\":\"array\",t.data);if(this.leftOver&&this.leftOver.length){if(l.uint8array){var r=e;(e=new Uint8Array(r.length+this.leftOver.length)).set(this.leftOver,0),e.set(r,this.leftOver.length)}else e=this.leftOver.concat(e);this.leftOver=null}var n=function(t,e){var r;for((e=e||t.length)>t.length&&(e=t.length),r=e-1;0<=r&&128==(192&t[r]);)r--;return r<0?e:0===r?e:r+c[t[r]]>e?r:e}(e),a=e;n!==e.length&&(l.uint8array?(a=e.subarray(0,n),this.leftOver=e.subarray(n,e.length)):(a=e.slice(0,n),this.leftOver=e.slice(n,e.length))),this.push({data:o.utf8decode(a),meta:t.meta})},i.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:o.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},o.Utf8DecodeWorker=i,s.inherits(u,n),u.prototype.processChunk=function(t){this.push({data:o.utf8encode(t.data),meta:t.meta})},o.Utf8EncodeWorker=u},{\"./nodejsUtils\":14,\"./stream/GenericWorker\":28,\"./support\":30,\"./utils\":32}],32:[function(t,e,s){\"use strict\";var l=t(\"./support\"),c=t(\"./base64\"),r=t(\"./nodejsUtils\"),n=t(\"set-immediate-shim\"),u=t(\"./external\");function a(t){return t}function p(t,e){for(var r=0;r>8;this.dir=!!(16&this.externalFileAttributes),0==t&&(this.dosPermissions=63&this.externalFileAttributes),3==t&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||\"/\"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(t){if(this.extraFields[1]){var e=n(this.extraFields[1].value);this.uncompressedSize===o.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===o.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===o.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===o.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(t){var e,r,n,a=t.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});t.index+4>>6:(r<65536?e[o++]=224|r>>>12:(e[o++]=240|r>>>18,e[o++]=128|r>>>12&63),e[o++]=128|r>>>6&63),e[o++]=128|63&r);return e},r.buf2binstring=function(t){return u(t,t.length)},r.binstring2buf=function(t){for(var e=new l.Buf8(t.length),r=0,n=e.length;r>10&1023,s[n++]=56320|1023&a)}return u(s,n)},r.utf8border=function(t,e){var r;for((e=e||t.length)>t.length&&(e=t.length),r=e-1;0<=r&&128==(192&t[r]);)r--;return r<0?e:0===r?e:r+c[t[r]]>e?r:e}},{\"./common\":41}],43:[function(t,e,r){\"use strict\";e.exports=function(t,e,r,n){for(var a=65535&t|0,o=t>>>16&65535|0,i=0;0!==r;){for(r-=i=2e3>>1:t>>>1;e[r]=t}return e}();e.exports=function(t,e,r,n){var a=s,o=n+r;t^=-1;for(var i=n;i>>8^a[255&(t^e[i])];return-1^t}},{}],46:[function(t,e,r){\"use strict\";var l,f=t(\"../utils/common\"),c=t(\"./trees\"),d=t(\"./adler32\"),h=t(\"./crc32\"),n=t(\"./messages\"),u=0,p=0,m=-2,a=2,g=8,o=286,i=30,s=19,v=2*o+1,A=15,y=3,b=258,x=b+y+1,w=42,_=113;function C(t,e){return t.msg=n[e],e}function P(t){return(t<<1)-(4t.avail_out&&(r=t.avail_out),0!==r&&(f.arraySet(t.output,e.pending_buf,e.pending_out,r,t.next_out),t.next_out+=r,e.pending_out+=r,t.total_out+=r,t.avail_out-=r,e.pending-=r,0===e.pending&&(e.pending_out=0))}function E(t,e){c._tr_flush_block(t,0<=t.block_start?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,L(t.strm)}function T(t,e){t.pending_buf[t.pending++]=e}function k(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function R(t,e){var r,n,a=t.max_chain_length,o=t.strstart,i=t.prev_length,s=t.nice_match,l=t.strstart>t.w_size-x?t.strstart-(t.w_size-x):0,c=t.window,u=t.w_mask,p=t.prev,f=t.strstart+b,d=c[o+i-1],h=c[o+i];t.prev_length>=t.good_match&&(a>>=2),s>t.lookahead&&(s=t.lookahead);do{if(c[(r=e)+i]===h&&c[r+i-1]===d&&c[r]===c[o]&&c[++r]===c[o+1]){o+=2,r++;do{}while(c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&ol&&0!=--a);return i<=t.lookahead?i:t.lookahead}function F(t){var e,r,n,a,o,i,s,l,c,u,p=t.w_size;do{if(a=t.window_size-t.lookahead-t.strstart,t.strstart>=p+(p-x)){for(f.arraySet(t.window,t.window,p,p,0),t.match_start-=p,t.strstart-=p,t.block_start-=p,e=r=t.hash_size;n=t.head[--e],t.head[e]=p<=n?n-p:0,--r;);for(e=r=p;n=t.prev[--e],t.prev[e]=p<=n?n-p:0,--r;);a+=p}if(0===t.strm.avail_in)break;if(i=t.strm,s=t.window,l=t.strstart+t.lookahead,u=void 0,(c=a)<(u=i.avail_in)&&(u=c),r=0===u?0:(i.avail_in-=u,f.arraySet(s,i.input,i.next_in,u,l),1===i.state.wrap?i.adler=d(i.adler,s,u,l):2===i.state.wrap&&(i.adler=h(i.adler,s,u,l)),i.next_in+=u,i.total_in+=u,u),t.lookahead+=r,t.lookahead+t.insert>=y)for(o=t.strstart-t.insert,t.ins_h=t.window[o],t.ins_h=(t.ins_h<=y&&(t.ins_h=(t.ins_h<=y)if(n=c._tr_tally(t,t.strstart-t.match_start,t.match_length-y),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=y){for(t.match_length--;t.strstart++,t.ins_h=(t.ins_h<=y&&(t.ins_h=(t.ins_h<=y&&t.match_length<=t.prev_length){for(a=t.strstart+t.lookahead-y,n=c._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-y),t.lookahead-=t.prev_length-1,t.prev_length-=2;++t.strstart<=a&&(t.ins_h=(t.ins_h<t.pending_buf_size-5&&(r=t.pending_buf_size-5);;){if(t.lookahead<=1){if(F(t),0===t.lookahead&&e===u)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+r;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,E(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-x&&(E(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(E(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(E(t,!1),t.strm.avail_out),1)}),new B(4,4,8,4,I),new B(4,5,16,8,I),new B(4,6,32,32,I),new B(4,4,16,16,O),new B(8,16,32,32,O),new B(8,16,128,128,O),new B(8,32,128,256,O),new B(32,128,258,1024,O),new B(32,258,258,4096,O)],r.deflateInit=function(t,e){return z(t,e,g,15,8,0)},r.deflateInit2=z,r.deflateReset=M,r.deflateResetKeep=D,r.deflateSetHeader=function(t,e){return t&&t.state?2!==t.state.wrap?m:(t.state.gzhead=e,p):m},r.deflate=function(t,e){var r,n,a,o;if(!t||!t.state||5>8&255),T(n,n.gzhead.time>>16&255),T(n,n.gzhead.time>>24&255),T(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),T(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(T(n,255&n.gzhead.extra.length),T(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(t.adler=h(t.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69):(T(n,0),T(n,0),T(n,0),T(n,0),T(n,0),T(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),T(n,3),n.status=_);else{var i=g+(n.w_bits-8<<4)<<8;i|=(2<=n.strategy||n.level<2?0:n.level<6?1:6===n.level?2:3)<<6,0!==n.strstart&&(i|=32),i+=31-i%31,n.status=_,k(n,i),0!==n.strstart&&(k(n,t.adler>>>16),k(n,65535&t.adler)),t.adler=1}if(69===n.status)if(n.gzhead.extra){for(a=n.pending;n.gzindex<(65535&n.gzhead.extra.length)&&(n.pending!==n.pending_buf_size||(n.gzhead.hcrc&&n.pending>a&&(t.adler=h(t.adler,n.pending_buf,n.pending-a,a)),L(t),a=n.pending,n.pending!==n.pending_buf_size));)T(n,255&n.gzhead.extra[n.gzindex]),n.gzindex++;n.gzhead.hcrc&&n.pending>a&&(t.adler=h(t.adler,n.pending_buf,n.pending-a,a)),n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=73)}else n.status=73;if(73===n.status)if(n.gzhead.name){a=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>a&&(t.adler=h(t.adler,n.pending_buf,n.pending-a,a)),L(t),a=n.pending,n.pending===n.pending_buf_size)){o=1;break}o=n.gzindexa&&(t.adler=h(t.adler,n.pending_buf,n.pending-a,a)),0===o&&(n.gzindex=0,n.status=91)}else n.status=91;if(91===n.status)if(n.gzhead.comment){a=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>a&&(t.adler=h(t.adler,n.pending_buf,n.pending-a,a)),L(t),a=n.pending,n.pending===n.pending_buf_size)){o=1;break}o=n.gzindexa&&(t.adler=h(t.adler,n.pending_buf,n.pending-a,a)),0===o&&(n.status=103)}else n.status=103;if(103===n.status&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&L(t),n.pending+2<=n.pending_buf_size&&(T(n,255&t.adler),T(n,t.adler>>8&255),t.adler=0,n.status=_)):n.status=_),0!==n.pending){if(L(t),0===t.avail_out)return n.last_flush=-1,p}else if(0===t.avail_in&&P(e)<=P(r)&&4!==e)return C(t,-5);if(666===n.status&&0!==t.avail_in)return C(t,-5);if(0!==t.avail_in||0!==n.lookahead||e!==u&&666!==n.status){var s=2===n.strategy?function(t,e){for(var r;;){if(0===t.lookahead&&(F(t),0===t.lookahead)){if(e===u)return 1;break}if(t.match_length=0,r=c._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,r&&(E(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(E(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(E(t,!1),0===t.strm.avail_out)?1:2}(n,e):3===n.strategy?function(t,e){for(var r,n,a,o,i=t.window;;){if(t.lookahead<=b){if(F(t),t.lookahead<=b&&e===u)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=y&&0t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=y?(r=c._tr_tally(t,1,t.match_length-y),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(r=c._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),r&&(E(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(E(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(E(t,!1),0===t.strm.avail_out)?1:2}(n,e):l[n.level].func(n,e);if(3!==s&&4!==s||(n.status=666),1===s||3===s)return 0===t.avail_out&&(n.last_flush=-1),p;if(2===s&&(1===e?c._tr_align(n):5!==e&&(c._tr_stored_block(n,0,0,!1),3===e&&(S(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),L(t),0===t.avail_out))return n.last_flush=-1,p}return 4!==e?p:n.wrap<=0?1:(2===n.wrap?(T(n,255&t.adler),T(n,t.adler>>8&255),T(n,t.adler>>16&255),T(n,t.adler>>24&255),T(n,255&t.total_in),T(n,t.total_in>>8&255),T(n,t.total_in>>16&255),T(n,t.total_in>>24&255)):(k(n,t.adler>>>16),k(n,65535&t.adler)),L(t),0=r.w_size&&(0===o&&(S(r.head),r.strstart=0,r.block_start=0,r.insert=0),c=new f.Buf8(r.w_size),f.arraySet(c,e,u-r.w_size,r.w_size,0),e=c,u=r.w_size),i=t.avail_in,s=t.next_in,l=t.input,t.avail_in=u,t.next_in=0,t.input=e,F(r);r.lookahead>=y;){for(n=r.strstart,a=r.lookahead-(y-1);r.ins_h=(r.ins_h<>>=b=y>>>24,h-=b,0==(b=y>>>16&255))S[o++]=65535&y;else{if(!(16&b)){if(0==(64&b)){y=m[(65535&y)+(d&(1<>>=b,h-=b),h<15&&(d+=P[n++]<>>=b=y>>>24,h-=b,!(16&(b=y>>>16&255))){if(0==(64&b)){y=g[(65535&y)+(d&(1<>>=b,h-=b,(b=o-i)>3,d&=(1<<(h-=x<<3))-1,t.next_in=n,t.next_out=o,t.avail_in=n>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function o(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new T.Buf16(320),this.work=new T.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function i(t){var e;return t&&t.state?(e=t.state,t.total_in=t.total_out=e.total=0,t.msg=\"\",e.wrap&&(t.adler=1&e.wrap),e.mode=M,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new T.Buf32(n),e.distcode=e.distdyn=new T.Buf32(a),e.sane=1,e.back=-1,N):D}function s(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,i(t)):D}function l(t,e){var r,n;return t&&t.state?(n=t.state,e<0?(r=0,e=-e):(r=1+(e>>4),e<48&&(e&=15)),e&&(e<8||15=o.wsize?(T.arraySet(o.window,e,r-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):(n<(a=o.wsize-o.wnext)&&(a=n),T.arraySet(o.window,e,r-n,a,o.wnext),(n-=a)?(T.arraySet(o.window,e,r-n,n,0),o.wnext=n,o.whave=o.wsize):(o.wnext+=a,o.wnext===o.wsize&&(o.wnext=0),o.whave>>8&255,r.check=R(r.check,L,2,0),u=c=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&c)<<8)+(c>>8))%31){t.msg=\"incorrect header check\",r.mode=30;break}if(8!=(15&c)){t.msg=\"unknown compression method\",r.mode=30;break}if(u-=4,w=8+(15&(c>>>=4)),0===r.wbits)r.wbits=w;else if(w>r.wbits){t.msg=\"invalid window size\",r.mode=30;break}r.dmax=1<>8&1),512&r.flags&&(L[0]=255&c,L[1]=c>>>8&255,r.check=R(r.check,L,2,0)),u=c=0,r.mode=3;case 3:for(;u<32;){if(0===s)break t;s--,c+=n[o++]<>>8&255,L[2]=c>>>16&255,L[3]=c>>>24&255,r.check=R(r.check,L,4,0)),u=c=0,r.mode=4;case 4:for(;u<16;){if(0===s)break t;s--,c+=n[o++]<>8),512&r.flags&&(L[0]=255&c,L[1]=c>>>8&255,r.check=R(r.check,L,2,0)),u=c=0,r.mode=5;case 5:if(1024&r.flags){for(;u<16;){if(0===s)break t;s--,c+=n[o++]<>>8&255,r.check=R(r.check,L,2,0)),u=c=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&(s<(d=r.length)&&(d=s),d&&(r.head&&(w=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),T.arraySet(r.head.extra,n,o,d,w)),512&r.flags&&(r.check=R(r.check,n,d,o)),s-=d,o+=d,r.length-=d),r.length))break t;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===s)break t;for(d=0;w=n[o+d++],r.head&&w&&r.length<65536&&(r.head.name+=String.fromCharCode(w)),w&&d>9&1,r.head.done=!0),t.adler=r.check=0,r.mode=12;break;case 10:for(;u<32;){if(0===s)break t;s--,c+=n[o++]<>>=7&u,u-=7&u,r.mode=27;break}for(;u<3;){if(0===s)break t;s--,c+=n[o++]<>>=1)){case 0:r.mode=14;break;case 1:if(U(r),r.mode=20,6!==e)break;c>>>=2,u-=2;break t;case 2:r.mode=17;break;case 3:t.msg=\"invalid block type\",r.mode=30}c>>>=2,u-=2;break;case 14:for(c>>>=7&u,u-=7&u;u<32;){if(0===s)break t;s--,c+=n[o++]<>>16^65535)){t.msg=\"invalid stored block lengths\",r.mode=30;break}if(r.length=65535&c,u=c=0,r.mode=15,6===e)break t;case 15:r.mode=16;case 16:if(d=r.length){if(s>>=5,u-=5,r.ndist=1+(31&c),c>>>=5,u-=5,r.ncode=4+(15&c),c>>>=4,u-=4,286>>=3,u-=3}for(;r.have<19;)r.lens[E[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,C={bits:r.lenbits},_=I(0,r.lens,0,19,r.lencode,0,r.work,C),r.lenbits=C.bits,_){t.msg=\"invalid code lengths set\",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have>>16&255,A=65535&S,!((g=S>>>24)<=u);){if(0===s)break t;s--,c+=n[o++]<>>=g,u-=g,r.lens[r.have++]=A;else{if(16===A){for(P=g+2;u>>=g,u-=g,0===r.have){t.msg=\"invalid bit length repeat\",r.mode=30;break}w=r.lens[r.have-1],d=3+(3&c),c>>>=2,u-=2}else if(17===A){for(P=g+3;u>>=g)),c>>>=3,u-=3}else{for(P=g+7;u>>=g)),c>>>=7,u-=7}if(r.have+d>r.nlen+r.ndist){t.msg=\"invalid bit length repeat\",r.mode=30;break}for(;d--;)r.lens[r.have++]=w}}if(30===r.mode)break;if(0===r.lens[256]){t.msg=\"invalid code -- missing end-of-block\",r.mode=30;break}if(r.lenbits=9,C={bits:r.lenbits},_=I(O,r.lens,0,r.nlen,r.lencode,0,r.work,C),r.lenbits=C.bits,_){t.msg=\"invalid literal/lengths set\",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,C={bits:r.distbits},_=I(B,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,C),r.distbits=C.bits,_){t.msg=\"invalid distances set\",r.mode=30;break}if(r.mode=20,6===e)break t;case 20:r.mode=21;case 21:if(6<=s&&258<=l){t.next_out=i,t.avail_out=l,t.next_in=o,t.avail_in=s,r.hold=c,r.bits=u,F(t,f),i=t.next_out,a=t.output,l=t.avail_out,o=t.next_in,n=t.input,s=t.avail_in,c=r.hold,u=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;v=(S=r.lencode[c&(1<>>16&255,A=65535&S,!((g=S>>>24)<=u);){if(0===s)break t;s--,c+=n[o++]<>y)])>>>16&255,A=65535&S,!(y+(g=S>>>24)<=u);){if(0===s)break t;s--,c+=n[o++]<>>=y,u-=y,r.back+=y}if(c>>>=g,u-=g,r.back+=g,r.length=A,0===v){r.mode=26;break}if(32&v){r.back=-1,r.mode=12;break}if(64&v){t.msg=\"invalid literal/length code\",r.mode=30;break}r.extra=15&v,r.mode=22;case 22:if(r.extra){for(P=r.extra;u>>=r.extra,u-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;v=(S=r.distcode[c&(1<>>16&255,A=65535&S,!((g=S>>>24)<=u);){if(0===s)break t;s--,c+=n[o++]<>y)])>>>16&255,A=65535&S,!(y+(g=S>>>24)<=u);){if(0===s)break t;s--,c+=n[o++]<>>=y,u-=y,r.back+=y}if(c>>>=g,u-=g,r.back+=g,64&v){t.msg=\"invalid distance code\",r.mode=30;break}r.offset=A,r.extra=15&v,r.mode=24;case 24:if(r.extra){for(P=r.extra;u>>=r.extra,u-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){t.msg=\"invalid distance too far back\",r.mode=30;break}r.mode=25;case 25:if(0===l)break t;if(d=f-l,r.offset>d){if((d=r.offset-d)>r.whave&&r.sane){t.msg=\"invalid distance too far back\",r.mode=30;break}h=d>r.wnext?(d-=r.wnext,r.wsize-d):r.wnext-d,d>r.length&&(d=r.length),m=r.window}else m=a,h=i-r.offset,d=r.length;for(ld?(m=F[I+i[y]],E[T+i[y]]):(m=96,0),l=1<>C)+(c-=l)]=h<<24|m<<16|g|0,0!==c;);for(l=1<>=1;if(0!==l?(L&=l-1,L+=l):L=0,y++,0==--k[A]){if(A===x)break;A=e[r+i[y]]}if(w>>7)]}function _(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function C(t,e,r){t.bi_valid>a-r?(t.bi_buf|=e<>a-t.bi_valid,t.bi_valid+=r-a):(t.bi_buf|=e<>>=1,r<<=1,0<--e;);return r>>>1}function L(t,e,r){var n,a,o=new Array(g+1),i=0;for(n=1;n<=g;n++)o[n]=i=i+r[n-1]<<1;for(a=0;a<=e;a++){var s=t[2*a+1];0!==s&&(t[2*a]=S(o[s]++,s))}}function E(t){var e;for(e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function T(t){8>1;1<=r;r--)R(t,o,r);for(a=l;r=t.heap[1],t.heap[1]=t.heap[t.heap_len--],R(t,o,1),n=t.heap[1],t.heap[--t.heap_max]=r,t.heap[--t.heap_max]=n,o[2*a]=o[2*r]+o[2*n],t.depth[a]=(t.depth[r]>=t.depth[n]?t.depth[r]:t.depth[n])+1,o[2*r+1]=o[2*n+1]=a,t.heap[1]=a++,R(t,o,1),2<=t.heap_len;);t.heap[--t.heap_max]=t.heap[1],function(t,e){var r,n,a,o,i,s,l=e.dyn_tree,c=e.max_code,u=e.stat_desc.static_tree,p=e.stat_desc.has_stree,f=e.stat_desc.extra_bits,d=e.stat_desc.extra_base,h=e.stat_desc.max_length,m=0;for(o=0;o<=g;o++)t.bl_count[o]=0;for(l[2*t.heap[t.heap_max]+1]=0,r=t.heap_max+1;r<573;r++)h<(o=l[2*l[2*(n=t.heap[r])+1]+1]+1)&&(o=h,m++),l[2*n+1]=o,c>=7;n<30;n++)for(b[n]=a<<7,t=0;t<1<>>=1)if(1&r&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<256;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0}(t)),I(t,t.l_desc),I(t,t.d_desc),i=function(t){var e;for(O(t,t.dyn_ltree,t.l_desc.max_code),O(t,t.dyn_dtree,t.d_desc.max_code),I(t,t.bl_desc),e=18;3<=e&&0===t.bl_tree[2*u[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),a=t.opt_len+3+7>>>3,(o=t.static_len+3+7>>>3)<=a&&(a=o)):a=o=r+5,r+4<=a&&-1!==e?D(t,e,r,n):4===t.strategy||o===a?(C(t,2+(n?1:0),3),F(t,p,f)):(C(t,4+(n?1:0),3),function(t,e,r,n){var a;for(C(t,e-257,5),C(t,r-1,5),C(t,n-4,4),a=0;a>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&r,t.last_lit++,0===e?t.dyn_ltree[2*r]++:(t.matches++,e--,t.dyn_ltree[2*(h[r]+256+1)]++,t.dyn_dtree[2*w(e)]++),t.last_lit===t.lit_bufsize-1},r._tr_align=function(t){var e;C(t,2,3),P(t,256,p),16===(e=t).bi_valid?(_(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):8<=e.bi_valid&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}},{\"../utils/common\":41}],53:[function(t,e,r){\"use strict\";e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg=\"\",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(t,e,r){\"use strict\";e.exports=\"function\"==typeof setImmediate?setImmediate:function(){var t=[].slice.apply(arguments);t.splice(1,0,0),setTimeout.apply(null,t)}},{}]},{},[10])(10)})}).call(this,void 0!==r?r:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,void 0!==r?r:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,void 0!==r?r:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,void 0!==r?r:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}]},{},[1])(1)}),function o(i,s,l){function c(e,t){if(!s[e]){if(!i[e]){var r=\"function\"==typeof require&&require;if(!t&&r)return r(e,!0);if(u)return u(e,!0);var n=new Error(\"Cannot find module '\"+e+\"'\");throw n.code=\"MODULE_NOT_FOUND\",n}var a=s[e]={exports:{}};i[e][0].call(a.exports,function(t){return c(i[e][1][t]||t)},a,a.exports,o,i,s,l)}return s[e].exports}for(var u=\"function\"==typeof require&&require,t=0;ti;)o.call(t,n=a[i++])&&e.push(n);return e}},{104:104,107:107,108:108}],62:[function(t,e,r){var m=t(70),g=t(52),v=t(72),A=t(118),y=t(54),b=\"prototype\",x=function(t,e,r){var n,a,o,i,s=t&x.F,l=t&x.G,c=t&x.S,u=t&x.P,p=t&x.B,f=l?m:c?m[e]||(m[e]={}):(m[e]||{})[b],d=l?g:g[e]||(g[e]={}),h=d[b]||(d[b]={});for(n in l&&(r=e),r)o=((a=!s&&f&&void 0!==f[n])?f:r)[n],i=p&&a?y(o,m):u&&\"function\"==typeof o?y(Function.call,o):o,f&&A(f,n,o,t&x.U),d[n]!=o&&v(d,n,i),u&&h[n]!=o&&(h[n]=o)};m.core=g,x.F=1,x.G=2,x.S=4,x.P=8,x.B=16,x.W=32,x.U=64,x.R=128,e.exports=x},{118:118,52:52,54:54,70:70,72:72}],63:[function(t,e,r){var n=t(152)(\"match\");e.exports=function(e){var r=/./;try{\"/./\"[e](r)}catch(t){try{return r[n]=!1,!\"/./\"[e](r)}catch(t){}}return!0}},{152:152}],64:[function(t,e,r){arguments[4][23][0].apply(r,arguments)},{23:23}],65:[function(t,e,r){\"use strict\";t(248);var u=t(118),p=t(72),f=t(64),d=t(57),h=t(152),m=t(120),g=h(\"species\"),v=!f(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:\"7\"},t},\"7\"!==\"\".replace(t,\"$
\")}),A=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r=\"ab\".split(t);return 2===r.length&&\"a\"===r[0]&&\"b\"===r[1]}();e.exports=function(r,t,e){var n=h(r),o=!f(function(){var t={};return t[n]=function(){return 7},7!=\"\"[r](t)}),a=o?!f(function(){var t=!1,e=/a/;return e.exec=function(){return t=!0,null},\"split\"===r&&(e.constructor={},e.constructor[g]=function(){return e}),e[n](\"\"),!t}):void 0;if(!o||!a||\"replace\"===r&&!v||\"split\"===r&&!A){var i=/./[n],s=e(d,n,\"\"[r],function(t,e,r,n,a){return e.exec===m?o&&!a?{done:!0,value:i.call(e,r,n)}:{done:!0,value:t.call(r,e,n)}:{done:!1}}),l=s[0],c=s[1];u(String.prototype,r,l),p(RegExp.prototype,n,2==t?function(t,e){return c.call(t,this,e)}:function(t){return c.call(t,this)})}}},{118:118,120:120,152:152,248:248,57:57,64:64,72:72}],66:[function(t,e,r){\"use strict\";var n=t(38);e.exports=function(){var t=n(this),e=\"\";return t.global&&(e+=\"g\"),t.ignoreCase&&(e+=\"i\"),t.multiline&&(e+=\"m\"),t.unicode&&(e+=\"u\"),t.sticky&&(e+=\"y\"),e}},{38:38}],67:[function(t,e,r){\"use strict\";var h=t(79),m=t(81),g=t(141),v=t(54),A=t(152)(\"isConcatSpreadable\");e.exports=function t(e,r,n,a,o,i,s,l){for(var c,u,p=o,f=0,d=!!s&&v(s,l,3);fdocument.F=Object<\\/script>\"),t.close(),u=t.F;r--;)delete u[c][s[r]];return u()};t.exports=Object.create||function(t,e){var r;return null!==t?(a[c]=o(t),r=new a,a[c]=null,r[l]=t):r=u(),void 0===e?r:i(r,e)}},{100:100,125:125,38:38,59:59,60:60,73:73}],99:[function(t,e,r){arguments[4][29][0].apply(r,arguments)},{143:143,29:29,38:38,58:58,74:74}],100:[function(t,e,r){var i=t(99),s=t(38),l=t(107);e.exports=t(58)?Object.defineProperties:function(t,e){s(t);for(var r,n=l(e),a=n.length,o=0;oa;)i(n,r=e[a++])&&(~l(o,r)||o.push(r));return o}},{125:125,140:140,41:41,71:71}],107:[function(t,e,r){var n=t(106),a=t(60);e.exports=Object.keys||function(t){return n(t,a)}},{106:106,60:60}],108:[function(t,e,r){r.f={}.propertyIsEnumerable},{}],109:[function(t,e,r){var a=t(62),o=t(52),i=t(64);e.exports=function(t,e){var r=(o.Object||{})[t]||Object[t],n={};n[t]=e(r),a(a.S+a.F*i(function(){r(1)}),\"Object\",n)}},{52:52,62:62,64:64}],110:[function(t,e,r){var l=t(58),c=t(107),u=t(140),p=t(108).f;e.exports=function(s){return function(t){for(var e,r=u(t),n=c(r),a=n.length,o=0,i=[];o>>0||(i.test(r)?16:10))}:n},{134:134,135:135,70:70}],114:[function(t,e,r){e.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},{}],115:[function(t,e,r){var n=t(38),a=t(81),o=t(96);e.exports=function(t,e){if(n(t),a(e)&&e.constructor===t)return e;var r=o.f(t);return(0,r.resolve)(e),r.promise}},{38:38,81:81,96:96}],116:[function(t,e,r){arguments[4][30][0].apply(r,arguments)},{30:30}],117:[function(t,e,r){var a=t(118);e.exports=function(t,e,r){for(var n in e)a(t,n,e[n],r);return t}},{118:118}],118:[function(t,e,r){var o=t(70),i=t(72),s=t(71),l=t(147)(\"src\"),n=t(69),a=\"toString\",c=(\"\"+n).split(a);t(52).inspectSource=function(t){return n.call(t)},(e.exports=function(t,e,r,n){var a=\"function\"==typeof r;a&&(s(r,\"name\")||i(r,\"name\",e)),t[e]!==r&&(a&&(s(r,l)||i(r,l,t[e]?\"\"+t[e]:c.join(String(e)))),t===o?t[e]=r:n?t[e]?t[e]=r:i(t,e,r):(delete t[e],i(t,e,r)))})(Function.prototype,a,function(){return\"function\"==typeof this&&this[l]||n.call(this)})},{147:147,52:52,69:69,70:70,71:71,72:72}],119:[function(t,e,r){\"use strict\";var a=t(47),o=RegExp.prototype.exec;e.exports=function(t,e){var r=t.exec;if(\"function\"==typeof r){var n=r.call(t,e);if(\"object\"!=typeof n)throw new TypeError(\"RegExp exec method returned something other than an Object or null\");return n}if(\"RegExp\"!==a(t))throw new TypeError(\"RegExp#exec called on incompatible receiver\");return o.call(t,e)}},{47:47}],120:[function(t,e,r){\"use strict\";var n,a,i=t(66),s=RegExp.prototype.exec,l=String.prototype.replace,o=s,c=\"lastIndex\",u=(n=/a/,a=/b*/g,s.call(n,\"a\"),s.call(a,\"a\"),0!==n[c]||0!==a[c]),p=void 0!==/()??/.exec(\"\")[1];(u||p)&&(o=function(t){var e,r,n,a,o=this;return p&&(r=new RegExp(\"^\"+o.source+\"$(?!\\\\s)\",i.call(o))),u&&(e=o[c]),n=s.call(o,t),u&&n&&(o[c]=o.global?n.index+n[0].length:e),p&&n&&1\"+a+\"\"}var a=t(62),o=t(64),i=t(57),s=/\"/g;e.exports=function(e,t){var r={};r[e]=t(n),a(a.P+a.F*o(function(){var t=\"\"[e]('\"');return t!==t.toLowerCase()||3l&&(c=c.slice(0,l)),n?c+a:a+c}},{133:133,141:141,57:57}],133:[function(t,e,r){\"use strict\";var a=t(139),o=t(57);e.exports=function(t){var e=String(o(this)),r=\"\",n=a(t);if(n<0||n==1/0)throw RangeError(\"Count can't be negative\");for(;0>>=1)&&(e+=e))1&n&&(r+=e);return r}},{139:139,57:57}],134:[function(t,e,r){function n(t,e,r){var n={},a=s(function(){return!!l[t]()||\"​…\"!=\"​…\"[t]()}),o=n[t]=a?e(p):l[t];r&&(n[r]=o),i(i.P+i.F*a,\"String\",n)}var i=t(62),a=t(57),s=t(64),l=t(135),o=\"[\"+l+\"]\",c=RegExp(\"^\"+o+o+\"*\"),u=RegExp(o+o+\"*$\"),p=n.trim=function(t,e){return t=String(a(t)),1&e&&(t=t.replace(c,\"\")),2&e&&(t=t.replace(u,\"\")),t};e.exports=n},{135:135,57:57,62:62,64:64}],135:[function(t,e,r){e.exports=\"\\t\\n\\v\\f\\r   ᠎              \\u2028\\u2029\\ufeff\"},{}],136:[function(t,e,r){function n(){var t=+this;if(y.hasOwnProperty(t)){var e=y[t];delete y[t],e()}}function a(t){n.call(t.data)}var o,i,s,l=t(54),c=t(76),u=t(73),p=t(59),f=t(70),d=f.process,h=f.setImmediate,m=f.clearImmediate,g=f.MessageChannel,v=f.Dispatch,A=0,y={},b=\"onreadystatechange\";h&&m||(h=function(t){for(var e=[],r=1;r>1,u=23===e?T(2,-24)-T(2,-77):0,p=0,f=t<0||0===t&&1/t<0?1:0;for((t=E(t))!=t||t===S?(a=t!=t?1:0,n=l):(n=k(R(t)/F),t*(o=T(2,-n))<1&&(n--,o*=2),2<=(t+=1<=n+c?u/o:u*T(2,1-c))*o&&(n++,o/=2),l<=n+c?(a=0,n=l):1<=n+c?(a=(t*o-1)*T(2,e),n+=c):(a=t*T(2,c-1)*T(2,e),n=0));8<=e;i[p++]=255&a,a/=256,e-=8);for(n=n<>1,s=a-7,l=r-1,c=t[l--],u=127&c;for(c>>=7;0>=-s,s+=e;0>8&255]}function W(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function H(t){return M(t,52,8)}function V(t){return M(t,23,4)}function Q(t,e,r){m(t[b],e,{get:function(){return this[r]}})}function Y(t,e,r,n){var a=d(+r);if(a+e>t[N])throw P(x);var o=t[B]._b,i=a+t[D],s=o.slice(i,i+e);return n?s:s.reverse()}function q(t,e,r,n,a,o){var i=d(+r);if(i+e>t[N])throw P(x);for(var s=t[B]._b,l=i+t[D],c=n(+a),u=0;uJ;)(Z=K[J++])in w||s(w,Z,L[Z]);o||(X.constructor=w)}var $=new _(new w(2)),tt=_[b].setInt8;$.setInt8(0,2147483648),$.setInt8(1,2147483649),!$.getInt8(0)&&$.getInt8(1)||l(_[b],{setInt8:function(t,e){tt.call(this,t,e<<24>>24)},setUint8:function(t,e){tt.call(this,t,e<<24>>24)}},!0)}else w=function(t){u(this,w,A);var e=d(t);this._b=g.call(new Array(e),0),this[N]=e},_=function(t,e,r){u(this,_,y),u(t,w,y);var n=t[N],a=p(e);if(a<0||n>24},getUint8:function(t){return Y(this,1,t)[0]},getInt16:function(t,e){var r=Y(this,2,t,e);return(r[1]<<8|r[0])<<16>>16},getUint16:function(t,e){var r=Y(this,2,t,e);return r[1]<<8|r[0]},getInt32:function(t,e){return U(Y(this,4,t,e))},getUint32:function(t,e){return U(Y(this,4,t,e))>>>0},getFloat32:function(t,e){return z(Y(this,4,t,e),23,4)},getFloat64:function(t,e){return z(Y(this,8,t,e),52,8)},setInt8:function(t,e){q(this,1,t,j,e)},setUint8:function(t,e){q(this,1,t,j,e)},setInt16:function(t,e,r){q(this,2,t,G,e,r)},setUint16:function(t,e,r){q(this,2,t,G,e,r)},setInt32:function(t,e,r){q(this,4,t,W,e,r)},setUint32:function(t,e,r){q(this,4,t,W,e,r)},setFloat32:function(t,e,r){q(this,4,t,V,e,r)},setFloat64:function(t,e,r){q(this,8,t,H,e,r)}});v(w,A),v(_,y),s(_[b],i.VIEW,!0),r[A]=w,r[y]=_},{103:103,117:117,124:124,138:138,139:139,141:141,146:146,37:37,40:40,58:58,64:64,70:70,72:72,89:89,99:99}],146:[function(t,e,r){for(var n,a=t(70),o=t(72),i=t(147),s=i(\"typed_array\"),l=i(\"view\"),c=!(!a.ArrayBuffer||!a.DataView),u=c,p=0,f=\"Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array\".split(\",\");p<9;)(n=a[f[p++]])?(o(n.prototype,s,!0),o(n.prototype,l,!0)):u=!1;e.exports={ABV:c,CONSTR:u,TYPED:s,VIEW:l}},{147:147,70:70,72:72}],147:[function(t,e,r){var n=0,a=Math.random();e.exports=function(t){return\"Symbol(\".concat(void 0===t?\"\":t,\")_\",(++n+a).toString(36))}},{}],148:[function(t,e,r){var n=t(70).navigator;e.exports=n&&n.userAgent||\"\"},{70:70}],149:[function(t,e,r){var n=t(81);e.exports=function(t,e){if(!n(t)||t._t!==e)throw TypeError(\"Incompatible receiver, \"+e+\" required!\");return t}},{81:81}],150:[function(t,e,r){var n=t(70),a=t(52),o=t(89),i=t(151),s=t(99).f;e.exports=function(t){var e=a.Symbol||(a.Symbol=o?{}:n.Symbol||{});\"_\"==t.charAt(0)||t in e||s(e,t,{value:i.f(t)})}},{151:151,52:52,70:70,89:89,99:99}],151:[function(t,e,r){r.f=t(152)},{152:152}],152:[function(t,e,r){var n=t(126)(\"wks\"),a=t(147),o=t(70).Symbol,i=\"function\"==typeof o;(e.exports=function(t){return n[t]||(n[t]=i&&o[t]||(i?o:a)(\"Symbol.\"+t))}).store=n},{126:126,147:147,70:70}],153:[function(t,e,r){var n=t(47),a=t(152)(\"iterator\"),o=t(88);e.exports=t(52).getIteratorMethod=function(t){if(null!=t)return t[a]||t[\"@@iterator\"]||o[n(t)]}},{152:152,47:47,52:52,88:88}],154:[function(t,e,r){var n=t(62);n(n.P,\"Array\",{copyWithin:t(39)}),t(35)(\"copyWithin\")},{35:35,39:39,62:62}],155:[function(t,e,r){\"use strict\";var n=t(62),a=t(42)(4);n(n.P+n.F*!t(128)([].every,!0),\"Array\",{every:function(t,e){return a(this,t,e)}})},{128:128,42:42,62:62}],156:[function(t,e,r){var n=t(62);n(n.P,\"Array\",{fill:t(40)}),t(35)(\"fill\")},{35:35,40:40,62:62}],157:[function(t,e,r){\"use strict\";var n=t(62),a=t(42)(2);n(n.P+n.F*!t(128)([].filter,!0),\"Array\",{filter:function(t,e){return a(this,t,e)}})},{128:128,42:42,62:62}],158:[function(t,e,r){\"use strict\";var n=t(62),a=t(42)(6),o=\"findIndex\",i=!0;o in[]&&Array(1)[o](function(){i=!1}),n(n.P+n.F*i,\"Array\",{findIndex:function(t,e){return a(this,t,1=t.length?(this._t=void 0,a(1)):a(0,\"keys\"==e?r:\"values\"==e?t[r]:[r,t[r]])},\"values\"),o.Arguments=o.Array,n(\"keys\"),n(\"values\"),n(\"entries\")},{140:140,35:35,85:85,87:87,88:88}],165:[function(t,e,r){\"use strict\";var n=t(62),a=t(140),o=[].join;n(n.P+n.F*(t(77)!=Object||!t(128)(o)),\"Array\",{join:function(t){return o.call(a(this),void 0===t?\",\":t)}})},{128:128,140:140,62:62,77:77}],166:[function(t,e,r){\"use strict\";var n=t(62),o=t(140),i=t(139),s=t(141),l=[].lastIndexOf,c=!!l&&1/[1].lastIndexOf(1,-0)<0;n(n.P+n.F*(c||!t(128)(l)),\"Array\",{lastIndexOf:function(t,e){if(c)return l.apply(this,arguments)||0;var r=o(this),n=s(r.length),a=n-1;for(1>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},{62:62}],189:[function(t,e,r){var n=t(62),a=Math.exp;n(n.S,\"Math\",{cosh:function(t){return(a(t=+t)+a(-t))/2}})},{62:62}],190:[function(t,e,r){var n=t(62),a=t(90);n(n.S+n.F*(a!=Math.expm1),\"Math\",{expm1:a})},{62:62,90:90}],191:[function(t,e,r){var n=t(62);n(n.S,\"Math\",{fround:t(91)})},{62:62,91:91}],192:[function(t,e,r){var n=t(62),l=Math.abs;n(n.S,\"Math\",{hypot:function(t,e){for(var r,n,a=0,o=0,i=arguments.length,s=0;o>>16)*o+a*(65535&n>>>16)<<16>>>0)}})},{62:62,64:64}],194:[function(t,e,r){var n=t(62);n(n.S,\"Math\",{log10:function(t){return Math.log(t)*Math.LOG10E}})},{62:62}],195:[function(t,e,r){var n=t(62);n(n.S,\"Math\",{log1p:t(92)})},{62:62,92:92}],196:[function(t,e,r){var n=t(62);n(n.S,\"Math\",{log2:function(t){return Math.log(t)/Math.LN2}})},{62:62}],197:[function(t,e,r){var n=t(62);n(n.S,\"Math\",{sign:t(93)})},{62:62,93:93}],198:[function(t,e,r){var n=t(62),a=t(90),o=Math.exp;n(n.S+n.F*t(64)(function(){return-2e-17!=!Math.sinh(-2e-17)}),\"Math\",{sinh:function(t){return Math.abs(t=+t)<1?(a(t)-a(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},{62:62,64:64,90:90}],199:[function(t,e,r){var n=t(62),a=t(90),o=Math.exp;n(n.S,\"Math\",{tanh:function(t){var e=a(t=+t),r=a(-t);return e==1/0?1:r==1/0?-1:(e-r)/(o(t)+o(-t))}})},{62:62,90:90}],200:[function(t,e,r){var n=t(62);n(n.S,\"Math\",{trunc:function(t){return(0w;w++)o(g,b=x[w])&&!o(m,b)&&f(m,b,p(g,b));(m.prototype=v).constructor=m,t(118)(a,h,m)}},{101:101,103:103,118:118,134:134,143:143,48:48,58:58,64:64,70:70,71:71,75:75,98:98,99:99}],202:[function(t,e,r){var n=t(62);n(n.S,\"Number\",{EPSILON:Math.pow(2,-52)})},{62:62}],203:[function(t,e,r){var n=t(62),a=t(70).isFinite;n(n.S,\"Number\",{isFinite:function(t){return\"number\"==typeof t&&a(t)}})},{62:62,70:70}],204:[function(t,e,r){var n=t(62);n(n.S,\"Number\",{isInteger:t(80)})},{62:62,80:80}],205:[function(t,e,r){var n=t(62);n(n.S,\"Number\",{isNaN:function(t){return t!=t}})},{62:62}],206:[function(t,e,r){var n=t(62),a=t(80),o=Math.abs;n(n.S,\"Number\",{isSafeInteger:function(t){return a(t)&&o(t)<=9007199254740991}})},{62:62,80:80}],207:[function(t,e,r){var n=t(62);n(n.S,\"Number\",{MAX_SAFE_INTEGER:9007199254740991})},{62:62}],208:[function(t,e,r){var n=t(62);n(n.S,\"Number\",{MIN_SAFE_INTEGER:-9007199254740991})},{62:62}],209:[function(t,e,r){var n=t(62),a=t(112);n(n.S+n.F*(Number.parseFloat!=a),\"Number\",{parseFloat:a})},{112:112,62:62}],210:[function(t,e,r){var n=t(62),a=t(113);n(n.S+n.F*(Number.parseInt!=a),\"Number\",{parseInt:a})},{113:113,62:62}],211:[function(t,e,r){\"use strict\";function c(t,e){for(var r=-1,n=e;++r<6;)n+=t*i[r],i[r]=n%1e7,n=o(n/1e7)}function u(t){for(var e=6,r=0;0<=--e;)r+=i[e],i[e]=o(r/t),r=r%t*1e7}function p(){for(var t=6,e=\"\";0<=--t;)if(\"\"!==e||0===t||0!==i[t]){var r=String(i[t]);e=\"\"===e?r:e+h.call(\"0\",7-r.length)+r}return e}var n=t(62),f=t(139),d=t(34),h=t(133),a=1..toFixed,o=Math.floor,i=[0,0,0,0,0,0],m=\"Number.toFixed: incorrect invocation!\",g=function(t,e,r){return 0===e?r:e%2==1?g(t,e-1,r*t):g(t*t,e/2,r)};n(n.P+n.F*(!!a&&(\"0.000\"!==8e-5.toFixed(3)||\"1\"!==.9.toFixed(0)||\"1.25\"!==1.255.toFixed(2)||\"1000000000000000128\"!==(0xde0b6b3a7640080).toFixed(0))||!t(64)(function(){a.call({})})),\"Number\",{toFixed:function(t){var e,r,n,a,o=d(this,m),i=f(t),s=\"\",l=\"0\";if(i<0||20t;)e(n[t++]);u._c=[],u._n=!1,r&&!u._h&&N(u)})}}function o(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),a(e,!0))}var i,s,l,c,u=r(89),f=r(70),d=r(54),h=r(47),m=r(62),g=r(81),v=r(33),A=r(37),y=r(68),b=r(127),x=r(136).set,w=r(95)(),_=r(96),C=r(114),P=r(148),S=r(115),L=\"Promise\",E=f.TypeError,T=f.process,k=T&&T.versions,R=k&&k.v8||\"\",F=f[L],I=\"process\"==h(T),O=s=_.f,B=!!function(){try{var t=F.resolve(1),e=(t.constructor={})[r(152)(\"species\")]=function(t){t(n,n)};return(I||\"function\"==typeof PromiseRejectionEvent)&&t.then(n)instanceof e&&0!==R.indexOf(\"6.6\")&&-1===P.indexOf(\"Chrome/66\")}catch(t){}}(),N=function(o){x.call(f,function(){var t,e,r,n=o._v,a=D(o);if(a&&(t=C(function(){I?T.emit(\"unhandledRejection\",n,o):(e=f.onunhandledrejection)?e({promise:o,reason:n}):(r=f.console)&&r.error&&r.error(\"Unhandled promise rejection\",n)}),o._h=I||D(o)?2:1),o._a=void 0,a&&t.e)throw t.v})},D=function(t){return 1!==t._h&&0===(t._a||t._c).length},M=function(e){x.call(f,function(){var t;I?T.emit(\"rejectionHandled\",e):(t=f.onrejectionhandled)&&t({promise:e,reason:e._v})})},z=function(t){var r,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw E(\"Promise can't be resolved itself\");(r=p(t))?w(function(){var e={_w:n,_d:!1};try{r.call(t,d(z,e,1),d(o,e,1))}catch(t){o.call(e,t)}}):(n._v=t,n._s=1,a(n,!1))}catch(t){o.call({_w:n,_d:!1},t)}}};B||(F=function(t){A(this,F,L,\"_h\"),v(t),i.call(this);try{t(d(z,this,1),d(o,this,1))}catch(t){o.call(this,t)}},(i=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=r(117)(F.prototype,{then:function(t,e){var r=O(b(this,F));return r.ok=\"function\"!=typeof t||t,r.fail=\"function\"==typeof e&&e,r.domain=I?T.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&a(this,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),l=function(){var t=new i;this.promise=t,this.resolve=d(z,t,1),this.reject=d(o,t,1)},_.f=O=function(t){return t===F||t===c?new l(t):s(t)}),m(m.G+m.W+m.F*!B,{Promise:F}),r(124)(F,L),r(123)(L),c=r(52)[L],m(m.S+m.F*!B,L,{reject:function(t){var e=O(this);return(0,e.reject)(t),e.promise}}),m(m.S+m.F*(u||!B),L,{resolve:function(t){return S(u&&this===c?F:this,t)}}),m(m.S+m.F*!(B&&r(86)(function(t){F.all(t).catch(n)})),L,{all:function(t){var i=this,e=O(i),s=e.resolve,l=e.reject,r=C(function(){var n=[],a=0,o=1;y(t,!1,function(t){var e=a++,r=!1;n.push(void 0),o++,i.resolve(t).then(function(t){r||(r=!0,n[e]=t,--o||s(n))},l)}),--o||s(n)});return r.e&&l(r.v),e.promise},race:function(t){var e=this,r=O(e),n=r.reject,a=C(function(){y(t,!1,function(t){e.resolve(t).then(r.resolve,n)})});return a.e&&n(a.v),r.promise}})},{114:114,115:115,117:117,123:123,124:124,127:127,136:136,148:148,152:152,33:33,37:37,47:47,52:52,54:54,62:62,68:68,70:70,81:81,86:86,89:89,95:95,96:96}],233:[function(t,e,r){var n=t(62),o=t(33),i=t(38),s=(t(70).Reflect||{}).apply,l=Function.apply;n(n.S+n.F*!t(64)(function(){s(function(){})}),\"Reflect\",{apply:function(t,e,r){var n=o(t),a=i(r);return s?s(n,e,a):l.call(n,e,a)}})},{33:33,38:38,62:62,64:64,70:70}],234:[function(t,e,r){var n=t(62),l=t(98),c=t(33),u=t(38),p=t(81),a=t(64),f=t(46),d=(t(70).Reflect||{}).construct,h=a(function(){function t(){}return!(d(function(){},[],t)instanceof t)}),m=!a(function(){d(function(){})});n(n.S+n.F*(h||m),\"Reflect\",{construct:function(t,e,r){c(t),u(e);var n=arguments.length<3?t:c(r);if(m&&!h)return d(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var a=[null];return a.push.apply(a,e),new(f.apply(t,a))}var o=n.prototype,i=l(p(o)?o:Object.prototype),s=Function.apply.call(t,i,e);return p(s)?s:i}})},{33:33,38:38,46:46,62:62,64:64,70:70,81:81,98:98}],235:[function(t,e,r){var n=t(99),a=t(62),o=t(38),i=t(143);a(a.S+a.F*t(64)(function(){Reflect.defineProperty(n.f({},1,{value:1}),1,{value:2})}),\"Reflect\",{defineProperty:function(t,e,r){o(t),e=i(e,!0),o(r);try{return n.f(t,e,r),!0}catch(t){return!1}}})},{143:143,38:38,62:62,64:64,99:99}],236:[function(t,e,r){var n=t(62),a=t(101).f,o=t(38);n(n.S,\"Reflect\",{deleteProperty:function(t,e){var r=a(o(t),e);return!(r&&!r.configurable)&&delete t[e]}})},{101:101,38:38,62:62}],237:[function(t,e,r){\"use strict\";function n(t){this._t=o(t),this._i=0;var e,r=this._k=[];for(e in t)r.push(e)}var a=t(62),o=t(38);t(84)(n,\"Object\",function(){var t,e=this._k;do{if(this._i>=e.length)return{value:void 0,done:!0}}while(!((t=e[this._i++])in this._t));return{value:t,done:!1}}),a(a.S,\"Reflect\",{enumerate:function(t){return new n(t)}})},{38:38,62:62,84:84}],238:[function(t,e,r){var n=t(101),a=t(62),o=t(38);a(a.S,\"Reflect\",{getOwnPropertyDescriptor:function(t,e){return n.f(o(t),e)}})},{101:101,38:38,62:62}],239:[function(t,e,r){var n=t(62),a=t(105),o=t(38);n(n.S,\"Reflect\",{getPrototypeOf:function(t){return a(o(t))}})},{105:105,38:38,62:62}],240:[function(t,e,r){var s=t(101),l=t(105),c=t(71),n=t(62),u=t(81),p=t(38);n(n.S,\"Reflect\",{get:function t(e,r,n){var a,o,i=arguments.length<3?e:n;return p(e)===i?e[r]:(a=s.f(e,r))?c(a,\"value\")?a.value:void 0!==a.get?a.get.call(i):void 0:u(o=l(e))?t(o,r,i):void 0}})},{101:101,105:105,38:38,62:62,71:71,81:81}],241:[function(t,e,r){var n=t(62);n(n.S,\"Reflect\",{has:function(t,e){return e in t}})},{62:62}],242:[function(t,e,r){var n=t(62),a=t(38),o=Object.isExtensible;n(n.S,\"Reflect\",{isExtensible:function(t){return a(t),!o||o(t)}})},{38:38,62:62}],243:[function(t,e,r){var n=t(62);n(n.S,\"Reflect\",{ownKeys:t(111)})},{111:111,62:62}],244:[function(t,e,r){var n=t(62),a=t(38),o=Object.preventExtensions;n(n.S,\"Reflect\",{preventExtensions:function(t){a(t);try{return o&&o(t),!0}catch(t){return!1}}})},{38:38,62:62}],245:[function(t,e,r){var n=t(62),a=t(122);a&&n(n.S,\"Reflect\",{setPrototypeOf:function(t,e){a.check(t,e);try{return a.set(t,e),!0}catch(t){return!1}}})},{122:122,62:62}],246:[function(t,e,r){var c=t(99),u=t(101),p=t(105),f=t(71),n=t(62),d=t(116),h=t(38),m=t(81);n(n.S,\"Reflect\",{set:function t(e,r,n,a){var o,i,s=arguments.length<4?e:a,l=u.f(h(e),r);if(!l){if(m(i=p(e)))return t(i,r,n,s);l=d(0)}if(f(l,\"value\")){if(!1===l.writable||!m(s))return!1;if(o=u.f(s,r)){if(o.get||o.set||!1===o.writable)return!1;o.value=n,c.f(s,r,o)}else c.f(s,r,d(0,n));return!0}return void 0!==l.set&&(l.set.call(s,n),!0)}})},{101:101,105:105,116:116,38:38,62:62,71:71,81:81,99:99}],247:[function(t,e,r){var n=t(70),o=t(75),a=t(99).f,i=t(103).f,s=t(82),l=t(66),c=n.RegExp,u=c,p=c.prototype,f=/a/g,d=/a/g,h=new c(f)!==f;if(t(58)&&(!h||t(64)(function(){return d[t(152)(\"match\")]=!1,c(f)!=f||c(d)==d||\"/a/i\"!=c(f,\"i\")}))){function m(e){e in c||a(c,e,{configurable:!0,get:function(){return u[e]},set:function(t){u[e]=t}})}c=function(t,e){var r=this instanceof c,n=s(t),a=void 0===e;return!r&&n&&t.constructor===c&&a?t:o(h?new u(n&&!a?t.source:t,e):u((n=t instanceof c)?t.source:t,n&&a?l.call(t):e),r?this:p,c)};for(var g=i(u),v=0;g.length>v;)m(g[v++]);(p.constructor=c).prototype=p,t(118)(n,\"RegExp\",c)}t(123)(\"RegExp\")},{103:103,118:118,123:123,152:152,58:58,64:64,66:66,70:70,75:75,82:82,99:99}],248:[function(t,e,r){\"use strict\";var n=t(120);t(62)({target:\"RegExp\",proto:!0,forced:n!==/./.exec},{exec:n})},{120:120,62:62}],249:[function(t,e,r){t(58)&&\"g\"!=/./g.flags&&t(99).f(RegExp.prototype,\"flags\",{configurable:!0,get:t(66)})},{58:58,66:66,99:99}],250:[function(t,e,r){\"use strict\";var p=t(38),f=t(141),d=t(36),h=t(119);t(65)(\"match\",1,function(n,a,c,u){return[function(t){var e=n(this),r=null==t?void 0:t[a];return void 0!==r?r.call(t,e):new RegExp(t)[a](String(e))},function(t){var e=u(c,t,this);if(e.done)return e.value;var r=p(t),n=String(this);if(!r.global)return h(r,n);for(var a,o=r.unicode,i=[],s=r.lastIndex=0;null!==(a=h(r,n));){var l=String(a[0]);\"\"===(i[s]=l)&&(r.lastIndex=d(n,f(r.lastIndex),o)),s++}return 0===s?null:i}]})},{119:119,141:141,36:36,38:38,65:65}],251:[function(t,e,r){\"use strict\";var C=t(38),n=t(142),P=t(141),S=t(139),L=t(36),E=t(119),T=Math.max,k=Math.min,f=Math.floor,d=/\\$([$&`']|\\d\\d?|<[^>]*>)/g,h=/\\$([$&`']|\\d\\d?)/g;t(65)(\"replace\",2,function(a,o,x,w){return[function(t,e){var r=a(this),n=null==t?void 0:t[o];return void 0!==n?n.call(t,r,e):x.call(String(r),t,e)},function(t,e){var r=w(x,t,this,e);if(r.done)return r.value;var n=C(t),a=String(this),o=\"function\"==typeof e;o||(e=String(e));var i=n.global;if(i){var s=n.unicode;n.lastIndex=0}for(var l=[];;){var c=E(n,a);if(null===c)break;if(l.push(c),!i)break;\"\"===String(c[0])&&(n.lastIndex=L(a,P(n.lastIndex),s))}for(var u,p=\"\",f=0,d=0;d>>0,u=new RegExp(t.source,s+\"g\");(n=f.call(u,r))&&!(l<(a=u[m])&&(i.push(r.slice(l,n.index)),1=c));)u[m]===n.index&&u[m]++;return l===r[h]?!o&&u.test(\"\")||i.push(\"\"):i.push(r.slice(l)),i[h]>c?i.slice(0,c):i}:\"0\"[i](void 0,0)[h]?function(t,e){return void 0===t&&0===e?[]:g.call(this,t,e)}:g,[function(t,e){var r=a(this),n=null==t?void 0:t[o];return void 0!==n?n.call(t,r,e):A.call(String(r),t,e)},function(t,e){var r=v(A,t,this,e,A!==g);if(r.done)return r.value;var n=y(t),a=String(this),o=b(n,RegExp),i=n.unicode,s=(n.ignoreCase?\"i\":\"\")+(n.multiline?\"m\":\"\")+(n.unicode?\"u\":\"\")+(S?\"y\":\"g\"),l=new o(S?n:\"^(?:\"+n.source+\")\",s),c=void 0===e?P:e>>>0;if(0==c)return[];if(0===a.length)return null===_(l,a)?[a]:[];for(var u=0,p=0,f=[];p>10),e%1024+56320))}return r.join(\"\")}})},{137:137,62:62}],266:[function(t,e,r){\"use strict\";var n=t(62),a=t(130);n(n.P+n.F*t(63)(\"includes\"),\"String\",{includes:function(t,e){return!!~a(this,t,\"includes\").indexOf(t,1=e.length?{value:void 0,done:!0}:(t=n(e,r),this._i+=t.length,{value:t,done:!1})})},{129:129,85:85}],269:[function(t,e,r){\"use strict\";t(131)(\"link\",function(e){return function(t){return e(this,\"a\",\"href\",t)}})},{131:131}],270:[function(t,e,r){var n=t(62),i=t(140),s=t(141);n(n.S,\"String\",{raw:function(t){for(var e=i(t.raw),r=s(e.length),n=arguments.length,a=[],o=0;oa;)u(Y,e=r[a++])||e==W||e==h||n.push(e);return n}function l(t){for(var e,r=t===Z,n=M(r?q:L(t)),a=[],o=0;n.length>o;)!u(Y,e=n[o++])||r&&!u(Z,e)||a.push(Y[e]);return a}var c=t(70),u=t(71),p=t(58),f=t(62),d=t(118),h=t(94).KEY,m=t(64),g=t(126),v=t(124),A=t(147),y=t(152),b=t(151),x=t(150),w=t(61),_=t(79),C=t(38),P=t(81),S=t(142),L=t(140),E=t(143),T=t(116),k=t(98),R=t(102),F=t(101),I=t(104),O=t(99),B=t(107),N=F.f,D=O.f,M=R.f,z=c.Symbol,U=c.JSON,j=U&&U.stringify,G=\"prototype\",W=y(\"_hidden\"),H=y(\"toPrimitive\"),V={}.propertyIsEnumerable,Q=g(\"symbol-registry\"),Y=g(\"symbols\"),q=g(\"op-symbols\"),Z=Object[G],X=\"function\"==typeof z&&!!I.f,K=c.QObject,J=!K||!K[G]||!K[G].findChild,$=p&&m(function(){return 7!=k(D({},\"a\",{get:function(){return D(this,\"a\",{value:7}).a}})).a})?function(t,e,r){var n=N(Z,e);n&&delete Z[e],D(t,e,r),n&&t!==Z&&D(Z,e,n)}:D,tt=X&&\"symbol\"==typeof z.iterator?function(t){return\"symbol\"==typeof t}:function(t){return t instanceof z},et=function(t,e,r){return t===Z&&et(q,e,r),C(t),e=E(e,!0),C(r),u(Y,e)?(r.enumerable?(u(t,W)&&t[W][e]&&(t[W][e]=!1),r=k(r,{enumerable:T(0,!1)})):(u(t,W)||D(t,W,T(1,{})),t[W][e]=!0),$(t,e,r)):D(t,e,r)};X||(d((z=function(t){if(this instanceof z)throw TypeError(\"Symbol is not a constructor!\");var e=A(0nt;)y(rt[nt++]);for(var at=B(y.store),ot=0;at.length>ot;)x(at[ot++]);f(f.S+f.F*!X,\"Symbol\",{for:function(t){return u(Q,t+=\"\")?Q[t]:Q[t]=z(t)},keyFor:function(t){if(!tt(t))throw TypeError(t+\" is not a symbol!\");for(var e in Q)if(Q[e]===t)return e},useSetter:function(){J=!0},useSimple:function(){J=!1}}),f(f.S+f.F*!X,\"Object\",{create:function(t,e){return void 0===e?k(t):a(k(t),e)},defineProperty:et,defineProperties:a,getOwnPropertyDescriptor:i,getOwnPropertyNames:s,getOwnPropertySymbols:l});var it=m(function(){I.f(1)});f(f.S+f.F*it,\"Object\",{getOwnPropertySymbols:function(t){return I.f(S(t))}}),U&&f(f.S+f.F*(!X||m(function(){var t=z();return\"[null]\"!=j([t])||\"{}\"!=j({a:t})||\"{}\"!=j(Object(t))})),\"JSON\",{stringify:function(t){for(var e,r,n=[t],a=1;as;)void 0!==(r=a(n,e=o[s++]))&&p(i,e,r);return i}})},{101:101,111:111,140:140,53:53,62:62}],296:[function(t,e,r){var n=t(62),a=t(110)(!1);n(n.S,\"Object\",{values:function(t){return a(t)}})},{110:110,62:62}],297:[function(t,e,r){\"use strict\";var n=t(62),a=t(52),o=t(70),i=t(127),s=t(115);n(n.P+n.R,\"Promise\",{finally:function(e){var r=i(this,a.Promise||o.Promise),t=\"function\"==typeof e;return this.then(t?function(t){return s(r,e()).then(function(){return t})}:e,t?function(t){return s(r,e()).then(function(){throw t})}:e)}})},{115:115,127:127,52:52,62:62,70:70}],298:[function(t,e,r){\"use strict\";var n=t(62),a=t(132),o=t(148),i=/Version\\/10\\.\\d+(\\.\\d+)?( Mobile\\/\\w+)? Safari\\//.test(o);n(n.P+n.F*i,\"String\",{padEnd:function(t,e){return a(this,t,1/g,\">\").replace(/\"/g,\""\").replace(/'/g,\"'\")}function vt(t){return\"number\"==typeof t&&100\"+e+\"\":\"\"}function _t(t){var e=\"solid\",r=\"\",n=\"\",a=\"\";if(t)switch(\"string\"==typeof t?r=t:(t.type&&(e=t.type),t.color&&(r=t.color),t.alpha&&(n+=''),t.transparency&&(n+='')),e){case\"solid\":a+=\"\"+wt(r,n)+\"\";break;default:a+=\"\"}return a}function Ct(t){return t._rels.length+t._relsChart.length+t._relsMedia.length+1}function Pt(l,c,u,t){void 0===l&&(l=[]),void 0===c&&(c={});var e,p=P,f=0,d=1*B,r=0,h=[{rows:[]}];if(c.verbose&&(console.log(\"-- VERBOSE MODE ----------------------------------\"),console.log(\".. (PARAMETERS)\"),console.log(\"presLayout.height ......... = \"+u.height/B),console.log(\"tabOpts.h ................. = \"+c.h),console.log(\"tabOpts.w ................. = \"+c.w),console.log(\"tabOpts.colW .............. = \"+c.colW),console.log(\"tabOpts.slideMargin ....... = \"+(c.slideMargin||\"\")),console.log(\".. (/PARAMETERS)\")),c.slideMargin||0===c.slideMargin||(c.slideMargin=P[0]),t&&void 0!==t._margin?Array.isArray(t._margin)?p=t._margin:isNaN(Number(t._margin))||(p=[Number(t._margin),Number(t._margin),Number(t._margin),Number(t._margin)]):!c.slideMargin&&0!==c.slideMargin||(Array.isArray(c.slideMargin)?p=c.slideMargin:isNaN(c.slideMargin)||(p=[c.slideMargin,c.slideMargin,c.slideMargin,c.slideMargin])),c.verbose&&console.log(\"arrInchMargins ......... = \"+p.toString()),(l[0]||[]).forEach(function(t){var e=(t=t||{_type:at.tablecell}).options||null;r+=Number(e&&e.colspan?e.colspan:1)}),c.verbose&&console.log(\"numCols ................ = \"+r),!c.w&&c.colW&&(Array.isArray(c.colW)?c.colW.forEach(function(t){\"number\"!=typeof c.w?c.w=0+t:c.w+=t}):c.w=c.colW*r),e=\"number\"==typeof c.w?vt(c.w):u.width-vt((\"number\"==typeof c.x?c.x:p[1])+p[3]),c.verbose&&console.log(\"emuSlideTabW (in) ...... = \"+(e/B).toFixed(1)),!c.colW||!Array.isArray(c.colW))if(c.colW&&!isNaN(Number(c.colW))){var n=[];(l[0]||[]).forEach(function(){return n.push(c.colW)}),c.colW=[],n.forEach(function(t){Array.isArray(c.colW)&&c.colW.push(t)})}else{c.colW=[];for(var a=0;ae?e=At(t.options.margin[0]):c.margin&&c.margin[0]&&At(c.margin[0])>e&&(e=At(c.margin[0])),t.options.margin&&t.options.margin[2]&&At(t.options.margin[2])>r?r=At(t.options.margin[2]):c.margin&&c.margin[2]&&At(c.margin[2])>r&&(r=At(c.margin[2]))}),d=c.h&&\"number\"==typeof c.h?c.h:u.height-vt(p[0]+p[2])-(c.y&&\"number\"==typeof c.y?c.y:0),c.verbose&&console.log(\"emuSlideTabH (in) ...... = \"+(d/B).toFixed(1)),1 \"+d/B),h.push({rows:[]}),f=0,(c.addHeaderToEach||c.autoPageRepeatHeader)&&c._arrObjTabHeadRows){var e=[];i.forEach(function(t){e.push({type:at.tablecell,text:t._lines.join(\"\"),options:t.options})}),l.unshift(e);var r=[];return c._arrObjTabHeadRows.forEach(function(t){var e=[];t.forEach(function(t){return e.push(t)}),r.push(e)}),l=O(O([],r),l),\"break\"}var t=h[h.length-1],n=[];a.forEach(function(t){n.push({type:at.tablecell,text:\"\",options:t.options})}),t.rows.push(n)}i.forEach(function(t,e){if(0o&&(o=t._lineHeight)}}),f+=o,c.verbose&&console.log(\"- SLIDE [\"+h.length+\"]: ROW [\"+m+\"]: one line added ... emuTabCurrH = \"+(f/B).toFixed(2))};0'},contain:function(t,e){var r=t.h/t.w,n=r'},crop:function(t,e){var r=e.x,n=t.w-(e.x+e.w),a=e.y,o=t.h-(e.y+e.h);return''}};function Lt(R){var F=R._name?'':\"\",I=1;return R._bkgdImgRid?F+='':R.background&&R.background.color?F+=\"\"+_t(R.background)+\"\":!R.bkgd&&R._name&&R._name===n&&(F+=''),F+=\"\",F+='',F+='',F+='',R._slideObjects.forEach(function(n,t){var e,r,a=0,o=0,i=dt(\"75%\",\"X\",R._presLayout),s=0,l=\"\";switch(void 0!==R._slideLayout&&void 0!==R._slideLayout._slideObjects&&n.options&&n.options.placeholder&&(r=R._slideLayout._slideObjects.filter(function(t){return t.options.placeholder===n.options.placeholder})[0]),n.options=n.options||{},void 0!==n.options.x&&(a=dt(n.options.x,\"X\",R._presLayout)),void 0!==n.options.y&&(o=dt(n.options.y,\"Y\",R._presLayout)),void 0!==n.options.w&&(i=dt(n.options.w,\"X\",R._presLayout)),void 0!==n.options.h&&(s=dt(n.options.h,\"Y\",R._presLayout)),r&&(!r.options.x&&0!==r.options.x||(a=dt(r.options.x,\"X\",R._presLayout)),!r.options.y&&0!==r.options.y||(o=dt(r.options.y,\"Y\",R._presLayout)),!r.options.w&&0!==r.options.w||(i=dt(r.options.w,\"X\",R._presLayout)),!r.options.h&&0!==r.options.h||(s=dt(r.options.h,\"Y\",R._presLayout))),n.options.flipH&&(l+=' flipH=\"1\"'),n.options.flipV&&(l+=' flipV=\"1\"'),n.options.rotate&&(l+=' rot=\"'+yt(n.options.rotate)+'\"'),n._type){case at.table:var c,u=n.arrTabRows,f=n.options,p=0,d=0;u[0].forEach(function(t){c=t.options||null,p+=c&&c.colspan?Number(c.colspan):1});var h='';if(h+=' ',h+='',h+='',Array.isArray(f.colW)){h+=\"\";for(var m=0;m'}h+=\"\"}else{d=f.colW?f.colW:B,n.options.w&&!f.colW&&(d=Math.round((\"number\"==typeof n.options.w?n.options.w:1)/p)),h+=\"\";for(var v=0;v';h+=\"\"}u.forEach(function(o){for(var i,s,l,t=function(t){var e=o[t],r=null===(i=e.options)||void 0===i?void 0:i.colspan,n=null===(s=e.options)||void 0===s?void 0:s.rowspan;if(r&&1',t.forEach(function(t){var e,r,n=t,a={rowSpan:1<(null===(e=n.options)||void 0===e?void 0:e.rowspan)?n.options.rowspan:void 0,gridSpan:1<(null===(r=n.options)||void 0===r?void 0:r.colspan)?n.options.colspan:void 0,vMerge:n._vmerge?1:void 0,hMerge:n._hmerge?1:void 0},o=Object.keys(a).map(function(t){return[t,a[t]]}).filter(function(t){return t[0],!!t[1]}).map(function(t){return t[0]+'=\"'+t[1]+'\"'}).join(\" \");if(o=o&&\" \"+o,n._hmerge||n._vmerge)h+=\"\";else{var i=n.options||{};n.options=i,[\"align\",\"bold\",\"border\",\"color\",\"fill\",\"fontFace\",\"fontSize\",\"margin\",\"underline\",\"valign\"].forEach(function(t){f[t]&&!i[t]&&0!==i[t]&&(i[t]=f[t])});var s=i.valign?' anchor=\"'+i.valign.replace(/^c$/i,\"ctr\").replace(/^m$/i,\"ctr\").replace(\"center\",\"ctr\").replace(\"middle\",\"ctr\").replace(\"top\",\"t\").replace(\"btm\",\"b\").replace(\"bottom\",\"b\")+'\"':\"\",l=n._optImp&&n._optImp.fill&&n._optImp.fill.color?n._optImp.fill.color:n._optImp&&n._optImp.fill&&\"string\"==typeof n._optImp.fill?n._optImp.fill:\"\",c=(l=l||i.fill&&i.fill.color?i.fill.color:i.fill&&\"string\"==typeof i.fill?i.fill:\"\")?\"\"+wt(l)+\"\":\"\",u=0===i.margin||i.margin?i.margin:N;Array.isArray(u)||\"number\"!=typeof u||(u=[u,u,u,u]);var p=' marL=\"'+At(u[3])+'\" marR=\"'+At(u[1])+'\" marT=\"'+At(u[0])+'\" marB=\"'+At(u[2])+'\"';h+=\"\"+Rt(n)+\"\",i.border&&Array.isArray(i.border)&&[{idx:3,name:\"lnL\"},{idx:1,name:\"lnR\"},{idx:0,name:\"lnT\"},{idx:2,name:\"lnB\"}].forEach(function(t){\"none\"!==i.border[t.idx].type?(h+=\"',h+=\"\"+wt(i.border[t.idx].color)+\"\",h+='',h+=\"\"):h+=\"\"}),h+=c,h+=\" \",h+=\" \"}}),h+=\"\"}),h+=\" \",h+=\" \",h+=\" \",F+=h+=\"\",I++;break;case at.text:case at.placeholder:var A=n.options.shapeName?gt(n.options.shapeName):\"Object\"+(t+1);if(n.options.line||0!==s||(s=.3*B),n.options._bodyProp||(n.options._bodyProp={}),n.options.margin&&Array.isArray(n.options.margin)?(n.options._bodyProp.lIns=At(n.options.margin[0]||0),n.options._bodyProp.rIns=At(n.options.margin[1]||0),n.options._bodyProp.bIns=At(n.options.margin[2]||0),n.options._bodyProp.tIns=At(n.options.margin[3]||0)):\"number\"==typeof n.options.margin&&(n.options._bodyProp.lIns=At(n.options.margin),n.options._bodyProp.rIns=At(n.options.margin),n.options._bodyProp.bIns=At(n.options.margin),n.options._bodyProp.tIns=At(n.options.margin)),F+=\"\",F+='',n.options.hyperlink&&n.options.hyperlink.url&&(F+=''),n.options.hyperlink&&n.options.hyperlink.slide&&(F+=''),F+=\"\",F+=\"':\"/>\"),F+=\"\"+(\"placeholder\"===n._type?Ft(n):Ft(r))+\"\",F+=\"\",F+=\"\",F+='',F+='',\"custGeom\"===n.shape)F+=\"\",F+=\"\",F+=\"\",F+=\"\",F+=\"\",F+=\"\",F+='',F+=\"\",F+='',null===(e=n.options.points)||void 0===e||e.map(function(t,e){if(\"curve\"in t)switch(t.curve.type){case\"arc\":F+='';break;case\"cubic\":F+='\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t';break;case\"quadratic\":F+='\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t'}else\"close\"in t?F+=\"\":t.moveTo||0===e?F+='':F+=''}),F+=\"\",F+=\"\",F+=\"\";else{if(F+='',n.options.rectRadius)F+='';else if(n.options.angleRange){for(var y=0;y<2;y++){var b=n.options.angleRange[y];F+=''}n.options.arcThicknessRatio&&(F+='')}F+=\"\"}F+=n.options.fill?_t(n.options.fill):\"\",n.options.line&&(F+=n.options.line.width?'':\"\",n.options.line.color&&(F+=_t(n.options.line)),n.options.line.dashType&&(F+=''),n.options.line.beginArrowType&&(F+=''),n.options.line.endArrowType&&(F+=''),F+=\"\"),n.options.shadow&&(n.options.shadow.type=n.options.shadow.type||\"outer\",n.options.shadow.blur=At(n.options.shadow.blur||8),n.options.shadow.offset=At(n.options.shadow.offset||4),n.options.shadow.angle=Math.round(6e4*(n.options.shadow.angle||270)),n.options.shadow.opacity=Math.round(1e5*(n.options.shadow.opacity||.75)),n.options.shadow.color=n.options.shadow.color||D.color,F+=\"\",F+=\"',F+='',F+='',F+=\"\",F+=\"\"),F+=\"\",F+=Rt(n),F+=\"\";break;case at.image:var x=n.options,w=x.sizing,_=x.rounding,C=i,P=s;if(F+=\"\",F+=\" \",F+='',n.hyperlink&&n.hyperlink.url&&(F+=''),n.hyperlink&&n.hyperlink.slide&&(F+=''),F+=\" \",F+=' ',F+=\" \"+Ft(r)+\"\",F+=\" \",F+=\"\",(R._relsMedia||[]).filter(function(t){return t.rId===n.imageRid})[0]&&\"svg\"===(R._relsMedia||[]).filter(function(t){return t.rId===n.imageRid})[0].extn?(F+='',F+=\" \",F+=' ',F+=' ',F+=\" \",F+=\" \",F+=\"\"):F+='',w&&w.type){var S=w.w?dt(w.w,\"X\",R._presLayout):i,L=w.h?dt(w.h,\"Y\",R._presLayout):s,E=dt(w.x||0,\"X\",R._presLayout),T=dt(w.y||0,\"Y\",R._presLayout);F+=St[w.type]({w:C,h:P},{w:S,h:L,x:E,y:T}),C=S,P=L}else F+=\" \";F+=\"\",F+=\"\",F+=\" \",F+=' ',F+=' ',F+=\" \",F+=' ',F+=\"\",F+=\"\";break;case at.media:\"online\"===n.mtype?(F+=\"\",F+=\" \",F+=' ',F+=\" \",F+=\" \",F+=' ',F+=\" \",F+=\" \",F+=' '):(F+=\"\",F+=\" \",F+=' ',F+=' ',F+=\" \",F+=' ',F+=\" \",F+=' ',F+=' ',F+=\" \",F+=\" \",F+=\" \",F+=\" \",F+=' '),F+=\" \",F+=\" \",F+=' ',F+=' ',F+=\" \",F+=' ',F+=\" \",F+=\"\";break;case at.chart:var k=n.options;F+=\"\",F+=\" \",F+=' ',F+=\" \",F+=\" \"+Ft(r)+\"\",F+=\" \",F+=' ',F+=' ',F+=' ',F+=' ',F+=\" \",F+=\" \",F+=\"\";break;default:F+=\"\"}}),R._slideNumberProps&&(R._slideNumberProps.align||(R._slideNumberProps.align=\"left\"),F+=' ',F+=\"\",F+=\"\",F+=\" \",(R._slideNumberProps.fontFace||R._slideNumberProps.fontSize||R._slideNumberProps.color)&&(F+='',R._slideNumberProps.color&&(F+=_t(R._slideNumberProps.color)),R._slideNumberProps.fontFace&&(F+=''),F+=\"\"),F+=\"\",F+='',R._slideNumberProps.align.startsWith(\"l\")?F+='':R._slideNumberProps.align.startsWith(\"c\")?F+='':R._slideNumberProps.align.startsWith(\"r\")?F+='':F+='',F+='',F+=\"\"),F+=\"\",F+=\"\"}function Et(t,e){var r=0,n=''+v+'';return t._rels.forEach(function(t){r=Math.max(r,t.rId),-1':n+='':-1')}),(t._relsChart||[]).forEach(function(t){r=Math.max(r,t.rId),n+=''}),(t._relsMedia||[]).forEach(function(t){r=Math.max(r,t.rId),-1':-1':n+='':-1':n+='':-1':n+='')}),e.forEach(function(t,e){n+=''}),n+=\"\"}function Tt(t,e){var r=\"\",n=\"\",a=\"\",o=\"\",i=e?\"a:lvl1pPr\":\"a:pPr\",s=At(u),l=\"<\"+i+(t.options.rtlMode?' rtl=\"1\" ':\"\");if(t.options.align)switch(t.options.align){case\"left\":l+=' algn=\"l\"';break;case\"right\":l+=' algn=\"r\"';break;case\"center\":l+=' algn=\"ctr\"';break;case\"justify\":l+=' algn=\"just\"';break;default:l+=\"\"}if(t.options.lineSpacing?n='':t.options.lineSpacingMultiple&&(n=''),t.options.indentLevel&&!isNaN(Number(t.options.indentLevel))&&0'),t.options.paraSpaceAfter&&!isNaN(Number(t.options.paraSpaceAfter))&&0'),\"object\"==typeof t.options.bullet)if(t&&t.options&&t.options.bullet&&t.options.bullet.indent&&(s=At(t.options.bullet.indent)),t.options.bullet.type)\"number\"===t.options.bullet.type.toString().toLowerCase()&&(l+=' marL=\"'+(t.options.indentLevel&&0');else if(t.options.bullet.characterCode){var c=\"&#x\"+t.options.bullet.characterCode+\";\";!1===/^[0-9A-Fa-f]{4}$/.test(t.options.bullet.characterCode)&&(console.warn(\"Warning: `bullet.characterCode should be a 4-digit unicode charatcer (ex: 22AB)`!\"),c=lt.DEFAULT),l+=' marL=\"'+(t.options.indentLevel&&0'}else if(t.options.bullet.code){c=\"&#x\"+t.options.bullet.code+\";\";!1===/^[0-9A-Fa-f]{4}$/.test(t.options.bullet.code)&&(console.warn(\"Warning: `bullet.code should be a 4-digit hex code (ex: 22AB)`!\"),c=lt.DEFAULT),l+=' marL=\"'+(t.options.indentLevel&&0'}else l+=' marL=\"'+(t.options.indentLevel&&0';else!0===t.options.bullet?(l+=' marL=\"'+(t.options.indentLevel&&0'):!1===t.options.bullet&&(l+=' indent=\"0\" marL=\"0\"',r=\"\");t.options.tabStops&&Array.isArray(t.options.tabStops)&&(o=\"\"+t.options.tabStops.map(function(t){return''}).join(\"\")+\"\");return l+=\">\"+n+a+r+o,e&&(l+=kt(t.options,!0)),l+=\"\"}function kt(t,e){var r,n=\"\",a=e?\"a:defRPr\":\"a:rPr\";if(n+=\"<\"+a+' lang=\"'+(t.lang?t.lang:\"en-US\")+'\"'+(t.lang?' altLang=\"en-US\"':\"\"),n+=t.fontSize?' sz=\"'+Math.round(t.fontSize)+'00\"':\"\",n+=t.hasOwnProperty(\"bold\")?' b=\"'+(t.bold?1:0)+'\"':\"\",n+=t.hasOwnProperty(\"italic\")?' i=\"'+(t.italic?1:0)+'\"':\"\",n+=t.hasOwnProperty(\"strike\")?' strike=\"'+(\"string\"==typeof t.strike?t.strike:\"sngStrike\")+'\"':\"\",\"object\"==typeof t.underline&&(null===(r=t.underline)||void 0===r?void 0:r.style)?n+=' u=\"'+t.underline.style+'\"':\"string\"==typeof t.underline?n+=' u=\"'+t.underline+'\"':t.hyperlink&&(n+=' u=\"sng\"'),t.baseline?n+=' baseline=\"'+Math.round(50*t.baseline)+'\"':t.subscript?n+=' baseline=\"-40000\"':t.superscript&&(n+=' baseline=\"30000\"'),n+=t.charSpacing?' spc=\"'+Math.round(100*t.charSpacing)+'\" kern=\"0\"':\"\",n+=' dirty=\"0\">',(t.color||t.fontFace||t.outline||\"object\"==typeof t.underline&&t.underline.color)&&(t.outline&&\"object\"==typeof t.outline&&(n+=''+_t(t.outline.color||\"FFFFFF\")+\"\"),t.color&&(n+=_t(t.color)),t.highlight&&(n+=\"\"+wt(t.highlight)+\"\"),\"object\"==typeof t.underline&&t.underline.color&&(n+=\"\"+_t(t.underline.color)+\"\"),t.glow&&(n+=\"\"+function(t,e){var r=\"\",n=mt(e,t);return r+='',r+=wt(n.color,''),r+=\"\"}(t.glow,S)+\"\"),t.fontFace&&(n+='')),t.hyperlink){if(\"object\"!=typeof t.hyperlink)throw new Error(\"ERROR: text `hyperlink` option should be an object. Ex: `hyperlink:{url:'https://github.com'}` \");if(!t.hyperlink.url&&!t.hyperlink.slide)throw new Error(\"ERROR: 'hyperlink requires either `url` or `slide`'\");t.hyperlink.url?n+='\":\"/>\"):t.hyperlink.slide&&(n+='\":\"/>\")),t.color&&(n+=\"\\t\",n+='\\t\\t',n+='\\t\\t\\t',n+=\"\\t\\t\",n+=\"\\t\",n+=\"\")}return n+=\"\"}function Rt(n){var a=n.options||{},t=[],r=[];if(a&&n._type!==at.tablecell&&(void 0===n.text||null===n.text))return\"\";var o=n._type===at.tablecell?\"\":\"\";o+=function(t){var e=\"\",t.options.fit&&(\"none\"===t.options.fit?e+=\"\":\"shrink\"===t.options.fit?e+=\"\":\"resize\"===t.options.fit&&(e+=\"\")),t.options.shrinkText&&(e+=\"\"),e+=!1!==t.options._bodyProp.autoFit?\"\":\"\"):e+=' wrap=\"square\" rtlCol=\"0\">',e+=\"\",t._type===at.tablecell?\"\":e}(n),0===a.h&&a.line&&a.align?o+='':\"placeholder\"===n._type?o+=\"\"+Tt(n,!0)+\"\":o+=\"\",\"string\"==typeof n.text||\"number\"==typeof n.text?t.push({text:n.text.toString(),options:a||{}}):n.text&&!Array.isArray(n.text)&&\"object\"==typeof n.text&&-1\";var r=\"\"),n.options.align=n.options.align||a.align,n.options.lineSpacing=n.options.lineSpacing||a.lineSpacing,n.options.lineSpacingMultiple=n.options.lineSpacingMultiple||a.lineSpacingMultiple,n.options.indentLevel=n.options.indentLevel||a.indentLevel,n.options.paraSpaceBefore=n.options.paraSpaceBefore||a.paraSpaceBefore,n.options.paraSpaceAfter=n.options.paraSpaceAfter||a.paraSpaceAfter,r=Tt(n,!1),o+=r,Object.entries(a).forEach(function(t){var e=t[0],r=t[1];n.options.hyperlink&&\"color\"===e||\"bullet\"===e||n.options[e]||(n.options[e]=r)}),o+=function(t){return t.text?\"\"+kt(t.options,!1)+\"\"+gt(t.text)+\"\":\"\"}(n),(!n.text&&a.fontSize||n.options.fontSize)&&(e=!0,a.fontSize=a.fontSize||n.options.fontSize)}),n._type===at.tablecell&&(a.fontSize||a.fontFace)?a.fontFace?(o+='',o+='',o+='',o+='',o+=\"\"):o+='':o+=e?'':'',o+=\"\"}),o+=n._type===at.tablecell?\"\":\"\"}function Ft(t){if(!t)return\"\";var e=t.options&&t.options._placeholderIdx?t.options._placeholderIdx:\"\",r=t.options&&t.options._placeholderType?t.options._placeholderType:\"\";return\"\"}function It(t){return''+v+''+gt(function(t){var e=\"\";return t._slideObjects.forEach(function(t){t._type===at.notes&&(e+=t.text&&t.text[0]?t.text[0].text:\"\")}),e.replace(/\\r*\\n/g,v)}(t))+''+t._slideNum+''}function Ot(t){t&&\"object\"==typeof t&&(\"outer\"!==t.type&&\"inner\"!==t.type&&\"none\"!==t.type&&(console.warn(\"Warning: shadow.type options are `outer`, `inner` or `none`.\"),t.type=\"outer\"),t.angle&&((isNaN(Number(t.angle))||t.angle<0||359 \\n'),t.file(\"_rels/.rels\",'\\n'),t.file(\"docProps/app.xml\",'Microsoft Excel0falseWorksheets1Sheet1\\n'),t.file(\"docProps/core.xml\",'PptxGenJSEly, Brent'+(new Date).toISOString()+''+(new Date).toISOString()+\"\\n\"),t.file(\"xl/_rels/workbook.xml.rels\",'\\n'),t.file(\"xl/styles.xml\",'\\n'),t.file(\"xl/theme/theme1.xml\",''),t.file(\"xl/workbook.xml\",'\\n'),t.file(\"xl/worksheets/_rels/sheet1.xml.rels\",'\\n');var n='';u.opts._type===J.BUBBLE?n+='':u.opts._type===J.SCATTER?n+='':(n+='',n+=''),u.opts._type===J.BUBBLE?f.forEach(function(t,e){0===e?n+=\"X-Axis\":(n+=\"\"+gt(t.name||\" \")+\"\",n+=\"\"+gt(\"Size \"+e)+\"\")}):f.forEach(function(t){n+=\"\"+gt((t.name||\" \").replace(\"X-Axis\",\"X-Values\"))+\"\"}),u.opts._type!==J.BUBBLE&&u.opts._type!==J.SCATTER&&f[0].labels.forEach(function(t){n+=\"\"+gt(t)+\"\"}),n+=\"\\n\",t.file(\"xl/sharedStrings.xml\",n);var o='';u.opts._type===J.BUBBLE||(u.opts._type===J.SCATTER?(o+='',o+='',f.forEach(function(t,e){o+=''})):(o+='
',o+='',o+='',f.forEach(function(t,e){o+=''}))),o+=\"\",o+='',o+=\"
\",t.file(\"xl/tables/table1.xml\",o);var i='';if(i+='',u.opts._type===J.BUBBLE?i+='':u.opts._type===J.SCATTER?i+='':i+='',i+='',i+='',u.opts._type===J.BUBBLE){i+=\"\",i+='',i+=\"\",i+=\"\",i+='',i+='0';for(var s=1;s',i+=\"\"+s+\"\",i+=\"\";i+=\"\",f[0].values.forEach(function(t,e){i+='',i+=''+t+\"\";for(var r=1,n=1;n',i+=\"\"+(f[n].values[e]||\"\")+\"\",i+=\"\",i+='',i+=\"\"+(f[n].sizes[e]||\"\")+\"\",i+=\"\",r++;i+=\"\"})}else if(u.opts._type===J.SCATTER){i+=\"\",i+='',i+=\"\",i+=\"\",i+='',i+='0';for(var l=1;l',i+=\"\"+l+\"\",i+=\"\";i+=\"\",f[0].values.forEach(function(t,e){i+='',i+=''+t+\"\";for(var r=1;r',i+=\"\"+(f[r].values[e]||0===f[r].values[e]?f[r].values[e]:\"\")+\"\",i+=\"\";i+=\"\"})}else{i+=\"\",i+='',i+=\"\",i+=\"\",i+='',i+='0';for(var c=1;c<=f.length;c++)i+='',i+=\"\"+c+\"\",i+=\"\";i+=\"\",f[0].labels.forEach(function(t,e){i+='',i+='',i+=\"\"+(f.length+e+1)+\"\",i+=\"\";for(var r=0;r',i+=\"\"+(f[r].values[e]||\"\")+\"\",i+=\"\";i+=\"\"})}i+=\"\",i+='',i+=\"\\n\",t.file(\"xl/worksheets/sheet1.xml\",i),t.generateAsync({type:\"base64\"}).then(function(t){p.file(\"ppt/embeddings/Microsoft_Excel_Worksheet\"+u.globalId+\".xlsx\",t,{base64:!0}),p.file(\"ppt/charts/_rels/\"+u.fileName+\".rels\",''),p.file(\"ppt/charts/\"+u.fileName,function(a){var o='',i=!1;o+='',o+='',o+=\"\",a.opts.showTitle?(o+=qt({title:a.opts.title||\"Chart Title\",color:a.opts.titleColor,fontFace:a.opts.titleFontFace,fontSize:a.opts.titleFontSize||w,titleAlign:a.opts.titleAlign,titleBold:a.opts.titleBold,titlePos:a.opts.titlePos,titleRotate:a.opts.titleRotate}),o+=''):o+='';a.opts._type===J.BAR3D&&(o+=\"\",o+=' ',o+=' ',o+=' ',o+=' ',o+=\"\");o+=\"\",a.opts.layout?(o+=\"\",o+=\" \",o+=' ',o+=' ',o+=' ',o+=' ',o+=' ',o+=' ',o+=' ',o+=\" \",o+=\"\"):o+=\"\";Array.isArray(a.opts._type)?a.opts._type.forEach(function(t){var e=mt(a.opts,t.options),r=e.secondaryValAxis?E:L,n=e.secondaryCatAxis?k:T;i=i||e.secondaryValAxis,o+=Vt(t.type,t.data,e,r,n)}):o+=Vt(a.opts._type,a.data,a.opts,L,T);if(a.opts._type!==J.PIE&&a.opts._type!==J.DOUGHNUT){if(a.opts.valAxes&&1\",n+=' ',n+=' ',n+=' ',n+=' ',n+=\"none\"!==e.serGridLine.style?Kt(e.serGridLine):\"\",e.showSerAxisTitle&&(n+=qt({color:e.serAxisTitleColor,fontFace:e.serAxisTitleFontFace,fontSize:e.serAxisTitleFontSize,titleRotate:e.serAxisTitleRotate,title:e.serAxisTitle||\"Axis Title\"}));n+=' ',n+=' ',n+=' ',n+=' ',n+=\" \",n+=' ',n+=!1===e.serAxisLineShow?\"\":\"\"+wt(e.serAxisLineColor||y.color)+\"\",n+=' ',n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=' ',n+=\" \"+wt(e.serAxisLabelColor||b)+\"\",n+=' ',n+=\" \",n+=\" \",n+=' ',n+=\" \",n+=\" \",n+=' ',n+=' ',e.serAxisLabelFrequency&&(n+=' ');e.serLabelFormatCode&&([\"serAxisBaseTimeUnit\",\"serAxisMajorTimeUnit\",\"serAxisMinorTimeUnit\"].forEach(function(t){!e[t]||\"string\"==typeof e[t]&&-1!==[\"days\",\"months\",\"years\"].indexOf(t.toLowerCase())||(console.warn(\"`\"+t+\"` must be one of: 'days','months','years' !\"),e[t]=null)}),e.serAxisBaseTimeUnit&&(n+=' '),e.serAxisMajorTimeUnit&&(n+=' '),e.serAxisMinorTimeUnit&&(n+=' '),e.serAxisMajorUnit&&(n+=' '),e.serAxisMinorUnit&&(n+=' '));return n+=\"\"}(a.opts,R,L)))}a.opts.showDataTable&&(o+=\"\",o+=' ',o+=' ',o+=' ',o+=' ',o+=\" \",o+=\" \",o+=' ',o+=\" \",o+=\" \",o+=\" \",o+='\\t ',o+=\"\\t \",o+=\"\\t \",o+='\\t\\t',o+=' ',o+='\\t\\t\\t',o+='\\t\\t\\t',o+='\\t\\t\\t',o+='\\t\\t\\t',o+=\"\\t\\t \",o+=\"\\t\\t\",o+='\\t\\t',o+=\"\\t \",o+=\"\\t\",o+=\"\");o+=\" \",o+=a.opts.fill?_t(a.opts.fill):\"\",o+=a.opts.border?''+_t(a.opts.border.color)+\"\":\"\",o+=\" \",o+=\" \",o+=\"\",a.opts.showLegend&&(o+=\"\",o+='',o+='',(a.opts.legendFontFace||a.opts.legendFontSize||a.opts.legendColor)&&(o+=\"\",o+=\" \",o+=\" \",o+=\" \",o+=\" \",o+=a.opts.legendFontSize?'':\"\",a.opts.legendColor&&(o+=_t(a.opts.legendColor)),a.opts.legendFontFace&&(o+=''),a.opts.legendFontFace&&(o+=''),o+=\" \",o+=\" \",o+=' ',o+=\" \",o+=\"\"),o+=\"\");o+=' ',o+=' ',a.opts._type===J.SCATTER&&(o+='');return o+=\"\",o+=\"\",o+=\" \",o+=' ',o+=\" \",o+=\"\",o+='',o+=\"\"}(u)),e(null)}).catch(function(t){r(t)})})}function Vt(n,a,o,t,e){var i=\"\";switch(n){case J.AREA:case J.BAR:case J.BAR3D:case J.LINE:case J.RADAR:i+=\"\",n===J.AREA&&\"stacked\"===o.barGrouping&&(i+=''),n!==J.BAR&&n!==J.BAR3D||(i+='',i+=''),n===J.RADAR&&(i+=''),i+='';var s=-1;a.forEach(function(t){s++;var e=t.index;i+=\"\",i+=' ',i+=' ',i+=\" \",i+=\" \",i+=\" Sheet1!$\"+Zt(e+1)+\"$1\",i+=' '+gt(t.name)+\"\",i+=\" \",i+=\" \",i+=' ';var r=o.chartColors?o.chartColors[s%o.chartColors.length]:null;i+=\" \",\"transparent\"===r?i+=\"\":o.chartColorsOpacity?i+=\"\"+wt(r,'')+\"\":i+=\"\"+wt(r)+\"\",n===J.LINE?0===o.lineSize?i+=\"\":(i+=''+wt(r)+\"\",i+=''):o.dataBorder&&(i+=''+wt(o.dataBorder.color)+''),i+=Xt(o.shadow,C),i+=\" \",n!==J.RADAR&&(i+=\" \",i+=' ',o.dataLabelBkgrdColors&&(i+=\" \",i+=\" \"+wt(r)+\"\",i+=\" \"),i+=\" \",i+=\" \",i+=\" \",i+=\" \",i+=' ',i+=\" \"+wt(o.dataLabelColor||b)+\"\",i+=' ',i+=\" \",i+=\" \",i+=\" \",o.dataLabelPosition&&(i+=' '),i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=\" \"),n!==J.LINE&&n!==J.RADAR||(i+=\"\",i+=' ',o.lineDataSymbolSize&&(i+=' '),i+=\" \",i+=\" \"+wt(o.chartColors[e+1>o.chartColors.length?Math.floor(Math.random()*o.chartColors.length):e])+\"\",i+=' '+wt(o.lineDataSymbolLineColor||r)+'',i+=\" \",i+=\" \",i+=\"\"),(n===J.BAR||n===J.BAR3D)&&1===a.length&&o.chartColors!==I&&1\",i+=' ',i+=' ',i+=' ',i+=\" \",0===o.lineSize?i+=\"\":n===J.BAR?(i+=\"\",i+=' ',i+=\"\"):(i+=\"\",i+=\" \",i+=' ',i+=\" \",i+=\"\"),i+=Xt(o.shadow,C),i+=\" \",i+=\" \"}),i+=\"\",o.catLabelFormatCode?(i+=\" \",i+=\" Sheet1!$A$2:$A$\"+(t.labels.length+1)+\"\",i+=\" \",i+=\" \"+(o.catLabelFormatCode||\"General\")+\"\",i+=' ',t.labels.forEach(function(t,e){i+=''+gt(t)+\"\"}),i+=\" \",i+=\" \"):(i+=\" \",i+=\" Sheet1!$A$2:$A$\"+(t.labels.length+1)+\"\",i+=\" \",i+='\\t ',t.labels.forEach(function(t,e){i+=''+gt(t)+\"\"}),i+=\" \",i+=\" \"),i+=\"\",i+=\"\",i+=\" \",i+=\" Sheet1!$\"+Zt(e+1)+\"$2:$\"+Zt(e+1)+\"$\"+(t.labels.length+1)+\"\",i+=\" \",i+=\" \"+(o.valLabelFormatCode||o.dataTableFormatCode||\"General\")+\"\",i+=' ',t.values.forEach(function(t,e){i+=''+(t||0===t?t:\"\")+\"\"}),i+=\" \",i+=\" \",i+=\"\",n===J.LINE&&(i+=''),i+=\"\"}),i+=\" \",i+=' ',i+=\" \",i+=\" \",i+=\" \",i+=\" \",i+=' ',i+=\" \"+wt(o.dataLabelColor||b)+\"\",i+=' ',i+=\" \",i+=\" \",i+=\" \",o.dataLabelPosition&&(i+=' '),i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=\" \",n===J.BAR?(i+=' ',i+=' '):n===J.BAR3D?(i+=' ',i+=' ',i+=' '):n===J.LINE&&(i+=' '),i+=' ',i+=' ',i+=' ',i+=\"\";break;case J.SCATTER:i+=\"\",i+='',i+='',s=-1,a.filter(function(t,e){return 0\",i+=' ',i+=' ',i+=\" \",i+=\" \",i+=\" Sheet1!$\"+F[t+1]+\"$1\",i+=' '+r.name+\"\",i+=\" \",i+=\" \",i+=\" \";var e=o.chartColors[s%o.chartColors.length];if(\"transparent\"===e?i+=\"\":o.chartColorsOpacity?i+=\"\"+wt(e,'')+\"\":i+=\"\"+wt(e)+\"\",0===o.lineSize?i+=\"\":(i+=''+wt(e)+\"\",i+=''),i+=Xt(o.shadow,C),i+=\" \",i+=\"\",i+=' ',o.lineDataSymbolSize&&(i+=' '),i+=\" \",i+=\" \"+wt(o.chartColors[t+1>o.chartColors.length?Math.floor(Math.random()*o.chartColors.length):t])+\"\",i+=' '+wt(o.lineDataSymbolLineColor||o.chartColors[s%o.chartColors.length])+'',i+=\" \",i+=\" \",i+=\"\",o.showLabel){var n=ht(\"-xxxx-xxxx-xxxx-xxxxxxxxxxxx\");!r.labels||\"custom\"!==o.dataLabelFormatScatter&&\"customXY\"!==o.dataLabelFormatScatter||(i+=\"\",r.labels.forEach(function(t,e){\"custom\"!==o.dataLabelFormatScatter&&\"customXY\"!==o.dataLabelFormatScatter||(i+=\" \",i+=' ',i+=\" \",i+=\" \",i+=\"\\t\\t\\t\",i+=\"\\t\\t\\t\\t\",i+=\"\\t\\t\\t\",i+=\" \\t\",i+=\" \\t\",i+=\"\\t\\t\\t\\t\",i+=\"\\t\\t\\t\\t\\t\",i+=\"\\t\\t\\t\\t\",i+=\" \\t\",i+=' \\t\\t',i+=\" \\t\\t\"+gt(t)+\"\",i+=\" \\t\",\"customXY\"!==o.dataLabelFormatScatter||/^ *$/.test(t)||(i+=\" \\t\",i+=' \\t\\t',i+=\" \\t\\t (\",i+=\" \\t\",i+=' \\t',i+=' \\t\\t',i+=\" \\t\\t\",i+=\" \\t\\t\\t\",i+=\" \\t\\t\",i+=\" \\t\\t[\"+gt(r.name)+\"\",i+=\" \\t\",i+=\" \\t\",i+=' \\t\\t',i+=\" \\t\\t, \",i+=\" \\t\",i+=' \\t',i+=' \\t\\t',i+=\" \\t\\t\",i+=\" \\t\\t\\t\",i+=\" \\t\\t\",i+=\" \\t\\t[\"+gt(r.name)+\"]\",i+=\" \\t\",i+=\" \\t\",i+=' \\t\\t',i+=\" \\t\\t)\",i+=\" \\t\",i+=' \\t'),i+=\" \\t\",i+=\" \",i+=\" \",i+=\" \",i+=\" \\t\",i+=\" \\t\",i+=\" \\t\\t\",i+=\" \\t\",i+=\" \\t\",i+=\" \",o.dataLabelPosition&&(i+=' '),i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+='\\t ',i+=\" \",i+=' ',i+=' ',i+='\\t\\t\\t',i+=\" \",i+=\"\\t\\t\",i+=\"\")}),i+=\"\"),\"XY\"===o.dataLabelFormatScatter&&(i+=\"\",i+=\"\\t\",i+=\"\\t\\t\",i+=\"\\t\\t\",i+=\"\\t\\t\\t\",i+=\"\\t\\t\",i+=\"\\t \\t\",i+=\"\\t\",i+=\"\\t\",i+=\"\\t\\t\",i+=\"\\t\\t\\t\",i+=\"\\t\\t\",i+=\"\\t\\t\",i+=\"\\t\\t\",i+=\"\\t \\t\",i+=\" \\t\\t\",i+=\"\\t \\t\",i+='\\t \\t',i+=\"\\t\\t\",i+=\"\\t\",o.dataLabelPosition&&(i+=' '),i+='\\t',i+=' ',i+=' ',i+='\\t',i+='\\t',i+='\\t',i+=\"\\t\",i+='\\t\\t',i+='\\t\\t\\t',i+=\"\\t\\t\",i+=\"\\t\",i+=\"\")}1===a.length&&o.chartColors!==I&&r.values.forEach(function(t,e){var r=t<0?o.invertedColors||o.chartColors||I:o.chartColors||[];i+=\" \",i+=' ',i+=' ',i+=' ',i+=\" \",0===o.lineSize?i+=\"\":(i+=\"\",i+=' ',i+=\"\"),i+=Xt(o.shadow,C),i+=\" \",i+=\" \"}),i+=\"\",i+=\" \",i+=\" Sheet1!$A$2:$A$\"+(a[0].values.length+1)+\"\",i+=\" \",i+=\" General\",i+=' ',a[0].values.forEach(function(t,e){i+=''+(t||0===t?t:\"\")+\"\"}),i+=\" \",i+=\" \",i+=\"\",i+=\"\",i+=\" \",i+=\" Sheet1!$\"+Zt(t+1)+\"$2:$\"+Zt(t+1)+\"$\"+(a[0].values.length+1)+\"\",i+=\" \",i+=\" General\",i+=' ',a[0].values.forEach(function(t,e){i+=''+(r.values[e]||0===r.values[e]?r.values[e]:\"\")+\"\"}),i+=\" \",i+=\" \",i+=\"\",i+='',i+=\"\"}),i+=\" \",i+=' ',i+=\" \",i+=\" \",i+=\" \",i+=\" \",i+=' ',i+=\" \"+wt(o.dataLabelColor||b)+\"\",i+=' ',i+=\" \",i+=\" \",i+=\" \",o.dataLabelPosition&&(i+=' '),i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=\" \",i+=' ',i+=' ',i+=\"\";break;case J.BUBBLE:i+=\"\",i+='',s=-1;var l=1;a.filter(function(t,e){return 0\",i+=' ',i+=' ',i+=\" \",i+=\" \",i+=\" Sheet1!$\"+F[l]+\"$1\",i+=' '+r.name+\"\",i+=\" \",i+=\" \",i+=\"\";var e=o.chartColors[s%o.chartColors.length];\"transparent\"===e?i+=\"\":o.chartColorsOpacity?i+=\"\"+wt(e,'')+\"\":i+=\"\"+wt(e)+\"\",0===o.lineSize?i+=\"\":o.dataBorder?i+=''+wt(o.dataBorder.color)+'':(i+=''+wt(e)+\"\",i+=''),i+=Xt(o.shadow,C),i+=\"\",i+=\"\",i+=\" \",i+=\" Sheet1!$A$2:$A$\"+(a[0].values.length+1)+\"\",i+=\" \",i+=\" General\",i+=' ',a[0].values.forEach(function(t,e){i+=''+(t||0===t?t:\"\")+\"\"}),i+=\" \",i+=\" \",i+=\"\",i+=\"\",i+=\" \",i+=\" Sheet1!$\"+Zt(l)+\"$2:$\"+Zt(l)+\"$\"+(a[0].values.length+1)+\"\",l++,i+=\" \",i+=\" General\",i+=' ',a[0].values.forEach(function(t,e){i+=''+(r.values[e]||0===r.values[e]?r.values[e]:\"\")+\"\"}),i+=\" \",i+=\" \",i+=\"\",i+=\" \",i+=\" \",i+=\" Sheet1!$\"+Zt(l)+\"$2:$\"+Zt(t+2)+\"$\"+(r.sizes.length+1)+\"\",l++,i+=\" \",i+=\" General\",i+='\\t ',r.sizes.forEach(function(t,e){i+=''+(t||\"\")+\"\"}),i+=\" \",i+=\" \",i+=\" \",i+=' ',i+=\"\"}),i+=\" \",i+=' ',i+=\" \",i+=\" \",i+=\" \",i+=\" \",i+=' ',i+=\" \"+wt(o.dataLabelColor||b)+\"\",i+=' ',i+=\" \",i+=\" \",i+=\" \",o.dataLabelPosition&&(i+=' '),i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=\" \",i+=' ',i+=' ',i+=\"\";break;case J.DOUGHNUT:case J.PIE:var r=a[0];i+=\"\",i+=' ',i+=\"\",i+=' ',i+=' ',i+=\" \",i+=\" \",i+=\" Sheet1!$B$1\",i+=\" \",i+=' ',i+=' '+gt(r.name)+\"\",i+=\" \",i+=\" \",i+=\" \",i+=\" \",i+=' ',i+=' ',o.dataNoEffects?i+=\"\":i+=Xt(o.shadow,C),i+=\" \",r.labels.forEach(function(t,e){i+=\"\",i+=' ',i+=' ',i+=\" \",i+=\"\"+wt(o.chartColors[e+1>o.chartColors.length?Math.floor(Math.random()*o.chartColors.length):e])+\"\",o.dataBorder&&(i+=''+wt(o.dataBorder.color)+''),i+=Xt(o.shadow,C),i+=\" \",i+=\"\"}),i+=\"\",r.labels.forEach(function(t,e){i+=\"\",i+=' ',i+=' ',i+=\" \",i+=\" \",i+=\" \",i+=' ',i+=\" \"+wt(o.dataLabelColor||b)+\"\",i+=' ',i+=\" \",i+=\" \",i+=\" \",n===J.PIE&&o.dataLabelPosition&&(i+=' '),i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=\" \"}),i+=' ',i+=\"\\t\",i+=\"\\t \",i+=\"\\t \",i+=\"\\t \",i+=\"\\t\\t\",i+='\\t\\t ',i+='\\t\\t\\t',i+=\"\\t\\t \",i+=\"\\t\\t\",i+=\"\\t \",i+=\"\\t\",i+=n===J.PIE?'':\"\",i+='\\t',i+='\\t',i+='\\t',i+='\\t',i+='\\t',i+='\\t',i+=' ',i+=\"\",i+=\"\",i+=\" \",i+=\" Sheet1!$A$2:$A$\"+(r.labels.length+1)+\"\",i+=\" \",i+='\\t ',r.labels.forEach(function(t,e){i+=''+gt(t)+\"\"}),i+=\" \",i+=\" \",i+=\"\",i+=\" \",i+=\" \",i+=\" Sheet1!$B$2:$B$\"+(r.labels.length+1)+\"\",i+=\" \",i+='\\t ',r.values.forEach(function(t,e){i+=''+(t||0===t?t:\"\")+\"\"}),i+=\" \",i+=\" \",i+=\" \",i+=\" \",i+=' ',n===J.DOUGHNUT&&(i+=' '),i+=\"\";break;default:i+=\"\"}return i}function Qt(e,t,r){var n=\"\";return e._type===J.SCATTER||e._type===J.BUBBLE?n+=\"\":n+=\"\",n+=' ',n+=\" \",n+='',!e.catAxisMaxVal&&0!==e.catAxisMaxVal||(n+=''),!e.catAxisMinVal&&0!==e.catAxisMinVal||(n+=''),n+=\"\",n+=' ',n+=' ',n+=\"none\"!==e.catGridLine.style?Kt(e.catGridLine):\"\",e.showCatAxisTitle&&(n+=qt({color:e.catAxisTitleColor,fontFace:e.catAxisTitleFontFace,fontSize:e.catAxisTitleFontSize,titleRotate:e.catAxisTitleRotate,title:e.catAxisTitle||\"Axis Title\"})),e._type===J.SCATTER||e._type===J.BUBBLE?n+=' ':n+=' ',e._type===J.SCATTER?(n+=' ',n+=' ',n+=' '):(n+=' ',n+=' ',n+=' '),n+=\" \",n+=' ',n+=!1===e.catAxisLineShow?\"\":\"\"+wt(e.catAxisLineColor||y.color)+\"\",n+=' ',n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=' ',n+=\" \"+wt(e.catAxisLabelColor||b)+\"\",n+=' ',n+=\" \",n+=\" \",n+=' ',n+=\" \",n+=\" \",n+=' ',n+=\" ',n+=' ',n+=' ',n+=' ',e.catAxisLabelFrequency&&(n+=' '),!e.catLabelFormatCode&&e._type!==J.SCATTER&&e._type!==J.BUBBLE||(e.catLabelFormatCode&&([\"catAxisBaseTimeUnit\",\"catAxisMajorTimeUnit\",\"catAxisMinorTimeUnit\"].forEach(function(t){!e[t]||\"string\"==typeof e[t]&&-1!==[\"days\",\"months\",\"years\"].indexOf(e[t].toLowerCase())||(console.warn(\"`\"+t+\"` must be one of: 'days','months','years' !\"),e[t]=null)}),e.catAxisBaseTimeUnit&&(n+=''),e.catAxisMajorTimeUnit&&(n+=''),e.catAxisMinorTimeUnit&&(n+='')),e.catAxisMajorUnit&&(n+=''),e.catAxisMinorUnit&&(n+='')),e._type===J.SCATTER||e._type===J.BUBBLE?n+=\"\":n+=\"\",n}function Yt(t,e){var r=e===L?\"col\"===t.barDir?\"l\":\"b\":\"col\"!==t.barDir?\"r\":\"t\",n=\"\",a=\"r\"==r||\"t\"==r?\"max\":\"autoZero\",o=e===L?T:k;return n+=\"\",n+=' ',n+=\" \",t.valAxisLogScaleBase&&(n+=' '),n+=' ',!t.valAxisMaxVal&&0!==t.valAxisMaxVal||(n+=''),!t.valAxisMinVal&&0!==t.valAxisMinVal||(n+=''),n+=\" \",n+=' ',n+=' ',\"none\"!==t.valGridLine.style&&(n+=Kt(t.valGridLine)),t.showValAxisTitle&&(n+=qt({color:t.valAxisTitleColor,fontFace:t.valAxisTitleFontFace,fontSize:t.valAxisTitleFontSize,titleRotate:t.valAxisTitleRotate,title:t.valAxisTitle||\"Axis Title\"})),n+=\"',t._type===J.SCATTER?(n+=' ',n+=' ',n+=' '):(n+=' ',n+=' ',n+=' '),n+=\" \",n+=' ',n+=!1===t.valAxisLineShow?\"\":\"\"+wt(t.valAxisLineColor||y.color)+\"\",n+=' ',n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=' ',n+=\" \"+wt(t.valAxisLabelColor||b)+\"\",n+=' ',n+=\" \",n+=\" \",n+=' ',n+=\" \",n+=\" \",n+=' ',n+=' ',n+=' ',t.valAxisMajorUnit&&(n+=' '),t.valAxisDisplayUnit&&(n+=''+(t.valAxisDisplayUnitLabel?\"\":\"\")+\"\"),n+=\"\"}function qt(t){var e=\"left\"===t.titleAlign||\"right\"===t.titleAlign?'':\"\",r=t.titleRotate?'':\"\",n=t.fontSize?'sz=\"'+Math.round(100*t.fontSize)+'\"':\"\",a=!0===t.titleBold?1:0,o=t.titlePos&&t.titlePos.x&&t.titlePos.y?'':\"\";return\"\\n\\t \\n\\t \\n\\t \"+r+\"\\n\\t \\n\\t \\n\\t \"+e+\"\\n\\t \\n\\t '+wt(t.color||b)+'\\n\\t \\n\\t \\n\\t \\n\\t \\n\\t \\n\\t '+wt(t.color||b)+'\\n\\t \\n\\t \\n\\t '+(gt(t.title)||\"\")+\"\\n\\t \\n\\t \\n\\t \\n\\t \\n\\t \"+o+'\\n\\t \\n\\t'}function Zt(t){var e=\"\";return t<=26?e=F[t]:(e+=F[Math.floor(t/F.length)-1],e+=F[t%F.length]),e}function Xt(t,e){if(!t)return\"\";if(\"object\"!=typeof t)return console.warn(\"`shadow` options must be an object. Ex: `{shadow: {type:'none'}}`\"),\"\";var r=\"\",n=mt(e,t),a=n.type||\"outer\",o=At(n.blur),i=At(n.offset),s=Math.round(6e4*n.angle),l=n.color,c=Math.round(1e5*n.opacity);return r+=\"',r+='',r+='',r+=\"\",r+=\"\"}function Kt(t){var e=\"\";return e+=\" \",e+=' ',e+=' ',e+=' ',e+=\" \",e+=\" \",e+=\"\"}function Jt(t){var o=\"undefined\"!=typeof require&&\"undefined\"==typeof window?require(\"fs\"):null,i=\"undefined\"!=typeof require&&\"undefined\"==typeof window?require(\"https\"):null,e=[];return t._relsMedia.filter(function(t){return\"online\"!==t.type&&!t.data&&(!t.path||t.path&&-1===t.path.indexOf(\"preencoded\"))}).forEach(function(a){e.push(new Promise(function(r,n){if(o&&0!==a.path.indexOf(\"http\"))try{var t=o.readFileSync(a.path);a.data=Buffer.from(t).toString(\"base64\"),r(\"done\")}catch(t){a.data=pt,n('ERROR: Unable to read media: \"'+a.path+'\"\\n'+t.toString())}else if(o&&i&&0===a.path.indexOf(\"http\"))i.get(a.path,function(t){var e=\"\";t.setEncoding(\"binary\"),t.on(\"data\",function(t){return e+=t}),t.on(\"end\",function(){a.data=Buffer.from(e,\"binary\").toString(\"base64\"),r(\"done\")}),t.on(\"error\",function(t){a.data=pt,n(\"ERROR! Unable to load image (https.get): \"+a.path)})});else{var e=new XMLHttpRequest;e.onload=function(){var t=new FileReader;t.onloadend=function(){a.data=t.result,a.isSvgPng?$t(a).then(function(){r(\"done\")}).catch(function(t){n(t)}):r(\"done\")},t.readAsDataURL(e.response)},e.onerror=function(t){a.data=pt,n(\"ERROR! Unable to load image (xhr.onerror): \"+a.path)},e.open(\"GET\",a.path),e.responseType=\"blob\",e.send()}}))}),t._relsMedia.filter(function(t){return t.isSvgPng&&t.data}).forEach(function(t){o?(t.data=pt,e.push(Promise.resolve().then(function(){return\"done\"}))):e.push($t(t))}),e}function $t(a){return new Promise(function(r,e){var n=new Image;n.onload=function(){n.width+n.height===0&&n.onerror(\"h/w=0\");var t=document.createElement(\"CANVAS\"),e=t.getContext(\"2d\");t.width=n.width,t.height=n.height,e.drawImage(n,0,0);try{a.data=t.toDataURL(a.type),r(\"done\")}catch(t){n.onerror(t)}t=null},n.onerror=function(t){a.data=pt,e(\"ERROR! Unable to load image (image.onerror): \"+a.path)},n.src=\"string\"==typeof a.data?a.data:pt})}function te(){var a=this;this._version=\"3.7.0\",this._alignH=Q,this._alignV=q,this._chartType=U,this._outputType=z,this._schemeColor=H,this._shapeType=G,this._charts=J,this._colors=tt,this._shapes=X,this.addNewSlide=function(t){var e=0')})}),n+='',n+='',n+='',n+='',t.forEach(function(t,e){n+='',n+='',t._relsChart.forEach(function(t){n+=' '})}),n+='',n+='',n+='',n+='',e.forEach(function(t,e){n+='',(t._relsChart||[]).forEach(function(t){n+=' '})}),t.forEach(function(t,e){n+=' '}),r._relsChart.forEach(function(t){n+=' '}),r._relsMedia.forEach(function(t){\"image\"!==t.type&&\"online\"!==t.type&&\"chart\"!==t.type&&\"m4v\"!==t.extn&&-1===n.indexOf(t.type)&&(n+=' ')}),n+=' ',n+=' ',n+=\"\"}(a.slides,a.slideLayouts,a.masterSlide)),n.file(\"_rels/.rels\",''+v+'\\n\\t\\t\\n\\t\\t\\n\\t\\t\\n\\t\\t'),n.file(\"docProps/app.xml\",function(t,e){return''+v+'\\n\\t0\\n\\t0\\n\\tMicrosoft Office PowerPoint\\n\\tOn-screen Show (16:9)\\n\\t0\\n\\t'+t.length+\"\\n\\t\"+t.length+'\\n\\t0\\n\\t0\\n\\tfalse\\n\\t\\n\\t\\t\\n\\t\\t\\tFonts Used\\n\\t\\t\\t2\\n\\t\\t\\tTheme\\n\\t\\t\\t1\\n\\t\\t\\tSlide Titles\\n\\t\\t\\t'+t.length+'\\n\\t\\t\\n\\t\\n\\t\\n\\t\\t\\n\\t\\t\\tArial\\n\\t\\t\\tCalibri\\n\\t\\t\\tOffice Theme\\n\\t\\t\\t'+t.map(function(t,e){return\"Slide \"+(e+1)+\"\\n\"}).join(\"\")+\"\\n\\t\\t\\n\\t\\n\\t\"+e+\"\\n\\tfalse\\n\\tfalse\\n\\tfalse\\n\\t16.0000\\n\\t\"}(a.slides,a.company)),n.file(\"docProps/core.xml\",function(t,e,r,n){return'\\n\\t\\n\\t\\t'+gt(t)+\"\\n\\t\\t\"+gt(e)+\"\\n\\t\\t\"+gt(r)+\"\\n\\t\\t\"+gt(r)+\"\\n\\t\\t\"+n+'\\n\\t\\t'+(new Date).toISOString().replace(/\\.\\d\\d\\dZ/,\"Z\")+'\\n\\t\\t'+(new Date).toISOString().replace(/\\.\\d\\d\\dZ/,\"Z\")+\"\\n\\t\"}(a.title,a.subject,a.author,a.revision)),n.file(\"ppt/_rels/presentation.xml.rels\",function(t){var e=1,r=''+v;r+='',r+='';for(var n=1;n<=t.length;n++)r+='';return r+=''}(a.slides)),n.file(\"ppt/theme/theme1.xml\",''+v+''),n.file(\"ppt/presentation.xml\",function(t){var e=''+v+'';e+='',e+=\"\",t.slides.forEach(function(t){return e+=''}),e+=\"\",e+='',e+='',e+='',e+=\"\";for(var r=1;r<10;r++)e+=\"\";return e+=\"\",t.sections&&0',e+='',t.sections.forEach(function(t){e+='',t._slides.forEach(function(t){return e+=''}),e+=\"\"}),e+=\"\",e+='',e+=\"\"),e+=\"\"}(a)),n.file(\"ppt/presProps.xml\",''+v+''),n.file(\"ppt/tableStyles.xml\",''+v+''),n.file(\"ppt/viewProps.xml\",''+v+''),a.slideLayouts.forEach(function(t,e){n.file(\"ppt/slideLayouts/slideLayout\"+(e+1)+\".xml\",function(t){return'\\n\\t\\t\\n\\t\\t'+Lt(t)+\"\\n\\t\\t\"}(t)),n.file(\"ppt/slideLayouts/_rels/slideLayout\"+(e+1)+\".xml.rels\",function(t,e){return Et(e[t-1],[{target:\"../slideMasters/slideMaster1.xml\",type:\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster\"}])}(e+1,a.slideLayouts))}),a.slides.forEach(function(t,e){n.file(\"ppt/slides/slide\"+(e+1)+\".xml\",function(t){return''+v+'\"+Lt(t)+\"\"}(t)),n.file(\"ppt/slides/_rels/slide\"+(e+1)+\".xml.rels\",function(t,e,r){return Et(t[r-1],[{target:\"../slideLayouts/slideLayout\"+function(t,e,r){for(var n=0;n\\n\\t\\t\\n\\t\\t\\t\\n\\t\\t\\t\\n\\t\\t'}(e+1))}),n.file(\"ppt/slideMasters/slideMaster1.xml\",function(r,t){var e=t.map(function(t,e){return''}),n=''+v;return n+='',n+=Lt(r),n+='',n+=\"\"+e.join(\"\")+\"\",n+='',n+=' ',n+=\"\"}(a.masterSlide,a.slideLayouts)),n.file(\"ppt/slideMasters/_rels/slideMaster1.xml.rels\",function(t,e){var r=e.map(function(t,e){return{target:\"../slideLayouts/slideLayout\"+(e+1)+\".xml\",type:\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout\"}});return r.push({target:\"../theme/theme1.xml\",type:\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme\"}),Et(t,r)}(a.masterSlide,a.slideLayouts)),n.file(\"ppt/notesMasters/notesMaster1.xml\",''+v+'7/23/19Click to edit Master text stylesSecond levelThird levelFourth levelFifth level‹#›'),n.file(\"ppt/notesMasters/_rels/notesMaster1.xml.rels\",''+v+'\\n\\t\\t\\n\\t\\t'),a.slideLayouts.forEach(function(t){a.createChartMediaRels(t,n,e)}),a.slides.forEach(function(t){a.createChartMediaRels(t,n,e)}),a.createChartMediaRels(a.masterSlide,n,e),Promise.all(e).then(function(){return\"STREAM\"===t.outputType?n.generateAsync({type:\"nodebuffer\",compression:t.compression?\"DEFLATE\":\"STORE\"}):t.outputType?n.generateAsync({type:t.outputType}):n.generateAsync({type:\"blob\",compression:t.compression?\"DEFLATE\":\"STORE\"})})})},this.LAYOUTS={LAYOUT_4x3:{name:\"screen4x3\",width:9144e3,height:6858e3},LAYOUT_16x9:{name:\"screen16x9\",width:9144e3,height:5143500},LAYOUT_16x10:{name:\"screen16x10\",width:9144e3,height:5715e3},LAYOUT_WIDE:{name:\"custom\",width:12192e3,height:6858e3}},this._author=\"PptxGenJS\",this._company=\"PptxGenJS\",this._revision=\"1\",this._subject=\"PptxGenJS Presentation\",this._title=\"PptxGenJS Presentation\",this._presLayout={name:this.LAYOUTS[p].name,_sizeW:this.LAYOUTS[p].width,_sizeH:this.LAYOUTS[p].height,width:this.LAYOUTS[p].width,height:this.LAYOUTS[p].height},this._rtlMode=!1,this._slideLayouts=[{_margin:P,_name:n,_presLayout:this._presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slide:null,_slideNum:1e3,_slideNumberProps:null,_slideObjects:[]}],this._slides=[],this._sections=[],this._masterSlide={addChart:null,addImage:null,addMedia:null,addNotes:null,addShape:null,addTable:null,addText:null,_name:null,_presLayout:this._presLayout,_rId:null,_rels:[],_relsChart:[],_relsMedia:[],_slideId:null,_slideLayout:null,_slideNum:null,_slideNumberProps:null,_slideObjects:[]}}return Object.defineProperty(te.prototype,\"layout\",{get:function(){return this._layout},set:function(t){var e=this.LAYOUTS[t];if(!e)throw new Error(\"UNKNOWN-LAYOUT\");this._layout=t,this._presLayout=e},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"version\",{get:function(){return this._version},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"author\",{get:function(){return this._author},set:function(t){this._author=t},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"company\",{get:function(){return this._company},set:function(t){this._company=t},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"revision\",{get:function(){return this._revision},set:function(t){this._revision=t},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"subject\",{get:function(){return this._subject},set:function(t){this._subject=t},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"title\",{get:function(){return this._title},set:function(t){this._title=t},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"rtlMode\",{get:function(){return this._rtlMode},set:function(t){this._rtlMode=t},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"masterSlide\",{get:function(){return this._masterSlide},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"slides\",{get:function(){return this._slides},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"sections\",{get:function(){return this._sections},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"slideLayouts\",{get:function(){return this._slideLayouts},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"AlignH\",{get:function(){return this._alignH},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"AlignV\",{get:function(){return this._alignV},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"ChartType\",{get:function(){return this._chartType},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"OutputType\",{get:function(){return this._outputType},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"presLayout\",{get:function(){return this._presLayout},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"SchemeColor\",{get:function(){return this._schemeColor},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"ShapeType\",{get:function(){return this._shapeType},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"charts\",{get:function(){return this._charts},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"colors\",{get:function(){return this._colors},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"shapes\",{get:function(){return this._shapes},enumerable:!1,configurable:!0}),te.prototype.stream=function(t){var e=!(\"object\"!=typeof t||!t.hasOwnProperty(\"compression\"))&&t.compression;return this.exportPresentation({compression:e,outputType:\"STREAM\"})},te.prototype.write=function(t){var e=\"object\"==typeof t&&t.hasOwnProperty(\"outputType\")?t.outputType:t||null,r=!(\"object\"!=typeof t||!t.hasOwnProperty(\"compression\"))&&t.compression;return this.exportPresentation({compression:r,outputType:e})},te.prototype.writeFile=function(t){var e=this,n=\"undefined\"!=typeof require&&\"undefined\"==typeof window?require(\"fs\"):null;\"string\"==typeof t&&console.log(\"Warning: `writeFile(filename)` is deprecated - please use `WriteFileProps` argument (v3.5.0)\");var r=\"object\"==typeof t&&t.hasOwnProperty(\"fileName\")?t.fileName:\"string\"==typeof t?t:\"\",a=!(\"object\"!=typeof t||!t.hasOwnProperty(\"compression\"))&&t.compression,o=r?r.toString().toLowerCase().endsWith(\".pptx\")?r:r+\".pptx\":\"Presentation.pptx\";return this.exportPresentation({compression:a,outputType:n?\"nodebuffer\":null}).then(function(t){return n?new Promise(function(e,r){n.writeFile(o,t,function(t){t?r(t):e(o)})}):e.writeFileToBrowser(o,t)})},te.prototype.addSection=function(t){t?t.title||console.warn(\"addSection requires a title\"):console.warn(\"addSection requires an argument\");var e={_type:\"user\",_slides:[],title:t.title};t.order?this.sections.splice(t.order,0,e):this._sections.push(e)},te.prototype.addSlide=function(e){var r=\"string\"==typeof e?e:e&&e.masterName?e.masterName:\"\",t={_name:this.LAYOUTS[p].name,_presLayout:this.presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slideNum:this.slides.length+1};if(r){var n=this.slideLayouts.filter(function(t){return t._name===r})[0];n&&(t=n)}var a=new Gt({addSlide:this.addNewSlide,getSlide:this.getSlide,presLayout:this.presLayout,setSlideNum:this.setSlideNumber,slideId:this.slides.length+256,slideRId:this.slides.length+2,slideNumber:this.slides.length+1,slideLayout:t});if(this._slides.push(a),e&&e.sectionTitle){var o=this.sections.filter(function(t){return t.title===e.sectionTitle})[0];o?o._slides.push(a):console.warn('addSlide: unable to find section with title: \"'+e.sectionTitle+'\"')}else if(this.sections&&0 opts.y = \"+a.y),r.addTable(t.rows,{x:a.x||p[3],y:a.y,w:Number(s)/B,colW:c,autoPage:!1}),a.addImage&&r.addImage({path:a.addImage.url,x:a.addImage.x,y:a.addImage.y,w:a.addImage.w,h:a.addImage.h}),a.addShape&&r.addShape(a.addShape.shape,a.addShape.options||{}),a.addTable&&r.addTable(a.addTable.rows,a.addTable.options||{}),a.addText&&r.addText(a.addText.text,a.addText.options||{})})}(this,t,e,e&&e.masterSlideName?this.slideLayouts.filter(function(t){return t._name===e.masterSlideName})[0]:null)},te}();"],"file":"pptxgen.bundle.js"} \ No newline at end of file +{"version":3,"names":[],"mappings":"","sources":["pptxgen.bundle.js"],"sourcesContent":["/* PptxGenJS 3.7.1 @ 2021-07-22T03:01:25.409Z */\n!function(t){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=t():\"function\"==typeof define&&define.amd?define([],t):(\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:this).JSZip=t()}(function(){return function o(i,s,l){function c(e,t){if(!s[e]){if(!i[e]){var r=\"function\"==typeof require&&require;if(!t&&r)return r(e,!0);if(u)return u(e,!0);var n=new Error(\"Cannot find module '\"+e+\"'\");throw n.code=\"MODULE_NOT_FOUND\",n}var a=s[e]={exports:{}};i[e][0].call(a.exports,function(t){return c(i[e][1][t]||t)},a,a.exports,o,i,s,l)}return s[e].exports}for(var u=\"function\"==typeof require&&require,t=0;t>2,o=(3&e)<<4|r>>4,i=1>6:64,s=2>4,r=(15&a)<<4|(o=h.indexOf(t.charAt(s++)))>>2,n=(3&o)<<6|(i=h.indexOf(t.charAt(s++))),c[l++]=e,64!==o&&(c[l++]=r),64!==i&&(c[l++]=n);return c}},{\"./support\":30,\"./utils\":32}],2:[function(t,e,r){\"use strict\";var n=t(\"./external\"),a=t(\"./stream/DataWorker\"),o=t(\"./stream/Crc32Probe\"),i=t(\"./stream/DataLengthProbe\");function s(t,e,r,n,a){this.compressedSize=t,this.uncompressedSize=e,this.crc32=r,this.compression=n,this.compressedContent=a}s.prototype={getContentWorker:function(){var t=new a(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new i(\"data_length\")),e=this;return t.on(\"end\",function(){if(this.streamInfo.data_length!==e.uncompressedSize)throw new Error(\"Bug : uncompressed data size mismatch\")}),t},getCompressedWorker:function(){return new a(n.Promise.resolve(this.compressedContent)).withStreamInfo(\"compressedSize\",this.compressedSize).withStreamInfo(\"uncompressedSize\",this.uncompressedSize).withStreamInfo(\"crc32\",this.crc32).withStreamInfo(\"compression\",this.compression)}},s.createWorkerFrom=function(t,e,r){return t.pipe(new o).pipe(new i(\"uncompressedSize\")).pipe(e.compressWorker(r)).pipe(new i(\"compressedSize\")).withStreamInfo(\"compression\",e)},e.exports=s},{\"./external\":6,\"./stream/Crc32Probe\":25,\"./stream/DataLengthProbe\":26,\"./stream/DataWorker\":27}],3:[function(t,e,r){\"use strict\";var n=t(\"./stream/GenericWorker\");r.STORE={magic:\"\\0\\0\",compressWorker:function(t){return new n(\"STORE compression\")},uncompressWorker:function(){return new n(\"STORE decompression\")}},r.DEFLATE=t(\"./flate\")},{\"./flate\":7,\"./stream/GenericWorker\":28}],4:[function(t,e,r){\"use strict\";var n=t(\"./utils\"),i=function(){for(var t,e=[],r=0;r<256;r++){t=r;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[r]=t}return e}();e.exports=function(t,e){return void 0!==t&&t.length?\"string\"!==n.getTypeOf(t)?function(t,e,r){var n=i,a=0+r;t^=-1;for(var o=0;o>>8^n[255&(t^e[o])];return-1^t}(0|e,t,t.length):function(t,e,r){var n=i,a=0+r;t^=-1;for(var o=0;o>>8^n[255&(t^e.charCodeAt(o))];return-1^t}(0|e,t,t.length):0}},{\"./utils\":32}],5:[function(t,e,r){\"use strict\";r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!0,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],6:[function(t,e,r){\"use strict\";var n;n=\"undefined\"!=typeof Promise?Promise:t(\"lie\"),e.exports={Promise:n}},{lie:37}],7:[function(t,e,r){\"use strict\";var n=\"undefined\"!=typeof Uint8Array&&\"undefined\"!=typeof Uint16Array&&\"undefined\"!=typeof Uint32Array,a=t(\"pako\"),o=t(\"./utils\"),i=t(\"./stream/GenericWorker\"),s=n?\"uint8array\":\"array\";function l(t,e){i.call(this,\"FlateWorker/\"+t),this._pako=null,this._pakoAction=t,this._pakoOptions=e,this.meta={}}r.magic=\"\\b\\0\",o.inherits(l,i),l.prototype.processChunk=function(t){this.meta=t.meta,null===this._pako&&this._createPako(),this._pako.push(o.transformTo(s,t.data),!1)},l.prototype.flush=function(){i.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},l.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this._pako=null},l.prototype._createPako=function(){this._pako=new a[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},r.compressWorker=function(t){return new l(\"Deflate\",t)},r.uncompressWorker=function(){return new l(\"Inflate\",{})}},{\"./stream/GenericWorker\":28,\"./utils\":32,pako:38}],8:[function(t,e,r){\"use strict\";function T(t,e){var r,n=\"\";for(r=0;r>>=8;return n}function a(t,e,r,n,a,o){var i,s,l=t.file,c=t.compression,u=o!==R.utf8encode,p=k.transformTo(\"string\",o(l.name)),f=k.transformTo(\"string\",R.utf8encode(l.name)),d=l.comment,h=k.transformTo(\"string\",o(d)),m=k.transformTo(\"string\",R.utf8encode(d)),g=f.length!==l.name.length,v=m.length!==d.length,A=\"\",y=\"\",b=\"\",x=l.dir,w=l.date,_={crc32:0,compressedSize:0,uncompressedSize:0};e&&!r||(_.crc32=t.crc32,_.compressedSize=t.compressedSize,_.uncompressedSize=t.uncompressedSize);var C=0;e&&(C|=8),u||!g&&!v||(C|=2048);var P,S=0,L=0;x&&(S|=16),\"UNIX\"===a?(L=798,S|=((P=l.unixPermissions)||(P=x?16893:33204),(65535&P)<<16)):(L=20,S|=63&(l.dosPermissions||0)),i=w.getUTCHours(),i<<=6,i|=w.getUTCMinutes(),i<<=5,i|=w.getUTCSeconds()/2,s=w.getUTCFullYear()-1980,s<<=4,s|=w.getUTCMonth()+1,s<<=5,s|=w.getUTCDate(),g&&(A+=\"up\"+T((y=T(1,1)+T(F(p),4)+f).length,2)+y),v&&(A+=\"uc\"+T((b=T(1,1)+T(F(h),4)+m).length,2)+b);var E=\"\";return E+=\"\\n\\0\",E+=T(C,2),E+=c.magic,E+=T(i,2),E+=T(s,2),E+=T(_.crc32,4),E+=T(_.compressedSize,4),E+=T(_.uncompressedSize,4),E+=T(p.length,2),E+=T(A.length,2),{fileRecord:I.LOCAL_FILE_HEADER+E+p+A,dirRecord:I.CENTRAL_FILE_HEADER+T(L,2)+E+T(h.length,2)+\"\\0\\0\\0\\0\"+T(S,4)+T(n,4)+p+A+h}}var k=t(\"../utils\"),o=t(\"../stream/GenericWorker\"),R=t(\"../utf8\"),F=t(\"../crc32\"),I=t(\"../signature\");function n(t,e,r,n){o.call(this,\"ZipFileWorker\"),this.bytesWritten=0,this.zipComment=e,this.zipPlatform=r,this.encodeFileName=n,this.streamFiles=t,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}k.inherits(n,o),n.prototype.push=function(t){var e=t.meta.percent||0,r=this.entriesCount,n=this._sources.length;this.accumulate?this.contentBuffer.push(t):(this.bytesWritten+=t.data.length,o.prototype.push.call(this,{data:t.data,meta:{currentFile:this.currentFile,percent:r?(e+100*(r-n-1))/r:100}}))},n.prototype.openedSource=function(t){this.currentSourceOffset=this.bytesWritten,this.currentFile=t.file.name;var e=this.streamFiles&&!t.file.dir;if(e){var r=a(t,e,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},n.prototype.closedSource=function(t){this.accumulate=!1;var e,r=this.streamFiles&&!t.file.dir,n=a(t,r,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),r)this.push({data:(e=t,I.DATA_DESCRIPTOR+T(e.crc32,4)+T(e.compressedSize,4)+T(e.uncompressedSize,4)),meta:{percent:100}});else for(this.push({data:n.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},n.prototype.flush=function(){for(var t=this.bytesWritten,e=0;e=this.index;e--)r=(r<<8)+this.byteAt(e);return this.index+=t,r},readString:function(t){return n.transformTo(\"string\",this.readData(t))},readData:function(t){},lastIndexOfSignature:function(t){},readAndCheckSignature:function(t){},readDate:function(){var t=this.readInt(4);return new Date(Date.UTC(1980+(t>>25&127),(t>>21&15)-1,t>>16&31,t>>11&31,t>>5&63,(31&t)<<1))}},e.exports=a},{\"../utils\":32}],19:[function(t,e,r){\"use strict\";var n=t(\"./Uint8ArrayReader\");function a(t){n.call(this,t)}t(\"../utils\").inherits(a,n),a.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=a},{\"../utils\":32,\"./Uint8ArrayReader\":21}],20:[function(t,e,r){\"use strict\";var n=t(\"./DataReader\");function a(t){n.call(this,t)}t(\"../utils\").inherits(a,n),a.prototype.byteAt=function(t){return this.data.charCodeAt(this.zero+t)},a.prototype.lastIndexOfSignature=function(t){return this.data.lastIndexOf(t)-this.zero},a.prototype.readAndCheckSignature=function(t){return t===this.readData(4)},a.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=a},{\"../utils\":32,\"./DataReader\":18}],21:[function(t,e,r){\"use strict\";var n=t(\"./ArrayReader\");function a(t){n.call(this,t)}t(\"../utils\").inherits(a,n),a.prototype.readData=function(t){if(this.checkOffset(t),0===t)return new Uint8Array(0);var e=this.data.subarray(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=a},{\"../utils\":32,\"./ArrayReader\":17}],22:[function(t,e,r){\"use strict\";var n=t(\"../utils\"),a=t(\"../support\"),o=t(\"./ArrayReader\"),i=t(\"./StringReader\"),s=t(\"./NodeBufferReader\"),l=t(\"./Uint8ArrayReader\");e.exports=function(t){var e=n.getTypeOf(t);return n.checkSupport(e),\"string\"!==e||a.uint8array?\"nodebuffer\"===e?new s(t):a.uint8array?new l(n.transformTo(\"uint8array\",t)):new o(n.transformTo(\"array\",t)):new i(t)}},{\"../support\":30,\"../utils\":32,\"./ArrayReader\":17,\"./NodeBufferReader\":19,\"./StringReader\":20,\"./Uint8ArrayReader\":21}],23:[function(t,e,r){\"use strict\";r.LOCAL_FILE_HEADER=\"PK\u0003\u0004\",r.CENTRAL_FILE_HEADER=\"PK\u0001\u0002\",r.CENTRAL_DIRECTORY_END=\"PK\u0005\u0006\",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR=\"PK\u0006\u0007\",r.ZIP64_CENTRAL_DIRECTORY_END=\"PK\u0006\u0006\",r.DATA_DESCRIPTOR=\"PK\u0007\\b\"},{}],24:[function(t,e,r){\"use strict\";var n=t(\"./GenericWorker\"),a=t(\"../utils\");function o(t){n.call(this,\"ConvertWorker to \"+t),this.destType=t}a.inherits(o,n),o.prototype.processChunk=function(t){this.push({data:a.transformTo(this.destType,t.data),meta:t.meta})},e.exports=o},{\"../utils\":32,\"./GenericWorker\":28}],25:[function(t,e,r){\"use strict\";var n=t(\"./GenericWorker\"),a=t(\"../crc32\");function o(){n.call(this,\"Crc32Probe\"),this.withStreamInfo(\"crc32\",0)}t(\"../utils\").inherits(o,n),o.prototype.processChunk=function(t){this.streamInfo.crc32=a(t.data,this.streamInfo.crc32||0),this.push(t)},e.exports=o},{\"../crc32\":4,\"../utils\":32,\"./GenericWorker\":28}],26:[function(t,e,r){\"use strict\";var n=t(\"../utils\"),a=t(\"./GenericWorker\");function o(t){a.call(this,\"DataLengthProbe for \"+t),this.propName=t,this.withStreamInfo(t,0)}n.inherits(o,a),o.prototype.processChunk=function(t){if(t){var e=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=e+t.data.length}a.prototype.processChunk.call(this,t)},e.exports=o},{\"../utils\":32,\"./GenericWorker\":28}],27:[function(t,e,r){\"use strict\";var n=t(\"../utils\"),a=t(\"./GenericWorker\");function o(t){a.call(this,\"DataWorker\");var e=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type=\"\",this._tickScheduled=!1,t.then(function(t){e.dataIsReady=!0,e.data=t,e.max=t&&t.length||0,e.type=n.getTypeOf(t),e.isPaused||e._tickAndRepeat()},function(t){e.error(t)})}n.inherits(o,a),o.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this.data=null},o.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,n.delay(this._tickAndRepeat,[],this)),!0)},o.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(n.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},o.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var t=null,e=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case\"string\":t=this.data.substring(this.index,e);break;case\"uint8array\":t=this.data.subarray(this.index,e);break;case\"array\":case\"nodebuffer\":t=this.data.slice(this.index,e)}return this.index=e,this.push({data:t,meta:{percent:this.max?this.index/this.max*100:0}})},e.exports=o},{\"../utils\":32,\"./GenericWorker\":28}],28:[function(t,e,r){\"use strict\";function n(t){this.name=t||\"default\",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}n.prototype={push:function(t){this.emit(\"data\",t)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit(\"end\"),this.cleanUp(),this.isFinished=!0}catch(t){this.emit(\"error\",t)}return!0},error:function(t){return!this.isFinished&&(this.isPaused?this.generatedError=t:(this.isFinished=!0,this.emit(\"error\",t),this.previous&&this.previous.error(t),this.cleanUp()),!0)},on:function(t,e){return this._listeners[t].push(e),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(t,e){if(this._listeners[t])for(var r=0;r \"+t:t}},e.exports=n},{}],29:[function(t,e,r){\"use strict\";var c=t(\"../utils\"),a=t(\"./ConvertWorker\"),o=t(\"./GenericWorker\"),u=t(\"../base64\"),n=t(\"../support\"),i=t(\"../external\"),s=null;if(n.nodestream)try{s=t(\"../nodejs/NodejsStreamOutputAdapter\")}catch(t){}function l(t,e,r){var n=e;switch(e){case\"blob\":case\"arraybuffer\":n=\"uint8array\";break;case\"base64\":n=\"string\"}try{this._internalType=n,this._outputType=e,this._mimeType=r,c.checkSupport(n),this._worker=t.pipe(new a(n)),t.lock()}catch(t){this._worker=new o(\"error\"),this._worker.error(t)}}l.prototype={accumulate:function(t){return s=this,l=t,new i.Promise(function(e,r){var n=[],a=s._internalType,o=s._outputType,i=s._mimeType;s.on(\"data\",function(t,e){n.push(t),l&&l(e)}).on(\"error\",function(t){n=[],r(t)}).on(\"end\",function(){try{var t=function(t,e,r){switch(t){case\"blob\":return c.newBlob(c.transformTo(\"arraybuffer\",e),r);case\"base64\":return u.encode(e);default:return c.transformTo(t,e)}}(o,function(t,e){var r,n=0,a=null,o=0;for(r=0;r>>6:(r<65536?e[o++]=224|r>>>12:(e[o++]=240|r>>>18,e[o++]=128|r>>>12&63),e[o++]=128|r>>>6&63),e[o++]=128|63&r);return e}(t)},o.utf8decode=function(t){return l.nodebuffer?s.transformTo(\"nodebuffer\",t).toString(\"utf-8\"):function(t){var e,r,n,a,o=t.length,i=new Array(2*o);for(e=r=0;e>10&1023,i[r++]=56320|1023&n)}return i.length!==r&&(i.subarray?i=i.subarray(0,r):i.length=r),s.applyFromCharCode(i)}(t=s.transformTo(l.uint8array?\"uint8array\":\"array\",t))},s.inherits(i,n),i.prototype.processChunk=function(t){var e=s.transformTo(l.uint8array?\"uint8array\":\"array\",t.data);if(this.leftOver&&this.leftOver.length){if(l.uint8array){var r=e;(e=new Uint8Array(r.length+this.leftOver.length)).set(this.leftOver,0),e.set(r,this.leftOver.length)}else e=this.leftOver.concat(e);this.leftOver=null}var n=function(t,e){var r;for((e=e||t.length)>t.length&&(e=t.length),r=e-1;0<=r&&128==(192&t[r]);)r--;return r<0?e:0===r?e:r+c[t[r]]>e?r:e}(e),a=e;n!==e.length&&(l.uint8array?(a=e.subarray(0,n),this.leftOver=e.subarray(n,e.length)):(a=e.slice(0,n),this.leftOver=e.slice(n,e.length))),this.push({data:o.utf8decode(a),meta:t.meta})},i.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:o.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},o.Utf8DecodeWorker=i,s.inherits(u,n),u.prototype.processChunk=function(t){this.push({data:o.utf8encode(t.data),meta:t.meta})},o.Utf8EncodeWorker=u},{\"./nodejsUtils\":14,\"./stream/GenericWorker\":28,\"./support\":30,\"./utils\":32}],32:[function(t,e,s){\"use strict\";var l=t(\"./support\"),c=t(\"./base64\"),r=t(\"./nodejsUtils\"),n=t(\"set-immediate-shim\"),u=t(\"./external\");function a(t){return t}function p(t,e){for(var r=0;r>8;this.dir=!!(16&this.externalFileAttributes),0==t&&(this.dosPermissions=63&this.externalFileAttributes),3==t&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||\"/\"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(t){if(this.extraFields[1]){var e=n(this.extraFields[1].value);this.uncompressedSize===o.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===o.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===o.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===o.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(t){var e,r,n,a=t.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});t.index+4>>6:(r<65536?e[o++]=224|r>>>12:(e[o++]=240|r>>>18,e[o++]=128|r>>>12&63),e[o++]=128|r>>>6&63),e[o++]=128|63&r);return e},r.buf2binstring=function(t){return u(t,t.length)},r.binstring2buf=function(t){for(var e=new l.Buf8(t.length),r=0,n=e.length;r>10&1023,s[n++]=56320|1023&a)}return u(s,n)},r.utf8border=function(t,e){var r;for((e=e||t.length)>t.length&&(e=t.length),r=e-1;0<=r&&128==(192&t[r]);)r--;return r<0?e:0===r?e:r+c[t[r]]>e?r:e}},{\"./common\":41}],43:[function(t,e,r){\"use strict\";e.exports=function(t,e,r,n){for(var a=65535&t|0,o=t>>>16&65535|0,i=0;0!==r;){for(r-=i=2e3>>1:t>>>1;e[r]=t}return e}();e.exports=function(t,e,r,n){var a=s,o=n+r;t^=-1;for(var i=n;i>>8^a[255&(t^e[i])];return-1^t}},{}],46:[function(t,e,r){\"use strict\";var l,f=t(\"../utils/common\"),c=t(\"./trees\"),d=t(\"./adler32\"),h=t(\"./crc32\"),n=t(\"./messages\"),u=0,p=0,m=-2,a=2,g=8,o=286,i=30,s=19,v=2*o+1,A=15,y=3,b=258,x=b+y+1,w=42,_=113;function C(t,e){return t.msg=n[e],e}function P(t){return(t<<1)-(4t.avail_out&&(r=t.avail_out),0!==r&&(f.arraySet(t.output,e.pending_buf,e.pending_out,r,t.next_out),t.next_out+=r,e.pending_out+=r,t.total_out+=r,t.avail_out-=r,e.pending-=r,0===e.pending&&(e.pending_out=0))}function E(t,e){c._tr_flush_block(t,0<=t.block_start?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,L(t.strm)}function T(t,e){t.pending_buf[t.pending++]=e}function k(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function R(t,e){var r,n,a=t.max_chain_length,o=t.strstart,i=t.prev_length,s=t.nice_match,l=t.strstart>t.w_size-x?t.strstart-(t.w_size-x):0,c=t.window,u=t.w_mask,p=t.prev,f=t.strstart+b,d=c[o+i-1],h=c[o+i];t.prev_length>=t.good_match&&(a>>=2),s>t.lookahead&&(s=t.lookahead);do{if(c[(r=e)+i]===h&&c[r+i-1]===d&&c[r]===c[o]&&c[++r]===c[o+1]){o+=2,r++;do{}while(c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&ol&&0!=--a);return i<=t.lookahead?i:t.lookahead}function F(t){var e,r,n,a,o,i,s,l,c,u,p=t.w_size;do{if(a=t.window_size-t.lookahead-t.strstart,t.strstart>=p+(p-x)){for(f.arraySet(t.window,t.window,p,p,0),t.match_start-=p,t.strstart-=p,t.block_start-=p,e=r=t.hash_size;n=t.head[--e],t.head[e]=p<=n?n-p:0,--r;);for(e=r=p;n=t.prev[--e],t.prev[e]=p<=n?n-p:0,--r;);a+=p}if(0===t.strm.avail_in)break;if(i=t.strm,s=t.window,l=t.strstart+t.lookahead,u=void 0,(c=a)<(u=i.avail_in)&&(u=c),r=0===u?0:(i.avail_in-=u,f.arraySet(s,i.input,i.next_in,u,l),1===i.state.wrap?i.adler=d(i.adler,s,u,l):2===i.state.wrap&&(i.adler=h(i.adler,s,u,l)),i.next_in+=u,i.total_in+=u,u),t.lookahead+=r,t.lookahead+t.insert>=y)for(o=t.strstart-t.insert,t.ins_h=t.window[o],t.ins_h=(t.ins_h<=y&&(t.ins_h=(t.ins_h<=y)if(n=c._tr_tally(t,t.strstart-t.match_start,t.match_length-y),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=y){for(t.match_length--;t.strstart++,t.ins_h=(t.ins_h<=y&&(t.ins_h=(t.ins_h<=y&&t.match_length<=t.prev_length){for(a=t.strstart+t.lookahead-y,n=c._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-y),t.lookahead-=t.prev_length-1,t.prev_length-=2;++t.strstart<=a&&(t.ins_h=(t.ins_h<t.pending_buf_size-5&&(r=t.pending_buf_size-5);;){if(t.lookahead<=1){if(F(t),0===t.lookahead&&e===u)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+r;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,E(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-x&&(E(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(E(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(E(t,!1),t.strm.avail_out),1)}),new B(4,4,8,4,I),new B(4,5,16,8,I),new B(4,6,32,32,I),new B(4,4,16,16,O),new B(8,16,32,32,O),new B(8,16,128,128,O),new B(8,32,128,256,O),new B(32,128,258,1024,O),new B(32,258,258,4096,O)],r.deflateInit=function(t,e){return z(t,e,g,15,8,0)},r.deflateInit2=z,r.deflateReset=M,r.deflateResetKeep=D,r.deflateSetHeader=function(t,e){return t&&t.state?2!==t.state.wrap?m:(t.state.gzhead=e,p):m},r.deflate=function(t,e){var r,n,a,o;if(!t||!t.state||5>8&255),T(n,n.gzhead.time>>16&255),T(n,n.gzhead.time>>24&255),T(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),T(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(T(n,255&n.gzhead.extra.length),T(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(t.adler=h(t.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69):(T(n,0),T(n,0),T(n,0),T(n,0),T(n,0),T(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),T(n,3),n.status=_);else{var i=g+(n.w_bits-8<<4)<<8;i|=(2<=n.strategy||n.level<2?0:n.level<6?1:6===n.level?2:3)<<6,0!==n.strstart&&(i|=32),i+=31-i%31,n.status=_,k(n,i),0!==n.strstart&&(k(n,t.adler>>>16),k(n,65535&t.adler)),t.adler=1}if(69===n.status)if(n.gzhead.extra){for(a=n.pending;n.gzindex<(65535&n.gzhead.extra.length)&&(n.pending!==n.pending_buf_size||(n.gzhead.hcrc&&n.pending>a&&(t.adler=h(t.adler,n.pending_buf,n.pending-a,a)),L(t),a=n.pending,n.pending!==n.pending_buf_size));)T(n,255&n.gzhead.extra[n.gzindex]),n.gzindex++;n.gzhead.hcrc&&n.pending>a&&(t.adler=h(t.adler,n.pending_buf,n.pending-a,a)),n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=73)}else n.status=73;if(73===n.status)if(n.gzhead.name){a=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>a&&(t.adler=h(t.adler,n.pending_buf,n.pending-a,a)),L(t),a=n.pending,n.pending===n.pending_buf_size)){o=1;break}o=n.gzindexa&&(t.adler=h(t.adler,n.pending_buf,n.pending-a,a)),0===o&&(n.gzindex=0,n.status=91)}else n.status=91;if(91===n.status)if(n.gzhead.comment){a=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>a&&(t.adler=h(t.adler,n.pending_buf,n.pending-a,a)),L(t),a=n.pending,n.pending===n.pending_buf_size)){o=1;break}o=n.gzindexa&&(t.adler=h(t.adler,n.pending_buf,n.pending-a,a)),0===o&&(n.status=103)}else n.status=103;if(103===n.status&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&L(t),n.pending+2<=n.pending_buf_size&&(T(n,255&t.adler),T(n,t.adler>>8&255),t.adler=0,n.status=_)):n.status=_),0!==n.pending){if(L(t),0===t.avail_out)return n.last_flush=-1,p}else if(0===t.avail_in&&P(e)<=P(r)&&4!==e)return C(t,-5);if(666===n.status&&0!==t.avail_in)return C(t,-5);if(0!==t.avail_in||0!==n.lookahead||e!==u&&666!==n.status){var s=2===n.strategy?function(t,e){for(var r;;){if(0===t.lookahead&&(F(t),0===t.lookahead)){if(e===u)return 1;break}if(t.match_length=0,r=c._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,r&&(E(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(E(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(E(t,!1),0===t.strm.avail_out)?1:2}(n,e):3===n.strategy?function(t,e){for(var r,n,a,o,i=t.window;;){if(t.lookahead<=b){if(F(t),t.lookahead<=b&&e===u)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=y&&0t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=y?(r=c._tr_tally(t,1,t.match_length-y),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(r=c._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),r&&(E(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(E(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(E(t,!1),0===t.strm.avail_out)?1:2}(n,e):l[n.level].func(n,e);if(3!==s&&4!==s||(n.status=666),1===s||3===s)return 0===t.avail_out&&(n.last_flush=-1),p;if(2===s&&(1===e?c._tr_align(n):5!==e&&(c._tr_stored_block(n,0,0,!1),3===e&&(S(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),L(t),0===t.avail_out))return n.last_flush=-1,p}return 4!==e?p:n.wrap<=0?1:(2===n.wrap?(T(n,255&t.adler),T(n,t.adler>>8&255),T(n,t.adler>>16&255),T(n,t.adler>>24&255),T(n,255&t.total_in),T(n,t.total_in>>8&255),T(n,t.total_in>>16&255),T(n,t.total_in>>24&255)):(k(n,t.adler>>>16),k(n,65535&t.adler)),L(t),0=r.w_size&&(0===o&&(S(r.head),r.strstart=0,r.block_start=0,r.insert=0),c=new f.Buf8(r.w_size),f.arraySet(c,e,u-r.w_size,r.w_size,0),e=c,u=r.w_size),i=t.avail_in,s=t.next_in,l=t.input,t.avail_in=u,t.next_in=0,t.input=e,F(r);r.lookahead>=y;){for(n=r.strstart,a=r.lookahead-(y-1);r.ins_h=(r.ins_h<>>=b=y>>>24,h-=b,0==(b=y>>>16&255))S[o++]=65535&y;else{if(!(16&b)){if(0==(64&b)){y=m[(65535&y)+(d&(1<>>=b,h-=b),h<15&&(d+=P[n++]<>>=b=y>>>24,h-=b,!(16&(b=y>>>16&255))){if(0==(64&b)){y=g[(65535&y)+(d&(1<>>=b,h-=b,(b=o-i)>3,d&=(1<<(h-=x<<3))-1,t.next_in=n,t.next_out=o,t.avail_in=n>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function o(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new T.Buf16(320),this.work=new T.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function i(t){var e;return t&&t.state?(e=t.state,t.total_in=t.total_out=e.total=0,t.msg=\"\",e.wrap&&(t.adler=1&e.wrap),e.mode=M,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new T.Buf32(n),e.distcode=e.distdyn=new T.Buf32(a),e.sane=1,e.back=-1,N):D}function s(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,i(t)):D}function l(t,e){var r,n;return t&&t.state?(n=t.state,e<0?(r=0,e=-e):(r=1+(e>>4),e<48&&(e&=15)),e&&(e<8||15=o.wsize?(T.arraySet(o.window,e,r-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):(n<(a=o.wsize-o.wnext)&&(a=n),T.arraySet(o.window,e,r-n,a,o.wnext),(n-=a)?(T.arraySet(o.window,e,r-n,n,0),o.wnext=n,o.whave=o.wsize):(o.wnext+=a,o.wnext===o.wsize&&(o.wnext=0),o.whave>>8&255,r.check=R(r.check,L,2,0),u=c=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&c)<<8)+(c>>8))%31){t.msg=\"incorrect header check\",r.mode=30;break}if(8!=(15&c)){t.msg=\"unknown compression method\",r.mode=30;break}if(u-=4,w=8+(15&(c>>>=4)),0===r.wbits)r.wbits=w;else if(w>r.wbits){t.msg=\"invalid window size\",r.mode=30;break}r.dmax=1<>8&1),512&r.flags&&(L[0]=255&c,L[1]=c>>>8&255,r.check=R(r.check,L,2,0)),u=c=0,r.mode=3;case 3:for(;u<32;){if(0===s)break t;s--,c+=n[o++]<>>8&255,L[2]=c>>>16&255,L[3]=c>>>24&255,r.check=R(r.check,L,4,0)),u=c=0,r.mode=4;case 4:for(;u<16;){if(0===s)break t;s--,c+=n[o++]<>8),512&r.flags&&(L[0]=255&c,L[1]=c>>>8&255,r.check=R(r.check,L,2,0)),u=c=0,r.mode=5;case 5:if(1024&r.flags){for(;u<16;){if(0===s)break t;s--,c+=n[o++]<>>8&255,r.check=R(r.check,L,2,0)),u=c=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&(s<(d=r.length)&&(d=s),d&&(r.head&&(w=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),T.arraySet(r.head.extra,n,o,d,w)),512&r.flags&&(r.check=R(r.check,n,d,o)),s-=d,o+=d,r.length-=d),r.length))break t;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===s)break t;for(d=0;w=n[o+d++],r.head&&w&&r.length<65536&&(r.head.name+=String.fromCharCode(w)),w&&d>9&1,r.head.done=!0),t.adler=r.check=0,r.mode=12;break;case 10:for(;u<32;){if(0===s)break t;s--,c+=n[o++]<>>=7&u,u-=7&u,r.mode=27;break}for(;u<3;){if(0===s)break t;s--,c+=n[o++]<>>=1)){case 0:r.mode=14;break;case 1:if(U(r),r.mode=20,6!==e)break;c>>>=2,u-=2;break t;case 2:r.mode=17;break;case 3:t.msg=\"invalid block type\",r.mode=30}c>>>=2,u-=2;break;case 14:for(c>>>=7&u,u-=7&u;u<32;){if(0===s)break t;s--,c+=n[o++]<>>16^65535)){t.msg=\"invalid stored block lengths\",r.mode=30;break}if(r.length=65535&c,u=c=0,r.mode=15,6===e)break t;case 15:r.mode=16;case 16:if(d=r.length){if(s>>=5,u-=5,r.ndist=1+(31&c),c>>>=5,u-=5,r.ncode=4+(15&c),c>>>=4,u-=4,286>>=3,u-=3}for(;r.have<19;)r.lens[E[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,C={bits:r.lenbits},_=I(0,r.lens,0,19,r.lencode,0,r.work,C),r.lenbits=C.bits,_){t.msg=\"invalid code lengths set\",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have>>16&255,A=65535&S,!((g=S>>>24)<=u);){if(0===s)break t;s--,c+=n[o++]<>>=g,u-=g,r.lens[r.have++]=A;else{if(16===A){for(P=g+2;u>>=g,u-=g,0===r.have){t.msg=\"invalid bit length repeat\",r.mode=30;break}w=r.lens[r.have-1],d=3+(3&c),c>>>=2,u-=2}else if(17===A){for(P=g+3;u>>=g)),c>>>=3,u-=3}else{for(P=g+7;u>>=g)),c>>>=7,u-=7}if(r.have+d>r.nlen+r.ndist){t.msg=\"invalid bit length repeat\",r.mode=30;break}for(;d--;)r.lens[r.have++]=w}}if(30===r.mode)break;if(0===r.lens[256]){t.msg=\"invalid code -- missing end-of-block\",r.mode=30;break}if(r.lenbits=9,C={bits:r.lenbits},_=I(O,r.lens,0,r.nlen,r.lencode,0,r.work,C),r.lenbits=C.bits,_){t.msg=\"invalid literal/lengths set\",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,C={bits:r.distbits},_=I(B,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,C),r.distbits=C.bits,_){t.msg=\"invalid distances set\",r.mode=30;break}if(r.mode=20,6===e)break t;case 20:r.mode=21;case 21:if(6<=s&&258<=l){t.next_out=i,t.avail_out=l,t.next_in=o,t.avail_in=s,r.hold=c,r.bits=u,F(t,f),i=t.next_out,a=t.output,l=t.avail_out,o=t.next_in,n=t.input,s=t.avail_in,c=r.hold,u=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;v=(S=r.lencode[c&(1<>>16&255,A=65535&S,!((g=S>>>24)<=u);){if(0===s)break t;s--,c+=n[o++]<>y)])>>>16&255,A=65535&S,!(y+(g=S>>>24)<=u);){if(0===s)break t;s--,c+=n[o++]<>>=y,u-=y,r.back+=y}if(c>>>=g,u-=g,r.back+=g,r.length=A,0===v){r.mode=26;break}if(32&v){r.back=-1,r.mode=12;break}if(64&v){t.msg=\"invalid literal/length code\",r.mode=30;break}r.extra=15&v,r.mode=22;case 22:if(r.extra){for(P=r.extra;u>>=r.extra,u-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;v=(S=r.distcode[c&(1<>>16&255,A=65535&S,!((g=S>>>24)<=u);){if(0===s)break t;s--,c+=n[o++]<>y)])>>>16&255,A=65535&S,!(y+(g=S>>>24)<=u);){if(0===s)break t;s--,c+=n[o++]<>>=y,u-=y,r.back+=y}if(c>>>=g,u-=g,r.back+=g,64&v){t.msg=\"invalid distance code\",r.mode=30;break}r.offset=A,r.extra=15&v,r.mode=24;case 24:if(r.extra){for(P=r.extra;u>>=r.extra,u-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){t.msg=\"invalid distance too far back\",r.mode=30;break}r.mode=25;case 25:if(0===l)break t;if(d=f-l,r.offset>d){if((d=r.offset-d)>r.whave&&r.sane){t.msg=\"invalid distance too far back\",r.mode=30;break}h=d>r.wnext?(d-=r.wnext,r.wsize-d):r.wnext-d,d>r.length&&(d=r.length),m=r.window}else m=a,h=i-r.offset,d=r.length;for(ld?(m=F[I+i[y]],E[T+i[y]]):(m=96,0),l=1<>C)+(c-=l)]=h<<24|m<<16|g|0,0!==c;);for(l=1<>=1;if(0!==l?(L&=l-1,L+=l):L=0,y++,0==--k[A]){if(A===x)break;A=e[r+i[y]]}if(w>>7)]}function _(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function C(t,e,r){t.bi_valid>a-r?(t.bi_buf|=e<>a-t.bi_valid,t.bi_valid+=r-a):(t.bi_buf|=e<>>=1,r<<=1,0<--e;);return r>>>1}function L(t,e,r){var n,a,o=new Array(g+1),i=0;for(n=1;n<=g;n++)o[n]=i=i+r[n-1]<<1;for(a=0;a<=e;a++){var s=t[2*a+1];0!==s&&(t[2*a]=S(o[s]++,s))}}function E(t){var e;for(e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function T(t){8>1;1<=r;r--)R(t,o,r);for(a=l;r=t.heap[1],t.heap[1]=t.heap[t.heap_len--],R(t,o,1),n=t.heap[1],t.heap[--t.heap_max]=r,t.heap[--t.heap_max]=n,o[2*a]=o[2*r]+o[2*n],t.depth[a]=(t.depth[r]>=t.depth[n]?t.depth[r]:t.depth[n])+1,o[2*r+1]=o[2*n+1]=a,t.heap[1]=a++,R(t,o,1),2<=t.heap_len;);t.heap[--t.heap_max]=t.heap[1],function(t,e){var r,n,a,o,i,s,l=e.dyn_tree,c=e.max_code,u=e.stat_desc.static_tree,p=e.stat_desc.has_stree,f=e.stat_desc.extra_bits,d=e.stat_desc.extra_base,h=e.stat_desc.max_length,m=0;for(o=0;o<=g;o++)t.bl_count[o]=0;for(l[2*t.heap[t.heap_max]+1]=0,r=t.heap_max+1;r<573;r++)h<(o=l[2*l[2*(n=t.heap[r])+1]+1]+1)&&(o=h,m++),l[2*n+1]=o,c>=7;n<30;n++)for(b[n]=a<<7,t=0;t<1<>>=1)if(1&r&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<256;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0}(t)),I(t,t.l_desc),I(t,t.d_desc),i=function(t){var e;for(O(t,t.dyn_ltree,t.l_desc.max_code),O(t,t.dyn_dtree,t.d_desc.max_code),I(t,t.bl_desc),e=18;3<=e&&0===t.bl_tree[2*u[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),a=t.opt_len+3+7>>>3,(o=t.static_len+3+7>>>3)<=a&&(a=o)):a=o=r+5,r+4<=a&&-1!==e?D(t,e,r,n):4===t.strategy||o===a?(C(t,2+(n?1:0),3),F(t,p,f)):(C(t,4+(n?1:0),3),function(t,e,r,n){var a;for(C(t,e-257,5),C(t,r-1,5),C(t,n-4,4),a=0;a>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&r,t.last_lit++,0===e?t.dyn_ltree[2*r]++:(t.matches++,e--,t.dyn_ltree[2*(h[r]+256+1)]++,t.dyn_dtree[2*w(e)]++),t.last_lit===t.lit_bufsize-1},r._tr_align=function(t){var e;C(t,2,3),P(t,256,p),16===(e=t).bi_valid?(_(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):8<=e.bi_valid&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}},{\"../utils/common\":41}],53:[function(t,e,r){\"use strict\";e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg=\"\",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(t,e,r){\"use strict\";e.exports=\"function\"==typeof setImmediate?setImmediate:function(){var t=[].slice.apply(arguments);t.splice(1,0,0),setTimeout.apply(null,t)}},{}]},{},[10])(10)})}).call(this,void 0!==r?r:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,void 0!==r?r:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,void 0!==r?r:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,void 0!==r?r:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}]},{},[1])(1)}),function o(i,s,l){function c(e,t){if(!s[e]){if(!i[e]){var r=\"function\"==typeof require&&require;if(!t&&r)return r(e,!0);if(u)return u(e,!0);var n=new Error(\"Cannot find module '\"+e+\"'\");throw n.code=\"MODULE_NOT_FOUND\",n}var a=s[e]={exports:{}};i[e][0].call(a.exports,function(t){return c(i[e][1][t]||t)},a,a.exports,o,i,s,l)}return s[e].exports}for(var u=\"function\"==typeof require&&require,t=0;ti;)o.call(t,n=a[i++])&&e.push(n);return e}},{104:104,107:107,108:108}],62:[function(t,e,r){var m=t(70),g=t(52),v=t(72),A=t(118),y=t(54),b=\"prototype\",x=function(t,e,r){var n,a,o,i,s=t&x.F,l=t&x.G,c=t&x.S,u=t&x.P,p=t&x.B,f=l?m:c?m[e]||(m[e]={}):(m[e]||{})[b],d=l?g:g[e]||(g[e]={}),h=d[b]||(d[b]={});for(n in l&&(r=e),r)o=((a=!s&&f&&void 0!==f[n])?f:r)[n],i=p&&a?y(o,m):u&&\"function\"==typeof o?y(Function.call,o):o,f&&A(f,n,o,t&x.U),d[n]!=o&&v(d,n,i),u&&h[n]!=o&&(h[n]=o)};m.core=g,x.F=1,x.G=2,x.S=4,x.P=8,x.B=16,x.W=32,x.U=64,x.R=128,e.exports=x},{118:118,52:52,54:54,70:70,72:72}],63:[function(t,e,r){var n=t(152)(\"match\");e.exports=function(e){var r=/./;try{\"/./\"[e](r)}catch(t){try{return r[n]=!1,!\"/./\"[e](r)}catch(t){}}return!0}},{152:152}],64:[function(t,e,r){arguments[4][23][0].apply(r,arguments)},{23:23}],65:[function(t,e,r){\"use strict\";t(248);var u=t(118),p=t(72),f=t(64),d=t(57),h=t(152),m=t(120),g=h(\"species\"),v=!f(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:\"7\"},t},\"7\"!==\"\".replace(t,\"$
\")}),A=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r=\"ab\".split(t);return 2===r.length&&\"a\"===r[0]&&\"b\"===r[1]}();e.exports=function(r,t,e){var n=h(r),o=!f(function(){var t={};return t[n]=function(){return 7},7!=\"\"[r](t)}),a=o?!f(function(){var t=!1,e=/a/;return e.exec=function(){return t=!0,null},\"split\"===r&&(e.constructor={},e.constructor[g]=function(){return e}),e[n](\"\"),!t}):void 0;if(!o||!a||\"replace\"===r&&!v||\"split\"===r&&!A){var i=/./[n],s=e(d,n,\"\"[r],function(t,e,r,n,a){return e.exec===m?o&&!a?{done:!0,value:i.call(e,r,n)}:{done:!0,value:t.call(r,e,n)}:{done:!1}}),l=s[0],c=s[1];u(String.prototype,r,l),p(RegExp.prototype,n,2==t?function(t,e){return c.call(t,this,e)}:function(t){return c.call(t,this)})}}},{118:118,120:120,152:152,248:248,57:57,64:64,72:72}],66:[function(t,e,r){\"use strict\";var n=t(38);e.exports=function(){var t=n(this),e=\"\";return t.global&&(e+=\"g\"),t.ignoreCase&&(e+=\"i\"),t.multiline&&(e+=\"m\"),t.unicode&&(e+=\"u\"),t.sticky&&(e+=\"y\"),e}},{38:38}],67:[function(t,e,r){\"use strict\";var h=t(79),m=t(81),g=t(141),v=t(54),A=t(152)(\"isConcatSpreadable\");e.exports=function t(e,r,n,a,o,i,s,l){for(var c,u,p=o,f=0,d=!!s&&v(s,l,3);fdocument.F=Object<\\/script>\"),t.close(),u=t.F;r--;)delete u[c][s[r]];return u()};t.exports=Object.create||function(t,e){var r;return null!==t?(a[c]=o(t),r=new a,a[c]=null,r[l]=t):r=u(),void 0===e?r:i(r,e)}},{100:100,125:125,38:38,59:59,60:60,73:73}],99:[function(t,e,r){arguments[4][29][0].apply(r,arguments)},{143:143,29:29,38:38,58:58,74:74}],100:[function(t,e,r){var i=t(99),s=t(38),l=t(107);e.exports=t(58)?Object.defineProperties:function(t,e){s(t);for(var r,n=l(e),a=n.length,o=0;oa;)i(n,r=e[a++])&&(~l(o,r)||o.push(r));return o}},{125:125,140:140,41:41,71:71}],107:[function(t,e,r){var n=t(106),a=t(60);e.exports=Object.keys||function(t){return n(t,a)}},{106:106,60:60}],108:[function(t,e,r){r.f={}.propertyIsEnumerable},{}],109:[function(t,e,r){var a=t(62),o=t(52),i=t(64);e.exports=function(t,e){var r=(o.Object||{})[t]||Object[t],n={};n[t]=e(r),a(a.S+a.F*i(function(){r(1)}),\"Object\",n)}},{52:52,62:62,64:64}],110:[function(t,e,r){var l=t(58),c=t(107),u=t(140),p=t(108).f;e.exports=function(s){return function(t){for(var e,r=u(t),n=c(r),a=n.length,o=0,i=[];o>>0||(i.test(r)?16:10))}:n},{134:134,135:135,70:70}],114:[function(t,e,r){e.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},{}],115:[function(t,e,r){var n=t(38),a=t(81),o=t(96);e.exports=function(t,e){if(n(t),a(e)&&e.constructor===t)return e;var r=o.f(t);return(0,r.resolve)(e),r.promise}},{38:38,81:81,96:96}],116:[function(t,e,r){arguments[4][30][0].apply(r,arguments)},{30:30}],117:[function(t,e,r){var a=t(118);e.exports=function(t,e,r){for(var n in e)a(t,n,e[n],r);return t}},{118:118}],118:[function(t,e,r){var o=t(70),i=t(72),s=t(71),l=t(147)(\"src\"),n=t(69),a=\"toString\",c=(\"\"+n).split(a);t(52).inspectSource=function(t){return n.call(t)},(e.exports=function(t,e,r,n){var a=\"function\"==typeof r;a&&(s(r,\"name\")||i(r,\"name\",e)),t[e]!==r&&(a&&(s(r,l)||i(r,l,t[e]?\"\"+t[e]:c.join(String(e)))),t===o?t[e]=r:n?t[e]?t[e]=r:i(t,e,r):(delete t[e],i(t,e,r)))})(Function.prototype,a,function(){return\"function\"==typeof this&&this[l]||n.call(this)})},{147:147,52:52,69:69,70:70,71:71,72:72}],119:[function(t,e,r){\"use strict\";var a=t(47),o=RegExp.prototype.exec;e.exports=function(t,e){var r=t.exec;if(\"function\"==typeof r){var n=r.call(t,e);if(\"object\"!=typeof n)throw new TypeError(\"RegExp exec method returned something other than an Object or null\");return n}if(\"RegExp\"!==a(t))throw new TypeError(\"RegExp#exec called on incompatible receiver\");return o.call(t,e)}},{47:47}],120:[function(t,e,r){\"use strict\";var n,a,i=t(66),s=RegExp.prototype.exec,l=String.prototype.replace,o=s,c=\"lastIndex\",u=(n=/a/,a=/b*/g,s.call(n,\"a\"),s.call(a,\"a\"),0!==n[c]||0!==a[c]),p=void 0!==/()??/.exec(\"\")[1];(u||p)&&(o=function(t){var e,r,n,a,o=this;return p&&(r=new RegExp(\"^\"+o.source+\"$(?!\\\\s)\",i.call(o))),u&&(e=o[c]),n=s.call(o,t),u&&n&&(o[c]=o.global?n.index+n[0].length:e),p&&n&&1\"+a+\"\"}var a=t(62),o=t(64),i=t(57),s=/\"/g;e.exports=function(e,t){var r={};r[e]=t(n),a(a.P+a.F*o(function(){var t=\"\"[e]('\"');return t!==t.toLowerCase()||3l&&(c=c.slice(0,l)),n?c+a:a+c}},{133:133,141:141,57:57}],133:[function(t,e,r){\"use strict\";var a=t(139),o=t(57);e.exports=function(t){var e=String(o(this)),r=\"\",n=a(t);if(n<0||n==1/0)throw RangeError(\"Count can't be negative\");for(;0>>=1)&&(e+=e))1&n&&(r+=e);return r}},{139:139,57:57}],134:[function(t,e,r){function n(t,e,r){var n={},a=s(function(){return!!l[t]()||\"​…\"!=\"​…\"[t]()}),o=n[t]=a?e(p):l[t];r&&(n[r]=o),i(i.P+i.F*a,\"String\",n)}var i=t(62),a=t(57),s=t(64),l=t(135),o=\"[\"+l+\"]\",c=RegExp(\"^\"+o+o+\"*\"),u=RegExp(o+o+\"*$\"),p=n.trim=function(t,e){return t=String(a(t)),1&e&&(t=t.replace(c,\"\")),2&e&&(t=t.replace(u,\"\")),t};e.exports=n},{135:135,57:57,62:62,64:64}],135:[function(t,e,r){e.exports=\"\\t\\n\\v\\f\\r   ᠎              \\u2028\\u2029\\ufeff\"},{}],136:[function(t,e,r){function n(){var t=+this;if(y.hasOwnProperty(t)){var e=y[t];delete y[t],e()}}function a(t){n.call(t.data)}var o,i,s,l=t(54),c=t(76),u=t(73),p=t(59),f=t(70),d=f.process,h=f.setImmediate,m=f.clearImmediate,g=f.MessageChannel,v=f.Dispatch,A=0,y={},b=\"onreadystatechange\";h&&m||(h=function(t){for(var e=[],r=1;r>1,u=23===e?T(2,-24)-T(2,-77):0,p=0,f=t<0||0===t&&1/t<0?1:0;for((t=E(t))!=t||t===S?(a=t!=t?1:0,n=l):(n=k(R(t)/F),t*(o=T(2,-n))<1&&(n--,o*=2),2<=(t+=1<=n+c?u/o:u*T(2,1-c))*o&&(n++,o/=2),l<=n+c?(a=0,n=l):1<=n+c?(a=(t*o-1)*T(2,e),n+=c):(a=t*T(2,c-1)*T(2,e),n=0));8<=e;i[p++]=255&a,a/=256,e-=8);for(n=n<>1,s=a-7,l=r-1,c=t[l--],u=127&c;for(c>>=7;0>=-s,s+=e;0>8&255]}function W(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function H(t){return M(t,52,8)}function V(t){return M(t,23,4)}function Q(t,e,r){m(t[b],e,{get:function(){return this[r]}})}function Y(t,e,r,n){var a=d(+r);if(a+e>t[N])throw P(x);var o=t[B]._b,i=a+t[D],s=o.slice(i,i+e);return n?s:s.reverse()}function q(t,e,r,n,a,o){var i=d(+r);if(i+e>t[N])throw P(x);for(var s=t[B]._b,l=i+t[D],c=n(+a),u=0;uJ;)(Z=K[J++])in w||s(w,Z,L[Z]);o||(X.constructor=w)}var $=new _(new w(2)),tt=_[b].setInt8;$.setInt8(0,2147483648),$.setInt8(1,2147483649),!$.getInt8(0)&&$.getInt8(1)||l(_[b],{setInt8:function(t,e){tt.call(this,t,e<<24>>24)},setUint8:function(t,e){tt.call(this,t,e<<24>>24)}},!0)}else w=function(t){u(this,w,A);var e=d(t);this._b=g.call(new Array(e),0),this[N]=e},_=function(t,e,r){u(this,_,y),u(t,w,y);var n=t[N],a=p(e);if(a<0||n>24},getUint8:function(t){return Y(this,1,t)[0]},getInt16:function(t,e){var r=Y(this,2,t,e);return(r[1]<<8|r[0])<<16>>16},getUint16:function(t,e){var r=Y(this,2,t,e);return r[1]<<8|r[0]},getInt32:function(t,e){return U(Y(this,4,t,e))},getUint32:function(t,e){return U(Y(this,4,t,e))>>>0},getFloat32:function(t,e){return z(Y(this,4,t,e),23,4)},getFloat64:function(t,e){return z(Y(this,8,t,e),52,8)},setInt8:function(t,e){q(this,1,t,j,e)},setUint8:function(t,e){q(this,1,t,j,e)},setInt16:function(t,e,r){q(this,2,t,G,e,r)},setUint16:function(t,e,r){q(this,2,t,G,e,r)},setInt32:function(t,e,r){q(this,4,t,W,e,r)},setUint32:function(t,e,r){q(this,4,t,W,e,r)},setFloat32:function(t,e,r){q(this,4,t,V,e,r)},setFloat64:function(t,e,r){q(this,8,t,H,e,r)}});v(w,A),v(_,y),s(_[b],i.VIEW,!0),r[A]=w,r[y]=_},{103:103,117:117,124:124,138:138,139:139,141:141,146:146,37:37,40:40,58:58,64:64,70:70,72:72,89:89,99:99}],146:[function(t,e,r){for(var n,a=t(70),o=t(72),i=t(147),s=i(\"typed_array\"),l=i(\"view\"),c=!(!a.ArrayBuffer||!a.DataView),u=c,p=0,f=\"Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array\".split(\",\");p<9;)(n=a[f[p++]])?(o(n.prototype,s,!0),o(n.prototype,l,!0)):u=!1;e.exports={ABV:c,CONSTR:u,TYPED:s,VIEW:l}},{147:147,70:70,72:72}],147:[function(t,e,r){var n=0,a=Math.random();e.exports=function(t){return\"Symbol(\".concat(void 0===t?\"\":t,\")_\",(++n+a).toString(36))}},{}],148:[function(t,e,r){var n=t(70).navigator;e.exports=n&&n.userAgent||\"\"},{70:70}],149:[function(t,e,r){var n=t(81);e.exports=function(t,e){if(!n(t)||t._t!==e)throw TypeError(\"Incompatible receiver, \"+e+\" required!\");return t}},{81:81}],150:[function(t,e,r){var n=t(70),a=t(52),o=t(89),i=t(151),s=t(99).f;e.exports=function(t){var e=a.Symbol||(a.Symbol=o?{}:n.Symbol||{});\"_\"==t.charAt(0)||t in e||s(e,t,{value:i.f(t)})}},{151:151,52:52,70:70,89:89,99:99}],151:[function(t,e,r){r.f=t(152)},{152:152}],152:[function(t,e,r){var n=t(126)(\"wks\"),a=t(147),o=t(70).Symbol,i=\"function\"==typeof o;(e.exports=function(t){return n[t]||(n[t]=i&&o[t]||(i?o:a)(\"Symbol.\"+t))}).store=n},{126:126,147:147,70:70}],153:[function(t,e,r){var n=t(47),a=t(152)(\"iterator\"),o=t(88);e.exports=t(52).getIteratorMethod=function(t){if(null!=t)return t[a]||t[\"@@iterator\"]||o[n(t)]}},{152:152,47:47,52:52,88:88}],154:[function(t,e,r){var n=t(62);n(n.P,\"Array\",{copyWithin:t(39)}),t(35)(\"copyWithin\")},{35:35,39:39,62:62}],155:[function(t,e,r){\"use strict\";var n=t(62),a=t(42)(4);n(n.P+n.F*!t(128)([].every,!0),\"Array\",{every:function(t,e){return a(this,t,e)}})},{128:128,42:42,62:62}],156:[function(t,e,r){var n=t(62);n(n.P,\"Array\",{fill:t(40)}),t(35)(\"fill\")},{35:35,40:40,62:62}],157:[function(t,e,r){\"use strict\";var n=t(62),a=t(42)(2);n(n.P+n.F*!t(128)([].filter,!0),\"Array\",{filter:function(t,e){return a(this,t,e)}})},{128:128,42:42,62:62}],158:[function(t,e,r){\"use strict\";var n=t(62),a=t(42)(6),o=\"findIndex\",i=!0;o in[]&&Array(1)[o](function(){i=!1}),n(n.P+n.F*i,\"Array\",{findIndex:function(t,e){return a(this,t,1=t.length?(this._t=void 0,a(1)):a(0,\"keys\"==e?r:\"values\"==e?t[r]:[r,t[r]])},\"values\"),o.Arguments=o.Array,n(\"keys\"),n(\"values\"),n(\"entries\")},{140:140,35:35,85:85,87:87,88:88}],165:[function(t,e,r){\"use strict\";var n=t(62),a=t(140),o=[].join;n(n.P+n.F*(t(77)!=Object||!t(128)(o)),\"Array\",{join:function(t){return o.call(a(this),void 0===t?\",\":t)}})},{128:128,140:140,62:62,77:77}],166:[function(t,e,r){\"use strict\";var n=t(62),o=t(140),i=t(139),s=t(141),l=[].lastIndexOf,c=!!l&&1/[1].lastIndexOf(1,-0)<0;n(n.P+n.F*(c||!t(128)(l)),\"Array\",{lastIndexOf:function(t,e){if(c)return l.apply(this,arguments)||0;var r=o(this),n=s(r.length),a=n-1;for(1>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},{62:62}],189:[function(t,e,r){var n=t(62),a=Math.exp;n(n.S,\"Math\",{cosh:function(t){return(a(t=+t)+a(-t))/2}})},{62:62}],190:[function(t,e,r){var n=t(62),a=t(90);n(n.S+n.F*(a!=Math.expm1),\"Math\",{expm1:a})},{62:62,90:90}],191:[function(t,e,r){var n=t(62);n(n.S,\"Math\",{fround:t(91)})},{62:62,91:91}],192:[function(t,e,r){var n=t(62),l=Math.abs;n(n.S,\"Math\",{hypot:function(t,e){for(var r,n,a=0,o=0,i=arguments.length,s=0;o>>16)*o+a*(65535&n>>>16)<<16>>>0)}})},{62:62,64:64}],194:[function(t,e,r){var n=t(62);n(n.S,\"Math\",{log10:function(t){return Math.log(t)*Math.LOG10E}})},{62:62}],195:[function(t,e,r){var n=t(62);n(n.S,\"Math\",{log1p:t(92)})},{62:62,92:92}],196:[function(t,e,r){var n=t(62);n(n.S,\"Math\",{log2:function(t){return Math.log(t)/Math.LN2}})},{62:62}],197:[function(t,e,r){var n=t(62);n(n.S,\"Math\",{sign:t(93)})},{62:62,93:93}],198:[function(t,e,r){var n=t(62),a=t(90),o=Math.exp;n(n.S+n.F*t(64)(function(){return-2e-17!=!Math.sinh(-2e-17)}),\"Math\",{sinh:function(t){return Math.abs(t=+t)<1?(a(t)-a(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},{62:62,64:64,90:90}],199:[function(t,e,r){var n=t(62),a=t(90),o=Math.exp;n(n.S,\"Math\",{tanh:function(t){var e=a(t=+t),r=a(-t);return e==1/0?1:r==1/0?-1:(e-r)/(o(t)+o(-t))}})},{62:62,90:90}],200:[function(t,e,r){var n=t(62);n(n.S,\"Math\",{trunc:function(t){return(0w;w++)o(g,b=x[w])&&!o(m,b)&&f(m,b,p(g,b));(m.prototype=v).constructor=m,t(118)(a,h,m)}},{101:101,103:103,118:118,134:134,143:143,48:48,58:58,64:64,70:70,71:71,75:75,98:98,99:99}],202:[function(t,e,r){var n=t(62);n(n.S,\"Number\",{EPSILON:Math.pow(2,-52)})},{62:62}],203:[function(t,e,r){var n=t(62),a=t(70).isFinite;n(n.S,\"Number\",{isFinite:function(t){return\"number\"==typeof t&&a(t)}})},{62:62,70:70}],204:[function(t,e,r){var n=t(62);n(n.S,\"Number\",{isInteger:t(80)})},{62:62,80:80}],205:[function(t,e,r){var n=t(62);n(n.S,\"Number\",{isNaN:function(t){return t!=t}})},{62:62}],206:[function(t,e,r){var n=t(62),a=t(80),o=Math.abs;n(n.S,\"Number\",{isSafeInteger:function(t){return a(t)&&o(t)<=9007199254740991}})},{62:62,80:80}],207:[function(t,e,r){var n=t(62);n(n.S,\"Number\",{MAX_SAFE_INTEGER:9007199254740991})},{62:62}],208:[function(t,e,r){var n=t(62);n(n.S,\"Number\",{MIN_SAFE_INTEGER:-9007199254740991})},{62:62}],209:[function(t,e,r){var n=t(62),a=t(112);n(n.S+n.F*(Number.parseFloat!=a),\"Number\",{parseFloat:a})},{112:112,62:62}],210:[function(t,e,r){var n=t(62),a=t(113);n(n.S+n.F*(Number.parseInt!=a),\"Number\",{parseInt:a})},{113:113,62:62}],211:[function(t,e,r){\"use strict\";function c(t,e){for(var r=-1,n=e;++r<6;)n+=t*i[r],i[r]=n%1e7,n=o(n/1e7)}function u(t){for(var e=6,r=0;0<=--e;)r+=i[e],i[e]=o(r/t),r=r%t*1e7}function p(){for(var t=6,e=\"\";0<=--t;)if(\"\"!==e||0===t||0!==i[t]){var r=String(i[t]);e=\"\"===e?r:e+h.call(\"0\",7-r.length)+r}return e}var n=t(62),f=t(139),d=t(34),h=t(133),a=1..toFixed,o=Math.floor,i=[0,0,0,0,0,0],m=\"Number.toFixed: incorrect invocation!\",g=function(t,e,r){return 0===e?r:e%2==1?g(t,e-1,r*t):g(t*t,e/2,r)};n(n.P+n.F*(!!a&&(\"0.000\"!==8e-5.toFixed(3)||\"1\"!==.9.toFixed(0)||\"1.25\"!==1.255.toFixed(2)||\"1000000000000000128\"!==(0xde0b6b3a7640080).toFixed(0))||!t(64)(function(){a.call({})})),\"Number\",{toFixed:function(t){var e,r,n,a,o=d(this,m),i=f(t),s=\"\",l=\"0\";if(i<0||20t;)e(n[t++]);u._c=[],u._n=!1,r&&!u._h&&N(u)})}}function o(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),a(e,!0))}var i,s,l,c,u=r(89),f=r(70),d=r(54),h=r(47),m=r(62),g=r(81),v=r(33),A=r(37),y=r(68),b=r(127),x=r(136).set,w=r(95)(),_=r(96),C=r(114),P=r(148),S=r(115),L=\"Promise\",E=f.TypeError,T=f.process,k=T&&T.versions,R=k&&k.v8||\"\",F=f[L],I=\"process\"==h(T),O=s=_.f,B=!!function(){try{var t=F.resolve(1),e=(t.constructor={})[r(152)(\"species\")]=function(t){t(n,n)};return(I||\"function\"==typeof PromiseRejectionEvent)&&t.then(n)instanceof e&&0!==R.indexOf(\"6.6\")&&-1===P.indexOf(\"Chrome/66\")}catch(t){}}(),N=function(o){x.call(f,function(){var t,e,r,n=o._v,a=D(o);if(a&&(t=C(function(){I?T.emit(\"unhandledRejection\",n,o):(e=f.onunhandledrejection)?e({promise:o,reason:n}):(r=f.console)&&r.error&&r.error(\"Unhandled promise rejection\",n)}),o._h=I||D(o)?2:1),o._a=void 0,a&&t.e)throw t.v})},D=function(t){return 1!==t._h&&0===(t._a||t._c).length},M=function(e){x.call(f,function(){var t;I?T.emit(\"rejectionHandled\",e):(t=f.onrejectionhandled)&&t({promise:e,reason:e._v})})},z=function(t){var r,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw E(\"Promise can't be resolved itself\");(r=p(t))?w(function(){var e={_w:n,_d:!1};try{r.call(t,d(z,e,1),d(o,e,1))}catch(t){o.call(e,t)}}):(n._v=t,n._s=1,a(n,!1))}catch(t){o.call({_w:n,_d:!1},t)}}};B||(F=function(t){A(this,F,L,\"_h\"),v(t),i.call(this);try{t(d(z,this,1),d(o,this,1))}catch(t){o.call(this,t)}},(i=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=r(117)(F.prototype,{then:function(t,e){var r=O(b(this,F));return r.ok=\"function\"!=typeof t||t,r.fail=\"function\"==typeof e&&e,r.domain=I?T.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&a(this,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),l=function(){var t=new i;this.promise=t,this.resolve=d(z,t,1),this.reject=d(o,t,1)},_.f=O=function(t){return t===F||t===c?new l(t):s(t)}),m(m.G+m.W+m.F*!B,{Promise:F}),r(124)(F,L),r(123)(L),c=r(52)[L],m(m.S+m.F*!B,L,{reject:function(t){var e=O(this);return(0,e.reject)(t),e.promise}}),m(m.S+m.F*(u||!B),L,{resolve:function(t){return S(u&&this===c?F:this,t)}}),m(m.S+m.F*!(B&&r(86)(function(t){F.all(t).catch(n)})),L,{all:function(t){var i=this,e=O(i),s=e.resolve,l=e.reject,r=C(function(){var n=[],a=0,o=1;y(t,!1,function(t){var e=a++,r=!1;n.push(void 0),o++,i.resolve(t).then(function(t){r||(r=!0,n[e]=t,--o||s(n))},l)}),--o||s(n)});return r.e&&l(r.v),e.promise},race:function(t){var e=this,r=O(e),n=r.reject,a=C(function(){y(t,!1,function(t){e.resolve(t).then(r.resolve,n)})});return a.e&&n(a.v),r.promise}})},{114:114,115:115,117:117,123:123,124:124,127:127,136:136,148:148,152:152,33:33,37:37,47:47,52:52,54:54,62:62,68:68,70:70,81:81,86:86,89:89,95:95,96:96}],233:[function(t,e,r){var n=t(62),o=t(33),i=t(38),s=(t(70).Reflect||{}).apply,l=Function.apply;n(n.S+n.F*!t(64)(function(){s(function(){})}),\"Reflect\",{apply:function(t,e,r){var n=o(t),a=i(r);return s?s(n,e,a):l.call(n,e,a)}})},{33:33,38:38,62:62,64:64,70:70}],234:[function(t,e,r){var n=t(62),l=t(98),c=t(33),u=t(38),p=t(81),a=t(64),f=t(46),d=(t(70).Reflect||{}).construct,h=a(function(){function t(){}return!(d(function(){},[],t)instanceof t)}),m=!a(function(){d(function(){})});n(n.S+n.F*(h||m),\"Reflect\",{construct:function(t,e,r){c(t),u(e);var n=arguments.length<3?t:c(r);if(m&&!h)return d(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var a=[null];return a.push.apply(a,e),new(f.apply(t,a))}var o=n.prototype,i=l(p(o)?o:Object.prototype),s=Function.apply.call(t,i,e);return p(s)?s:i}})},{33:33,38:38,46:46,62:62,64:64,70:70,81:81,98:98}],235:[function(t,e,r){var n=t(99),a=t(62),o=t(38),i=t(143);a(a.S+a.F*t(64)(function(){Reflect.defineProperty(n.f({},1,{value:1}),1,{value:2})}),\"Reflect\",{defineProperty:function(t,e,r){o(t),e=i(e,!0),o(r);try{return n.f(t,e,r),!0}catch(t){return!1}}})},{143:143,38:38,62:62,64:64,99:99}],236:[function(t,e,r){var n=t(62),a=t(101).f,o=t(38);n(n.S,\"Reflect\",{deleteProperty:function(t,e){var r=a(o(t),e);return!(r&&!r.configurable)&&delete t[e]}})},{101:101,38:38,62:62}],237:[function(t,e,r){\"use strict\";function n(t){this._t=o(t),this._i=0;var e,r=this._k=[];for(e in t)r.push(e)}var a=t(62),o=t(38);t(84)(n,\"Object\",function(){var t,e=this._k;do{if(this._i>=e.length)return{value:void 0,done:!0}}while(!((t=e[this._i++])in this._t));return{value:t,done:!1}}),a(a.S,\"Reflect\",{enumerate:function(t){return new n(t)}})},{38:38,62:62,84:84}],238:[function(t,e,r){var n=t(101),a=t(62),o=t(38);a(a.S,\"Reflect\",{getOwnPropertyDescriptor:function(t,e){return n.f(o(t),e)}})},{101:101,38:38,62:62}],239:[function(t,e,r){var n=t(62),a=t(105),o=t(38);n(n.S,\"Reflect\",{getPrototypeOf:function(t){return a(o(t))}})},{105:105,38:38,62:62}],240:[function(t,e,r){var s=t(101),l=t(105),c=t(71),n=t(62),u=t(81),p=t(38);n(n.S,\"Reflect\",{get:function t(e,r,n){var a,o,i=arguments.length<3?e:n;return p(e)===i?e[r]:(a=s.f(e,r))?c(a,\"value\")?a.value:void 0!==a.get?a.get.call(i):void 0:u(o=l(e))?t(o,r,i):void 0}})},{101:101,105:105,38:38,62:62,71:71,81:81}],241:[function(t,e,r){var n=t(62);n(n.S,\"Reflect\",{has:function(t,e){return e in t}})},{62:62}],242:[function(t,e,r){var n=t(62),a=t(38),o=Object.isExtensible;n(n.S,\"Reflect\",{isExtensible:function(t){return a(t),!o||o(t)}})},{38:38,62:62}],243:[function(t,e,r){var n=t(62);n(n.S,\"Reflect\",{ownKeys:t(111)})},{111:111,62:62}],244:[function(t,e,r){var n=t(62),a=t(38),o=Object.preventExtensions;n(n.S,\"Reflect\",{preventExtensions:function(t){a(t);try{return o&&o(t),!0}catch(t){return!1}}})},{38:38,62:62}],245:[function(t,e,r){var n=t(62),a=t(122);a&&n(n.S,\"Reflect\",{setPrototypeOf:function(t,e){a.check(t,e);try{return a.set(t,e),!0}catch(t){return!1}}})},{122:122,62:62}],246:[function(t,e,r){var c=t(99),u=t(101),p=t(105),f=t(71),n=t(62),d=t(116),h=t(38),m=t(81);n(n.S,\"Reflect\",{set:function t(e,r,n,a){var o,i,s=arguments.length<4?e:a,l=u.f(h(e),r);if(!l){if(m(i=p(e)))return t(i,r,n,s);l=d(0)}if(f(l,\"value\")){if(!1===l.writable||!m(s))return!1;if(o=u.f(s,r)){if(o.get||o.set||!1===o.writable)return!1;o.value=n,c.f(s,r,o)}else c.f(s,r,d(0,n));return!0}return void 0!==l.set&&(l.set.call(s,n),!0)}})},{101:101,105:105,116:116,38:38,62:62,71:71,81:81,99:99}],247:[function(t,e,r){var n=t(70),o=t(75),a=t(99).f,i=t(103).f,s=t(82),l=t(66),c=n.RegExp,u=c,p=c.prototype,f=/a/g,d=/a/g,h=new c(f)!==f;if(t(58)&&(!h||t(64)(function(){return d[t(152)(\"match\")]=!1,c(f)!=f||c(d)==d||\"/a/i\"!=c(f,\"i\")}))){function m(e){e in c||a(c,e,{configurable:!0,get:function(){return u[e]},set:function(t){u[e]=t}})}c=function(t,e){var r=this instanceof c,n=s(t),a=void 0===e;return!r&&n&&t.constructor===c&&a?t:o(h?new u(n&&!a?t.source:t,e):u((n=t instanceof c)?t.source:t,n&&a?l.call(t):e),r?this:p,c)};for(var g=i(u),v=0;g.length>v;)m(g[v++]);(p.constructor=c).prototype=p,t(118)(n,\"RegExp\",c)}t(123)(\"RegExp\")},{103:103,118:118,123:123,152:152,58:58,64:64,66:66,70:70,75:75,82:82,99:99}],248:[function(t,e,r){\"use strict\";var n=t(120);t(62)({target:\"RegExp\",proto:!0,forced:n!==/./.exec},{exec:n})},{120:120,62:62}],249:[function(t,e,r){t(58)&&\"g\"!=/./g.flags&&t(99).f(RegExp.prototype,\"flags\",{configurable:!0,get:t(66)})},{58:58,66:66,99:99}],250:[function(t,e,r){\"use strict\";var p=t(38),f=t(141),d=t(36),h=t(119);t(65)(\"match\",1,function(n,a,c,u){return[function(t){var e=n(this),r=null==t?void 0:t[a];return void 0!==r?r.call(t,e):new RegExp(t)[a](String(e))},function(t){var e=u(c,t,this);if(e.done)return e.value;var r=p(t),n=String(this);if(!r.global)return h(r,n);for(var a,o=r.unicode,i=[],s=r.lastIndex=0;null!==(a=h(r,n));){var l=String(a[0]);\"\"===(i[s]=l)&&(r.lastIndex=d(n,f(r.lastIndex),o)),s++}return 0===s?null:i}]})},{119:119,141:141,36:36,38:38,65:65}],251:[function(t,e,r){\"use strict\";var C=t(38),n=t(142),P=t(141),S=t(139),L=t(36),E=t(119),T=Math.max,k=Math.min,f=Math.floor,d=/\\$([$&`']|\\d\\d?|<[^>]*>)/g,h=/\\$([$&`']|\\d\\d?)/g;t(65)(\"replace\",2,function(a,o,x,w){return[function(t,e){var r=a(this),n=null==t?void 0:t[o];return void 0!==n?n.call(t,r,e):x.call(String(r),t,e)},function(t,e){var r=w(x,t,this,e);if(r.done)return r.value;var n=C(t),a=String(this),o=\"function\"==typeof e;o||(e=String(e));var i=n.global;if(i){var s=n.unicode;n.lastIndex=0}for(var l=[];;){var c=E(n,a);if(null===c)break;if(l.push(c),!i)break;\"\"===String(c[0])&&(n.lastIndex=L(a,P(n.lastIndex),s))}for(var u,p=\"\",f=0,d=0;d>>0,u=new RegExp(t.source,s+\"g\");(n=f.call(u,r))&&!(l<(a=u[m])&&(i.push(r.slice(l,n.index)),1=c));)u[m]===n.index&&u[m]++;return l===r[h]?!o&&u.test(\"\")||i.push(\"\"):i.push(r.slice(l)),i[h]>c?i.slice(0,c):i}:\"0\"[i](void 0,0)[h]?function(t,e){return void 0===t&&0===e?[]:g.call(this,t,e)}:g,[function(t,e){var r=a(this),n=null==t?void 0:t[o];return void 0!==n?n.call(t,r,e):A.call(String(r),t,e)},function(t,e){var r=v(A,t,this,e,A!==g);if(r.done)return r.value;var n=y(t),a=String(this),o=b(n,RegExp),i=n.unicode,s=(n.ignoreCase?\"i\":\"\")+(n.multiline?\"m\":\"\")+(n.unicode?\"u\":\"\")+(S?\"y\":\"g\"),l=new o(S?n:\"^(?:\"+n.source+\")\",s),c=void 0===e?P:e>>>0;if(0==c)return[];if(0===a.length)return null===_(l,a)?[a]:[];for(var u=0,p=0,f=[];p>10),e%1024+56320))}return r.join(\"\")}})},{137:137,62:62}],266:[function(t,e,r){\"use strict\";var n=t(62),a=t(130);n(n.P+n.F*t(63)(\"includes\"),\"String\",{includes:function(t,e){return!!~a(this,t,\"includes\").indexOf(t,1=e.length?{value:void 0,done:!0}:(t=n(e,r),this._i+=t.length,{value:t,done:!1})})},{129:129,85:85}],269:[function(t,e,r){\"use strict\";t(131)(\"link\",function(e){return function(t){return e(this,\"a\",\"href\",t)}})},{131:131}],270:[function(t,e,r){var n=t(62),i=t(140),s=t(141);n(n.S,\"String\",{raw:function(t){for(var e=i(t.raw),r=s(e.length),n=arguments.length,a=[],o=0;oa;)u(Y,e=r[a++])||e==W||e==h||n.push(e);return n}function l(t){for(var e,r=t===Z,n=M(r?q:L(t)),a=[],o=0;n.length>o;)!u(Y,e=n[o++])||r&&!u(Z,e)||a.push(Y[e]);return a}var c=t(70),u=t(71),p=t(58),f=t(62),d=t(118),h=t(94).KEY,m=t(64),g=t(126),v=t(124),A=t(147),y=t(152),b=t(151),x=t(150),w=t(61),_=t(79),C=t(38),P=t(81),S=t(142),L=t(140),E=t(143),T=t(116),k=t(98),R=t(102),F=t(101),I=t(104),O=t(99),B=t(107),N=F.f,D=O.f,M=R.f,z=c.Symbol,U=c.JSON,j=U&&U.stringify,G=\"prototype\",W=y(\"_hidden\"),H=y(\"toPrimitive\"),V={}.propertyIsEnumerable,Q=g(\"symbol-registry\"),Y=g(\"symbols\"),q=g(\"op-symbols\"),Z=Object[G],X=\"function\"==typeof z&&!!I.f,K=c.QObject,J=!K||!K[G]||!K[G].findChild,$=p&&m(function(){return 7!=k(D({},\"a\",{get:function(){return D(this,\"a\",{value:7}).a}})).a})?function(t,e,r){var n=N(Z,e);n&&delete Z[e],D(t,e,r),n&&t!==Z&&D(Z,e,n)}:D,tt=X&&\"symbol\"==typeof z.iterator?function(t){return\"symbol\"==typeof t}:function(t){return t instanceof z},et=function(t,e,r){return t===Z&&et(q,e,r),C(t),e=E(e,!0),C(r),u(Y,e)?(r.enumerable?(u(t,W)&&t[W][e]&&(t[W][e]=!1),r=k(r,{enumerable:T(0,!1)})):(u(t,W)||D(t,W,T(1,{})),t[W][e]=!0),$(t,e,r)):D(t,e,r)};X||(d((z=function(t){if(this instanceof z)throw TypeError(\"Symbol is not a constructor!\");var e=A(0nt;)y(rt[nt++]);for(var at=B(y.store),ot=0;at.length>ot;)x(at[ot++]);f(f.S+f.F*!X,\"Symbol\",{for:function(t){return u(Q,t+=\"\")?Q[t]:Q[t]=z(t)},keyFor:function(t){if(!tt(t))throw TypeError(t+\" is not a symbol!\");for(var e in Q)if(Q[e]===t)return e},useSetter:function(){J=!0},useSimple:function(){J=!1}}),f(f.S+f.F*!X,\"Object\",{create:function(t,e){return void 0===e?k(t):a(k(t),e)},defineProperty:et,defineProperties:a,getOwnPropertyDescriptor:i,getOwnPropertyNames:s,getOwnPropertySymbols:l});var it=m(function(){I.f(1)});f(f.S+f.F*it,\"Object\",{getOwnPropertySymbols:function(t){return I.f(S(t))}}),U&&f(f.S+f.F*(!X||m(function(){var t=z();return\"[null]\"!=j([t])||\"{}\"!=j({a:t})||\"{}\"!=j(Object(t))})),\"JSON\",{stringify:function(t){for(var e,r,n=[t],a=1;as;)void 0!==(r=a(n,e=o[s++]))&&p(i,e,r);return i}})},{101:101,111:111,140:140,53:53,62:62}],296:[function(t,e,r){var n=t(62),a=t(110)(!1);n(n.S,\"Object\",{values:function(t){return a(t)}})},{110:110,62:62}],297:[function(t,e,r){\"use strict\";var n=t(62),a=t(52),o=t(70),i=t(127),s=t(115);n(n.P+n.R,\"Promise\",{finally:function(e){var r=i(this,a.Promise||o.Promise),t=\"function\"==typeof e;return this.then(t?function(t){return s(r,e()).then(function(){return t})}:e,t?function(t){return s(r,e()).then(function(){throw t})}:e)}})},{115:115,127:127,52:52,62:62,70:70}],298:[function(t,e,r){\"use strict\";var n=t(62),a=t(132),o=t(148),i=/Version\\/10\\.\\d+(\\.\\d+)?( Mobile\\/\\w+)? Safari\\//.test(o);n(n.P+n.F*i,\"String\",{padEnd:function(t,e){return a(this,t,1/g,\">\").replace(/\"/g,\""\").replace(/'/g,\"'\")}function vt(t){return\"number\"==typeof t&&100\"+e+\"\":\"\"}function _t(t){var e=\"solid\",r=\"\",n=\"\",a=\"\";if(t)switch(\"string\"==typeof t?r=t:(t.type&&(e=t.type),t.color&&(r=t.color),t.alpha&&(n+=''),t.transparency&&(n+='')),e){case\"solid\":a+=\"\"+wt(r,n)+\"\";break;default:a+=\"\"}return a}function Ct(t){return t._rels.length+t._relsChart.length+t._relsMedia.length+1}function Pt(l,c,u,t){void 0===l&&(l=[]),void 0===c&&(c={});var e,p=P,f=0,d=1*B,r=0,h=[{rows:[]}];if(c.verbose&&(console.log(\"-- VERBOSE MODE ----------------------------------\"),console.log(\".. (PARAMETERS)\"),console.log(\"presLayout.height ......... = \"+u.height/B),console.log(\"tabOpts.h ................. = \"+c.h),console.log(\"tabOpts.w ................. = \"+c.w),console.log(\"tabOpts.colW .............. = \"+c.colW),console.log(\"tabOpts.slideMargin ....... = \"+(c.slideMargin||\"\")),console.log(\".. (/PARAMETERS)\")),c.slideMargin||0===c.slideMargin||(c.slideMargin=P[0]),t&&void 0!==t._margin?Array.isArray(t._margin)?p=t._margin:isNaN(Number(t._margin))||(p=[Number(t._margin),Number(t._margin),Number(t._margin),Number(t._margin)]):!c.slideMargin&&0!==c.slideMargin||(Array.isArray(c.slideMargin)?p=c.slideMargin:isNaN(c.slideMargin)||(p=[c.slideMargin,c.slideMargin,c.slideMargin,c.slideMargin])),c.verbose&&console.log(\"arrInchMargins ......... = \"+p.toString()),(l[0]||[]).forEach(function(t){var e=(t=t||{_type:at.tablecell}).options||null;r+=Number(e&&e.colspan?e.colspan:1)}),c.verbose&&console.log(\"numCols ................ = \"+r),!c.w&&c.colW&&(Array.isArray(c.colW)?c.colW.forEach(function(t){\"number\"!=typeof c.w?c.w=0+t:c.w+=t}):c.w=c.colW*r),e=\"number\"==typeof c.w?vt(c.w):u.width-vt((\"number\"==typeof c.x?c.x:p[1])+p[3]),c.verbose&&console.log(\"emuSlideTabW (in) ...... = \"+(e/B).toFixed(1)),!c.colW||!Array.isArray(c.colW))if(c.colW&&!isNaN(Number(c.colW))){var n=[];(l[0]||[]).forEach(function(){return n.push(c.colW)}),c.colW=[],n.forEach(function(t){Array.isArray(c.colW)&&c.colW.push(t)})}else{c.colW=[];for(var a=0;ae?e=At(t.options.margin[0]):c.margin&&c.margin[0]&&At(c.margin[0])>e&&(e=At(c.margin[0])),t.options.margin&&t.options.margin[2]&&At(t.options.margin[2])>r?r=At(t.options.margin[2]):c.margin&&c.margin[2]&&At(c.margin[2])>r&&(r=At(c.margin[2]))}),d=c.h&&\"number\"==typeof c.h?c.h:u.height-vt(p[0]+p[2])-(c.y&&\"number\"==typeof c.y?c.y:0),c.verbose&&console.log(\"emuSlideTabH (in) ...... = \"+(d/B).toFixed(1)),1 \"+d/B),h.push({rows:[]}),f=0,(c.addHeaderToEach||c.autoPageRepeatHeader)&&c._arrObjTabHeadRows){var e=[];i.forEach(function(t){e.push({type:at.tablecell,text:t._lines.join(\"\"),options:t.options})}),l.unshift(e);var r=[];return c._arrObjTabHeadRows.forEach(function(t){var e=[];t.forEach(function(t){return e.push(t)}),r.push(e)}),l=O(O([],r),l),\"break\"}var t=h[h.length-1],n=[];a.forEach(function(t){n.push({type:at.tablecell,text:\"\",options:t.options})}),t.rows.push(n)}i.forEach(function(t,e){if(0o&&(o=t._lineHeight)}}),f+=o,c.verbose&&console.log(\"- SLIDE [\"+h.length+\"]: ROW [\"+m+\"]: one line added ... emuTabCurrH = \"+(f/B).toFixed(2))};0'},contain:function(t,e){var r=t.h/t.w,n=r'},crop:function(t,e){var r=e.x,n=t.w-(e.x+e.w),a=e.y,o=t.h-(e.y+e.h);return''}};function Lt(R){var F=R._name?'':\"\",I=1;return R._bkgdImgRid?F+='':R.background&&R.background.color?F+=\"\"+_t(R.background)+\"\":!R.bkgd&&R._name&&R._name===n&&(F+=''),F+=\"\",F+='',F+='',F+='',R._slideObjects.forEach(function(n,t){var e,r,a=0,o=0,i=dt(\"75%\",\"X\",R._presLayout),s=0,l=\"\";switch(void 0!==R._slideLayout&&void 0!==R._slideLayout._slideObjects&&n.options&&n.options.placeholder&&(r=R._slideLayout._slideObjects.filter(function(t){return t.options.placeholder===n.options.placeholder})[0]),n.options=n.options||{},void 0!==n.options.x&&(a=dt(n.options.x,\"X\",R._presLayout)),void 0!==n.options.y&&(o=dt(n.options.y,\"Y\",R._presLayout)),void 0!==n.options.w&&(i=dt(n.options.w,\"X\",R._presLayout)),void 0!==n.options.h&&(s=dt(n.options.h,\"Y\",R._presLayout)),r&&(!r.options.x&&0!==r.options.x||(a=dt(r.options.x,\"X\",R._presLayout)),!r.options.y&&0!==r.options.y||(o=dt(r.options.y,\"Y\",R._presLayout)),!r.options.w&&0!==r.options.w||(i=dt(r.options.w,\"X\",R._presLayout)),!r.options.h&&0!==r.options.h||(s=dt(r.options.h,\"Y\",R._presLayout))),n.options.flipH&&(l+=' flipH=\"1\"'),n.options.flipV&&(l+=' flipV=\"1\"'),n.options.rotate&&(l+=' rot=\"'+yt(n.options.rotate)+'\"'),n._type){case at.table:var c,u=n.arrTabRows,f=n.options,p=0,d=0;u[0].forEach(function(t){c=t.options||null,p+=c&&c.colspan?Number(c.colspan):1});var h='';if(h+=' ',h+='',h+='',Array.isArray(f.colW)){h+=\"\";for(var m=0;m'}h+=\"\"}else{d=f.colW?f.colW:B,n.options.w&&!f.colW&&(d=Math.round((\"number\"==typeof n.options.w?n.options.w:1)/p)),h+=\"\";for(var v=0;v';h+=\"\"}u.forEach(function(o){for(var i,s,l,t=function(t){var e=o[t],r=null===(i=e.options)||void 0===i?void 0:i.colspan,n=null===(s=e.options)||void 0===s?void 0:s.rowspan;if(r&&1',t.forEach(function(t){var e,r,n=t,a={rowSpan:1<(null===(e=n.options)||void 0===e?void 0:e.rowspan)?n.options.rowspan:void 0,gridSpan:1<(null===(r=n.options)||void 0===r?void 0:r.colspan)?n.options.colspan:void 0,vMerge:n._vmerge?1:void 0,hMerge:n._hmerge?1:void 0},o=Object.keys(a).map(function(t){return[t,a[t]]}).filter(function(t){return t[0],!!t[1]}).map(function(t){return t[0]+'=\"'+t[1]+'\"'}).join(\" \");if(o=o&&\" \"+o,n._hmerge||n._vmerge)h+=\"\";else{var i=n.options||{};n.options=i,[\"align\",\"bold\",\"border\",\"color\",\"fill\",\"fontFace\",\"fontSize\",\"margin\",\"underline\",\"valign\"].forEach(function(t){f[t]&&!i[t]&&0!==i[t]&&(i[t]=f[t])});var s=i.valign?' anchor=\"'+i.valign.replace(/^c$/i,\"ctr\").replace(/^m$/i,\"ctr\").replace(\"center\",\"ctr\").replace(\"middle\",\"ctr\").replace(\"top\",\"t\").replace(\"btm\",\"b\").replace(\"bottom\",\"b\")+'\"':\"\",l=n._optImp&&n._optImp.fill&&n._optImp.fill.color?n._optImp.fill.color:n._optImp&&n._optImp.fill&&\"string\"==typeof n._optImp.fill?n._optImp.fill:\"\",c=(l=l||i.fill&&i.fill.color?i.fill.color:i.fill&&\"string\"==typeof i.fill?i.fill:\"\")?\"\"+wt(l)+\"\":\"\",u=0===i.margin||i.margin?i.margin:N;Array.isArray(u)||\"number\"!=typeof u||(u=[u,u,u,u]);var p=' marL=\"'+At(u[3])+'\" marR=\"'+At(u[1])+'\" marT=\"'+At(u[0])+'\" marB=\"'+At(u[2])+'\"';h+=\"\"+Rt(n)+\"\",i.border&&Array.isArray(i.border)&&[{idx:3,name:\"lnL\"},{idx:1,name:\"lnR\"},{idx:0,name:\"lnT\"},{idx:2,name:\"lnB\"}].forEach(function(t){\"none\"!==i.border[t.idx].type?(h+=\"',h+=\"\"+wt(i.border[t.idx].color)+\"\",h+='',h+=\"\"):h+=\"\"}),h+=c,h+=\" \",h+=\" \"}}),h+=\"\"}),h+=\" \",h+=\" \",h+=\" \",F+=h+=\"\",I++;break;case at.text:case at.placeholder:var A=n.options.shapeName?gt(n.options.shapeName):\"Object\"+(t+1);if(n.options.line||0!==s||(s=.3*B),n.options._bodyProp||(n.options._bodyProp={}),n.options.margin&&Array.isArray(n.options.margin)?(n.options._bodyProp.lIns=At(n.options.margin[0]||0),n.options._bodyProp.rIns=At(n.options.margin[1]||0),n.options._bodyProp.bIns=At(n.options.margin[2]||0),n.options._bodyProp.tIns=At(n.options.margin[3]||0)):\"number\"==typeof n.options.margin&&(n.options._bodyProp.lIns=At(n.options.margin),n.options._bodyProp.rIns=At(n.options.margin),n.options._bodyProp.bIns=At(n.options.margin),n.options._bodyProp.tIns=At(n.options.margin)),F+=\"\",F+='',n.options.hyperlink&&n.options.hyperlink.url&&(F+=''),n.options.hyperlink&&n.options.hyperlink.slide&&(F+=''),F+=\"\",F+=\"':\"/>\"),F+=\"\"+(\"placeholder\"===n._type?Ft(n):Ft(r))+\"\",F+=\"\",F+=\"\",F+='',F+='',\"custGeom\"===n.shape)F+=\"\",F+=\"\",F+=\"\",F+=\"\",F+=\"\",F+=\"\",F+='',F+=\"\",F+='',null===(e=n.options.points)||void 0===e||e.map(function(t,e){if(\"curve\"in t)switch(t.curve.type){case\"arc\":F+='';break;case\"cubic\":F+='\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t';break;case\"quadratic\":F+='\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t'}else\"close\"in t?F+=\"\":t.moveTo||0===e?F+='':F+=''}),F+=\"\",F+=\"\",F+=\"\";else{if(F+='',n.options.rectRadius)F+='';else if(n.options.angleRange){for(var y=0;y<2;y++){var b=n.options.angleRange[y];F+=''}n.options.arcThicknessRatio&&(F+='')}F+=\"\"}F+=n.options.fill?_t(n.options.fill):\"\",n.options.line&&(F+=n.options.line.width?'':\"\",n.options.line.color&&(F+=_t(n.options.line)),n.options.line.dashType&&(F+=''),n.options.line.beginArrowType&&(F+=''),n.options.line.endArrowType&&(F+=''),F+=\"\"),n.options.shadow&&(n.options.shadow.type=n.options.shadow.type||\"outer\",n.options.shadow.blur=At(n.options.shadow.blur||8),n.options.shadow.offset=At(n.options.shadow.offset||4),n.options.shadow.angle=Math.round(6e4*(n.options.shadow.angle||270)),n.options.shadow.opacity=Math.round(1e5*(n.options.shadow.opacity||.75)),n.options.shadow.color=n.options.shadow.color||D.color,F+=\"\",F+=\"',F+='',F+='',F+=\"\",F+=\"\"),F+=\"\",F+=Rt(n),F+=\"\";break;case at.image:var x=n.options,w=x.sizing,_=x.rounding,C=i,P=s;if(F+=\"\",F+=\" \",F+='',n.hyperlink&&n.hyperlink.url&&(F+=''),n.hyperlink&&n.hyperlink.slide&&(F+=''),F+=\" \",F+=' ',F+=\" \"+Ft(r)+\"\",F+=\" \",F+=\"\",(R._relsMedia||[]).filter(function(t){return t.rId===n.imageRid})[0]&&\"svg\"===(R._relsMedia||[]).filter(function(t){return t.rId===n.imageRid})[0].extn?(F+='',F+=\" \",F+=' ',F+=' ',F+=\" \",F+=\" \",F+=\"\"):F+='',w&&w.type){var S=w.w?dt(w.w,\"X\",R._presLayout):i,L=w.h?dt(w.h,\"Y\",R._presLayout):s,E=dt(w.x||0,\"X\",R._presLayout),T=dt(w.y||0,\"Y\",R._presLayout);F+=St[w.type]({w:C,h:P},{w:S,h:L,x:E,y:T}),C=S,P=L}else F+=\" \";F+=\"\",F+=\"\",F+=\" \",F+=' ',F+=' ',F+=\" \",F+=' ',F+=\"\",F+=\"\";break;case at.media:\"online\"===n.mtype?(F+=\"\",F+=\" \",F+=' ',F+=\" \",F+=\" \",F+=' ',F+=\" \",F+=\" \",F+=' '):(F+=\"\",F+=\" \",F+=' ',F+=' ',F+=\" \",F+=' ',F+=\" \",F+=' ',F+=' ',F+=\" \",F+=\" \",F+=\" \",F+=\" \",F+=' '),F+=\" \",F+=\" \",F+=' ',F+=' ',F+=\" \",F+=' ',F+=\" \",F+=\"\";break;case at.chart:var k=n.options;F+=\"\",F+=\" \",F+=' ',F+=\" \",F+=\" \"+Ft(r)+\"\",F+=\" \",F+=' ',F+=' ',F+=' ',F+=' ',F+=\" \",F+=\" \",F+=\"\";break;default:F+=\"\"}}),R._slideNumberProps&&(R._slideNumberProps.align||(R._slideNumberProps.align=\"left\"),F+=' ',F+=\"\",F+=\"\",F+=\" \",(R._slideNumberProps.fontFace||R._slideNumberProps.fontSize||R._slideNumberProps.color)&&(F+='',R._slideNumberProps.color&&(F+=_t(R._slideNumberProps.color)),R._slideNumberProps.fontFace&&(F+=''),F+=\"\"),F+=\"\",F+='',R._slideNumberProps.align.startsWith(\"l\")?F+='':R._slideNumberProps.align.startsWith(\"c\")?F+='':R._slideNumberProps.align.startsWith(\"r\")?F+='':F+='',F+='',F+=\"\"),F+=\"\",F+=\"\"}function Et(t,e){var r=0,n=''+v+'';return t._rels.forEach(function(t){r=Math.max(r,t.rId),-1':n+='':-1')}),(t._relsChart||[]).forEach(function(t){r=Math.max(r,t.rId),n+=''}),(t._relsMedia||[]).forEach(function(t){r=Math.max(r,t.rId),-1':-1':n+='':-1':n+='':-1':n+='')}),e.forEach(function(t,e){n+=''}),n+=\"\"}function Tt(t,e){var r=\"\",n=\"\",a=\"\",o=\"\",i=e?\"a:lvl1pPr\":\"a:pPr\",s=At(u),l=\"<\"+i+(t.options.rtlMode?' rtl=\"1\" ':\"\");if(t.options.align)switch(t.options.align){case\"left\":l+=' algn=\"l\"';break;case\"right\":l+=' algn=\"r\"';break;case\"center\":l+=' algn=\"ctr\"';break;case\"justify\":l+=' algn=\"just\"';break;default:l+=\"\"}if(t.options.lineSpacing?n='':t.options.lineSpacingMultiple&&(n=''),t.options.indentLevel&&!isNaN(Number(t.options.indentLevel))&&0'),t.options.paraSpaceAfter&&!isNaN(Number(t.options.paraSpaceAfter))&&0'),\"object\"==typeof t.options.bullet)if(t&&t.options&&t.options.bullet&&t.options.bullet.indent&&(s=At(t.options.bullet.indent)),t.options.bullet.type)\"number\"===t.options.bullet.type.toString().toLowerCase()&&(l+=' marL=\"'+(t.options.indentLevel&&0');else if(t.options.bullet.characterCode){var c=\"&#x\"+t.options.bullet.characterCode+\";\";!1===/^[0-9A-Fa-f]{4}$/.test(t.options.bullet.characterCode)&&(console.warn(\"Warning: `bullet.characterCode should be a 4-digit unicode charatcer (ex: 22AB)`!\"),c=lt.DEFAULT),l+=' marL=\"'+(t.options.indentLevel&&0'}else if(t.options.bullet.code){c=\"&#x\"+t.options.bullet.code+\";\";!1===/^[0-9A-Fa-f]{4}$/.test(t.options.bullet.code)&&(console.warn(\"Warning: `bullet.code should be a 4-digit hex code (ex: 22AB)`!\"),c=lt.DEFAULT),l+=' marL=\"'+(t.options.indentLevel&&0'}else l+=' marL=\"'+(t.options.indentLevel&&0';else!0===t.options.bullet?(l+=' marL=\"'+(t.options.indentLevel&&0'):!1===t.options.bullet&&(l+=' indent=\"0\" marL=\"0\"',r=\"\");t.options.tabStops&&Array.isArray(t.options.tabStops)&&(o=\"\"+t.options.tabStops.map(function(t){return''}).join(\"\")+\"\");return l+=\">\"+n+a+r+o,e&&(l+=kt(t.options,!0)),l+=\"\"}function kt(t,e){var r,n=\"\",a=e?\"a:defRPr\":\"a:rPr\";if(n+=\"<\"+a+' lang=\"'+(t.lang?t.lang:\"en-US\")+'\"'+(t.lang?' altLang=\"en-US\"':\"\"),n+=t.fontSize?' sz=\"'+Math.round(t.fontSize)+'00\"':\"\",n+=t.hasOwnProperty(\"bold\")?' b=\"'+(t.bold?1:0)+'\"':\"\",n+=t.hasOwnProperty(\"italic\")?' i=\"'+(t.italic?1:0)+'\"':\"\",n+=t.hasOwnProperty(\"strike\")?' strike=\"'+(\"string\"==typeof t.strike?t.strike:\"sngStrike\")+'\"':\"\",\"object\"==typeof t.underline&&(null===(r=t.underline)||void 0===r?void 0:r.style)?n+=' u=\"'+t.underline.style+'\"':\"string\"==typeof t.underline?n+=' u=\"'+t.underline+'\"':t.hyperlink&&(n+=' u=\"sng\"'),t.baseline?n+=' baseline=\"'+Math.round(50*t.baseline)+'\"':t.subscript?n+=' baseline=\"-40000\"':t.superscript&&(n+=' baseline=\"30000\"'),n+=t.charSpacing?' spc=\"'+Math.round(100*t.charSpacing)+'\" kern=\"0\"':\"\",n+=' dirty=\"0\">',(t.color||t.fontFace||t.outline||\"object\"==typeof t.underline&&t.underline.color)&&(t.outline&&\"object\"==typeof t.outline&&(n+=''+_t(t.outline.color||\"FFFFFF\")+\"\"),t.color&&(n+=_t(t.color)),t.highlight&&(n+=\"\"+wt(t.highlight)+\"\"),\"object\"==typeof t.underline&&t.underline.color&&(n+=\"\"+_t(t.underline.color)+\"\"),t.glow&&(n+=\"\"+function(t,e){var r=\"\",n=mt(e,t);return r+='',r+=wt(n.color,''),r+=\"\"}(t.glow,S)+\"\"),t.fontFace&&(n+='')),t.hyperlink){if(\"object\"!=typeof t.hyperlink)throw new Error(\"ERROR: text `hyperlink` option should be an object. Ex: `hyperlink:{url:'https://github.com'}` \");if(!t.hyperlink.url&&!t.hyperlink.slide)throw new Error(\"ERROR: 'hyperlink requires either `url` or `slide`'\");t.hyperlink.url?n+='\":\"/>\"):t.hyperlink.slide&&(n+='\":\"/>\")),t.color&&(n+=\"\\t\",n+='\\t\\t',n+='\\t\\t\\t',n+=\"\\t\\t\",n+=\"\\t\",n+=\"\")}return n+=\"\"}function Rt(n){var a=n.options||{},t=[],r=[];if(a&&n._type!==at.tablecell&&(void 0===n.text||null===n.text))return\"\";var o=n._type===at.tablecell?\"\":\"\";o+=function(t){var e=\"\",t.options.fit&&(\"none\"===t.options.fit?e+=\"\":\"shrink\"===t.options.fit?e+=\"\":\"resize\"===t.options.fit&&(e+=\"\")),t.options.shrinkText&&(e+=\"\"),e+=!1!==t.options._bodyProp.autoFit?\"\":\"\"):e+=' wrap=\"square\" rtlCol=\"0\">',e+=\"\",t._type===at.tablecell?\"\":e}(n),0===a.h&&a.line&&a.align?o+='':\"placeholder\"===n._type?o+=\"\"+Tt(n,!0)+\"\":o+=\"\",\"string\"==typeof n.text||\"number\"==typeof n.text?t.push({text:n.text.toString(),options:a||{}}):n.text&&!Array.isArray(n.text)&&\"object\"==typeof n.text&&-1\";var r=\"\"),n.options.align=n.options.align||a.align,n.options.lineSpacing=n.options.lineSpacing||a.lineSpacing,n.options.lineSpacingMultiple=n.options.lineSpacingMultiple||a.lineSpacingMultiple,n.options.indentLevel=n.options.indentLevel||a.indentLevel,n.options.paraSpaceBefore=n.options.paraSpaceBefore||a.paraSpaceBefore,n.options.paraSpaceAfter=n.options.paraSpaceAfter||a.paraSpaceAfter,r=Tt(n,!1),o+=r,Object.entries(a).forEach(function(t){var e=t[0],r=t[1];n.options.hyperlink&&\"color\"===e||\"bullet\"===e||n.options[e]||(n.options[e]=r)}),o+=function(t){return t.text?\"\"+kt(t.options,!1)+\"\"+gt(t.text)+\"\":\"\"}(n),(!n.text&&a.fontSize||n.options.fontSize)&&(e=!0,a.fontSize=a.fontSize||n.options.fontSize)}),n._type===at.tablecell&&(a.fontSize||a.fontFace)?a.fontFace?(o+='',o+='',o+='',o+='',o+=\"\"):o+='':o+=e?'':'',o+=\"\"}),o+=n._type===at.tablecell?\"\":\"\"}function Ft(t){if(!t)return\"\";var e=t.options&&t.options._placeholderIdx?t.options._placeholderIdx:\"\",r=t.options&&t.options._placeholderType?t.options._placeholderType:\"\";return\"\"}function It(t){return''+v+''+gt(function(t){var e=\"\";return t._slideObjects.forEach(function(t){t._type===at.notes&&(e+=t.text&&t.text[0]?t.text[0].text:\"\")}),e.replace(/\\r*\\n/g,v)}(t))+''+t._slideNum+''}function Ot(t){t&&\"object\"==typeof t&&(\"outer\"!==t.type&&\"inner\"!==t.type&&\"none\"!==t.type&&(console.warn(\"Warning: shadow.type options are `outer`, `inner` or `none`.\"),t.type=\"outer\"),t.angle&&((isNaN(Number(t.angle))||t.angle<0||359 \\n'),t.file(\"_rels/.rels\",'\\n'),t.file(\"docProps/app.xml\",'Microsoft Excel0falseWorksheets1Sheet1\\n'),t.file(\"docProps/core.xml\",'PptxGenJSEly, Brent'+(new Date).toISOString()+''+(new Date).toISOString()+\"\\n\"),t.file(\"xl/_rels/workbook.xml.rels\",'\\n'),t.file(\"xl/styles.xml\",'\\n'),t.file(\"xl/theme/theme1.xml\",''),t.file(\"xl/workbook.xml\",'\\n'),t.file(\"xl/worksheets/_rels/sheet1.xml.rels\",'\\n');var n='';u.opts._type===J.BUBBLE?n+='':u.opts._type===J.SCATTER?n+='':(n+='',n+=''),u.opts._type===J.BUBBLE?f.forEach(function(t,e){0===e?n+=\"X-Axis\":(n+=\"\"+gt(t.name||\" \")+\"\",n+=\"\"+gt(\"Size \"+e)+\"\")}):f.forEach(function(t){n+=\"\"+gt((t.name||\" \").replace(\"X-Axis\",\"X-Values\"))+\"\"}),u.opts._type!==J.BUBBLE&&u.opts._type!==J.SCATTER&&f[0].labels.forEach(function(t){n+=\"\"+gt(t)+\"\"}),n+=\"\\n\",t.file(\"xl/sharedStrings.xml\",n);var o='';u.opts._type===J.BUBBLE||(u.opts._type===J.SCATTER?(o+='',o+='',f.forEach(function(t,e){o+=''})):(o+='
',o+='',o+='',f.forEach(function(t,e){o+=''}))),o+=\"\",o+='',o+=\"
\",t.file(\"xl/tables/table1.xml\",o);var i='';if(i+='',u.opts._type===J.BUBBLE?i+='':u.opts._type===J.SCATTER?i+='':i+='',i+='',i+='',u.opts._type===J.BUBBLE){i+=\"\",i+='',i+=\"\",i+=\"\",i+='',i+='0';for(var s=1;s',i+=\"\"+s+\"\",i+=\"\";i+=\"\",f[0].values.forEach(function(t,e){i+='',i+=''+t+\"\";for(var r=1,n=1;n',i+=\"\"+(f[n].values[e]||\"\")+\"\",i+=\"\",i+='',i+=\"\"+(f[n].sizes[e]||\"\")+\"\",i+=\"\",r++;i+=\"\"})}else if(u.opts._type===J.SCATTER){i+=\"\",i+='',i+=\"\",i+=\"\",i+='',i+='0';for(var l=1;l',i+=\"\"+l+\"\",i+=\"\";i+=\"\",f[0].values.forEach(function(t,e){i+='',i+=''+t+\"\";for(var r=1;r',i+=\"\"+(f[r].values[e]||0===f[r].values[e]?f[r].values[e]:\"\")+\"\",i+=\"\";i+=\"\"})}else{i+=\"\",i+='',i+=\"\",i+=\"\",i+='',i+='0';for(var c=1;c<=f.length;c++)i+='',i+=\"\"+c+\"\",i+=\"\";i+=\"\",f[0].labels.forEach(function(t,e){i+='',i+='',i+=\"\"+(f.length+e+1)+\"\",i+=\"\";for(var r=0;r',i+=\"\"+(f[r].values[e]||\"\")+\"\",i+=\"\";i+=\"\"})}i+=\"\",i+='',i+=\"\\n\",t.file(\"xl/worksheets/sheet1.xml\",i),t.generateAsync({type:\"base64\"}).then(function(t){p.file(\"ppt/embeddings/Microsoft_Excel_Worksheet\"+u.globalId+\".xlsx\",t,{base64:!0}),p.file(\"ppt/charts/_rels/\"+u.fileName+\".rels\",''),p.file(\"ppt/charts/\"+u.fileName,function(a){var o='',i=!1;o+='',o+='',o+=\"\",a.opts.showTitle?(o+=qt({title:a.opts.title||\"Chart Title\",color:a.opts.titleColor,fontFace:a.opts.titleFontFace,fontSize:a.opts.titleFontSize||w,titleAlign:a.opts.titleAlign,titleBold:a.opts.titleBold,titlePos:a.opts.titlePos,titleRotate:a.opts.titleRotate}),o+=''):o+='';a.opts._type===J.BAR3D&&(o+=\"\",o+=' ',o+=' ',o+=' ',o+=' ',o+=\"\");o+=\"\",a.opts.layout?(o+=\"\",o+=\" \",o+=' ',o+=' ',o+=' ',o+=' ',o+=' ',o+=' ',o+=' ',o+=\" \",o+=\"\"):o+=\"\";Array.isArray(a.opts._type)?a.opts._type.forEach(function(t){var e=mt(a.opts,t.options),r=e.secondaryValAxis?E:L,n=e.secondaryCatAxis?k:T;i=i||e.secondaryValAxis,o+=Vt(t.type,t.data,e,r,n)}):o+=Vt(a.opts._type,a.data,a.opts,L,T);if(a.opts._type!==J.PIE&&a.opts._type!==J.DOUGHNUT){if(a.opts.valAxes&&1\",n+=' ',n+=' ',n+=' ',n+=' ',n+=\"none\"!==e.serGridLine.style?Kt(e.serGridLine):\"\",e.showSerAxisTitle&&(n+=qt({color:e.serAxisTitleColor,fontFace:e.serAxisTitleFontFace,fontSize:e.serAxisTitleFontSize,titleRotate:e.serAxisTitleRotate,title:e.serAxisTitle||\"Axis Title\"}));n+=' ',n+=' ',n+=' ',n+=' ',n+=\" \",n+=' ',n+=!1===e.serAxisLineShow?\"\":\"\"+wt(e.serAxisLineColor||y.color)+\"\",n+=' ',n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=' ',n+=\" \"+wt(e.serAxisLabelColor||b)+\"\",n+=' ',n+=\" \",n+=\" \",n+=' ',n+=\" \",n+=\" \",n+=' ',n+=' ',e.serAxisLabelFrequency&&(n+=' ');e.serLabelFormatCode&&([\"serAxisBaseTimeUnit\",\"serAxisMajorTimeUnit\",\"serAxisMinorTimeUnit\"].forEach(function(t){!e[t]||\"string\"==typeof e[t]&&-1!==[\"days\",\"months\",\"years\"].indexOf(t.toLowerCase())||(console.warn(\"`\"+t+\"` must be one of: 'days','months','years' !\"),e[t]=null)}),e.serAxisBaseTimeUnit&&(n+=' '),e.serAxisMajorTimeUnit&&(n+=' '),e.serAxisMinorTimeUnit&&(n+=' '),e.serAxisMajorUnit&&(n+=' '),e.serAxisMinorUnit&&(n+=' '));return n+=\"\"}(a.opts,R,L)))}a.opts.showDataTable&&(o+=\"\",o+=' ',o+=' ',o+=' ',o+=' ',o+=\" \",o+=\" \",o+=' ',o+=\" \",o+=\" \",o+=\" \",o+='\\t ',o+=\"\\t \",o+=\"\\t \",o+='\\t\\t',o+=' ',o+='\\t\\t\\t',o+='\\t\\t\\t',o+='\\t\\t\\t',o+='\\t\\t\\t',o+=\"\\t\\t \",o+=\"\\t\\t\",o+='\\t\\t',o+=\"\\t \",o+=\"\\t\",o+=\"\");o+=\" \",o+=a.opts.fill?_t(a.opts.fill):\"\",o+=a.opts.border?''+_t(a.opts.border.color)+\"\":\"\",o+=\" \",o+=\" \",o+=\"\",a.opts.showLegend&&(o+=\"\",o+='',o+='',(a.opts.legendFontFace||a.opts.legendFontSize||a.opts.legendColor)&&(o+=\"\",o+=\" \",o+=\" \",o+=\" \",o+=\" \",o+=a.opts.legendFontSize?'':\"\",a.opts.legendColor&&(o+=_t(a.opts.legendColor)),a.opts.legendFontFace&&(o+=''),a.opts.legendFontFace&&(o+=''),o+=\" \",o+=\" \",o+=' ',o+=\" \",o+=\"\"),o+=\"\");o+=' ',o+=' ',a.opts._type===J.SCATTER&&(o+='');return o+=\"\",o+=\"\",o+=\" \",o+=' ',o+=\" \",o+=\"\",o+='',o+=\"\"}(u)),e(null)}).catch(function(t){r(t)})})}function Vt(n,a,o,t,e){var i=\"\";switch(n){case J.AREA:case J.BAR:case J.BAR3D:case J.LINE:case J.RADAR:i+=\"\",n===J.AREA&&\"stacked\"===o.barGrouping&&(i+=''),n!==J.BAR&&n!==J.BAR3D||(i+='',i+=''),n===J.RADAR&&(i+=''),i+='';var s=-1;a.forEach(function(t){s++;var e=t.index;i+=\"\",i+=' ',i+=' ',i+=\" \",i+=\" \",i+=\" Sheet1!$\"+Zt(e+1)+\"$1\",i+=' '+gt(t.name)+\"\",i+=\" \",i+=\" \",i+=' ';var r=o.chartColors?o.chartColors[s%o.chartColors.length]:null;i+=\" \",\"transparent\"===r?i+=\"\":o.chartColorsOpacity?i+=\"\"+wt(r,'')+\"\":i+=\"\"+wt(r)+\"\",n===J.LINE?0===o.lineSize?i+=\"\":(i+=''+wt(r)+\"\",i+=''):o.dataBorder&&(i+=''+wt(o.dataBorder.color)+''),i+=Xt(o.shadow,C),i+=\" \",n!==J.RADAR&&(i+=\" \",i+=' ',o.dataLabelBkgrdColors&&(i+=\" \",i+=\" \"+wt(r)+\"\",i+=\" \"),i+=\" \",i+=\" \",i+=\" \",i+=\" \",i+=' ',i+=\" \"+wt(o.dataLabelColor||b)+\"\",i+=' ',i+=\" \",i+=\" \",i+=\" \",o.dataLabelPosition&&(i+=' '),i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=\" \"),n!==J.LINE&&n!==J.RADAR||(i+=\"\",i+=' ',o.lineDataSymbolSize&&(i+=' '),i+=\" \",i+=\" \"+wt(o.chartColors[e+1>o.chartColors.length?Math.floor(Math.random()*o.chartColors.length):e])+\"\",i+=' '+wt(o.lineDataSymbolLineColor||r)+'',i+=\" \",i+=\" \",i+=\"\"),(n===J.BAR||n===J.BAR3D)&&1===a.length&&o.chartColors!==I&&1\",i+=' ',i+=' ',i+=' ',i+=\" \",0===o.lineSize?i+=\"\":n===J.BAR?(i+=\"\",i+=' ',i+=\"\"):(i+=\"\",i+=\" \",i+=' ',i+=\" \",i+=\"\"),i+=Xt(o.shadow,C),i+=\" \",i+=\" \"}),i+=\"\",o.catLabelFormatCode?(i+=\" \",i+=\" Sheet1!$A$2:$A$\"+(t.labels.length+1)+\"\",i+=\" \",i+=\" \"+(o.catLabelFormatCode||\"General\")+\"\",i+=' ',t.labels.forEach(function(t,e){i+=''+gt(t)+\"\"}),i+=\" \",i+=\" \"):(i+=\" \",i+=\" Sheet1!$A$2:$A$\"+(t.labels.length+1)+\"\",i+=\" \",i+='\\t ',t.labels.forEach(function(t,e){i+=''+gt(t)+\"\"}),i+=\" \",i+=\" \"),i+=\"\",i+=\"\",i+=\" \",i+=\" Sheet1!$\"+Zt(e+1)+\"$2:$\"+Zt(e+1)+\"$\"+(t.labels.length+1)+\"\",i+=\" \",i+=\" \"+(o.valLabelFormatCode||o.dataTableFormatCode||\"General\")+\"\",i+=' ',t.values.forEach(function(t,e){i+=''+(t||0===t?t:\"\")+\"\"}),i+=\" \",i+=\" \",i+=\"\",n===J.LINE&&(i+=''),i+=\"\"}),i+=\" \",i+=' ',i+=\" \",i+=\" \",i+=\" \",i+=\" \",i+=' ',i+=\" \"+wt(o.dataLabelColor||b)+\"\",i+=' ',i+=\" \",i+=\" \",i+=\" \",o.dataLabelPosition&&(i+=' '),i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=\" \",n===J.BAR?(i+=' ',i+=' '):n===J.BAR3D?(i+=' ',i+=' ',i+=' '):n===J.LINE&&(i+=' '),i+=' ',i+=' ',i+=' ',i+=\"\";break;case J.SCATTER:i+=\"\",i+='',i+='',s=-1,a.filter(function(t,e){return 0\",i+=' ',i+=' ',i+=\" \",i+=\" \",i+=\" Sheet1!$\"+F[t+1]+\"$1\",i+=' '+r.name+\"\",i+=\" \",i+=\" \",i+=\" \";var e=o.chartColors[s%o.chartColors.length];if(\"transparent\"===e?i+=\"\":o.chartColorsOpacity?i+=\"\"+wt(e,'')+\"\":i+=\"\"+wt(e)+\"\",0===o.lineSize?i+=\"\":(i+=''+wt(e)+\"\",i+=''),i+=Xt(o.shadow,C),i+=\" \",i+=\"\",i+=' ',o.lineDataSymbolSize&&(i+=' '),i+=\" \",i+=\" \"+wt(o.chartColors[t+1>o.chartColors.length?Math.floor(Math.random()*o.chartColors.length):t])+\"\",i+=' '+wt(o.lineDataSymbolLineColor||o.chartColors[s%o.chartColors.length])+'',i+=\" \",i+=\" \",i+=\"\",o.showLabel){var n=ht(\"-xxxx-xxxx-xxxx-xxxxxxxxxxxx\");!r.labels||\"custom\"!==o.dataLabelFormatScatter&&\"customXY\"!==o.dataLabelFormatScatter||(i+=\"\",r.labels.forEach(function(t,e){\"custom\"!==o.dataLabelFormatScatter&&\"customXY\"!==o.dataLabelFormatScatter||(i+=\" \",i+=' ',i+=\" \",i+=\" \",i+=\"\\t\\t\\t\",i+=\"\\t\\t\\t\\t\",i+=\"\\t\\t\\t\",i+=\" \\t\",i+=\" \\t\",i+=\"\\t\\t\\t\\t\",i+=\"\\t\\t\\t\\t\\t\",i+=\"\\t\\t\\t\\t\",i+=\" \\t\",i+=' \\t\\t',i+=\" \\t\\t\"+gt(t)+\"\",i+=\" \\t\",\"customXY\"!==o.dataLabelFormatScatter||/^ *$/.test(t)||(i+=\" \\t\",i+=' \\t\\t',i+=\" \\t\\t (\",i+=\" \\t\",i+=' \\t',i+=' \\t\\t',i+=\" \\t\\t\",i+=\" \\t\\t\\t\",i+=\" \\t\\t\",i+=\" \\t\\t[\"+gt(r.name)+\"\",i+=\" \\t\",i+=\" \\t\",i+=' \\t\\t',i+=\" \\t\\t, \",i+=\" \\t\",i+=' \\t',i+=' \\t\\t',i+=\" \\t\\t\",i+=\" \\t\\t\\t\",i+=\" \\t\\t\",i+=\" \\t\\t[\"+gt(r.name)+\"]\",i+=\" \\t\",i+=\" \\t\",i+=' \\t\\t',i+=\" \\t\\t)\",i+=\" \\t\",i+=' \\t'),i+=\" \\t\",i+=\" \",i+=\" \",i+=\" \",i+=\" \\t\",i+=\" \\t\",i+=\" \\t\\t\",i+=\" \\t\",i+=\" \\t\",i+=\" \",o.dataLabelPosition&&(i+=' '),i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+='\\t ',i+=\" \",i+=' ',i+=' ',i+='\\t\\t\\t',i+=\" \",i+=\"\\t\\t\",i+=\"\")}),i+=\"\"),\"XY\"===o.dataLabelFormatScatter&&(i+=\"\",i+=\"\\t\",i+=\"\\t\\t\",i+=\"\\t\\t\",i+=\"\\t\\t\\t\",i+=\"\\t\\t\",i+=\"\\t \\t\",i+=\"\\t\",i+=\"\\t\",i+=\"\\t\\t\",i+=\"\\t\\t\\t\",i+=\"\\t\\t\",i+=\"\\t\\t\",i+=\"\\t\\t\",i+=\"\\t \\t\",i+=\" \\t\\t\",i+=\"\\t \\t\",i+='\\t \\t',i+=\"\\t\\t\",i+=\"\\t\",o.dataLabelPosition&&(i+=' '),i+='\\t',i+=' ',i+=' ',i+='\\t',i+='\\t',i+='\\t',i+=\"\\t\",i+='\\t\\t',i+='\\t\\t\\t',i+=\"\\t\\t\",i+=\"\\t\",i+=\"\")}1===a.length&&o.chartColors!==I&&r.values.forEach(function(t,e){var r=t<0?o.invertedColors||o.chartColors||I:o.chartColors||[];i+=\" \",i+=' ',i+=' ',i+=' ',i+=\" \",0===o.lineSize?i+=\"\":(i+=\"\",i+=' ',i+=\"\"),i+=Xt(o.shadow,C),i+=\" \",i+=\" \"}),i+=\"\",i+=\" \",i+=\" Sheet1!$A$2:$A$\"+(a[0].values.length+1)+\"\",i+=\" \",i+=\" General\",i+=' ',a[0].values.forEach(function(t,e){i+=''+(t||0===t?t:\"\")+\"\"}),i+=\" \",i+=\" \",i+=\"\",i+=\"\",i+=\" \",i+=\" Sheet1!$\"+Zt(t+1)+\"$2:$\"+Zt(t+1)+\"$\"+(a[0].values.length+1)+\"\",i+=\" \",i+=\" General\",i+=' ',a[0].values.forEach(function(t,e){i+=''+(r.values[e]||0===r.values[e]?r.values[e]:\"\")+\"\"}),i+=\" \",i+=\" \",i+=\"\",i+='',i+=\"\"}),i+=\" \",i+=' ',i+=\" \",i+=\" \",i+=\" \",i+=\" \",i+=' ',i+=\" \"+wt(o.dataLabelColor||b)+\"\",i+=' ',i+=\" \",i+=\" \",i+=\" \",o.dataLabelPosition&&(i+=' '),i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=\" \",i+=' ',i+=' ',i+=\"\";break;case J.BUBBLE:i+=\"\",i+='',s=-1;var l=1;a.filter(function(t,e){return 0\",i+=' ',i+=' ',i+=\" \",i+=\" \",i+=\" Sheet1!$\"+F[l]+\"$1\",i+=' '+r.name+\"\",i+=\" \",i+=\" \",i+=\"\";var e=o.chartColors[s%o.chartColors.length];\"transparent\"===e?i+=\"\":o.chartColorsOpacity?i+=\"\"+wt(e,'')+\"\":i+=\"\"+wt(e)+\"\",0===o.lineSize?i+=\"\":o.dataBorder?i+=''+wt(o.dataBorder.color)+'':(i+=''+wt(e)+\"\",i+=''),i+=Xt(o.shadow,C),i+=\"\",i+=\"\",i+=\" \",i+=\" Sheet1!$A$2:$A$\"+(a[0].values.length+1)+\"\",i+=\" \",i+=\" General\",i+=' ',a[0].values.forEach(function(t,e){i+=''+(t||0===t?t:\"\")+\"\"}),i+=\" \",i+=\" \",i+=\"\",i+=\"\",i+=\" \",i+=\" Sheet1!$\"+Zt(l)+\"$2:$\"+Zt(l)+\"$\"+(a[0].values.length+1)+\"\",l++,i+=\" \",i+=\" General\",i+=' ',a[0].values.forEach(function(t,e){i+=''+(r.values[e]||0===r.values[e]?r.values[e]:\"\")+\"\"}),i+=\" \",i+=\" \",i+=\"\",i+=\" \",i+=\" \",i+=\" Sheet1!$\"+Zt(l)+\"$2:$\"+Zt(t+2)+\"$\"+(r.sizes.length+1)+\"\",l++,i+=\" \",i+=\" General\",i+='\\t ',r.sizes.forEach(function(t,e){i+=''+(t||\"\")+\"\"}),i+=\" \",i+=\" \",i+=\" \",i+=' ',i+=\"\"}),i+=\" \",i+=' ',i+=\" \",i+=\" \",i+=\" \",i+=\" \",i+=' ',i+=\" \"+wt(o.dataLabelColor||b)+\"\",i+=' ',i+=\" \",i+=\" \",i+=\" \",o.dataLabelPosition&&(i+=' '),i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=\" \",i+=' ',i+=' ',i+=\"\";break;case J.DOUGHNUT:case J.PIE:var r=a[0];i+=\"\",i+=' ',i+=\"\",i+=' ',i+=' ',i+=\" \",i+=\" \",i+=\" Sheet1!$B$1\",i+=\" \",i+=' ',i+=' '+gt(r.name)+\"\",i+=\" \",i+=\" \",i+=\" \",i+=\" \",i+=' ',i+=' ',o.dataNoEffects?i+=\"\":i+=Xt(o.shadow,C),i+=\" \",r.labels.forEach(function(t,e){i+=\"\",i+=' ',i+=' ',i+=\" \",i+=\"\"+wt(o.chartColors[e+1>o.chartColors.length?Math.floor(Math.random()*o.chartColors.length):e])+\"\",o.dataBorder&&(i+=''+wt(o.dataBorder.color)+''),i+=Xt(o.shadow,C),i+=\" \",i+=\"\"}),i+=\"\",r.labels.forEach(function(t,e){i+=\"\",i+=' ',i+=' ',i+=\" \",i+=\" \",i+=\" \",i+=' ',i+=\" \"+wt(o.dataLabelColor||b)+\"\",i+=' ',i+=\" \",i+=\" \",i+=\" \",n===J.PIE&&o.dataLabelPosition&&(i+=' '),i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=\" \"}),i+=' ',i+=\"\\t\",i+=\"\\t \",i+=\"\\t \",i+=\"\\t \",i+=\"\\t\\t\",i+='\\t\\t ',i+='\\t\\t\\t',i+=\"\\t\\t \",i+=\"\\t\\t\",i+=\"\\t \",i+=\"\\t\",i+=n===J.PIE?'':\"\",i+='\\t',i+='\\t',i+='\\t',i+='\\t',i+='\\t',i+='\\t',i+=' ',i+=\"\",i+=\"\",i+=\" \",i+=\" Sheet1!$A$2:$A$\"+(r.labels.length+1)+\"\",i+=\" \",i+='\\t ',r.labels.forEach(function(t,e){i+=''+gt(t)+\"\"}),i+=\" \",i+=\" \",i+=\"\",i+=\" \",i+=\" \",i+=\" Sheet1!$B$2:$B$\"+(r.labels.length+1)+\"\",i+=\" \",i+='\\t ',r.values.forEach(function(t,e){i+=''+(t||0===t?t:\"\")+\"\"}),i+=\" \",i+=\" \",i+=\" \",i+=\" \",i+=' ',n===J.DOUGHNUT&&(i+=' '),i+=\"\";break;default:i+=\"\"}return i}function Qt(e,t,r){var n=\"\";return e._type===J.SCATTER||e._type===J.BUBBLE?n+=\"\":n+=\"\",n+=' ',n+=\" \",n+='',!e.catAxisMaxVal&&0!==e.catAxisMaxVal||(n+=''),!e.catAxisMinVal&&0!==e.catAxisMinVal||(n+=''),n+=\"\",n+=' ',n+=' ',n+=\"none\"!==e.catGridLine.style?Kt(e.catGridLine):\"\",e.showCatAxisTitle&&(n+=qt({color:e.catAxisTitleColor,fontFace:e.catAxisTitleFontFace,fontSize:e.catAxisTitleFontSize,titleRotate:e.catAxisTitleRotate,title:e.catAxisTitle||\"Axis Title\"})),e._type===J.SCATTER||e._type===J.BUBBLE?n+=' ':n+=' ',e._type===J.SCATTER?(n+=' ',n+=' ',n+=' '):(n+=' ',n+=' ',n+=' '),n+=\" \",n+=' ',n+=!1===e.catAxisLineShow?\"\":\"\"+wt(e.catAxisLineColor||y.color)+\"\",n+=' ',n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=' ',n+=\" \"+wt(e.catAxisLabelColor||b)+\"\",n+=' ',n+=\" \",n+=\" \",n+=' ',n+=\" \",n+=\" \",n+=' ',n+=\" ',n+=' ',n+=' ',n+=' ',e.catAxisLabelFrequency&&(n+=' '),!e.catLabelFormatCode&&e._type!==J.SCATTER&&e._type!==J.BUBBLE||(e.catLabelFormatCode&&([\"catAxisBaseTimeUnit\",\"catAxisMajorTimeUnit\",\"catAxisMinorTimeUnit\"].forEach(function(t){!e[t]||\"string\"==typeof e[t]&&-1!==[\"days\",\"months\",\"years\"].indexOf(e[t].toLowerCase())||(console.warn(\"`\"+t+\"` must be one of: 'days','months','years' !\"),e[t]=null)}),e.catAxisBaseTimeUnit&&(n+=''),e.catAxisMajorTimeUnit&&(n+=''),e.catAxisMinorTimeUnit&&(n+='')),e.catAxisMajorUnit&&(n+=''),e.catAxisMinorUnit&&(n+='')),e._type===J.SCATTER||e._type===J.BUBBLE?n+=\"\":n+=\"\",n}function Yt(t,e){var r=e===L?\"col\"===t.barDir?\"l\":\"b\":\"col\"!==t.barDir?\"r\":\"t\",n=\"\",a=\"r\"==r||\"t\"==r?\"max\":\"autoZero\",o=e===L?T:k;return n+=\"\",n+=' ',n+=\" \",t.valAxisLogScaleBase&&(n+=' '),n+=' ',!t.valAxisMaxVal&&0!==t.valAxisMaxVal||(n+=''),!t.valAxisMinVal&&0!==t.valAxisMinVal||(n+=''),n+=\" \",n+=' ',n+=' ',\"none\"!==t.valGridLine.style&&(n+=Kt(t.valGridLine)),t.showValAxisTitle&&(n+=qt({color:t.valAxisTitleColor,fontFace:t.valAxisTitleFontFace,fontSize:t.valAxisTitleFontSize,titleRotate:t.valAxisTitleRotate,title:t.valAxisTitle||\"Axis Title\"})),n+=\"',t._type===J.SCATTER?(n+=' ',n+=' ',n+=' '):(n+=' ',n+=' ',n+=' '),n+=\" \",n+=' ',n+=!1===t.valAxisLineShow?\"\":\"\"+wt(t.valAxisLineColor||y.color)+\"\",n+=' ',n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=' ',n+=\" \"+wt(t.valAxisLabelColor||b)+\"\",n+=' ',n+=\" \",n+=\" \",n+=' ',n+=\" \",n+=\" \",n+=' ',n+=' ',n+=' ',t.valAxisMajorUnit&&(n+=' '),t.valAxisDisplayUnit&&(n+=''+(t.valAxisDisplayUnitLabel?\"\":\"\")+\"\"),n+=\"\"}function qt(t){var e=\"left\"===t.titleAlign||\"right\"===t.titleAlign?'':\"\",r=t.titleRotate?'':\"\",n=t.fontSize?'sz=\"'+Math.round(100*t.fontSize)+'\"':\"\",a=!0===t.titleBold?1:0,o=t.titlePos&&t.titlePos.x&&t.titlePos.y?'':\"\";return\"\\n\\t \\n\\t \\n\\t \"+r+\"\\n\\t \\n\\t \\n\\t \"+e+\"\\n\\t \\n\\t '+wt(t.color||b)+'\\n\\t \\n\\t \\n\\t \\n\\t \\n\\t \\n\\t '+wt(t.color||b)+'\\n\\t \\n\\t \\n\\t '+(gt(t.title)||\"\")+\"\\n\\t \\n\\t \\n\\t \\n\\t \\n\\t \"+o+'\\n\\t \\n\\t'}function Zt(t){var e=\"\";return t<=26?e=F[t]:(e+=F[Math.floor(t/F.length)-1],e+=F[t%F.length]),e}function Xt(t,e){if(!t)return\"\";if(\"object\"!=typeof t)return console.warn(\"`shadow` options must be an object. Ex: `{shadow: {type:'none'}}`\"),\"\";var r=\"\",n=mt(e,t),a=n.type||\"outer\",o=At(n.blur),i=At(n.offset),s=Math.round(6e4*n.angle),l=n.color,c=Math.round(1e5*n.opacity);return r+=\"',r+='',r+='',r+=\"\",r+=\"\"}function Kt(t){var e=\"\";return e+=\" \",e+=' ',e+=' ',e+=' ',e+=\" \",e+=\" \",e+=\"\"}function Jt(t){var o=\"undefined\"!=typeof require&&\"undefined\"==typeof window?require(\"fs\"):null,i=\"undefined\"!=typeof require&&\"undefined\"==typeof window?require(\"https\"):null,e=[];return t._relsMedia.filter(function(t){return\"online\"!==t.type&&!t.data&&(!t.path||t.path&&-1===t.path.indexOf(\"preencoded\"))}).forEach(function(a){e.push(new Promise(function(r,n){if(o&&0!==a.path.indexOf(\"http\"))try{var t=o.readFileSync(a.path);a.data=Buffer.from(t).toString(\"base64\"),r(\"done\")}catch(t){a.data=pt,n('ERROR: Unable to read media: \"'+a.path+'\"\\n'+t.toString())}else if(o&&i&&0===a.path.indexOf(\"http\"))i.get(a.path,function(t){var e=\"\";t.setEncoding(\"binary\"),t.on(\"data\",function(t){return e+=t}),t.on(\"end\",function(){a.data=Buffer.from(e,\"binary\").toString(\"base64\"),r(\"done\")}),t.on(\"error\",function(t){a.data=pt,n(\"ERROR! Unable to load image (https.get): \"+a.path)})});else{var e=new XMLHttpRequest;e.onload=function(){var t=new FileReader;t.onloadend=function(){a.data=t.result,a.isSvgPng?$t(a).then(function(){r(\"done\")}).catch(function(t){n(t)}):r(\"done\")},t.readAsDataURL(e.response)},e.onerror=function(t){a.data=pt,n(\"ERROR! Unable to load image (xhr.onerror): \"+a.path)},e.open(\"GET\",a.path),e.responseType=\"blob\",e.send()}}))}),t._relsMedia.filter(function(t){return t.isSvgPng&&t.data}).forEach(function(t){o?(t.data=pt,e.push(Promise.resolve().then(function(){return\"done\"}))):e.push($t(t))}),e}function $t(a){return new Promise(function(r,e){var n=new Image;n.onload=function(){n.width+n.height===0&&n.onerror(\"h/w=0\");var t=document.createElement(\"CANVAS\"),e=t.getContext(\"2d\");t.width=n.width,t.height=n.height,e.drawImage(n,0,0);try{a.data=t.toDataURL(a.type),r(\"done\")}catch(t){n.onerror(t)}t=null},n.onerror=function(t){a.data=pt,e(\"ERROR! Unable to load image (image.onerror): \"+a.path)},n.src=\"string\"==typeof a.data?a.data:pt})}function te(){var a=this;this._version=\"3.7.1\",this._alignH=Q,this._alignV=q,this._chartType=U,this._outputType=z,this._schemeColor=H,this._shapeType=G,this._charts=J,this._colors=tt,this._shapes=X,this.addNewSlide=function(t){var e=0')})}),n+='',n+='',n+='',n+='',t.forEach(function(t,e){n+='',n+='',t._relsChart.forEach(function(t){n+=' '})}),n+='',n+='',n+='',n+='',e.forEach(function(t,e){n+='',(t._relsChart||[]).forEach(function(t){n+=' '})}),t.forEach(function(t,e){n+=' '}),r._relsChart.forEach(function(t){n+=' '}),r._relsMedia.forEach(function(t){\"image\"!==t.type&&\"online\"!==t.type&&\"chart\"!==t.type&&\"m4v\"!==t.extn&&-1===n.indexOf(t.type)&&(n+=' ')}),n+=' ',n+=' ',n+=\"\"}(a.slides,a.slideLayouts,a.masterSlide)),n.file(\"_rels/.rels\",''+v+'\\n\\t\\t\\n\\t\\t\\n\\t\\t\\n\\t\\t'),n.file(\"docProps/app.xml\",function(t,e){return''+v+'\\n\\t0\\n\\t0\\n\\tMicrosoft Office PowerPoint\\n\\tOn-screen Show (16:9)\\n\\t0\\n\\t'+t.length+\"\\n\\t\"+t.length+'\\n\\t0\\n\\t0\\n\\tfalse\\n\\t\\n\\t\\t\\n\\t\\t\\tFonts Used\\n\\t\\t\\t2\\n\\t\\t\\tTheme\\n\\t\\t\\t1\\n\\t\\t\\tSlide Titles\\n\\t\\t\\t'+t.length+'\\n\\t\\t\\n\\t\\n\\t\\n\\t\\t\\n\\t\\t\\tArial\\n\\t\\t\\tCalibri\\n\\t\\t\\tOffice Theme\\n\\t\\t\\t'+t.map(function(t,e){return\"Slide \"+(e+1)+\"\\n\"}).join(\"\")+\"\\n\\t\\t\\n\\t\\n\\t\"+e+\"\\n\\tfalse\\n\\tfalse\\n\\tfalse\\n\\t16.0000\\n\\t\"}(a.slides,a.company)),n.file(\"docProps/core.xml\",function(t,e,r,n){return'\\n\\t\\n\\t\\t'+gt(t)+\"\\n\\t\\t\"+gt(e)+\"\\n\\t\\t\"+gt(r)+\"\\n\\t\\t\"+gt(r)+\"\\n\\t\\t\"+n+'\\n\\t\\t'+(new Date).toISOString().replace(/\\.\\d\\d\\dZ/,\"Z\")+'\\n\\t\\t'+(new Date).toISOString().replace(/\\.\\d\\d\\dZ/,\"Z\")+\"\\n\\t\"}(a.title,a.subject,a.author,a.revision)),n.file(\"ppt/_rels/presentation.xml.rels\",function(t){var e=1,r=''+v;r+='',r+='';for(var n=1;n<=t.length;n++)r+='';return r+=''}(a.slides)),n.file(\"ppt/theme/theme1.xml\",''+v+''),n.file(\"ppt/presentation.xml\",function(t){var e=''+v+'';e+='',e+=\"\",t.slides.forEach(function(t){return e+=''}),e+=\"\",e+='',e+='',e+='',e+=\"\";for(var r=1;r<10;r++)e+=\"\";return e+=\"\",t.sections&&0',e+='',t.sections.forEach(function(t){e+='',t._slides.forEach(function(t){return e+=''}),e+=\"\"}),e+=\"\",e+='',e+=\"\"),e+=\"\"}(a)),n.file(\"ppt/presProps.xml\",''+v+''),n.file(\"ppt/tableStyles.xml\",''+v+''),n.file(\"ppt/viewProps.xml\",''+v+''),a.slideLayouts.forEach(function(t,e){n.file(\"ppt/slideLayouts/slideLayout\"+(e+1)+\".xml\",function(t){return'\\n\\t\\t\\n\\t\\t'+Lt(t)+\"\\n\\t\\t\"}(t)),n.file(\"ppt/slideLayouts/_rels/slideLayout\"+(e+1)+\".xml.rels\",function(t,e){return Et(e[t-1],[{target:\"../slideMasters/slideMaster1.xml\",type:\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster\"}])}(e+1,a.slideLayouts))}),a.slides.forEach(function(t,e){n.file(\"ppt/slides/slide\"+(e+1)+\".xml\",function(t){return''+v+'\"+Lt(t)+\"\"}(t)),n.file(\"ppt/slides/_rels/slide\"+(e+1)+\".xml.rels\",function(t,e,r){return Et(t[r-1],[{target:\"../slideLayouts/slideLayout\"+function(t,e,r){for(var n=0;n\\n\\t\\t\\n\\t\\t\\t\\n\\t\\t\\t\\n\\t\\t'}(e+1))}),n.file(\"ppt/slideMasters/slideMaster1.xml\",function(r,t){var e=t.map(function(t,e){return''}),n=''+v;return n+='',n+=Lt(r),n+='',n+=\"\"+e.join(\"\")+\"\",n+='',n+=' ',n+=\"\"}(a.masterSlide,a.slideLayouts)),n.file(\"ppt/slideMasters/_rels/slideMaster1.xml.rels\",function(t,e){var r=e.map(function(t,e){return{target:\"../slideLayouts/slideLayout\"+(e+1)+\".xml\",type:\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout\"}});return r.push({target:\"../theme/theme1.xml\",type:\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme\"}),Et(t,r)}(a.masterSlide,a.slideLayouts)),n.file(\"ppt/notesMasters/notesMaster1.xml\",''+v+'7/23/19Click to edit Master text stylesSecond levelThird levelFourth levelFifth level‹#›'),n.file(\"ppt/notesMasters/_rels/notesMaster1.xml.rels\",''+v+'\\n\\t\\t\\n\\t\\t'),a.slideLayouts.forEach(function(t){a.createChartMediaRels(t,n,e)}),a.slides.forEach(function(t){a.createChartMediaRels(t,n,e)}),a.createChartMediaRels(a.masterSlide,n,e),Promise.all(e).then(function(){return\"STREAM\"===t.outputType?n.generateAsync({type:\"nodebuffer\",compression:t.compression?\"DEFLATE\":\"STORE\"}):t.outputType?n.generateAsync({type:t.outputType}):n.generateAsync({type:\"blob\",compression:t.compression?\"DEFLATE\":\"STORE\"})})})},this.LAYOUTS={LAYOUT_4x3:{name:\"screen4x3\",width:9144e3,height:6858e3},LAYOUT_16x9:{name:\"screen16x9\",width:9144e3,height:5143500},LAYOUT_16x10:{name:\"screen16x10\",width:9144e3,height:5715e3},LAYOUT_WIDE:{name:\"custom\",width:12192e3,height:6858e3}},this._author=\"PptxGenJS\",this._company=\"PptxGenJS\",this._revision=\"1\",this._subject=\"PptxGenJS Presentation\",this._title=\"PptxGenJS Presentation\",this._presLayout={name:this.LAYOUTS[p].name,_sizeW:this.LAYOUTS[p].width,_sizeH:this.LAYOUTS[p].height,width:this.LAYOUTS[p].width,height:this.LAYOUTS[p].height},this._rtlMode=!1,this._slideLayouts=[{_margin:P,_name:n,_presLayout:this._presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slide:null,_slideNum:1e3,_slideNumberProps:null,_slideObjects:[]}],this._slides=[],this._sections=[],this._masterSlide={addChart:null,addImage:null,addMedia:null,addNotes:null,addShape:null,addTable:null,addText:null,_name:null,_presLayout:this._presLayout,_rId:null,_rels:[],_relsChart:[],_relsMedia:[],_slideId:null,_slideLayout:null,_slideNum:null,_slideNumberProps:null,_slideObjects:[]}}return Object.defineProperty(te.prototype,\"layout\",{get:function(){return this._layout},set:function(t){var e=this.LAYOUTS[t];if(!e)throw new Error(\"UNKNOWN-LAYOUT\");this._layout=t,this._presLayout=e},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"version\",{get:function(){return this._version},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"author\",{get:function(){return this._author},set:function(t){this._author=t},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"company\",{get:function(){return this._company},set:function(t){this._company=t},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"revision\",{get:function(){return this._revision},set:function(t){this._revision=t},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"subject\",{get:function(){return this._subject},set:function(t){this._subject=t},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"title\",{get:function(){return this._title},set:function(t){this._title=t},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"rtlMode\",{get:function(){return this._rtlMode},set:function(t){this._rtlMode=t},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"masterSlide\",{get:function(){return this._masterSlide},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"slides\",{get:function(){return this._slides},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"sections\",{get:function(){return this._sections},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"slideLayouts\",{get:function(){return this._slideLayouts},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"AlignH\",{get:function(){return this._alignH},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"AlignV\",{get:function(){return this._alignV},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"ChartType\",{get:function(){return this._chartType},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"OutputType\",{get:function(){return this._outputType},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"presLayout\",{get:function(){return this._presLayout},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"SchemeColor\",{get:function(){return this._schemeColor},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"ShapeType\",{get:function(){return this._shapeType},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"charts\",{get:function(){return this._charts},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"colors\",{get:function(){return this._colors},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"shapes\",{get:function(){return this._shapes},enumerable:!1,configurable:!0}),te.prototype.stream=function(t){var e=!(\"object\"!=typeof t||!t.hasOwnProperty(\"compression\"))&&t.compression;return this.exportPresentation({compression:e,outputType:\"STREAM\"})},te.prototype.write=function(t){var e=\"object\"==typeof t&&t.hasOwnProperty(\"outputType\")?t.outputType:t||null,r=!(\"object\"!=typeof t||!t.hasOwnProperty(\"compression\"))&&t.compression;return this.exportPresentation({compression:r,outputType:e})},te.prototype.writeFile=function(t){var e=this,n=\"undefined\"!=typeof require&&\"undefined\"==typeof window?require(\"fs\"):null;\"string\"==typeof t&&console.log(\"Warning: `writeFile(filename)` is deprecated - please use `WriteFileProps` argument (v3.5.0)\");var r=\"object\"==typeof t&&t.hasOwnProperty(\"fileName\")?t.fileName:\"string\"==typeof t?t:\"\",a=!(\"object\"!=typeof t||!t.hasOwnProperty(\"compression\"))&&t.compression,o=r?r.toString().toLowerCase().endsWith(\".pptx\")?r:r+\".pptx\":\"Presentation.pptx\";return this.exportPresentation({compression:a,outputType:n?\"nodebuffer\":null}).then(function(t){return n?new Promise(function(e,r){n.writeFile(o,t,function(t){t?r(t):e(o)})}):e.writeFileToBrowser(o,t)})},te.prototype.addSection=function(t){t?t.title||console.warn(\"addSection requires a title\"):console.warn(\"addSection requires an argument\");var e={_type:\"user\",_slides:[],title:t.title};t.order?this.sections.splice(t.order,0,e):this._sections.push(e)},te.prototype.addSlide=function(e){var r=\"string\"==typeof e?e:e&&e.masterName?e.masterName:\"\",t={_name:this.LAYOUTS[p].name,_presLayout:this.presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slideNum:this.slides.length+1};if(r){var n=this.slideLayouts.filter(function(t){return t._name===r})[0];n&&(t=n)}var a=new Gt({addSlide:this.addNewSlide,getSlide:this.getSlide,presLayout:this.presLayout,setSlideNum:this.setSlideNumber,slideId:this.slides.length+256,slideRId:this.slides.length+2,slideNumber:this.slides.length+1,slideLayout:t});if(this._slides.push(a),e&&e.sectionTitle){var o=this.sections.filter(function(t){return t.title===e.sectionTitle})[0];o?o._slides.push(a):console.warn('addSlide: unable to find section with title: \"'+e.sectionTitle+'\"')}else if(this.sections&&0 opts.y = \"+a.y),r.addTable(t.rows,{x:a.x||p[3],y:a.y,w:Number(s)/B,colW:c,autoPage:!1}),a.addImage&&r.addImage({path:a.addImage.url,x:a.addImage.x,y:a.addImage.y,w:a.addImage.w,h:a.addImage.h}),a.addShape&&r.addShape(a.addShape.shape,a.addShape.options||{}),a.addTable&&r.addTable(a.addTable.rows,a.addTable.options||{}),a.addText&&r.addText(a.addText.text,a.addText.options||{})})}(this,t,e,e&&e.masterSlideName?this.slideLayouts.filter(function(t){return t._name===e.masterSlideName})[0]:null)},te}();"],"file":"pptxgen.bundle.js"} \ No newline at end of file diff --git a/dist/pptxgen.bundle.js b/dist/pptxgen.bundle.js index f68d17e64..44afcc388 100644 --- a/dist/pptxgen.bundle.js +++ b/dist/pptxgen.bundle.js @@ -1,3 +1,3 @@ -/* PptxGenJS 3.7.0 @ 2021-07-21T02:38:25.952Z */ -!function(t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).JSZip=t()}(function(){return function o(i,s,l){function c(e,t){if(!s[e]){if(!i[e]){var r="function"==typeof require&&require;if(!t&&r)return r(e,!0);if(u)return u(e,!0);var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}var a=s[e]={exports:{}};i[e][0].call(a.exports,function(t){return c(i[e][1][t]||t)},a,a.exports,o,i,s,l)}return s[e].exports}for(var u="function"==typeof require&&require,t=0;t>2,o=(3&e)<<4|r>>4,i=1>6:64,s=2>4,r=(15&a)<<4|(o=h.indexOf(t.charAt(s++)))>>2,n=(3&o)<<6|(i=h.indexOf(t.charAt(s++))),c[l++]=e,64!==o&&(c[l++]=r),64!==i&&(c[l++]=n);return c}},{"./support":30,"./utils":32}],2:[function(t,e,r){"use strict";var n=t("./external"),a=t("./stream/DataWorker"),o=t("./stream/Crc32Probe"),i=t("./stream/DataLengthProbe");function s(t,e,r,n,a){this.compressedSize=t,this.uncompressedSize=e,this.crc32=r,this.compression=n,this.compressedContent=a}s.prototype={getContentWorker:function(){var t=new a(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new i("data_length")),e=this;return t.on("end",function(){if(this.streamInfo.data_length!==e.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),t},getCompressedWorker:function(){return new a(n.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},s.createWorkerFrom=function(t,e,r){return t.pipe(new o).pipe(new i("uncompressedSize")).pipe(e.compressWorker(r)).pipe(new i("compressedSize")).withStreamInfo("compression",e)},e.exports=s},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(t,e,r){"use strict";var n=t("./stream/GenericWorker");r.STORE={magic:"\0\0",compressWorker:function(t){return new n("STORE compression")},uncompressWorker:function(){return new n("STORE decompression")}},r.DEFLATE=t("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(t,e,r){"use strict";var n=t("./utils"),i=function(){for(var t,e=[],r=0;r<256;r++){t=r;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[r]=t}return e}();e.exports=function(t,e){return void 0!==t&&t.length?"string"!==n.getTypeOf(t)?function(t,e,r){var n=i,a=0+r;t^=-1;for(var o=0;o>>8^n[255&(t^e[o])];return-1^t}(0|e,t,t.length):function(t,e,r){var n=i,a=0+r;t^=-1;for(var o=0;o>>8^n[255&(t^e.charCodeAt(o))];return-1^t}(0|e,t,t.length):0}},{"./utils":32}],5:[function(t,e,r){"use strict";r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!0,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],6:[function(t,e,r){"use strict";var n;n="undefined"!=typeof Promise?Promise:t("lie"),e.exports={Promise:n}},{lie:37}],7:[function(t,e,r){"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,a=t("pako"),o=t("./utils"),i=t("./stream/GenericWorker"),s=n?"uint8array":"array";function l(t,e){i.call(this,"FlateWorker/"+t),this._pako=null,this._pakoAction=t,this._pakoOptions=e,this.meta={}}r.magic="\b\0",o.inherits(l,i),l.prototype.processChunk=function(t){this.meta=t.meta,null===this._pako&&this._createPako(),this._pako.push(o.transformTo(s,t.data),!1)},l.prototype.flush=function(){i.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},l.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this._pako=null},l.prototype._createPako=function(){this._pako=new a[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},r.compressWorker=function(t){return new l("Deflate",t)},r.uncompressWorker=function(){return new l("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(t,e,r){"use strict";function T(t,e){var r,n="";for(r=0;r>>=8;return n}function a(t,e,r,n,a,o){var i,s,l=t.file,c=t.compression,u=o!==R.utf8encode,p=k.transformTo("string",o(l.name)),f=k.transformTo("string",R.utf8encode(l.name)),d=l.comment,h=k.transformTo("string",o(d)),m=k.transformTo("string",R.utf8encode(d)),g=f.length!==l.name.length,v=m.length!==d.length,A="",y="",b="",x=l.dir,w=l.date,_={crc32:0,compressedSize:0,uncompressedSize:0};e&&!r||(_.crc32=t.crc32,_.compressedSize=t.compressedSize,_.uncompressedSize=t.uncompressedSize);var C=0;e&&(C|=8),u||!g&&!v||(C|=2048);var P,S=0,L=0;x&&(S|=16),"UNIX"===a?(L=798,S|=((P=l.unixPermissions)||(P=x?16893:33204),(65535&P)<<16)):(L=20,S|=63&(l.dosPermissions||0)),i=w.getUTCHours(),i<<=6,i|=w.getUTCMinutes(),i<<=5,i|=w.getUTCSeconds()/2,s=w.getUTCFullYear()-1980,s<<=4,s|=w.getUTCMonth()+1,s<<=5,s|=w.getUTCDate(),g&&(A+="up"+T((y=T(1,1)+T(F(p),4)+f).length,2)+y),v&&(A+="uc"+T((b=T(1,1)+T(F(h),4)+m).length,2)+b);var E="";return E+="\n\0",E+=T(C,2),E+=c.magic,E+=T(i,2),E+=T(s,2),E+=T(_.crc32,4),E+=T(_.compressedSize,4),E+=T(_.uncompressedSize,4),E+=T(p.length,2),E+=T(A.length,2),{fileRecord:I.LOCAL_FILE_HEADER+E+p+A,dirRecord:I.CENTRAL_FILE_HEADER+T(L,2)+E+T(h.length,2)+"\0\0\0\0"+T(S,4)+T(n,4)+p+A+h}}var k=t("../utils"),o=t("../stream/GenericWorker"),R=t("../utf8"),F=t("../crc32"),I=t("../signature");function n(t,e,r,n){o.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=e,this.zipPlatform=r,this.encodeFileName=n,this.streamFiles=t,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}k.inherits(n,o),n.prototype.push=function(t){var e=t.meta.percent||0,r=this.entriesCount,n=this._sources.length;this.accumulate?this.contentBuffer.push(t):(this.bytesWritten+=t.data.length,o.prototype.push.call(this,{data:t.data,meta:{currentFile:this.currentFile,percent:r?(e+100*(r-n-1))/r:100}}))},n.prototype.openedSource=function(t){this.currentSourceOffset=this.bytesWritten,this.currentFile=t.file.name;var e=this.streamFiles&&!t.file.dir;if(e){var r=a(t,e,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},n.prototype.closedSource=function(t){this.accumulate=!1;var e,r=this.streamFiles&&!t.file.dir,n=a(t,r,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),r)this.push({data:(e=t,I.DATA_DESCRIPTOR+T(e.crc32,4)+T(e.compressedSize,4)+T(e.uncompressedSize,4)),meta:{percent:100}});else for(this.push({data:n.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},n.prototype.flush=function(){for(var t=this.bytesWritten,e=0;e=this.index;e--)r=(r<<8)+this.byteAt(e);return this.index+=t,r},readString:function(t){return n.transformTo("string",this.readData(t))},readData:function(t){},lastIndexOfSignature:function(t){},readAndCheckSignature:function(t){},readDate:function(){var t=this.readInt(4);return new Date(Date.UTC(1980+(t>>25&127),(t>>21&15)-1,t>>16&31,t>>11&31,t>>5&63,(31&t)<<1))}},e.exports=a},{"../utils":32}],19:[function(t,e,r){"use strict";var n=t("./Uint8ArrayReader");function a(t){n.call(this,t)}t("../utils").inherits(a,n),a.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=a},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(t,e,r){"use strict";var n=t("./DataReader");function a(t){n.call(this,t)}t("../utils").inherits(a,n),a.prototype.byteAt=function(t){return this.data.charCodeAt(this.zero+t)},a.prototype.lastIndexOfSignature=function(t){return this.data.lastIndexOf(t)-this.zero},a.prototype.readAndCheckSignature=function(t){return t===this.readData(4)},a.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=a},{"../utils":32,"./DataReader":18}],21:[function(t,e,r){"use strict";var n=t("./ArrayReader");function a(t){n.call(this,t)}t("../utils").inherits(a,n),a.prototype.readData=function(t){if(this.checkOffset(t),0===t)return new Uint8Array(0);var e=this.data.subarray(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=a},{"../utils":32,"./ArrayReader":17}],22:[function(t,e,r){"use strict";var n=t("../utils"),a=t("../support"),o=t("./ArrayReader"),i=t("./StringReader"),s=t("./NodeBufferReader"),l=t("./Uint8ArrayReader");e.exports=function(t){var e=n.getTypeOf(t);return n.checkSupport(e),"string"!==e||a.uint8array?"nodebuffer"===e?new s(t):a.uint8array?new l(n.transformTo("uint8array",t)):new o(n.transformTo("array",t)):new i(t)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(t,e,r){"use strict";r.LOCAL_FILE_HEADER="PK",r.CENTRAL_FILE_HEADER="PK",r.CENTRAL_DIRECTORY_END="PK",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",r.ZIP64_CENTRAL_DIRECTORY_END="PK",r.DATA_DESCRIPTOR="PK\b"},{}],24:[function(t,e,r){"use strict";var n=t("./GenericWorker"),a=t("../utils");function o(t){n.call(this,"ConvertWorker to "+t),this.destType=t}a.inherits(o,n),o.prototype.processChunk=function(t){this.push({data:a.transformTo(this.destType,t.data),meta:t.meta})},e.exports=o},{"../utils":32,"./GenericWorker":28}],25:[function(t,e,r){"use strict";var n=t("./GenericWorker"),a=t("../crc32");function o(){n.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}t("../utils").inherits(o,n),o.prototype.processChunk=function(t){this.streamInfo.crc32=a(t.data,this.streamInfo.crc32||0),this.push(t)},e.exports=o},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(t,e,r){"use strict";var n=t("../utils"),a=t("./GenericWorker");function o(t){a.call(this,"DataLengthProbe for "+t),this.propName=t,this.withStreamInfo(t,0)}n.inherits(o,a),o.prototype.processChunk=function(t){if(t){var e=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=e+t.data.length}a.prototype.processChunk.call(this,t)},e.exports=o},{"../utils":32,"./GenericWorker":28}],27:[function(t,e,r){"use strict";var n=t("../utils"),a=t("./GenericWorker");function o(t){a.call(this,"DataWorker");var e=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,t.then(function(t){e.dataIsReady=!0,e.data=t,e.max=t&&t.length||0,e.type=n.getTypeOf(t),e.isPaused||e._tickAndRepeat()},function(t){e.error(t)})}n.inherits(o,a),o.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this.data=null},o.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,n.delay(this._tickAndRepeat,[],this)),!0)},o.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(n.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},o.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var t=null,e=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":t=this.data.substring(this.index,e);break;case"uint8array":t=this.data.subarray(this.index,e);break;case"array":case"nodebuffer":t=this.data.slice(this.index,e)}return this.index=e,this.push({data:t,meta:{percent:this.max?this.index/this.max*100:0}})},e.exports=o},{"../utils":32,"./GenericWorker":28}],28:[function(t,e,r){"use strict";function n(t){this.name=t||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}n.prototype={push:function(t){this.emit("data",t)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(t){this.emit("error",t)}return!0},error:function(t){return!this.isFinished&&(this.isPaused?this.generatedError=t:(this.isFinished=!0,this.emit("error",t),this.previous&&this.previous.error(t),this.cleanUp()),!0)},on:function(t,e){return this._listeners[t].push(e),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(t,e){if(this._listeners[t])for(var r=0;r "+t:t}},e.exports=n},{}],29:[function(t,e,r){"use strict";var c=t("../utils"),a=t("./ConvertWorker"),o=t("./GenericWorker"),u=t("../base64"),n=t("../support"),i=t("../external"),s=null;if(n.nodestream)try{s=t("../nodejs/NodejsStreamOutputAdapter")}catch(t){}function l(t,e,r){var n=e;switch(e){case"blob":case"arraybuffer":n="uint8array";break;case"base64":n="string"}try{this._internalType=n,this._outputType=e,this._mimeType=r,c.checkSupport(n),this._worker=t.pipe(new a(n)),t.lock()}catch(t){this._worker=new o("error"),this._worker.error(t)}}l.prototype={accumulate:function(t){return s=this,l=t,new i.Promise(function(e,r){var n=[],a=s._internalType,o=s._outputType,i=s._mimeType;s.on("data",function(t,e){n.push(t),l&&l(e)}).on("error",function(t){n=[],r(t)}).on("end",function(){try{var t=function(t,e,r){switch(t){case"blob":return c.newBlob(c.transformTo("arraybuffer",e),r);case"base64":return u.encode(e);default:return c.transformTo(t,e)}}(o,function(t,e){var r,n=0,a=null,o=0;for(r=0;r>>6:(r<65536?e[o++]=224|r>>>12:(e[o++]=240|r>>>18,e[o++]=128|r>>>12&63),e[o++]=128|r>>>6&63),e[o++]=128|63&r);return e}(t)},o.utf8decode=function(t){return l.nodebuffer?s.transformTo("nodebuffer",t).toString("utf-8"):function(t){var e,r,n,a,o=t.length,i=new Array(2*o);for(e=r=0;e>10&1023,i[r++]=56320|1023&n)}return i.length!==r&&(i.subarray?i=i.subarray(0,r):i.length=r),s.applyFromCharCode(i)}(t=s.transformTo(l.uint8array?"uint8array":"array",t))},s.inherits(i,n),i.prototype.processChunk=function(t){var e=s.transformTo(l.uint8array?"uint8array":"array",t.data);if(this.leftOver&&this.leftOver.length){if(l.uint8array){var r=e;(e=new Uint8Array(r.length+this.leftOver.length)).set(this.leftOver,0),e.set(r,this.leftOver.length)}else e=this.leftOver.concat(e);this.leftOver=null}var n=function(t,e){var r;for((e=e||t.length)>t.length&&(e=t.length),r=e-1;0<=r&&128==(192&t[r]);)r--;return r<0?e:0===r?e:r+c[t[r]]>e?r:e}(e),a=e;n!==e.length&&(l.uint8array?(a=e.subarray(0,n),this.leftOver=e.subarray(n,e.length)):(a=e.slice(0,n),this.leftOver=e.slice(n,e.length))),this.push({data:o.utf8decode(a),meta:t.meta})},i.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:o.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},o.Utf8DecodeWorker=i,s.inherits(u,n),u.prototype.processChunk=function(t){this.push({data:o.utf8encode(t.data),meta:t.meta})},o.Utf8EncodeWorker=u},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(t,e,s){"use strict";var l=t("./support"),c=t("./base64"),r=t("./nodejsUtils"),n=t("set-immediate-shim"),u=t("./external");function a(t){return t}function p(t,e){for(var r=0;r>8;this.dir=!!(16&this.externalFileAttributes),0==t&&(this.dosPermissions=63&this.externalFileAttributes),3==t&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(t){if(this.extraFields[1]){var e=n(this.extraFields[1].value);this.uncompressedSize===o.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===o.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===o.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===o.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(t){var e,r,n,a=t.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});t.index+4>>6:(r<65536?e[o++]=224|r>>>12:(e[o++]=240|r>>>18,e[o++]=128|r>>>12&63),e[o++]=128|r>>>6&63),e[o++]=128|63&r);return e},r.buf2binstring=function(t){return u(t,t.length)},r.binstring2buf=function(t){for(var e=new l.Buf8(t.length),r=0,n=e.length;r>10&1023,s[n++]=56320|1023&a)}return u(s,n)},r.utf8border=function(t,e){var r;for((e=e||t.length)>t.length&&(e=t.length),r=e-1;0<=r&&128==(192&t[r]);)r--;return r<0?e:0===r?e:r+c[t[r]]>e?r:e}},{"./common":41}],43:[function(t,e,r){"use strict";e.exports=function(t,e,r,n){for(var a=65535&t|0,o=t>>>16&65535|0,i=0;0!==r;){for(r-=i=2e3>>1:t>>>1;e[r]=t}return e}();e.exports=function(t,e,r,n){var a=s,o=n+r;t^=-1;for(var i=n;i>>8^a[255&(t^e[i])];return-1^t}},{}],46:[function(t,e,r){"use strict";var l,f=t("../utils/common"),c=t("./trees"),d=t("./adler32"),h=t("./crc32"),n=t("./messages"),u=0,p=0,m=-2,a=2,g=8,o=286,i=30,s=19,v=2*o+1,A=15,y=3,b=258,x=b+y+1,w=42,_=113;function C(t,e){return t.msg=n[e],e}function P(t){return(t<<1)-(4t.avail_out&&(r=t.avail_out),0!==r&&(f.arraySet(t.output,e.pending_buf,e.pending_out,r,t.next_out),t.next_out+=r,e.pending_out+=r,t.total_out+=r,t.avail_out-=r,e.pending-=r,0===e.pending&&(e.pending_out=0))}function E(t,e){c._tr_flush_block(t,0<=t.block_start?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,L(t.strm)}function T(t,e){t.pending_buf[t.pending++]=e}function k(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function R(t,e){var r,n,a=t.max_chain_length,o=t.strstart,i=t.prev_length,s=t.nice_match,l=t.strstart>t.w_size-x?t.strstart-(t.w_size-x):0,c=t.window,u=t.w_mask,p=t.prev,f=t.strstart+b,d=c[o+i-1],h=c[o+i];t.prev_length>=t.good_match&&(a>>=2),s>t.lookahead&&(s=t.lookahead);do{if(c[(r=e)+i]===h&&c[r+i-1]===d&&c[r]===c[o]&&c[++r]===c[o+1]){o+=2,r++;do{}while(c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&ol&&0!=--a);return i<=t.lookahead?i:t.lookahead}function F(t){var e,r,n,a,o,i,s,l,c,u,p=t.w_size;do{if(a=t.window_size-t.lookahead-t.strstart,t.strstart>=p+(p-x)){for(f.arraySet(t.window,t.window,p,p,0),t.match_start-=p,t.strstart-=p,t.block_start-=p,e=r=t.hash_size;n=t.head[--e],t.head[e]=p<=n?n-p:0,--r;);for(e=r=p;n=t.prev[--e],t.prev[e]=p<=n?n-p:0,--r;);a+=p}if(0===t.strm.avail_in)break;if(i=t.strm,s=t.window,l=t.strstart+t.lookahead,u=void 0,(c=a)<(u=i.avail_in)&&(u=c),r=0===u?0:(i.avail_in-=u,f.arraySet(s,i.input,i.next_in,u,l),1===i.state.wrap?i.adler=d(i.adler,s,u,l):2===i.state.wrap&&(i.adler=h(i.adler,s,u,l)),i.next_in+=u,i.total_in+=u,u),t.lookahead+=r,t.lookahead+t.insert>=y)for(o=t.strstart-t.insert,t.ins_h=t.window[o],t.ins_h=(t.ins_h<=y&&(t.ins_h=(t.ins_h<=y)if(n=c._tr_tally(t,t.strstart-t.match_start,t.match_length-y),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=y){for(t.match_length--;t.strstart++,t.ins_h=(t.ins_h<=y&&(t.ins_h=(t.ins_h<=y&&t.match_length<=t.prev_length){for(a=t.strstart+t.lookahead-y,n=c._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-y),t.lookahead-=t.prev_length-1,t.prev_length-=2;++t.strstart<=a&&(t.ins_h=(t.ins_h<t.pending_buf_size-5&&(r=t.pending_buf_size-5);;){if(t.lookahead<=1){if(F(t),0===t.lookahead&&e===u)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+r;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,E(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-x&&(E(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(E(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(E(t,!1),t.strm.avail_out),1)}),new B(4,4,8,4,I),new B(4,5,16,8,I),new B(4,6,32,32,I),new B(4,4,16,16,O),new B(8,16,32,32,O),new B(8,16,128,128,O),new B(8,32,128,256,O),new B(32,128,258,1024,O),new B(32,258,258,4096,O)],r.deflateInit=function(t,e){return z(t,e,g,15,8,0)},r.deflateInit2=z,r.deflateReset=M,r.deflateResetKeep=D,r.deflateSetHeader=function(t,e){return t&&t.state?2!==t.state.wrap?m:(t.state.gzhead=e,p):m},r.deflate=function(t,e){var r,n,a,o;if(!t||!t.state||5>8&255),T(n,n.gzhead.time>>16&255),T(n,n.gzhead.time>>24&255),T(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),T(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(T(n,255&n.gzhead.extra.length),T(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(t.adler=h(t.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69):(T(n,0),T(n,0),T(n,0),T(n,0),T(n,0),T(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),T(n,3),n.status=_);else{var i=g+(n.w_bits-8<<4)<<8;i|=(2<=n.strategy||n.level<2?0:n.level<6?1:6===n.level?2:3)<<6,0!==n.strstart&&(i|=32),i+=31-i%31,n.status=_,k(n,i),0!==n.strstart&&(k(n,t.adler>>>16),k(n,65535&t.adler)),t.adler=1}if(69===n.status)if(n.gzhead.extra){for(a=n.pending;n.gzindex<(65535&n.gzhead.extra.length)&&(n.pending!==n.pending_buf_size||(n.gzhead.hcrc&&n.pending>a&&(t.adler=h(t.adler,n.pending_buf,n.pending-a,a)),L(t),a=n.pending,n.pending!==n.pending_buf_size));)T(n,255&n.gzhead.extra[n.gzindex]),n.gzindex++;n.gzhead.hcrc&&n.pending>a&&(t.adler=h(t.adler,n.pending_buf,n.pending-a,a)),n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=73)}else n.status=73;if(73===n.status)if(n.gzhead.name){a=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>a&&(t.adler=h(t.adler,n.pending_buf,n.pending-a,a)),L(t),a=n.pending,n.pending===n.pending_buf_size)){o=1;break}o=n.gzindexa&&(t.adler=h(t.adler,n.pending_buf,n.pending-a,a)),0===o&&(n.gzindex=0,n.status=91)}else n.status=91;if(91===n.status)if(n.gzhead.comment){a=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>a&&(t.adler=h(t.adler,n.pending_buf,n.pending-a,a)),L(t),a=n.pending,n.pending===n.pending_buf_size)){o=1;break}o=n.gzindexa&&(t.adler=h(t.adler,n.pending_buf,n.pending-a,a)),0===o&&(n.status=103)}else n.status=103;if(103===n.status&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&L(t),n.pending+2<=n.pending_buf_size&&(T(n,255&t.adler),T(n,t.adler>>8&255),t.adler=0,n.status=_)):n.status=_),0!==n.pending){if(L(t),0===t.avail_out)return n.last_flush=-1,p}else if(0===t.avail_in&&P(e)<=P(r)&&4!==e)return C(t,-5);if(666===n.status&&0!==t.avail_in)return C(t,-5);if(0!==t.avail_in||0!==n.lookahead||e!==u&&666!==n.status){var s=2===n.strategy?function(t,e){for(var r;;){if(0===t.lookahead&&(F(t),0===t.lookahead)){if(e===u)return 1;break}if(t.match_length=0,r=c._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,r&&(E(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(E(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(E(t,!1),0===t.strm.avail_out)?1:2}(n,e):3===n.strategy?function(t,e){for(var r,n,a,o,i=t.window;;){if(t.lookahead<=b){if(F(t),t.lookahead<=b&&e===u)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=y&&0t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=y?(r=c._tr_tally(t,1,t.match_length-y),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(r=c._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),r&&(E(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(E(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(E(t,!1),0===t.strm.avail_out)?1:2}(n,e):l[n.level].func(n,e);if(3!==s&&4!==s||(n.status=666),1===s||3===s)return 0===t.avail_out&&(n.last_flush=-1),p;if(2===s&&(1===e?c._tr_align(n):5!==e&&(c._tr_stored_block(n,0,0,!1),3===e&&(S(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),L(t),0===t.avail_out))return n.last_flush=-1,p}return 4!==e?p:n.wrap<=0?1:(2===n.wrap?(T(n,255&t.adler),T(n,t.adler>>8&255),T(n,t.adler>>16&255),T(n,t.adler>>24&255),T(n,255&t.total_in),T(n,t.total_in>>8&255),T(n,t.total_in>>16&255),T(n,t.total_in>>24&255)):(k(n,t.adler>>>16),k(n,65535&t.adler)),L(t),0=r.w_size&&(0===o&&(S(r.head),r.strstart=0,r.block_start=0,r.insert=0),c=new f.Buf8(r.w_size),f.arraySet(c,e,u-r.w_size,r.w_size,0),e=c,u=r.w_size),i=t.avail_in,s=t.next_in,l=t.input,t.avail_in=u,t.next_in=0,t.input=e,F(r);r.lookahead>=y;){for(n=r.strstart,a=r.lookahead-(y-1);r.ins_h=(r.ins_h<>>=b=y>>>24,h-=b,0==(b=y>>>16&255))S[o++]=65535&y;else{if(!(16&b)){if(0==(64&b)){y=m[(65535&y)+(d&(1<>>=b,h-=b),h<15&&(d+=P[n++]<>>=b=y>>>24,h-=b,!(16&(b=y>>>16&255))){if(0==(64&b)){y=g[(65535&y)+(d&(1<>>=b,h-=b,(b=o-i)>3,d&=(1<<(h-=x<<3))-1,t.next_in=n,t.next_out=o,t.avail_in=n>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function o(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new T.Buf16(320),this.work=new T.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function i(t){var e;return t&&t.state?(e=t.state,t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=M,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new T.Buf32(n),e.distcode=e.distdyn=new T.Buf32(a),e.sane=1,e.back=-1,N):D}function s(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,i(t)):D}function l(t,e){var r,n;return t&&t.state?(n=t.state,e<0?(r=0,e=-e):(r=1+(e>>4),e<48&&(e&=15)),e&&(e<8||15=o.wsize?(T.arraySet(o.window,e,r-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):(n<(a=o.wsize-o.wnext)&&(a=n),T.arraySet(o.window,e,r-n,a,o.wnext),(n-=a)?(T.arraySet(o.window,e,r-n,n,0),o.wnext=n,o.whave=o.wsize):(o.wnext+=a,o.wnext===o.wsize&&(o.wnext=0),o.whave>>8&255,r.check=R(r.check,L,2,0),u=c=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&c)<<8)+(c>>8))%31){t.msg="incorrect header check",r.mode=30;break}if(8!=(15&c)){t.msg="unknown compression method",r.mode=30;break}if(u-=4,w=8+(15&(c>>>=4)),0===r.wbits)r.wbits=w;else if(w>r.wbits){t.msg="invalid window size",r.mode=30;break}r.dmax=1<>8&1),512&r.flags&&(L[0]=255&c,L[1]=c>>>8&255,r.check=R(r.check,L,2,0)),u=c=0,r.mode=3;case 3:for(;u<32;){if(0===s)break t;s--,c+=n[o++]<>>8&255,L[2]=c>>>16&255,L[3]=c>>>24&255,r.check=R(r.check,L,4,0)),u=c=0,r.mode=4;case 4:for(;u<16;){if(0===s)break t;s--,c+=n[o++]<>8),512&r.flags&&(L[0]=255&c,L[1]=c>>>8&255,r.check=R(r.check,L,2,0)),u=c=0,r.mode=5;case 5:if(1024&r.flags){for(;u<16;){if(0===s)break t;s--,c+=n[o++]<>>8&255,r.check=R(r.check,L,2,0)),u=c=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&(s<(d=r.length)&&(d=s),d&&(r.head&&(w=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),T.arraySet(r.head.extra,n,o,d,w)),512&r.flags&&(r.check=R(r.check,n,d,o)),s-=d,o+=d,r.length-=d),r.length))break t;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===s)break t;for(d=0;w=n[o+d++],r.head&&w&&r.length<65536&&(r.head.name+=String.fromCharCode(w)),w&&d>9&1,r.head.done=!0),t.adler=r.check=0,r.mode=12;break;case 10:for(;u<32;){if(0===s)break t;s--,c+=n[o++]<>>=7&u,u-=7&u,r.mode=27;break}for(;u<3;){if(0===s)break t;s--,c+=n[o++]<>>=1)){case 0:r.mode=14;break;case 1:if(U(r),r.mode=20,6!==e)break;c>>>=2,u-=2;break t;case 2:r.mode=17;break;case 3:t.msg="invalid block type",r.mode=30}c>>>=2,u-=2;break;case 14:for(c>>>=7&u,u-=7&u;u<32;){if(0===s)break t;s--,c+=n[o++]<>>16^65535)){t.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&c,u=c=0,r.mode=15,6===e)break t;case 15:r.mode=16;case 16:if(d=r.length){if(s>>=5,u-=5,r.ndist=1+(31&c),c>>>=5,u-=5,r.ncode=4+(15&c),c>>>=4,u-=4,286>>=3,u-=3}for(;r.have<19;)r.lens[E[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,C={bits:r.lenbits},_=I(0,r.lens,0,19,r.lencode,0,r.work,C),r.lenbits=C.bits,_){t.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have>>16&255,A=65535&S,!((g=S>>>24)<=u);){if(0===s)break t;s--,c+=n[o++]<>>=g,u-=g,r.lens[r.have++]=A;else{if(16===A){for(P=g+2;u>>=g,u-=g,0===r.have){t.msg="invalid bit length repeat",r.mode=30;break}w=r.lens[r.have-1],d=3+(3&c),c>>>=2,u-=2}else if(17===A){for(P=g+3;u>>=g)),c>>>=3,u-=3}else{for(P=g+7;u>>=g)),c>>>=7,u-=7}if(r.have+d>r.nlen+r.ndist){t.msg="invalid bit length repeat",r.mode=30;break}for(;d--;)r.lens[r.have++]=w}}if(30===r.mode)break;if(0===r.lens[256]){t.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,C={bits:r.lenbits},_=I(O,r.lens,0,r.nlen,r.lencode,0,r.work,C),r.lenbits=C.bits,_){t.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,C={bits:r.distbits},_=I(B,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,C),r.distbits=C.bits,_){t.msg="invalid distances set",r.mode=30;break}if(r.mode=20,6===e)break t;case 20:r.mode=21;case 21:if(6<=s&&258<=l){t.next_out=i,t.avail_out=l,t.next_in=o,t.avail_in=s,r.hold=c,r.bits=u,F(t,f),i=t.next_out,a=t.output,l=t.avail_out,o=t.next_in,n=t.input,s=t.avail_in,c=r.hold,u=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;v=(S=r.lencode[c&(1<>>16&255,A=65535&S,!((g=S>>>24)<=u);){if(0===s)break t;s--,c+=n[o++]<>y)])>>>16&255,A=65535&S,!(y+(g=S>>>24)<=u);){if(0===s)break t;s--,c+=n[o++]<>>=y,u-=y,r.back+=y}if(c>>>=g,u-=g,r.back+=g,r.length=A,0===v){r.mode=26;break}if(32&v){r.back=-1,r.mode=12;break}if(64&v){t.msg="invalid literal/length code",r.mode=30;break}r.extra=15&v,r.mode=22;case 22:if(r.extra){for(P=r.extra;u>>=r.extra,u-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;v=(S=r.distcode[c&(1<>>16&255,A=65535&S,!((g=S>>>24)<=u);){if(0===s)break t;s--,c+=n[o++]<>y)])>>>16&255,A=65535&S,!(y+(g=S>>>24)<=u);){if(0===s)break t;s--,c+=n[o++]<>>=y,u-=y,r.back+=y}if(c>>>=g,u-=g,r.back+=g,64&v){t.msg="invalid distance code",r.mode=30;break}r.offset=A,r.extra=15&v,r.mode=24;case 24:if(r.extra){for(P=r.extra;u>>=r.extra,u-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){t.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(0===l)break t;if(d=f-l,r.offset>d){if((d=r.offset-d)>r.whave&&r.sane){t.msg="invalid distance too far back",r.mode=30;break}h=d>r.wnext?(d-=r.wnext,r.wsize-d):r.wnext-d,d>r.length&&(d=r.length),m=r.window}else m=a,h=i-r.offset,d=r.length;for(ld?(m=F[I+i[y]],E[T+i[y]]):(m=96,0),l=1<>C)+(c-=l)]=h<<24|m<<16|g|0,0!==c;);for(l=1<>=1;if(0!==l?(L&=l-1,L+=l):L=0,y++,0==--k[A]){if(A===x)break;A=e[r+i[y]]}if(w>>7)]}function _(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function C(t,e,r){t.bi_valid>a-r?(t.bi_buf|=e<>a-t.bi_valid,t.bi_valid+=r-a):(t.bi_buf|=e<>>=1,r<<=1,0<--e;);return r>>>1}function L(t,e,r){var n,a,o=new Array(g+1),i=0;for(n=1;n<=g;n++)o[n]=i=i+r[n-1]<<1;for(a=0;a<=e;a++){var s=t[2*a+1];0!==s&&(t[2*a]=S(o[s]++,s))}}function E(t){var e;for(e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function T(t){8>1;1<=r;r--)R(t,o,r);for(a=l;r=t.heap[1],t.heap[1]=t.heap[t.heap_len--],R(t,o,1),n=t.heap[1],t.heap[--t.heap_max]=r,t.heap[--t.heap_max]=n,o[2*a]=o[2*r]+o[2*n],t.depth[a]=(t.depth[r]>=t.depth[n]?t.depth[r]:t.depth[n])+1,o[2*r+1]=o[2*n+1]=a,t.heap[1]=a++,R(t,o,1),2<=t.heap_len;);t.heap[--t.heap_max]=t.heap[1],function(t,e){var r,n,a,o,i,s,l=e.dyn_tree,c=e.max_code,u=e.stat_desc.static_tree,p=e.stat_desc.has_stree,f=e.stat_desc.extra_bits,d=e.stat_desc.extra_base,h=e.stat_desc.max_length,m=0;for(o=0;o<=g;o++)t.bl_count[o]=0;for(l[2*t.heap[t.heap_max]+1]=0,r=t.heap_max+1;r<573;r++)h<(o=l[2*l[2*(n=t.heap[r])+1]+1]+1)&&(o=h,m++),l[2*n+1]=o,c>=7;n<30;n++)for(b[n]=a<<7,t=0;t<1<>>=1)if(1&r&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<256;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0}(t)),I(t,t.l_desc),I(t,t.d_desc),i=function(t){var e;for(O(t,t.dyn_ltree,t.l_desc.max_code),O(t,t.dyn_dtree,t.d_desc.max_code),I(t,t.bl_desc),e=18;3<=e&&0===t.bl_tree[2*u[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),a=t.opt_len+3+7>>>3,(o=t.static_len+3+7>>>3)<=a&&(a=o)):a=o=r+5,r+4<=a&&-1!==e?D(t,e,r,n):4===t.strategy||o===a?(C(t,2+(n?1:0),3),F(t,p,f)):(C(t,4+(n?1:0),3),function(t,e,r,n){var a;for(C(t,e-257,5),C(t,r-1,5),C(t,n-4,4),a=0;a>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&r,t.last_lit++,0===e?t.dyn_ltree[2*r]++:(t.matches++,e--,t.dyn_ltree[2*(h[r]+256+1)]++,t.dyn_dtree[2*w(e)]++),t.last_lit===t.lit_bufsize-1},r._tr_align=function(t){var e;C(t,2,3),P(t,256,p),16===(e=t).bi_valid?(_(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):8<=e.bi_valid&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}},{"../utils/common":41}],53:[function(t,e,r){"use strict";e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(t,e,r){"use strict";e.exports="function"==typeof setImmediate?setImmediate:function(){var t=[].slice.apply(arguments);t.splice(1,0,0),setTimeout.apply(null,t)}},{}]},{},[10])(10)})}).call(this,void 0!==r?r:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,void 0!==r?r:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,void 0!==r?r:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,void 0!==r?r:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)}),function o(i,s,l){function c(e,t){if(!s[e]){if(!i[e]){var r="function"==typeof require&&require;if(!t&&r)return r(e,!0);if(u)return u(e,!0);var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}var a=s[e]={exports:{}};i[e][0].call(a.exports,function(t){return c(i[e][1][t]||t)},a,a.exports,o,i,s,l)}return s[e].exports}for(var u="function"==typeof require&&require,t=0;ti;)o.call(t,n=a[i++])&&e.push(n);return e}},{104:104,107:107,108:108}],62:[function(t,e,r){var m=t(70),g=t(52),v=t(72),A=t(118),y=t(54),b="prototype",x=function(t,e,r){var n,a,o,i,s=t&x.F,l=t&x.G,c=t&x.S,u=t&x.P,p=t&x.B,f=l?m:c?m[e]||(m[e]={}):(m[e]||{})[b],d=l?g:g[e]||(g[e]={}),h=d[b]||(d[b]={});for(n in l&&(r=e),r)o=((a=!s&&f&&void 0!==f[n])?f:r)[n],i=p&&a?y(o,m):u&&"function"==typeof o?y(Function.call,o):o,f&&A(f,n,o,t&x.U),d[n]!=o&&v(d,n,i),u&&h[n]!=o&&(h[n]=o)};m.core=g,x.F=1,x.G=2,x.S=4,x.P=8,x.B=16,x.W=32,x.U=64,x.R=128,e.exports=x},{118:118,52:52,54:54,70:70,72:72}],63:[function(t,e,r){var n=t(152)("match");e.exports=function(e){var r=/./;try{"/./"[e](r)}catch(t){try{return r[n]=!1,!"/./"[e](r)}catch(t){}}return!0}},{152:152}],64:[function(t,e,r){arguments[4][23][0].apply(r,arguments)},{23:23}],65:[function(t,e,r){"use strict";t(248);var u=t(118),p=t(72),f=t(64),d=t(57),h=t(152),m=t(120),g=h("species"),v=!f(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$
")}),A=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2===r.length&&"a"===r[0]&&"b"===r[1]}();e.exports=function(r,t,e){var n=h(r),o=!f(function(){var t={};return t[n]=function(){return 7},7!=""[r](t)}),a=o?!f(function(){var t=!1,e=/a/;return e.exec=function(){return t=!0,null},"split"===r&&(e.constructor={},e.constructor[g]=function(){return e}),e[n](""),!t}):void 0;if(!o||!a||"replace"===r&&!v||"split"===r&&!A){var i=/./[n],s=e(d,n,""[r],function(t,e,r,n,a){return e.exec===m?o&&!a?{done:!0,value:i.call(e,r,n)}:{done:!0,value:t.call(r,e,n)}:{done:!1}}),l=s[0],c=s[1];u(String.prototype,r,l),p(RegExp.prototype,n,2==t?function(t,e){return c.call(t,this,e)}:function(t){return c.call(t,this)})}}},{118:118,120:120,152:152,248:248,57:57,64:64,72:72}],66:[function(t,e,r){"use strict";var n=t(38);e.exports=function(){var t=n(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},{38:38}],67:[function(t,e,r){"use strict";var h=t(79),m=t(81),g=t(141),v=t(54),A=t(152)("isConcatSpreadable");e.exports=function t(e,r,n,a,o,i,s,l){for(var c,u,p=o,f=0,d=!!s&&v(s,l,3);fdocument.F=Object<\/script>"),t.close(),u=t.F;r--;)delete u[c][s[r]];return u()};t.exports=Object.create||function(t,e){var r;return null!==t?(a[c]=o(t),r=new a,a[c]=null,r[l]=t):r=u(),void 0===e?r:i(r,e)}},{100:100,125:125,38:38,59:59,60:60,73:73}],99:[function(t,e,r){arguments[4][29][0].apply(r,arguments)},{143:143,29:29,38:38,58:58,74:74}],100:[function(t,e,r){var i=t(99),s=t(38),l=t(107);e.exports=t(58)?Object.defineProperties:function(t,e){s(t);for(var r,n=l(e),a=n.length,o=0;oa;)i(n,r=e[a++])&&(~l(o,r)||o.push(r));return o}},{125:125,140:140,41:41,71:71}],107:[function(t,e,r){var n=t(106),a=t(60);e.exports=Object.keys||function(t){return n(t,a)}},{106:106,60:60}],108:[function(t,e,r){r.f={}.propertyIsEnumerable},{}],109:[function(t,e,r){var a=t(62),o=t(52),i=t(64);e.exports=function(t,e){var r=(o.Object||{})[t]||Object[t],n={};n[t]=e(r),a(a.S+a.F*i(function(){r(1)}),"Object",n)}},{52:52,62:62,64:64}],110:[function(t,e,r){var l=t(58),c=t(107),u=t(140),p=t(108).f;e.exports=function(s){return function(t){for(var e,r=u(t),n=c(r),a=n.length,o=0,i=[];o>>0||(i.test(r)?16:10))}:n},{134:134,135:135,70:70}],114:[function(t,e,r){e.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},{}],115:[function(t,e,r){var n=t(38),a=t(81),o=t(96);e.exports=function(t,e){if(n(t),a(e)&&e.constructor===t)return e;var r=o.f(t);return(0,r.resolve)(e),r.promise}},{38:38,81:81,96:96}],116:[function(t,e,r){arguments[4][30][0].apply(r,arguments)},{30:30}],117:[function(t,e,r){var a=t(118);e.exports=function(t,e,r){for(var n in e)a(t,n,e[n],r);return t}},{118:118}],118:[function(t,e,r){var o=t(70),i=t(72),s=t(71),l=t(147)("src"),n=t(69),a="toString",c=(""+n).split(a);t(52).inspectSource=function(t){return n.call(t)},(e.exports=function(t,e,r,n){var a="function"==typeof r;a&&(s(r,"name")||i(r,"name",e)),t[e]!==r&&(a&&(s(r,l)||i(r,l,t[e]?""+t[e]:c.join(String(e)))),t===o?t[e]=r:n?t[e]?t[e]=r:i(t,e,r):(delete t[e],i(t,e,r)))})(Function.prototype,a,function(){return"function"==typeof this&&this[l]||n.call(this)})},{147:147,52:52,69:69,70:70,71:71,72:72}],119:[function(t,e,r){"use strict";var a=t(47),o=RegExp.prototype.exec;e.exports=function(t,e){var r=t.exec;if("function"==typeof r){var n=r.call(t,e);if("object"!=typeof n)throw new TypeError("RegExp exec method returned something other than an Object or null");return n}if("RegExp"!==a(t))throw new TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},{47:47}],120:[function(t,e,r){"use strict";var n,a,i=t(66),s=RegExp.prototype.exec,l=String.prototype.replace,o=s,c="lastIndex",u=(n=/a/,a=/b*/g,s.call(n,"a"),s.call(a,"a"),0!==n[c]||0!==a[c]),p=void 0!==/()??/.exec("")[1];(u||p)&&(o=function(t){var e,r,n,a,o=this;return p&&(r=new RegExp("^"+o.source+"$(?!\\s)",i.call(o))),u&&(e=o[c]),n=s.call(o,t),u&&n&&(o[c]=o.global?n.index+n[0].length:e),p&&n&&1"+a+""}var a=t(62),o=t(64),i=t(57),s=/"/g;e.exports=function(e,t){var r={};r[e]=t(n),a(a.P+a.F*o(function(){var t=""[e]('"');return t!==t.toLowerCase()||3l&&(c=c.slice(0,l)),n?c+a:a+c}},{133:133,141:141,57:57}],133:[function(t,e,r){"use strict";var a=t(139),o=t(57);e.exports=function(t){var e=String(o(this)),r="",n=a(t);if(n<0||n==1/0)throw RangeError("Count can't be negative");for(;0>>=1)&&(e+=e))1&n&&(r+=e);return r}},{139:139,57:57}],134:[function(t,e,r){function n(t,e,r){var n={},a=s(function(){return!!l[t]()||"​…"!="​…"[t]()}),o=n[t]=a?e(p):l[t];r&&(n[r]=o),i(i.P+i.F*a,"String",n)}var i=t(62),a=t(57),s=t(64),l=t(135),o="["+l+"]",c=RegExp("^"+o+o+"*"),u=RegExp(o+o+"*$"),p=n.trim=function(t,e){return t=String(a(t)),1&e&&(t=t.replace(c,"")),2&e&&(t=t.replace(u,"")),t};e.exports=n},{135:135,57:57,62:62,64:64}],135:[function(t,e,r){e.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},{}],136:[function(t,e,r){function n(){var t=+this;if(y.hasOwnProperty(t)){var e=y[t];delete y[t],e()}}function a(t){n.call(t.data)}var o,i,s,l=t(54),c=t(76),u=t(73),p=t(59),f=t(70),d=f.process,h=f.setImmediate,m=f.clearImmediate,g=f.MessageChannel,v=f.Dispatch,A=0,y={},b="onreadystatechange";h&&m||(h=function(t){for(var e=[],r=1;r>1,u=23===e?T(2,-24)-T(2,-77):0,p=0,f=t<0||0===t&&1/t<0?1:0;for((t=E(t))!=t||t===S?(a=t!=t?1:0,n=l):(n=k(R(t)/F),t*(o=T(2,-n))<1&&(n--,o*=2),2<=(t+=1<=n+c?u/o:u*T(2,1-c))*o&&(n++,o/=2),l<=n+c?(a=0,n=l):1<=n+c?(a=(t*o-1)*T(2,e),n+=c):(a=t*T(2,c-1)*T(2,e),n=0));8<=e;i[p++]=255&a,a/=256,e-=8);for(n=n<>1,s=a-7,l=r-1,c=t[l--],u=127&c;for(c>>=7;0>=-s,s+=e;0>8&255]}function W(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function H(t){return M(t,52,8)}function V(t){return M(t,23,4)}function Q(t,e,r){m(t[b],e,{get:function(){return this[r]}})}function Y(t,e,r,n){var a=d(+r);if(a+e>t[N])throw P(x);var o=t[B]._b,i=a+t[D],s=o.slice(i,i+e);return n?s:s.reverse()}function q(t,e,r,n,a,o){var i=d(+r);if(i+e>t[N])throw P(x);for(var s=t[B]._b,l=i+t[D],c=n(+a),u=0;uJ;)(Z=K[J++])in w||s(w,Z,L[Z]);o||(X.constructor=w)}var $=new _(new w(2)),tt=_[b].setInt8;$.setInt8(0,2147483648),$.setInt8(1,2147483649),!$.getInt8(0)&&$.getInt8(1)||l(_[b],{setInt8:function(t,e){tt.call(this,t,e<<24>>24)},setUint8:function(t,e){tt.call(this,t,e<<24>>24)}},!0)}else w=function(t){u(this,w,A);var e=d(t);this._b=g.call(new Array(e),0),this[N]=e},_=function(t,e,r){u(this,_,y),u(t,w,y);var n=t[N],a=p(e);if(a<0||n>24},getUint8:function(t){return Y(this,1,t)[0]},getInt16:function(t,e){var r=Y(this,2,t,e);return(r[1]<<8|r[0])<<16>>16},getUint16:function(t,e){var r=Y(this,2,t,e);return r[1]<<8|r[0]},getInt32:function(t,e){return U(Y(this,4,t,e))},getUint32:function(t,e){return U(Y(this,4,t,e))>>>0},getFloat32:function(t,e){return z(Y(this,4,t,e),23,4)},getFloat64:function(t,e){return z(Y(this,8,t,e),52,8)},setInt8:function(t,e){q(this,1,t,j,e)},setUint8:function(t,e){q(this,1,t,j,e)},setInt16:function(t,e,r){q(this,2,t,G,e,r)},setUint16:function(t,e,r){q(this,2,t,G,e,r)},setInt32:function(t,e,r){q(this,4,t,W,e,r)},setUint32:function(t,e,r){q(this,4,t,W,e,r)},setFloat32:function(t,e,r){q(this,4,t,V,e,r)},setFloat64:function(t,e,r){q(this,8,t,H,e,r)}});v(w,A),v(_,y),s(_[b],i.VIEW,!0),r[A]=w,r[y]=_},{103:103,117:117,124:124,138:138,139:139,141:141,146:146,37:37,40:40,58:58,64:64,70:70,72:72,89:89,99:99}],146:[function(t,e,r){for(var n,a=t(70),o=t(72),i=t(147),s=i("typed_array"),l=i("view"),c=!(!a.ArrayBuffer||!a.DataView),u=c,p=0,f="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");p<9;)(n=a[f[p++]])?(o(n.prototype,s,!0),o(n.prototype,l,!0)):u=!1;e.exports={ABV:c,CONSTR:u,TYPED:s,VIEW:l}},{147:147,70:70,72:72}],147:[function(t,e,r){var n=0,a=Math.random();e.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+a).toString(36))}},{}],148:[function(t,e,r){var n=t(70).navigator;e.exports=n&&n.userAgent||""},{70:70}],149:[function(t,e,r){var n=t(81);e.exports=function(t,e){if(!n(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},{81:81}],150:[function(t,e,r){var n=t(70),a=t(52),o=t(89),i=t(151),s=t(99).f;e.exports=function(t){var e=a.Symbol||(a.Symbol=o?{}:n.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:i.f(t)})}},{151:151,52:52,70:70,89:89,99:99}],151:[function(t,e,r){r.f=t(152)},{152:152}],152:[function(t,e,r){var n=t(126)("wks"),a=t(147),o=t(70).Symbol,i="function"==typeof o;(e.exports=function(t){return n[t]||(n[t]=i&&o[t]||(i?o:a)("Symbol."+t))}).store=n},{126:126,147:147,70:70}],153:[function(t,e,r){var n=t(47),a=t(152)("iterator"),o=t(88);e.exports=t(52).getIteratorMethod=function(t){if(null!=t)return t[a]||t["@@iterator"]||o[n(t)]}},{152:152,47:47,52:52,88:88}],154:[function(t,e,r){var n=t(62);n(n.P,"Array",{copyWithin:t(39)}),t(35)("copyWithin")},{35:35,39:39,62:62}],155:[function(t,e,r){"use strict";var n=t(62),a=t(42)(4);n(n.P+n.F*!t(128)([].every,!0),"Array",{every:function(t,e){return a(this,t,e)}})},{128:128,42:42,62:62}],156:[function(t,e,r){var n=t(62);n(n.P,"Array",{fill:t(40)}),t(35)("fill")},{35:35,40:40,62:62}],157:[function(t,e,r){"use strict";var n=t(62),a=t(42)(2);n(n.P+n.F*!t(128)([].filter,!0),"Array",{filter:function(t,e){return a(this,t,e)}})},{128:128,42:42,62:62}],158:[function(t,e,r){"use strict";var n=t(62),a=t(42)(6),o="findIndex",i=!0;o in[]&&Array(1)[o](function(){i=!1}),n(n.P+n.F*i,"Array",{findIndex:function(t,e){return a(this,t,1=t.length?(this._t=void 0,a(1)):a(0,"keys"==e?r:"values"==e?t[r]:[r,t[r]])},"values"),o.Arguments=o.Array,n("keys"),n("values"),n("entries")},{140:140,35:35,85:85,87:87,88:88}],165:[function(t,e,r){"use strict";var n=t(62),a=t(140),o=[].join;n(n.P+n.F*(t(77)!=Object||!t(128)(o)),"Array",{join:function(t){return o.call(a(this),void 0===t?",":t)}})},{128:128,140:140,62:62,77:77}],166:[function(t,e,r){"use strict";var n=t(62),o=t(140),i=t(139),s=t(141),l=[].lastIndexOf,c=!!l&&1/[1].lastIndexOf(1,-0)<0;n(n.P+n.F*(c||!t(128)(l)),"Array",{lastIndexOf:function(t,e){if(c)return l.apply(this,arguments)||0;var r=o(this),n=s(r.length),a=n-1;for(1>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},{62:62}],189:[function(t,e,r){var n=t(62),a=Math.exp;n(n.S,"Math",{cosh:function(t){return(a(t=+t)+a(-t))/2}})},{62:62}],190:[function(t,e,r){var n=t(62),a=t(90);n(n.S+n.F*(a!=Math.expm1),"Math",{expm1:a})},{62:62,90:90}],191:[function(t,e,r){var n=t(62);n(n.S,"Math",{fround:t(91)})},{62:62,91:91}],192:[function(t,e,r){var n=t(62),l=Math.abs;n(n.S,"Math",{hypot:function(t,e){for(var r,n,a=0,o=0,i=arguments.length,s=0;o>>16)*o+a*(65535&n>>>16)<<16>>>0)}})},{62:62,64:64}],194:[function(t,e,r){var n=t(62);n(n.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},{62:62}],195:[function(t,e,r){var n=t(62);n(n.S,"Math",{log1p:t(92)})},{62:62,92:92}],196:[function(t,e,r){var n=t(62);n(n.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},{62:62}],197:[function(t,e,r){var n=t(62);n(n.S,"Math",{sign:t(93)})},{62:62,93:93}],198:[function(t,e,r){var n=t(62),a=t(90),o=Math.exp;n(n.S+n.F*t(64)(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(a(t)-a(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},{62:62,64:64,90:90}],199:[function(t,e,r){var n=t(62),a=t(90),o=Math.exp;n(n.S,"Math",{tanh:function(t){var e=a(t=+t),r=a(-t);return e==1/0?1:r==1/0?-1:(e-r)/(o(t)+o(-t))}})},{62:62,90:90}],200:[function(t,e,r){var n=t(62);n(n.S,"Math",{trunc:function(t){return(0w;w++)o(g,b=x[w])&&!o(m,b)&&f(m,b,p(g,b));(m.prototype=v).constructor=m,t(118)(a,h,m)}},{101:101,103:103,118:118,134:134,143:143,48:48,58:58,64:64,70:70,71:71,75:75,98:98,99:99}],202:[function(t,e,r){var n=t(62);n(n.S,"Number",{EPSILON:Math.pow(2,-52)})},{62:62}],203:[function(t,e,r){var n=t(62),a=t(70).isFinite;n(n.S,"Number",{isFinite:function(t){return"number"==typeof t&&a(t)}})},{62:62,70:70}],204:[function(t,e,r){var n=t(62);n(n.S,"Number",{isInteger:t(80)})},{62:62,80:80}],205:[function(t,e,r){var n=t(62);n(n.S,"Number",{isNaN:function(t){return t!=t}})},{62:62}],206:[function(t,e,r){var n=t(62),a=t(80),o=Math.abs;n(n.S,"Number",{isSafeInteger:function(t){return a(t)&&o(t)<=9007199254740991}})},{62:62,80:80}],207:[function(t,e,r){var n=t(62);n(n.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},{62:62}],208:[function(t,e,r){var n=t(62);n(n.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},{62:62}],209:[function(t,e,r){var n=t(62),a=t(112);n(n.S+n.F*(Number.parseFloat!=a),"Number",{parseFloat:a})},{112:112,62:62}],210:[function(t,e,r){var n=t(62),a=t(113);n(n.S+n.F*(Number.parseInt!=a),"Number",{parseInt:a})},{113:113,62:62}],211:[function(t,e,r){"use strict";function c(t,e){for(var r=-1,n=e;++r<6;)n+=t*i[r],i[r]=n%1e7,n=o(n/1e7)}function u(t){for(var e=6,r=0;0<=--e;)r+=i[e],i[e]=o(r/t),r=r%t*1e7}function p(){for(var t=6,e="";0<=--t;)if(""!==e||0===t||0!==i[t]){var r=String(i[t]);e=""===e?r:e+h.call("0",7-r.length)+r}return e}var n=t(62),f=t(139),d=t(34),h=t(133),a=1..toFixed,o=Math.floor,i=[0,0,0,0,0,0],m="Number.toFixed: incorrect invocation!",g=function(t,e,r){return 0===e?r:e%2==1?g(t,e-1,r*t):g(t*t,e/2,r)};n(n.P+n.F*(!!a&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!t(64)(function(){a.call({})})),"Number",{toFixed:function(t){var e,r,n,a,o=d(this,m),i=f(t),s="",l="0";if(i<0||20t;)e(n[t++]);u._c=[],u._n=!1,r&&!u._h&&N(u)})}}function o(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),a(e,!0))}var i,s,l,c,u=r(89),f=r(70),d=r(54),h=r(47),m=r(62),g=r(81),v=r(33),A=r(37),y=r(68),b=r(127),x=r(136).set,w=r(95)(),_=r(96),C=r(114),P=r(148),S=r(115),L="Promise",E=f.TypeError,T=f.process,k=T&&T.versions,R=k&&k.v8||"",F=f[L],I="process"==h(T),O=s=_.f,B=!!function(){try{var t=F.resolve(1),e=(t.constructor={})[r(152)("species")]=function(t){t(n,n)};return(I||"function"==typeof PromiseRejectionEvent)&&t.then(n)instanceof e&&0!==R.indexOf("6.6")&&-1===P.indexOf("Chrome/66")}catch(t){}}(),N=function(o){x.call(f,function(){var t,e,r,n=o._v,a=D(o);if(a&&(t=C(function(){I?T.emit("unhandledRejection",n,o):(e=f.onunhandledrejection)?e({promise:o,reason:n}):(r=f.console)&&r.error&&r.error("Unhandled promise rejection",n)}),o._h=I||D(o)?2:1),o._a=void 0,a&&t.e)throw t.v})},D=function(t){return 1!==t._h&&0===(t._a||t._c).length},M=function(e){x.call(f,function(){var t;I?T.emit("rejectionHandled",e):(t=f.onrejectionhandled)&&t({promise:e,reason:e._v})})},z=function(t){var r,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw E("Promise can't be resolved itself");(r=p(t))?w(function(){var e={_w:n,_d:!1};try{r.call(t,d(z,e,1),d(o,e,1))}catch(t){o.call(e,t)}}):(n._v=t,n._s=1,a(n,!1))}catch(t){o.call({_w:n,_d:!1},t)}}};B||(F=function(t){A(this,F,L,"_h"),v(t),i.call(this);try{t(d(z,this,1),d(o,this,1))}catch(t){o.call(this,t)}},(i=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=r(117)(F.prototype,{then:function(t,e){var r=O(b(this,F));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=I?T.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&a(this,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),l=function(){var t=new i;this.promise=t,this.resolve=d(z,t,1),this.reject=d(o,t,1)},_.f=O=function(t){return t===F||t===c?new l(t):s(t)}),m(m.G+m.W+m.F*!B,{Promise:F}),r(124)(F,L),r(123)(L),c=r(52)[L],m(m.S+m.F*!B,L,{reject:function(t){var e=O(this);return(0,e.reject)(t),e.promise}}),m(m.S+m.F*(u||!B),L,{resolve:function(t){return S(u&&this===c?F:this,t)}}),m(m.S+m.F*!(B&&r(86)(function(t){F.all(t).catch(n)})),L,{all:function(t){var i=this,e=O(i),s=e.resolve,l=e.reject,r=C(function(){var n=[],a=0,o=1;y(t,!1,function(t){var e=a++,r=!1;n.push(void 0),o++,i.resolve(t).then(function(t){r||(r=!0,n[e]=t,--o||s(n))},l)}),--o||s(n)});return r.e&&l(r.v),e.promise},race:function(t){var e=this,r=O(e),n=r.reject,a=C(function(){y(t,!1,function(t){e.resolve(t).then(r.resolve,n)})});return a.e&&n(a.v),r.promise}})},{114:114,115:115,117:117,123:123,124:124,127:127,136:136,148:148,152:152,33:33,37:37,47:47,52:52,54:54,62:62,68:68,70:70,81:81,86:86,89:89,95:95,96:96}],233:[function(t,e,r){var n=t(62),o=t(33),i=t(38),s=(t(70).Reflect||{}).apply,l=Function.apply;n(n.S+n.F*!t(64)(function(){s(function(){})}),"Reflect",{apply:function(t,e,r){var n=o(t),a=i(r);return s?s(n,e,a):l.call(n,e,a)}})},{33:33,38:38,62:62,64:64,70:70}],234:[function(t,e,r){var n=t(62),l=t(98),c=t(33),u=t(38),p=t(81),a=t(64),f=t(46),d=(t(70).Reflect||{}).construct,h=a(function(){function t(){}return!(d(function(){},[],t)instanceof t)}),m=!a(function(){d(function(){})});n(n.S+n.F*(h||m),"Reflect",{construct:function(t,e,r){c(t),u(e);var n=arguments.length<3?t:c(r);if(m&&!h)return d(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var a=[null];return a.push.apply(a,e),new(f.apply(t,a))}var o=n.prototype,i=l(p(o)?o:Object.prototype),s=Function.apply.call(t,i,e);return p(s)?s:i}})},{33:33,38:38,46:46,62:62,64:64,70:70,81:81,98:98}],235:[function(t,e,r){var n=t(99),a=t(62),o=t(38),i=t(143);a(a.S+a.F*t(64)(function(){Reflect.defineProperty(n.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(t,e,r){o(t),e=i(e,!0),o(r);try{return n.f(t,e,r),!0}catch(t){return!1}}})},{143:143,38:38,62:62,64:64,99:99}],236:[function(t,e,r){var n=t(62),a=t(101).f,o=t(38);n(n.S,"Reflect",{deleteProperty:function(t,e){var r=a(o(t),e);return!(r&&!r.configurable)&&delete t[e]}})},{101:101,38:38,62:62}],237:[function(t,e,r){"use strict";function n(t){this._t=o(t),this._i=0;var e,r=this._k=[];for(e in t)r.push(e)}var a=t(62),o=t(38);t(84)(n,"Object",function(){var t,e=this._k;do{if(this._i>=e.length)return{value:void 0,done:!0}}while(!((t=e[this._i++])in this._t));return{value:t,done:!1}}),a(a.S,"Reflect",{enumerate:function(t){return new n(t)}})},{38:38,62:62,84:84}],238:[function(t,e,r){var n=t(101),a=t(62),o=t(38);a(a.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return n.f(o(t),e)}})},{101:101,38:38,62:62}],239:[function(t,e,r){var n=t(62),a=t(105),o=t(38);n(n.S,"Reflect",{getPrototypeOf:function(t){return a(o(t))}})},{105:105,38:38,62:62}],240:[function(t,e,r){var s=t(101),l=t(105),c=t(71),n=t(62),u=t(81),p=t(38);n(n.S,"Reflect",{get:function t(e,r,n){var a,o,i=arguments.length<3?e:n;return p(e)===i?e[r]:(a=s.f(e,r))?c(a,"value")?a.value:void 0!==a.get?a.get.call(i):void 0:u(o=l(e))?t(o,r,i):void 0}})},{101:101,105:105,38:38,62:62,71:71,81:81}],241:[function(t,e,r){var n=t(62);n(n.S,"Reflect",{has:function(t,e){return e in t}})},{62:62}],242:[function(t,e,r){var n=t(62),a=t(38),o=Object.isExtensible;n(n.S,"Reflect",{isExtensible:function(t){return a(t),!o||o(t)}})},{38:38,62:62}],243:[function(t,e,r){var n=t(62);n(n.S,"Reflect",{ownKeys:t(111)})},{111:111,62:62}],244:[function(t,e,r){var n=t(62),a=t(38),o=Object.preventExtensions;n(n.S,"Reflect",{preventExtensions:function(t){a(t);try{return o&&o(t),!0}catch(t){return!1}}})},{38:38,62:62}],245:[function(t,e,r){var n=t(62),a=t(122);a&&n(n.S,"Reflect",{setPrototypeOf:function(t,e){a.check(t,e);try{return a.set(t,e),!0}catch(t){return!1}}})},{122:122,62:62}],246:[function(t,e,r){var c=t(99),u=t(101),p=t(105),f=t(71),n=t(62),d=t(116),h=t(38),m=t(81);n(n.S,"Reflect",{set:function t(e,r,n,a){var o,i,s=arguments.length<4?e:a,l=u.f(h(e),r);if(!l){if(m(i=p(e)))return t(i,r,n,s);l=d(0)}if(f(l,"value")){if(!1===l.writable||!m(s))return!1;if(o=u.f(s,r)){if(o.get||o.set||!1===o.writable)return!1;o.value=n,c.f(s,r,o)}else c.f(s,r,d(0,n));return!0}return void 0!==l.set&&(l.set.call(s,n),!0)}})},{101:101,105:105,116:116,38:38,62:62,71:71,81:81,99:99}],247:[function(t,e,r){var n=t(70),o=t(75),a=t(99).f,i=t(103).f,s=t(82),l=t(66),c=n.RegExp,u=c,p=c.prototype,f=/a/g,d=/a/g,h=new c(f)!==f;if(t(58)&&(!h||t(64)(function(){return d[t(152)("match")]=!1,c(f)!=f||c(d)==d||"/a/i"!=c(f,"i")}))){function m(e){e in c||a(c,e,{configurable:!0,get:function(){return u[e]},set:function(t){u[e]=t}})}c=function(t,e){var r=this instanceof c,n=s(t),a=void 0===e;return!r&&n&&t.constructor===c&&a?t:o(h?new u(n&&!a?t.source:t,e):u((n=t instanceof c)?t.source:t,n&&a?l.call(t):e),r?this:p,c)};for(var g=i(u),v=0;g.length>v;)m(g[v++]);(p.constructor=c).prototype=p,t(118)(n,"RegExp",c)}t(123)("RegExp")},{103:103,118:118,123:123,152:152,58:58,64:64,66:66,70:70,75:75,82:82,99:99}],248:[function(t,e,r){"use strict";var n=t(120);t(62)({target:"RegExp",proto:!0,forced:n!==/./.exec},{exec:n})},{120:120,62:62}],249:[function(t,e,r){t(58)&&"g"!=/./g.flags&&t(99).f(RegExp.prototype,"flags",{configurable:!0,get:t(66)})},{58:58,66:66,99:99}],250:[function(t,e,r){"use strict";var p=t(38),f=t(141),d=t(36),h=t(119);t(65)("match",1,function(n,a,c,u){return[function(t){var e=n(this),r=null==t?void 0:t[a];return void 0!==r?r.call(t,e):new RegExp(t)[a](String(e))},function(t){var e=u(c,t,this);if(e.done)return e.value;var r=p(t),n=String(this);if(!r.global)return h(r,n);for(var a,o=r.unicode,i=[],s=r.lastIndex=0;null!==(a=h(r,n));){var l=String(a[0]);""===(i[s]=l)&&(r.lastIndex=d(n,f(r.lastIndex),o)),s++}return 0===s?null:i}]})},{119:119,141:141,36:36,38:38,65:65}],251:[function(t,e,r){"use strict";var C=t(38),n=t(142),P=t(141),S=t(139),L=t(36),E=t(119),T=Math.max,k=Math.min,f=Math.floor,d=/\$([$&`']|\d\d?|<[^>]*>)/g,h=/\$([$&`']|\d\d?)/g;t(65)("replace",2,function(a,o,x,w){return[function(t,e){var r=a(this),n=null==t?void 0:t[o];return void 0!==n?n.call(t,r,e):x.call(String(r),t,e)},function(t,e){var r=w(x,t,this,e);if(r.done)return r.value;var n=C(t),a=String(this),o="function"==typeof e;o||(e=String(e));var i=n.global;if(i){var s=n.unicode;n.lastIndex=0}for(var l=[];;){var c=E(n,a);if(null===c)break;if(l.push(c),!i)break;""===String(c[0])&&(n.lastIndex=L(a,P(n.lastIndex),s))}for(var u,p="",f=0,d=0;d>>0,u=new RegExp(t.source,s+"g");(n=f.call(u,r))&&!(l<(a=u[m])&&(i.push(r.slice(l,n.index)),1=c));)u[m]===n.index&&u[m]++;return l===r[h]?!o&&u.test("")||i.push(""):i.push(r.slice(l)),i[h]>c?i.slice(0,c):i}:"0"[i](void 0,0)[h]?function(t,e){return void 0===t&&0===e?[]:g.call(this,t,e)}:g,[function(t,e){var r=a(this),n=null==t?void 0:t[o];return void 0!==n?n.call(t,r,e):A.call(String(r),t,e)},function(t,e){var r=v(A,t,this,e,A!==g);if(r.done)return r.value;var n=y(t),a=String(this),o=b(n,RegExp),i=n.unicode,s=(n.ignoreCase?"i":"")+(n.multiline?"m":"")+(n.unicode?"u":"")+(S?"y":"g"),l=new o(S?n:"^(?:"+n.source+")",s),c=void 0===e?P:e>>>0;if(0==c)return[];if(0===a.length)return null===_(l,a)?[a]:[];for(var u=0,p=0,f=[];p>10),e%1024+56320))}return r.join("")}})},{137:137,62:62}],266:[function(t,e,r){"use strict";var n=t(62),a=t(130);n(n.P+n.F*t(63)("includes"),"String",{includes:function(t,e){return!!~a(this,t,"includes").indexOf(t,1=e.length?{value:void 0,done:!0}:(t=n(e,r),this._i+=t.length,{value:t,done:!1})})},{129:129,85:85}],269:[function(t,e,r){"use strict";t(131)("link",function(e){return function(t){return e(this,"a","href",t)}})},{131:131}],270:[function(t,e,r){var n=t(62),i=t(140),s=t(141);n(n.S,"String",{raw:function(t){for(var e=i(t.raw),r=s(e.length),n=arguments.length,a=[],o=0;oa;)u(Y,e=r[a++])||e==W||e==h||n.push(e);return n}function l(t){for(var e,r=t===Z,n=M(r?q:L(t)),a=[],o=0;n.length>o;)!u(Y,e=n[o++])||r&&!u(Z,e)||a.push(Y[e]);return a}var c=t(70),u=t(71),p=t(58),f=t(62),d=t(118),h=t(94).KEY,m=t(64),g=t(126),v=t(124),A=t(147),y=t(152),b=t(151),x=t(150),w=t(61),_=t(79),C=t(38),P=t(81),S=t(142),L=t(140),E=t(143),T=t(116),k=t(98),R=t(102),F=t(101),I=t(104),O=t(99),B=t(107),N=F.f,D=O.f,M=R.f,z=c.Symbol,U=c.JSON,j=U&&U.stringify,G="prototype",W=y("_hidden"),H=y("toPrimitive"),V={}.propertyIsEnumerable,Q=g("symbol-registry"),Y=g("symbols"),q=g("op-symbols"),Z=Object[G],X="function"==typeof z&&!!I.f,K=c.QObject,J=!K||!K[G]||!K[G].findChild,$=p&&m(function(){return 7!=k(D({},"a",{get:function(){return D(this,"a",{value:7}).a}})).a})?function(t,e,r){var n=N(Z,e);n&&delete Z[e],D(t,e,r),n&&t!==Z&&D(Z,e,n)}:D,tt=X&&"symbol"==typeof z.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof z},et=function(t,e,r){return t===Z&&et(q,e,r),C(t),e=E(e,!0),C(r),u(Y,e)?(r.enumerable?(u(t,W)&&t[W][e]&&(t[W][e]=!1),r=k(r,{enumerable:T(0,!1)})):(u(t,W)||D(t,W,T(1,{})),t[W][e]=!0),$(t,e,r)):D(t,e,r)};X||(d((z=function(t){if(this instanceof z)throw TypeError("Symbol is not a constructor!");var e=A(0nt;)y(rt[nt++]);for(var at=B(y.store),ot=0;at.length>ot;)x(at[ot++]);f(f.S+f.F*!X,"Symbol",{for:function(t){return u(Q,t+="")?Q[t]:Q[t]=z(t)},keyFor:function(t){if(!tt(t))throw TypeError(t+" is not a symbol!");for(var e in Q)if(Q[e]===t)return e},useSetter:function(){J=!0},useSimple:function(){J=!1}}),f(f.S+f.F*!X,"Object",{create:function(t,e){return void 0===e?k(t):a(k(t),e)},defineProperty:et,defineProperties:a,getOwnPropertyDescriptor:i,getOwnPropertyNames:s,getOwnPropertySymbols:l});var it=m(function(){I.f(1)});f(f.S+f.F*it,"Object",{getOwnPropertySymbols:function(t){return I.f(S(t))}}),U&&f(f.S+f.F*(!X||m(function(){var t=z();return"[null]"!=j([t])||"{}"!=j({a:t})||"{}"!=j(Object(t))})),"JSON",{stringify:function(t){for(var e,r,n=[t],a=1;as;)void 0!==(r=a(n,e=o[s++]))&&p(i,e,r);return i}})},{101:101,111:111,140:140,53:53,62:62}],296:[function(t,e,r){var n=t(62),a=t(110)(!1);n(n.S,"Object",{values:function(t){return a(t)}})},{110:110,62:62}],297:[function(t,e,r){"use strict";var n=t(62),a=t(52),o=t(70),i=t(127),s=t(115);n(n.P+n.R,"Promise",{finally:function(e){var r=i(this,a.Promise||o.Promise),t="function"==typeof e;return this.then(t?function(t){return s(r,e()).then(function(){return t})}:e,t?function(t){return s(r,e()).then(function(){throw t})}:e)}})},{115:115,127:127,52:52,62:62,70:70}],298:[function(t,e,r){"use strict";var n=t(62),a=t(132),o=t(148),i=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);n(n.P+n.F*i,"String",{padEnd:function(t,e){return a(this,t,1/g,">").replace(/"/g,""").replace(/'/g,"'")}function vt(t){return"number"==typeof t&&100"+e+"":""}function _t(t){var e="solid",r="",n="",a="";if(t)switch("string"==typeof t?r=t:(t.type&&(e=t.type),t.color&&(r=t.color),t.alpha&&(n+=''),t.transparency&&(n+='')),e){case"solid":a+=""+wt(r,n)+"";break;default:a+=""}return a}function Ct(t){return t._rels.length+t._relsChart.length+t._relsMedia.length+1}function Pt(l,c,u,t){void 0===l&&(l=[]),void 0===c&&(c={});var e,p=P,f=0,d=1*B,r=0,h=[{rows:[]}];if(c.verbose&&(console.log("-- VERBOSE MODE ----------------------------------"),console.log(".. (PARAMETERS)"),console.log("presLayout.height ......... = "+u.height/B),console.log("tabOpts.h ................. = "+c.h),console.log("tabOpts.w ................. = "+c.w),console.log("tabOpts.colW .............. = "+c.colW),console.log("tabOpts.slideMargin ....... = "+(c.slideMargin||"")),console.log(".. (/PARAMETERS)")),c.slideMargin||0===c.slideMargin||(c.slideMargin=P[0]),t&&void 0!==t._margin?Array.isArray(t._margin)?p=t._margin:isNaN(Number(t._margin))||(p=[Number(t._margin),Number(t._margin),Number(t._margin),Number(t._margin)]):!c.slideMargin&&0!==c.slideMargin||(Array.isArray(c.slideMargin)?p=c.slideMargin:isNaN(c.slideMargin)||(p=[c.slideMargin,c.slideMargin,c.slideMargin,c.slideMargin])),c.verbose&&console.log("arrInchMargins ......... = "+p.toString()),(l[0]||[]).forEach(function(t){var e=(t=t||{_type:at.tablecell}).options||null;r+=Number(e&&e.colspan?e.colspan:1)}),c.verbose&&console.log("numCols ................ = "+r),!c.w&&c.colW&&(Array.isArray(c.colW)?c.colW.forEach(function(t){"number"!=typeof c.w?c.w=0+t:c.w+=t}):c.w=c.colW*r),e="number"==typeof c.w?vt(c.w):u.width-vt(("number"==typeof c.x?c.x:p[1])+p[3]),c.verbose&&console.log("emuSlideTabW (in) ...... = "+(e/B).toFixed(1)),!c.colW||!Array.isArray(c.colW))if(c.colW&&!isNaN(Number(c.colW))){var n=[];(l[0]||[]).forEach(function(){return n.push(c.colW)}),c.colW=[],n.forEach(function(t){Array.isArray(c.colW)&&c.colW.push(t)})}else{c.colW=[];for(var a=0;ae?e=At(t.options.margin[0]):c.margin&&c.margin[0]&&At(c.margin[0])>e&&(e=At(c.margin[0])),t.options.margin&&t.options.margin[2]&&At(t.options.margin[2])>r?r=At(t.options.margin[2]):c.margin&&c.margin[2]&&At(c.margin[2])>r&&(r=At(c.margin[2]))}),d=c.h&&"number"==typeof c.h?c.h:u.height-vt(p[0]+p[2])-(c.y&&"number"==typeof c.y?c.y:0),c.verbose&&console.log("emuSlideTabH (in) ...... = "+(d/B).toFixed(1)),1 "+d/B),h.push({rows:[]}),f=0,(c.addHeaderToEach||c.autoPageRepeatHeader)&&c._arrObjTabHeadRows){var e=[];i.forEach(function(t){e.push({type:at.tablecell,text:t._lines.join(""),options:t.options})}),l.unshift(e);var r=[];return c._arrObjTabHeadRows.forEach(function(t){var e=[];t.forEach(function(t){return e.push(t)}),r.push(e)}),l=O(O([],r),l),"break"}var t=h[h.length-1],n=[];a.forEach(function(t){n.push({type:at.tablecell,text:"",options:t.options})}),t.rows.push(n)}i.forEach(function(t,e){if(0o&&(o=t._lineHeight)}}),f+=o,c.verbose&&console.log("- SLIDE ["+h.length+"]: ROW ["+m+"]: one line added ... emuTabCurrH = "+(f/B).toFixed(2))};0'},contain:function(t,e){var r=t.h/t.w,n=r'},crop:function(t,e){var r=e.x,n=t.w-(e.x+e.w),a=e.y,o=t.h-(e.y+e.h);return''}};function Lt(R){var F=R._name?'':"",I=1;return R._bkgdImgRid?F+='':R.background&&R.background.color?F+=""+_t(R.background)+"":!R.bkgd&&R._name&&R._name===n&&(F+=''),F+="",F+='',F+='',F+='',R._slideObjects.forEach(function(n,t){var e,r,a=0,o=0,i=dt("75%","X",R._presLayout),s=0,l="";switch(void 0!==R._slideLayout&&void 0!==R._slideLayout._slideObjects&&n.options&&n.options.placeholder&&(r=R._slideLayout._slideObjects.filter(function(t){return t.options.placeholder===n.options.placeholder})[0]),n.options=n.options||{},void 0!==n.options.x&&(a=dt(n.options.x,"X",R._presLayout)),void 0!==n.options.y&&(o=dt(n.options.y,"Y",R._presLayout)),void 0!==n.options.w&&(i=dt(n.options.w,"X",R._presLayout)),void 0!==n.options.h&&(s=dt(n.options.h,"Y",R._presLayout)),r&&(!r.options.x&&0!==r.options.x||(a=dt(r.options.x,"X",R._presLayout)),!r.options.y&&0!==r.options.y||(o=dt(r.options.y,"Y",R._presLayout)),!r.options.w&&0!==r.options.w||(i=dt(r.options.w,"X",R._presLayout)),!r.options.h&&0!==r.options.h||(s=dt(r.options.h,"Y",R._presLayout))),n.options.flipH&&(l+=' flipH="1"'),n.options.flipV&&(l+=' flipV="1"'),n.options.rotate&&(l+=' rot="'+yt(n.options.rotate)+'"'),n._type){case at.table:var c,u=n.arrTabRows,f=n.options,p=0,d=0;u[0].forEach(function(t){c=t.options||null,p+=c&&c.colspan?Number(c.colspan):1});var h='';if(h+=' ',h+='',h+='',Array.isArray(f.colW)){h+="";for(var m=0;m'}h+=""}else{d=f.colW?f.colW:B,n.options.w&&!f.colW&&(d=Math.round(("number"==typeof n.options.w?n.options.w:1)/p)),h+="";for(var v=0;v';h+=""}u.forEach(function(o){for(var i,s,l,t=function(t){var e=o[t],r=null===(i=e.options)||void 0===i?void 0:i.colspan,n=null===(s=e.options)||void 0===s?void 0:s.rowspan;if(r&&1',t.forEach(function(t){var e,r,n=t,a={rowSpan:1<(null===(e=n.options)||void 0===e?void 0:e.rowspan)?n.options.rowspan:void 0,gridSpan:1<(null===(r=n.options)||void 0===r?void 0:r.colspan)?n.options.colspan:void 0,vMerge:n._vmerge?1:void 0,hMerge:n._hmerge?1:void 0},o=Object.keys(a).map(function(t){return[t,a[t]]}).filter(function(t){return t[0],!!t[1]}).map(function(t){return t[0]+'="'+t[1]+'"'}).join(" ");if(o=o&&" "+o,n._hmerge||n._vmerge)h+="";else{var i=n.options||{};n.options=i,["align","bold","border","color","fill","fontFace","fontSize","margin","underline","valign"].forEach(function(t){f[t]&&!i[t]&&0!==i[t]&&(i[t]=f[t])});var s=i.valign?' anchor="'+i.valign.replace(/^c$/i,"ctr").replace(/^m$/i,"ctr").replace("center","ctr").replace("middle","ctr").replace("top","t").replace("btm","b").replace("bottom","b")+'"':"",l=n._optImp&&n._optImp.fill&&n._optImp.fill.color?n._optImp.fill.color:n._optImp&&n._optImp.fill&&"string"==typeof n._optImp.fill?n._optImp.fill:"",c=(l=l||i.fill&&i.fill.color?i.fill.color:i.fill&&"string"==typeof i.fill?i.fill:"")?""+wt(l)+"":"",u=0===i.margin||i.margin?i.margin:N;Array.isArray(u)||"number"!=typeof u||(u=[u,u,u,u]);var p=' marL="'+At(u[3])+'" marR="'+At(u[1])+'" marT="'+At(u[0])+'" marB="'+At(u[2])+'"';h+=""+Rt(n)+"",i.border&&Array.isArray(i.border)&&[{idx:3,name:"lnL"},{idx:1,name:"lnR"},{idx:0,name:"lnT"},{idx:2,name:"lnB"}].forEach(function(t){"none"!==i.border[t.idx].type?(h+="',h+=""+wt(i.border[t.idx].color)+"",h+='',h+=""):h+=""}),h+=c,h+=" ",h+=" "}}),h+=""}),h+=" ",h+=" ",h+=" ",F+=h+="",I++;break;case at.text:case at.placeholder:var A=n.options.shapeName?gt(n.options.shapeName):"Object"+(t+1);if(n.options.line||0!==s||(s=.3*B),n.options._bodyProp||(n.options._bodyProp={}),n.options.margin&&Array.isArray(n.options.margin)?(n.options._bodyProp.lIns=At(n.options.margin[0]||0),n.options._bodyProp.rIns=At(n.options.margin[1]||0),n.options._bodyProp.bIns=At(n.options.margin[2]||0),n.options._bodyProp.tIns=At(n.options.margin[3]||0)):"number"==typeof n.options.margin&&(n.options._bodyProp.lIns=At(n.options.margin),n.options._bodyProp.rIns=At(n.options.margin),n.options._bodyProp.bIns=At(n.options.margin),n.options._bodyProp.tIns=At(n.options.margin)),F+="",F+='',n.options.hyperlink&&n.options.hyperlink.url&&(F+=''),n.options.hyperlink&&n.options.hyperlink.slide&&(F+=''),F+="",F+="':"/>"),F+=""+("placeholder"===n._type?Ft(n):Ft(r))+"",F+="",F+="",F+='',F+='',"custGeom"===n.shape)F+="",F+="",F+="",F+="",F+="",F+="",F+='',F+="",F+='',null===(e=n.options.points)||void 0===e||e.map(function(t,e){if("curve"in t)switch(t.curve.type){case"arc":F+='';break;case"cubic":F+='\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t';break;case"quadratic":F+='\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t'}else"close"in t?F+="":t.moveTo||0===e?F+='':F+=''}),F+="",F+="",F+="";else{if(F+='',n.options.rectRadius)F+='';else if(n.options.angleRange){for(var y=0;y<2;y++){var b=n.options.angleRange[y];F+=''}n.options.arcThicknessRatio&&(F+='')}F+=""}F+=n.options.fill?_t(n.options.fill):"",n.options.line&&(F+=n.options.line.width?'':"",n.options.line.color&&(F+=_t(n.options.line)),n.options.line.dashType&&(F+=''),n.options.line.beginArrowType&&(F+=''),n.options.line.endArrowType&&(F+=''),F+=""),n.options.shadow&&(n.options.shadow.type=n.options.shadow.type||"outer",n.options.shadow.blur=At(n.options.shadow.blur||8),n.options.shadow.offset=At(n.options.shadow.offset||4),n.options.shadow.angle=Math.round(6e4*(n.options.shadow.angle||270)),n.options.shadow.opacity=Math.round(1e5*(n.options.shadow.opacity||.75)),n.options.shadow.color=n.options.shadow.color||D.color,F+="",F+="',F+='',F+='',F+="",F+=""),F+="",F+=Rt(n),F+="";break;case at.image:var x=n.options,w=x.sizing,_=x.rounding,C=i,P=s;if(F+="",F+=" ",F+='',n.hyperlink&&n.hyperlink.url&&(F+=''),n.hyperlink&&n.hyperlink.slide&&(F+=''),F+=" ",F+=' ',F+=" "+Ft(r)+"",F+=" ",F+="",(R._relsMedia||[]).filter(function(t){return t.rId===n.imageRid})[0]&&"svg"===(R._relsMedia||[]).filter(function(t){return t.rId===n.imageRid})[0].extn?(F+='',F+=" ",F+=' ',F+=' ',F+=" ",F+=" ",F+=""):F+='',w&&w.type){var S=w.w?dt(w.w,"X",R._presLayout):i,L=w.h?dt(w.h,"Y",R._presLayout):s,E=dt(w.x||0,"X",R._presLayout),T=dt(w.y||0,"Y",R._presLayout);F+=St[w.type]({w:C,h:P},{w:S,h:L,x:E,y:T}),C=S,P=L}else F+=" ";F+="",F+="",F+=" ",F+=' ',F+=' ',F+=" ",F+=' ',F+="",F+="";break;case at.media:"online"===n.mtype?(F+="",F+=" ",F+=' ',F+=" ",F+=" ",F+=' ',F+=" ",F+=" ",F+=' '):(F+="",F+=" ",F+=' ',F+=' ',F+=" ",F+=' ',F+=" ",F+=' ',F+=' ',F+=" ",F+=" ",F+=" ",F+=" ",F+=' '),F+=" ",F+=" ",F+=' ',F+=' ',F+=" ",F+=' ',F+=" ",F+="";break;case at.chart:var k=n.options;F+="",F+=" ",F+=' ',F+=" ",F+=" "+Ft(r)+"",F+=" ",F+=' ',F+=' ',F+=' ',F+=' ',F+=" ",F+=" ",F+="";break;default:F+=""}}),R._slideNumberProps&&(R._slideNumberProps.align||(R._slideNumberProps.align="left"),F+=' ',F+="",F+="',R._slideNumberProps.color&&(F+=_t(R._slideNumberProps.color)),R._slideNumberProps.fontFace&&(F+=''),F+=""),F+="",F+='',R._slideNumberProps.align.startsWith("l")?F+='':R._slideNumberProps.align.startsWith("c")?F+='':R._slideNumberProps.align.startsWith("r")?F+='':F+='',F+='',F+=""),F+="",F+=""}function Et(t,e){var r=0,n=''+v+'';return t._rels.forEach(function(t){r=Math.max(r,t.rId),-1':n+='':-1')}),(t._relsChart||[]).forEach(function(t){r=Math.max(r,t.rId),n+=''}),(t._relsMedia||[]).forEach(function(t){r=Math.max(r,t.rId),-1':-1':n+='':-1':n+='':-1':n+='')}),e.forEach(function(t,e){n+=''}),n+=""}function Tt(t,e){var r="",n="",a="",o="",i=e?"a:lvl1pPr":"a:pPr",s=At(u),l="<"+i+(t.options.rtlMode?' rtl="1" ':"");if(t.options.align)switch(t.options.align){case"left":l+=' algn="l"';break;case"right":l+=' algn="r"';break;case"center":l+=' algn="ctr"';break;case"justify":l+=' algn="just"';break;default:l+=""}if(t.options.lineSpacing?n='':t.options.lineSpacingMultiple&&(n=''),t.options.indentLevel&&!isNaN(Number(t.options.indentLevel))&&0'),t.options.paraSpaceAfter&&!isNaN(Number(t.options.paraSpaceAfter))&&0'),"object"==typeof t.options.bullet)if(t&&t.options&&t.options.bullet&&t.options.bullet.indent&&(s=At(t.options.bullet.indent)),t.options.bullet.type)"number"===t.options.bullet.type.toString().toLowerCase()&&(l+=' marL="'+(t.options.indentLevel&&0');else if(t.options.bullet.characterCode){var c="&#x"+t.options.bullet.characterCode+";";!1===/^[0-9A-Fa-f]{4}$/.test(t.options.bullet.characterCode)&&(console.warn("Warning: `bullet.characterCode should be a 4-digit unicode charatcer (ex: 22AB)`!"),c=lt.DEFAULT),l+=' marL="'+(t.options.indentLevel&&0'}else if(t.options.bullet.code){c="&#x"+t.options.bullet.code+";";!1===/^[0-9A-Fa-f]{4}$/.test(t.options.bullet.code)&&(console.warn("Warning: `bullet.code should be a 4-digit hex code (ex: 22AB)`!"),c=lt.DEFAULT),l+=' marL="'+(t.options.indentLevel&&0'}else l+=' marL="'+(t.options.indentLevel&&0';else!0===t.options.bullet?(l+=' marL="'+(t.options.indentLevel&&0'):!1===t.options.bullet&&(l+=' indent="0" marL="0"',r="");t.options.tabStops&&Array.isArray(t.options.tabStops)&&(o=""+t.options.tabStops.map(function(t){return''}).join("")+"");return l+=">"+n+a+r+o,e&&(l+=kt(t.options,!0)),l+=""}function kt(t,e){var r,n="",a=e?"a:defRPr":"a:rPr";if(n+="<"+a+' lang="'+(t.lang?t.lang:"en-US")+'"'+(t.lang?' altLang="en-US"':""),n+=t.fontSize?' sz="'+Math.round(t.fontSize)+'00"':"",n+=t.hasOwnProperty("bold")?' b="'+(t.bold?1:0)+'"':"",n+=t.hasOwnProperty("italic")?' i="'+(t.italic?1:0)+'"':"",n+=t.hasOwnProperty("strike")?' strike="'+("string"==typeof t.strike?t.strike:"sngStrike")+'"':"","object"==typeof t.underline&&(null===(r=t.underline)||void 0===r?void 0:r.style)?n+=' u="'+t.underline.style+'"':"string"==typeof t.underline?n+=' u="'+t.underline+'"':t.hyperlink&&(n+=' u="sng"'),t.baseline?n+=' baseline="'+Math.round(50*t.baseline)+'"':t.subscript?n+=' baseline="-40000"':t.superscript&&(n+=' baseline="30000"'),n+=t.charSpacing?' spc="'+Math.round(100*t.charSpacing)+'" kern="0"':"",n+=' dirty="0">',(t.color||t.fontFace||t.outline||"object"==typeof t.underline&&t.underline.color)&&(t.outline&&"object"==typeof t.outline&&(n+=''+_t(t.outline.color||"FFFFFF")+""),t.color&&(n+=_t(t.color)),t.highlight&&(n+=""+wt(t.highlight)+""),"object"==typeof t.underline&&t.underline.color&&(n+=""+_t(t.underline.color)+""),t.glow&&(n+=""+function(t,e){var r="",n=mt(e,t);return r+='',r+=wt(n.color,''),r+=""}(t.glow,S)+""),t.fontFace&&(n+='')),t.hyperlink){if("object"!=typeof t.hyperlink)throw new Error("ERROR: text `hyperlink` option should be an object. Ex: `hyperlink:{url:'https://github.com'}` ");if(!t.hyperlink.url&&!t.hyperlink.slide)throw new Error("ERROR: 'hyperlink requires either `url` or `slide`'");t.hyperlink.url?n+='":"/>"):t.hyperlink.slide&&(n+='":"/>")),t.color&&(n+="\t",n+='\t\t',n+='\t\t\t',n+="\t\t",n+="\t",n+="")}return n+=""}function Rt(n){var a=n.options||{},t=[],r=[];if(a&&n._type!==at.tablecell&&(void 0===n.text||null===n.text))return"";var o=n._type===at.tablecell?"":"";o+=function(t){var e="":"resize"===t.options.fit&&(e+="")),t.options.shrinkText&&(e+=""),e+=!1!==t.options._bodyProp.autoFit?"":""):e+=' wrap="square" rtlCol="0">',e+="",t._type===at.tablecell?"":e}(n),0===a.h&&a.line&&a.align?o+='':"placeholder"===n._type?o+=""+Tt(n,!0)+"":o+="","string"==typeof n.text||"number"==typeof n.text?t.push({text:n.text.toString(),options:a||{}}):n.text&&!Array.isArray(n.text)&&"object"==typeof n.text&&-1";var r=""),n.options.align=n.options.align||a.align,n.options.lineSpacing=n.options.lineSpacing||a.lineSpacing,n.options.lineSpacingMultiple=n.options.lineSpacingMultiple||a.lineSpacingMultiple,n.options.indentLevel=n.options.indentLevel||a.indentLevel,n.options.paraSpaceBefore=n.options.paraSpaceBefore||a.paraSpaceBefore,n.options.paraSpaceAfter=n.options.paraSpaceAfter||a.paraSpaceAfter,r=Tt(n,!1),o+=r,Object.entries(a).forEach(function(t){var e=t[0],r=t[1];n.options.hyperlink&&"color"===e||"bullet"===e||n.options[e]||(n.options[e]=r)}),o+=function(t){return t.text?""+kt(t.options,!1)+""+gt(t.text)+"":""}(n),(!n.text&&a.fontSize||n.options.fontSize)&&(e=!0,a.fontSize=a.fontSize||n.options.fontSize)}),n._type===at.tablecell&&(a.fontSize||a.fontFace)?a.fontFace?(o+='',o+='',o+='',o+='',o+=""):o+='':o+=e?'':'',o+=""}),o+=n._type===at.tablecell?"":""}function Ft(t){if(!t)return"";var e=t.options&&t.options._placeholderIdx?t.options._placeholderIdx:"",r=t.options&&t.options._placeholderType?t.options._placeholderType:"";return""}function It(t){return''+v+''+gt(function(t){var e="";return t._slideObjects.forEach(function(t){t._type===at.notes&&(e+=t.text&&t.text[0]?t.text[0].text:"")}),e.replace(/\r*\n/g,v)}(t))+''+t._slideNum+''}function Ot(t){t&&"object"==typeof t&&("outer"!==t.type&&"inner"!==t.type&&"none"!==t.type&&(console.warn("Warning: shadow.type options are `outer`, `inner` or `none`."),t.type="outer"),t.angle&&((isNaN(Number(t.angle))||t.angle<0||359 \n'),t.file("_rels/.rels",'\n'),t.file("docProps/app.xml",'Microsoft Excel0falseWorksheets1Sheet1\n'),t.file("docProps/core.xml",'PptxGenJSEly, Brent'+(new Date).toISOString()+''+(new Date).toISOString()+"\n"),t.file("xl/_rels/workbook.xml.rels",'\n'),t.file("xl/styles.xml",'\n'),t.file("xl/theme/theme1.xml",''),t.file("xl/workbook.xml",'\n'),t.file("xl/worksheets/_rels/sheet1.xml.rels",'\n');var n='';u.opts._type===J.BUBBLE?n+='':u.opts._type===J.SCATTER?n+='':(n+='',n+=''),u.opts._type===J.BUBBLE?f.forEach(function(t,e){0===e?n+="X-Axis":(n+=""+gt(t.name||" ")+"",n+=""+gt("Size "+e)+"")}):f.forEach(function(t){n+=""+gt((t.name||" ").replace("X-Axis","X-Values"))+""}),u.opts._type!==J.BUBBLE&&u.opts._type!==J.SCATTER&&f[0].labels.forEach(function(t){n+=""+gt(t)+""}),n+="\n",t.file("xl/sharedStrings.xml",n);var o='';u.opts._type===J.BUBBLE||(u.opts._type===J.SCATTER?(o+='',o+='',f.forEach(function(t,e){o+=''})):(o+='
',o+='',o+='',f.forEach(function(t,e){o+=''}))),o+="",o+='',o+="
",t.file("xl/tables/table1.xml",o);var i='';if(i+='',u.opts._type===J.BUBBLE?i+='':u.opts._type===J.SCATTER?i+='':i+='',i+='',i+='',u.opts._type===J.BUBBLE){i+="",i+='',i+="",i+="",i+='',i+='0';for(var s=1;s',i+=""+s+"",i+="";i+="",f[0].values.forEach(function(t,e){i+='',i+=''+t+"";for(var r=1,n=1;n',i+=""+(f[n].values[e]||"")+"",i+="",i+='',i+=""+(f[n].sizes[e]||"")+"",i+="",r++;i+=""})}else if(u.opts._type===J.SCATTER){i+="",i+='',i+="",i+="",i+='',i+='0';for(var l=1;l',i+=""+l+"",i+="";i+="",f[0].values.forEach(function(t,e){i+='',i+=''+t+"";for(var r=1;r',i+=""+(f[r].values[e]||0===f[r].values[e]?f[r].values[e]:"")+"",i+="";i+=""})}else{i+="",i+='',i+="",i+="",i+='',i+='0';for(var c=1;c<=f.length;c++)i+='',i+=""+c+"",i+="";i+="",f[0].labels.forEach(function(t,e){i+='',i+='',i+=""+(f.length+e+1)+"",i+="";for(var r=0;r',i+=""+(f[r].values[e]||"")+"",i+="";i+=""})}i+="",i+='',i+="\n",t.file("xl/worksheets/sheet1.xml",i),t.generateAsync({type:"base64"}).then(function(t){p.file("ppt/embeddings/Microsoft_Excel_Worksheet"+u.globalId+".xlsx",t,{base64:!0}),p.file("ppt/charts/_rels/"+u.fileName+".rels",''),p.file("ppt/charts/"+u.fileName,function(a){var o='',i=!1;o+='',o+='',o+="",a.opts.showTitle?(o+=qt({title:a.opts.title||"Chart Title",color:a.opts.titleColor,fontFace:a.opts.titleFontFace,fontSize:a.opts.titleFontSize||w,titleAlign:a.opts.titleAlign,titleBold:a.opts.titleBold,titlePos:a.opts.titlePos,titleRotate:a.opts.titleRotate}),o+=''):o+='';a.opts._type===J.BAR3D&&(o+="",o+=' ',o+=' ',o+=' ',o+=' ',o+="");o+="",a.opts.layout?(o+="",o+=" ",o+=' ',o+=' ',o+=' ',o+=' ',o+=' ',o+=' ',o+=' ',o+=" ",o+=""):o+="";Array.isArray(a.opts._type)?a.opts._type.forEach(function(t){var e=mt(a.opts,t.options),r=e.secondaryValAxis?E:L,n=e.secondaryCatAxis?k:T;i=i||e.secondaryValAxis,o+=Vt(t.type,t.data,e,r,n)}):o+=Vt(a.opts._type,a.data,a.opts,L,T);if(a.opts._type!==J.PIE&&a.opts._type!==J.DOUGHNUT){if(a.opts.valAxes&&1',n+=' ',n+=' ',n+=' ',n+="none"!==e.serGridLine.style?Kt(e.serGridLine):"",e.showSerAxisTitle&&(n+=qt({color:e.serAxisTitleColor,fontFace:e.serAxisTitleFontFace,fontSize:e.serAxisTitleFontSize,titleRotate:e.serAxisTitleRotate,title:e.serAxisTitle||"Axis Title"}));n+=' ',n+=' ',n+=' ',n+=' ',n+=" ",n+=' ',n+=!1===e.serAxisLineShow?"":""+wt(e.serAxisLineColor||y.color)+"",n+=' ',n+=" ",n+=" ",n+=" ",n+=" ",n+=" ",n+=" ",n+=" ",n+=" ",n+=' ',n+=" "+wt(e.serAxisLabelColor||b)+"",n+=' ',n+=" ",n+=" ",n+=' ',n+=" ",n+=" ",n+=' ',n+=' ',e.serAxisLabelFrequency&&(n+=' ');e.serLabelFormatCode&&(["serAxisBaseTimeUnit","serAxisMajorTimeUnit","serAxisMinorTimeUnit"].forEach(function(t){!e[t]||"string"==typeof e[t]&&-1!==["days","months","years"].indexOf(t.toLowerCase())||(console.warn("`"+t+"` must be one of: 'days','months','years' !"),e[t]=null)}),e.serAxisBaseTimeUnit&&(n+=' '),e.serAxisMajorTimeUnit&&(n+=' '),e.serAxisMinorTimeUnit&&(n+=' '),e.serAxisMajorUnit&&(n+=' '),e.serAxisMinorUnit&&(n+=' '));return n+=""}(a.opts,R,L)))}a.opts.showDataTable&&(o+="",o+=' ',o+=' ',o+=' ',o+=' ',o+=" ",o+=" ",o+=' ',o+=" ",o+=" ",o+=" ",o+='\t ',o+="\t ",o+="\t ",o+='\t\t',o+=' ',o+='\t\t\t',o+='\t\t\t',o+='\t\t\t',o+='\t\t\t',o+="\t\t ",o+="\t\t",o+='\t\t',o+="\t ",o+="\t",o+="");o+=" ",o+=a.opts.fill?_t(a.opts.fill):"",o+=a.opts.border?''+_t(a.opts.border.color)+"":"",o+=" ",o+=" ",o+="",a.opts.showLegend&&(o+="",o+='',o+='',(a.opts.legendFontFace||a.opts.legendFontSize||a.opts.legendColor)&&(o+="",o+=" ",o+=" ",o+=" ",o+=" ",o+=a.opts.legendFontSize?'':"",a.opts.legendColor&&(o+=_t(a.opts.legendColor)),a.opts.legendFontFace&&(o+=''),a.opts.legendFontFace&&(o+=''),o+=" ",o+=" ",o+=' ',o+=" ",o+=""),o+="");o+=' ',o+=' ',a.opts._type===J.SCATTER&&(o+='');return o+="",o+="",o+=" ",o+=' ',o+=" ",o+="",o+='',o+=""}(u)),e(null)}).catch(function(t){r(t)})})}function Vt(n,a,o,t,e){var i="";switch(n){case J.AREA:case J.BAR:case J.BAR3D:case J.LINE:case J.RADAR:i+="",n===J.AREA&&"stacked"===o.barGrouping&&(i+=''),n!==J.BAR&&n!==J.BAR3D||(i+='',i+=''),n===J.RADAR&&(i+=''),i+='';var s=-1;a.forEach(function(t){s++;var e=t.index;i+="",i+=' ',i+=' ',i+=" ",i+=" ",i+=" Sheet1!$"+Zt(e+1)+"$1",i+=' '+gt(t.name)+"",i+=" ",i+=" ",i+=' ';var r=o.chartColors?o.chartColors[s%o.chartColors.length]:null;i+=" ","transparent"===r?i+="":o.chartColorsOpacity?i+=""+wt(r,'')+"":i+=""+wt(r)+"",n===J.LINE?0===o.lineSize?i+="":(i+=''+wt(r)+"",i+=''):o.dataBorder&&(i+=''+wt(o.dataBorder.color)+''),i+=Xt(o.shadow,C),i+=" ",n!==J.RADAR&&(i+=" ",i+=' ',o.dataLabelBkgrdColors&&(i+=" ",i+=" "+wt(r)+"",i+=" "),i+=" ",i+=" ",i+=" ",i+=" ",i+=' ',i+=" "+wt(o.dataLabelColor||b)+"",i+=' ',i+=" ",i+=" ",i+=" ",o.dataLabelPosition&&(i+=' '),i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=" "),n!==J.LINE&&n!==J.RADAR||(i+="",i+=' ',o.lineDataSymbolSize&&(i+=' '),i+=" ",i+=" "+wt(o.chartColors[e+1>o.chartColors.length?Math.floor(Math.random()*o.chartColors.length):e])+"",i+=' '+wt(o.lineDataSymbolLineColor||r)+'',i+=" ",i+=" ",i+=""),(n===J.BAR||n===J.BAR3D)&&1===a.length&&o.chartColors!==I&&1",i+=' ',i+=' ',i+=' ',i+=" ",0===o.lineSize?i+="":n===J.BAR?(i+="",i+=' ',i+=""):(i+="",i+=" ",i+=' ',i+=" ",i+=""),i+=Xt(o.shadow,C),i+=" ",i+=" "}),i+="",o.catLabelFormatCode?(i+=" ",i+=" Sheet1!$A$2:$A$"+(t.labels.length+1)+"",i+=" ",i+=" "+(o.catLabelFormatCode||"General")+"",i+=' ',t.labels.forEach(function(t,e){i+=''+gt(t)+""}),i+=" ",i+=" "):(i+=" ",i+=" Sheet1!$A$2:$A$"+(t.labels.length+1)+"",i+=" ",i+='\t ',t.labels.forEach(function(t,e){i+=''+gt(t)+""}),i+=" ",i+=" "),i+="",i+="",i+=" ",i+=" Sheet1!$"+Zt(e+1)+"$2:$"+Zt(e+1)+"$"+(t.labels.length+1)+"",i+=" ",i+=" "+(o.valLabelFormatCode||o.dataTableFormatCode||"General")+"",i+=' ',t.values.forEach(function(t,e){i+=''+(t||0===t?t:"")+""}),i+=" ",i+=" ",i+="",n===J.LINE&&(i+=''),i+=""}),i+=" ",i+=' ',i+=" ",i+=" ",i+=" ",i+=" ",i+=' ',i+=" "+wt(o.dataLabelColor||b)+"",i+=' ',i+=" ",i+=" ",i+=" ",o.dataLabelPosition&&(i+=' '),i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=" ",n===J.BAR?(i+=' ',i+=' '):n===J.BAR3D?(i+=' ',i+=' ',i+=' '):n===J.LINE&&(i+=' '),i+=' ',i+=' ',i+=' ',i+="";break;case J.SCATTER:i+="",i+='',i+='',s=-1,a.filter(function(t,e){return 0",i+=' ',i+=' ',i+=" ",i+=" ",i+=" Sheet1!$"+F[t+1]+"$1",i+=' '+r.name+"",i+=" ",i+=" ",i+=" ";var e=o.chartColors[s%o.chartColors.length];if("transparent"===e?i+="":o.chartColorsOpacity?i+=""+wt(e,'')+"":i+=""+wt(e)+"",0===o.lineSize?i+="":(i+=''+wt(e)+"",i+=''),i+=Xt(o.shadow,C),i+=" ",i+="",i+=' ',o.lineDataSymbolSize&&(i+=' '),i+=" ",i+=" "+wt(o.chartColors[t+1>o.chartColors.length?Math.floor(Math.random()*o.chartColors.length):t])+"",i+=' '+wt(o.lineDataSymbolLineColor||o.chartColors[s%o.chartColors.length])+'',i+=" ",i+=" ",i+="",o.showLabel){var n=ht("-xxxx-xxxx-xxxx-xxxxxxxxxxxx");!r.labels||"custom"!==o.dataLabelFormatScatter&&"customXY"!==o.dataLabelFormatScatter||(i+="",r.labels.forEach(function(t,e){"custom"!==o.dataLabelFormatScatter&&"customXY"!==o.dataLabelFormatScatter||(i+=" ",i+=' ',i+=" ",i+=" ",i+="\t\t\t",i+="\t\t\t\t",i+="\t\t\t",i+=" \t",i+=" \t",i+="\t\t\t\t",i+="\t\t\t\t\t",i+="\t\t\t\t",i+=" \t",i+=' \t\t',i+=" \t\t"+gt(t)+"",i+=" \t","customXY"!==o.dataLabelFormatScatter||/^ *$/.test(t)||(i+=" \t",i+=' \t\t',i+=" \t\t (",i+=" \t",i+=' \t',i+=' \t\t',i+=" \t\t",i+=" \t\t\t",i+=" \t\t",i+=" \t\t["+gt(r.name)+"",i+=" \t",i+=" \t",i+=' \t\t',i+=" \t\t, ",i+=" \t",i+=' \t',i+=' \t\t',i+=" \t\t",i+=" \t\t\t",i+=" \t\t",i+=" \t\t["+gt(r.name)+"]",i+=" \t",i+=" \t",i+=' \t\t',i+=" \t\t)",i+=" \t",i+=' \t'),i+=" \t",i+=" ",i+=" ",i+=" ",i+=" \t",i+=" \t",i+=" \t\t",i+=" \t",i+=" \t",i+=" ",o.dataLabelPosition&&(i+=' '),i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+='\t ',i+=" ",i+=' ',i+=' ',i+='\t\t\t',i+=" ",i+="\t\t",i+="")}),i+=""),"XY"===o.dataLabelFormatScatter&&(i+="",i+="\t",i+="\t\t",i+="\t\t",i+="\t\t\t",i+="\t\t",i+="\t \t",i+="\t",i+="\t",i+="\t\t",i+="\t\t\t",i+="\t\t",i+="\t\t",i+="\t\t",i+="\t \t",i+=" \t\t",i+="\t \t",i+='\t \t',i+="\t\t",i+="\t",o.dataLabelPosition&&(i+=' '),i+='\t',i+=' ',i+=' ',i+='\t',i+='\t',i+='\t',i+="\t",i+='\t\t',i+='\t\t\t',i+="\t\t",i+="\t",i+="")}1===a.length&&o.chartColors!==I&&r.values.forEach(function(t,e){var r=t<0?o.invertedColors||o.chartColors||I:o.chartColors||[];i+=" ",i+=' ',i+=' ',i+=' ',i+=" ",0===o.lineSize?i+="":(i+="",i+=' ',i+=""),i+=Xt(o.shadow,C),i+=" ",i+=" "}),i+="",i+=" ",i+=" Sheet1!$A$2:$A$"+(a[0].values.length+1)+"",i+=" ",i+=" General",i+=' ',a[0].values.forEach(function(t,e){i+=''+(t||0===t?t:"")+""}),i+=" ",i+=" ",i+="",i+="",i+=" ",i+=" Sheet1!$"+Zt(t+1)+"$2:$"+Zt(t+1)+"$"+(a[0].values.length+1)+"",i+=" ",i+=" General",i+=' ',a[0].values.forEach(function(t,e){i+=''+(r.values[e]||0===r.values[e]?r.values[e]:"")+""}),i+=" ",i+=" ",i+="",i+='',i+=""}),i+=" ",i+=' ',i+=" ",i+=" ",i+=" ",i+=" ",i+=' ',i+=" "+wt(o.dataLabelColor||b)+"",i+=' ',i+=" ",i+=" ",i+=" ",o.dataLabelPosition&&(i+=' '),i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=" ",i+=' ',i+=' ',i+="";break;case J.BUBBLE:i+="",i+='',s=-1;var l=1;a.filter(function(t,e){return 0",i+=' ',i+=' ',i+=" ",i+=" ",i+=" Sheet1!$"+F[l]+"$1",i+=' '+r.name+"",i+=" ",i+=" ",i+="";var e=o.chartColors[s%o.chartColors.length];"transparent"===e?i+="":o.chartColorsOpacity?i+=""+wt(e,'')+"":i+=""+wt(e)+"",0===o.lineSize?i+="":o.dataBorder?i+=''+wt(o.dataBorder.color)+'':(i+=''+wt(e)+"",i+=''),i+=Xt(o.shadow,C),i+="",i+="",i+=" ",i+=" Sheet1!$A$2:$A$"+(a[0].values.length+1)+"",i+=" ",i+=" General",i+=' ',a[0].values.forEach(function(t,e){i+=''+(t||0===t?t:"")+""}),i+=" ",i+=" ",i+="",i+="",i+=" ",i+=" Sheet1!$"+Zt(l)+"$2:$"+Zt(l)+"$"+(a[0].values.length+1)+"",l++,i+=" ",i+=" General",i+=' ',a[0].values.forEach(function(t,e){i+=''+(r.values[e]||0===r.values[e]?r.values[e]:"")+""}),i+=" ",i+=" ",i+="",i+=" ",i+=" ",i+=" Sheet1!$"+Zt(l)+"$2:$"+Zt(t+2)+"$"+(r.sizes.length+1)+"",l++,i+=" ",i+=" General",i+='\t ',r.sizes.forEach(function(t,e){i+=''+(t||"")+""}),i+=" ",i+=" ",i+=" ",i+=' ',i+=""}),i+=" ",i+=' ',i+=" ",i+=" ",i+=" ",i+=" ",i+=' ',i+=" "+wt(o.dataLabelColor||b)+"",i+=' ',i+=" ",i+=" ",i+=" ",o.dataLabelPosition&&(i+=' '),i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=" ",i+=' ',i+=' ',i+="";break;case J.DOUGHNUT:case J.PIE:var r=a[0];i+="",i+=' ',i+="",i+=' ',i+=' ',i+=" ",i+=" ",i+=" Sheet1!$B$1",i+=" ",i+=' ',i+=' '+gt(r.name)+"",i+=" ",i+=" ",i+=" ",i+=" ",i+=' ',i+=' ',o.dataNoEffects?i+="":i+=Xt(o.shadow,C),i+=" ",r.labels.forEach(function(t,e){i+="",i+=' ',i+=' ',i+=" ",i+=""+wt(o.chartColors[e+1>o.chartColors.length?Math.floor(Math.random()*o.chartColors.length):e])+"",o.dataBorder&&(i+=''+wt(o.dataBorder.color)+''),i+=Xt(o.shadow,C),i+=" ",i+=""}),i+="",r.labels.forEach(function(t,e){i+="",i+=' ',i+=' ',i+=" ",i+=" ",i+=" ",i+=' ',i+=" "+wt(o.dataLabelColor||b)+"",i+=' ',i+=" ",i+=" ",i+=" ",n===J.PIE&&o.dataLabelPosition&&(i+=' '),i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=" "}),i+=' ',i+="\t",i+="\t ",i+="\t ",i+="\t ",i+="\t\t",i+='\t\t ',i+='\t\t\t',i+="\t\t ",i+="\t\t",i+="\t ",i+="\t",i+=n===J.PIE?'':"",i+='\t',i+='\t',i+='\t',i+='\t',i+='\t',i+='\t',i+=' ',i+="",i+="",i+=" ",i+=" Sheet1!$A$2:$A$"+(r.labels.length+1)+"",i+=" ",i+='\t ',r.labels.forEach(function(t,e){i+=''+gt(t)+""}),i+=" ",i+=" ",i+="",i+=" ",i+=" ",i+=" Sheet1!$B$2:$B$"+(r.labels.length+1)+"",i+=" ",i+='\t ',r.values.forEach(function(t,e){i+=''+(t||0===t?t:"")+""}),i+=" ",i+=" ",i+=" ",i+=" ",i+=' ',n===J.DOUGHNUT&&(i+=' '),i+="";break;default:i+=""}return i}function Qt(e,t,r){var n="";return e._type===J.SCATTER||e._type===J.BUBBLE?n+="":n+="",n+=' ',n+=" ",n+='',!e.catAxisMaxVal&&0!==e.catAxisMaxVal||(n+=''),!e.catAxisMinVal&&0!==e.catAxisMinVal||(n+=''),n+="",n+=' ',n+=' ',n+="none"!==e.catGridLine.style?Kt(e.catGridLine):"",e.showCatAxisTitle&&(n+=qt({color:e.catAxisTitleColor,fontFace:e.catAxisTitleFontFace,fontSize:e.catAxisTitleFontSize,titleRotate:e.catAxisTitleRotate,title:e.catAxisTitle||"Axis Title"})),e._type===J.SCATTER||e._type===J.BUBBLE?n+=' ':n+=' ',e._type===J.SCATTER?(n+=' ',n+=' ',n+=' '):(n+=' ',n+=' ',n+=' '),n+=" ",n+=' ',n+=!1===e.catAxisLineShow?"":""+wt(e.catAxisLineColor||y.color)+"",n+=' ',n+=" ",n+=" ",n+=" ",n+=" ",n+=" ",n+=" ",n+=" ",n+=" ",n+=' ',n+=" "+wt(e.catAxisLabelColor||b)+"",n+=' ',n+=" ",n+=" ",n+=' ',n+=" ",n+=" ",n+=' ',n+=" ',n+=' ',n+=' ',n+=' ',e.catAxisLabelFrequency&&(n+=' '),!e.catLabelFormatCode&&e._type!==J.SCATTER&&e._type!==J.BUBBLE||(e.catLabelFormatCode&&(["catAxisBaseTimeUnit","catAxisMajorTimeUnit","catAxisMinorTimeUnit"].forEach(function(t){!e[t]||"string"==typeof e[t]&&-1!==["days","months","years"].indexOf(e[t].toLowerCase())||(console.warn("`"+t+"` must be one of: 'days','months','years' !"),e[t]=null)}),e.catAxisBaseTimeUnit&&(n+=''),e.catAxisMajorTimeUnit&&(n+=''),e.catAxisMinorTimeUnit&&(n+='')),e.catAxisMajorUnit&&(n+=''),e.catAxisMinorUnit&&(n+='')),e._type===J.SCATTER||e._type===J.BUBBLE?n+="":n+="",n}function Yt(t,e){var r=e===L?"col"===t.barDir?"l":"b":"col"!==t.barDir?"r":"t",n="",a="r"==r||"t"==r?"max":"autoZero",o=e===L?T:k;return n+="",n+=' ',n+=" ",t.valAxisLogScaleBase&&(n+=' '),n+=' ',!t.valAxisMaxVal&&0!==t.valAxisMaxVal||(n+=''),!t.valAxisMinVal&&0!==t.valAxisMinVal||(n+=''),n+=" ",n+=' ',n+=' ',"none"!==t.valGridLine.style&&(n+=Kt(t.valGridLine)),t.showValAxisTitle&&(n+=qt({color:t.valAxisTitleColor,fontFace:t.valAxisTitleFontFace,fontSize:t.valAxisTitleFontSize,titleRotate:t.valAxisTitleRotate,title:t.valAxisTitle||"Axis Title"})),n+="',t._type===J.SCATTER?(n+=' ',n+=' ',n+=' '):(n+=' ',n+=' ',n+=' '),n+=" ",n+=' ',n+=!1===t.valAxisLineShow?"":""+wt(t.valAxisLineColor||y.color)+"",n+=' ',n+=" ",n+=" ",n+=" ",n+=" ",n+=" ",n+=" ",n+=" ",n+=" ",n+=' ',n+=" "+wt(t.valAxisLabelColor||b)+"",n+=' ',n+=" ",n+=" ",n+=' ',n+=" ",n+=" ",n+=' ',n+=' ',n+=' ',t.valAxisMajorUnit&&(n+=' '),t.valAxisDisplayUnit&&(n+=''+(t.valAxisDisplayUnitLabel?"":"")+""),n+=""}function qt(t){var e="left"===t.titleAlign||"right"===t.titleAlign?'':"",r=t.titleRotate?'':"",n=t.fontSize?'sz="'+Math.round(100*t.fontSize)+'"':"",a=!0===t.titleBold?1:0,o=t.titlePos&&t.titlePos.x&&t.titlePos.y?'':"";return"\n\t \n\t \n\t "+r+"\n\t \n\t \n\t "+e+"\n\t \n\t '+wt(t.color||b)+'\n\t \n\t \n\t \n\t \n\t \n\t '+wt(t.color||b)+'\n\t \n\t \n\t '+(gt(t.title)||"")+"\n\t \n\t \n\t \n\t \n\t "+o+'\n\t \n\t'}function Zt(t){var e="";return t<=26?e=F[t]:(e+=F[Math.floor(t/F.length)-1],e+=F[t%F.length]),e}function Xt(t,e){if(!t)return"";if("object"!=typeof t)return console.warn("`shadow` options must be an object. Ex: `{shadow: {type:'none'}}`"),"";var r="",n=mt(e,t),a=n.type||"outer",o=At(n.blur),i=At(n.offset),s=Math.round(6e4*n.angle),l=n.color,c=Math.round(1e5*n.opacity);return r+="',r+='',r+='',r+="",r+=""}function Kt(t){var e="";return e+=" ",e+=' ',e+=' ',e+=' ',e+=" ",e+=" ",e+=""}function Jt(t){var o="undefined"!=typeof require&&"undefined"==typeof window?require("fs"):null,i="undefined"!=typeof require&&"undefined"==typeof window?require("https"):null,e=[];return t._relsMedia.filter(function(t){return"online"!==t.type&&!t.data&&(!t.path||t.path&&-1===t.path.indexOf("preencoded"))}).forEach(function(a){e.push(new Promise(function(r,n){if(o&&0!==a.path.indexOf("http"))try{var t=o.readFileSync(a.path);a.data=Buffer.from(t).toString("base64"),r("done")}catch(t){a.data=pt,n('ERROR: Unable to read media: "'+a.path+'"\n'+t.toString())}else if(o&&i&&0===a.path.indexOf("http"))i.get(a.path,function(t){var e="";t.setEncoding("binary"),t.on("data",function(t){return e+=t}),t.on("end",function(){a.data=Buffer.from(e,"binary").toString("base64"),r("done")}),t.on("error",function(t){a.data=pt,n("ERROR! Unable to load image (https.get): "+a.path)})});else{var e=new XMLHttpRequest;e.onload=function(){var t=new FileReader;t.onloadend=function(){a.data=t.result,a.isSvgPng?$t(a).then(function(){r("done")}).catch(function(t){n(t)}):r("done")},t.readAsDataURL(e.response)},e.onerror=function(t){a.data=pt,n("ERROR! Unable to load image (xhr.onerror): "+a.path)},e.open("GET",a.path),e.responseType="blob",e.send()}}))}),t._relsMedia.filter(function(t){return t.isSvgPng&&t.data}).forEach(function(t){o?(t.data=pt,e.push(Promise.resolve().then(function(){return"done"}))):e.push($t(t))}),e}function $t(a){return new Promise(function(r,e){var n=new Image;n.onload=function(){n.width+n.height===0&&n.onerror("h/w=0");var t=document.createElement("CANVAS"),e=t.getContext("2d");t.width=n.width,t.height=n.height,e.drawImage(n,0,0);try{a.data=t.toDataURL(a.type),r("done")}catch(t){n.onerror(t)}t=null},n.onerror=function(t){a.data=pt,e("ERROR! Unable to load image (image.onerror): "+a.path)},n.src="string"==typeof a.data?a.data:pt})}function te(){var a=this;this._version="3.7.0",this._alignH=Q,this._alignV=q,this._chartType=U,this._outputType=z,this._schemeColor=H,this._shapeType=G,this._charts=J,this._colors=tt,this._shapes=X,this.addNewSlide=function(t){var e=0')})}),n+='',n+='',n+='',n+='',t.forEach(function(t,e){n+='',n+='',t._relsChart.forEach(function(t){n+=' '})}),n+='',n+='',n+='',n+='',e.forEach(function(t,e){n+='',(t._relsChart||[]).forEach(function(t){n+=' '})}),t.forEach(function(t,e){n+=' '}),r._relsChart.forEach(function(t){n+=' '}),r._relsMedia.forEach(function(t){"image"!==t.type&&"online"!==t.type&&"chart"!==t.type&&"m4v"!==t.extn&&-1===n.indexOf(t.type)&&(n+=' ')}),n+=' ',n+=' ',n+=""}(a.slides,a.slideLayouts,a.masterSlide)),n.file("_rels/.rels",''+v+'\n\t\t\n\t\t\n\t\t\n\t\t'),n.file("docProps/app.xml",function(t,e){return''+v+'\n\t0\n\t0\n\tMicrosoft Office PowerPoint\n\tOn-screen Show (16:9)\n\t0\n\t'+t.length+"\n\t"+t.length+'\n\t0\n\t0\n\tfalse\n\t\n\t\t\n\t\t\tFonts Used\n\t\t\t2\n\t\t\tTheme\n\t\t\t1\n\t\t\tSlide Titles\n\t\t\t'+t.length+'\n\t\t\n\t\n\t\n\t\t\n\t\t\tArial\n\t\t\tCalibri\n\t\t\tOffice Theme\n\t\t\t'+t.map(function(t,e){return"Slide "+(e+1)+"\n"}).join("")+"\n\t\t\n\t\n\t"+e+"\n\tfalse\n\tfalse\n\tfalse\n\t16.0000\n\t"}(a.slides,a.company)),n.file("docProps/core.xml",function(t,e,r,n){return'\n\t\n\t\t'+gt(t)+"\n\t\t"+gt(e)+"\n\t\t"+gt(r)+"\n\t\t"+gt(r)+"\n\t\t"+n+'\n\t\t'+(new Date).toISOString().replace(/\.\d\d\dZ/,"Z")+'\n\t\t'+(new Date).toISOString().replace(/\.\d\d\dZ/,"Z")+"\n\t"}(a.title,a.subject,a.author,a.revision)),n.file("ppt/_rels/presentation.xml.rels",function(t){var e=1,r=''+v;r+='',r+='';for(var n=1;n<=t.length;n++)r+='';return r+=''}(a.slides)),n.file("ppt/theme/theme1.xml",''+v+''),n.file("ppt/presentation.xml",function(t){var e=''+v+'';e+='',e+="",t.slides.forEach(function(t){return e+=''}),e+="",e+='',e+='',e+='',e+="";for(var r=1;r<10;r++)e+="";return e+="",t.sections&&0',e+='',t.sections.forEach(function(t){e+='',t._slides.forEach(function(t){return e+=''}),e+=""}),e+="",e+='',e+=""),e+=""}(a)),n.file("ppt/presProps.xml",''+v+''),n.file("ppt/tableStyles.xml",''+v+''),n.file("ppt/viewProps.xml",''+v+''),a.slideLayouts.forEach(function(t,e){n.file("ppt/slideLayouts/slideLayout"+(e+1)+".xml",function(t){return'\n\t\t\n\t\t'+Lt(t)+"\n\t\t"}(t)),n.file("ppt/slideLayouts/_rels/slideLayout"+(e+1)+".xml.rels",function(t,e){return Et(e[t-1],[{target:"../slideMasters/slideMaster1.xml",type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster"}])}(e+1,a.slideLayouts))}),a.slides.forEach(function(t,e){n.file("ppt/slides/slide"+(e+1)+".xml",function(t){return''+v+'"+Lt(t)+""}(t)),n.file("ppt/slides/_rels/slide"+(e+1)+".xml.rels",function(t,e,r){return Et(t[r-1],[{target:"../slideLayouts/slideLayout"+function(t,e,r){for(var n=0;n\n\t\t\n\t\t\t\n\t\t\t\n\t\t'}(e+1))}),n.file("ppt/slideMasters/slideMaster1.xml",function(r,t){var e=t.map(function(t,e){return''}),n=''+v;return n+='',n+=Lt(r),n+='',n+=""+e.join("")+"",n+='',n+=' ',n+=""}(a.masterSlide,a.slideLayouts)),n.file("ppt/slideMasters/_rels/slideMaster1.xml.rels",function(t,e){var r=e.map(function(t,e){return{target:"../slideLayouts/slideLayout"+(e+1)+".xml",type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout"}});return r.push({target:"../theme/theme1.xml",type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme"}),Et(t,r)}(a.masterSlide,a.slideLayouts)),n.file("ppt/notesMasters/notesMaster1.xml",''+v+'7/23/19Click to edit Master text stylesSecond levelThird levelFourth levelFifth level‹#›'),n.file("ppt/notesMasters/_rels/notesMaster1.xml.rels",''+v+'\n\t\t\n\t\t'),a.slideLayouts.forEach(function(t){a.createChartMediaRels(t,n,e)}),a.slides.forEach(function(t){a.createChartMediaRels(t,n,e)}),a.createChartMediaRels(a.masterSlide,n,e),Promise.all(e).then(function(){return"STREAM"===t.outputType?n.generateAsync({type:"nodebuffer",compression:t.compression?"DEFLATE":"STORE"}):t.outputType?n.generateAsync({type:t.outputType}):n.generateAsync({type:"blob",compression:t.compression?"DEFLATE":"STORE"})})})},this.LAYOUTS={LAYOUT_4x3:{name:"screen4x3",width:9144e3,height:6858e3},LAYOUT_16x9:{name:"screen16x9",width:9144e3,height:5143500},LAYOUT_16x10:{name:"screen16x10",width:9144e3,height:5715e3},LAYOUT_WIDE:{name:"custom",width:12192e3,height:6858e3}},this._author="PptxGenJS",this._company="PptxGenJS",this._revision="1",this._subject="PptxGenJS Presentation",this._title="PptxGenJS Presentation",this._presLayout={name:this.LAYOUTS[p].name,_sizeW:this.LAYOUTS[p].width,_sizeH:this.LAYOUTS[p].height,width:this.LAYOUTS[p].width,height:this.LAYOUTS[p].height},this._rtlMode=!1,this._slideLayouts=[{_margin:P,_name:n,_presLayout:this._presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slide:null,_slideNum:1e3,_slideNumberProps:null,_slideObjects:[]}],this._slides=[],this._sections=[],this._masterSlide={addChart:null,addImage:null,addMedia:null,addNotes:null,addShape:null,addTable:null,addText:null,_name:null,_presLayout:this._presLayout,_rId:null,_rels:[],_relsChart:[],_relsMedia:[],_slideId:null,_slideLayout:null,_slideNum:null,_slideNumberProps:null,_slideObjects:[]}}return Object.defineProperty(te.prototype,"layout",{get:function(){return this._layout},set:function(t){var e=this.LAYOUTS[t];if(!e)throw new Error("UNKNOWN-LAYOUT");this._layout=t,this._presLayout=e},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"version",{get:function(){return this._version},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"author",{get:function(){return this._author},set:function(t){this._author=t},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"company",{get:function(){return this._company},set:function(t){this._company=t},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"revision",{get:function(){return this._revision},set:function(t){this._revision=t},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"subject",{get:function(){return this._subject},set:function(t){this._subject=t},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"title",{get:function(){return this._title},set:function(t){this._title=t},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"rtlMode",{get:function(){return this._rtlMode},set:function(t){this._rtlMode=t},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"masterSlide",{get:function(){return this._masterSlide},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"slides",{get:function(){return this._slides},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"sections",{get:function(){return this._sections},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"slideLayouts",{get:function(){return this._slideLayouts},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"AlignH",{get:function(){return this._alignH},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"AlignV",{get:function(){return this._alignV},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"ChartType",{get:function(){return this._chartType},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"OutputType",{get:function(){return this._outputType},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"presLayout",{get:function(){return this._presLayout},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"SchemeColor",{get:function(){return this._schemeColor},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"ShapeType",{get:function(){return this._shapeType},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"charts",{get:function(){return this._charts},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"colors",{get:function(){return this._colors},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"shapes",{get:function(){return this._shapes},enumerable:!1,configurable:!0}),te.prototype.stream=function(t){var e=!("object"!=typeof t||!t.hasOwnProperty("compression"))&&t.compression;return this.exportPresentation({compression:e,outputType:"STREAM"})},te.prototype.write=function(t){var e="object"==typeof t&&t.hasOwnProperty("outputType")?t.outputType:t||null,r=!("object"!=typeof t||!t.hasOwnProperty("compression"))&&t.compression;return this.exportPresentation({compression:r,outputType:e})},te.prototype.writeFile=function(t){var e=this,n="undefined"!=typeof require&&"undefined"==typeof window?require("fs"):null;"string"==typeof t&&console.log("Warning: `writeFile(filename)` is deprecated - please use `WriteFileProps` argument (v3.5.0)");var r="object"==typeof t&&t.hasOwnProperty("fileName")?t.fileName:"string"==typeof t?t:"",a=!("object"!=typeof t||!t.hasOwnProperty("compression"))&&t.compression,o=r?r.toString().toLowerCase().endsWith(".pptx")?r:r+".pptx":"Presentation.pptx";return this.exportPresentation({compression:a,outputType:n?"nodebuffer":null}).then(function(t){return n?new Promise(function(e,r){n.writeFile(o,t,function(t){t?r(t):e(o)})}):e.writeFileToBrowser(o,t)})},te.prototype.addSection=function(t){t?t.title||console.warn("addSection requires a title"):console.warn("addSection requires an argument");var e={_type:"user",_slides:[],title:t.title};t.order?this.sections.splice(t.order,0,e):this._sections.push(e)},te.prototype.addSlide=function(e){var r="string"==typeof e?e:e&&e.masterName?e.masterName:"",t={_name:this.LAYOUTS[p].name,_presLayout:this.presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slideNum:this.slides.length+1};if(r){var n=this.slideLayouts.filter(function(t){return t._name===r})[0];n&&(t=n)}var a=new Gt({addSlide:this.addNewSlide,getSlide:this.getSlide,presLayout:this.presLayout,setSlideNum:this.setSlideNumber,slideId:this.slides.length+256,slideRId:this.slides.length+2,slideNumber:this.slides.length+1,slideLayout:t});if(this._slides.push(a),e&&e.sectionTitle){var o=this.sections.filter(function(t){return t.title===e.sectionTitle})[0];o?o._slides.push(a):console.warn('addSlide: unable to find section with title: "'+e.sectionTitle+'"')}else if(this.sections&&0 opts.y = "+a.y),r.addTable(t.rows,{x:a.x||p[3],y:a.y,w:Number(s)/B,colW:c,autoPage:!1}),a.addImage&&r.addImage({path:a.addImage.url,x:a.addImage.x,y:a.addImage.y,w:a.addImage.w,h:a.addImage.h}),a.addShape&&r.addShape(a.addShape.shape,a.addShape.options||{}),a.addTable&&r.addTable(a.addTable.rows,a.addTable.options||{}),a.addText&&r.addText(a.addText.text,a.addText.options||{})})}(this,t,e,e&&e.masterSlideName?this.slideLayouts.filter(function(t){return t._name===e.masterSlideName})[0]:null)},te}(); +/* PptxGenJS 3.7.1 @ 2021-07-22T03:01:25.409Z */ +!function(t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).JSZip=t()}(function(){return function o(i,s,l){function c(e,t){if(!s[e]){if(!i[e]){var r="function"==typeof require&&require;if(!t&&r)return r(e,!0);if(u)return u(e,!0);var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}var a=s[e]={exports:{}};i[e][0].call(a.exports,function(t){return c(i[e][1][t]||t)},a,a.exports,o,i,s,l)}return s[e].exports}for(var u="function"==typeof require&&require,t=0;t>2,o=(3&e)<<4|r>>4,i=1>6:64,s=2>4,r=(15&a)<<4|(o=h.indexOf(t.charAt(s++)))>>2,n=(3&o)<<6|(i=h.indexOf(t.charAt(s++))),c[l++]=e,64!==o&&(c[l++]=r),64!==i&&(c[l++]=n);return c}},{"./support":30,"./utils":32}],2:[function(t,e,r){"use strict";var n=t("./external"),a=t("./stream/DataWorker"),o=t("./stream/Crc32Probe"),i=t("./stream/DataLengthProbe");function s(t,e,r,n,a){this.compressedSize=t,this.uncompressedSize=e,this.crc32=r,this.compression=n,this.compressedContent=a}s.prototype={getContentWorker:function(){var t=new a(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new i("data_length")),e=this;return t.on("end",function(){if(this.streamInfo.data_length!==e.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),t},getCompressedWorker:function(){return new a(n.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},s.createWorkerFrom=function(t,e,r){return t.pipe(new o).pipe(new i("uncompressedSize")).pipe(e.compressWorker(r)).pipe(new i("compressedSize")).withStreamInfo("compression",e)},e.exports=s},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(t,e,r){"use strict";var n=t("./stream/GenericWorker");r.STORE={magic:"\0\0",compressWorker:function(t){return new n("STORE compression")},uncompressWorker:function(){return new n("STORE decompression")}},r.DEFLATE=t("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(t,e,r){"use strict";var n=t("./utils"),i=function(){for(var t,e=[],r=0;r<256;r++){t=r;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[r]=t}return e}();e.exports=function(t,e){return void 0!==t&&t.length?"string"!==n.getTypeOf(t)?function(t,e,r){var n=i,a=0+r;t^=-1;for(var o=0;o>>8^n[255&(t^e[o])];return-1^t}(0|e,t,t.length):function(t,e,r){var n=i,a=0+r;t^=-1;for(var o=0;o>>8^n[255&(t^e.charCodeAt(o))];return-1^t}(0|e,t,t.length):0}},{"./utils":32}],5:[function(t,e,r){"use strict";r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!0,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],6:[function(t,e,r){"use strict";var n;n="undefined"!=typeof Promise?Promise:t("lie"),e.exports={Promise:n}},{lie:37}],7:[function(t,e,r){"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,a=t("pako"),o=t("./utils"),i=t("./stream/GenericWorker"),s=n?"uint8array":"array";function l(t,e){i.call(this,"FlateWorker/"+t),this._pako=null,this._pakoAction=t,this._pakoOptions=e,this.meta={}}r.magic="\b\0",o.inherits(l,i),l.prototype.processChunk=function(t){this.meta=t.meta,null===this._pako&&this._createPako(),this._pako.push(o.transformTo(s,t.data),!1)},l.prototype.flush=function(){i.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},l.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this._pako=null},l.prototype._createPako=function(){this._pako=new a[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},r.compressWorker=function(t){return new l("Deflate",t)},r.uncompressWorker=function(){return new l("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(t,e,r){"use strict";function T(t,e){var r,n="";for(r=0;r>>=8;return n}function a(t,e,r,n,a,o){var i,s,l=t.file,c=t.compression,u=o!==R.utf8encode,p=k.transformTo("string",o(l.name)),f=k.transformTo("string",R.utf8encode(l.name)),d=l.comment,h=k.transformTo("string",o(d)),m=k.transformTo("string",R.utf8encode(d)),g=f.length!==l.name.length,v=m.length!==d.length,A="",y="",b="",x=l.dir,w=l.date,_={crc32:0,compressedSize:0,uncompressedSize:0};e&&!r||(_.crc32=t.crc32,_.compressedSize=t.compressedSize,_.uncompressedSize=t.uncompressedSize);var C=0;e&&(C|=8),u||!g&&!v||(C|=2048);var P,S=0,L=0;x&&(S|=16),"UNIX"===a?(L=798,S|=((P=l.unixPermissions)||(P=x?16893:33204),(65535&P)<<16)):(L=20,S|=63&(l.dosPermissions||0)),i=w.getUTCHours(),i<<=6,i|=w.getUTCMinutes(),i<<=5,i|=w.getUTCSeconds()/2,s=w.getUTCFullYear()-1980,s<<=4,s|=w.getUTCMonth()+1,s<<=5,s|=w.getUTCDate(),g&&(A+="up"+T((y=T(1,1)+T(F(p),4)+f).length,2)+y),v&&(A+="uc"+T((b=T(1,1)+T(F(h),4)+m).length,2)+b);var E="";return E+="\n\0",E+=T(C,2),E+=c.magic,E+=T(i,2),E+=T(s,2),E+=T(_.crc32,4),E+=T(_.compressedSize,4),E+=T(_.uncompressedSize,4),E+=T(p.length,2),E+=T(A.length,2),{fileRecord:I.LOCAL_FILE_HEADER+E+p+A,dirRecord:I.CENTRAL_FILE_HEADER+T(L,2)+E+T(h.length,2)+"\0\0\0\0"+T(S,4)+T(n,4)+p+A+h}}var k=t("../utils"),o=t("../stream/GenericWorker"),R=t("../utf8"),F=t("../crc32"),I=t("../signature");function n(t,e,r,n){o.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=e,this.zipPlatform=r,this.encodeFileName=n,this.streamFiles=t,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}k.inherits(n,o),n.prototype.push=function(t){var e=t.meta.percent||0,r=this.entriesCount,n=this._sources.length;this.accumulate?this.contentBuffer.push(t):(this.bytesWritten+=t.data.length,o.prototype.push.call(this,{data:t.data,meta:{currentFile:this.currentFile,percent:r?(e+100*(r-n-1))/r:100}}))},n.prototype.openedSource=function(t){this.currentSourceOffset=this.bytesWritten,this.currentFile=t.file.name;var e=this.streamFiles&&!t.file.dir;if(e){var r=a(t,e,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},n.prototype.closedSource=function(t){this.accumulate=!1;var e,r=this.streamFiles&&!t.file.dir,n=a(t,r,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),r)this.push({data:(e=t,I.DATA_DESCRIPTOR+T(e.crc32,4)+T(e.compressedSize,4)+T(e.uncompressedSize,4)),meta:{percent:100}});else for(this.push({data:n.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},n.prototype.flush=function(){for(var t=this.bytesWritten,e=0;e=this.index;e--)r=(r<<8)+this.byteAt(e);return this.index+=t,r},readString:function(t){return n.transformTo("string",this.readData(t))},readData:function(t){},lastIndexOfSignature:function(t){},readAndCheckSignature:function(t){},readDate:function(){var t=this.readInt(4);return new Date(Date.UTC(1980+(t>>25&127),(t>>21&15)-1,t>>16&31,t>>11&31,t>>5&63,(31&t)<<1))}},e.exports=a},{"../utils":32}],19:[function(t,e,r){"use strict";var n=t("./Uint8ArrayReader");function a(t){n.call(this,t)}t("../utils").inherits(a,n),a.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=a},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(t,e,r){"use strict";var n=t("./DataReader");function a(t){n.call(this,t)}t("../utils").inherits(a,n),a.prototype.byteAt=function(t){return this.data.charCodeAt(this.zero+t)},a.prototype.lastIndexOfSignature=function(t){return this.data.lastIndexOf(t)-this.zero},a.prototype.readAndCheckSignature=function(t){return t===this.readData(4)},a.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=a},{"../utils":32,"./DataReader":18}],21:[function(t,e,r){"use strict";var n=t("./ArrayReader");function a(t){n.call(this,t)}t("../utils").inherits(a,n),a.prototype.readData=function(t){if(this.checkOffset(t),0===t)return new Uint8Array(0);var e=this.data.subarray(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=a},{"../utils":32,"./ArrayReader":17}],22:[function(t,e,r){"use strict";var n=t("../utils"),a=t("../support"),o=t("./ArrayReader"),i=t("./StringReader"),s=t("./NodeBufferReader"),l=t("./Uint8ArrayReader");e.exports=function(t){var e=n.getTypeOf(t);return n.checkSupport(e),"string"!==e||a.uint8array?"nodebuffer"===e?new s(t):a.uint8array?new l(n.transformTo("uint8array",t)):new o(n.transformTo("array",t)):new i(t)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(t,e,r){"use strict";r.LOCAL_FILE_HEADER="PK",r.CENTRAL_FILE_HEADER="PK",r.CENTRAL_DIRECTORY_END="PK",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",r.ZIP64_CENTRAL_DIRECTORY_END="PK",r.DATA_DESCRIPTOR="PK\b"},{}],24:[function(t,e,r){"use strict";var n=t("./GenericWorker"),a=t("../utils");function o(t){n.call(this,"ConvertWorker to "+t),this.destType=t}a.inherits(o,n),o.prototype.processChunk=function(t){this.push({data:a.transformTo(this.destType,t.data),meta:t.meta})},e.exports=o},{"../utils":32,"./GenericWorker":28}],25:[function(t,e,r){"use strict";var n=t("./GenericWorker"),a=t("../crc32");function o(){n.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}t("../utils").inherits(o,n),o.prototype.processChunk=function(t){this.streamInfo.crc32=a(t.data,this.streamInfo.crc32||0),this.push(t)},e.exports=o},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(t,e,r){"use strict";var n=t("../utils"),a=t("./GenericWorker");function o(t){a.call(this,"DataLengthProbe for "+t),this.propName=t,this.withStreamInfo(t,0)}n.inherits(o,a),o.prototype.processChunk=function(t){if(t){var e=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=e+t.data.length}a.prototype.processChunk.call(this,t)},e.exports=o},{"../utils":32,"./GenericWorker":28}],27:[function(t,e,r){"use strict";var n=t("../utils"),a=t("./GenericWorker");function o(t){a.call(this,"DataWorker");var e=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,t.then(function(t){e.dataIsReady=!0,e.data=t,e.max=t&&t.length||0,e.type=n.getTypeOf(t),e.isPaused||e._tickAndRepeat()},function(t){e.error(t)})}n.inherits(o,a),o.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this.data=null},o.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,n.delay(this._tickAndRepeat,[],this)),!0)},o.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(n.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},o.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var t=null,e=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":t=this.data.substring(this.index,e);break;case"uint8array":t=this.data.subarray(this.index,e);break;case"array":case"nodebuffer":t=this.data.slice(this.index,e)}return this.index=e,this.push({data:t,meta:{percent:this.max?this.index/this.max*100:0}})},e.exports=o},{"../utils":32,"./GenericWorker":28}],28:[function(t,e,r){"use strict";function n(t){this.name=t||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}n.prototype={push:function(t){this.emit("data",t)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(t){this.emit("error",t)}return!0},error:function(t){return!this.isFinished&&(this.isPaused?this.generatedError=t:(this.isFinished=!0,this.emit("error",t),this.previous&&this.previous.error(t),this.cleanUp()),!0)},on:function(t,e){return this._listeners[t].push(e),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(t,e){if(this._listeners[t])for(var r=0;r "+t:t}},e.exports=n},{}],29:[function(t,e,r){"use strict";var c=t("../utils"),a=t("./ConvertWorker"),o=t("./GenericWorker"),u=t("../base64"),n=t("../support"),i=t("../external"),s=null;if(n.nodestream)try{s=t("../nodejs/NodejsStreamOutputAdapter")}catch(t){}function l(t,e,r){var n=e;switch(e){case"blob":case"arraybuffer":n="uint8array";break;case"base64":n="string"}try{this._internalType=n,this._outputType=e,this._mimeType=r,c.checkSupport(n),this._worker=t.pipe(new a(n)),t.lock()}catch(t){this._worker=new o("error"),this._worker.error(t)}}l.prototype={accumulate:function(t){return s=this,l=t,new i.Promise(function(e,r){var n=[],a=s._internalType,o=s._outputType,i=s._mimeType;s.on("data",function(t,e){n.push(t),l&&l(e)}).on("error",function(t){n=[],r(t)}).on("end",function(){try{var t=function(t,e,r){switch(t){case"blob":return c.newBlob(c.transformTo("arraybuffer",e),r);case"base64":return u.encode(e);default:return c.transformTo(t,e)}}(o,function(t,e){var r,n=0,a=null,o=0;for(r=0;r>>6:(r<65536?e[o++]=224|r>>>12:(e[o++]=240|r>>>18,e[o++]=128|r>>>12&63),e[o++]=128|r>>>6&63),e[o++]=128|63&r);return e}(t)},o.utf8decode=function(t){return l.nodebuffer?s.transformTo("nodebuffer",t).toString("utf-8"):function(t){var e,r,n,a,o=t.length,i=new Array(2*o);for(e=r=0;e>10&1023,i[r++]=56320|1023&n)}return i.length!==r&&(i.subarray?i=i.subarray(0,r):i.length=r),s.applyFromCharCode(i)}(t=s.transformTo(l.uint8array?"uint8array":"array",t))},s.inherits(i,n),i.prototype.processChunk=function(t){var e=s.transformTo(l.uint8array?"uint8array":"array",t.data);if(this.leftOver&&this.leftOver.length){if(l.uint8array){var r=e;(e=new Uint8Array(r.length+this.leftOver.length)).set(this.leftOver,0),e.set(r,this.leftOver.length)}else e=this.leftOver.concat(e);this.leftOver=null}var n=function(t,e){var r;for((e=e||t.length)>t.length&&(e=t.length),r=e-1;0<=r&&128==(192&t[r]);)r--;return r<0?e:0===r?e:r+c[t[r]]>e?r:e}(e),a=e;n!==e.length&&(l.uint8array?(a=e.subarray(0,n),this.leftOver=e.subarray(n,e.length)):(a=e.slice(0,n),this.leftOver=e.slice(n,e.length))),this.push({data:o.utf8decode(a),meta:t.meta})},i.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:o.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},o.Utf8DecodeWorker=i,s.inherits(u,n),u.prototype.processChunk=function(t){this.push({data:o.utf8encode(t.data),meta:t.meta})},o.Utf8EncodeWorker=u},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(t,e,s){"use strict";var l=t("./support"),c=t("./base64"),r=t("./nodejsUtils"),n=t("set-immediate-shim"),u=t("./external");function a(t){return t}function p(t,e){for(var r=0;r>8;this.dir=!!(16&this.externalFileAttributes),0==t&&(this.dosPermissions=63&this.externalFileAttributes),3==t&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(t){if(this.extraFields[1]){var e=n(this.extraFields[1].value);this.uncompressedSize===o.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===o.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===o.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===o.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(t){var e,r,n,a=t.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});t.index+4>>6:(r<65536?e[o++]=224|r>>>12:(e[o++]=240|r>>>18,e[o++]=128|r>>>12&63),e[o++]=128|r>>>6&63),e[o++]=128|63&r);return e},r.buf2binstring=function(t){return u(t,t.length)},r.binstring2buf=function(t){for(var e=new l.Buf8(t.length),r=0,n=e.length;r>10&1023,s[n++]=56320|1023&a)}return u(s,n)},r.utf8border=function(t,e){var r;for((e=e||t.length)>t.length&&(e=t.length),r=e-1;0<=r&&128==(192&t[r]);)r--;return r<0?e:0===r?e:r+c[t[r]]>e?r:e}},{"./common":41}],43:[function(t,e,r){"use strict";e.exports=function(t,e,r,n){for(var a=65535&t|0,o=t>>>16&65535|0,i=0;0!==r;){for(r-=i=2e3>>1:t>>>1;e[r]=t}return e}();e.exports=function(t,e,r,n){var a=s,o=n+r;t^=-1;for(var i=n;i>>8^a[255&(t^e[i])];return-1^t}},{}],46:[function(t,e,r){"use strict";var l,f=t("../utils/common"),c=t("./trees"),d=t("./adler32"),h=t("./crc32"),n=t("./messages"),u=0,p=0,m=-2,a=2,g=8,o=286,i=30,s=19,v=2*o+1,A=15,y=3,b=258,x=b+y+1,w=42,_=113;function C(t,e){return t.msg=n[e],e}function P(t){return(t<<1)-(4t.avail_out&&(r=t.avail_out),0!==r&&(f.arraySet(t.output,e.pending_buf,e.pending_out,r,t.next_out),t.next_out+=r,e.pending_out+=r,t.total_out+=r,t.avail_out-=r,e.pending-=r,0===e.pending&&(e.pending_out=0))}function E(t,e){c._tr_flush_block(t,0<=t.block_start?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,L(t.strm)}function T(t,e){t.pending_buf[t.pending++]=e}function k(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function R(t,e){var r,n,a=t.max_chain_length,o=t.strstart,i=t.prev_length,s=t.nice_match,l=t.strstart>t.w_size-x?t.strstart-(t.w_size-x):0,c=t.window,u=t.w_mask,p=t.prev,f=t.strstart+b,d=c[o+i-1],h=c[o+i];t.prev_length>=t.good_match&&(a>>=2),s>t.lookahead&&(s=t.lookahead);do{if(c[(r=e)+i]===h&&c[r+i-1]===d&&c[r]===c[o]&&c[++r]===c[o+1]){o+=2,r++;do{}while(c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&ol&&0!=--a);return i<=t.lookahead?i:t.lookahead}function F(t){var e,r,n,a,o,i,s,l,c,u,p=t.w_size;do{if(a=t.window_size-t.lookahead-t.strstart,t.strstart>=p+(p-x)){for(f.arraySet(t.window,t.window,p,p,0),t.match_start-=p,t.strstart-=p,t.block_start-=p,e=r=t.hash_size;n=t.head[--e],t.head[e]=p<=n?n-p:0,--r;);for(e=r=p;n=t.prev[--e],t.prev[e]=p<=n?n-p:0,--r;);a+=p}if(0===t.strm.avail_in)break;if(i=t.strm,s=t.window,l=t.strstart+t.lookahead,u=void 0,(c=a)<(u=i.avail_in)&&(u=c),r=0===u?0:(i.avail_in-=u,f.arraySet(s,i.input,i.next_in,u,l),1===i.state.wrap?i.adler=d(i.adler,s,u,l):2===i.state.wrap&&(i.adler=h(i.adler,s,u,l)),i.next_in+=u,i.total_in+=u,u),t.lookahead+=r,t.lookahead+t.insert>=y)for(o=t.strstart-t.insert,t.ins_h=t.window[o],t.ins_h=(t.ins_h<=y&&(t.ins_h=(t.ins_h<=y)if(n=c._tr_tally(t,t.strstart-t.match_start,t.match_length-y),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=y){for(t.match_length--;t.strstart++,t.ins_h=(t.ins_h<=y&&(t.ins_h=(t.ins_h<=y&&t.match_length<=t.prev_length){for(a=t.strstart+t.lookahead-y,n=c._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-y),t.lookahead-=t.prev_length-1,t.prev_length-=2;++t.strstart<=a&&(t.ins_h=(t.ins_h<t.pending_buf_size-5&&(r=t.pending_buf_size-5);;){if(t.lookahead<=1){if(F(t),0===t.lookahead&&e===u)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+r;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,E(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-x&&(E(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(E(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(E(t,!1),t.strm.avail_out),1)}),new B(4,4,8,4,I),new B(4,5,16,8,I),new B(4,6,32,32,I),new B(4,4,16,16,O),new B(8,16,32,32,O),new B(8,16,128,128,O),new B(8,32,128,256,O),new B(32,128,258,1024,O),new B(32,258,258,4096,O)],r.deflateInit=function(t,e){return z(t,e,g,15,8,0)},r.deflateInit2=z,r.deflateReset=M,r.deflateResetKeep=D,r.deflateSetHeader=function(t,e){return t&&t.state?2!==t.state.wrap?m:(t.state.gzhead=e,p):m},r.deflate=function(t,e){var r,n,a,o;if(!t||!t.state||5>8&255),T(n,n.gzhead.time>>16&255),T(n,n.gzhead.time>>24&255),T(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),T(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(T(n,255&n.gzhead.extra.length),T(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(t.adler=h(t.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69):(T(n,0),T(n,0),T(n,0),T(n,0),T(n,0),T(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),T(n,3),n.status=_);else{var i=g+(n.w_bits-8<<4)<<8;i|=(2<=n.strategy||n.level<2?0:n.level<6?1:6===n.level?2:3)<<6,0!==n.strstart&&(i|=32),i+=31-i%31,n.status=_,k(n,i),0!==n.strstart&&(k(n,t.adler>>>16),k(n,65535&t.adler)),t.adler=1}if(69===n.status)if(n.gzhead.extra){for(a=n.pending;n.gzindex<(65535&n.gzhead.extra.length)&&(n.pending!==n.pending_buf_size||(n.gzhead.hcrc&&n.pending>a&&(t.adler=h(t.adler,n.pending_buf,n.pending-a,a)),L(t),a=n.pending,n.pending!==n.pending_buf_size));)T(n,255&n.gzhead.extra[n.gzindex]),n.gzindex++;n.gzhead.hcrc&&n.pending>a&&(t.adler=h(t.adler,n.pending_buf,n.pending-a,a)),n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=73)}else n.status=73;if(73===n.status)if(n.gzhead.name){a=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>a&&(t.adler=h(t.adler,n.pending_buf,n.pending-a,a)),L(t),a=n.pending,n.pending===n.pending_buf_size)){o=1;break}o=n.gzindexa&&(t.adler=h(t.adler,n.pending_buf,n.pending-a,a)),0===o&&(n.gzindex=0,n.status=91)}else n.status=91;if(91===n.status)if(n.gzhead.comment){a=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>a&&(t.adler=h(t.adler,n.pending_buf,n.pending-a,a)),L(t),a=n.pending,n.pending===n.pending_buf_size)){o=1;break}o=n.gzindexa&&(t.adler=h(t.adler,n.pending_buf,n.pending-a,a)),0===o&&(n.status=103)}else n.status=103;if(103===n.status&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&L(t),n.pending+2<=n.pending_buf_size&&(T(n,255&t.adler),T(n,t.adler>>8&255),t.adler=0,n.status=_)):n.status=_),0!==n.pending){if(L(t),0===t.avail_out)return n.last_flush=-1,p}else if(0===t.avail_in&&P(e)<=P(r)&&4!==e)return C(t,-5);if(666===n.status&&0!==t.avail_in)return C(t,-5);if(0!==t.avail_in||0!==n.lookahead||e!==u&&666!==n.status){var s=2===n.strategy?function(t,e){for(var r;;){if(0===t.lookahead&&(F(t),0===t.lookahead)){if(e===u)return 1;break}if(t.match_length=0,r=c._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,r&&(E(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(E(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(E(t,!1),0===t.strm.avail_out)?1:2}(n,e):3===n.strategy?function(t,e){for(var r,n,a,o,i=t.window;;){if(t.lookahead<=b){if(F(t),t.lookahead<=b&&e===u)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=y&&0t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=y?(r=c._tr_tally(t,1,t.match_length-y),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(r=c._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),r&&(E(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(E(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(E(t,!1),0===t.strm.avail_out)?1:2}(n,e):l[n.level].func(n,e);if(3!==s&&4!==s||(n.status=666),1===s||3===s)return 0===t.avail_out&&(n.last_flush=-1),p;if(2===s&&(1===e?c._tr_align(n):5!==e&&(c._tr_stored_block(n,0,0,!1),3===e&&(S(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),L(t),0===t.avail_out))return n.last_flush=-1,p}return 4!==e?p:n.wrap<=0?1:(2===n.wrap?(T(n,255&t.adler),T(n,t.adler>>8&255),T(n,t.adler>>16&255),T(n,t.adler>>24&255),T(n,255&t.total_in),T(n,t.total_in>>8&255),T(n,t.total_in>>16&255),T(n,t.total_in>>24&255)):(k(n,t.adler>>>16),k(n,65535&t.adler)),L(t),0=r.w_size&&(0===o&&(S(r.head),r.strstart=0,r.block_start=0,r.insert=0),c=new f.Buf8(r.w_size),f.arraySet(c,e,u-r.w_size,r.w_size,0),e=c,u=r.w_size),i=t.avail_in,s=t.next_in,l=t.input,t.avail_in=u,t.next_in=0,t.input=e,F(r);r.lookahead>=y;){for(n=r.strstart,a=r.lookahead-(y-1);r.ins_h=(r.ins_h<>>=b=y>>>24,h-=b,0==(b=y>>>16&255))S[o++]=65535&y;else{if(!(16&b)){if(0==(64&b)){y=m[(65535&y)+(d&(1<>>=b,h-=b),h<15&&(d+=P[n++]<>>=b=y>>>24,h-=b,!(16&(b=y>>>16&255))){if(0==(64&b)){y=g[(65535&y)+(d&(1<>>=b,h-=b,(b=o-i)>3,d&=(1<<(h-=x<<3))-1,t.next_in=n,t.next_out=o,t.avail_in=n>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function o(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new T.Buf16(320),this.work=new T.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function i(t){var e;return t&&t.state?(e=t.state,t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=M,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new T.Buf32(n),e.distcode=e.distdyn=new T.Buf32(a),e.sane=1,e.back=-1,N):D}function s(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,i(t)):D}function l(t,e){var r,n;return t&&t.state?(n=t.state,e<0?(r=0,e=-e):(r=1+(e>>4),e<48&&(e&=15)),e&&(e<8||15=o.wsize?(T.arraySet(o.window,e,r-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):(n<(a=o.wsize-o.wnext)&&(a=n),T.arraySet(o.window,e,r-n,a,o.wnext),(n-=a)?(T.arraySet(o.window,e,r-n,n,0),o.wnext=n,o.whave=o.wsize):(o.wnext+=a,o.wnext===o.wsize&&(o.wnext=0),o.whave>>8&255,r.check=R(r.check,L,2,0),u=c=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&c)<<8)+(c>>8))%31){t.msg="incorrect header check",r.mode=30;break}if(8!=(15&c)){t.msg="unknown compression method",r.mode=30;break}if(u-=4,w=8+(15&(c>>>=4)),0===r.wbits)r.wbits=w;else if(w>r.wbits){t.msg="invalid window size",r.mode=30;break}r.dmax=1<>8&1),512&r.flags&&(L[0]=255&c,L[1]=c>>>8&255,r.check=R(r.check,L,2,0)),u=c=0,r.mode=3;case 3:for(;u<32;){if(0===s)break t;s--,c+=n[o++]<>>8&255,L[2]=c>>>16&255,L[3]=c>>>24&255,r.check=R(r.check,L,4,0)),u=c=0,r.mode=4;case 4:for(;u<16;){if(0===s)break t;s--,c+=n[o++]<>8),512&r.flags&&(L[0]=255&c,L[1]=c>>>8&255,r.check=R(r.check,L,2,0)),u=c=0,r.mode=5;case 5:if(1024&r.flags){for(;u<16;){if(0===s)break t;s--,c+=n[o++]<>>8&255,r.check=R(r.check,L,2,0)),u=c=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&(s<(d=r.length)&&(d=s),d&&(r.head&&(w=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),T.arraySet(r.head.extra,n,o,d,w)),512&r.flags&&(r.check=R(r.check,n,d,o)),s-=d,o+=d,r.length-=d),r.length))break t;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===s)break t;for(d=0;w=n[o+d++],r.head&&w&&r.length<65536&&(r.head.name+=String.fromCharCode(w)),w&&d>9&1,r.head.done=!0),t.adler=r.check=0,r.mode=12;break;case 10:for(;u<32;){if(0===s)break t;s--,c+=n[o++]<>>=7&u,u-=7&u,r.mode=27;break}for(;u<3;){if(0===s)break t;s--,c+=n[o++]<>>=1)){case 0:r.mode=14;break;case 1:if(U(r),r.mode=20,6!==e)break;c>>>=2,u-=2;break t;case 2:r.mode=17;break;case 3:t.msg="invalid block type",r.mode=30}c>>>=2,u-=2;break;case 14:for(c>>>=7&u,u-=7&u;u<32;){if(0===s)break t;s--,c+=n[o++]<>>16^65535)){t.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&c,u=c=0,r.mode=15,6===e)break t;case 15:r.mode=16;case 16:if(d=r.length){if(s>>=5,u-=5,r.ndist=1+(31&c),c>>>=5,u-=5,r.ncode=4+(15&c),c>>>=4,u-=4,286>>=3,u-=3}for(;r.have<19;)r.lens[E[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,C={bits:r.lenbits},_=I(0,r.lens,0,19,r.lencode,0,r.work,C),r.lenbits=C.bits,_){t.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have>>16&255,A=65535&S,!((g=S>>>24)<=u);){if(0===s)break t;s--,c+=n[o++]<>>=g,u-=g,r.lens[r.have++]=A;else{if(16===A){for(P=g+2;u>>=g,u-=g,0===r.have){t.msg="invalid bit length repeat",r.mode=30;break}w=r.lens[r.have-1],d=3+(3&c),c>>>=2,u-=2}else if(17===A){for(P=g+3;u>>=g)),c>>>=3,u-=3}else{for(P=g+7;u>>=g)),c>>>=7,u-=7}if(r.have+d>r.nlen+r.ndist){t.msg="invalid bit length repeat",r.mode=30;break}for(;d--;)r.lens[r.have++]=w}}if(30===r.mode)break;if(0===r.lens[256]){t.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,C={bits:r.lenbits},_=I(O,r.lens,0,r.nlen,r.lencode,0,r.work,C),r.lenbits=C.bits,_){t.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,C={bits:r.distbits},_=I(B,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,C),r.distbits=C.bits,_){t.msg="invalid distances set",r.mode=30;break}if(r.mode=20,6===e)break t;case 20:r.mode=21;case 21:if(6<=s&&258<=l){t.next_out=i,t.avail_out=l,t.next_in=o,t.avail_in=s,r.hold=c,r.bits=u,F(t,f),i=t.next_out,a=t.output,l=t.avail_out,o=t.next_in,n=t.input,s=t.avail_in,c=r.hold,u=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;v=(S=r.lencode[c&(1<>>16&255,A=65535&S,!((g=S>>>24)<=u);){if(0===s)break t;s--,c+=n[o++]<>y)])>>>16&255,A=65535&S,!(y+(g=S>>>24)<=u);){if(0===s)break t;s--,c+=n[o++]<>>=y,u-=y,r.back+=y}if(c>>>=g,u-=g,r.back+=g,r.length=A,0===v){r.mode=26;break}if(32&v){r.back=-1,r.mode=12;break}if(64&v){t.msg="invalid literal/length code",r.mode=30;break}r.extra=15&v,r.mode=22;case 22:if(r.extra){for(P=r.extra;u>>=r.extra,u-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;v=(S=r.distcode[c&(1<>>16&255,A=65535&S,!((g=S>>>24)<=u);){if(0===s)break t;s--,c+=n[o++]<>y)])>>>16&255,A=65535&S,!(y+(g=S>>>24)<=u);){if(0===s)break t;s--,c+=n[o++]<>>=y,u-=y,r.back+=y}if(c>>>=g,u-=g,r.back+=g,64&v){t.msg="invalid distance code",r.mode=30;break}r.offset=A,r.extra=15&v,r.mode=24;case 24:if(r.extra){for(P=r.extra;u>>=r.extra,u-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){t.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(0===l)break t;if(d=f-l,r.offset>d){if((d=r.offset-d)>r.whave&&r.sane){t.msg="invalid distance too far back",r.mode=30;break}h=d>r.wnext?(d-=r.wnext,r.wsize-d):r.wnext-d,d>r.length&&(d=r.length),m=r.window}else m=a,h=i-r.offset,d=r.length;for(ld?(m=F[I+i[y]],E[T+i[y]]):(m=96,0),l=1<>C)+(c-=l)]=h<<24|m<<16|g|0,0!==c;);for(l=1<>=1;if(0!==l?(L&=l-1,L+=l):L=0,y++,0==--k[A]){if(A===x)break;A=e[r+i[y]]}if(w>>7)]}function _(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function C(t,e,r){t.bi_valid>a-r?(t.bi_buf|=e<>a-t.bi_valid,t.bi_valid+=r-a):(t.bi_buf|=e<>>=1,r<<=1,0<--e;);return r>>>1}function L(t,e,r){var n,a,o=new Array(g+1),i=0;for(n=1;n<=g;n++)o[n]=i=i+r[n-1]<<1;for(a=0;a<=e;a++){var s=t[2*a+1];0!==s&&(t[2*a]=S(o[s]++,s))}}function E(t){var e;for(e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function T(t){8>1;1<=r;r--)R(t,o,r);for(a=l;r=t.heap[1],t.heap[1]=t.heap[t.heap_len--],R(t,o,1),n=t.heap[1],t.heap[--t.heap_max]=r,t.heap[--t.heap_max]=n,o[2*a]=o[2*r]+o[2*n],t.depth[a]=(t.depth[r]>=t.depth[n]?t.depth[r]:t.depth[n])+1,o[2*r+1]=o[2*n+1]=a,t.heap[1]=a++,R(t,o,1),2<=t.heap_len;);t.heap[--t.heap_max]=t.heap[1],function(t,e){var r,n,a,o,i,s,l=e.dyn_tree,c=e.max_code,u=e.stat_desc.static_tree,p=e.stat_desc.has_stree,f=e.stat_desc.extra_bits,d=e.stat_desc.extra_base,h=e.stat_desc.max_length,m=0;for(o=0;o<=g;o++)t.bl_count[o]=0;for(l[2*t.heap[t.heap_max]+1]=0,r=t.heap_max+1;r<573;r++)h<(o=l[2*l[2*(n=t.heap[r])+1]+1]+1)&&(o=h,m++),l[2*n+1]=o,c>=7;n<30;n++)for(b[n]=a<<7,t=0;t<1<>>=1)if(1&r&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<256;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0}(t)),I(t,t.l_desc),I(t,t.d_desc),i=function(t){var e;for(O(t,t.dyn_ltree,t.l_desc.max_code),O(t,t.dyn_dtree,t.d_desc.max_code),I(t,t.bl_desc),e=18;3<=e&&0===t.bl_tree[2*u[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),a=t.opt_len+3+7>>>3,(o=t.static_len+3+7>>>3)<=a&&(a=o)):a=o=r+5,r+4<=a&&-1!==e?D(t,e,r,n):4===t.strategy||o===a?(C(t,2+(n?1:0),3),F(t,p,f)):(C(t,4+(n?1:0),3),function(t,e,r,n){var a;for(C(t,e-257,5),C(t,r-1,5),C(t,n-4,4),a=0;a>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&r,t.last_lit++,0===e?t.dyn_ltree[2*r]++:(t.matches++,e--,t.dyn_ltree[2*(h[r]+256+1)]++,t.dyn_dtree[2*w(e)]++),t.last_lit===t.lit_bufsize-1},r._tr_align=function(t){var e;C(t,2,3),P(t,256,p),16===(e=t).bi_valid?(_(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):8<=e.bi_valid&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}},{"../utils/common":41}],53:[function(t,e,r){"use strict";e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(t,e,r){"use strict";e.exports="function"==typeof setImmediate?setImmediate:function(){var t=[].slice.apply(arguments);t.splice(1,0,0),setTimeout.apply(null,t)}},{}]},{},[10])(10)})}).call(this,void 0!==r?r:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,void 0!==r?r:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,void 0!==r?r:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,void 0!==r?r:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)}),function o(i,s,l){function c(e,t){if(!s[e]){if(!i[e]){var r="function"==typeof require&&require;if(!t&&r)return r(e,!0);if(u)return u(e,!0);var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}var a=s[e]={exports:{}};i[e][0].call(a.exports,function(t){return c(i[e][1][t]||t)},a,a.exports,o,i,s,l)}return s[e].exports}for(var u="function"==typeof require&&require,t=0;ti;)o.call(t,n=a[i++])&&e.push(n);return e}},{104:104,107:107,108:108}],62:[function(t,e,r){var m=t(70),g=t(52),v=t(72),A=t(118),y=t(54),b="prototype",x=function(t,e,r){var n,a,o,i,s=t&x.F,l=t&x.G,c=t&x.S,u=t&x.P,p=t&x.B,f=l?m:c?m[e]||(m[e]={}):(m[e]||{})[b],d=l?g:g[e]||(g[e]={}),h=d[b]||(d[b]={});for(n in l&&(r=e),r)o=((a=!s&&f&&void 0!==f[n])?f:r)[n],i=p&&a?y(o,m):u&&"function"==typeof o?y(Function.call,o):o,f&&A(f,n,o,t&x.U),d[n]!=o&&v(d,n,i),u&&h[n]!=o&&(h[n]=o)};m.core=g,x.F=1,x.G=2,x.S=4,x.P=8,x.B=16,x.W=32,x.U=64,x.R=128,e.exports=x},{118:118,52:52,54:54,70:70,72:72}],63:[function(t,e,r){var n=t(152)("match");e.exports=function(e){var r=/./;try{"/./"[e](r)}catch(t){try{return r[n]=!1,!"/./"[e](r)}catch(t){}}return!0}},{152:152}],64:[function(t,e,r){arguments[4][23][0].apply(r,arguments)},{23:23}],65:[function(t,e,r){"use strict";t(248);var u=t(118),p=t(72),f=t(64),d=t(57),h=t(152),m=t(120),g=h("species"),v=!f(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$
")}),A=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2===r.length&&"a"===r[0]&&"b"===r[1]}();e.exports=function(r,t,e){var n=h(r),o=!f(function(){var t={};return t[n]=function(){return 7},7!=""[r](t)}),a=o?!f(function(){var t=!1,e=/a/;return e.exec=function(){return t=!0,null},"split"===r&&(e.constructor={},e.constructor[g]=function(){return e}),e[n](""),!t}):void 0;if(!o||!a||"replace"===r&&!v||"split"===r&&!A){var i=/./[n],s=e(d,n,""[r],function(t,e,r,n,a){return e.exec===m?o&&!a?{done:!0,value:i.call(e,r,n)}:{done:!0,value:t.call(r,e,n)}:{done:!1}}),l=s[0],c=s[1];u(String.prototype,r,l),p(RegExp.prototype,n,2==t?function(t,e){return c.call(t,this,e)}:function(t){return c.call(t,this)})}}},{118:118,120:120,152:152,248:248,57:57,64:64,72:72}],66:[function(t,e,r){"use strict";var n=t(38);e.exports=function(){var t=n(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},{38:38}],67:[function(t,e,r){"use strict";var h=t(79),m=t(81),g=t(141),v=t(54),A=t(152)("isConcatSpreadable");e.exports=function t(e,r,n,a,o,i,s,l){for(var c,u,p=o,f=0,d=!!s&&v(s,l,3);fdocument.F=Object<\/script>"),t.close(),u=t.F;r--;)delete u[c][s[r]];return u()};t.exports=Object.create||function(t,e){var r;return null!==t?(a[c]=o(t),r=new a,a[c]=null,r[l]=t):r=u(),void 0===e?r:i(r,e)}},{100:100,125:125,38:38,59:59,60:60,73:73}],99:[function(t,e,r){arguments[4][29][0].apply(r,arguments)},{143:143,29:29,38:38,58:58,74:74}],100:[function(t,e,r){var i=t(99),s=t(38),l=t(107);e.exports=t(58)?Object.defineProperties:function(t,e){s(t);for(var r,n=l(e),a=n.length,o=0;oa;)i(n,r=e[a++])&&(~l(o,r)||o.push(r));return o}},{125:125,140:140,41:41,71:71}],107:[function(t,e,r){var n=t(106),a=t(60);e.exports=Object.keys||function(t){return n(t,a)}},{106:106,60:60}],108:[function(t,e,r){r.f={}.propertyIsEnumerable},{}],109:[function(t,e,r){var a=t(62),o=t(52),i=t(64);e.exports=function(t,e){var r=(o.Object||{})[t]||Object[t],n={};n[t]=e(r),a(a.S+a.F*i(function(){r(1)}),"Object",n)}},{52:52,62:62,64:64}],110:[function(t,e,r){var l=t(58),c=t(107),u=t(140),p=t(108).f;e.exports=function(s){return function(t){for(var e,r=u(t),n=c(r),a=n.length,o=0,i=[];o>>0||(i.test(r)?16:10))}:n},{134:134,135:135,70:70}],114:[function(t,e,r){e.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},{}],115:[function(t,e,r){var n=t(38),a=t(81),o=t(96);e.exports=function(t,e){if(n(t),a(e)&&e.constructor===t)return e;var r=o.f(t);return(0,r.resolve)(e),r.promise}},{38:38,81:81,96:96}],116:[function(t,e,r){arguments[4][30][0].apply(r,arguments)},{30:30}],117:[function(t,e,r){var a=t(118);e.exports=function(t,e,r){for(var n in e)a(t,n,e[n],r);return t}},{118:118}],118:[function(t,e,r){var o=t(70),i=t(72),s=t(71),l=t(147)("src"),n=t(69),a="toString",c=(""+n).split(a);t(52).inspectSource=function(t){return n.call(t)},(e.exports=function(t,e,r,n){var a="function"==typeof r;a&&(s(r,"name")||i(r,"name",e)),t[e]!==r&&(a&&(s(r,l)||i(r,l,t[e]?""+t[e]:c.join(String(e)))),t===o?t[e]=r:n?t[e]?t[e]=r:i(t,e,r):(delete t[e],i(t,e,r)))})(Function.prototype,a,function(){return"function"==typeof this&&this[l]||n.call(this)})},{147:147,52:52,69:69,70:70,71:71,72:72}],119:[function(t,e,r){"use strict";var a=t(47),o=RegExp.prototype.exec;e.exports=function(t,e){var r=t.exec;if("function"==typeof r){var n=r.call(t,e);if("object"!=typeof n)throw new TypeError("RegExp exec method returned something other than an Object or null");return n}if("RegExp"!==a(t))throw new TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},{47:47}],120:[function(t,e,r){"use strict";var n,a,i=t(66),s=RegExp.prototype.exec,l=String.prototype.replace,o=s,c="lastIndex",u=(n=/a/,a=/b*/g,s.call(n,"a"),s.call(a,"a"),0!==n[c]||0!==a[c]),p=void 0!==/()??/.exec("")[1];(u||p)&&(o=function(t){var e,r,n,a,o=this;return p&&(r=new RegExp("^"+o.source+"$(?!\\s)",i.call(o))),u&&(e=o[c]),n=s.call(o,t),u&&n&&(o[c]=o.global?n.index+n[0].length:e),p&&n&&1"+a+""}var a=t(62),o=t(64),i=t(57),s=/"/g;e.exports=function(e,t){var r={};r[e]=t(n),a(a.P+a.F*o(function(){var t=""[e]('"');return t!==t.toLowerCase()||3l&&(c=c.slice(0,l)),n?c+a:a+c}},{133:133,141:141,57:57}],133:[function(t,e,r){"use strict";var a=t(139),o=t(57);e.exports=function(t){var e=String(o(this)),r="",n=a(t);if(n<0||n==1/0)throw RangeError("Count can't be negative");for(;0>>=1)&&(e+=e))1&n&&(r+=e);return r}},{139:139,57:57}],134:[function(t,e,r){function n(t,e,r){var n={},a=s(function(){return!!l[t]()||"​…"!="​…"[t]()}),o=n[t]=a?e(p):l[t];r&&(n[r]=o),i(i.P+i.F*a,"String",n)}var i=t(62),a=t(57),s=t(64),l=t(135),o="["+l+"]",c=RegExp("^"+o+o+"*"),u=RegExp(o+o+"*$"),p=n.trim=function(t,e){return t=String(a(t)),1&e&&(t=t.replace(c,"")),2&e&&(t=t.replace(u,"")),t};e.exports=n},{135:135,57:57,62:62,64:64}],135:[function(t,e,r){e.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},{}],136:[function(t,e,r){function n(){var t=+this;if(y.hasOwnProperty(t)){var e=y[t];delete y[t],e()}}function a(t){n.call(t.data)}var o,i,s,l=t(54),c=t(76),u=t(73),p=t(59),f=t(70),d=f.process,h=f.setImmediate,m=f.clearImmediate,g=f.MessageChannel,v=f.Dispatch,A=0,y={},b="onreadystatechange";h&&m||(h=function(t){for(var e=[],r=1;r>1,u=23===e?T(2,-24)-T(2,-77):0,p=0,f=t<0||0===t&&1/t<0?1:0;for((t=E(t))!=t||t===S?(a=t!=t?1:0,n=l):(n=k(R(t)/F),t*(o=T(2,-n))<1&&(n--,o*=2),2<=(t+=1<=n+c?u/o:u*T(2,1-c))*o&&(n++,o/=2),l<=n+c?(a=0,n=l):1<=n+c?(a=(t*o-1)*T(2,e),n+=c):(a=t*T(2,c-1)*T(2,e),n=0));8<=e;i[p++]=255&a,a/=256,e-=8);for(n=n<>1,s=a-7,l=r-1,c=t[l--],u=127&c;for(c>>=7;0>=-s,s+=e;0>8&255]}function W(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function H(t){return M(t,52,8)}function V(t){return M(t,23,4)}function Q(t,e,r){m(t[b],e,{get:function(){return this[r]}})}function Y(t,e,r,n){var a=d(+r);if(a+e>t[N])throw P(x);var o=t[B]._b,i=a+t[D],s=o.slice(i,i+e);return n?s:s.reverse()}function q(t,e,r,n,a,o){var i=d(+r);if(i+e>t[N])throw P(x);for(var s=t[B]._b,l=i+t[D],c=n(+a),u=0;uJ;)(Z=K[J++])in w||s(w,Z,L[Z]);o||(X.constructor=w)}var $=new _(new w(2)),tt=_[b].setInt8;$.setInt8(0,2147483648),$.setInt8(1,2147483649),!$.getInt8(0)&&$.getInt8(1)||l(_[b],{setInt8:function(t,e){tt.call(this,t,e<<24>>24)},setUint8:function(t,e){tt.call(this,t,e<<24>>24)}},!0)}else w=function(t){u(this,w,A);var e=d(t);this._b=g.call(new Array(e),0),this[N]=e},_=function(t,e,r){u(this,_,y),u(t,w,y);var n=t[N],a=p(e);if(a<0||n>24},getUint8:function(t){return Y(this,1,t)[0]},getInt16:function(t,e){var r=Y(this,2,t,e);return(r[1]<<8|r[0])<<16>>16},getUint16:function(t,e){var r=Y(this,2,t,e);return r[1]<<8|r[0]},getInt32:function(t,e){return U(Y(this,4,t,e))},getUint32:function(t,e){return U(Y(this,4,t,e))>>>0},getFloat32:function(t,e){return z(Y(this,4,t,e),23,4)},getFloat64:function(t,e){return z(Y(this,8,t,e),52,8)},setInt8:function(t,e){q(this,1,t,j,e)},setUint8:function(t,e){q(this,1,t,j,e)},setInt16:function(t,e,r){q(this,2,t,G,e,r)},setUint16:function(t,e,r){q(this,2,t,G,e,r)},setInt32:function(t,e,r){q(this,4,t,W,e,r)},setUint32:function(t,e,r){q(this,4,t,W,e,r)},setFloat32:function(t,e,r){q(this,4,t,V,e,r)},setFloat64:function(t,e,r){q(this,8,t,H,e,r)}});v(w,A),v(_,y),s(_[b],i.VIEW,!0),r[A]=w,r[y]=_},{103:103,117:117,124:124,138:138,139:139,141:141,146:146,37:37,40:40,58:58,64:64,70:70,72:72,89:89,99:99}],146:[function(t,e,r){for(var n,a=t(70),o=t(72),i=t(147),s=i("typed_array"),l=i("view"),c=!(!a.ArrayBuffer||!a.DataView),u=c,p=0,f="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");p<9;)(n=a[f[p++]])?(o(n.prototype,s,!0),o(n.prototype,l,!0)):u=!1;e.exports={ABV:c,CONSTR:u,TYPED:s,VIEW:l}},{147:147,70:70,72:72}],147:[function(t,e,r){var n=0,a=Math.random();e.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+a).toString(36))}},{}],148:[function(t,e,r){var n=t(70).navigator;e.exports=n&&n.userAgent||""},{70:70}],149:[function(t,e,r){var n=t(81);e.exports=function(t,e){if(!n(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},{81:81}],150:[function(t,e,r){var n=t(70),a=t(52),o=t(89),i=t(151),s=t(99).f;e.exports=function(t){var e=a.Symbol||(a.Symbol=o?{}:n.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:i.f(t)})}},{151:151,52:52,70:70,89:89,99:99}],151:[function(t,e,r){r.f=t(152)},{152:152}],152:[function(t,e,r){var n=t(126)("wks"),a=t(147),o=t(70).Symbol,i="function"==typeof o;(e.exports=function(t){return n[t]||(n[t]=i&&o[t]||(i?o:a)("Symbol."+t))}).store=n},{126:126,147:147,70:70}],153:[function(t,e,r){var n=t(47),a=t(152)("iterator"),o=t(88);e.exports=t(52).getIteratorMethod=function(t){if(null!=t)return t[a]||t["@@iterator"]||o[n(t)]}},{152:152,47:47,52:52,88:88}],154:[function(t,e,r){var n=t(62);n(n.P,"Array",{copyWithin:t(39)}),t(35)("copyWithin")},{35:35,39:39,62:62}],155:[function(t,e,r){"use strict";var n=t(62),a=t(42)(4);n(n.P+n.F*!t(128)([].every,!0),"Array",{every:function(t,e){return a(this,t,e)}})},{128:128,42:42,62:62}],156:[function(t,e,r){var n=t(62);n(n.P,"Array",{fill:t(40)}),t(35)("fill")},{35:35,40:40,62:62}],157:[function(t,e,r){"use strict";var n=t(62),a=t(42)(2);n(n.P+n.F*!t(128)([].filter,!0),"Array",{filter:function(t,e){return a(this,t,e)}})},{128:128,42:42,62:62}],158:[function(t,e,r){"use strict";var n=t(62),a=t(42)(6),o="findIndex",i=!0;o in[]&&Array(1)[o](function(){i=!1}),n(n.P+n.F*i,"Array",{findIndex:function(t,e){return a(this,t,1=t.length?(this._t=void 0,a(1)):a(0,"keys"==e?r:"values"==e?t[r]:[r,t[r]])},"values"),o.Arguments=o.Array,n("keys"),n("values"),n("entries")},{140:140,35:35,85:85,87:87,88:88}],165:[function(t,e,r){"use strict";var n=t(62),a=t(140),o=[].join;n(n.P+n.F*(t(77)!=Object||!t(128)(o)),"Array",{join:function(t){return o.call(a(this),void 0===t?",":t)}})},{128:128,140:140,62:62,77:77}],166:[function(t,e,r){"use strict";var n=t(62),o=t(140),i=t(139),s=t(141),l=[].lastIndexOf,c=!!l&&1/[1].lastIndexOf(1,-0)<0;n(n.P+n.F*(c||!t(128)(l)),"Array",{lastIndexOf:function(t,e){if(c)return l.apply(this,arguments)||0;var r=o(this),n=s(r.length),a=n-1;for(1>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},{62:62}],189:[function(t,e,r){var n=t(62),a=Math.exp;n(n.S,"Math",{cosh:function(t){return(a(t=+t)+a(-t))/2}})},{62:62}],190:[function(t,e,r){var n=t(62),a=t(90);n(n.S+n.F*(a!=Math.expm1),"Math",{expm1:a})},{62:62,90:90}],191:[function(t,e,r){var n=t(62);n(n.S,"Math",{fround:t(91)})},{62:62,91:91}],192:[function(t,e,r){var n=t(62),l=Math.abs;n(n.S,"Math",{hypot:function(t,e){for(var r,n,a=0,o=0,i=arguments.length,s=0;o>>16)*o+a*(65535&n>>>16)<<16>>>0)}})},{62:62,64:64}],194:[function(t,e,r){var n=t(62);n(n.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},{62:62}],195:[function(t,e,r){var n=t(62);n(n.S,"Math",{log1p:t(92)})},{62:62,92:92}],196:[function(t,e,r){var n=t(62);n(n.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},{62:62}],197:[function(t,e,r){var n=t(62);n(n.S,"Math",{sign:t(93)})},{62:62,93:93}],198:[function(t,e,r){var n=t(62),a=t(90),o=Math.exp;n(n.S+n.F*t(64)(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(a(t)-a(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},{62:62,64:64,90:90}],199:[function(t,e,r){var n=t(62),a=t(90),o=Math.exp;n(n.S,"Math",{tanh:function(t){var e=a(t=+t),r=a(-t);return e==1/0?1:r==1/0?-1:(e-r)/(o(t)+o(-t))}})},{62:62,90:90}],200:[function(t,e,r){var n=t(62);n(n.S,"Math",{trunc:function(t){return(0w;w++)o(g,b=x[w])&&!o(m,b)&&f(m,b,p(g,b));(m.prototype=v).constructor=m,t(118)(a,h,m)}},{101:101,103:103,118:118,134:134,143:143,48:48,58:58,64:64,70:70,71:71,75:75,98:98,99:99}],202:[function(t,e,r){var n=t(62);n(n.S,"Number",{EPSILON:Math.pow(2,-52)})},{62:62}],203:[function(t,e,r){var n=t(62),a=t(70).isFinite;n(n.S,"Number",{isFinite:function(t){return"number"==typeof t&&a(t)}})},{62:62,70:70}],204:[function(t,e,r){var n=t(62);n(n.S,"Number",{isInteger:t(80)})},{62:62,80:80}],205:[function(t,e,r){var n=t(62);n(n.S,"Number",{isNaN:function(t){return t!=t}})},{62:62}],206:[function(t,e,r){var n=t(62),a=t(80),o=Math.abs;n(n.S,"Number",{isSafeInteger:function(t){return a(t)&&o(t)<=9007199254740991}})},{62:62,80:80}],207:[function(t,e,r){var n=t(62);n(n.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},{62:62}],208:[function(t,e,r){var n=t(62);n(n.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},{62:62}],209:[function(t,e,r){var n=t(62),a=t(112);n(n.S+n.F*(Number.parseFloat!=a),"Number",{parseFloat:a})},{112:112,62:62}],210:[function(t,e,r){var n=t(62),a=t(113);n(n.S+n.F*(Number.parseInt!=a),"Number",{parseInt:a})},{113:113,62:62}],211:[function(t,e,r){"use strict";function c(t,e){for(var r=-1,n=e;++r<6;)n+=t*i[r],i[r]=n%1e7,n=o(n/1e7)}function u(t){for(var e=6,r=0;0<=--e;)r+=i[e],i[e]=o(r/t),r=r%t*1e7}function p(){for(var t=6,e="";0<=--t;)if(""!==e||0===t||0!==i[t]){var r=String(i[t]);e=""===e?r:e+h.call("0",7-r.length)+r}return e}var n=t(62),f=t(139),d=t(34),h=t(133),a=1..toFixed,o=Math.floor,i=[0,0,0,0,0,0],m="Number.toFixed: incorrect invocation!",g=function(t,e,r){return 0===e?r:e%2==1?g(t,e-1,r*t):g(t*t,e/2,r)};n(n.P+n.F*(!!a&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!t(64)(function(){a.call({})})),"Number",{toFixed:function(t){var e,r,n,a,o=d(this,m),i=f(t),s="",l="0";if(i<0||20t;)e(n[t++]);u._c=[],u._n=!1,r&&!u._h&&N(u)})}}function o(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),a(e,!0))}var i,s,l,c,u=r(89),f=r(70),d=r(54),h=r(47),m=r(62),g=r(81),v=r(33),A=r(37),y=r(68),b=r(127),x=r(136).set,w=r(95)(),_=r(96),C=r(114),P=r(148),S=r(115),L="Promise",E=f.TypeError,T=f.process,k=T&&T.versions,R=k&&k.v8||"",F=f[L],I="process"==h(T),O=s=_.f,B=!!function(){try{var t=F.resolve(1),e=(t.constructor={})[r(152)("species")]=function(t){t(n,n)};return(I||"function"==typeof PromiseRejectionEvent)&&t.then(n)instanceof e&&0!==R.indexOf("6.6")&&-1===P.indexOf("Chrome/66")}catch(t){}}(),N=function(o){x.call(f,function(){var t,e,r,n=o._v,a=D(o);if(a&&(t=C(function(){I?T.emit("unhandledRejection",n,o):(e=f.onunhandledrejection)?e({promise:o,reason:n}):(r=f.console)&&r.error&&r.error("Unhandled promise rejection",n)}),o._h=I||D(o)?2:1),o._a=void 0,a&&t.e)throw t.v})},D=function(t){return 1!==t._h&&0===(t._a||t._c).length},M=function(e){x.call(f,function(){var t;I?T.emit("rejectionHandled",e):(t=f.onrejectionhandled)&&t({promise:e,reason:e._v})})},z=function(t){var r,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw E("Promise can't be resolved itself");(r=p(t))?w(function(){var e={_w:n,_d:!1};try{r.call(t,d(z,e,1),d(o,e,1))}catch(t){o.call(e,t)}}):(n._v=t,n._s=1,a(n,!1))}catch(t){o.call({_w:n,_d:!1},t)}}};B||(F=function(t){A(this,F,L,"_h"),v(t),i.call(this);try{t(d(z,this,1),d(o,this,1))}catch(t){o.call(this,t)}},(i=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=r(117)(F.prototype,{then:function(t,e){var r=O(b(this,F));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=I?T.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&a(this,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),l=function(){var t=new i;this.promise=t,this.resolve=d(z,t,1),this.reject=d(o,t,1)},_.f=O=function(t){return t===F||t===c?new l(t):s(t)}),m(m.G+m.W+m.F*!B,{Promise:F}),r(124)(F,L),r(123)(L),c=r(52)[L],m(m.S+m.F*!B,L,{reject:function(t){var e=O(this);return(0,e.reject)(t),e.promise}}),m(m.S+m.F*(u||!B),L,{resolve:function(t){return S(u&&this===c?F:this,t)}}),m(m.S+m.F*!(B&&r(86)(function(t){F.all(t).catch(n)})),L,{all:function(t){var i=this,e=O(i),s=e.resolve,l=e.reject,r=C(function(){var n=[],a=0,o=1;y(t,!1,function(t){var e=a++,r=!1;n.push(void 0),o++,i.resolve(t).then(function(t){r||(r=!0,n[e]=t,--o||s(n))},l)}),--o||s(n)});return r.e&&l(r.v),e.promise},race:function(t){var e=this,r=O(e),n=r.reject,a=C(function(){y(t,!1,function(t){e.resolve(t).then(r.resolve,n)})});return a.e&&n(a.v),r.promise}})},{114:114,115:115,117:117,123:123,124:124,127:127,136:136,148:148,152:152,33:33,37:37,47:47,52:52,54:54,62:62,68:68,70:70,81:81,86:86,89:89,95:95,96:96}],233:[function(t,e,r){var n=t(62),o=t(33),i=t(38),s=(t(70).Reflect||{}).apply,l=Function.apply;n(n.S+n.F*!t(64)(function(){s(function(){})}),"Reflect",{apply:function(t,e,r){var n=o(t),a=i(r);return s?s(n,e,a):l.call(n,e,a)}})},{33:33,38:38,62:62,64:64,70:70}],234:[function(t,e,r){var n=t(62),l=t(98),c=t(33),u=t(38),p=t(81),a=t(64),f=t(46),d=(t(70).Reflect||{}).construct,h=a(function(){function t(){}return!(d(function(){},[],t)instanceof t)}),m=!a(function(){d(function(){})});n(n.S+n.F*(h||m),"Reflect",{construct:function(t,e,r){c(t),u(e);var n=arguments.length<3?t:c(r);if(m&&!h)return d(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var a=[null];return a.push.apply(a,e),new(f.apply(t,a))}var o=n.prototype,i=l(p(o)?o:Object.prototype),s=Function.apply.call(t,i,e);return p(s)?s:i}})},{33:33,38:38,46:46,62:62,64:64,70:70,81:81,98:98}],235:[function(t,e,r){var n=t(99),a=t(62),o=t(38),i=t(143);a(a.S+a.F*t(64)(function(){Reflect.defineProperty(n.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(t,e,r){o(t),e=i(e,!0),o(r);try{return n.f(t,e,r),!0}catch(t){return!1}}})},{143:143,38:38,62:62,64:64,99:99}],236:[function(t,e,r){var n=t(62),a=t(101).f,o=t(38);n(n.S,"Reflect",{deleteProperty:function(t,e){var r=a(o(t),e);return!(r&&!r.configurable)&&delete t[e]}})},{101:101,38:38,62:62}],237:[function(t,e,r){"use strict";function n(t){this._t=o(t),this._i=0;var e,r=this._k=[];for(e in t)r.push(e)}var a=t(62),o=t(38);t(84)(n,"Object",function(){var t,e=this._k;do{if(this._i>=e.length)return{value:void 0,done:!0}}while(!((t=e[this._i++])in this._t));return{value:t,done:!1}}),a(a.S,"Reflect",{enumerate:function(t){return new n(t)}})},{38:38,62:62,84:84}],238:[function(t,e,r){var n=t(101),a=t(62),o=t(38);a(a.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return n.f(o(t),e)}})},{101:101,38:38,62:62}],239:[function(t,e,r){var n=t(62),a=t(105),o=t(38);n(n.S,"Reflect",{getPrototypeOf:function(t){return a(o(t))}})},{105:105,38:38,62:62}],240:[function(t,e,r){var s=t(101),l=t(105),c=t(71),n=t(62),u=t(81),p=t(38);n(n.S,"Reflect",{get:function t(e,r,n){var a,o,i=arguments.length<3?e:n;return p(e)===i?e[r]:(a=s.f(e,r))?c(a,"value")?a.value:void 0!==a.get?a.get.call(i):void 0:u(o=l(e))?t(o,r,i):void 0}})},{101:101,105:105,38:38,62:62,71:71,81:81}],241:[function(t,e,r){var n=t(62);n(n.S,"Reflect",{has:function(t,e){return e in t}})},{62:62}],242:[function(t,e,r){var n=t(62),a=t(38),o=Object.isExtensible;n(n.S,"Reflect",{isExtensible:function(t){return a(t),!o||o(t)}})},{38:38,62:62}],243:[function(t,e,r){var n=t(62);n(n.S,"Reflect",{ownKeys:t(111)})},{111:111,62:62}],244:[function(t,e,r){var n=t(62),a=t(38),o=Object.preventExtensions;n(n.S,"Reflect",{preventExtensions:function(t){a(t);try{return o&&o(t),!0}catch(t){return!1}}})},{38:38,62:62}],245:[function(t,e,r){var n=t(62),a=t(122);a&&n(n.S,"Reflect",{setPrototypeOf:function(t,e){a.check(t,e);try{return a.set(t,e),!0}catch(t){return!1}}})},{122:122,62:62}],246:[function(t,e,r){var c=t(99),u=t(101),p=t(105),f=t(71),n=t(62),d=t(116),h=t(38),m=t(81);n(n.S,"Reflect",{set:function t(e,r,n,a){var o,i,s=arguments.length<4?e:a,l=u.f(h(e),r);if(!l){if(m(i=p(e)))return t(i,r,n,s);l=d(0)}if(f(l,"value")){if(!1===l.writable||!m(s))return!1;if(o=u.f(s,r)){if(o.get||o.set||!1===o.writable)return!1;o.value=n,c.f(s,r,o)}else c.f(s,r,d(0,n));return!0}return void 0!==l.set&&(l.set.call(s,n),!0)}})},{101:101,105:105,116:116,38:38,62:62,71:71,81:81,99:99}],247:[function(t,e,r){var n=t(70),o=t(75),a=t(99).f,i=t(103).f,s=t(82),l=t(66),c=n.RegExp,u=c,p=c.prototype,f=/a/g,d=/a/g,h=new c(f)!==f;if(t(58)&&(!h||t(64)(function(){return d[t(152)("match")]=!1,c(f)!=f||c(d)==d||"/a/i"!=c(f,"i")}))){function m(e){e in c||a(c,e,{configurable:!0,get:function(){return u[e]},set:function(t){u[e]=t}})}c=function(t,e){var r=this instanceof c,n=s(t),a=void 0===e;return!r&&n&&t.constructor===c&&a?t:o(h?new u(n&&!a?t.source:t,e):u((n=t instanceof c)?t.source:t,n&&a?l.call(t):e),r?this:p,c)};for(var g=i(u),v=0;g.length>v;)m(g[v++]);(p.constructor=c).prototype=p,t(118)(n,"RegExp",c)}t(123)("RegExp")},{103:103,118:118,123:123,152:152,58:58,64:64,66:66,70:70,75:75,82:82,99:99}],248:[function(t,e,r){"use strict";var n=t(120);t(62)({target:"RegExp",proto:!0,forced:n!==/./.exec},{exec:n})},{120:120,62:62}],249:[function(t,e,r){t(58)&&"g"!=/./g.flags&&t(99).f(RegExp.prototype,"flags",{configurable:!0,get:t(66)})},{58:58,66:66,99:99}],250:[function(t,e,r){"use strict";var p=t(38),f=t(141),d=t(36),h=t(119);t(65)("match",1,function(n,a,c,u){return[function(t){var e=n(this),r=null==t?void 0:t[a];return void 0!==r?r.call(t,e):new RegExp(t)[a](String(e))},function(t){var e=u(c,t,this);if(e.done)return e.value;var r=p(t),n=String(this);if(!r.global)return h(r,n);for(var a,o=r.unicode,i=[],s=r.lastIndex=0;null!==(a=h(r,n));){var l=String(a[0]);""===(i[s]=l)&&(r.lastIndex=d(n,f(r.lastIndex),o)),s++}return 0===s?null:i}]})},{119:119,141:141,36:36,38:38,65:65}],251:[function(t,e,r){"use strict";var C=t(38),n=t(142),P=t(141),S=t(139),L=t(36),E=t(119),T=Math.max,k=Math.min,f=Math.floor,d=/\$([$&`']|\d\d?|<[^>]*>)/g,h=/\$([$&`']|\d\d?)/g;t(65)("replace",2,function(a,o,x,w){return[function(t,e){var r=a(this),n=null==t?void 0:t[o];return void 0!==n?n.call(t,r,e):x.call(String(r),t,e)},function(t,e){var r=w(x,t,this,e);if(r.done)return r.value;var n=C(t),a=String(this),o="function"==typeof e;o||(e=String(e));var i=n.global;if(i){var s=n.unicode;n.lastIndex=0}for(var l=[];;){var c=E(n,a);if(null===c)break;if(l.push(c),!i)break;""===String(c[0])&&(n.lastIndex=L(a,P(n.lastIndex),s))}for(var u,p="",f=0,d=0;d>>0,u=new RegExp(t.source,s+"g");(n=f.call(u,r))&&!(l<(a=u[m])&&(i.push(r.slice(l,n.index)),1=c));)u[m]===n.index&&u[m]++;return l===r[h]?!o&&u.test("")||i.push(""):i.push(r.slice(l)),i[h]>c?i.slice(0,c):i}:"0"[i](void 0,0)[h]?function(t,e){return void 0===t&&0===e?[]:g.call(this,t,e)}:g,[function(t,e){var r=a(this),n=null==t?void 0:t[o];return void 0!==n?n.call(t,r,e):A.call(String(r),t,e)},function(t,e){var r=v(A,t,this,e,A!==g);if(r.done)return r.value;var n=y(t),a=String(this),o=b(n,RegExp),i=n.unicode,s=(n.ignoreCase?"i":"")+(n.multiline?"m":"")+(n.unicode?"u":"")+(S?"y":"g"),l=new o(S?n:"^(?:"+n.source+")",s),c=void 0===e?P:e>>>0;if(0==c)return[];if(0===a.length)return null===_(l,a)?[a]:[];for(var u=0,p=0,f=[];p>10),e%1024+56320))}return r.join("")}})},{137:137,62:62}],266:[function(t,e,r){"use strict";var n=t(62),a=t(130);n(n.P+n.F*t(63)("includes"),"String",{includes:function(t,e){return!!~a(this,t,"includes").indexOf(t,1=e.length?{value:void 0,done:!0}:(t=n(e,r),this._i+=t.length,{value:t,done:!1})})},{129:129,85:85}],269:[function(t,e,r){"use strict";t(131)("link",function(e){return function(t){return e(this,"a","href",t)}})},{131:131}],270:[function(t,e,r){var n=t(62),i=t(140),s=t(141);n(n.S,"String",{raw:function(t){for(var e=i(t.raw),r=s(e.length),n=arguments.length,a=[],o=0;oa;)u(Y,e=r[a++])||e==W||e==h||n.push(e);return n}function l(t){for(var e,r=t===Z,n=M(r?q:L(t)),a=[],o=0;n.length>o;)!u(Y,e=n[o++])||r&&!u(Z,e)||a.push(Y[e]);return a}var c=t(70),u=t(71),p=t(58),f=t(62),d=t(118),h=t(94).KEY,m=t(64),g=t(126),v=t(124),A=t(147),y=t(152),b=t(151),x=t(150),w=t(61),_=t(79),C=t(38),P=t(81),S=t(142),L=t(140),E=t(143),T=t(116),k=t(98),R=t(102),F=t(101),I=t(104),O=t(99),B=t(107),N=F.f,D=O.f,M=R.f,z=c.Symbol,U=c.JSON,j=U&&U.stringify,G="prototype",W=y("_hidden"),H=y("toPrimitive"),V={}.propertyIsEnumerable,Q=g("symbol-registry"),Y=g("symbols"),q=g("op-symbols"),Z=Object[G],X="function"==typeof z&&!!I.f,K=c.QObject,J=!K||!K[G]||!K[G].findChild,$=p&&m(function(){return 7!=k(D({},"a",{get:function(){return D(this,"a",{value:7}).a}})).a})?function(t,e,r){var n=N(Z,e);n&&delete Z[e],D(t,e,r),n&&t!==Z&&D(Z,e,n)}:D,tt=X&&"symbol"==typeof z.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof z},et=function(t,e,r){return t===Z&&et(q,e,r),C(t),e=E(e,!0),C(r),u(Y,e)?(r.enumerable?(u(t,W)&&t[W][e]&&(t[W][e]=!1),r=k(r,{enumerable:T(0,!1)})):(u(t,W)||D(t,W,T(1,{})),t[W][e]=!0),$(t,e,r)):D(t,e,r)};X||(d((z=function(t){if(this instanceof z)throw TypeError("Symbol is not a constructor!");var e=A(0nt;)y(rt[nt++]);for(var at=B(y.store),ot=0;at.length>ot;)x(at[ot++]);f(f.S+f.F*!X,"Symbol",{for:function(t){return u(Q,t+="")?Q[t]:Q[t]=z(t)},keyFor:function(t){if(!tt(t))throw TypeError(t+" is not a symbol!");for(var e in Q)if(Q[e]===t)return e},useSetter:function(){J=!0},useSimple:function(){J=!1}}),f(f.S+f.F*!X,"Object",{create:function(t,e){return void 0===e?k(t):a(k(t),e)},defineProperty:et,defineProperties:a,getOwnPropertyDescriptor:i,getOwnPropertyNames:s,getOwnPropertySymbols:l});var it=m(function(){I.f(1)});f(f.S+f.F*it,"Object",{getOwnPropertySymbols:function(t){return I.f(S(t))}}),U&&f(f.S+f.F*(!X||m(function(){var t=z();return"[null]"!=j([t])||"{}"!=j({a:t})||"{}"!=j(Object(t))})),"JSON",{stringify:function(t){for(var e,r,n=[t],a=1;as;)void 0!==(r=a(n,e=o[s++]))&&p(i,e,r);return i}})},{101:101,111:111,140:140,53:53,62:62}],296:[function(t,e,r){var n=t(62),a=t(110)(!1);n(n.S,"Object",{values:function(t){return a(t)}})},{110:110,62:62}],297:[function(t,e,r){"use strict";var n=t(62),a=t(52),o=t(70),i=t(127),s=t(115);n(n.P+n.R,"Promise",{finally:function(e){var r=i(this,a.Promise||o.Promise),t="function"==typeof e;return this.then(t?function(t){return s(r,e()).then(function(){return t})}:e,t?function(t){return s(r,e()).then(function(){throw t})}:e)}})},{115:115,127:127,52:52,62:62,70:70}],298:[function(t,e,r){"use strict";var n=t(62),a=t(132),o=t(148),i=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);n(n.P+n.F*i,"String",{padEnd:function(t,e){return a(this,t,1/g,">").replace(/"/g,""").replace(/'/g,"'")}function vt(t){return"number"==typeof t&&100"+e+"":""}function _t(t){var e="solid",r="",n="",a="";if(t)switch("string"==typeof t?r=t:(t.type&&(e=t.type),t.color&&(r=t.color),t.alpha&&(n+=''),t.transparency&&(n+='')),e){case"solid":a+=""+wt(r,n)+"";break;default:a+=""}return a}function Ct(t){return t._rels.length+t._relsChart.length+t._relsMedia.length+1}function Pt(l,c,u,t){void 0===l&&(l=[]),void 0===c&&(c={});var e,p=P,f=0,d=1*B,r=0,h=[{rows:[]}];if(c.verbose&&(console.log("-- VERBOSE MODE ----------------------------------"),console.log(".. (PARAMETERS)"),console.log("presLayout.height ......... = "+u.height/B),console.log("tabOpts.h ................. = "+c.h),console.log("tabOpts.w ................. = "+c.w),console.log("tabOpts.colW .............. = "+c.colW),console.log("tabOpts.slideMargin ....... = "+(c.slideMargin||"")),console.log(".. (/PARAMETERS)")),c.slideMargin||0===c.slideMargin||(c.slideMargin=P[0]),t&&void 0!==t._margin?Array.isArray(t._margin)?p=t._margin:isNaN(Number(t._margin))||(p=[Number(t._margin),Number(t._margin),Number(t._margin),Number(t._margin)]):!c.slideMargin&&0!==c.slideMargin||(Array.isArray(c.slideMargin)?p=c.slideMargin:isNaN(c.slideMargin)||(p=[c.slideMargin,c.slideMargin,c.slideMargin,c.slideMargin])),c.verbose&&console.log("arrInchMargins ......... = "+p.toString()),(l[0]||[]).forEach(function(t){var e=(t=t||{_type:at.tablecell}).options||null;r+=Number(e&&e.colspan?e.colspan:1)}),c.verbose&&console.log("numCols ................ = "+r),!c.w&&c.colW&&(Array.isArray(c.colW)?c.colW.forEach(function(t){"number"!=typeof c.w?c.w=0+t:c.w+=t}):c.w=c.colW*r),e="number"==typeof c.w?vt(c.w):u.width-vt(("number"==typeof c.x?c.x:p[1])+p[3]),c.verbose&&console.log("emuSlideTabW (in) ...... = "+(e/B).toFixed(1)),!c.colW||!Array.isArray(c.colW))if(c.colW&&!isNaN(Number(c.colW))){var n=[];(l[0]||[]).forEach(function(){return n.push(c.colW)}),c.colW=[],n.forEach(function(t){Array.isArray(c.colW)&&c.colW.push(t)})}else{c.colW=[];for(var a=0;ae?e=At(t.options.margin[0]):c.margin&&c.margin[0]&&At(c.margin[0])>e&&(e=At(c.margin[0])),t.options.margin&&t.options.margin[2]&&At(t.options.margin[2])>r?r=At(t.options.margin[2]):c.margin&&c.margin[2]&&At(c.margin[2])>r&&(r=At(c.margin[2]))}),d=c.h&&"number"==typeof c.h?c.h:u.height-vt(p[0]+p[2])-(c.y&&"number"==typeof c.y?c.y:0),c.verbose&&console.log("emuSlideTabH (in) ...... = "+(d/B).toFixed(1)),1 "+d/B),h.push({rows:[]}),f=0,(c.addHeaderToEach||c.autoPageRepeatHeader)&&c._arrObjTabHeadRows){var e=[];i.forEach(function(t){e.push({type:at.tablecell,text:t._lines.join(""),options:t.options})}),l.unshift(e);var r=[];return c._arrObjTabHeadRows.forEach(function(t){var e=[];t.forEach(function(t){return e.push(t)}),r.push(e)}),l=O(O([],r),l),"break"}var t=h[h.length-1],n=[];a.forEach(function(t){n.push({type:at.tablecell,text:"",options:t.options})}),t.rows.push(n)}i.forEach(function(t,e){if(0o&&(o=t._lineHeight)}}),f+=o,c.verbose&&console.log("- SLIDE ["+h.length+"]: ROW ["+m+"]: one line added ... emuTabCurrH = "+(f/B).toFixed(2))};0'},contain:function(t,e){var r=t.h/t.w,n=r'},crop:function(t,e){var r=e.x,n=t.w-(e.x+e.w),a=e.y,o=t.h-(e.y+e.h);return''}};function Lt(R){var F=R._name?'':"",I=1;return R._bkgdImgRid?F+='':R.background&&R.background.color?F+=""+_t(R.background)+"":!R.bkgd&&R._name&&R._name===n&&(F+=''),F+="",F+='',F+='',F+='',R._slideObjects.forEach(function(n,t){var e,r,a=0,o=0,i=dt("75%","X",R._presLayout),s=0,l="";switch(void 0!==R._slideLayout&&void 0!==R._slideLayout._slideObjects&&n.options&&n.options.placeholder&&(r=R._slideLayout._slideObjects.filter(function(t){return t.options.placeholder===n.options.placeholder})[0]),n.options=n.options||{},void 0!==n.options.x&&(a=dt(n.options.x,"X",R._presLayout)),void 0!==n.options.y&&(o=dt(n.options.y,"Y",R._presLayout)),void 0!==n.options.w&&(i=dt(n.options.w,"X",R._presLayout)),void 0!==n.options.h&&(s=dt(n.options.h,"Y",R._presLayout)),r&&(!r.options.x&&0!==r.options.x||(a=dt(r.options.x,"X",R._presLayout)),!r.options.y&&0!==r.options.y||(o=dt(r.options.y,"Y",R._presLayout)),!r.options.w&&0!==r.options.w||(i=dt(r.options.w,"X",R._presLayout)),!r.options.h&&0!==r.options.h||(s=dt(r.options.h,"Y",R._presLayout))),n.options.flipH&&(l+=' flipH="1"'),n.options.flipV&&(l+=' flipV="1"'),n.options.rotate&&(l+=' rot="'+yt(n.options.rotate)+'"'),n._type){case at.table:var c,u=n.arrTabRows,f=n.options,p=0,d=0;u[0].forEach(function(t){c=t.options||null,p+=c&&c.colspan?Number(c.colspan):1});var h='';if(h+=' ',h+='',h+='',Array.isArray(f.colW)){h+="";for(var m=0;m'}h+=""}else{d=f.colW?f.colW:B,n.options.w&&!f.colW&&(d=Math.round(("number"==typeof n.options.w?n.options.w:1)/p)),h+="";for(var v=0;v';h+=""}u.forEach(function(o){for(var i,s,l,t=function(t){var e=o[t],r=null===(i=e.options)||void 0===i?void 0:i.colspan,n=null===(s=e.options)||void 0===s?void 0:s.rowspan;if(r&&1',t.forEach(function(t){var e,r,n=t,a={rowSpan:1<(null===(e=n.options)||void 0===e?void 0:e.rowspan)?n.options.rowspan:void 0,gridSpan:1<(null===(r=n.options)||void 0===r?void 0:r.colspan)?n.options.colspan:void 0,vMerge:n._vmerge?1:void 0,hMerge:n._hmerge?1:void 0},o=Object.keys(a).map(function(t){return[t,a[t]]}).filter(function(t){return t[0],!!t[1]}).map(function(t){return t[0]+'="'+t[1]+'"'}).join(" ");if(o=o&&" "+o,n._hmerge||n._vmerge)h+="";else{var i=n.options||{};n.options=i,["align","bold","border","color","fill","fontFace","fontSize","margin","underline","valign"].forEach(function(t){f[t]&&!i[t]&&0!==i[t]&&(i[t]=f[t])});var s=i.valign?' anchor="'+i.valign.replace(/^c$/i,"ctr").replace(/^m$/i,"ctr").replace("center","ctr").replace("middle","ctr").replace("top","t").replace("btm","b").replace("bottom","b")+'"':"",l=n._optImp&&n._optImp.fill&&n._optImp.fill.color?n._optImp.fill.color:n._optImp&&n._optImp.fill&&"string"==typeof n._optImp.fill?n._optImp.fill:"",c=(l=l||i.fill&&i.fill.color?i.fill.color:i.fill&&"string"==typeof i.fill?i.fill:"")?""+wt(l)+"":"",u=0===i.margin||i.margin?i.margin:N;Array.isArray(u)||"number"!=typeof u||(u=[u,u,u,u]);var p=' marL="'+At(u[3])+'" marR="'+At(u[1])+'" marT="'+At(u[0])+'" marB="'+At(u[2])+'"';h+=""+Rt(n)+"",i.border&&Array.isArray(i.border)&&[{idx:3,name:"lnL"},{idx:1,name:"lnR"},{idx:0,name:"lnT"},{idx:2,name:"lnB"}].forEach(function(t){"none"!==i.border[t.idx].type?(h+="',h+=""+wt(i.border[t.idx].color)+"",h+='',h+=""):h+=""}),h+=c,h+=" ",h+=" "}}),h+=""}),h+=" ",h+=" ",h+=" ",F+=h+="",I++;break;case at.text:case at.placeholder:var A=n.options.shapeName?gt(n.options.shapeName):"Object"+(t+1);if(n.options.line||0!==s||(s=.3*B),n.options._bodyProp||(n.options._bodyProp={}),n.options.margin&&Array.isArray(n.options.margin)?(n.options._bodyProp.lIns=At(n.options.margin[0]||0),n.options._bodyProp.rIns=At(n.options.margin[1]||0),n.options._bodyProp.bIns=At(n.options.margin[2]||0),n.options._bodyProp.tIns=At(n.options.margin[3]||0)):"number"==typeof n.options.margin&&(n.options._bodyProp.lIns=At(n.options.margin),n.options._bodyProp.rIns=At(n.options.margin),n.options._bodyProp.bIns=At(n.options.margin),n.options._bodyProp.tIns=At(n.options.margin)),F+="",F+='',n.options.hyperlink&&n.options.hyperlink.url&&(F+=''),n.options.hyperlink&&n.options.hyperlink.slide&&(F+=''),F+="",F+="':"/>"),F+=""+("placeholder"===n._type?Ft(n):Ft(r))+"",F+="",F+="",F+='',F+='',"custGeom"===n.shape)F+="",F+="",F+="",F+="",F+="",F+="",F+='',F+="",F+='',null===(e=n.options.points)||void 0===e||e.map(function(t,e){if("curve"in t)switch(t.curve.type){case"arc":F+='';break;case"cubic":F+='\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t';break;case"quadratic":F+='\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t'}else"close"in t?F+="":t.moveTo||0===e?F+='':F+=''}),F+="",F+="",F+="";else{if(F+='',n.options.rectRadius)F+='';else if(n.options.angleRange){for(var y=0;y<2;y++){var b=n.options.angleRange[y];F+=''}n.options.arcThicknessRatio&&(F+='')}F+=""}F+=n.options.fill?_t(n.options.fill):"",n.options.line&&(F+=n.options.line.width?'':"",n.options.line.color&&(F+=_t(n.options.line)),n.options.line.dashType&&(F+=''),n.options.line.beginArrowType&&(F+=''),n.options.line.endArrowType&&(F+=''),F+=""),n.options.shadow&&(n.options.shadow.type=n.options.shadow.type||"outer",n.options.shadow.blur=At(n.options.shadow.blur||8),n.options.shadow.offset=At(n.options.shadow.offset||4),n.options.shadow.angle=Math.round(6e4*(n.options.shadow.angle||270)),n.options.shadow.opacity=Math.round(1e5*(n.options.shadow.opacity||.75)),n.options.shadow.color=n.options.shadow.color||D.color,F+="",F+="',F+='',F+='',F+="",F+=""),F+="",F+=Rt(n),F+="";break;case at.image:var x=n.options,w=x.sizing,_=x.rounding,C=i,P=s;if(F+="",F+=" ",F+='',n.hyperlink&&n.hyperlink.url&&(F+=''),n.hyperlink&&n.hyperlink.slide&&(F+=''),F+=" ",F+=' ',F+=" "+Ft(r)+"",F+=" ",F+="",(R._relsMedia||[]).filter(function(t){return t.rId===n.imageRid})[0]&&"svg"===(R._relsMedia||[]).filter(function(t){return t.rId===n.imageRid})[0].extn?(F+='',F+=" ",F+=' ',F+=' ',F+=" ",F+=" ",F+=""):F+='',w&&w.type){var S=w.w?dt(w.w,"X",R._presLayout):i,L=w.h?dt(w.h,"Y",R._presLayout):s,E=dt(w.x||0,"X",R._presLayout),T=dt(w.y||0,"Y",R._presLayout);F+=St[w.type]({w:C,h:P},{w:S,h:L,x:E,y:T}),C=S,P=L}else F+=" ";F+="",F+="",F+=" ",F+=' ',F+=' ',F+=" ",F+=' ',F+="",F+="";break;case at.media:"online"===n.mtype?(F+="",F+=" ",F+=' ',F+=" ",F+=" ",F+=' ',F+=" ",F+=" ",F+=' '):(F+="",F+=" ",F+=' ',F+=' ',F+=" ",F+=' ',F+=" ",F+=' ',F+=' ',F+=" ",F+=" ",F+=" ",F+=" ",F+=' '),F+=" ",F+=" ",F+=' ',F+=' ',F+=" ",F+=' ',F+=" ",F+="";break;case at.chart:var k=n.options;F+="",F+=" ",F+=' ',F+=" ",F+=" "+Ft(r)+"",F+=" ",F+=' ',F+=' ',F+=' ',F+=' ',F+=" ",F+=" ",F+="";break;default:F+=""}}),R._slideNumberProps&&(R._slideNumberProps.align||(R._slideNumberProps.align="left"),F+=' ',F+="",F+="',R._slideNumberProps.color&&(F+=_t(R._slideNumberProps.color)),R._slideNumberProps.fontFace&&(F+=''),F+=""),F+="",F+='',R._slideNumberProps.align.startsWith("l")?F+='':R._slideNumberProps.align.startsWith("c")?F+='':R._slideNumberProps.align.startsWith("r")?F+='':F+='',F+='',F+=""),F+="",F+=""}function Et(t,e){var r=0,n=''+v+'';return t._rels.forEach(function(t){r=Math.max(r,t.rId),-1':n+='':-1')}),(t._relsChart||[]).forEach(function(t){r=Math.max(r,t.rId),n+=''}),(t._relsMedia||[]).forEach(function(t){r=Math.max(r,t.rId),-1':-1':n+='':-1':n+='':-1':n+='')}),e.forEach(function(t,e){n+=''}),n+=""}function Tt(t,e){var r="",n="",a="",o="",i=e?"a:lvl1pPr":"a:pPr",s=At(u),l="<"+i+(t.options.rtlMode?' rtl="1" ':"");if(t.options.align)switch(t.options.align){case"left":l+=' algn="l"';break;case"right":l+=' algn="r"';break;case"center":l+=' algn="ctr"';break;case"justify":l+=' algn="just"';break;default:l+=""}if(t.options.lineSpacing?n='':t.options.lineSpacingMultiple&&(n=''),t.options.indentLevel&&!isNaN(Number(t.options.indentLevel))&&0'),t.options.paraSpaceAfter&&!isNaN(Number(t.options.paraSpaceAfter))&&0'),"object"==typeof t.options.bullet)if(t&&t.options&&t.options.bullet&&t.options.bullet.indent&&(s=At(t.options.bullet.indent)),t.options.bullet.type)"number"===t.options.bullet.type.toString().toLowerCase()&&(l+=' marL="'+(t.options.indentLevel&&0');else if(t.options.bullet.characterCode){var c="&#x"+t.options.bullet.characterCode+";";!1===/^[0-9A-Fa-f]{4}$/.test(t.options.bullet.characterCode)&&(console.warn("Warning: `bullet.characterCode should be a 4-digit unicode charatcer (ex: 22AB)`!"),c=lt.DEFAULT),l+=' marL="'+(t.options.indentLevel&&0'}else if(t.options.bullet.code){c="&#x"+t.options.bullet.code+";";!1===/^[0-9A-Fa-f]{4}$/.test(t.options.bullet.code)&&(console.warn("Warning: `bullet.code should be a 4-digit hex code (ex: 22AB)`!"),c=lt.DEFAULT),l+=' marL="'+(t.options.indentLevel&&0'}else l+=' marL="'+(t.options.indentLevel&&0';else!0===t.options.bullet?(l+=' marL="'+(t.options.indentLevel&&0'):!1===t.options.bullet&&(l+=' indent="0" marL="0"',r="");t.options.tabStops&&Array.isArray(t.options.tabStops)&&(o=""+t.options.tabStops.map(function(t){return''}).join("")+"");return l+=">"+n+a+r+o,e&&(l+=kt(t.options,!0)),l+=""}function kt(t,e){var r,n="",a=e?"a:defRPr":"a:rPr";if(n+="<"+a+' lang="'+(t.lang?t.lang:"en-US")+'"'+(t.lang?' altLang="en-US"':""),n+=t.fontSize?' sz="'+Math.round(t.fontSize)+'00"':"",n+=t.hasOwnProperty("bold")?' b="'+(t.bold?1:0)+'"':"",n+=t.hasOwnProperty("italic")?' i="'+(t.italic?1:0)+'"':"",n+=t.hasOwnProperty("strike")?' strike="'+("string"==typeof t.strike?t.strike:"sngStrike")+'"':"","object"==typeof t.underline&&(null===(r=t.underline)||void 0===r?void 0:r.style)?n+=' u="'+t.underline.style+'"':"string"==typeof t.underline?n+=' u="'+t.underline+'"':t.hyperlink&&(n+=' u="sng"'),t.baseline?n+=' baseline="'+Math.round(50*t.baseline)+'"':t.subscript?n+=' baseline="-40000"':t.superscript&&(n+=' baseline="30000"'),n+=t.charSpacing?' spc="'+Math.round(100*t.charSpacing)+'" kern="0"':"",n+=' dirty="0">',(t.color||t.fontFace||t.outline||"object"==typeof t.underline&&t.underline.color)&&(t.outline&&"object"==typeof t.outline&&(n+=''+_t(t.outline.color||"FFFFFF")+""),t.color&&(n+=_t(t.color)),t.highlight&&(n+=""+wt(t.highlight)+""),"object"==typeof t.underline&&t.underline.color&&(n+=""+_t(t.underline.color)+""),t.glow&&(n+=""+function(t,e){var r="",n=mt(e,t);return r+='',r+=wt(n.color,''),r+=""}(t.glow,S)+""),t.fontFace&&(n+='')),t.hyperlink){if("object"!=typeof t.hyperlink)throw new Error("ERROR: text `hyperlink` option should be an object. Ex: `hyperlink:{url:'https://github.com'}` ");if(!t.hyperlink.url&&!t.hyperlink.slide)throw new Error("ERROR: 'hyperlink requires either `url` or `slide`'");t.hyperlink.url?n+='":"/>"):t.hyperlink.slide&&(n+='":"/>")),t.color&&(n+="\t",n+='\t\t',n+='\t\t\t',n+="\t\t",n+="\t",n+="")}return n+=""}function Rt(n){var a=n.options||{},t=[],r=[];if(a&&n._type!==at.tablecell&&(void 0===n.text||null===n.text))return"";var o=n._type===at.tablecell?"":"";o+=function(t){var e="":"resize"===t.options.fit&&(e+="")),t.options.shrinkText&&(e+=""),e+=!1!==t.options._bodyProp.autoFit?"":""):e+=' wrap="square" rtlCol="0">',e+="",t._type===at.tablecell?"":e}(n),0===a.h&&a.line&&a.align?o+='':"placeholder"===n._type?o+=""+Tt(n,!0)+"":o+="","string"==typeof n.text||"number"==typeof n.text?t.push({text:n.text.toString(),options:a||{}}):n.text&&!Array.isArray(n.text)&&"object"==typeof n.text&&-1";var r=""),n.options.align=n.options.align||a.align,n.options.lineSpacing=n.options.lineSpacing||a.lineSpacing,n.options.lineSpacingMultiple=n.options.lineSpacingMultiple||a.lineSpacingMultiple,n.options.indentLevel=n.options.indentLevel||a.indentLevel,n.options.paraSpaceBefore=n.options.paraSpaceBefore||a.paraSpaceBefore,n.options.paraSpaceAfter=n.options.paraSpaceAfter||a.paraSpaceAfter,r=Tt(n,!1),o+=r,Object.entries(a).forEach(function(t){var e=t[0],r=t[1];n.options.hyperlink&&"color"===e||"bullet"===e||n.options[e]||(n.options[e]=r)}),o+=function(t){return t.text?""+kt(t.options,!1)+""+gt(t.text)+"":""}(n),(!n.text&&a.fontSize||n.options.fontSize)&&(e=!0,a.fontSize=a.fontSize||n.options.fontSize)}),n._type===at.tablecell&&(a.fontSize||a.fontFace)?a.fontFace?(o+='',o+='',o+='',o+='',o+=""):o+='':o+=e?'':'',o+=""}),o+=n._type===at.tablecell?"":""}function Ft(t){if(!t)return"";var e=t.options&&t.options._placeholderIdx?t.options._placeholderIdx:"",r=t.options&&t.options._placeholderType?t.options._placeholderType:"";return""}function It(t){return''+v+''+gt(function(t){var e="";return t._slideObjects.forEach(function(t){t._type===at.notes&&(e+=t.text&&t.text[0]?t.text[0].text:"")}),e.replace(/\r*\n/g,v)}(t))+''+t._slideNum+''}function Ot(t){t&&"object"==typeof t&&("outer"!==t.type&&"inner"!==t.type&&"none"!==t.type&&(console.warn("Warning: shadow.type options are `outer`, `inner` or `none`."),t.type="outer"),t.angle&&((isNaN(Number(t.angle))||t.angle<0||359 \n'),t.file("_rels/.rels",'\n'),t.file("docProps/app.xml",'Microsoft Excel0falseWorksheets1Sheet1\n'),t.file("docProps/core.xml",'PptxGenJSEly, Brent'+(new Date).toISOString()+''+(new Date).toISOString()+"\n"),t.file("xl/_rels/workbook.xml.rels",'\n'),t.file("xl/styles.xml",'\n'),t.file("xl/theme/theme1.xml",''),t.file("xl/workbook.xml",'\n'),t.file("xl/worksheets/_rels/sheet1.xml.rels",'\n');var n='';u.opts._type===J.BUBBLE?n+='':u.opts._type===J.SCATTER?n+='':(n+='',n+=''),u.opts._type===J.BUBBLE?f.forEach(function(t,e){0===e?n+="X-Axis":(n+=""+gt(t.name||" ")+"",n+=""+gt("Size "+e)+"")}):f.forEach(function(t){n+=""+gt((t.name||" ").replace("X-Axis","X-Values"))+""}),u.opts._type!==J.BUBBLE&&u.opts._type!==J.SCATTER&&f[0].labels.forEach(function(t){n+=""+gt(t)+""}),n+="\n",t.file("xl/sharedStrings.xml",n);var o='';u.opts._type===J.BUBBLE||(u.opts._type===J.SCATTER?(o+='',o+='',f.forEach(function(t,e){o+=''})):(o+='
',o+='',o+='',f.forEach(function(t,e){o+=''}))),o+="",o+='',o+="
",t.file("xl/tables/table1.xml",o);var i='';if(i+='',u.opts._type===J.BUBBLE?i+='':u.opts._type===J.SCATTER?i+='':i+='',i+='',i+='',u.opts._type===J.BUBBLE){i+="",i+='',i+="",i+="",i+='',i+='0';for(var s=1;s',i+=""+s+"",i+="";i+="",f[0].values.forEach(function(t,e){i+='',i+=''+t+"";for(var r=1,n=1;n',i+=""+(f[n].values[e]||"")+"",i+="",i+='',i+=""+(f[n].sizes[e]||"")+"",i+="",r++;i+=""})}else if(u.opts._type===J.SCATTER){i+="",i+='',i+="",i+="",i+='',i+='0';for(var l=1;l',i+=""+l+"",i+="";i+="",f[0].values.forEach(function(t,e){i+='',i+=''+t+"";for(var r=1;r',i+=""+(f[r].values[e]||0===f[r].values[e]?f[r].values[e]:"")+"",i+="";i+=""})}else{i+="",i+='',i+="",i+="",i+='',i+='0';for(var c=1;c<=f.length;c++)i+='',i+=""+c+"",i+="";i+="",f[0].labels.forEach(function(t,e){i+='',i+='',i+=""+(f.length+e+1)+"",i+="";for(var r=0;r',i+=""+(f[r].values[e]||"")+"",i+="";i+=""})}i+="",i+='',i+="\n",t.file("xl/worksheets/sheet1.xml",i),t.generateAsync({type:"base64"}).then(function(t){p.file("ppt/embeddings/Microsoft_Excel_Worksheet"+u.globalId+".xlsx",t,{base64:!0}),p.file("ppt/charts/_rels/"+u.fileName+".rels",''),p.file("ppt/charts/"+u.fileName,function(a){var o='',i=!1;o+='',o+='',o+="",a.opts.showTitle?(o+=qt({title:a.opts.title||"Chart Title",color:a.opts.titleColor,fontFace:a.opts.titleFontFace,fontSize:a.opts.titleFontSize||w,titleAlign:a.opts.titleAlign,titleBold:a.opts.titleBold,titlePos:a.opts.titlePos,titleRotate:a.opts.titleRotate}),o+=''):o+='';a.opts._type===J.BAR3D&&(o+="",o+=' ',o+=' ',o+=' ',o+=' ',o+="");o+="",a.opts.layout?(o+="",o+=" ",o+=' ',o+=' ',o+=' ',o+=' ',o+=' ',o+=' ',o+=' ',o+=" ",o+=""):o+="";Array.isArray(a.opts._type)?a.opts._type.forEach(function(t){var e=mt(a.opts,t.options),r=e.secondaryValAxis?E:L,n=e.secondaryCatAxis?k:T;i=i||e.secondaryValAxis,o+=Vt(t.type,t.data,e,r,n)}):o+=Vt(a.opts._type,a.data,a.opts,L,T);if(a.opts._type!==J.PIE&&a.opts._type!==J.DOUGHNUT){if(a.opts.valAxes&&1',n+=' ',n+=' ',n+=' ',n+="none"!==e.serGridLine.style?Kt(e.serGridLine):"",e.showSerAxisTitle&&(n+=qt({color:e.serAxisTitleColor,fontFace:e.serAxisTitleFontFace,fontSize:e.serAxisTitleFontSize,titleRotate:e.serAxisTitleRotate,title:e.serAxisTitle||"Axis Title"}));n+=' ',n+=' ',n+=' ',n+=' ',n+=" ",n+=' ',n+=!1===e.serAxisLineShow?"":""+wt(e.serAxisLineColor||y.color)+"",n+=' ',n+=" ",n+=" ",n+=" ",n+=" ",n+=" ",n+=" ",n+=" ",n+=" ",n+=' ',n+=" "+wt(e.serAxisLabelColor||b)+"",n+=' ',n+=" ",n+=" ",n+=' ',n+=" ",n+=" ",n+=' ',n+=' ',e.serAxisLabelFrequency&&(n+=' ');e.serLabelFormatCode&&(["serAxisBaseTimeUnit","serAxisMajorTimeUnit","serAxisMinorTimeUnit"].forEach(function(t){!e[t]||"string"==typeof e[t]&&-1!==["days","months","years"].indexOf(t.toLowerCase())||(console.warn("`"+t+"` must be one of: 'days','months','years' !"),e[t]=null)}),e.serAxisBaseTimeUnit&&(n+=' '),e.serAxisMajorTimeUnit&&(n+=' '),e.serAxisMinorTimeUnit&&(n+=' '),e.serAxisMajorUnit&&(n+=' '),e.serAxisMinorUnit&&(n+=' '));return n+=""}(a.opts,R,L)))}a.opts.showDataTable&&(o+="",o+=' ',o+=' ',o+=' ',o+=' ',o+=" ",o+=" ",o+=' ',o+=" ",o+=" ",o+=" ",o+='\t ',o+="\t ",o+="\t ",o+='\t\t',o+=' ',o+='\t\t\t',o+='\t\t\t',o+='\t\t\t',o+='\t\t\t',o+="\t\t ",o+="\t\t",o+='\t\t',o+="\t ",o+="\t",o+="");o+=" ",o+=a.opts.fill?_t(a.opts.fill):"",o+=a.opts.border?''+_t(a.opts.border.color)+"":"",o+=" ",o+=" ",o+="",a.opts.showLegend&&(o+="",o+='',o+='',(a.opts.legendFontFace||a.opts.legendFontSize||a.opts.legendColor)&&(o+="",o+=" ",o+=" ",o+=" ",o+=" ",o+=a.opts.legendFontSize?'':"",a.opts.legendColor&&(o+=_t(a.opts.legendColor)),a.opts.legendFontFace&&(o+=''),a.opts.legendFontFace&&(o+=''),o+=" ",o+=" ",o+=' ',o+=" ",o+=""),o+="");o+=' ',o+=' ',a.opts._type===J.SCATTER&&(o+='');return o+="",o+="",o+=" ",o+=' ',o+=" ",o+="",o+='',o+=""}(u)),e(null)}).catch(function(t){r(t)})})}function Vt(n,a,o,t,e){var i="";switch(n){case J.AREA:case J.BAR:case J.BAR3D:case J.LINE:case J.RADAR:i+="",n===J.AREA&&"stacked"===o.barGrouping&&(i+=''),n!==J.BAR&&n!==J.BAR3D||(i+='',i+=''),n===J.RADAR&&(i+=''),i+='';var s=-1;a.forEach(function(t){s++;var e=t.index;i+="",i+=' ',i+=' ',i+=" ",i+=" ",i+=" Sheet1!$"+Zt(e+1)+"$1",i+=' '+gt(t.name)+"",i+=" ",i+=" ",i+=' ';var r=o.chartColors?o.chartColors[s%o.chartColors.length]:null;i+=" ","transparent"===r?i+="":o.chartColorsOpacity?i+=""+wt(r,'')+"":i+=""+wt(r)+"",n===J.LINE?0===o.lineSize?i+="":(i+=''+wt(r)+"",i+=''):o.dataBorder&&(i+=''+wt(o.dataBorder.color)+''),i+=Xt(o.shadow,C),i+=" ",n!==J.RADAR&&(i+=" ",i+=' ',o.dataLabelBkgrdColors&&(i+=" ",i+=" "+wt(r)+"",i+=" "),i+=" ",i+=" ",i+=" ",i+=" ",i+=' ',i+=" "+wt(o.dataLabelColor||b)+"",i+=' ',i+=" ",i+=" ",i+=" ",o.dataLabelPosition&&(i+=' '),i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=" "),n!==J.LINE&&n!==J.RADAR||(i+="",i+=' ',o.lineDataSymbolSize&&(i+=' '),i+=" ",i+=" "+wt(o.chartColors[e+1>o.chartColors.length?Math.floor(Math.random()*o.chartColors.length):e])+"",i+=' '+wt(o.lineDataSymbolLineColor||r)+'',i+=" ",i+=" ",i+=""),(n===J.BAR||n===J.BAR3D)&&1===a.length&&o.chartColors!==I&&1",i+=' ',i+=' ',i+=' ',i+=" ",0===o.lineSize?i+="":n===J.BAR?(i+="",i+=' ',i+=""):(i+="",i+=" ",i+=' ',i+=" ",i+=""),i+=Xt(o.shadow,C),i+=" ",i+=" "}),i+="",o.catLabelFormatCode?(i+=" ",i+=" Sheet1!$A$2:$A$"+(t.labels.length+1)+"",i+=" ",i+=" "+(o.catLabelFormatCode||"General")+"",i+=' ',t.labels.forEach(function(t,e){i+=''+gt(t)+""}),i+=" ",i+=" "):(i+=" ",i+=" Sheet1!$A$2:$A$"+(t.labels.length+1)+"",i+=" ",i+='\t ',t.labels.forEach(function(t,e){i+=''+gt(t)+""}),i+=" ",i+=" "),i+="",i+="",i+=" ",i+=" Sheet1!$"+Zt(e+1)+"$2:$"+Zt(e+1)+"$"+(t.labels.length+1)+"",i+=" ",i+=" "+(o.valLabelFormatCode||o.dataTableFormatCode||"General")+"",i+=' ',t.values.forEach(function(t,e){i+=''+(t||0===t?t:"")+""}),i+=" ",i+=" ",i+="",n===J.LINE&&(i+=''),i+=""}),i+=" ",i+=' ',i+=" ",i+=" ",i+=" ",i+=" ",i+=' ',i+=" "+wt(o.dataLabelColor||b)+"",i+=' ',i+=" ",i+=" ",i+=" ",o.dataLabelPosition&&(i+=' '),i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=" ",n===J.BAR?(i+=' ',i+=' '):n===J.BAR3D?(i+=' ',i+=' ',i+=' '):n===J.LINE&&(i+=' '),i+=' ',i+=' ',i+=' ',i+="";break;case J.SCATTER:i+="",i+='',i+='',s=-1,a.filter(function(t,e){return 0",i+=' ',i+=' ',i+=" ",i+=" ",i+=" Sheet1!$"+F[t+1]+"$1",i+=' '+r.name+"",i+=" ",i+=" ",i+=" ";var e=o.chartColors[s%o.chartColors.length];if("transparent"===e?i+="":o.chartColorsOpacity?i+=""+wt(e,'')+"":i+=""+wt(e)+"",0===o.lineSize?i+="":(i+=''+wt(e)+"",i+=''),i+=Xt(o.shadow,C),i+=" ",i+="",i+=' ',o.lineDataSymbolSize&&(i+=' '),i+=" ",i+=" "+wt(o.chartColors[t+1>o.chartColors.length?Math.floor(Math.random()*o.chartColors.length):t])+"",i+=' '+wt(o.lineDataSymbolLineColor||o.chartColors[s%o.chartColors.length])+'',i+=" ",i+=" ",i+="",o.showLabel){var n=ht("-xxxx-xxxx-xxxx-xxxxxxxxxxxx");!r.labels||"custom"!==o.dataLabelFormatScatter&&"customXY"!==o.dataLabelFormatScatter||(i+="",r.labels.forEach(function(t,e){"custom"!==o.dataLabelFormatScatter&&"customXY"!==o.dataLabelFormatScatter||(i+=" ",i+=' ',i+=" ",i+=" ",i+="\t\t\t",i+="\t\t\t\t",i+="\t\t\t",i+=" \t",i+=" \t",i+="\t\t\t\t",i+="\t\t\t\t\t",i+="\t\t\t\t",i+=" \t",i+=' \t\t',i+=" \t\t"+gt(t)+"",i+=" \t","customXY"!==o.dataLabelFormatScatter||/^ *$/.test(t)||(i+=" \t",i+=' \t\t',i+=" \t\t (",i+=" \t",i+=' \t',i+=' \t\t',i+=" \t\t",i+=" \t\t\t",i+=" \t\t",i+=" \t\t["+gt(r.name)+"",i+=" \t",i+=" \t",i+=' \t\t',i+=" \t\t, ",i+=" \t",i+=' \t',i+=' \t\t',i+=" \t\t",i+=" \t\t\t",i+=" \t\t",i+=" \t\t["+gt(r.name)+"]",i+=" \t",i+=" \t",i+=' \t\t',i+=" \t\t)",i+=" \t",i+=' \t'),i+=" \t",i+=" ",i+=" ",i+=" ",i+=" \t",i+=" \t",i+=" \t\t",i+=" \t",i+=" \t",i+=" ",o.dataLabelPosition&&(i+=' '),i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+='\t ',i+=" ",i+=' ',i+=' ',i+='\t\t\t',i+=" ",i+="\t\t",i+="")}),i+=""),"XY"===o.dataLabelFormatScatter&&(i+="",i+="\t",i+="\t\t",i+="\t\t",i+="\t\t\t",i+="\t\t",i+="\t \t",i+="\t",i+="\t",i+="\t\t",i+="\t\t\t",i+="\t\t",i+="\t\t",i+="\t\t",i+="\t \t",i+=" \t\t",i+="\t \t",i+='\t \t',i+="\t\t",i+="\t",o.dataLabelPosition&&(i+=' '),i+='\t',i+=' ',i+=' ',i+='\t',i+='\t',i+='\t',i+="\t",i+='\t\t',i+='\t\t\t',i+="\t\t",i+="\t",i+="")}1===a.length&&o.chartColors!==I&&r.values.forEach(function(t,e){var r=t<0?o.invertedColors||o.chartColors||I:o.chartColors||[];i+=" ",i+=' ',i+=' ',i+=' ',i+=" ",0===o.lineSize?i+="":(i+="",i+=' ',i+=""),i+=Xt(o.shadow,C),i+=" ",i+=" "}),i+="",i+=" ",i+=" Sheet1!$A$2:$A$"+(a[0].values.length+1)+"",i+=" ",i+=" General",i+=' ',a[0].values.forEach(function(t,e){i+=''+(t||0===t?t:"")+""}),i+=" ",i+=" ",i+="",i+="",i+=" ",i+=" Sheet1!$"+Zt(t+1)+"$2:$"+Zt(t+1)+"$"+(a[0].values.length+1)+"",i+=" ",i+=" General",i+=' ',a[0].values.forEach(function(t,e){i+=''+(r.values[e]||0===r.values[e]?r.values[e]:"")+""}),i+=" ",i+=" ",i+="",i+='',i+=""}),i+=" ",i+=' ',i+=" ",i+=" ",i+=" ",i+=" ",i+=' ',i+=" "+wt(o.dataLabelColor||b)+"",i+=' ',i+=" ",i+=" ",i+=" ",o.dataLabelPosition&&(i+=' '),i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=" ",i+=' ',i+=' ',i+="";break;case J.BUBBLE:i+="",i+='',s=-1;var l=1;a.filter(function(t,e){return 0",i+=' ',i+=' ',i+=" ",i+=" ",i+=" Sheet1!$"+F[l]+"$1",i+=' '+r.name+"",i+=" ",i+=" ",i+="";var e=o.chartColors[s%o.chartColors.length];"transparent"===e?i+="":o.chartColorsOpacity?i+=""+wt(e,'')+"":i+=""+wt(e)+"",0===o.lineSize?i+="":o.dataBorder?i+=''+wt(o.dataBorder.color)+'':(i+=''+wt(e)+"",i+=''),i+=Xt(o.shadow,C),i+="",i+="",i+=" ",i+=" Sheet1!$A$2:$A$"+(a[0].values.length+1)+"",i+=" ",i+=" General",i+=' ',a[0].values.forEach(function(t,e){i+=''+(t||0===t?t:"")+""}),i+=" ",i+=" ",i+="",i+="",i+=" ",i+=" Sheet1!$"+Zt(l)+"$2:$"+Zt(l)+"$"+(a[0].values.length+1)+"",l++,i+=" ",i+=" General",i+=' ',a[0].values.forEach(function(t,e){i+=''+(r.values[e]||0===r.values[e]?r.values[e]:"")+""}),i+=" ",i+=" ",i+="",i+=" ",i+=" ",i+=" Sheet1!$"+Zt(l)+"$2:$"+Zt(t+2)+"$"+(r.sizes.length+1)+"",l++,i+=" ",i+=" General",i+='\t ',r.sizes.forEach(function(t,e){i+=''+(t||"")+""}),i+=" ",i+=" ",i+=" ",i+=' ',i+=""}),i+=" ",i+=' ',i+=" ",i+=" ",i+=" ",i+=" ",i+=' ',i+=" "+wt(o.dataLabelColor||b)+"",i+=' ',i+=" ",i+=" ",i+=" ",o.dataLabelPosition&&(i+=' '),i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=" ",i+=' ',i+=' ',i+="";break;case J.DOUGHNUT:case J.PIE:var r=a[0];i+="",i+=' ',i+="",i+=' ',i+=' ',i+=" ",i+=" ",i+=" Sheet1!$B$1",i+=" ",i+=' ',i+=' '+gt(r.name)+"",i+=" ",i+=" ",i+=" ",i+=" ",i+=' ',i+=' ',o.dataNoEffects?i+="":i+=Xt(o.shadow,C),i+=" ",r.labels.forEach(function(t,e){i+="",i+=' ',i+=' ',i+=" ",i+=""+wt(o.chartColors[e+1>o.chartColors.length?Math.floor(Math.random()*o.chartColors.length):e])+"",o.dataBorder&&(i+=''+wt(o.dataBorder.color)+''),i+=Xt(o.shadow,C),i+=" ",i+=""}),i+="",r.labels.forEach(function(t,e){i+="",i+=' ',i+=' ',i+=" ",i+=" ",i+=" ",i+=' ',i+=" "+wt(o.dataLabelColor||b)+"",i+=' ',i+=" ",i+=" ",i+=" ",n===J.PIE&&o.dataLabelPosition&&(i+=' '),i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=" "}),i+=' ',i+="\t",i+="\t ",i+="\t ",i+="\t ",i+="\t\t",i+='\t\t ',i+='\t\t\t',i+="\t\t ",i+="\t\t",i+="\t ",i+="\t",i+=n===J.PIE?'':"",i+='\t',i+='\t',i+='\t',i+='\t',i+='\t',i+='\t',i+=' ',i+="",i+="",i+=" ",i+=" Sheet1!$A$2:$A$"+(r.labels.length+1)+"",i+=" ",i+='\t ',r.labels.forEach(function(t,e){i+=''+gt(t)+""}),i+=" ",i+=" ",i+="",i+=" ",i+=" ",i+=" Sheet1!$B$2:$B$"+(r.labels.length+1)+"",i+=" ",i+='\t ',r.values.forEach(function(t,e){i+=''+(t||0===t?t:"")+""}),i+=" ",i+=" ",i+=" ",i+=" ",i+=' ',n===J.DOUGHNUT&&(i+=' '),i+="";break;default:i+=""}return i}function Qt(e,t,r){var n="";return e._type===J.SCATTER||e._type===J.BUBBLE?n+="":n+="",n+=' ',n+=" ",n+='',!e.catAxisMaxVal&&0!==e.catAxisMaxVal||(n+=''),!e.catAxisMinVal&&0!==e.catAxisMinVal||(n+=''),n+="",n+=' ',n+=' ',n+="none"!==e.catGridLine.style?Kt(e.catGridLine):"",e.showCatAxisTitle&&(n+=qt({color:e.catAxisTitleColor,fontFace:e.catAxisTitleFontFace,fontSize:e.catAxisTitleFontSize,titleRotate:e.catAxisTitleRotate,title:e.catAxisTitle||"Axis Title"})),e._type===J.SCATTER||e._type===J.BUBBLE?n+=' ':n+=' ',e._type===J.SCATTER?(n+=' ',n+=' ',n+=' '):(n+=' ',n+=' ',n+=' '),n+=" ",n+=' ',n+=!1===e.catAxisLineShow?"":""+wt(e.catAxisLineColor||y.color)+"",n+=' ',n+=" ",n+=" ",n+=" ",n+=" ",n+=" ",n+=" ",n+=" ",n+=" ",n+=' ',n+=" "+wt(e.catAxisLabelColor||b)+"",n+=' ',n+=" ",n+=" ",n+=' ',n+=" ",n+=" ",n+=' ',n+=" ',n+=' ',n+=' ',n+=' ',e.catAxisLabelFrequency&&(n+=' '),!e.catLabelFormatCode&&e._type!==J.SCATTER&&e._type!==J.BUBBLE||(e.catLabelFormatCode&&(["catAxisBaseTimeUnit","catAxisMajorTimeUnit","catAxisMinorTimeUnit"].forEach(function(t){!e[t]||"string"==typeof e[t]&&-1!==["days","months","years"].indexOf(e[t].toLowerCase())||(console.warn("`"+t+"` must be one of: 'days','months','years' !"),e[t]=null)}),e.catAxisBaseTimeUnit&&(n+=''),e.catAxisMajorTimeUnit&&(n+=''),e.catAxisMinorTimeUnit&&(n+='')),e.catAxisMajorUnit&&(n+=''),e.catAxisMinorUnit&&(n+='')),e._type===J.SCATTER||e._type===J.BUBBLE?n+="":n+="",n}function Yt(t,e){var r=e===L?"col"===t.barDir?"l":"b":"col"!==t.barDir?"r":"t",n="",a="r"==r||"t"==r?"max":"autoZero",o=e===L?T:k;return n+="",n+=' ',n+=" ",t.valAxisLogScaleBase&&(n+=' '),n+=' ',!t.valAxisMaxVal&&0!==t.valAxisMaxVal||(n+=''),!t.valAxisMinVal&&0!==t.valAxisMinVal||(n+=''),n+=" ",n+=' ',n+=' ',"none"!==t.valGridLine.style&&(n+=Kt(t.valGridLine)),t.showValAxisTitle&&(n+=qt({color:t.valAxisTitleColor,fontFace:t.valAxisTitleFontFace,fontSize:t.valAxisTitleFontSize,titleRotate:t.valAxisTitleRotate,title:t.valAxisTitle||"Axis Title"})),n+="',t._type===J.SCATTER?(n+=' ',n+=' ',n+=' '):(n+=' ',n+=' ',n+=' '),n+=" ",n+=' ',n+=!1===t.valAxisLineShow?"":""+wt(t.valAxisLineColor||y.color)+"",n+=' ',n+=" ",n+=" ",n+=" ",n+=" ",n+=" ",n+=" ",n+=" ",n+=" ",n+=' ',n+=" "+wt(t.valAxisLabelColor||b)+"",n+=' ',n+=" ",n+=" ",n+=' ',n+=" ",n+=" ",n+=' ',n+=' ',n+=' ',t.valAxisMajorUnit&&(n+=' '),t.valAxisDisplayUnit&&(n+=''+(t.valAxisDisplayUnitLabel?"":"")+""),n+=""}function qt(t){var e="left"===t.titleAlign||"right"===t.titleAlign?'':"",r=t.titleRotate?'':"",n=t.fontSize?'sz="'+Math.round(100*t.fontSize)+'"':"",a=!0===t.titleBold?1:0,o=t.titlePos&&t.titlePos.x&&t.titlePos.y?'':"";return"\n\t \n\t \n\t "+r+"\n\t \n\t \n\t "+e+"\n\t \n\t '+wt(t.color||b)+'\n\t \n\t \n\t \n\t \n\t \n\t '+wt(t.color||b)+'\n\t \n\t \n\t '+(gt(t.title)||"")+"\n\t \n\t \n\t \n\t \n\t "+o+'\n\t \n\t'}function Zt(t){var e="";return t<=26?e=F[t]:(e+=F[Math.floor(t/F.length)-1],e+=F[t%F.length]),e}function Xt(t,e){if(!t)return"";if("object"!=typeof t)return console.warn("`shadow` options must be an object. Ex: `{shadow: {type:'none'}}`"),"";var r="",n=mt(e,t),a=n.type||"outer",o=At(n.blur),i=At(n.offset),s=Math.round(6e4*n.angle),l=n.color,c=Math.round(1e5*n.opacity);return r+="',r+='',r+='',r+="",r+=""}function Kt(t){var e="";return e+=" ",e+=' ',e+=' ',e+=' ',e+=" ",e+=" ",e+=""}function Jt(t){var o="undefined"!=typeof require&&"undefined"==typeof window?require("fs"):null,i="undefined"!=typeof require&&"undefined"==typeof window?require("https"):null,e=[];return t._relsMedia.filter(function(t){return"online"!==t.type&&!t.data&&(!t.path||t.path&&-1===t.path.indexOf("preencoded"))}).forEach(function(a){e.push(new Promise(function(r,n){if(o&&0!==a.path.indexOf("http"))try{var t=o.readFileSync(a.path);a.data=Buffer.from(t).toString("base64"),r("done")}catch(t){a.data=pt,n('ERROR: Unable to read media: "'+a.path+'"\n'+t.toString())}else if(o&&i&&0===a.path.indexOf("http"))i.get(a.path,function(t){var e="";t.setEncoding("binary"),t.on("data",function(t){return e+=t}),t.on("end",function(){a.data=Buffer.from(e,"binary").toString("base64"),r("done")}),t.on("error",function(t){a.data=pt,n("ERROR! Unable to load image (https.get): "+a.path)})});else{var e=new XMLHttpRequest;e.onload=function(){var t=new FileReader;t.onloadend=function(){a.data=t.result,a.isSvgPng?$t(a).then(function(){r("done")}).catch(function(t){n(t)}):r("done")},t.readAsDataURL(e.response)},e.onerror=function(t){a.data=pt,n("ERROR! Unable to load image (xhr.onerror): "+a.path)},e.open("GET",a.path),e.responseType="blob",e.send()}}))}),t._relsMedia.filter(function(t){return t.isSvgPng&&t.data}).forEach(function(t){o?(t.data=pt,e.push(Promise.resolve().then(function(){return"done"}))):e.push($t(t))}),e}function $t(a){return new Promise(function(r,e){var n=new Image;n.onload=function(){n.width+n.height===0&&n.onerror("h/w=0");var t=document.createElement("CANVAS"),e=t.getContext("2d");t.width=n.width,t.height=n.height,e.drawImage(n,0,0);try{a.data=t.toDataURL(a.type),r("done")}catch(t){n.onerror(t)}t=null},n.onerror=function(t){a.data=pt,e("ERROR! Unable to load image (image.onerror): "+a.path)},n.src="string"==typeof a.data?a.data:pt})}function te(){var a=this;this._version="3.7.1",this._alignH=Q,this._alignV=q,this._chartType=U,this._outputType=z,this._schemeColor=H,this._shapeType=G,this._charts=J,this._colors=tt,this._shapes=X,this.addNewSlide=function(t){var e=0')})}),n+='',n+='',n+='',n+='',t.forEach(function(t,e){n+='',n+='',t._relsChart.forEach(function(t){n+=' '})}),n+='',n+='',n+='',n+='',e.forEach(function(t,e){n+='',(t._relsChart||[]).forEach(function(t){n+=' '})}),t.forEach(function(t,e){n+=' '}),r._relsChart.forEach(function(t){n+=' '}),r._relsMedia.forEach(function(t){"image"!==t.type&&"online"!==t.type&&"chart"!==t.type&&"m4v"!==t.extn&&-1===n.indexOf(t.type)&&(n+=' ')}),n+=' ',n+=' ',n+=""}(a.slides,a.slideLayouts,a.masterSlide)),n.file("_rels/.rels",''+v+'\n\t\t\n\t\t\n\t\t\n\t\t'),n.file("docProps/app.xml",function(t,e){return''+v+'\n\t0\n\t0\n\tMicrosoft Office PowerPoint\n\tOn-screen Show (16:9)\n\t0\n\t'+t.length+"\n\t"+t.length+'\n\t0\n\t0\n\tfalse\n\t\n\t\t\n\t\t\tFonts Used\n\t\t\t2\n\t\t\tTheme\n\t\t\t1\n\t\t\tSlide Titles\n\t\t\t'+t.length+'\n\t\t\n\t\n\t\n\t\t\n\t\t\tArial\n\t\t\tCalibri\n\t\t\tOffice Theme\n\t\t\t'+t.map(function(t,e){return"Slide "+(e+1)+"\n"}).join("")+"\n\t\t\n\t\n\t"+e+"\n\tfalse\n\tfalse\n\tfalse\n\t16.0000\n\t"}(a.slides,a.company)),n.file("docProps/core.xml",function(t,e,r,n){return'\n\t\n\t\t'+gt(t)+"\n\t\t"+gt(e)+"\n\t\t"+gt(r)+"\n\t\t"+gt(r)+"\n\t\t"+n+'\n\t\t'+(new Date).toISOString().replace(/\.\d\d\dZ/,"Z")+'\n\t\t'+(new Date).toISOString().replace(/\.\d\d\dZ/,"Z")+"\n\t"}(a.title,a.subject,a.author,a.revision)),n.file("ppt/_rels/presentation.xml.rels",function(t){var e=1,r=''+v;r+='',r+='';for(var n=1;n<=t.length;n++)r+='';return r+=''}(a.slides)),n.file("ppt/theme/theme1.xml",''+v+''),n.file("ppt/presentation.xml",function(t){var e=''+v+'';e+='',e+="",t.slides.forEach(function(t){return e+=''}),e+="",e+='',e+='',e+='',e+="";for(var r=1;r<10;r++)e+="";return e+="",t.sections&&0',e+='',t.sections.forEach(function(t){e+='',t._slides.forEach(function(t){return e+=''}),e+=""}),e+="",e+='',e+=""),e+=""}(a)),n.file("ppt/presProps.xml",''+v+''),n.file("ppt/tableStyles.xml",''+v+''),n.file("ppt/viewProps.xml",''+v+''),a.slideLayouts.forEach(function(t,e){n.file("ppt/slideLayouts/slideLayout"+(e+1)+".xml",function(t){return'\n\t\t\n\t\t'+Lt(t)+"\n\t\t"}(t)),n.file("ppt/slideLayouts/_rels/slideLayout"+(e+1)+".xml.rels",function(t,e){return Et(e[t-1],[{target:"../slideMasters/slideMaster1.xml",type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster"}])}(e+1,a.slideLayouts))}),a.slides.forEach(function(t,e){n.file("ppt/slides/slide"+(e+1)+".xml",function(t){return''+v+'"+Lt(t)+""}(t)),n.file("ppt/slides/_rels/slide"+(e+1)+".xml.rels",function(t,e,r){return Et(t[r-1],[{target:"../slideLayouts/slideLayout"+function(t,e,r){for(var n=0;n\n\t\t\n\t\t\t\n\t\t\t\n\t\t'}(e+1))}),n.file("ppt/slideMasters/slideMaster1.xml",function(r,t){var e=t.map(function(t,e){return''}),n=''+v;return n+='',n+=Lt(r),n+='',n+=""+e.join("")+"",n+='',n+=' ',n+=""}(a.masterSlide,a.slideLayouts)),n.file("ppt/slideMasters/_rels/slideMaster1.xml.rels",function(t,e){var r=e.map(function(t,e){return{target:"../slideLayouts/slideLayout"+(e+1)+".xml",type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout"}});return r.push({target:"../theme/theme1.xml",type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme"}),Et(t,r)}(a.masterSlide,a.slideLayouts)),n.file("ppt/notesMasters/notesMaster1.xml",''+v+'7/23/19Click to edit Master text stylesSecond levelThird levelFourth levelFifth level‹#›'),n.file("ppt/notesMasters/_rels/notesMaster1.xml.rels",''+v+'\n\t\t\n\t\t'),a.slideLayouts.forEach(function(t){a.createChartMediaRels(t,n,e)}),a.slides.forEach(function(t){a.createChartMediaRels(t,n,e)}),a.createChartMediaRels(a.masterSlide,n,e),Promise.all(e).then(function(){return"STREAM"===t.outputType?n.generateAsync({type:"nodebuffer",compression:t.compression?"DEFLATE":"STORE"}):t.outputType?n.generateAsync({type:t.outputType}):n.generateAsync({type:"blob",compression:t.compression?"DEFLATE":"STORE"})})})},this.LAYOUTS={LAYOUT_4x3:{name:"screen4x3",width:9144e3,height:6858e3},LAYOUT_16x9:{name:"screen16x9",width:9144e3,height:5143500},LAYOUT_16x10:{name:"screen16x10",width:9144e3,height:5715e3},LAYOUT_WIDE:{name:"custom",width:12192e3,height:6858e3}},this._author="PptxGenJS",this._company="PptxGenJS",this._revision="1",this._subject="PptxGenJS Presentation",this._title="PptxGenJS Presentation",this._presLayout={name:this.LAYOUTS[p].name,_sizeW:this.LAYOUTS[p].width,_sizeH:this.LAYOUTS[p].height,width:this.LAYOUTS[p].width,height:this.LAYOUTS[p].height},this._rtlMode=!1,this._slideLayouts=[{_margin:P,_name:n,_presLayout:this._presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slide:null,_slideNum:1e3,_slideNumberProps:null,_slideObjects:[]}],this._slides=[],this._sections=[],this._masterSlide={addChart:null,addImage:null,addMedia:null,addNotes:null,addShape:null,addTable:null,addText:null,_name:null,_presLayout:this._presLayout,_rId:null,_rels:[],_relsChart:[],_relsMedia:[],_slideId:null,_slideLayout:null,_slideNum:null,_slideNumberProps:null,_slideObjects:[]}}return Object.defineProperty(te.prototype,"layout",{get:function(){return this._layout},set:function(t){var e=this.LAYOUTS[t];if(!e)throw new Error("UNKNOWN-LAYOUT");this._layout=t,this._presLayout=e},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"version",{get:function(){return this._version},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"author",{get:function(){return this._author},set:function(t){this._author=t},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"company",{get:function(){return this._company},set:function(t){this._company=t},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"revision",{get:function(){return this._revision},set:function(t){this._revision=t},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"subject",{get:function(){return this._subject},set:function(t){this._subject=t},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"title",{get:function(){return this._title},set:function(t){this._title=t},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"rtlMode",{get:function(){return this._rtlMode},set:function(t){this._rtlMode=t},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"masterSlide",{get:function(){return this._masterSlide},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"slides",{get:function(){return this._slides},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"sections",{get:function(){return this._sections},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"slideLayouts",{get:function(){return this._slideLayouts},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"AlignH",{get:function(){return this._alignH},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"AlignV",{get:function(){return this._alignV},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"ChartType",{get:function(){return this._chartType},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"OutputType",{get:function(){return this._outputType},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"presLayout",{get:function(){return this._presLayout},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"SchemeColor",{get:function(){return this._schemeColor},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"ShapeType",{get:function(){return this._shapeType},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"charts",{get:function(){return this._charts},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"colors",{get:function(){return this._colors},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"shapes",{get:function(){return this._shapes},enumerable:!1,configurable:!0}),te.prototype.stream=function(t){var e=!("object"!=typeof t||!t.hasOwnProperty("compression"))&&t.compression;return this.exportPresentation({compression:e,outputType:"STREAM"})},te.prototype.write=function(t){var e="object"==typeof t&&t.hasOwnProperty("outputType")?t.outputType:t||null,r=!("object"!=typeof t||!t.hasOwnProperty("compression"))&&t.compression;return this.exportPresentation({compression:r,outputType:e})},te.prototype.writeFile=function(t){var e=this,n="undefined"!=typeof require&&"undefined"==typeof window?require("fs"):null;"string"==typeof t&&console.log("Warning: `writeFile(filename)` is deprecated - please use `WriteFileProps` argument (v3.5.0)");var r="object"==typeof t&&t.hasOwnProperty("fileName")?t.fileName:"string"==typeof t?t:"",a=!("object"!=typeof t||!t.hasOwnProperty("compression"))&&t.compression,o=r?r.toString().toLowerCase().endsWith(".pptx")?r:r+".pptx":"Presentation.pptx";return this.exportPresentation({compression:a,outputType:n?"nodebuffer":null}).then(function(t){return n?new Promise(function(e,r){n.writeFile(o,t,function(t){t?r(t):e(o)})}):e.writeFileToBrowser(o,t)})},te.prototype.addSection=function(t){t?t.title||console.warn("addSection requires a title"):console.warn("addSection requires an argument");var e={_type:"user",_slides:[],title:t.title};t.order?this.sections.splice(t.order,0,e):this._sections.push(e)},te.prototype.addSlide=function(e){var r="string"==typeof e?e:e&&e.masterName?e.masterName:"",t={_name:this.LAYOUTS[p].name,_presLayout:this.presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slideNum:this.slides.length+1};if(r){var n=this.slideLayouts.filter(function(t){return t._name===r})[0];n&&(t=n)}var a=new Gt({addSlide:this.addNewSlide,getSlide:this.getSlide,presLayout:this.presLayout,setSlideNum:this.setSlideNumber,slideId:this.slides.length+256,slideRId:this.slides.length+2,slideNumber:this.slides.length+1,slideLayout:t});if(this._slides.push(a),e&&e.sectionTitle){var o=this.sections.filter(function(t){return t.title===e.sectionTitle})[0];o?o._slides.push(a):console.warn('addSlide: unable to find section with title: "'+e.sectionTitle+'"')}else if(this.sections&&0 opts.y = "+a.y),r.addTable(t.rows,{x:a.x||p[3],y:a.y,w:Number(s)/B,colW:c,autoPage:!1}),a.addImage&&r.addImage({path:a.addImage.url,x:a.addImage.x,y:a.addImage.y,w:a.addImage.w,h:a.addImage.h}),a.addShape&&r.addShape(a.addShape.shape,a.addShape.options||{}),a.addTable&&r.addTable(a.addTable.rows,a.addTable.options||{}),a.addText&&r.addText(a.addText.text,a.addText.options||{})})}(this,t,e,e&&e.masterSlideName?this.slideLayouts.filter(function(t){return t._name===e.masterSlideName})[0]:null)},te}(); //# sourceMappingURL=pptxgen.bundle.js.map diff --git a/dist/pptxgen.bundle.js.map b/dist/pptxgen.bundle.js.map index e0321c526..d1d3106f0 100644 --- a/dist/pptxgen.bundle.js.map +++ b/dist/pptxgen.bundle.js.map @@ -1 +1 @@ -{"version":3,"names":[],"mappings":"","sources":["pptxgen.bundle.js"],"sourcesContent":["/* PptxGenJS 3.7.0 @ 2021-07-21T02:38:25.952Z */\n!function(t){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=t():\"function\"==typeof define&&define.amd?define([],t):(\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:this).JSZip=t()}(function(){return function o(i,s,l){function c(e,t){if(!s[e]){if(!i[e]){var r=\"function\"==typeof require&&require;if(!t&&r)return r(e,!0);if(u)return u(e,!0);var n=new Error(\"Cannot find module '\"+e+\"'\");throw n.code=\"MODULE_NOT_FOUND\",n}var a=s[e]={exports:{}};i[e][0].call(a.exports,function(t){return c(i[e][1][t]||t)},a,a.exports,o,i,s,l)}return s[e].exports}for(var u=\"function\"==typeof require&&require,t=0;t>2,o=(3&e)<<4|r>>4,i=1>6:64,s=2>4,r=(15&a)<<4|(o=h.indexOf(t.charAt(s++)))>>2,n=(3&o)<<6|(i=h.indexOf(t.charAt(s++))),c[l++]=e,64!==o&&(c[l++]=r),64!==i&&(c[l++]=n);return c}},{\"./support\":30,\"./utils\":32}],2:[function(t,e,r){\"use strict\";var n=t(\"./external\"),a=t(\"./stream/DataWorker\"),o=t(\"./stream/Crc32Probe\"),i=t(\"./stream/DataLengthProbe\");function s(t,e,r,n,a){this.compressedSize=t,this.uncompressedSize=e,this.crc32=r,this.compression=n,this.compressedContent=a}s.prototype={getContentWorker:function(){var t=new a(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new i(\"data_length\")),e=this;return t.on(\"end\",function(){if(this.streamInfo.data_length!==e.uncompressedSize)throw new Error(\"Bug : uncompressed data size mismatch\")}),t},getCompressedWorker:function(){return new a(n.Promise.resolve(this.compressedContent)).withStreamInfo(\"compressedSize\",this.compressedSize).withStreamInfo(\"uncompressedSize\",this.uncompressedSize).withStreamInfo(\"crc32\",this.crc32).withStreamInfo(\"compression\",this.compression)}},s.createWorkerFrom=function(t,e,r){return t.pipe(new o).pipe(new i(\"uncompressedSize\")).pipe(e.compressWorker(r)).pipe(new i(\"compressedSize\")).withStreamInfo(\"compression\",e)},e.exports=s},{\"./external\":6,\"./stream/Crc32Probe\":25,\"./stream/DataLengthProbe\":26,\"./stream/DataWorker\":27}],3:[function(t,e,r){\"use strict\";var n=t(\"./stream/GenericWorker\");r.STORE={magic:\"\\0\\0\",compressWorker:function(t){return new n(\"STORE compression\")},uncompressWorker:function(){return new n(\"STORE decompression\")}},r.DEFLATE=t(\"./flate\")},{\"./flate\":7,\"./stream/GenericWorker\":28}],4:[function(t,e,r){\"use strict\";var n=t(\"./utils\"),i=function(){for(var t,e=[],r=0;r<256;r++){t=r;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[r]=t}return e}();e.exports=function(t,e){return void 0!==t&&t.length?\"string\"!==n.getTypeOf(t)?function(t,e,r){var n=i,a=0+r;t^=-1;for(var o=0;o>>8^n[255&(t^e[o])];return-1^t}(0|e,t,t.length):function(t,e,r){var n=i,a=0+r;t^=-1;for(var o=0;o>>8^n[255&(t^e.charCodeAt(o))];return-1^t}(0|e,t,t.length):0}},{\"./utils\":32}],5:[function(t,e,r){\"use strict\";r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!0,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],6:[function(t,e,r){\"use strict\";var n;n=\"undefined\"!=typeof Promise?Promise:t(\"lie\"),e.exports={Promise:n}},{lie:37}],7:[function(t,e,r){\"use strict\";var n=\"undefined\"!=typeof Uint8Array&&\"undefined\"!=typeof Uint16Array&&\"undefined\"!=typeof Uint32Array,a=t(\"pako\"),o=t(\"./utils\"),i=t(\"./stream/GenericWorker\"),s=n?\"uint8array\":\"array\";function l(t,e){i.call(this,\"FlateWorker/\"+t),this._pako=null,this._pakoAction=t,this._pakoOptions=e,this.meta={}}r.magic=\"\\b\\0\",o.inherits(l,i),l.prototype.processChunk=function(t){this.meta=t.meta,null===this._pako&&this._createPako(),this._pako.push(o.transformTo(s,t.data),!1)},l.prototype.flush=function(){i.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},l.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this._pako=null},l.prototype._createPako=function(){this._pako=new a[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},r.compressWorker=function(t){return new l(\"Deflate\",t)},r.uncompressWorker=function(){return new l(\"Inflate\",{})}},{\"./stream/GenericWorker\":28,\"./utils\":32,pako:38}],8:[function(t,e,r){\"use strict\";function T(t,e){var r,n=\"\";for(r=0;r>>=8;return n}function a(t,e,r,n,a,o){var i,s,l=t.file,c=t.compression,u=o!==R.utf8encode,p=k.transformTo(\"string\",o(l.name)),f=k.transformTo(\"string\",R.utf8encode(l.name)),d=l.comment,h=k.transformTo(\"string\",o(d)),m=k.transformTo(\"string\",R.utf8encode(d)),g=f.length!==l.name.length,v=m.length!==d.length,A=\"\",y=\"\",b=\"\",x=l.dir,w=l.date,_={crc32:0,compressedSize:0,uncompressedSize:0};e&&!r||(_.crc32=t.crc32,_.compressedSize=t.compressedSize,_.uncompressedSize=t.uncompressedSize);var C=0;e&&(C|=8),u||!g&&!v||(C|=2048);var P,S=0,L=0;x&&(S|=16),\"UNIX\"===a?(L=798,S|=((P=l.unixPermissions)||(P=x?16893:33204),(65535&P)<<16)):(L=20,S|=63&(l.dosPermissions||0)),i=w.getUTCHours(),i<<=6,i|=w.getUTCMinutes(),i<<=5,i|=w.getUTCSeconds()/2,s=w.getUTCFullYear()-1980,s<<=4,s|=w.getUTCMonth()+1,s<<=5,s|=w.getUTCDate(),g&&(A+=\"up\"+T((y=T(1,1)+T(F(p),4)+f).length,2)+y),v&&(A+=\"uc\"+T((b=T(1,1)+T(F(h),4)+m).length,2)+b);var E=\"\";return E+=\"\\n\\0\",E+=T(C,2),E+=c.magic,E+=T(i,2),E+=T(s,2),E+=T(_.crc32,4),E+=T(_.compressedSize,4),E+=T(_.uncompressedSize,4),E+=T(p.length,2),E+=T(A.length,2),{fileRecord:I.LOCAL_FILE_HEADER+E+p+A,dirRecord:I.CENTRAL_FILE_HEADER+T(L,2)+E+T(h.length,2)+\"\\0\\0\\0\\0\"+T(S,4)+T(n,4)+p+A+h}}var k=t(\"../utils\"),o=t(\"../stream/GenericWorker\"),R=t(\"../utf8\"),F=t(\"../crc32\"),I=t(\"../signature\");function n(t,e,r,n){o.call(this,\"ZipFileWorker\"),this.bytesWritten=0,this.zipComment=e,this.zipPlatform=r,this.encodeFileName=n,this.streamFiles=t,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}k.inherits(n,o),n.prototype.push=function(t){var e=t.meta.percent||0,r=this.entriesCount,n=this._sources.length;this.accumulate?this.contentBuffer.push(t):(this.bytesWritten+=t.data.length,o.prototype.push.call(this,{data:t.data,meta:{currentFile:this.currentFile,percent:r?(e+100*(r-n-1))/r:100}}))},n.prototype.openedSource=function(t){this.currentSourceOffset=this.bytesWritten,this.currentFile=t.file.name;var e=this.streamFiles&&!t.file.dir;if(e){var r=a(t,e,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},n.prototype.closedSource=function(t){this.accumulate=!1;var e,r=this.streamFiles&&!t.file.dir,n=a(t,r,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),r)this.push({data:(e=t,I.DATA_DESCRIPTOR+T(e.crc32,4)+T(e.compressedSize,4)+T(e.uncompressedSize,4)),meta:{percent:100}});else for(this.push({data:n.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},n.prototype.flush=function(){for(var t=this.bytesWritten,e=0;e=this.index;e--)r=(r<<8)+this.byteAt(e);return this.index+=t,r},readString:function(t){return n.transformTo(\"string\",this.readData(t))},readData:function(t){},lastIndexOfSignature:function(t){},readAndCheckSignature:function(t){},readDate:function(){var t=this.readInt(4);return new Date(Date.UTC(1980+(t>>25&127),(t>>21&15)-1,t>>16&31,t>>11&31,t>>5&63,(31&t)<<1))}},e.exports=a},{\"../utils\":32}],19:[function(t,e,r){\"use strict\";var n=t(\"./Uint8ArrayReader\");function a(t){n.call(this,t)}t(\"../utils\").inherits(a,n),a.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=a},{\"../utils\":32,\"./Uint8ArrayReader\":21}],20:[function(t,e,r){\"use strict\";var n=t(\"./DataReader\");function a(t){n.call(this,t)}t(\"../utils\").inherits(a,n),a.prototype.byteAt=function(t){return this.data.charCodeAt(this.zero+t)},a.prototype.lastIndexOfSignature=function(t){return this.data.lastIndexOf(t)-this.zero},a.prototype.readAndCheckSignature=function(t){return t===this.readData(4)},a.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=a},{\"../utils\":32,\"./DataReader\":18}],21:[function(t,e,r){\"use strict\";var n=t(\"./ArrayReader\");function a(t){n.call(this,t)}t(\"../utils\").inherits(a,n),a.prototype.readData=function(t){if(this.checkOffset(t),0===t)return new Uint8Array(0);var e=this.data.subarray(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=a},{\"../utils\":32,\"./ArrayReader\":17}],22:[function(t,e,r){\"use strict\";var n=t(\"../utils\"),a=t(\"../support\"),o=t(\"./ArrayReader\"),i=t(\"./StringReader\"),s=t(\"./NodeBufferReader\"),l=t(\"./Uint8ArrayReader\");e.exports=function(t){var e=n.getTypeOf(t);return n.checkSupport(e),\"string\"!==e||a.uint8array?\"nodebuffer\"===e?new s(t):a.uint8array?new l(n.transformTo(\"uint8array\",t)):new o(n.transformTo(\"array\",t)):new i(t)}},{\"../support\":30,\"../utils\":32,\"./ArrayReader\":17,\"./NodeBufferReader\":19,\"./StringReader\":20,\"./Uint8ArrayReader\":21}],23:[function(t,e,r){\"use strict\";r.LOCAL_FILE_HEADER=\"PK\u0003\u0004\",r.CENTRAL_FILE_HEADER=\"PK\u0001\u0002\",r.CENTRAL_DIRECTORY_END=\"PK\u0005\u0006\",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR=\"PK\u0006\u0007\",r.ZIP64_CENTRAL_DIRECTORY_END=\"PK\u0006\u0006\",r.DATA_DESCRIPTOR=\"PK\u0007\\b\"},{}],24:[function(t,e,r){\"use strict\";var n=t(\"./GenericWorker\"),a=t(\"../utils\");function o(t){n.call(this,\"ConvertWorker to \"+t),this.destType=t}a.inherits(o,n),o.prototype.processChunk=function(t){this.push({data:a.transformTo(this.destType,t.data),meta:t.meta})},e.exports=o},{\"../utils\":32,\"./GenericWorker\":28}],25:[function(t,e,r){\"use strict\";var n=t(\"./GenericWorker\"),a=t(\"../crc32\");function o(){n.call(this,\"Crc32Probe\"),this.withStreamInfo(\"crc32\",0)}t(\"../utils\").inherits(o,n),o.prototype.processChunk=function(t){this.streamInfo.crc32=a(t.data,this.streamInfo.crc32||0),this.push(t)},e.exports=o},{\"../crc32\":4,\"../utils\":32,\"./GenericWorker\":28}],26:[function(t,e,r){\"use strict\";var n=t(\"../utils\"),a=t(\"./GenericWorker\");function o(t){a.call(this,\"DataLengthProbe for \"+t),this.propName=t,this.withStreamInfo(t,0)}n.inherits(o,a),o.prototype.processChunk=function(t){if(t){var e=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=e+t.data.length}a.prototype.processChunk.call(this,t)},e.exports=o},{\"../utils\":32,\"./GenericWorker\":28}],27:[function(t,e,r){\"use strict\";var n=t(\"../utils\"),a=t(\"./GenericWorker\");function o(t){a.call(this,\"DataWorker\");var e=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type=\"\",this._tickScheduled=!1,t.then(function(t){e.dataIsReady=!0,e.data=t,e.max=t&&t.length||0,e.type=n.getTypeOf(t),e.isPaused||e._tickAndRepeat()},function(t){e.error(t)})}n.inherits(o,a),o.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this.data=null},o.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,n.delay(this._tickAndRepeat,[],this)),!0)},o.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(n.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},o.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var t=null,e=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case\"string\":t=this.data.substring(this.index,e);break;case\"uint8array\":t=this.data.subarray(this.index,e);break;case\"array\":case\"nodebuffer\":t=this.data.slice(this.index,e)}return this.index=e,this.push({data:t,meta:{percent:this.max?this.index/this.max*100:0}})},e.exports=o},{\"../utils\":32,\"./GenericWorker\":28}],28:[function(t,e,r){\"use strict\";function n(t){this.name=t||\"default\",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}n.prototype={push:function(t){this.emit(\"data\",t)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit(\"end\"),this.cleanUp(),this.isFinished=!0}catch(t){this.emit(\"error\",t)}return!0},error:function(t){return!this.isFinished&&(this.isPaused?this.generatedError=t:(this.isFinished=!0,this.emit(\"error\",t),this.previous&&this.previous.error(t),this.cleanUp()),!0)},on:function(t,e){return this._listeners[t].push(e),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(t,e){if(this._listeners[t])for(var r=0;r \"+t:t}},e.exports=n},{}],29:[function(t,e,r){\"use strict\";var c=t(\"../utils\"),a=t(\"./ConvertWorker\"),o=t(\"./GenericWorker\"),u=t(\"../base64\"),n=t(\"../support\"),i=t(\"../external\"),s=null;if(n.nodestream)try{s=t(\"../nodejs/NodejsStreamOutputAdapter\")}catch(t){}function l(t,e,r){var n=e;switch(e){case\"blob\":case\"arraybuffer\":n=\"uint8array\";break;case\"base64\":n=\"string\"}try{this._internalType=n,this._outputType=e,this._mimeType=r,c.checkSupport(n),this._worker=t.pipe(new a(n)),t.lock()}catch(t){this._worker=new o(\"error\"),this._worker.error(t)}}l.prototype={accumulate:function(t){return s=this,l=t,new i.Promise(function(e,r){var n=[],a=s._internalType,o=s._outputType,i=s._mimeType;s.on(\"data\",function(t,e){n.push(t),l&&l(e)}).on(\"error\",function(t){n=[],r(t)}).on(\"end\",function(){try{var t=function(t,e,r){switch(t){case\"blob\":return c.newBlob(c.transformTo(\"arraybuffer\",e),r);case\"base64\":return u.encode(e);default:return c.transformTo(t,e)}}(o,function(t,e){var r,n=0,a=null,o=0;for(r=0;r>>6:(r<65536?e[o++]=224|r>>>12:(e[o++]=240|r>>>18,e[o++]=128|r>>>12&63),e[o++]=128|r>>>6&63),e[o++]=128|63&r);return e}(t)},o.utf8decode=function(t){return l.nodebuffer?s.transformTo(\"nodebuffer\",t).toString(\"utf-8\"):function(t){var e,r,n,a,o=t.length,i=new Array(2*o);for(e=r=0;e>10&1023,i[r++]=56320|1023&n)}return i.length!==r&&(i.subarray?i=i.subarray(0,r):i.length=r),s.applyFromCharCode(i)}(t=s.transformTo(l.uint8array?\"uint8array\":\"array\",t))},s.inherits(i,n),i.prototype.processChunk=function(t){var e=s.transformTo(l.uint8array?\"uint8array\":\"array\",t.data);if(this.leftOver&&this.leftOver.length){if(l.uint8array){var r=e;(e=new Uint8Array(r.length+this.leftOver.length)).set(this.leftOver,0),e.set(r,this.leftOver.length)}else e=this.leftOver.concat(e);this.leftOver=null}var n=function(t,e){var r;for((e=e||t.length)>t.length&&(e=t.length),r=e-1;0<=r&&128==(192&t[r]);)r--;return r<0?e:0===r?e:r+c[t[r]]>e?r:e}(e),a=e;n!==e.length&&(l.uint8array?(a=e.subarray(0,n),this.leftOver=e.subarray(n,e.length)):(a=e.slice(0,n),this.leftOver=e.slice(n,e.length))),this.push({data:o.utf8decode(a),meta:t.meta})},i.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:o.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},o.Utf8DecodeWorker=i,s.inherits(u,n),u.prototype.processChunk=function(t){this.push({data:o.utf8encode(t.data),meta:t.meta})},o.Utf8EncodeWorker=u},{\"./nodejsUtils\":14,\"./stream/GenericWorker\":28,\"./support\":30,\"./utils\":32}],32:[function(t,e,s){\"use strict\";var l=t(\"./support\"),c=t(\"./base64\"),r=t(\"./nodejsUtils\"),n=t(\"set-immediate-shim\"),u=t(\"./external\");function a(t){return t}function p(t,e){for(var r=0;r>8;this.dir=!!(16&this.externalFileAttributes),0==t&&(this.dosPermissions=63&this.externalFileAttributes),3==t&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||\"/\"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(t){if(this.extraFields[1]){var e=n(this.extraFields[1].value);this.uncompressedSize===o.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===o.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===o.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===o.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(t){var e,r,n,a=t.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});t.index+4>>6:(r<65536?e[o++]=224|r>>>12:(e[o++]=240|r>>>18,e[o++]=128|r>>>12&63),e[o++]=128|r>>>6&63),e[o++]=128|63&r);return e},r.buf2binstring=function(t){return u(t,t.length)},r.binstring2buf=function(t){for(var e=new l.Buf8(t.length),r=0,n=e.length;r>10&1023,s[n++]=56320|1023&a)}return u(s,n)},r.utf8border=function(t,e){var r;for((e=e||t.length)>t.length&&(e=t.length),r=e-1;0<=r&&128==(192&t[r]);)r--;return r<0?e:0===r?e:r+c[t[r]]>e?r:e}},{\"./common\":41}],43:[function(t,e,r){\"use strict\";e.exports=function(t,e,r,n){for(var a=65535&t|0,o=t>>>16&65535|0,i=0;0!==r;){for(r-=i=2e3>>1:t>>>1;e[r]=t}return e}();e.exports=function(t,e,r,n){var a=s,o=n+r;t^=-1;for(var i=n;i>>8^a[255&(t^e[i])];return-1^t}},{}],46:[function(t,e,r){\"use strict\";var l,f=t(\"../utils/common\"),c=t(\"./trees\"),d=t(\"./adler32\"),h=t(\"./crc32\"),n=t(\"./messages\"),u=0,p=0,m=-2,a=2,g=8,o=286,i=30,s=19,v=2*o+1,A=15,y=3,b=258,x=b+y+1,w=42,_=113;function C(t,e){return t.msg=n[e],e}function P(t){return(t<<1)-(4t.avail_out&&(r=t.avail_out),0!==r&&(f.arraySet(t.output,e.pending_buf,e.pending_out,r,t.next_out),t.next_out+=r,e.pending_out+=r,t.total_out+=r,t.avail_out-=r,e.pending-=r,0===e.pending&&(e.pending_out=0))}function E(t,e){c._tr_flush_block(t,0<=t.block_start?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,L(t.strm)}function T(t,e){t.pending_buf[t.pending++]=e}function k(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function R(t,e){var r,n,a=t.max_chain_length,o=t.strstart,i=t.prev_length,s=t.nice_match,l=t.strstart>t.w_size-x?t.strstart-(t.w_size-x):0,c=t.window,u=t.w_mask,p=t.prev,f=t.strstart+b,d=c[o+i-1],h=c[o+i];t.prev_length>=t.good_match&&(a>>=2),s>t.lookahead&&(s=t.lookahead);do{if(c[(r=e)+i]===h&&c[r+i-1]===d&&c[r]===c[o]&&c[++r]===c[o+1]){o+=2,r++;do{}while(c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&ol&&0!=--a);return i<=t.lookahead?i:t.lookahead}function F(t){var e,r,n,a,o,i,s,l,c,u,p=t.w_size;do{if(a=t.window_size-t.lookahead-t.strstart,t.strstart>=p+(p-x)){for(f.arraySet(t.window,t.window,p,p,0),t.match_start-=p,t.strstart-=p,t.block_start-=p,e=r=t.hash_size;n=t.head[--e],t.head[e]=p<=n?n-p:0,--r;);for(e=r=p;n=t.prev[--e],t.prev[e]=p<=n?n-p:0,--r;);a+=p}if(0===t.strm.avail_in)break;if(i=t.strm,s=t.window,l=t.strstart+t.lookahead,u=void 0,(c=a)<(u=i.avail_in)&&(u=c),r=0===u?0:(i.avail_in-=u,f.arraySet(s,i.input,i.next_in,u,l),1===i.state.wrap?i.adler=d(i.adler,s,u,l):2===i.state.wrap&&(i.adler=h(i.adler,s,u,l)),i.next_in+=u,i.total_in+=u,u),t.lookahead+=r,t.lookahead+t.insert>=y)for(o=t.strstart-t.insert,t.ins_h=t.window[o],t.ins_h=(t.ins_h<=y&&(t.ins_h=(t.ins_h<=y)if(n=c._tr_tally(t,t.strstart-t.match_start,t.match_length-y),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=y){for(t.match_length--;t.strstart++,t.ins_h=(t.ins_h<=y&&(t.ins_h=(t.ins_h<=y&&t.match_length<=t.prev_length){for(a=t.strstart+t.lookahead-y,n=c._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-y),t.lookahead-=t.prev_length-1,t.prev_length-=2;++t.strstart<=a&&(t.ins_h=(t.ins_h<t.pending_buf_size-5&&(r=t.pending_buf_size-5);;){if(t.lookahead<=1){if(F(t),0===t.lookahead&&e===u)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+r;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,E(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-x&&(E(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(E(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(E(t,!1),t.strm.avail_out),1)}),new B(4,4,8,4,I),new B(4,5,16,8,I),new B(4,6,32,32,I),new B(4,4,16,16,O),new B(8,16,32,32,O),new B(8,16,128,128,O),new B(8,32,128,256,O),new B(32,128,258,1024,O),new B(32,258,258,4096,O)],r.deflateInit=function(t,e){return z(t,e,g,15,8,0)},r.deflateInit2=z,r.deflateReset=M,r.deflateResetKeep=D,r.deflateSetHeader=function(t,e){return t&&t.state?2!==t.state.wrap?m:(t.state.gzhead=e,p):m},r.deflate=function(t,e){var r,n,a,o;if(!t||!t.state||5>8&255),T(n,n.gzhead.time>>16&255),T(n,n.gzhead.time>>24&255),T(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),T(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(T(n,255&n.gzhead.extra.length),T(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(t.adler=h(t.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69):(T(n,0),T(n,0),T(n,0),T(n,0),T(n,0),T(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),T(n,3),n.status=_);else{var i=g+(n.w_bits-8<<4)<<8;i|=(2<=n.strategy||n.level<2?0:n.level<6?1:6===n.level?2:3)<<6,0!==n.strstart&&(i|=32),i+=31-i%31,n.status=_,k(n,i),0!==n.strstart&&(k(n,t.adler>>>16),k(n,65535&t.adler)),t.adler=1}if(69===n.status)if(n.gzhead.extra){for(a=n.pending;n.gzindex<(65535&n.gzhead.extra.length)&&(n.pending!==n.pending_buf_size||(n.gzhead.hcrc&&n.pending>a&&(t.adler=h(t.adler,n.pending_buf,n.pending-a,a)),L(t),a=n.pending,n.pending!==n.pending_buf_size));)T(n,255&n.gzhead.extra[n.gzindex]),n.gzindex++;n.gzhead.hcrc&&n.pending>a&&(t.adler=h(t.adler,n.pending_buf,n.pending-a,a)),n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=73)}else n.status=73;if(73===n.status)if(n.gzhead.name){a=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>a&&(t.adler=h(t.adler,n.pending_buf,n.pending-a,a)),L(t),a=n.pending,n.pending===n.pending_buf_size)){o=1;break}o=n.gzindexa&&(t.adler=h(t.adler,n.pending_buf,n.pending-a,a)),0===o&&(n.gzindex=0,n.status=91)}else n.status=91;if(91===n.status)if(n.gzhead.comment){a=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>a&&(t.adler=h(t.adler,n.pending_buf,n.pending-a,a)),L(t),a=n.pending,n.pending===n.pending_buf_size)){o=1;break}o=n.gzindexa&&(t.adler=h(t.adler,n.pending_buf,n.pending-a,a)),0===o&&(n.status=103)}else n.status=103;if(103===n.status&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&L(t),n.pending+2<=n.pending_buf_size&&(T(n,255&t.adler),T(n,t.adler>>8&255),t.adler=0,n.status=_)):n.status=_),0!==n.pending){if(L(t),0===t.avail_out)return n.last_flush=-1,p}else if(0===t.avail_in&&P(e)<=P(r)&&4!==e)return C(t,-5);if(666===n.status&&0!==t.avail_in)return C(t,-5);if(0!==t.avail_in||0!==n.lookahead||e!==u&&666!==n.status){var s=2===n.strategy?function(t,e){for(var r;;){if(0===t.lookahead&&(F(t),0===t.lookahead)){if(e===u)return 1;break}if(t.match_length=0,r=c._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,r&&(E(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(E(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(E(t,!1),0===t.strm.avail_out)?1:2}(n,e):3===n.strategy?function(t,e){for(var r,n,a,o,i=t.window;;){if(t.lookahead<=b){if(F(t),t.lookahead<=b&&e===u)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=y&&0t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=y?(r=c._tr_tally(t,1,t.match_length-y),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(r=c._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),r&&(E(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(E(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(E(t,!1),0===t.strm.avail_out)?1:2}(n,e):l[n.level].func(n,e);if(3!==s&&4!==s||(n.status=666),1===s||3===s)return 0===t.avail_out&&(n.last_flush=-1),p;if(2===s&&(1===e?c._tr_align(n):5!==e&&(c._tr_stored_block(n,0,0,!1),3===e&&(S(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),L(t),0===t.avail_out))return n.last_flush=-1,p}return 4!==e?p:n.wrap<=0?1:(2===n.wrap?(T(n,255&t.adler),T(n,t.adler>>8&255),T(n,t.adler>>16&255),T(n,t.adler>>24&255),T(n,255&t.total_in),T(n,t.total_in>>8&255),T(n,t.total_in>>16&255),T(n,t.total_in>>24&255)):(k(n,t.adler>>>16),k(n,65535&t.adler)),L(t),0=r.w_size&&(0===o&&(S(r.head),r.strstart=0,r.block_start=0,r.insert=0),c=new f.Buf8(r.w_size),f.arraySet(c,e,u-r.w_size,r.w_size,0),e=c,u=r.w_size),i=t.avail_in,s=t.next_in,l=t.input,t.avail_in=u,t.next_in=0,t.input=e,F(r);r.lookahead>=y;){for(n=r.strstart,a=r.lookahead-(y-1);r.ins_h=(r.ins_h<>>=b=y>>>24,h-=b,0==(b=y>>>16&255))S[o++]=65535&y;else{if(!(16&b)){if(0==(64&b)){y=m[(65535&y)+(d&(1<>>=b,h-=b),h<15&&(d+=P[n++]<>>=b=y>>>24,h-=b,!(16&(b=y>>>16&255))){if(0==(64&b)){y=g[(65535&y)+(d&(1<>>=b,h-=b,(b=o-i)>3,d&=(1<<(h-=x<<3))-1,t.next_in=n,t.next_out=o,t.avail_in=n>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function o(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new T.Buf16(320),this.work=new T.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function i(t){var e;return t&&t.state?(e=t.state,t.total_in=t.total_out=e.total=0,t.msg=\"\",e.wrap&&(t.adler=1&e.wrap),e.mode=M,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new T.Buf32(n),e.distcode=e.distdyn=new T.Buf32(a),e.sane=1,e.back=-1,N):D}function s(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,i(t)):D}function l(t,e){var r,n;return t&&t.state?(n=t.state,e<0?(r=0,e=-e):(r=1+(e>>4),e<48&&(e&=15)),e&&(e<8||15=o.wsize?(T.arraySet(o.window,e,r-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):(n<(a=o.wsize-o.wnext)&&(a=n),T.arraySet(o.window,e,r-n,a,o.wnext),(n-=a)?(T.arraySet(o.window,e,r-n,n,0),o.wnext=n,o.whave=o.wsize):(o.wnext+=a,o.wnext===o.wsize&&(o.wnext=0),o.whave>>8&255,r.check=R(r.check,L,2,0),u=c=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&c)<<8)+(c>>8))%31){t.msg=\"incorrect header check\",r.mode=30;break}if(8!=(15&c)){t.msg=\"unknown compression method\",r.mode=30;break}if(u-=4,w=8+(15&(c>>>=4)),0===r.wbits)r.wbits=w;else if(w>r.wbits){t.msg=\"invalid window size\",r.mode=30;break}r.dmax=1<>8&1),512&r.flags&&(L[0]=255&c,L[1]=c>>>8&255,r.check=R(r.check,L,2,0)),u=c=0,r.mode=3;case 3:for(;u<32;){if(0===s)break t;s--,c+=n[o++]<>>8&255,L[2]=c>>>16&255,L[3]=c>>>24&255,r.check=R(r.check,L,4,0)),u=c=0,r.mode=4;case 4:for(;u<16;){if(0===s)break t;s--,c+=n[o++]<>8),512&r.flags&&(L[0]=255&c,L[1]=c>>>8&255,r.check=R(r.check,L,2,0)),u=c=0,r.mode=5;case 5:if(1024&r.flags){for(;u<16;){if(0===s)break t;s--,c+=n[o++]<>>8&255,r.check=R(r.check,L,2,0)),u=c=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&(s<(d=r.length)&&(d=s),d&&(r.head&&(w=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),T.arraySet(r.head.extra,n,o,d,w)),512&r.flags&&(r.check=R(r.check,n,d,o)),s-=d,o+=d,r.length-=d),r.length))break t;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===s)break t;for(d=0;w=n[o+d++],r.head&&w&&r.length<65536&&(r.head.name+=String.fromCharCode(w)),w&&d>9&1,r.head.done=!0),t.adler=r.check=0,r.mode=12;break;case 10:for(;u<32;){if(0===s)break t;s--,c+=n[o++]<>>=7&u,u-=7&u,r.mode=27;break}for(;u<3;){if(0===s)break t;s--,c+=n[o++]<>>=1)){case 0:r.mode=14;break;case 1:if(U(r),r.mode=20,6!==e)break;c>>>=2,u-=2;break t;case 2:r.mode=17;break;case 3:t.msg=\"invalid block type\",r.mode=30}c>>>=2,u-=2;break;case 14:for(c>>>=7&u,u-=7&u;u<32;){if(0===s)break t;s--,c+=n[o++]<>>16^65535)){t.msg=\"invalid stored block lengths\",r.mode=30;break}if(r.length=65535&c,u=c=0,r.mode=15,6===e)break t;case 15:r.mode=16;case 16:if(d=r.length){if(s>>=5,u-=5,r.ndist=1+(31&c),c>>>=5,u-=5,r.ncode=4+(15&c),c>>>=4,u-=4,286>>=3,u-=3}for(;r.have<19;)r.lens[E[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,C={bits:r.lenbits},_=I(0,r.lens,0,19,r.lencode,0,r.work,C),r.lenbits=C.bits,_){t.msg=\"invalid code lengths set\",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have>>16&255,A=65535&S,!((g=S>>>24)<=u);){if(0===s)break t;s--,c+=n[o++]<>>=g,u-=g,r.lens[r.have++]=A;else{if(16===A){for(P=g+2;u>>=g,u-=g,0===r.have){t.msg=\"invalid bit length repeat\",r.mode=30;break}w=r.lens[r.have-1],d=3+(3&c),c>>>=2,u-=2}else if(17===A){for(P=g+3;u>>=g)),c>>>=3,u-=3}else{for(P=g+7;u>>=g)),c>>>=7,u-=7}if(r.have+d>r.nlen+r.ndist){t.msg=\"invalid bit length repeat\",r.mode=30;break}for(;d--;)r.lens[r.have++]=w}}if(30===r.mode)break;if(0===r.lens[256]){t.msg=\"invalid code -- missing end-of-block\",r.mode=30;break}if(r.lenbits=9,C={bits:r.lenbits},_=I(O,r.lens,0,r.nlen,r.lencode,0,r.work,C),r.lenbits=C.bits,_){t.msg=\"invalid literal/lengths set\",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,C={bits:r.distbits},_=I(B,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,C),r.distbits=C.bits,_){t.msg=\"invalid distances set\",r.mode=30;break}if(r.mode=20,6===e)break t;case 20:r.mode=21;case 21:if(6<=s&&258<=l){t.next_out=i,t.avail_out=l,t.next_in=o,t.avail_in=s,r.hold=c,r.bits=u,F(t,f),i=t.next_out,a=t.output,l=t.avail_out,o=t.next_in,n=t.input,s=t.avail_in,c=r.hold,u=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;v=(S=r.lencode[c&(1<>>16&255,A=65535&S,!((g=S>>>24)<=u);){if(0===s)break t;s--,c+=n[o++]<>y)])>>>16&255,A=65535&S,!(y+(g=S>>>24)<=u);){if(0===s)break t;s--,c+=n[o++]<>>=y,u-=y,r.back+=y}if(c>>>=g,u-=g,r.back+=g,r.length=A,0===v){r.mode=26;break}if(32&v){r.back=-1,r.mode=12;break}if(64&v){t.msg=\"invalid literal/length code\",r.mode=30;break}r.extra=15&v,r.mode=22;case 22:if(r.extra){for(P=r.extra;u>>=r.extra,u-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;v=(S=r.distcode[c&(1<>>16&255,A=65535&S,!((g=S>>>24)<=u);){if(0===s)break t;s--,c+=n[o++]<>y)])>>>16&255,A=65535&S,!(y+(g=S>>>24)<=u);){if(0===s)break t;s--,c+=n[o++]<>>=y,u-=y,r.back+=y}if(c>>>=g,u-=g,r.back+=g,64&v){t.msg=\"invalid distance code\",r.mode=30;break}r.offset=A,r.extra=15&v,r.mode=24;case 24:if(r.extra){for(P=r.extra;u>>=r.extra,u-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){t.msg=\"invalid distance too far back\",r.mode=30;break}r.mode=25;case 25:if(0===l)break t;if(d=f-l,r.offset>d){if((d=r.offset-d)>r.whave&&r.sane){t.msg=\"invalid distance too far back\",r.mode=30;break}h=d>r.wnext?(d-=r.wnext,r.wsize-d):r.wnext-d,d>r.length&&(d=r.length),m=r.window}else m=a,h=i-r.offset,d=r.length;for(ld?(m=F[I+i[y]],E[T+i[y]]):(m=96,0),l=1<>C)+(c-=l)]=h<<24|m<<16|g|0,0!==c;);for(l=1<>=1;if(0!==l?(L&=l-1,L+=l):L=0,y++,0==--k[A]){if(A===x)break;A=e[r+i[y]]}if(w>>7)]}function _(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function C(t,e,r){t.bi_valid>a-r?(t.bi_buf|=e<>a-t.bi_valid,t.bi_valid+=r-a):(t.bi_buf|=e<>>=1,r<<=1,0<--e;);return r>>>1}function L(t,e,r){var n,a,o=new Array(g+1),i=0;for(n=1;n<=g;n++)o[n]=i=i+r[n-1]<<1;for(a=0;a<=e;a++){var s=t[2*a+1];0!==s&&(t[2*a]=S(o[s]++,s))}}function E(t){var e;for(e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function T(t){8>1;1<=r;r--)R(t,o,r);for(a=l;r=t.heap[1],t.heap[1]=t.heap[t.heap_len--],R(t,o,1),n=t.heap[1],t.heap[--t.heap_max]=r,t.heap[--t.heap_max]=n,o[2*a]=o[2*r]+o[2*n],t.depth[a]=(t.depth[r]>=t.depth[n]?t.depth[r]:t.depth[n])+1,o[2*r+1]=o[2*n+1]=a,t.heap[1]=a++,R(t,o,1),2<=t.heap_len;);t.heap[--t.heap_max]=t.heap[1],function(t,e){var r,n,a,o,i,s,l=e.dyn_tree,c=e.max_code,u=e.stat_desc.static_tree,p=e.stat_desc.has_stree,f=e.stat_desc.extra_bits,d=e.stat_desc.extra_base,h=e.stat_desc.max_length,m=0;for(o=0;o<=g;o++)t.bl_count[o]=0;for(l[2*t.heap[t.heap_max]+1]=0,r=t.heap_max+1;r<573;r++)h<(o=l[2*l[2*(n=t.heap[r])+1]+1]+1)&&(o=h,m++),l[2*n+1]=o,c>=7;n<30;n++)for(b[n]=a<<7,t=0;t<1<>>=1)if(1&r&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<256;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0}(t)),I(t,t.l_desc),I(t,t.d_desc),i=function(t){var e;for(O(t,t.dyn_ltree,t.l_desc.max_code),O(t,t.dyn_dtree,t.d_desc.max_code),I(t,t.bl_desc),e=18;3<=e&&0===t.bl_tree[2*u[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),a=t.opt_len+3+7>>>3,(o=t.static_len+3+7>>>3)<=a&&(a=o)):a=o=r+5,r+4<=a&&-1!==e?D(t,e,r,n):4===t.strategy||o===a?(C(t,2+(n?1:0),3),F(t,p,f)):(C(t,4+(n?1:0),3),function(t,e,r,n){var a;for(C(t,e-257,5),C(t,r-1,5),C(t,n-4,4),a=0;a>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&r,t.last_lit++,0===e?t.dyn_ltree[2*r]++:(t.matches++,e--,t.dyn_ltree[2*(h[r]+256+1)]++,t.dyn_dtree[2*w(e)]++),t.last_lit===t.lit_bufsize-1},r._tr_align=function(t){var e;C(t,2,3),P(t,256,p),16===(e=t).bi_valid?(_(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):8<=e.bi_valid&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}},{\"../utils/common\":41}],53:[function(t,e,r){\"use strict\";e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg=\"\",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(t,e,r){\"use strict\";e.exports=\"function\"==typeof setImmediate?setImmediate:function(){var t=[].slice.apply(arguments);t.splice(1,0,0),setTimeout.apply(null,t)}},{}]},{},[10])(10)})}).call(this,void 0!==r?r:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,void 0!==r?r:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,void 0!==r?r:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,void 0!==r?r:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}]},{},[1])(1)}),function o(i,s,l){function c(e,t){if(!s[e]){if(!i[e]){var r=\"function\"==typeof require&&require;if(!t&&r)return r(e,!0);if(u)return u(e,!0);var n=new Error(\"Cannot find module '\"+e+\"'\");throw n.code=\"MODULE_NOT_FOUND\",n}var a=s[e]={exports:{}};i[e][0].call(a.exports,function(t){return c(i[e][1][t]||t)},a,a.exports,o,i,s,l)}return s[e].exports}for(var u=\"function\"==typeof require&&require,t=0;ti;)o.call(t,n=a[i++])&&e.push(n);return e}},{104:104,107:107,108:108}],62:[function(t,e,r){var m=t(70),g=t(52),v=t(72),A=t(118),y=t(54),b=\"prototype\",x=function(t,e,r){var n,a,o,i,s=t&x.F,l=t&x.G,c=t&x.S,u=t&x.P,p=t&x.B,f=l?m:c?m[e]||(m[e]={}):(m[e]||{})[b],d=l?g:g[e]||(g[e]={}),h=d[b]||(d[b]={});for(n in l&&(r=e),r)o=((a=!s&&f&&void 0!==f[n])?f:r)[n],i=p&&a?y(o,m):u&&\"function\"==typeof o?y(Function.call,o):o,f&&A(f,n,o,t&x.U),d[n]!=o&&v(d,n,i),u&&h[n]!=o&&(h[n]=o)};m.core=g,x.F=1,x.G=2,x.S=4,x.P=8,x.B=16,x.W=32,x.U=64,x.R=128,e.exports=x},{118:118,52:52,54:54,70:70,72:72}],63:[function(t,e,r){var n=t(152)(\"match\");e.exports=function(e){var r=/./;try{\"/./\"[e](r)}catch(t){try{return r[n]=!1,!\"/./\"[e](r)}catch(t){}}return!0}},{152:152}],64:[function(t,e,r){arguments[4][23][0].apply(r,arguments)},{23:23}],65:[function(t,e,r){\"use strict\";t(248);var u=t(118),p=t(72),f=t(64),d=t(57),h=t(152),m=t(120),g=h(\"species\"),v=!f(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:\"7\"},t},\"7\"!==\"\".replace(t,\"$
\")}),A=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r=\"ab\".split(t);return 2===r.length&&\"a\"===r[0]&&\"b\"===r[1]}();e.exports=function(r,t,e){var n=h(r),o=!f(function(){var t={};return t[n]=function(){return 7},7!=\"\"[r](t)}),a=o?!f(function(){var t=!1,e=/a/;return e.exec=function(){return t=!0,null},\"split\"===r&&(e.constructor={},e.constructor[g]=function(){return e}),e[n](\"\"),!t}):void 0;if(!o||!a||\"replace\"===r&&!v||\"split\"===r&&!A){var i=/./[n],s=e(d,n,\"\"[r],function(t,e,r,n,a){return e.exec===m?o&&!a?{done:!0,value:i.call(e,r,n)}:{done:!0,value:t.call(r,e,n)}:{done:!1}}),l=s[0],c=s[1];u(String.prototype,r,l),p(RegExp.prototype,n,2==t?function(t,e){return c.call(t,this,e)}:function(t){return c.call(t,this)})}}},{118:118,120:120,152:152,248:248,57:57,64:64,72:72}],66:[function(t,e,r){\"use strict\";var n=t(38);e.exports=function(){var t=n(this),e=\"\";return t.global&&(e+=\"g\"),t.ignoreCase&&(e+=\"i\"),t.multiline&&(e+=\"m\"),t.unicode&&(e+=\"u\"),t.sticky&&(e+=\"y\"),e}},{38:38}],67:[function(t,e,r){\"use strict\";var h=t(79),m=t(81),g=t(141),v=t(54),A=t(152)(\"isConcatSpreadable\");e.exports=function t(e,r,n,a,o,i,s,l){for(var c,u,p=o,f=0,d=!!s&&v(s,l,3);fdocument.F=Object<\\/script>\"),t.close(),u=t.F;r--;)delete u[c][s[r]];return u()};t.exports=Object.create||function(t,e){var r;return null!==t?(a[c]=o(t),r=new a,a[c]=null,r[l]=t):r=u(),void 0===e?r:i(r,e)}},{100:100,125:125,38:38,59:59,60:60,73:73}],99:[function(t,e,r){arguments[4][29][0].apply(r,arguments)},{143:143,29:29,38:38,58:58,74:74}],100:[function(t,e,r){var i=t(99),s=t(38),l=t(107);e.exports=t(58)?Object.defineProperties:function(t,e){s(t);for(var r,n=l(e),a=n.length,o=0;oa;)i(n,r=e[a++])&&(~l(o,r)||o.push(r));return o}},{125:125,140:140,41:41,71:71}],107:[function(t,e,r){var n=t(106),a=t(60);e.exports=Object.keys||function(t){return n(t,a)}},{106:106,60:60}],108:[function(t,e,r){r.f={}.propertyIsEnumerable},{}],109:[function(t,e,r){var a=t(62),o=t(52),i=t(64);e.exports=function(t,e){var r=(o.Object||{})[t]||Object[t],n={};n[t]=e(r),a(a.S+a.F*i(function(){r(1)}),\"Object\",n)}},{52:52,62:62,64:64}],110:[function(t,e,r){var l=t(58),c=t(107),u=t(140),p=t(108).f;e.exports=function(s){return function(t){for(var e,r=u(t),n=c(r),a=n.length,o=0,i=[];o>>0||(i.test(r)?16:10))}:n},{134:134,135:135,70:70}],114:[function(t,e,r){e.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},{}],115:[function(t,e,r){var n=t(38),a=t(81),o=t(96);e.exports=function(t,e){if(n(t),a(e)&&e.constructor===t)return e;var r=o.f(t);return(0,r.resolve)(e),r.promise}},{38:38,81:81,96:96}],116:[function(t,e,r){arguments[4][30][0].apply(r,arguments)},{30:30}],117:[function(t,e,r){var a=t(118);e.exports=function(t,e,r){for(var n in e)a(t,n,e[n],r);return t}},{118:118}],118:[function(t,e,r){var o=t(70),i=t(72),s=t(71),l=t(147)(\"src\"),n=t(69),a=\"toString\",c=(\"\"+n).split(a);t(52).inspectSource=function(t){return n.call(t)},(e.exports=function(t,e,r,n){var a=\"function\"==typeof r;a&&(s(r,\"name\")||i(r,\"name\",e)),t[e]!==r&&(a&&(s(r,l)||i(r,l,t[e]?\"\"+t[e]:c.join(String(e)))),t===o?t[e]=r:n?t[e]?t[e]=r:i(t,e,r):(delete t[e],i(t,e,r)))})(Function.prototype,a,function(){return\"function\"==typeof this&&this[l]||n.call(this)})},{147:147,52:52,69:69,70:70,71:71,72:72}],119:[function(t,e,r){\"use strict\";var a=t(47),o=RegExp.prototype.exec;e.exports=function(t,e){var r=t.exec;if(\"function\"==typeof r){var n=r.call(t,e);if(\"object\"!=typeof n)throw new TypeError(\"RegExp exec method returned something other than an Object or null\");return n}if(\"RegExp\"!==a(t))throw new TypeError(\"RegExp#exec called on incompatible receiver\");return o.call(t,e)}},{47:47}],120:[function(t,e,r){\"use strict\";var n,a,i=t(66),s=RegExp.prototype.exec,l=String.prototype.replace,o=s,c=\"lastIndex\",u=(n=/a/,a=/b*/g,s.call(n,\"a\"),s.call(a,\"a\"),0!==n[c]||0!==a[c]),p=void 0!==/()??/.exec(\"\")[1];(u||p)&&(o=function(t){var e,r,n,a,o=this;return p&&(r=new RegExp(\"^\"+o.source+\"$(?!\\\\s)\",i.call(o))),u&&(e=o[c]),n=s.call(o,t),u&&n&&(o[c]=o.global?n.index+n[0].length:e),p&&n&&1\"+a+\"\"}var a=t(62),o=t(64),i=t(57),s=/\"/g;e.exports=function(e,t){var r={};r[e]=t(n),a(a.P+a.F*o(function(){var t=\"\"[e]('\"');return t!==t.toLowerCase()||3l&&(c=c.slice(0,l)),n?c+a:a+c}},{133:133,141:141,57:57}],133:[function(t,e,r){\"use strict\";var a=t(139),o=t(57);e.exports=function(t){var e=String(o(this)),r=\"\",n=a(t);if(n<0||n==1/0)throw RangeError(\"Count can't be negative\");for(;0>>=1)&&(e+=e))1&n&&(r+=e);return r}},{139:139,57:57}],134:[function(t,e,r){function n(t,e,r){var n={},a=s(function(){return!!l[t]()||\"​…\"!=\"​…\"[t]()}),o=n[t]=a?e(p):l[t];r&&(n[r]=o),i(i.P+i.F*a,\"String\",n)}var i=t(62),a=t(57),s=t(64),l=t(135),o=\"[\"+l+\"]\",c=RegExp(\"^\"+o+o+\"*\"),u=RegExp(o+o+\"*$\"),p=n.trim=function(t,e){return t=String(a(t)),1&e&&(t=t.replace(c,\"\")),2&e&&(t=t.replace(u,\"\")),t};e.exports=n},{135:135,57:57,62:62,64:64}],135:[function(t,e,r){e.exports=\"\\t\\n\\v\\f\\r   ᠎              \\u2028\\u2029\\ufeff\"},{}],136:[function(t,e,r){function n(){var t=+this;if(y.hasOwnProperty(t)){var e=y[t];delete y[t],e()}}function a(t){n.call(t.data)}var o,i,s,l=t(54),c=t(76),u=t(73),p=t(59),f=t(70),d=f.process,h=f.setImmediate,m=f.clearImmediate,g=f.MessageChannel,v=f.Dispatch,A=0,y={},b=\"onreadystatechange\";h&&m||(h=function(t){for(var e=[],r=1;r>1,u=23===e?T(2,-24)-T(2,-77):0,p=0,f=t<0||0===t&&1/t<0?1:0;for((t=E(t))!=t||t===S?(a=t!=t?1:0,n=l):(n=k(R(t)/F),t*(o=T(2,-n))<1&&(n--,o*=2),2<=(t+=1<=n+c?u/o:u*T(2,1-c))*o&&(n++,o/=2),l<=n+c?(a=0,n=l):1<=n+c?(a=(t*o-1)*T(2,e),n+=c):(a=t*T(2,c-1)*T(2,e),n=0));8<=e;i[p++]=255&a,a/=256,e-=8);for(n=n<>1,s=a-7,l=r-1,c=t[l--],u=127&c;for(c>>=7;0>=-s,s+=e;0>8&255]}function W(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function H(t){return M(t,52,8)}function V(t){return M(t,23,4)}function Q(t,e,r){m(t[b],e,{get:function(){return this[r]}})}function Y(t,e,r,n){var a=d(+r);if(a+e>t[N])throw P(x);var o=t[B]._b,i=a+t[D],s=o.slice(i,i+e);return n?s:s.reverse()}function q(t,e,r,n,a,o){var i=d(+r);if(i+e>t[N])throw P(x);for(var s=t[B]._b,l=i+t[D],c=n(+a),u=0;uJ;)(Z=K[J++])in w||s(w,Z,L[Z]);o||(X.constructor=w)}var $=new _(new w(2)),tt=_[b].setInt8;$.setInt8(0,2147483648),$.setInt8(1,2147483649),!$.getInt8(0)&&$.getInt8(1)||l(_[b],{setInt8:function(t,e){tt.call(this,t,e<<24>>24)},setUint8:function(t,e){tt.call(this,t,e<<24>>24)}},!0)}else w=function(t){u(this,w,A);var e=d(t);this._b=g.call(new Array(e),0),this[N]=e},_=function(t,e,r){u(this,_,y),u(t,w,y);var n=t[N],a=p(e);if(a<0||n>24},getUint8:function(t){return Y(this,1,t)[0]},getInt16:function(t,e){var r=Y(this,2,t,e);return(r[1]<<8|r[0])<<16>>16},getUint16:function(t,e){var r=Y(this,2,t,e);return r[1]<<8|r[0]},getInt32:function(t,e){return U(Y(this,4,t,e))},getUint32:function(t,e){return U(Y(this,4,t,e))>>>0},getFloat32:function(t,e){return z(Y(this,4,t,e),23,4)},getFloat64:function(t,e){return z(Y(this,8,t,e),52,8)},setInt8:function(t,e){q(this,1,t,j,e)},setUint8:function(t,e){q(this,1,t,j,e)},setInt16:function(t,e,r){q(this,2,t,G,e,r)},setUint16:function(t,e,r){q(this,2,t,G,e,r)},setInt32:function(t,e,r){q(this,4,t,W,e,r)},setUint32:function(t,e,r){q(this,4,t,W,e,r)},setFloat32:function(t,e,r){q(this,4,t,V,e,r)},setFloat64:function(t,e,r){q(this,8,t,H,e,r)}});v(w,A),v(_,y),s(_[b],i.VIEW,!0),r[A]=w,r[y]=_},{103:103,117:117,124:124,138:138,139:139,141:141,146:146,37:37,40:40,58:58,64:64,70:70,72:72,89:89,99:99}],146:[function(t,e,r){for(var n,a=t(70),o=t(72),i=t(147),s=i(\"typed_array\"),l=i(\"view\"),c=!(!a.ArrayBuffer||!a.DataView),u=c,p=0,f=\"Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array\".split(\",\");p<9;)(n=a[f[p++]])?(o(n.prototype,s,!0),o(n.prototype,l,!0)):u=!1;e.exports={ABV:c,CONSTR:u,TYPED:s,VIEW:l}},{147:147,70:70,72:72}],147:[function(t,e,r){var n=0,a=Math.random();e.exports=function(t){return\"Symbol(\".concat(void 0===t?\"\":t,\")_\",(++n+a).toString(36))}},{}],148:[function(t,e,r){var n=t(70).navigator;e.exports=n&&n.userAgent||\"\"},{70:70}],149:[function(t,e,r){var n=t(81);e.exports=function(t,e){if(!n(t)||t._t!==e)throw TypeError(\"Incompatible receiver, \"+e+\" required!\");return t}},{81:81}],150:[function(t,e,r){var n=t(70),a=t(52),o=t(89),i=t(151),s=t(99).f;e.exports=function(t){var e=a.Symbol||(a.Symbol=o?{}:n.Symbol||{});\"_\"==t.charAt(0)||t in e||s(e,t,{value:i.f(t)})}},{151:151,52:52,70:70,89:89,99:99}],151:[function(t,e,r){r.f=t(152)},{152:152}],152:[function(t,e,r){var n=t(126)(\"wks\"),a=t(147),o=t(70).Symbol,i=\"function\"==typeof o;(e.exports=function(t){return n[t]||(n[t]=i&&o[t]||(i?o:a)(\"Symbol.\"+t))}).store=n},{126:126,147:147,70:70}],153:[function(t,e,r){var n=t(47),a=t(152)(\"iterator\"),o=t(88);e.exports=t(52).getIteratorMethod=function(t){if(null!=t)return t[a]||t[\"@@iterator\"]||o[n(t)]}},{152:152,47:47,52:52,88:88}],154:[function(t,e,r){var n=t(62);n(n.P,\"Array\",{copyWithin:t(39)}),t(35)(\"copyWithin\")},{35:35,39:39,62:62}],155:[function(t,e,r){\"use strict\";var n=t(62),a=t(42)(4);n(n.P+n.F*!t(128)([].every,!0),\"Array\",{every:function(t,e){return a(this,t,e)}})},{128:128,42:42,62:62}],156:[function(t,e,r){var n=t(62);n(n.P,\"Array\",{fill:t(40)}),t(35)(\"fill\")},{35:35,40:40,62:62}],157:[function(t,e,r){\"use strict\";var n=t(62),a=t(42)(2);n(n.P+n.F*!t(128)([].filter,!0),\"Array\",{filter:function(t,e){return a(this,t,e)}})},{128:128,42:42,62:62}],158:[function(t,e,r){\"use strict\";var n=t(62),a=t(42)(6),o=\"findIndex\",i=!0;o in[]&&Array(1)[o](function(){i=!1}),n(n.P+n.F*i,\"Array\",{findIndex:function(t,e){return a(this,t,1=t.length?(this._t=void 0,a(1)):a(0,\"keys\"==e?r:\"values\"==e?t[r]:[r,t[r]])},\"values\"),o.Arguments=o.Array,n(\"keys\"),n(\"values\"),n(\"entries\")},{140:140,35:35,85:85,87:87,88:88}],165:[function(t,e,r){\"use strict\";var n=t(62),a=t(140),o=[].join;n(n.P+n.F*(t(77)!=Object||!t(128)(o)),\"Array\",{join:function(t){return o.call(a(this),void 0===t?\",\":t)}})},{128:128,140:140,62:62,77:77}],166:[function(t,e,r){\"use strict\";var n=t(62),o=t(140),i=t(139),s=t(141),l=[].lastIndexOf,c=!!l&&1/[1].lastIndexOf(1,-0)<0;n(n.P+n.F*(c||!t(128)(l)),\"Array\",{lastIndexOf:function(t,e){if(c)return l.apply(this,arguments)||0;var r=o(this),n=s(r.length),a=n-1;for(1>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},{62:62}],189:[function(t,e,r){var n=t(62),a=Math.exp;n(n.S,\"Math\",{cosh:function(t){return(a(t=+t)+a(-t))/2}})},{62:62}],190:[function(t,e,r){var n=t(62),a=t(90);n(n.S+n.F*(a!=Math.expm1),\"Math\",{expm1:a})},{62:62,90:90}],191:[function(t,e,r){var n=t(62);n(n.S,\"Math\",{fround:t(91)})},{62:62,91:91}],192:[function(t,e,r){var n=t(62),l=Math.abs;n(n.S,\"Math\",{hypot:function(t,e){for(var r,n,a=0,o=0,i=arguments.length,s=0;o>>16)*o+a*(65535&n>>>16)<<16>>>0)}})},{62:62,64:64}],194:[function(t,e,r){var n=t(62);n(n.S,\"Math\",{log10:function(t){return Math.log(t)*Math.LOG10E}})},{62:62}],195:[function(t,e,r){var n=t(62);n(n.S,\"Math\",{log1p:t(92)})},{62:62,92:92}],196:[function(t,e,r){var n=t(62);n(n.S,\"Math\",{log2:function(t){return Math.log(t)/Math.LN2}})},{62:62}],197:[function(t,e,r){var n=t(62);n(n.S,\"Math\",{sign:t(93)})},{62:62,93:93}],198:[function(t,e,r){var n=t(62),a=t(90),o=Math.exp;n(n.S+n.F*t(64)(function(){return-2e-17!=!Math.sinh(-2e-17)}),\"Math\",{sinh:function(t){return Math.abs(t=+t)<1?(a(t)-a(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},{62:62,64:64,90:90}],199:[function(t,e,r){var n=t(62),a=t(90),o=Math.exp;n(n.S,\"Math\",{tanh:function(t){var e=a(t=+t),r=a(-t);return e==1/0?1:r==1/0?-1:(e-r)/(o(t)+o(-t))}})},{62:62,90:90}],200:[function(t,e,r){var n=t(62);n(n.S,\"Math\",{trunc:function(t){return(0w;w++)o(g,b=x[w])&&!o(m,b)&&f(m,b,p(g,b));(m.prototype=v).constructor=m,t(118)(a,h,m)}},{101:101,103:103,118:118,134:134,143:143,48:48,58:58,64:64,70:70,71:71,75:75,98:98,99:99}],202:[function(t,e,r){var n=t(62);n(n.S,\"Number\",{EPSILON:Math.pow(2,-52)})},{62:62}],203:[function(t,e,r){var n=t(62),a=t(70).isFinite;n(n.S,\"Number\",{isFinite:function(t){return\"number\"==typeof t&&a(t)}})},{62:62,70:70}],204:[function(t,e,r){var n=t(62);n(n.S,\"Number\",{isInteger:t(80)})},{62:62,80:80}],205:[function(t,e,r){var n=t(62);n(n.S,\"Number\",{isNaN:function(t){return t!=t}})},{62:62}],206:[function(t,e,r){var n=t(62),a=t(80),o=Math.abs;n(n.S,\"Number\",{isSafeInteger:function(t){return a(t)&&o(t)<=9007199254740991}})},{62:62,80:80}],207:[function(t,e,r){var n=t(62);n(n.S,\"Number\",{MAX_SAFE_INTEGER:9007199254740991})},{62:62}],208:[function(t,e,r){var n=t(62);n(n.S,\"Number\",{MIN_SAFE_INTEGER:-9007199254740991})},{62:62}],209:[function(t,e,r){var n=t(62),a=t(112);n(n.S+n.F*(Number.parseFloat!=a),\"Number\",{parseFloat:a})},{112:112,62:62}],210:[function(t,e,r){var n=t(62),a=t(113);n(n.S+n.F*(Number.parseInt!=a),\"Number\",{parseInt:a})},{113:113,62:62}],211:[function(t,e,r){\"use strict\";function c(t,e){for(var r=-1,n=e;++r<6;)n+=t*i[r],i[r]=n%1e7,n=o(n/1e7)}function u(t){for(var e=6,r=0;0<=--e;)r+=i[e],i[e]=o(r/t),r=r%t*1e7}function p(){for(var t=6,e=\"\";0<=--t;)if(\"\"!==e||0===t||0!==i[t]){var r=String(i[t]);e=\"\"===e?r:e+h.call(\"0\",7-r.length)+r}return e}var n=t(62),f=t(139),d=t(34),h=t(133),a=1..toFixed,o=Math.floor,i=[0,0,0,0,0,0],m=\"Number.toFixed: incorrect invocation!\",g=function(t,e,r){return 0===e?r:e%2==1?g(t,e-1,r*t):g(t*t,e/2,r)};n(n.P+n.F*(!!a&&(\"0.000\"!==8e-5.toFixed(3)||\"1\"!==.9.toFixed(0)||\"1.25\"!==1.255.toFixed(2)||\"1000000000000000128\"!==(0xde0b6b3a7640080).toFixed(0))||!t(64)(function(){a.call({})})),\"Number\",{toFixed:function(t){var e,r,n,a,o=d(this,m),i=f(t),s=\"\",l=\"0\";if(i<0||20t;)e(n[t++]);u._c=[],u._n=!1,r&&!u._h&&N(u)})}}function o(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),a(e,!0))}var i,s,l,c,u=r(89),f=r(70),d=r(54),h=r(47),m=r(62),g=r(81),v=r(33),A=r(37),y=r(68),b=r(127),x=r(136).set,w=r(95)(),_=r(96),C=r(114),P=r(148),S=r(115),L=\"Promise\",E=f.TypeError,T=f.process,k=T&&T.versions,R=k&&k.v8||\"\",F=f[L],I=\"process\"==h(T),O=s=_.f,B=!!function(){try{var t=F.resolve(1),e=(t.constructor={})[r(152)(\"species\")]=function(t){t(n,n)};return(I||\"function\"==typeof PromiseRejectionEvent)&&t.then(n)instanceof e&&0!==R.indexOf(\"6.6\")&&-1===P.indexOf(\"Chrome/66\")}catch(t){}}(),N=function(o){x.call(f,function(){var t,e,r,n=o._v,a=D(o);if(a&&(t=C(function(){I?T.emit(\"unhandledRejection\",n,o):(e=f.onunhandledrejection)?e({promise:o,reason:n}):(r=f.console)&&r.error&&r.error(\"Unhandled promise rejection\",n)}),o._h=I||D(o)?2:1),o._a=void 0,a&&t.e)throw t.v})},D=function(t){return 1!==t._h&&0===(t._a||t._c).length},M=function(e){x.call(f,function(){var t;I?T.emit(\"rejectionHandled\",e):(t=f.onrejectionhandled)&&t({promise:e,reason:e._v})})},z=function(t){var r,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw E(\"Promise can't be resolved itself\");(r=p(t))?w(function(){var e={_w:n,_d:!1};try{r.call(t,d(z,e,1),d(o,e,1))}catch(t){o.call(e,t)}}):(n._v=t,n._s=1,a(n,!1))}catch(t){o.call({_w:n,_d:!1},t)}}};B||(F=function(t){A(this,F,L,\"_h\"),v(t),i.call(this);try{t(d(z,this,1),d(o,this,1))}catch(t){o.call(this,t)}},(i=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=r(117)(F.prototype,{then:function(t,e){var r=O(b(this,F));return r.ok=\"function\"!=typeof t||t,r.fail=\"function\"==typeof e&&e,r.domain=I?T.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&a(this,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),l=function(){var t=new i;this.promise=t,this.resolve=d(z,t,1),this.reject=d(o,t,1)},_.f=O=function(t){return t===F||t===c?new l(t):s(t)}),m(m.G+m.W+m.F*!B,{Promise:F}),r(124)(F,L),r(123)(L),c=r(52)[L],m(m.S+m.F*!B,L,{reject:function(t){var e=O(this);return(0,e.reject)(t),e.promise}}),m(m.S+m.F*(u||!B),L,{resolve:function(t){return S(u&&this===c?F:this,t)}}),m(m.S+m.F*!(B&&r(86)(function(t){F.all(t).catch(n)})),L,{all:function(t){var i=this,e=O(i),s=e.resolve,l=e.reject,r=C(function(){var n=[],a=0,o=1;y(t,!1,function(t){var e=a++,r=!1;n.push(void 0),o++,i.resolve(t).then(function(t){r||(r=!0,n[e]=t,--o||s(n))},l)}),--o||s(n)});return r.e&&l(r.v),e.promise},race:function(t){var e=this,r=O(e),n=r.reject,a=C(function(){y(t,!1,function(t){e.resolve(t).then(r.resolve,n)})});return a.e&&n(a.v),r.promise}})},{114:114,115:115,117:117,123:123,124:124,127:127,136:136,148:148,152:152,33:33,37:37,47:47,52:52,54:54,62:62,68:68,70:70,81:81,86:86,89:89,95:95,96:96}],233:[function(t,e,r){var n=t(62),o=t(33),i=t(38),s=(t(70).Reflect||{}).apply,l=Function.apply;n(n.S+n.F*!t(64)(function(){s(function(){})}),\"Reflect\",{apply:function(t,e,r){var n=o(t),a=i(r);return s?s(n,e,a):l.call(n,e,a)}})},{33:33,38:38,62:62,64:64,70:70}],234:[function(t,e,r){var n=t(62),l=t(98),c=t(33),u=t(38),p=t(81),a=t(64),f=t(46),d=(t(70).Reflect||{}).construct,h=a(function(){function t(){}return!(d(function(){},[],t)instanceof t)}),m=!a(function(){d(function(){})});n(n.S+n.F*(h||m),\"Reflect\",{construct:function(t,e,r){c(t),u(e);var n=arguments.length<3?t:c(r);if(m&&!h)return d(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var a=[null];return a.push.apply(a,e),new(f.apply(t,a))}var o=n.prototype,i=l(p(o)?o:Object.prototype),s=Function.apply.call(t,i,e);return p(s)?s:i}})},{33:33,38:38,46:46,62:62,64:64,70:70,81:81,98:98}],235:[function(t,e,r){var n=t(99),a=t(62),o=t(38),i=t(143);a(a.S+a.F*t(64)(function(){Reflect.defineProperty(n.f({},1,{value:1}),1,{value:2})}),\"Reflect\",{defineProperty:function(t,e,r){o(t),e=i(e,!0),o(r);try{return n.f(t,e,r),!0}catch(t){return!1}}})},{143:143,38:38,62:62,64:64,99:99}],236:[function(t,e,r){var n=t(62),a=t(101).f,o=t(38);n(n.S,\"Reflect\",{deleteProperty:function(t,e){var r=a(o(t),e);return!(r&&!r.configurable)&&delete t[e]}})},{101:101,38:38,62:62}],237:[function(t,e,r){\"use strict\";function n(t){this._t=o(t),this._i=0;var e,r=this._k=[];for(e in t)r.push(e)}var a=t(62),o=t(38);t(84)(n,\"Object\",function(){var t,e=this._k;do{if(this._i>=e.length)return{value:void 0,done:!0}}while(!((t=e[this._i++])in this._t));return{value:t,done:!1}}),a(a.S,\"Reflect\",{enumerate:function(t){return new n(t)}})},{38:38,62:62,84:84}],238:[function(t,e,r){var n=t(101),a=t(62),o=t(38);a(a.S,\"Reflect\",{getOwnPropertyDescriptor:function(t,e){return n.f(o(t),e)}})},{101:101,38:38,62:62}],239:[function(t,e,r){var n=t(62),a=t(105),o=t(38);n(n.S,\"Reflect\",{getPrototypeOf:function(t){return a(o(t))}})},{105:105,38:38,62:62}],240:[function(t,e,r){var s=t(101),l=t(105),c=t(71),n=t(62),u=t(81),p=t(38);n(n.S,\"Reflect\",{get:function t(e,r,n){var a,o,i=arguments.length<3?e:n;return p(e)===i?e[r]:(a=s.f(e,r))?c(a,\"value\")?a.value:void 0!==a.get?a.get.call(i):void 0:u(o=l(e))?t(o,r,i):void 0}})},{101:101,105:105,38:38,62:62,71:71,81:81}],241:[function(t,e,r){var n=t(62);n(n.S,\"Reflect\",{has:function(t,e){return e in t}})},{62:62}],242:[function(t,e,r){var n=t(62),a=t(38),o=Object.isExtensible;n(n.S,\"Reflect\",{isExtensible:function(t){return a(t),!o||o(t)}})},{38:38,62:62}],243:[function(t,e,r){var n=t(62);n(n.S,\"Reflect\",{ownKeys:t(111)})},{111:111,62:62}],244:[function(t,e,r){var n=t(62),a=t(38),o=Object.preventExtensions;n(n.S,\"Reflect\",{preventExtensions:function(t){a(t);try{return o&&o(t),!0}catch(t){return!1}}})},{38:38,62:62}],245:[function(t,e,r){var n=t(62),a=t(122);a&&n(n.S,\"Reflect\",{setPrototypeOf:function(t,e){a.check(t,e);try{return a.set(t,e),!0}catch(t){return!1}}})},{122:122,62:62}],246:[function(t,e,r){var c=t(99),u=t(101),p=t(105),f=t(71),n=t(62),d=t(116),h=t(38),m=t(81);n(n.S,\"Reflect\",{set:function t(e,r,n,a){var o,i,s=arguments.length<4?e:a,l=u.f(h(e),r);if(!l){if(m(i=p(e)))return t(i,r,n,s);l=d(0)}if(f(l,\"value\")){if(!1===l.writable||!m(s))return!1;if(o=u.f(s,r)){if(o.get||o.set||!1===o.writable)return!1;o.value=n,c.f(s,r,o)}else c.f(s,r,d(0,n));return!0}return void 0!==l.set&&(l.set.call(s,n),!0)}})},{101:101,105:105,116:116,38:38,62:62,71:71,81:81,99:99}],247:[function(t,e,r){var n=t(70),o=t(75),a=t(99).f,i=t(103).f,s=t(82),l=t(66),c=n.RegExp,u=c,p=c.prototype,f=/a/g,d=/a/g,h=new c(f)!==f;if(t(58)&&(!h||t(64)(function(){return d[t(152)(\"match\")]=!1,c(f)!=f||c(d)==d||\"/a/i\"!=c(f,\"i\")}))){function m(e){e in c||a(c,e,{configurable:!0,get:function(){return u[e]},set:function(t){u[e]=t}})}c=function(t,e){var r=this instanceof c,n=s(t),a=void 0===e;return!r&&n&&t.constructor===c&&a?t:o(h?new u(n&&!a?t.source:t,e):u((n=t instanceof c)?t.source:t,n&&a?l.call(t):e),r?this:p,c)};for(var g=i(u),v=0;g.length>v;)m(g[v++]);(p.constructor=c).prototype=p,t(118)(n,\"RegExp\",c)}t(123)(\"RegExp\")},{103:103,118:118,123:123,152:152,58:58,64:64,66:66,70:70,75:75,82:82,99:99}],248:[function(t,e,r){\"use strict\";var n=t(120);t(62)({target:\"RegExp\",proto:!0,forced:n!==/./.exec},{exec:n})},{120:120,62:62}],249:[function(t,e,r){t(58)&&\"g\"!=/./g.flags&&t(99).f(RegExp.prototype,\"flags\",{configurable:!0,get:t(66)})},{58:58,66:66,99:99}],250:[function(t,e,r){\"use strict\";var p=t(38),f=t(141),d=t(36),h=t(119);t(65)(\"match\",1,function(n,a,c,u){return[function(t){var e=n(this),r=null==t?void 0:t[a];return void 0!==r?r.call(t,e):new RegExp(t)[a](String(e))},function(t){var e=u(c,t,this);if(e.done)return e.value;var r=p(t),n=String(this);if(!r.global)return h(r,n);for(var a,o=r.unicode,i=[],s=r.lastIndex=0;null!==(a=h(r,n));){var l=String(a[0]);\"\"===(i[s]=l)&&(r.lastIndex=d(n,f(r.lastIndex),o)),s++}return 0===s?null:i}]})},{119:119,141:141,36:36,38:38,65:65}],251:[function(t,e,r){\"use strict\";var C=t(38),n=t(142),P=t(141),S=t(139),L=t(36),E=t(119),T=Math.max,k=Math.min,f=Math.floor,d=/\\$([$&`']|\\d\\d?|<[^>]*>)/g,h=/\\$([$&`']|\\d\\d?)/g;t(65)(\"replace\",2,function(a,o,x,w){return[function(t,e){var r=a(this),n=null==t?void 0:t[o];return void 0!==n?n.call(t,r,e):x.call(String(r),t,e)},function(t,e){var r=w(x,t,this,e);if(r.done)return r.value;var n=C(t),a=String(this),o=\"function\"==typeof e;o||(e=String(e));var i=n.global;if(i){var s=n.unicode;n.lastIndex=0}for(var l=[];;){var c=E(n,a);if(null===c)break;if(l.push(c),!i)break;\"\"===String(c[0])&&(n.lastIndex=L(a,P(n.lastIndex),s))}for(var u,p=\"\",f=0,d=0;d>>0,u=new RegExp(t.source,s+\"g\");(n=f.call(u,r))&&!(l<(a=u[m])&&(i.push(r.slice(l,n.index)),1=c));)u[m]===n.index&&u[m]++;return l===r[h]?!o&&u.test(\"\")||i.push(\"\"):i.push(r.slice(l)),i[h]>c?i.slice(0,c):i}:\"0\"[i](void 0,0)[h]?function(t,e){return void 0===t&&0===e?[]:g.call(this,t,e)}:g,[function(t,e){var r=a(this),n=null==t?void 0:t[o];return void 0!==n?n.call(t,r,e):A.call(String(r),t,e)},function(t,e){var r=v(A,t,this,e,A!==g);if(r.done)return r.value;var n=y(t),a=String(this),o=b(n,RegExp),i=n.unicode,s=(n.ignoreCase?\"i\":\"\")+(n.multiline?\"m\":\"\")+(n.unicode?\"u\":\"\")+(S?\"y\":\"g\"),l=new o(S?n:\"^(?:\"+n.source+\")\",s),c=void 0===e?P:e>>>0;if(0==c)return[];if(0===a.length)return null===_(l,a)?[a]:[];for(var u=0,p=0,f=[];p>10),e%1024+56320))}return r.join(\"\")}})},{137:137,62:62}],266:[function(t,e,r){\"use strict\";var n=t(62),a=t(130);n(n.P+n.F*t(63)(\"includes\"),\"String\",{includes:function(t,e){return!!~a(this,t,\"includes\").indexOf(t,1=e.length?{value:void 0,done:!0}:(t=n(e,r),this._i+=t.length,{value:t,done:!1})})},{129:129,85:85}],269:[function(t,e,r){\"use strict\";t(131)(\"link\",function(e){return function(t){return e(this,\"a\",\"href\",t)}})},{131:131}],270:[function(t,e,r){var n=t(62),i=t(140),s=t(141);n(n.S,\"String\",{raw:function(t){for(var e=i(t.raw),r=s(e.length),n=arguments.length,a=[],o=0;oa;)u(Y,e=r[a++])||e==W||e==h||n.push(e);return n}function l(t){for(var e,r=t===Z,n=M(r?q:L(t)),a=[],o=0;n.length>o;)!u(Y,e=n[o++])||r&&!u(Z,e)||a.push(Y[e]);return a}var c=t(70),u=t(71),p=t(58),f=t(62),d=t(118),h=t(94).KEY,m=t(64),g=t(126),v=t(124),A=t(147),y=t(152),b=t(151),x=t(150),w=t(61),_=t(79),C=t(38),P=t(81),S=t(142),L=t(140),E=t(143),T=t(116),k=t(98),R=t(102),F=t(101),I=t(104),O=t(99),B=t(107),N=F.f,D=O.f,M=R.f,z=c.Symbol,U=c.JSON,j=U&&U.stringify,G=\"prototype\",W=y(\"_hidden\"),H=y(\"toPrimitive\"),V={}.propertyIsEnumerable,Q=g(\"symbol-registry\"),Y=g(\"symbols\"),q=g(\"op-symbols\"),Z=Object[G],X=\"function\"==typeof z&&!!I.f,K=c.QObject,J=!K||!K[G]||!K[G].findChild,$=p&&m(function(){return 7!=k(D({},\"a\",{get:function(){return D(this,\"a\",{value:7}).a}})).a})?function(t,e,r){var n=N(Z,e);n&&delete Z[e],D(t,e,r),n&&t!==Z&&D(Z,e,n)}:D,tt=X&&\"symbol\"==typeof z.iterator?function(t){return\"symbol\"==typeof t}:function(t){return t instanceof z},et=function(t,e,r){return t===Z&&et(q,e,r),C(t),e=E(e,!0),C(r),u(Y,e)?(r.enumerable?(u(t,W)&&t[W][e]&&(t[W][e]=!1),r=k(r,{enumerable:T(0,!1)})):(u(t,W)||D(t,W,T(1,{})),t[W][e]=!0),$(t,e,r)):D(t,e,r)};X||(d((z=function(t){if(this instanceof z)throw TypeError(\"Symbol is not a constructor!\");var e=A(0nt;)y(rt[nt++]);for(var at=B(y.store),ot=0;at.length>ot;)x(at[ot++]);f(f.S+f.F*!X,\"Symbol\",{for:function(t){return u(Q,t+=\"\")?Q[t]:Q[t]=z(t)},keyFor:function(t){if(!tt(t))throw TypeError(t+\" is not a symbol!\");for(var e in Q)if(Q[e]===t)return e},useSetter:function(){J=!0},useSimple:function(){J=!1}}),f(f.S+f.F*!X,\"Object\",{create:function(t,e){return void 0===e?k(t):a(k(t),e)},defineProperty:et,defineProperties:a,getOwnPropertyDescriptor:i,getOwnPropertyNames:s,getOwnPropertySymbols:l});var it=m(function(){I.f(1)});f(f.S+f.F*it,\"Object\",{getOwnPropertySymbols:function(t){return I.f(S(t))}}),U&&f(f.S+f.F*(!X||m(function(){var t=z();return\"[null]\"!=j([t])||\"{}\"!=j({a:t})||\"{}\"!=j(Object(t))})),\"JSON\",{stringify:function(t){for(var e,r,n=[t],a=1;as;)void 0!==(r=a(n,e=o[s++]))&&p(i,e,r);return i}})},{101:101,111:111,140:140,53:53,62:62}],296:[function(t,e,r){var n=t(62),a=t(110)(!1);n(n.S,\"Object\",{values:function(t){return a(t)}})},{110:110,62:62}],297:[function(t,e,r){\"use strict\";var n=t(62),a=t(52),o=t(70),i=t(127),s=t(115);n(n.P+n.R,\"Promise\",{finally:function(e){var r=i(this,a.Promise||o.Promise),t=\"function\"==typeof e;return this.then(t?function(t){return s(r,e()).then(function(){return t})}:e,t?function(t){return s(r,e()).then(function(){throw t})}:e)}})},{115:115,127:127,52:52,62:62,70:70}],298:[function(t,e,r){\"use strict\";var n=t(62),a=t(132),o=t(148),i=/Version\\/10\\.\\d+(\\.\\d+)?( Mobile\\/\\w+)? Safari\\//.test(o);n(n.P+n.F*i,\"String\",{padEnd:function(t,e){return a(this,t,1/g,\">\").replace(/\"/g,\""\").replace(/'/g,\"'\")}function vt(t){return\"number\"==typeof t&&100\"+e+\"\":\"\"}function _t(t){var e=\"solid\",r=\"\",n=\"\",a=\"\";if(t)switch(\"string\"==typeof t?r=t:(t.type&&(e=t.type),t.color&&(r=t.color),t.alpha&&(n+=''),t.transparency&&(n+='')),e){case\"solid\":a+=\"\"+wt(r,n)+\"\";break;default:a+=\"\"}return a}function Ct(t){return t._rels.length+t._relsChart.length+t._relsMedia.length+1}function Pt(l,c,u,t){void 0===l&&(l=[]),void 0===c&&(c={});var e,p=P,f=0,d=1*B,r=0,h=[{rows:[]}];if(c.verbose&&(console.log(\"-- VERBOSE MODE ----------------------------------\"),console.log(\".. (PARAMETERS)\"),console.log(\"presLayout.height ......... = \"+u.height/B),console.log(\"tabOpts.h ................. = \"+c.h),console.log(\"tabOpts.w ................. = \"+c.w),console.log(\"tabOpts.colW .............. = \"+c.colW),console.log(\"tabOpts.slideMargin ....... = \"+(c.slideMargin||\"\")),console.log(\".. (/PARAMETERS)\")),c.slideMargin||0===c.slideMargin||(c.slideMargin=P[0]),t&&void 0!==t._margin?Array.isArray(t._margin)?p=t._margin:isNaN(Number(t._margin))||(p=[Number(t._margin),Number(t._margin),Number(t._margin),Number(t._margin)]):!c.slideMargin&&0!==c.slideMargin||(Array.isArray(c.slideMargin)?p=c.slideMargin:isNaN(c.slideMargin)||(p=[c.slideMargin,c.slideMargin,c.slideMargin,c.slideMargin])),c.verbose&&console.log(\"arrInchMargins ......... = \"+p.toString()),(l[0]||[]).forEach(function(t){var e=(t=t||{_type:at.tablecell}).options||null;r+=Number(e&&e.colspan?e.colspan:1)}),c.verbose&&console.log(\"numCols ................ = \"+r),!c.w&&c.colW&&(Array.isArray(c.colW)?c.colW.forEach(function(t){\"number\"!=typeof c.w?c.w=0+t:c.w+=t}):c.w=c.colW*r),e=\"number\"==typeof c.w?vt(c.w):u.width-vt((\"number\"==typeof c.x?c.x:p[1])+p[3]),c.verbose&&console.log(\"emuSlideTabW (in) ...... = \"+(e/B).toFixed(1)),!c.colW||!Array.isArray(c.colW))if(c.colW&&!isNaN(Number(c.colW))){var n=[];(l[0]||[]).forEach(function(){return n.push(c.colW)}),c.colW=[],n.forEach(function(t){Array.isArray(c.colW)&&c.colW.push(t)})}else{c.colW=[];for(var a=0;ae?e=At(t.options.margin[0]):c.margin&&c.margin[0]&&At(c.margin[0])>e&&(e=At(c.margin[0])),t.options.margin&&t.options.margin[2]&&At(t.options.margin[2])>r?r=At(t.options.margin[2]):c.margin&&c.margin[2]&&At(c.margin[2])>r&&(r=At(c.margin[2]))}),d=c.h&&\"number\"==typeof c.h?c.h:u.height-vt(p[0]+p[2])-(c.y&&\"number\"==typeof c.y?c.y:0),c.verbose&&console.log(\"emuSlideTabH (in) ...... = \"+(d/B).toFixed(1)),1 \"+d/B),h.push({rows:[]}),f=0,(c.addHeaderToEach||c.autoPageRepeatHeader)&&c._arrObjTabHeadRows){var e=[];i.forEach(function(t){e.push({type:at.tablecell,text:t._lines.join(\"\"),options:t.options})}),l.unshift(e);var r=[];return c._arrObjTabHeadRows.forEach(function(t){var e=[];t.forEach(function(t){return e.push(t)}),r.push(e)}),l=O(O([],r),l),\"break\"}var t=h[h.length-1],n=[];a.forEach(function(t){n.push({type:at.tablecell,text:\"\",options:t.options})}),t.rows.push(n)}i.forEach(function(t,e){if(0o&&(o=t._lineHeight)}}),f+=o,c.verbose&&console.log(\"- SLIDE [\"+h.length+\"]: ROW [\"+m+\"]: one line added ... emuTabCurrH = \"+(f/B).toFixed(2))};0'},contain:function(t,e){var r=t.h/t.w,n=r'},crop:function(t,e){var r=e.x,n=t.w-(e.x+e.w),a=e.y,o=t.h-(e.y+e.h);return''}};function Lt(R){var F=R._name?'':\"\",I=1;return R._bkgdImgRid?F+='':R.background&&R.background.color?F+=\"\"+_t(R.background)+\"\":!R.bkgd&&R._name&&R._name===n&&(F+=''),F+=\"\",F+='',F+='',F+='',R._slideObjects.forEach(function(n,t){var e,r,a=0,o=0,i=dt(\"75%\",\"X\",R._presLayout),s=0,l=\"\";switch(void 0!==R._slideLayout&&void 0!==R._slideLayout._slideObjects&&n.options&&n.options.placeholder&&(r=R._slideLayout._slideObjects.filter(function(t){return t.options.placeholder===n.options.placeholder})[0]),n.options=n.options||{},void 0!==n.options.x&&(a=dt(n.options.x,\"X\",R._presLayout)),void 0!==n.options.y&&(o=dt(n.options.y,\"Y\",R._presLayout)),void 0!==n.options.w&&(i=dt(n.options.w,\"X\",R._presLayout)),void 0!==n.options.h&&(s=dt(n.options.h,\"Y\",R._presLayout)),r&&(!r.options.x&&0!==r.options.x||(a=dt(r.options.x,\"X\",R._presLayout)),!r.options.y&&0!==r.options.y||(o=dt(r.options.y,\"Y\",R._presLayout)),!r.options.w&&0!==r.options.w||(i=dt(r.options.w,\"X\",R._presLayout)),!r.options.h&&0!==r.options.h||(s=dt(r.options.h,\"Y\",R._presLayout))),n.options.flipH&&(l+=' flipH=\"1\"'),n.options.flipV&&(l+=' flipV=\"1\"'),n.options.rotate&&(l+=' rot=\"'+yt(n.options.rotate)+'\"'),n._type){case at.table:var c,u=n.arrTabRows,f=n.options,p=0,d=0;u[0].forEach(function(t){c=t.options||null,p+=c&&c.colspan?Number(c.colspan):1});var h='';if(h+=' ',h+='',h+='',Array.isArray(f.colW)){h+=\"\";for(var m=0;m'}h+=\"\"}else{d=f.colW?f.colW:B,n.options.w&&!f.colW&&(d=Math.round((\"number\"==typeof n.options.w?n.options.w:1)/p)),h+=\"\";for(var v=0;v';h+=\"\"}u.forEach(function(o){for(var i,s,l,t=function(t){var e=o[t],r=null===(i=e.options)||void 0===i?void 0:i.colspan,n=null===(s=e.options)||void 0===s?void 0:s.rowspan;if(r&&1',t.forEach(function(t){var e,r,n=t,a={rowSpan:1<(null===(e=n.options)||void 0===e?void 0:e.rowspan)?n.options.rowspan:void 0,gridSpan:1<(null===(r=n.options)||void 0===r?void 0:r.colspan)?n.options.colspan:void 0,vMerge:n._vmerge?1:void 0,hMerge:n._hmerge?1:void 0},o=Object.keys(a).map(function(t){return[t,a[t]]}).filter(function(t){return t[0],!!t[1]}).map(function(t){return t[0]+'=\"'+t[1]+'\"'}).join(\" \");if(o=o&&\" \"+o,n._hmerge||n._vmerge)h+=\"\";else{var i=n.options||{};n.options=i,[\"align\",\"bold\",\"border\",\"color\",\"fill\",\"fontFace\",\"fontSize\",\"margin\",\"underline\",\"valign\"].forEach(function(t){f[t]&&!i[t]&&0!==i[t]&&(i[t]=f[t])});var s=i.valign?' anchor=\"'+i.valign.replace(/^c$/i,\"ctr\").replace(/^m$/i,\"ctr\").replace(\"center\",\"ctr\").replace(\"middle\",\"ctr\").replace(\"top\",\"t\").replace(\"btm\",\"b\").replace(\"bottom\",\"b\")+'\"':\"\",l=n._optImp&&n._optImp.fill&&n._optImp.fill.color?n._optImp.fill.color:n._optImp&&n._optImp.fill&&\"string\"==typeof n._optImp.fill?n._optImp.fill:\"\",c=(l=l||i.fill&&i.fill.color?i.fill.color:i.fill&&\"string\"==typeof i.fill?i.fill:\"\")?\"\"+wt(l)+\"\":\"\",u=0===i.margin||i.margin?i.margin:N;Array.isArray(u)||\"number\"!=typeof u||(u=[u,u,u,u]);var p=' marL=\"'+At(u[3])+'\" marR=\"'+At(u[1])+'\" marT=\"'+At(u[0])+'\" marB=\"'+At(u[2])+'\"';h+=\"\"+Rt(n)+\"\",i.border&&Array.isArray(i.border)&&[{idx:3,name:\"lnL\"},{idx:1,name:\"lnR\"},{idx:0,name:\"lnT\"},{idx:2,name:\"lnB\"}].forEach(function(t){\"none\"!==i.border[t.idx].type?(h+=\"',h+=\"\"+wt(i.border[t.idx].color)+\"\",h+='',h+=\"\"):h+=\"\"}),h+=c,h+=\" \",h+=\" \"}}),h+=\"\"}),h+=\" \",h+=\" \",h+=\" \",F+=h+=\"\",I++;break;case at.text:case at.placeholder:var A=n.options.shapeName?gt(n.options.shapeName):\"Object\"+(t+1);if(n.options.line||0!==s||(s=.3*B),n.options._bodyProp||(n.options._bodyProp={}),n.options.margin&&Array.isArray(n.options.margin)?(n.options._bodyProp.lIns=At(n.options.margin[0]||0),n.options._bodyProp.rIns=At(n.options.margin[1]||0),n.options._bodyProp.bIns=At(n.options.margin[2]||0),n.options._bodyProp.tIns=At(n.options.margin[3]||0)):\"number\"==typeof n.options.margin&&(n.options._bodyProp.lIns=At(n.options.margin),n.options._bodyProp.rIns=At(n.options.margin),n.options._bodyProp.bIns=At(n.options.margin),n.options._bodyProp.tIns=At(n.options.margin)),F+=\"\",F+='',n.options.hyperlink&&n.options.hyperlink.url&&(F+=''),n.options.hyperlink&&n.options.hyperlink.slide&&(F+=''),F+=\"\",F+=\"':\"/>\"),F+=\"\"+(\"placeholder\"===n._type?Ft(n):Ft(r))+\"\",F+=\"\",F+=\"\",F+='',F+='',\"custGeom\"===n.shape)F+=\"\",F+=\"\",F+=\"\",F+=\"\",F+=\"\",F+=\"\",F+='',F+=\"\",F+='',null===(e=n.options.points)||void 0===e||e.map(function(t,e){if(\"curve\"in t)switch(t.curve.type){case\"arc\":F+='';break;case\"cubic\":F+='\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t';break;case\"quadratic\":F+='\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t'}else\"close\"in t?F+=\"\":t.moveTo||0===e?F+='':F+=''}),F+=\"\",F+=\"\",F+=\"\";else{if(F+='',n.options.rectRadius)F+='';else if(n.options.angleRange){for(var y=0;y<2;y++){var b=n.options.angleRange[y];F+=''}n.options.arcThicknessRatio&&(F+='')}F+=\"\"}F+=n.options.fill?_t(n.options.fill):\"\",n.options.line&&(F+=n.options.line.width?'':\"\",n.options.line.color&&(F+=_t(n.options.line)),n.options.line.dashType&&(F+=''),n.options.line.beginArrowType&&(F+=''),n.options.line.endArrowType&&(F+=''),F+=\"\"),n.options.shadow&&(n.options.shadow.type=n.options.shadow.type||\"outer\",n.options.shadow.blur=At(n.options.shadow.blur||8),n.options.shadow.offset=At(n.options.shadow.offset||4),n.options.shadow.angle=Math.round(6e4*(n.options.shadow.angle||270)),n.options.shadow.opacity=Math.round(1e5*(n.options.shadow.opacity||.75)),n.options.shadow.color=n.options.shadow.color||D.color,F+=\"\",F+=\"',F+='',F+='',F+=\"\",F+=\"\"),F+=\"\",F+=Rt(n),F+=\"\";break;case at.image:var x=n.options,w=x.sizing,_=x.rounding,C=i,P=s;if(F+=\"\",F+=\" \",F+='',n.hyperlink&&n.hyperlink.url&&(F+=''),n.hyperlink&&n.hyperlink.slide&&(F+=''),F+=\" \",F+=' ',F+=\" \"+Ft(r)+\"\",F+=\" \",F+=\"\",(R._relsMedia||[]).filter(function(t){return t.rId===n.imageRid})[0]&&\"svg\"===(R._relsMedia||[]).filter(function(t){return t.rId===n.imageRid})[0].extn?(F+='',F+=\" \",F+=' ',F+=' ',F+=\" \",F+=\" \",F+=\"\"):F+='',w&&w.type){var S=w.w?dt(w.w,\"X\",R._presLayout):i,L=w.h?dt(w.h,\"Y\",R._presLayout):s,E=dt(w.x||0,\"X\",R._presLayout),T=dt(w.y||0,\"Y\",R._presLayout);F+=St[w.type]({w:C,h:P},{w:S,h:L,x:E,y:T}),C=S,P=L}else F+=\" \";F+=\"\",F+=\"\",F+=\" \",F+=' ',F+=' ',F+=\" \",F+=' ',F+=\"\",F+=\"\";break;case at.media:\"online\"===n.mtype?(F+=\"\",F+=\" \",F+=' ',F+=\" \",F+=\" \",F+=' ',F+=\" \",F+=\" \",F+=' '):(F+=\"\",F+=\" \",F+=' ',F+=' ',F+=\" \",F+=' ',F+=\" \",F+=' ',F+=' ',F+=\" \",F+=\" \",F+=\" \",F+=\" \",F+=' '),F+=\" \",F+=\" \",F+=' ',F+=' ',F+=\" \",F+=' ',F+=\" \",F+=\"\";break;case at.chart:var k=n.options;F+=\"\",F+=\" \",F+=' ',F+=\" \",F+=\" \"+Ft(r)+\"\",F+=\" \",F+=' ',F+=' ',F+=' ',F+=' ',F+=\" \",F+=\" \",F+=\"\";break;default:F+=\"\"}}),R._slideNumberProps&&(R._slideNumberProps.align||(R._slideNumberProps.align=\"left\"),F+=' ',F+=\"\",F+=\"\",F+=\" \",(R._slideNumberProps.fontFace||R._slideNumberProps.fontSize||R._slideNumberProps.color)&&(F+='',R._slideNumberProps.color&&(F+=_t(R._slideNumberProps.color)),R._slideNumberProps.fontFace&&(F+=''),F+=\"\"),F+=\"\",F+='',R._slideNumberProps.align.startsWith(\"l\")?F+='':R._slideNumberProps.align.startsWith(\"c\")?F+='':R._slideNumberProps.align.startsWith(\"r\")?F+='':F+='',F+='',F+=\"\"),F+=\"\",F+=\"\"}function Et(t,e){var r=0,n=''+v+'';return t._rels.forEach(function(t){r=Math.max(r,t.rId),-1':n+='':-1')}),(t._relsChart||[]).forEach(function(t){r=Math.max(r,t.rId),n+=''}),(t._relsMedia||[]).forEach(function(t){r=Math.max(r,t.rId),-1':-1':n+='':-1':n+='':-1':n+='')}),e.forEach(function(t,e){n+=''}),n+=\"\"}function Tt(t,e){var r=\"\",n=\"\",a=\"\",o=\"\",i=e?\"a:lvl1pPr\":\"a:pPr\",s=At(u),l=\"<\"+i+(t.options.rtlMode?' rtl=\"1\" ':\"\");if(t.options.align)switch(t.options.align){case\"left\":l+=' algn=\"l\"';break;case\"right\":l+=' algn=\"r\"';break;case\"center\":l+=' algn=\"ctr\"';break;case\"justify\":l+=' algn=\"just\"';break;default:l+=\"\"}if(t.options.lineSpacing?n='':t.options.lineSpacingMultiple&&(n=''),t.options.indentLevel&&!isNaN(Number(t.options.indentLevel))&&0'),t.options.paraSpaceAfter&&!isNaN(Number(t.options.paraSpaceAfter))&&0'),\"object\"==typeof t.options.bullet)if(t&&t.options&&t.options.bullet&&t.options.bullet.indent&&(s=At(t.options.bullet.indent)),t.options.bullet.type)\"number\"===t.options.bullet.type.toString().toLowerCase()&&(l+=' marL=\"'+(t.options.indentLevel&&0');else if(t.options.bullet.characterCode){var c=\"&#x\"+t.options.bullet.characterCode+\";\";!1===/^[0-9A-Fa-f]{4}$/.test(t.options.bullet.characterCode)&&(console.warn(\"Warning: `bullet.characterCode should be a 4-digit unicode charatcer (ex: 22AB)`!\"),c=lt.DEFAULT),l+=' marL=\"'+(t.options.indentLevel&&0'}else if(t.options.bullet.code){c=\"&#x\"+t.options.bullet.code+\";\";!1===/^[0-9A-Fa-f]{4}$/.test(t.options.bullet.code)&&(console.warn(\"Warning: `bullet.code should be a 4-digit hex code (ex: 22AB)`!\"),c=lt.DEFAULT),l+=' marL=\"'+(t.options.indentLevel&&0'}else l+=' marL=\"'+(t.options.indentLevel&&0';else!0===t.options.bullet?(l+=' marL=\"'+(t.options.indentLevel&&0'):!1===t.options.bullet&&(l+=' indent=\"0\" marL=\"0\"',r=\"\");t.options.tabStops&&Array.isArray(t.options.tabStops)&&(o=\"\"+t.options.tabStops.map(function(t){return''}).join(\"\")+\"\");return l+=\">\"+n+a+r+o,e&&(l+=kt(t.options,!0)),l+=\"\"}function kt(t,e){var r,n=\"\",a=e?\"a:defRPr\":\"a:rPr\";if(n+=\"<\"+a+' lang=\"'+(t.lang?t.lang:\"en-US\")+'\"'+(t.lang?' altLang=\"en-US\"':\"\"),n+=t.fontSize?' sz=\"'+Math.round(t.fontSize)+'00\"':\"\",n+=t.hasOwnProperty(\"bold\")?' b=\"'+(t.bold?1:0)+'\"':\"\",n+=t.hasOwnProperty(\"italic\")?' i=\"'+(t.italic?1:0)+'\"':\"\",n+=t.hasOwnProperty(\"strike\")?' strike=\"'+(\"string\"==typeof t.strike?t.strike:\"sngStrike\")+'\"':\"\",\"object\"==typeof t.underline&&(null===(r=t.underline)||void 0===r?void 0:r.style)?n+=' u=\"'+t.underline.style+'\"':\"string\"==typeof t.underline?n+=' u=\"'+t.underline+'\"':t.hyperlink&&(n+=' u=\"sng\"'),t.baseline?n+=' baseline=\"'+Math.round(50*t.baseline)+'\"':t.subscript?n+=' baseline=\"-40000\"':t.superscript&&(n+=' baseline=\"30000\"'),n+=t.charSpacing?' spc=\"'+Math.round(100*t.charSpacing)+'\" kern=\"0\"':\"\",n+=' dirty=\"0\">',(t.color||t.fontFace||t.outline||\"object\"==typeof t.underline&&t.underline.color)&&(t.outline&&\"object\"==typeof t.outline&&(n+=''+_t(t.outline.color||\"FFFFFF\")+\"\"),t.color&&(n+=_t(t.color)),t.highlight&&(n+=\"\"+wt(t.highlight)+\"\"),\"object\"==typeof t.underline&&t.underline.color&&(n+=\"\"+_t(t.underline.color)+\"\"),t.glow&&(n+=\"\"+function(t,e){var r=\"\",n=mt(e,t);return r+='',r+=wt(n.color,''),r+=\"\"}(t.glow,S)+\"\"),t.fontFace&&(n+='')),t.hyperlink){if(\"object\"!=typeof t.hyperlink)throw new Error(\"ERROR: text `hyperlink` option should be an object. Ex: `hyperlink:{url:'https://github.com'}` \");if(!t.hyperlink.url&&!t.hyperlink.slide)throw new Error(\"ERROR: 'hyperlink requires either `url` or `slide`'\");t.hyperlink.url?n+='\":\"/>\"):t.hyperlink.slide&&(n+='\":\"/>\")),t.color&&(n+=\"\\t\",n+='\\t\\t',n+='\\t\\t\\t',n+=\"\\t\\t\",n+=\"\\t\",n+=\"\")}return n+=\"\"}function Rt(n){var a=n.options||{},t=[],r=[];if(a&&n._type!==at.tablecell&&(void 0===n.text||null===n.text))return\"\";var o=n._type===at.tablecell?\"\":\"\";o+=function(t){var e=\"\",t.options.fit&&(\"none\"===t.options.fit?e+=\"\":\"shrink\"===t.options.fit?e+=\"\":\"resize\"===t.options.fit&&(e+=\"\")),t.options.shrinkText&&(e+=\"\"),e+=!1!==t.options._bodyProp.autoFit?\"\":\"\"):e+=' wrap=\"square\" rtlCol=\"0\">',e+=\"\",t._type===at.tablecell?\"\":e}(n),0===a.h&&a.line&&a.align?o+='':\"placeholder\"===n._type?o+=\"\"+Tt(n,!0)+\"\":o+=\"\",\"string\"==typeof n.text||\"number\"==typeof n.text?t.push({text:n.text.toString(),options:a||{}}):n.text&&!Array.isArray(n.text)&&\"object\"==typeof n.text&&-1\";var r=\"\"),n.options.align=n.options.align||a.align,n.options.lineSpacing=n.options.lineSpacing||a.lineSpacing,n.options.lineSpacingMultiple=n.options.lineSpacingMultiple||a.lineSpacingMultiple,n.options.indentLevel=n.options.indentLevel||a.indentLevel,n.options.paraSpaceBefore=n.options.paraSpaceBefore||a.paraSpaceBefore,n.options.paraSpaceAfter=n.options.paraSpaceAfter||a.paraSpaceAfter,r=Tt(n,!1),o+=r,Object.entries(a).forEach(function(t){var e=t[0],r=t[1];n.options.hyperlink&&\"color\"===e||\"bullet\"===e||n.options[e]||(n.options[e]=r)}),o+=function(t){return t.text?\"\"+kt(t.options,!1)+\"\"+gt(t.text)+\"\":\"\"}(n),(!n.text&&a.fontSize||n.options.fontSize)&&(e=!0,a.fontSize=a.fontSize||n.options.fontSize)}),n._type===at.tablecell&&(a.fontSize||a.fontFace)?a.fontFace?(o+='',o+='',o+='',o+='',o+=\"\"):o+='':o+=e?'':'',o+=\"\"}),o+=n._type===at.tablecell?\"\":\"\"}function Ft(t){if(!t)return\"\";var e=t.options&&t.options._placeholderIdx?t.options._placeholderIdx:\"\",r=t.options&&t.options._placeholderType?t.options._placeholderType:\"\";return\"\"}function It(t){return''+v+''+gt(function(t){var e=\"\";return t._slideObjects.forEach(function(t){t._type===at.notes&&(e+=t.text&&t.text[0]?t.text[0].text:\"\")}),e.replace(/\\r*\\n/g,v)}(t))+''+t._slideNum+''}function Ot(t){t&&\"object\"==typeof t&&(\"outer\"!==t.type&&\"inner\"!==t.type&&\"none\"!==t.type&&(console.warn(\"Warning: shadow.type options are `outer`, `inner` or `none`.\"),t.type=\"outer\"),t.angle&&((isNaN(Number(t.angle))||t.angle<0||359 \\n'),t.file(\"_rels/.rels\",'\\n'),t.file(\"docProps/app.xml\",'Microsoft Excel0falseWorksheets1Sheet1\\n'),t.file(\"docProps/core.xml\",'PptxGenJSEly, Brent'+(new Date).toISOString()+''+(new Date).toISOString()+\"\\n\"),t.file(\"xl/_rels/workbook.xml.rels\",'\\n'),t.file(\"xl/styles.xml\",'\\n'),t.file(\"xl/theme/theme1.xml\",''),t.file(\"xl/workbook.xml\",'\\n'),t.file(\"xl/worksheets/_rels/sheet1.xml.rels\",'\\n');var n='';u.opts._type===J.BUBBLE?n+='':u.opts._type===J.SCATTER?n+='':(n+='',n+=''),u.opts._type===J.BUBBLE?f.forEach(function(t,e){0===e?n+=\"X-Axis\":(n+=\"\"+gt(t.name||\" \")+\"\",n+=\"\"+gt(\"Size \"+e)+\"\")}):f.forEach(function(t){n+=\"\"+gt((t.name||\" \").replace(\"X-Axis\",\"X-Values\"))+\"\"}),u.opts._type!==J.BUBBLE&&u.opts._type!==J.SCATTER&&f[0].labels.forEach(function(t){n+=\"\"+gt(t)+\"\"}),n+=\"\\n\",t.file(\"xl/sharedStrings.xml\",n);var o='';u.opts._type===J.BUBBLE||(u.opts._type===J.SCATTER?(o+='',o+='',f.forEach(function(t,e){o+=''})):(o+='
',o+='',o+='',f.forEach(function(t,e){o+=''}))),o+=\"\",o+='',o+=\"
\",t.file(\"xl/tables/table1.xml\",o);var i='';if(i+='',u.opts._type===J.BUBBLE?i+='':u.opts._type===J.SCATTER?i+='':i+='',i+='',i+='',u.opts._type===J.BUBBLE){i+=\"\",i+='',i+=\"\",i+=\"\",i+='',i+='0';for(var s=1;s',i+=\"\"+s+\"\",i+=\"\";i+=\"\",f[0].values.forEach(function(t,e){i+='',i+=''+t+\"\";for(var r=1,n=1;n',i+=\"\"+(f[n].values[e]||\"\")+\"\",i+=\"\",i+='',i+=\"\"+(f[n].sizes[e]||\"\")+\"\",i+=\"\",r++;i+=\"\"})}else if(u.opts._type===J.SCATTER){i+=\"\",i+='',i+=\"\",i+=\"\",i+='',i+='0';for(var l=1;l',i+=\"\"+l+\"\",i+=\"\";i+=\"\",f[0].values.forEach(function(t,e){i+='',i+=''+t+\"\";for(var r=1;r',i+=\"\"+(f[r].values[e]||0===f[r].values[e]?f[r].values[e]:\"\")+\"\",i+=\"\";i+=\"\"})}else{i+=\"\",i+='',i+=\"\",i+=\"\",i+='',i+='0';for(var c=1;c<=f.length;c++)i+='',i+=\"\"+c+\"\",i+=\"\";i+=\"\",f[0].labels.forEach(function(t,e){i+='',i+='',i+=\"\"+(f.length+e+1)+\"\",i+=\"\";for(var r=0;r',i+=\"\"+(f[r].values[e]||\"\")+\"\",i+=\"\";i+=\"\"})}i+=\"\",i+='',i+=\"\\n\",t.file(\"xl/worksheets/sheet1.xml\",i),t.generateAsync({type:\"base64\"}).then(function(t){p.file(\"ppt/embeddings/Microsoft_Excel_Worksheet\"+u.globalId+\".xlsx\",t,{base64:!0}),p.file(\"ppt/charts/_rels/\"+u.fileName+\".rels\",''),p.file(\"ppt/charts/\"+u.fileName,function(a){var o='',i=!1;o+='',o+='',o+=\"\",a.opts.showTitle?(o+=qt({title:a.opts.title||\"Chart Title\",color:a.opts.titleColor,fontFace:a.opts.titleFontFace,fontSize:a.opts.titleFontSize||w,titleAlign:a.opts.titleAlign,titleBold:a.opts.titleBold,titlePos:a.opts.titlePos,titleRotate:a.opts.titleRotate}),o+=''):o+='';a.opts._type===J.BAR3D&&(o+=\"\",o+=' ',o+=' ',o+=' ',o+=' ',o+=\"\");o+=\"\",a.opts.layout?(o+=\"\",o+=\" \",o+=' ',o+=' ',o+=' ',o+=' ',o+=' ',o+=' ',o+=' ',o+=\" \",o+=\"\"):o+=\"\";Array.isArray(a.opts._type)?a.opts._type.forEach(function(t){var e=mt(a.opts,t.options),r=e.secondaryValAxis?E:L,n=e.secondaryCatAxis?k:T;i=i||e.secondaryValAxis,o+=Vt(t.type,t.data,e,r,n)}):o+=Vt(a.opts._type,a.data,a.opts,L,T);if(a.opts._type!==J.PIE&&a.opts._type!==J.DOUGHNUT){if(a.opts.valAxes&&1\",n+=' ',n+=' ',n+=' ',n+=' ',n+=\"none\"!==e.serGridLine.style?Kt(e.serGridLine):\"\",e.showSerAxisTitle&&(n+=qt({color:e.serAxisTitleColor,fontFace:e.serAxisTitleFontFace,fontSize:e.serAxisTitleFontSize,titleRotate:e.serAxisTitleRotate,title:e.serAxisTitle||\"Axis Title\"}));n+=' ',n+=' ',n+=' ',n+=' ',n+=\" \",n+=' ',n+=!1===e.serAxisLineShow?\"\":\"\"+wt(e.serAxisLineColor||y.color)+\"\",n+=' ',n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=' ',n+=\" \"+wt(e.serAxisLabelColor||b)+\"\",n+=' ',n+=\" \",n+=\" \",n+=' ',n+=\" \",n+=\" \",n+=' ',n+=' ',e.serAxisLabelFrequency&&(n+=' ');e.serLabelFormatCode&&([\"serAxisBaseTimeUnit\",\"serAxisMajorTimeUnit\",\"serAxisMinorTimeUnit\"].forEach(function(t){!e[t]||\"string\"==typeof e[t]&&-1!==[\"days\",\"months\",\"years\"].indexOf(t.toLowerCase())||(console.warn(\"`\"+t+\"` must be one of: 'days','months','years' !\"),e[t]=null)}),e.serAxisBaseTimeUnit&&(n+=' '),e.serAxisMajorTimeUnit&&(n+=' '),e.serAxisMinorTimeUnit&&(n+=' '),e.serAxisMajorUnit&&(n+=' '),e.serAxisMinorUnit&&(n+=' '));return n+=\"\"}(a.opts,R,L)))}a.opts.showDataTable&&(o+=\"\",o+=' ',o+=' ',o+=' ',o+=' ',o+=\" \",o+=\" \",o+=' ',o+=\" \",o+=\" \",o+=\" \",o+='\\t ',o+=\"\\t \",o+=\"\\t \",o+='\\t\\t',o+=' ',o+='\\t\\t\\t',o+='\\t\\t\\t',o+='\\t\\t\\t',o+='\\t\\t\\t',o+=\"\\t\\t \",o+=\"\\t\\t\",o+='\\t\\t',o+=\"\\t \",o+=\"\\t\",o+=\"\");o+=\" \",o+=a.opts.fill?_t(a.opts.fill):\"\",o+=a.opts.border?''+_t(a.opts.border.color)+\"\":\"\",o+=\" \",o+=\" \",o+=\"\",a.opts.showLegend&&(o+=\"\",o+='',o+='',(a.opts.legendFontFace||a.opts.legendFontSize||a.opts.legendColor)&&(o+=\"\",o+=\" \",o+=\" \",o+=\" \",o+=\" \",o+=a.opts.legendFontSize?'':\"\",a.opts.legendColor&&(o+=_t(a.opts.legendColor)),a.opts.legendFontFace&&(o+=''),a.opts.legendFontFace&&(o+=''),o+=\" \",o+=\" \",o+=' ',o+=\" \",o+=\"\"),o+=\"\");o+=' ',o+=' ',a.opts._type===J.SCATTER&&(o+='');return o+=\"\",o+=\"\",o+=\" \",o+=' ',o+=\" \",o+=\"\",o+='',o+=\"\"}(u)),e(null)}).catch(function(t){r(t)})})}function Vt(n,a,o,t,e){var i=\"\";switch(n){case J.AREA:case J.BAR:case J.BAR3D:case J.LINE:case J.RADAR:i+=\"\",n===J.AREA&&\"stacked\"===o.barGrouping&&(i+=''),n!==J.BAR&&n!==J.BAR3D||(i+='',i+=''),n===J.RADAR&&(i+=''),i+='';var s=-1;a.forEach(function(t){s++;var e=t.index;i+=\"\",i+=' ',i+=' ',i+=\" \",i+=\" \",i+=\" Sheet1!$\"+Zt(e+1)+\"$1\",i+=' '+gt(t.name)+\"\",i+=\" \",i+=\" \",i+=' ';var r=o.chartColors?o.chartColors[s%o.chartColors.length]:null;i+=\" \",\"transparent\"===r?i+=\"\":o.chartColorsOpacity?i+=\"\"+wt(r,'')+\"\":i+=\"\"+wt(r)+\"\",n===J.LINE?0===o.lineSize?i+=\"\":(i+=''+wt(r)+\"\",i+=''):o.dataBorder&&(i+=''+wt(o.dataBorder.color)+''),i+=Xt(o.shadow,C),i+=\" \",n!==J.RADAR&&(i+=\" \",i+=' ',o.dataLabelBkgrdColors&&(i+=\" \",i+=\" \"+wt(r)+\"\",i+=\" \"),i+=\" \",i+=\" \",i+=\" \",i+=\" \",i+=' ',i+=\" \"+wt(o.dataLabelColor||b)+\"\",i+=' ',i+=\" \",i+=\" \",i+=\" \",o.dataLabelPosition&&(i+=' '),i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=\" \"),n!==J.LINE&&n!==J.RADAR||(i+=\"\",i+=' ',o.lineDataSymbolSize&&(i+=' '),i+=\" \",i+=\" \"+wt(o.chartColors[e+1>o.chartColors.length?Math.floor(Math.random()*o.chartColors.length):e])+\"\",i+=' '+wt(o.lineDataSymbolLineColor||r)+'',i+=\" \",i+=\" \",i+=\"\"),(n===J.BAR||n===J.BAR3D)&&1===a.length&&o.chartColors!==I&&1\",i+=' ',i+=' ',i+=' ',i+=\" \",0===o.lineSize?i+=\"\":n===J.BAR?(i+=\"\",i+=' ',i+=\"\"):(i+=\"\",i+=\" \",i+=' ',i+=\" \",i+=\"\"),i+=Xt(o.shadow,C),i+=\" \",i+=\" \"}),i+=\"\",o.catLabelFormatCode?(i+=\" \",i+=\" Sheet1!$A$2:$A$\"+(t.labels.length+1)+\"\",i+=\" \",i+=\" \"+(o.catLabelFormatCode||\"General\")+\"\",i+=' ',t.labels.forEach(function(t,e){i+=''+gt(t)+\"\"}),i+=\" \",i+=\" \"):(i+=\" \",i+=\" Sheet1!$A$2:$A$\"+(t.labels.length+1)+\"\",i+=\" \",i+='\\t ',t.labels.forEach(function(t,e){i+=''+gt(t)+\"\"}),i+=\" \",i+=\" \"),i+=\"\",i+=\"\",i+=\" \",i+=\" Sheet1!$\"+Zt(e+1)+\"$2:$\"+Zt(e+1)+\"$\"+(t.labels.length+1)+\"\",i+=\" \",i+=\" \"+(o.valLabelFormatCode||o.dataTableFormatCode||\"General\")+\"\",i+=' ',t.values.forEach(function(t,e){i+=''+(t||0===t?t:\"\")+\"\"}),i+=\" \",i+=\" \",i+=\"\",n===J.LINE&&(i+=''),i+=\"\"}),i+=\" \",i+=' ',i+=\" \",i+=\" \",i+=\" \",i+=\" \",i+=' ',i+=\" \"+wt(o.dataLabelColor||b)+\"\",i+=' ',i+=\" \",i+=\" \",i+=\" \",o.dataLabelPosition&&(i+=' '),i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=\" \",n===J.BAR?(i+=' ',i+=' '):n===J.BAR3D?(i+=' ',i+=' ',i+=' '):n===J.LINE&&(i+=' '),i+=' ',i+=' ',i+=' ',i+=\"\";break;case J.SCATTER:i+=\"\",i+='',i+='',s=-1,a.filter(function(t,e){return 0\",i+=' ',i+=' ',i+=\" \",i+=\" \",i+=\" Sheet1!$\"+F[t+1]+\"$1\",i+=' '+r.name+\"\",i+=\" \",i+=\" \",i+=\" \";var e=o.chartColors[s%o.chartColors.length];if(\"transparent\"===e?i+=\"\":o.chartColorsOpacity?i+=\"\"+wt(e,'')+\"\":i+=\"\"+wt(e)+\"\",0===o.lineSize?i+=\"\":(i+=''+wt(e)+\"\",i+=''),i+=Xt(o.shadow,C),i+=\" \",i+=\"\",i+=' ',o.lineDataSymbolSize&&(i+=' '),i+=\" \",i+=\" \"+wt(o.chartColors[t+1>o.chartColors.length?Math.floor(Math.random()*o.chartColors.length):t])+\"\",i+=' '+wt(o.lineDataSymbolLineColor||o.chartColors[s%o.chartColors.length])+'',i+=\" \",i+=\" \",i+=\"\",o.showLabel){var n=ht(\"-xxxx-xxxx-xxxx-xxxxxxxxxxxx\");!r.labels||\"custom\"!==o.dataLabelFormatScatter&&\"customXY\"!==o.dataLabelFormatScatter||(i+=\"\",r.labels.forEach(function(t,e){\"custom\"!==o.dataLabelFormatScatter&&\"customXY\"!==o.dataLabelFormatScatter||(i+=\" \",i+=' ',i+=\" \",i+=\" \",i+=\"\\t\\t\\t\",i+=\"\\t\\t\\t\\t\",i+=\"\\t\\t\\t\",i+=\" \\t\",i+=\" \\t\",i+=\"\\t\\t\\t\\t\",i+=\"\\t\\t\\t\\t\\t\",i+=\"\\t\\t\\t\\t\",i+=\" \\t\",i+=' \\t\\t',i+=\" \\t\\t\"+gt(t)+\"\",i+=\" \\t\",\"customXY\"!==o.dataLabelFormatScatter||/^ *$/.test(t)||(i+=\" \\t\",i+=' \\t\\t',i+=\" \\t\\t (\",i+=\" \\t\",i+=' \\t',i+=' \\t\\t',i+=\" \\t\\t\",i+=\" \\t\\t\\t\",i+=\" \\t\\t\",i+=\" \\t\\t[\"+gt(r.name)+\"\",i+=\" \\t\",i+=\" \\t\",i+=' \\t\\t',i+=\" \\t\\t, \",i+=\" \\t\",i+=' \\t',i+=' \\t\\t',i+=\" \\t\\t\",i+=\" \\t\\t\\t\",i+=\" \\t\\t\",i+=\" \\t\\t[\"+gt(r.name)+\"]\",i+=\" \\t\",i+=\" \\t\",i+=' \\t\\t',i+=\" \\t\\t)\",i+=\" \\t\",i+=' \\t'),i+=\" \\t\",i+=\" \",i+=\" \",i+=\" \",i+=\" \\t\",i+=\" \\t\",i+=\" \\t\\t\",i+=\" \\t\",i+=\" \\t\",i+=\" \",o.dataLabelPosition&&(i+=' '),i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+='\\t ',i+=\" \",i+=' ',i+=' ',i+='\\t\\t\\t',i+=\" \",i+=\"\\t\\t\",i+=\"\")}),i+=\"\"),\"XY\"===o.dataLabelFormatScatter&&(i+=\"\",i+=\"\\t\",i+=\"\\t\\t\",i+=\"\\t\\t\",i+=\"\\t\\t\\t\",i+=\"\\t\\t\",i+=\"\\t \\t\",i+=\"\\t\",i+=\"\\t\",i+=\"\\t\\t\",i+=\"\\t\\t\\t\",i+=\"\\t\\t\",i+=\"\\t\\t\",i+=\"\\t\\t\",i+=\"\\t \\t\",i+=\" \\t\\t\",i+=\"\\t \\t\",i+='\\t \\t',i+=\"\\t\\t\",i+=\"\\t\",o.dataLabelPosition&&(i+=' '),i+='\\t',i+=' ',i+=' ',i+='\\t',i+='\\t',i+='\\t',i+=\"\\t\",i+='\\t\\t',i+='\\t\\t\\t',i+=\"\\t\\t\",i+=\"\\t\",i+=\"\")}1===a.length&&o.chartColors!==I&&r.values.forEach(function(t,e){var r=t<0?o.invertedColors||o.chartColors||I:o.chartColors||[];i+=\" \",i+=' ',i+=' ',i+=' ',i+=\" \",0===o.lineSize?i+=\"\":(i+=\"\",i+=' ',i+=\"\"),i+=Xt(o.shadow,C),i+=\" \",i+=\" \"}),i+=\"\",i+=\" \",i+=\" Sheet1!$A$2:$A$\"+(a[0].values.length+1)+\"\",i+=\" \",i+=\" General\",i+=' ',a[0].values.forEach(function(t,e){i+=''+(t||0===t?t:\"\")+\"\"}),i+=\" \",i+=\" \",i+=\"\",i+=\"\",i+=\" \",i+=\" Sheet1!$\"+Zt(t+1)+\"$2:$\"+Zt(t+1)+\"$\"+(a[0].values.length+1)+\"\",i+=\" \",i+=\" General\",i+=' ',a[0].values.forEach(function(t,e){i+=''+(r.values[e]||0===r.values[e]?r.values[e]:\"\")+\"\"}),i+=\" \",i+=\" \",i+=\"\",i+='',i+=\"\"}),i+=\" \",i+=' ',i+=\" \",i+=\" \",i+=\" \",i+=\" \",i+=' ',i+=\" \"+wt(o.dataLabelColor||b)+\"\",i+=' ',i+=\" \",i+=\" \",i+=\" \",o.dataLabelPosition&&(i+=' '),i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=\" \",i+=' ',i+=' ',i+=\"\";break;case J.BUBBLE:i+=\"\",i+='',s=-1;var l=1;a.filter(function(t,e){return 0\",i+=' ',i+=' ',i+=\" \",i+=\" \",i+=\" Sheet1!$\"+F[l]+\"$1\",i+=' '+r.name+\"\",i+=\" \",i+=\" \",i+=\"\";var e=o.chartColors[s%o.chartColors.length];\"transparent\"===e?i+=\"\":o.chartColorsOpacity?i+=\"\"+wt(e,'')+\"\":i+=\"\"+wt(e)+\"\",0===o.lineSize?i+=\"\":o.dataBorder?i+=''+wt(o.dataBorder.color)+'':(i+=''+wt(e)+\"\",i+=''),i+=Xt(o.shadow,C),i+=\"\",i+=\"\",i+=\" \",i+=\" Sheet1!$A$2:$A$\"+(a[0].values.length+1)+\"\",i+=\" \",i+=\" General\",i+=' ',a[0].values.forEach(function(t,e){i+=''+(t||0===t?t:\"\")+\"\"}),i+=\" \",i+=\" \",i+=\"\",i+=\"\",i+=\" \",i+=\" Sheet1!$\"+Zt(l)+\"$2:$\"+Zt(l)+\"$\"+(a[0].values.length+1)+\"\",l++,i+=\" \",i+=\" General\",i+=' ',a[0].values.forEach(function(t,e){i+=''+(r.values[e]||0===r.values[e]?r.values[e]:\"\")+\"\"}),i+=\" \",i+=\" \",i+=\"\",i+=\" \",i+=\" \",i+=\" Sheet1!$\"+Zt(l)+\"$2:$\"+Zt(t+2)+\"$\"+(r.sizes.length+1)+\"\",l++,i+=\" \",i+=\" General\",i+='\\t ',r.sizes.forEach(function(t,e){i+=''+(t||\"\")+\"\"}),i+=\" \",i+=\" \",i+=\" \",i+=' ',i+=\"\"}),i+=\" \",i+=' ',i+=\" \",i+=\" \",i+=\" \",i+=\" \",i+=' ',i+=\" \"+wt(o.dataLabelColor||b)+\"\",i+=' ',i+=\" \",i+=\" \",i+=\" \",o.dataLabelPosition&&(i+=' '),i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=\" \",i+=' ',i+=' ',i+=\"\";break;case J.DOUGHNUT:case J.PIE:var r=a[0];i+=\"\",i+=' ',i+=\"\",i+=' ',i+=' ',i+=\" \",i+=\" \",i+=\" Sheet1!$B$1\",i+=\" \",i+=' ',i+=' '+gt(r.name)+\"\",i+=\" \",i+=\" \",i+=\" \",i+=\" \",i+=' ',i+=' ',o.dataNoEffects?i+=\"\":i+=Xt(o.shadow,C),i+=\" \",r.labels.forEach(function(t,e){i+=\"\",i+=' ',i+=' ',i+=\" \",i+=\"\"+wt(o.chartColors[e+1>o.chartColors.length?Math.floor(Math.random()*o.chartColors.length):e])+\"\",o.dataBorder&&(i+=''+wt(o.dataBorder.color)+''),i+=Xt(o.shadow,C),i+=\" \",i+=\"\"}),i+=\"\",r.labels.forEach(function(t,e){i+=\"\",i+=' ',i+=' ',i+=\" \",i+=\" \",i+=\" \",i+=' ',i+=\" \"+wt(o.dataLabelColor||b)+\"\",i+=' ',i+=\" \",i+=\" \",i+=\" \",n===J.PIE&&o.dataLabelPosition&&(i+=' '),i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=\" \"}),i+=' ',i+=\"\\t\",i+=\"\\t \",i+=\"\\t \",i+=\"\\t \",i+=\"\\t\\t\",i+='\\t\\t ',i+='\\t\\t\\t',i+=\"\\t\\t \",i+=\"\\t\\t\",i+=\"\\t \",i+=\"\\t\",i+=n===J.PIE?'':\"\",i+='\\t',i+='\\t',i+='\\t',i+='\\t',i+='\\t',i+='\\t',i+=' ',i+=\"\",i+=\"\",i+=\" \",i+=\" Sheet1!$A$2:$A$\"+(r.labels.length+1)+\"\",i+=\" \",i+='\\t ',r.labels.forEach(function(t,e){i+=''+gt(t)+\"\"}),i+=\" \",i+=\" \",i+=\"\",i+=\" \",i+=\" \",i+=\" Sheet1!$B$2:$B$\"+(r.labels.length+1)+\"\",i+=\" \",i+='\\t ',r.values.forEach(function(t,e){i+=''+(t||0===t?t:\"\")+\"\"}),i+=\" \",i+=\" \",i+=\" \",i+=\" \",i+=' ',n===J.DOUGHNUT&&(i+=' '),i+=\"\";break;default:i+=\"\"}return i}function Qt(e,t,r){var n=\"\";return e._type===J.SCATTER||e._type===J.BUBBLE?n+=\"\":n+=\"\",n+=' ',n+=\" \",n+='',!e.catAxisMaxVal&&0!==e.catAxisMaxVal||(n+=''),!e.catAxisMinVal&&0!==e.catAxisMinVal||(n+=''),n+=\"\",n+=' ',n+=' ',n+=\"none\"!==e.catGridLine.style?Kt(e.catGridLine):\"\",e.showCatAxisTitle&&(n+=qt({color:e.catAxisTitleColor,fontFace:e.catAxisTitleFontFace,fontSize:e.catAxisTitleFontSize,titleRotate:e.catAxisTitleRotate,title:e.catAxisTitle||\"Axis Title\"})),e._type===J.SCATTER||e._type===J.BUBBLE?n+=' ':n+=' ',e._type===J.SCATTER?(n+=' ',n+=' ',n+=' '):(n+=' ',n+=' ',n+=' '),n+=\" \",n+=' ',n+=!1===e.catAxisLineShow?\"\":\"\"+wt(e.catAxisLineColor||y.color)+\"\",n+=' ',n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=' ',n+=\" \"+wt(e.catAxisLabelColor||b)+\"\",n+=' ',n+=\" \",n+=\" \",n+=' ',n+=\" \",n+=\" \",n+=' ',n+=\" ',n+=' ',n+=' ',n+=' ',e.catAxisLabelFrequency&&(n+=' '),!e.catLabelFormatCode&&e._type!==J.SCATTER&&e._type!==J.BUBBLE||(e.catLabelFormatCode&&([\"catAxisBaseTimeUnit\",\"catAxisMajorTimeUnit\",\"catAxisMinorTimeUnit\"].forEach(function(t){!e[t]||\"string\"==typeof e[t]&&-1!==[\"days\",\"months\",\"years\"].indexOf(e[t].toLowerCase())||(console.warn(\"`\"+t+\"` must be one of: 'days','months','years' !\"),e[t]=null)}),e.catAxisBaseTimeUnit&&(n+=''),e.catAxisMajorTimeUnit&&(n+=''),e.catAxisMinorTimeUnit&&(n+='')),e.catAxisMajorUnit&&(n+=''),e.catAxisMinorUnit&&(n+='')),e._type===J.SCATTER||e._type===J.BUBBLE?n+=\"\":n+=\"\",n}function Yt(t,e){var r=e===L?\"col\"===t.barDir?\"l\":\"b\":\"col\"!==t.barDir?\"r\":\"t\",n=\"\",a=\"r\"==r||\"t\"==r?\"max\":\"autoZero\",o=e===L?T:k;return n+=\"\",n+=' ',n+=\" \",t.valAxisLogScaleBase&&(n+=' '),n+=' ',!t.valAxisMaxVal&&0!==t.valAxisMaxVal||(n+=''),!t.valAxisMinVal&&0!==t.valAxisMinVal||(n+=''),n+=\" \",n+=' ',n+=' ',\"none\"!==t.valGridLine.style&&(n+=Kt(t.valGridLine)),t.showValAxisTitle&&(n+=qt({color:t.valAxisTitleColor,fontFace:t.valAxisTitleFontFace,fontSize:t.valAxisTitleFontSize,titleRotate:t.valAxisTitleRotate,title:t.valAxisTitle||\"Axis Title\"})),n+=\"',t._type===J.SCATTER?(n+=' ',n+=' ',n+=' '):(n+=' ',n+=' ',n+=' '),n+=\" \",n+=' ',n+=!1===t.valAxisLineShow?\"\":\"\"+wt(t.valAxisLineColor||y.color)+\"\",n+=' ',n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=' ',n+=\" \"+wt(t.valAxisLabelColor||b)+\"\",n+=' ',n+=\" \",n+=\" \",n+=' ',n+=\" \",n+=\" \",n+=' ',n+=' ',n+=' ',t.valAxisMajorUnit&&(n+=' '),t.valAxisDisplayUnit&&(n+=''+(t.valAxisDisplayUnitLabel?\"\":\"\")+\"\"),n+=\"\"}function qt(t){var e=\"left\"===t.titleAlign||\"right\"===t.titleAlign?'':\"\",r=t.titleRotate?'':\"\",n=t.fontSize?'sz=\"'+Math.round(100*t.fontSize)+'\"':\"\",a=!0===t.titleBold?1:0,o=t.titlePos&&t.titlePos.x&&t.titlePos.y?'':\"\";return\"\\n\\t \\n\\t \\n\\t \"+r+\"\\n\\t \\n\\t \\n\\t \"+e+\"\\n\\t \\n\\t '+wt(t.color||b)+'\\n\\t \\n\\t \\n\\t \\n\\t \\n\\t \\n\\t '+wt(t.color||b)+'\\n\\t \\n\\t \\n\\t '+(gt(t.title)||\"\")+\"\\n\\t \\n\\t \\n\\t \\n\\t \\n\\t \"+o+'\\n\\t \\n\\t'}function Zt(t){var e=\"\";return t<=26?e=F[t]:(e+=F[Math.floor(t/F.length)-1],e+=F[t%F.length]),e}function Xt(t,e){if(!t)return\"\";if(\"object\"!=typeof t)return console.warn(\"`shadow` options must be an object. Ex: `{shadow: {type:'none'}}`\"),\"\";var r=\"\",n=mt(e,t),a=n.type||\"outer\",o=At(n.blur),i=At(n.offset),s=Math.round(6e4*n.angle),l=n.color,c=Math.round(1e5*n.opacity);return r+=\"',r+='',r+='',r+=\"\",r+=\"\"}function Kt(t){var e=\"\";return e+=\" \",e+=' ',e+=' ',e+=' ',e+=\" \",e+=\" \",e+=\"\"}function Jt(t){var o=\"undefined\"!=typeof require&&\"undefined\"==typeof window?require(\"fs\"):null,i=\"undefined\"!=typeof require&&\"undefined\"==typeof window?require(\"https\"):null,e=[];return t._relsMedia.filter(function(t){return\"online\"!==t.type&&!t.data&&(!t.path||t.path&&-1===t.path.indexOf(\"preencoded\"))}).forEach(function(a){e.push(new Promise(function(r,n){if(o&&0!==a.path.indexOf(\"http\"))try{var t=o.readFileSync(a.path);a.data=Buffer.from(t).toString(\"base64\"),r(\"done\")}catch(t){a.data=pt,n('ERROR: Unable to read media: \"'+a.path+'\"\\n'+t.toString())}else if(o&&i&&0===a.path.indexOf(\"http\"))i.get(a.path,function(t){var e=\"\";t.setEncoding(\"binary\"),t.on(\"data\",function(t){return e+=t}),t.on(\"end\",function(){a.data=Buffer.from(e,\"binary\").toString(\"base64\"),r(\"done\")}),t.on(\"error\",function(t){a.data=pt,n(\"ERROR! Unable to load image (https.get): \"+a.path)})});else{var e=new XMLHttpRequest;e.onload=function(){var t=new FileReader;t.onloadend=function(){a.data=t.result,a.isSvgPng?$t(a).then(function(){r(\"done\")}).catch(function(t){n(t)}):r(\"done\")},t.readAsDataURL(e.response)},e.onerror=function(t){a.data=pt,n(\"ERROR! Unable to load image (xhr.onerror): \"+a.path)},e.open(\"GET\",a.path),e.responseType=\"blob\",e.send()}}))}),t._relsMedia.filter(function(t){return t.isSvgPng&&t.data}).forEach(function(t){o?(t.data=pt,e.push(Promise.resolve().then(function(){return\"done\"}))):e.push($t(t))}),e}function $t(a){return new Promise(function(r,e){var n=new Image;n.onload=function(){n.width+n.height===0&&n.onerror(\"h/w=0\");var t=document.createElement(\"CANVAS\"),e=t.getContext(\"2d\");t.width=n.width,t.height=n.height,e.drawImage(n,0,0);try{a.data=t.toDataURL(a.type),r(\"done\")}catch(t){n.onerror(t)}t=null},n.onerror=function(t){a.data=pt,e(\"ERROR! Unable to load image (image.onerror): \"+a.path)},n.src=\"string\"==typeof a.data?a.data:pt})}function te(){var a=this;this._version=\"3.7.0\",this._alignH=Q,this._alignV=q,this._chartType=U,this._outputType=z,this._schemeColor=H,this._shapeType=G,this._charts=J,this._colors=tt,this._shapes=X,this.addNewSlide=function(t){var e=0')})}),n+='',n+='',n+='',n+='',t.forEach(function(t,e){n+='',n+='',t._relsChart.forEach(function(t){n+=' '})}),n+='',n+='',n+='',n+='',e.forEach(function(t,e){n+='',(t._relsChart||[]).forEach(function(t){n+=' '})}),t.forEach(function(t,e){n+=' '}),r._relsChart.forEach(function(t){n+=' '}),r._relsMedia.forEach(function(t){\"image\"!==t.type&&\"online\"!==t.type&&\"chart\"!==t.type&&\"m4v\"!==t.extn&&-1===n.indexOf(t.type)&&(n+=' ')}),n+=' ',n+=' ',n+=\"\"}(a.slides,a.slideLayouts,a.masterSlide)),n.file(\"_rels/.rels\",''+v+'\\n\\t\\t\\n\\t\\t\\n\\t\\t\\n\\t\\t'),n.file(\"docProps/app.xml\",function(t,e){return''+v+'\\n\\t0\\n\\t0\\n\\tMicrosoft Office PowerPoint\\n\\tOn-screen Show (16:9)\\n\\t0\\n\\t'+t.length+\"\\n\\t\"+t.length+'\\n\\t0\\n\\t0\\n\\tfalse\\n\\t\\n\\t\\t\\n\\t\\t\\tFonts Used\\n\\t\\t\\t2\\n\\t\\t\\tTheme\\n\\t\\t\\t1\\n\\t\\t\\tSlide Titles\\n\\t\\t\\t'+t.length+'\\n\\t\\t\\n\\t\\n\\t\\n\\t\\t\\n\\t\\t\\tArial\\n\\t\\t\\tCalibri\\n\\t\\t\\tOffice Theme\\n\\t\\t\\t'+t.map(function(t,e){return\"Slide \"+(e+1)+\"\\n\"}).join(\"\")+\"\\n\\t\\t\\n\\t\\n\\t\"+e+\"\\n\\tfalse\\n\\tfalse\\n\\tfalse\\n\\t16.0000\\n\\t\"}(a.slides,a.company)),n.file(\"docProps/core.xml\",function(t,e,r,n){return'\\n\\t\\n\\t\\t'+gt(t)+\"\\n\\t\\t\"+gt(e)+\"\\n\\t\\t\"+gt(r)+\"\\n\\t\\t\"+gt(r)+\"\\n\\t\\t\"+n+'\\n\\t\\t'+(new Date).toISOString().replace(/\\.\\d\\d\\dZ/,\"Z\")+'\\n\\t\\t'+(new Date).toISOString().replace(/\\.\\d\\d\\dZ/,\"Z\")+\"\\n\\t\"}(a.title,a.subject,a.author,a.revision)),n.file(\"ppt/_rels/presentation.xml.rels\",function(t){var e=1,r=''+v;r+='',r+='';for(var n=1;n<=t.length;n++)r+='';return r+=''}(a.slides)),n.file(\"ppt/theme/theme1.xml\",''+v+''),n.file(\"ppt/presentation.xml\",function(t){var e=''+v+'';e+='',e+=\"\",t.slides.forEach(function(t){return e+=''}),e+=\"\",e+='',e+='',e+='',e+=\"\";for(var r=1;r<10;r++)e+=\"\";return e+=\"\",t.sections&&0',e+='',t.sections.forEach(function(t){e+='',t._slides.forEach(function(t){return e+=''}),e+=\"\"}),e+=\"\",e+='',e+=\"\"),e+=\"\"}(a)),n.file(\"ppt/presProps.xml\",''+v+''),n.file(\"ppt/tableStyles.xml\",''+v+''),n.file(\"ppt/viewProps.xml\",''+v+''),a.slideLayouts.forEach(function(t,e){n.file(\"ppt/slideLayouts/slideLayout\"+(e+1)+\".xml\",function(t){return'\\n\\t\\t\\n\\t\\t'+Lt(t)+\"\\n\\t\\t\"}(t)),n.file(\"ppt/slideLayouts/_rels/slideLayout\"+(e+1)+\".xml.rels\",function(t,e){return Et(e[t-1],[{target:\"../slideMasters/slideMaster1.xml\",type:\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster\"}])}(e+1,a.slideLayouts))}),a.slides.forEach(function(t,e){n.file(\"ppt/slides/slide\"+(e+1)+\".xml\",function(t){return''+v+'\"+Lt(t)+\"\"}(t)),n.file(\"ppt/slides/_rels/slide\"+(e+1)+\".xml.rels\",function(t,e,r){return Et(t[r-1],[{target:\"../slideLayouts/slideLayout\"+function(t,e,r){for(var n=0;n\\n\\t\\t\\n\\t\\t\\t\\n\\t\\t\\t\\n\\t\\t'}(e+1))}),n.file(\"ppt/slideMasters/slideMaster1.xml\",function(r,t){var e=t.map(function(t,e){return''}),n=''+v;return n+='',n+=Lt(r),n+='',n+=\"\"+e.join(\"\")+\"\",n+='',n+=' ',n+=\"\"}(a.masterSlide,a.slideLayouts)),n.file(\"ppt/slideMasters/_rels/slideMaster1.xml.rels\",function(t,e){var r=e.map(function(t,e){return{target:\"../slideLayouts/slideLayout\"+(e+1)+\".xml\",type:\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout\"}});return r.push({target:\"../theme/theme1.xml\",type:\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme\"}),Et(t,r)}(a.masterSlide,a.slideLayouts)),n.file(\"ppt/notesMasters/notesMaster1.xml\",''+v+'7/23/19Click to edit Master text stylesSecond levelThird levelFourth levelFifth level‹#›'),n.file(\"ppt/notesMasters/_rels/notesMaster1.xml.rels\",''+v+'\\n\\t\\t\\n\\t\\t'),a.slideLayouts.forEach(function(t){a.createChartMediaRels(t,n,e)}),a.slides.forEach(function(t){a.createChartMediaRels(t,n,e)}),a.createChartMediaRels(a.masterSlide,n,e),Promise.all(e).then(function(){return\"STREAM\"===t.outputType?n.generateAsync({type:\"nodebuffer\",compression:t.compression?\"DEFLATE\":\"STORE\"}):t.outputType?n.generateAsync({type:t.outputType}):n.generateAsync({type:\"blob\",compression:t.compression?\"DEFLATE\":\"STORE\"})})})},this.LAYOUTS={LAYOUT_4x3:{name:\"screen4x3\",width:9144e3,height:6858e3},LAYOUT_16x9:{name:\"screen16x9\",width:9144e3,height:5143500},LAYOUT_16x10:{name:\"screen16x10\",width:9144e3,height:5715e3},LAYOUT_WIDE:{name:\"custom\",width:12192e3,height:6858e3}},this._author=\"PptxGenJS\",this._company=\"PptxGenJS\",this._revision=\"1\",this._subject=\"PptxGenJS Presentation\",this._title=\"PptxGenJS Presentation\",this._presLayout={name:this.LAYOUTS[p].name,_sizeW:this.LAYOUTS[p].width,_sizeH:this.LAYOUTS[p].height,width:this.LAYOUTS[p].width,height:this.LAYOUTS[p].height},this._rtlMode=!1,this._slideLayouts=[{_margin:P,_name:n,_presLayout:this._presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slide:null,_slideNum:1e3,_slideNumberProps:null,_slideObjects:[]}],this._slides=[],this._sections=[],this._masterSlide={addChart:null,addImage:null,addMedia:null,addNotes:null,addShape:null,addTable:null,addText:null,_name:null,_presLayout:this._presLayout,_rId:null,_rels:[],_relsChart:[],_relsMedia:[],_slideId:null,_slideLayout:null,_slideNum:null,_slideNumberProps:null,_slideObjects:[]}}return Object.defineProperty(te.prototype,\"layout\",{get:function(){return this._layout},set:function(t){var e=this.LAYOUTS[t];if(!e)throw new Error(\"UNKNOWN-LAYOUT\");this._layout=t,this._presLayout=e},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"version\",{get:function(){return this._version},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"author\",{get:function(){return this._author},set:function(t){this._author=t},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"company\",{get:function(){return this._company},set:function(t){this._company=t},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"revision\",{get:function(){return this._revision},set:function(t){this._revision=t},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"subject\",{get:function(){return this._subject},set:function(t){this._subject=t},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"title\",{get:function(){return this._title},set:function(t){this._title=t},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"rtlMode\",{get:function(){return this._rtlMode},set:function(t){this._rtlMode=t},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"masterSlide\",{get:function(){return this._masterSlide},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"slides\",{get:function(){return this._slides},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"sections\",{get:function(){return this._sections},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"slideLayouts\",{get:function(){return this._slideLayouts},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"AlignH\",{get:function(){return this._alignH},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"AlignV\",{get:function(){return this._alignV},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"ChartType\",{get:function(){return this._chartType},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"OutputType\",{get:function(){return this._outputType},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"presLayout\",{get:function(){return this._presLayout},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"SchemeColor\",{get:function(){return this._schemeColor},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"ShapeType\",{get:function(){return this._shapeType},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"charts\",{get:function(){return this._charts},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"colors\",{get:function(){return this._colors},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"shapes\",{get:function(){return this._shapes},enumerable:!1,configurable:!0}),te.prototype.stream=function(t){var e=!(\"object\"!=typeof t||!t.hasOwnProperty(\"compression\"))&&t.compression;return this.exportPresentation({compression:e,outputType:\"STREAM\"})},te.prototype.write=function(t){var e=\"object\"==typeof t&&t.hasOwnProperty(\"outputType\")?t.outputType:t||null,r=!(\"object\"!=typeof t||!t.hasOwnProperty(\"compression\"))&&t.compression;return this.exportPresentation({compression:r,outputType:e})},te.prototype.writeFile=function(t){var e=this,n=\"undefined\"!=typeof require&&\"undefined\"==typeof window?require(\"fs\"):null;\"string\"==typeof t&&console.log(\"Warning: `writeFile(filename)` is deprecated - please use `WriteFileProps` argument (v3.5.0)\");var r=\"object\"==typeof t&&t.hasOwnProperty(\"fileName\")?t.fileName:\"string\"==typeof t?t:\"\",a=!(\"object\"!=typeof t||!t.hasOwnProperty(\"compression\"))&&t.compression,o=r?r.toString().toLowerCase().endsWith(\".pptx\")?r:r+\".pptx\":\"Presentation.pptx\";return this.exportPresentation({compression:a,outputType:n?\"nodebuffer\":null}).then(function(t){return n?new Promise(function(e,r){n.writeFile(o,t,function(t){t?r(t):e(o)})}):e.writeFileToBrowser(o,t)})},te.prototype.addSection=function(t){t?t.title||console.warn(\"addSection requires a title\"):console.warn(\"addSection requires an argument\");var e={_type:\"user\",_slides:[],title:t.title};t.order?this.sections.splice(t.order,0,e):this._sections.push(e)},te.prototype.addSlide=function(e){var r=\"string\"==typeof e?e:e&&e.masterName?e.masterName:\"\",t={_name:this.LAYOUTS[p].name,_presLayout:this.presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slideNum:this.slides.length+1};if(r){var n=this.slideLayouts.filter(function(t){return t._name===r})[0];n&&(t=n)}var a=new Gt({addSlide:this.addNewSlide,getSlide:this.getSlide,presLayout:this.presLayout,setSlideNum:this.setSlideNumber,slideId:this.slides.length+256,slideRId:this.slides.length+2,slideNumber:this.slides.length+1,slideLayout:t});if(this._slides.push(a),e&&e.sectionTitle){var o=this.sections.filter(function(t){return t.title===e.sectionTitle})[0];o?o._slides.push(a):console.warn('addSlide: unable to find section with title: \"'+e.sectionTitle+'\"')}else if(this.sections&&0 opts.y = \"+a.y),r.addTable(t.rows,{x:a.x||p[3],y:a.y,w:Number(s)/B,colW:c,autoPage:!1}),a.addImage&&r.addImage({path:a.addImage.url,x:a.addImage.x,y:a.addImage.y,w:a.addImage.w,h:a.addImage.h}),a.addShape&&r.addShape(a.addShape.shape,a.addShape.options||{}),a.addTable&&r.addTable(a.addTable.rows,a.addTable.options||{}),a.addText&&r.addText(a.addText.text,a.addText.options||{})})}(this,t,e,e&&e.masterSlideName?this.slideLayouts.filter(function(t){return t._name===e.masterSlideName})[0]:null)},te}();"],"file":"pptxgen.bundle.js"} \ No newline at end of file +{"version":3,"names":[],"mappings":"","sources":["pptxgen.bundle.js"],"sourcesContent":["/* PptxGenJS 3.7.1 @ 2021-07-22T03:01:25.409Z */\n!function(t){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=t():\"function\"==typeof define&&define.amd?define([],t):(\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:this).JSZip=t()}(function(){return function o(i,s,l){function c(e,t){if(!s[e]){if(!i[e]){var r=\"function\"==typeof require&&require;if(!t&&r)return r(e,!0);if(u)return u(e,!0);var n=new Error(\"Cannot find module '\"+e+\"'\");throw n.code=\"MODULE_NOT_FOUND\",n}var a=s[e]={exports:{}};i[e][0].call(a.exports,function(t){return c(i[e][1][t]||t)},a,a.exports,o,i,s,l)}return s[e].exports}for(var u=\"function\"==typeof require&&require,t=0;t>2,o=(3&e)<<4|r>>4,i=1>6:64,s=2>4,r=(15&a)<<4|(o=h.indexOf(t.charAt(s++)))>>2,n=(3&o)<<6|(i=h.indexOf(t.charAt(s++))),c[l++]=e,64!==o&&(c[l++]=r),64!==i&&(c[l++]=n);return c}},{\"./support\":30,\"./utils\":32}],2:[function(t,e,r){\"use strict\";var n=t(\"./external\"),a=t(\"./stream/DataWorker\"),o=t(\"./stream/Crc32Probe\"),i=t(\"./stream/DataLengthProbe\");function s(t,e,r,n,a){this.compressedSize=t,this.uncompressedSize=e,this.crc32=r,this.compression=n,this.compressedContent=a}s.prototype={getContentWorker:function(){var t=new a(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new i(\"data_length\")),e=this;return t.on(\"end\",function(){if(this.streamInfo.data_length!==e.uncompressedSize)throw new Error(\"Bug : uncompressed data size mismatch\")}),t},getCompressedWorker:function(){return new a(n.Promise.resolve(this.compressedContent)).withStreamInfo(\"compressedSize\",this.compressedSize).withStreamInfo(\"uncompressedSize\",this.uncompressedSize).withStreamInfo(\"crc32\",this.crc32).withStreamInfo(\"compression\",this.compression)}},s.createWorkerFrom=function(t,e,r){return t.pipe(new o).pipe(new i(\"uncompressedSize\")).pipe(e.compressWorker(r)).pipe(new i(\"compressedSize\")).withStreamInfo(\"compression\",e)},e.exports=s},{\"./external\":6,\"./stream/Crc32Probe\":25,\"./stream/DataLengthProbe\":26,\"./stream/DataWorker\":27}],3:[function(t,e,r){\"use strict\";var n=t(\"./stream/GenericWorker\");r.STORE={magic:\"\\0\\0\",compressWorker:function(t){return new n(\"STORE compression\")},uncompressWorker:function(){return new n(\"STORE decompression\")}},r.DEFLATE=t(\"./flate\")},{\"./flate\":7,\"./stream/GenericWorker\":28}],4:[function(t,e,r){\"use strict\";var n=t(\"./utils\"),i=function(){for(var t,e=[],r=0;r<256;r++){t=r;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[r]=t}return e}();e.exports=function(t,e){return void 0!==t&&t.length?\"string\"!==n.getTypeOf(t)?function(t,e,r){var n=i,a=0+r;t^=-1;for(var o=0;o>>8^n[255&(t^e[o])];return-1^t}(0|e,t,t.length):function(t,e,r){var n=i,a=0+r;t^=-1;for(var o=0;o>>8^n[255&(t^e.charCodeAt(o))];return-1^t}(0|e,t,t.length):0}},{\"./utils\":32}],5:[function(t,e,r){\"use strict\";r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!0,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],6:[function(t,e,r){\"use strict\";var n;n=\"undefined\"!=typeof Promise?Promise:t(\"lie\"),e.exports={Promise:n}},{lie:37}],7:[function(t,e,r){\"use strict\";var n=\"undefined\"!=typeof Uint8Array&&\"undefined\"!=typeof Uint16Array&&\"undefined\"!=typeof Uint32Array,a=t(\"pako\"),o=t(\"./utils\"),i=t(\"./stream/GenericWorker\"),s=n?\"uint8array\":\"array\";function l(t,e){i.call(this,\"FlateWorker/\"+t),this._pako=null,this._pakoAction=t,this._pakoOptions=e,this.meta={}}r.magic=\"\\b\\0\",o.inherits(l,i),l.prototype.processChunk=function(t){this.meta=t.meta,null===this._pako&&this._createPako(),this._pako.push(o.transformTo(s,t.data),!1)},l.prototype.flush=function(){i.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},l.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this._pako=null},l.prototype._createPako=function(){this._pako=new a[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},r.compressWorker=function(t){return new l(\"Deflate\",t)},r.uncompressWorker=function(){return new l(\"Inflate\",{})}},{\"./stream/GenericWorker\":28,\"./utils\":32,pako:38}],8:[function(t,e,r){\"use strict\";function T(t,e){var r,n=\"\";for(r=0;r>>=8;return n}function a(t,e,r,n,a,o){var i,s,l=t.file,c=t.compression,u=o!==R.utf8encode,p=k.transformTo(\"string\",o(l.name)),f=k.transformTo(\"string\",R.utf8encode(l.name)),d=l.comment,h=k.transformTo(\"string\",o(d)),m=k.transformTo(\"string\",R.utf8encode(d)),g=f.length!==l.name.length,v=m.length!==d.length,A=\"\",y=\"\",b=\"\",x=l.dir,w=l.date,_={crc32:0,compressedSize:0,uncompressedSize:0};e&&!r||(_.crc32=t.crc32,_.compressedSize=t.compressedSize,_.uncompressedSize=t.uncompressedSize);var C=0;e&&(C|=8),u||!g&&!v||(C|=2048);var P,S=0,L=0;x&&(S|=16),\"UNIX\"===a?(L=798,S|=((P=l.unixPermissions)||(P=x?16893:33204),(65535&P)<<16)):(L=20,S|=63&(l.dosPermissions||0)),i=w.getUTCHours(),i<<=6,i|=w.getUTCMinutes(),i<<=5,i|=w.getUTCSeconds()/2,s=w.getUTCFullYear()-1980,s<<=4,s|=w.getUTCMonth()+1,s<<=5,s|=w.getUTCDate(),g&&(A+=\"up\"+T((y=T(1,1)+T(F(p),4)+f).length,2)+y),v&&(A+=\"uc\"+T((b=T(1,1)+T(F(h),4)+m).length,2)+b);var E=\"\";return E+=\"\\n\\0\",E+=T(C,2),E+=c.magic,E+=T(i,2),E+=T(s,2),E+=T(_.crc32,4),E+=T(_.compressedSize,4),E+=T(_.uncompressedSize,4),E+=T(p.length,2),E+=T(A.length,2),{fileRecord:I.LOCAL_FILE_HEADER+E+p+A,dirRecord:I.CENTRAL_FILE_HEADER+T(L,2)+E+T(h.length,2)+\"\\0\\0\\0\\0\"+T(S,4)+T(n,4)+p+A+h}}var k=t(\"../utils\"),o=t(\"../stream/GenericWorker\"),R=t(\"../utf8\"),F=t(\"../crc32\"),I=t(\"../signature\");function n(t,e,r,n){o.call(this,\"ZipFileWorker\"),this.bytesWritten=0,this.zipComment=e,this.zipPlatform=r,this.encodeFileName=n,this.streamFiles=t,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}k.inherits(n,o),n.prototype.push=function(t){var e=t.meta.percent||0,r=this.entriesCount,n=this._sources.length;this.accumulate?this.contentBuffer.push(t):(this.bytesWritten+=t.data.length,o.prototype.push.call(this,{data:t.data,meta:{currentFile:this.currentFile,percent:r?(e+100*(r-n-1))/r:100}}))},n.prototype.openedSource=function(t){this.currentSourceOffset=this.bytesWritten,this.currentFile=t.file.name;var e=this.streamFiles&&!t.file.dir;if(e){var r=a(t,e,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},n.prototype.closedSource=function(t){this.accumulate=!1;var e,r=this.streamFiles&&!t.file.dir,n=a(t,r,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),r)this.push({data:(e=t,I.DATA_DESCRIPTOR+T(e.crc32,4)+T(e.compressedSize,4)+T(e.uncompressedSize,4)),meta:{percent:100}});else for(this.push({data:n.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},n.prototype.flush=function(){for(var t=this.bytesWritten,e=0;e=this.index;e--)r=(r<<8)+this.byteAt(e);return this.index+=t,r},readString:function(t){return n.transformTo(\"string\",this.readData(t))},readData:function(t){},lastIndexOfSignature:function(t){},readAndCheckSignature:function(t){},readDate:function(){var t=this.readInt(4);return new Date(Date.UTC(1980+(t>>25&127),(t>>21&15)-1,t>>16&31,t>>11&31,t>>5&63,(31&t)<<1))}},e.exports=a},{\"../utils\":32}],19:[function(t,e,r){\"use strict\";var n=t(\"./Uint8ArrayReader\");function a(t){n.call(this,t)}t(\"../utils\").inherits(a,n),a.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=a},{\"../utils\":32,\"./Uint8ArrayReader\":21}],20:[function(t,e,r){\"use strict\";var n=t(\"./DataReader\");function a(t){n.call(this,t)}t(\"../utils\").inherits(a,n),a.prototype.byteAt=function(t){return this.data.charCodeAt(this.zero+t)},a.prototype.lastIndexOfSignature=function(t){return this.data.lastIndexOf(t)-this.zero},a.prototype.readAndCheckSignature=function(t){return t===this.readData(4)},a.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=a},{\"../utils\":32,\"./DataReader\":18}],21:[function(t,e,r){\"use strict\";var n=t(\"./ArrayReader\");function a(t){n.call(this,t)}t(\"../utils\").inherits(a,n),a.prototype.readData=function(t){if(this.checkOffset(t),0===t)return new Uint8Array(0);var e=this.data.subarray(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=a},{\"../utils\":32,\"./ArrayReader\":17}],22:[function(t,e,r){\"use strict\";var n=t(\"../utils\"),a=t(\"../support\"),o=t(\"./ArrayReader\"),i=t(\"./StringReader\"),s=t(\"./NodeBufferReader\"),l=t(\"./Uint8ArrayReader\");e.exports=function(t){var e=n.getTypeOf(t);return n.checkSupport(e),\"string\"!==e||a.uint8array?\"nodebuffer\"===e?new s(t):a.uint8array?new l(n.transformTo(\"uint8array\",t)):new o(n.transformTo(\"array\",t)):new i(t)}},{\"../support\":30,\"../utils\":32,\"./ArrayReader\":17,\"./NodeBufferReader\":19,\"./StringReader\":20,\"./Uint8ArrayReader\":21}],23:[function(t,e,r){\"use strict\";r.LOCAL_FILE_HEADER=\"PK\u0003\u0004\",r.CENTRAL_FILE_HEADER=\"PK\u0001\u0002\",r.CENTRAL_DIRECTORY_END=\"PK\u0005\u0006\",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR=\"PK\u0006\u0007\",r.ZIP64_CENTRAL_DIRECTORY_END=\"PK\u0006\u0006\",r.DATA_DESCRIPTOR=\"PK\u0007\\b\"},{}],24:[function(t,e,r){\"use strict\";var n=t(\"./GenericWorker\"),a=t(\"../utils\");function o(t){n.call(this,\"ConvertWorker to \"+t),this.destType=t}a.inherits(o,n),o.prototype.processChunk=function(t){this.push({data:a.transformTo(this.destType,t.data),meta:t.meta})},e.exports=o},{\"../utils\":32,\"./GenericWorker\":28}],25:[function(t,e,r){\"use strict\";var n=t(\"./GenericWorker\"),a=t(\"../crc32\");function o(){n.call(this,\"Crc32Probe\"),this.withStreamInfo(\"crc32\",0)}t(\"../utils\").inherits(o,n),o.prototype.processChunk=function(t){this.streamInfo.crc32=a(t.data,this.streamInfo.crc32||0),this.push(t)},e.exports=o},{\"../crc32\":4,\"../utils\":32,\"./GenericWorker\":28}],26:[function(t,e,r){\"use strict\";var n=t(\"../utils\"),a=t(\"./GenericWorker\");function o(t){a.call(this,\"DataLengthProbe for \"+t),this.propName=t,this.withStreamInfo(t,0)}n.inherits(o,a),o.prototype.processChunk=function(t){if(t){var e=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=e+t.data.length}a.prototype.processChunk.call(this,t)},e.exports=o},{\"../utils\":32,\"./GenericWorker\":28}],27:[function(t,e,r){\"use strict\";var n=t(\"../utils\"),a=t(\"./GenericWorker\");function o(t){a.call(this,\"DataWorker\");var e=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type=\"\",this._tickScheduled=!1,t.then(function(t){e.dataIsReady=!0,e.data=t,e.max=t&&t.length||0,e.type=n.getTypeOf(t),e.isPaused||e._tickAndRepeat()},function(t){e.error(t)})}n.inherits(o,a),o.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this.data=null},o.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,n.delay(this._tickAndRepeat,[],this)),!0)},o.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(n.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},o.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var t=null,e=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case\"string\":t=this.data.substring(this.index,e);break;case\"uint8array\":t=this.data.subarray(this.index,e);break;case\"array\":case\"nodebuffer\":t=this.data.slice(this.index,e)}return this.index=e,this.push({data:t,meta:{percent:this.max?this.index/this.max*100:0}})},e.exports=o},{\"../utils\":32,\"./GenericWorker\":28}],28:[function(t,e,r){\"use strict\";function n(t){this.name=t||\"default\",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}n.prototype={push:function(t){this.emit(\"data\",t)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit(\"end\"),this.cleanUp(),this.isFinished=!0}catch(t){this.emit(\"error\",t)}return!0},error:function(t){return!this.isFinished&&(this.isPaused?this.generatedError=t:(this.isFinished=!0,this.emit(\"error\",t),this.previous&&this.previous.error(t),this.cleanUp()),!0)},on:function(t,e){return this._listeners[t].push(e),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(t,e){if(this._listeners[t])for(var r=0;r \"+t:t}},e.exports=n},{}],29:[function(t,e,r){\"use strict\";var c=t(\"../utils\"),a=t(\"./ConvertWorker\"),o=t(\"./GenericWorker\"),u=t(\"../base64\"),n=t(\"../support\"),i=t(\"../external\"),s=null;if(n.nodestream)try{s=t(\"../nodejs/NodejsStreamOutputAdapter\")}catch(t){}function l(t,e,r){var n=e;switch(e){case\"blob\":case\"arraybuffer\":n=\"uint8array\";break;case\"base64\":n=\"string\"}try{this._internalType=n,this._outputType=e,this._mimeType=r,c.checkSupport(n),this._worker=t.pipe(new a(n)),t.lock()}catch(t){this._worker=new o(\"error\"),this._worker.error(t)}}l.prototype={accumulate:function(t){return s=this,l=t,new i.Promise(function(e,r){var n=[],a=s._internalType,o=s._outputType,i=s._mimeType;s.on(\"data\",function(t,e){n.push(t),l&&l(e)}).on(\"error\",function(t){n=[],r(t)}).on(\"end\",function(){try{var t=function(t,e,r){switch(t){case\"blob\":return c.newBlob(c.transformTo(\"arraybuffer\",e),r);case\"base64\":return u.encode(e);default:return c.transformTo(t,e)}}(o,function(t,e){var r,n=0,a=null,o=0;for(r=0;r>>6:(r<65536?e[o++]=224|r>>>12:(e[o++]=240|r>>>18,e[o++]=128|r>>>12&63),e[o++]=128|r>>>6&63),e[o++]=128|63&r);return e}(t)},o.utf8decode=function(t){return l.nodebuffer?s.transformTo(\"nodebuffer\",t).toString(\"utf-8\"):function(t){var e,r,n,a,o=t.length,i=new Array(2*o);for(e=r=0;e>10&1023,i[r++]=56320|1023&n)}return i.length!==r&&(i.subarray?i=i.subarray(0,r):i.length=r),s.applyFromCharCode(i)}(t=s.transformTo(l.uint8array?\"uint8array\":\"array\",t))},s.inherits(i,n),i.prototype.processChunk=function(t){var e=s.transformTo(l.uint8array?\"uint8array\":\"array\",t.data);if(this.leftOver&&this.leftOver.length){if(l.uint8array){var r=e;(e=new Uint8Array(r.length+this.leftOver.length)).set(this.leftOver,0),e.set(r,this.leftOver.length)}else e=this.leftOver.concat(e);this.leftOver=null}var n=function(t,e){var r;for((e=e||t.length)>t.length&&(e=t.length),r=e-1;0<=r&&128==(192&t[r]);)r--;return r<0?e:0===r?e:r+c[t[r]]>e?r:e}(e),a=e;n!==e.length&&(l.uint8array?(a=e.subarray(0,n),this.leftOver=e.subarray(n,e.length)):(a=e.slice(0,n),this.leftOver=e.slice(n,e.length))),this.push({data:o.utf8decode(a),meta:t.meta})},i.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:o.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},o.Utf8DecodeWorker=i,s.inherits(u,n),u.prototype.processChunk=function(t){this.push({data:o.utf8encode(t.data),meta:t.meta})},o.Utf8EncodeWorker=u},{\"./nodejsUtils\":14,\"./stream/GenericWorker\":28,\"./support\":30,\"./utils\":32}],32:[function(t,e,s){\"use strict\";var l=t(\"./support\"),c=t(\"./base64\"),r=t(\"./nodejsUtils\"),n=t(\"set-immediate-shim\"),u=t(\"./external\");function a(t){return t}function p(t,e){for(var r=0;r>8;this.dir=!!(16&this.externalFileAttributes),0==t&&(this.dosPermissions=63&this.externalFileAttributes),3==t&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||\"/\"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(t){if(this.extraFields[1]){var e=n(this.extraFields[1].value);this.uncompressedSize===o.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===o.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===o.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===o.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(t){var e,r,n,a=t.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});t.index+4>>6:(r<65536?e[o++]=224|r>>>12:(e[o++]=240|r>>>18,e[o++]=128|r>>>12&63),e[o++]=128|r>>>6&63),e[o++]=128|63&r);return e},r.buf2binstring=function(t){return u(t,t.length)},r.binstring2buf=function(t){for(var e=new l.Buf8(t.length),r=0,n=e.length;r>10&1023,s[n++]=56320|1023&a)}return u(s,n)},r.utf8border=function(t,e){var r;for((e=e||t.length)>t.length&&(e=t.length),r=e-1;0<=r&&128==(192&t[r]);)r--;return r<0?e:0===r?e:r+c[t[r]]>e?r:e}},{\"./common\":41}],43:[function(t,e,r){\"use strict\";e.exports=function(t,e,r,n){for(var a=65535&t|0,o=t>>>16&65535|0,i=0;0!==r;){for(r-=i=2e3>>1:t>>>1;e[r]=t}return e}();e.exports=function(t,e,r,n){var a=s,o=n+r;t^=-1;for(var i=n;i>>8^a[255&(t^e[i])];return-1^t}},{}],46:[function(t,e,r){\"use strict\";var l,f=t(\"../utils/common\"),c=t(\"./trees\"),d=t(\"./adler32\"),h=t(\"./crc32\"),n=t(\"./messages\"),u=0,p=0,m=-2,a=2,g=8,o=286,i=30,s=19,v=2*o+1,A=15,y=3,b=258,x=b+y+1,w=42,_=113;function C(t,e){return t.msg=n[e],e}function P(t){return(t<<1)-(4t.avail_out&&(r=t.avail_out),0!==r&&(f.arraySet(t.output,e.pending_buf,e.pending_out,r,t.next_out),t.next_out+=r,e.pending_out+=r,t.total_out+=r,t.avail_out-=r,e.pending-=r,0===e.pending&&(e.pending_out=0))}function E(t,e){c._tr_flush_block(t,0<=t.block_start?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,L(t.strm)}function T(t,e){t.pending_buf[t.pending++]=e}function k(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function R(t,e){var r,n,a=t.max_chain_length,o=t.strstart,i=t.prev_length,s=t.nice_match,l=t.strstart>t.w_size-x?t.strstart-(t.w_size-x):0,c=t.window,u=t.w_mask,p=t.prev,f=t.strstart+b,d=c[o+i-1],h=c[o+i];t.prev_length>=t.good_match&&(a>>=2),s>t.lookahead&&(s=t.lookahead);do{if(c[(r=e)+i]===h&&c[r+i-1]===d&&c[r]===c[o]&&c[++r]===c[o+1]){o+=2,r++;do{}while(c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&ol&&0!=--a);return i<=t.lookahead?i:t.lookahead}function F(t){var e,r,n,a,o,i,s,l,c,u,p=t.w_size;do{if(a=t.window_size-t.lookahead-t.strstart,t.strstart>=p+(p-x)){for(f.arraySet(t.window,t.window,p,p,0),t.match_start-=p,t.strstart-=p,t.block_start-=p,e=r=t.hash_size;n=t.head[--e],t.head[e]=p<=n?n-p:0,--r;);for(e=r=p;n=t.prev[--e],t.prev[e]=p<=n?n-p:0,--r;);a+=p}if(0===t.strm.avail_in)break;if(i=t.strm,s=t.window,l=t.strstart+t.lookahead,u=void 0,(c=a)<(u=i.avail_in)&&(u=c),r=0===u?0:(i.avail_in-=u,f.arraySet(s,i.input,i.next_in,u,l),1===i.state.wrap?i.adler=d(i.adler,s,u,l):2===i.state.wrap&&(i.adler=h(i.adler,s,u,l)),i.next_in+=u,i.total_in+=u,u),t.lookahead+=r,t.lookahead+t.insert>=y)for(o=t.strstart-t.insert,t.ins_h=t.window[o],t.ins_h=(t.ins_h<=y&&(t.ins_h=(t.ins_h<=y)if(n=c._tr_tally(t,t.strstart-t.match_start,t.match_length-y),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=y){for(t.match_length--;t.strstart++,t.ins_h=(t.ins_h<=y&&(t.ins_h=(t.ins_h<=y&&t.match_length<=t.prev_length){for(a=t.strstart+t.lookahead-y,n=c._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-y),t.lookahead-=t.prev_length-1,t.prev_length-=2;++t.strstart<=a&&(t.ins_h=(t.ins_h<t.pending_buf_size-5&&(r=t.pending_buf_size-5);;){if(t.lookahead<=1){if(F(t),0===t.lookahead&&e===u)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+r;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,E(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-x&&(E(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(E(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(E(t,!1),t.strm.avail_out),1)}),new B(4,4,8,4,I),new B(4,5,16,8,I),new B(4,6,32,32,I),new B(4,4,16,16,O),new B(8,16,32,32,O),new B(8,16,128,128,O),new B(8,32,128,256,O),new B(32,128,258,1024,O),new B(32,258,258,4096,O)],r.deflateInit=function(t,e){return z(t,e,g,15,8,0)},r.deflateInit2=z,r.deflateReset=M,r.deflateResetKeep=D,r.deflateSetHeader=function(t,e){return t&&t.state?2!==t.state.wrap?m:(t.state.gzhead=e,p):m},r.deflate=function(t,e){var r,n,a,o;if(!t||!t.state||5>8&255),T(n,n.gzhead.time>>16&255),T(n,n.gzhead.time>>24&255),T(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),T(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(T(n,255&n.gzhead.extra.length),T(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(t.adler=h(t.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69):(T(n,0),T(n,0),T(n,0),T(n,0),T(n,0),T(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),T(n,3),n.status=_);else{var i=g+(n.w_bits-8<<4)<<8;i|=(2<=n.strategy||n.level<2?0:n.level<6?1:6===n.level?2:3)<<6,0!==n.strstart&&(i|=32),i+=31-i%31,n.status=_,k(n,i),0!==n.strstart&&(k(n,t.adler>>>16),k(n,65535&t.adler)),t.adler=1}if(69===n.status)if(n.gzhead.extra){for(a=n.pending;n.gzindex<(65535&n.gzhead.extra.length)&&(n.pending!==n.pending_buf_size||(n.gzhead.hcrc&&n.pending>a&&(t.adler=h(t.adler,n.pending_buf,n.pending-a,a)),L(t),a=n.pending,n.pending!==n.pending_buf_size));)T(n,255&n.gzhead.extra[n.gzindex]),n.gzindex++;n.gzhead.hcrc&&n.pending>a&&(t.adler=h(t.adler,n.pending_buf,n.pending-a,a)),n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=73)}else n.status=73;if(73===n.status)if(n.gzhead.name){a=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>a&&(t.adler=h(t.adler,n.pending_buf,n.pending-a,a)),L(t),a=n.pending,n.pending===n.pending_buf_size)){o=1;break}o=n.gzindexa&&(t.adler=h(t.adler,n.pending_buf,n.pending-a,a)),0===o&&(n.gzindex=0,n.status=91)}else n.status=91;if(91===n.status)if(n.gzhead.comment){a=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>a&&(t.adler=h(t.adler,n.pending_buf,n.pending-a,a)),L(t),a=n.pending,n.pending===n.pending_buf_size)){o=1;break}o=n.gzindexa&&(t.adler=h(t.adler,n.pending_buf,n.pending-a,a)),0===o&&(n.status=103)}else n.status=103;if(103===n.status&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&L(t),n.pending+2<=n.pending_buf_size&&(T(n,255&t.adler),T(n,t.adler>>8&255),t.adler=0,n.status=_)):n.status=_),0!==n.pending){if(L(t),0===t.avail_out)return n.last_flush=-1,p}else if(0===t.avail_in&&P(e)<=P(r)&&4!==e)return C(t,-5);if(666===n.status&&0!==t.avail_in)return C(t,-5);if(0!==t.avail_in||0!==n.lookahead||e!==u&&666!==n.status){var s=2===n.strategy?function(t,e){for(var r;;){if(0===t.lookahead&&(F(t),0===t.lookahead)){if(e===u)return 1;break}if(t.match_length=0,r=c._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,r&&(E(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(E(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(E(t,!1),0===t.strm.avail_out)?1:2}(n,e):3===n.strategy?function(t,e){for(var r,n,a,o,i=t.window;;){if(t.lookahead<=b){if(F(t),t.lookahead<=b&&e===u)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=y&&0t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=y?(r=c._tr_tally(t,1,t.match_length-y),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(r=c._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),r&&(E(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(E(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(E(t,!1),0===t.strm.avail_out)?1:2}(n,e):l[n.level].func(n,e);if(3!==s&&4!==s||(n.status=666),1===s||3===s)return 0===t.avail_out&&(n.last_flush=-1),p;if(2===s&&(1===e?c._tr_align(n):5!==e&&(c._tr_stored_block(n,0,0,!1),3===e&&(S(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),L(t),0===t.avail_out))return n.last_flush=-1,p}return 4!==e?p:n.wrap<=0?1:(2===n.wrap?(T(n,255&t.adler),T(n,t.adler>>8&255),T(n,t.adler>>16&255),T(n,t.adler>>24&255),T(n,255&t.total_in),T(n,t.total_in>>8&255),T(n,t.total_in>>16&255),T(n,t.total_in>>24&255)):(k(n,t.adler>>>16),k(n,65535&t.adler)),L(t),0=r.w_size&&(0===o&&(S(r.head),r.strstart=0,r.block_start=0,r.insert=0),c=new f.Buf8(r.w_size),f.arraySet(c,e,u-r.w_size,r.w_size,0),e=c,u=r.w_size),i=t.avail_in,s=t.next_in,l=t.input,t.avail_in=u,t.next_in=0,t.input=e,F(r);r.lookahead>=y;){for(n=r.strstart,a=r.lookahead-(y-1);r.ins_h=(r.ins_h<>>=b=y>>>24,h-=b,0==(b=y>>>16&255))S[o++]=65535&y;else{if(!(16&b)){if(0==(64&b)){y=m[(65535&y)+(d&(1<>>=b,h-=b),h<15&&(d+=P[n++]<>>=b=y>>>24,h-=b,!(16&(b=y>>>16&255))){if(0==(64&b)){y=g[(65535&y)+(d&(1<>>=b,h-=b,(b=o-i)>3,d&=(1<<(h-=x<<3))-1,t.next_in=n,t.next_out=o,t.avail_in=n>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function o(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new T.Buf16(320),this.work=new T.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function i(t){var e;return t&&t.state?(e=t.state,t.total_in=t.total_out=e.total=0,t.msg=\"\",e.wrap&&(t.adler=1&e.wrap),e.mode=M,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new T.Buf32(n),e.distcode=e.distdyn=new T.Buf32(a),e.sane=1,e.back=-1,N):D}function s(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,i(t)):D}function l(t,e){var r,n;return t&&t.state?(n=t.state,e<0?(r=0,e=-e):(r=1+(e>>4),e<48&&(e&=15)),e&&(e<8||15=o.wsize?(T.arraySet(o.window,e,r-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):(n<(a=o.wsize-o.wnext)&&(a=n),T.arraySet(o.window,e,r-n,a,o.wnext),(n-=a)?(T.arraySet(o.window,e,r-n,n,0),o.wnext=n,o.whave=o.wsize):(o.wnext+=a,o.wnext===o.wsize&&(o.wnext=0),o.whave>>8&255,r.check=R(r.check,L,2,0),u=c=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&c)<<8)+(c>>8))%31){t.msg=\"incorrect header check\",r.mode=30;break}if(8!=(15&c)){t.msg=\"unknown compression method\",r.mode=30;break}if(u-=4,w=8+(15&(c>>>=4)),0===r.wbits)r.wbits=w;else if(w>r.wbits){t.msg=\"invalid window size\",r.mode=30;break}r.dmax=1<>8&1),512&r.flags&&(L[0]=255&c,L[1]=c>>>8&255,r.check=R(r.check,L,2,0)),u=c=0,r.mode=3;case 3:for(;u<32;){if(0===s)break t;s--,c+=n[o++]<>>8&255,L[2]=c>>>16&255,L[3]=c>>>24&255,r.check=R(r.check,L,4,0)),u=c=0,r.mode=4;case 4:for(;u<16;){if(0===s)break t;s--,c+=n[o++]<>8),512&r.flags&&(L[0]=255&c,L[1]=c>>>8&255,r.check=R(r.check,L,2,0)),u=c=0,r.mode=5;case 5:if(1024&r.flags){for(;u<16;){if(0===s)break t;s--,c+=n[o++]<>>8&255,r.check=R(r.check,L,2,0)),u=c=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&(s<(d=r.length)&&(d=s),d&&(r.head&&(w=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),T.arraySet(r.head.extra,n,o,d,w)),512&r.flags&&(r.check=R(r.check,n,d,o)),s-=d,o+=d,r.length-=d),r.length))break t;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===s)break t;for(d=0;w=n[o+d++],r.head&&w&&r.length<65536&&(r.head.name+=String.fromCharCode(w)),w&&d>9&1,r.head.done=!0),t.adler=r.check=0,r.mode=12;break;case 10:for(;u<32;){if(0===s)break t;s--,c+=n[o++]<>>=7&u,u-=7&u,r.mode=27;break}for(;u<3;){if(0===s)break t;s--,c+=n[o++]<>>=1)){case 0:r.mode=14;break;case 1:if(U(r),r.mode=20,6!==e)break;c>>>=2,u-=2;break t;case 2:r.mode=17;break;case 3:t.msg=\"invalid block type\",r.mode=30}c>>>=2,u-=2;break;case 14:for(c>>>=7&u,u-=7&u;u<32;){if(0===s)break t;s--,c+=n[o++]<>>16^65535)){t.msg=\"invalid stored block lengths\",r.mode=30;break}if(r.length=65535&c,u=c=0,r.mode=15,6===e)break t;case 15:r.mode=16;case 16:if(d=r.length){if(s>>=5,u-=5,r.ndist=1+(31&c),c>>>=5,u-=5,r.ncode=4+(15&c),c>>>=4,u-=4,286>>=3,u-=3}for(;r.have<19;)r.lens[E[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,C={bits:r.lenbits},_=I(0,r.lens,0,19,r.lencode,0,r.work,C),r.lenbits=C.bits,_){t.msg=\"invalid code lengths set\",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have>>16&255,A=65535&S,!((g=S>>>24)<=u);){if(0===s)break t;s--,c+=n[o++]<>>=g,u-=g,r.lens[r.have++]=A;else{if(16===A){for(P=g+2;u>>=g,u-=g,0===r.have){t.msg=\"invalid bit length repeat\",r.mode=30;break}w=r.lens[r.have-1],d=3+(3&c),c>>>=2,u-=2}else if(17===A){for(P=g+3;u>>=g)),c>>>=3,u-=3}else{for(P=g+7;u>>=g)),c>>>=7,u-=7}if(r.have+d>r.nlen+r.ndist){t.msg=\"invalid bit length repeat\",r.mode=30;break}for(;d--;)r.lens[r.have++]=w}}if(30===r.mode)break;if(0===r.lens[256]){t.msg=\"invalid code -- missing end-of-block\",r.mode=30;break}if(r.lenbits=9,C={bits:r.lenbits},_=I(O,r.lens,0,r.nlen,r.lencode,0,r.work,C),r.lenbits=C.bits,_){t.msg=\"invalid literal/lengths set\",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,C={bits:r.distbits},_=I(B,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,C),r.distbits=C.bits,_){t.msg=\"invalid distances set\",r.mode=30;break}if(r.mode=20,6===e)break t;case 20:r.mode=21;case 21:if(6<=s&&258<=l){t.next_out=i,t.avail_out=l,t.next_in=o,t.avail_in=s,r.hold=c,r.bits=u,F(t,f),i=t.next_out,a=t.output,l=t.avail_out,o=t.next_in,n=t.input,s=t.avail_in,c=r.hold,u=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;v=(S=r.lencode[c&(1<>>16&255,A=65535&S,!((g=S>>>24)<=u);){if(0===s)break t;s--,c+=n[o++]<>y)])>>>16&255,A=65535&S,!(y+(g=S>>>24)<=u);){if(0===s)break t;s--,c+=n[o++]<>>=y,u-=y,r.back+=y}if(c>>>=g,u-=g,r.back+=g,r.length=A,0===v){r.mode=26;break}if(32&v){r.back=-1,r.mode=12;break}if(64&v){t.msg=\"invalid literal/length code\",r.mode=30;break}r.extra=15&v,r.mode=22;case 22:if(r.extra){for(P=r.extra;u>>=r.extra,u-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;v=(S=r.distcode[c&(1<>>16&255,A=65535&S,!((g=S>>>24)<=u);){if(0===s)break t;s--,c+=n[o++]<>y)])>>>16&255,A=65535&S,!(y+(g=S>>>24)<=u);){if(0===s)break t;s--,c+=n[o++]<>>=y,u-=y,r.back+=y}if(c>>>=g,u-=g,r.back+=g,64&v){t.msg=\"invalid distance code\",r.mode=30;break}r.offset=A,r.extra=15&v,r.mode=24;case 24:if(r.extra){for(P=r.extra;u>>=r.extra,u-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){t.msg=\"invalid distance too far back\",r.mode=30;break}r.mode=25;case 25:if(0===l)break t;if(d=f-l,r.offset>d){if((d=r.offset-d)>r.whave&&r.sane){t.msg=\"invalid distance too far back\",r.mode=30;break}h=d>r.wnext?(d-=r.wnext,r.wsize-d):r.wnext-d,d>r.length&&(d=r.length),m=r.window}else m=a,h=i-r.offset,d=r.length;for(ld?(m=F[I+i[y]],E[T+i[y]]):(m=96,0),l=1<>C)+(c-=l)]=h<<24|m<<16|g|0,0!==c;);for(l=1<>=1;if(0!==l?(L&=l-1,L+=l):L=0,y++,0==--k[A]){if(A===x)break;A=e[r+i[y]]}if(w>>7)]}function _(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function C(t,e,r){t.bi_valid>a-r?(t.bi_buf|=e<>a-t.bi_valid,t.bi_valid+=r-a):(t.bi_buf|=e<>>=1,r<<=1,0<--e;);return r>>>1}function L(t,e,r){var n,a,o=new Array(g+1),i=0;for(n=1;n<=g;n++)o[n]=i=i+r[n-1]<<1;for(a=0;a<=e;a++){var s=t[2*a+1];0!==s&&(t[2*a]=S(o[s]++,s))}}function E(t){var e;for(e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function T(t){8>1;1<=r;r--)R(t,o,r);for(a=l;r=t.heap[1],t.heap[1]=t.heap[t.heap_len--],R(t,o,1),n=t.heap[1],t.heap[--t.heap_max]=r,t.heap[--t.heap_max]=n,o[2*a]=o[2*r]+o[2*n],t.depth[a]=(t.depth[r]>=t.depth[n]?t.depth[r]:t.depth[n])+1,o[2*r+1]=o[2*n+1]=a,t.heap[1]=a++,R(t,o,1),2<=t.heap_len;);t.heap[--t.heap_max]=t.heap[1],function(t,e){var r,n,a,o,i,s,l=e.dyn_tree,c=e.max_code,u=e.stat_desc.static_tree,p=e.stat_desc.has_stree,f=e.stat_desc.extra_bits,d=e.stat_desc.extra_base,h=e.stat_desc.max_length,m=0;for(o=0;o<=g;o++)t.bl_count[o]=0;for(l[2*t.heap[t.heap_max]+1]=0,r=t.heap_max+1;r<573;r++)h<(o=l[2*l[2*(n=t.heap[r])+1]+1]+1)&&(o=h,m++),l[2*n+1]=o,c>=7;n<30;n++)for(b[n]=a<<7,t=0;t<1<>>=1)if(1&r&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<256;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0}(t)),I(t,t.l_desc),I(t,t.d_desc),i=function(t){var e;for(O(t,t.dyn_ltree,t.l_desc.max_code),O(t,t.dyn_dtree,t.d_desc.max_code),I(t,t.bl_desc),e=18;3<=e&&0===t.bl_tree[2*u[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),a=t.opt_len+3+7>>>3,(o=t.static_len+3+7>>>3)<=a&&(a=o)):a=o=r+5,r+4<=a&&-1!==e?D(t,e,r,n):4===t.strategy||o===a?(C(t,2+(n?1:0),3),F(t,p,f)):(C(t,4+(n?1:0),3),function(t,e,r,n){var a;for(C(t,e-257,5),C(t,r-1,5),C(t,n-4,4),a=0;a>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&r,t.last_lit++,0===e?t.dyn_ltree[2*r]++:(t.matches++,e--,t.dyn_ltree[2*(h[r]+256+1)]++,t.dyn_dtree[2*w(e)]++),t.last_lit===t.lit_bufsize-1},r._tr_align=function(t){var e;C(t,2,3),P(t,256,p),16===(e=t).bi_valid?(_(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):8<=e.bi_valid&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}},{\"../utils/common\":41}],53:[function(t,e,r){\"use strict\";e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg=\"\",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(t,e,r){\"use strict\";e.exports=\"function\"==typeof setImmediate?setImmediate:function(){var t=[].slice.apply(arguments);t.splice(1,0,0),setTimeout.apply(null,t)}},{}]},{},[10])(10)})}).call(this,void 0!==r?r:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,void 0!==r?r:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,void 0!==r?r:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,void 0!==r?r:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}]},{},[1])(1)})}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}]},{},[1])(1)}),function o(i,s,l){function c(e,t){if(!s[e]){if(!i[e]){var r=\"function\"==typeof require&&require;if(!t&&r)return r(e,!0);if(u)return u(e,!0);var n=new Error(\"Cannot find module '\"+e+\"'\");throw n.code=\"MODULE_NOT_FOUND\",n}var a=s[e]={exports:{}};i[e][0].call(a.exports,function(t){return c(i[e][1][t]||t)},a,a.exports,o,i,s,l)}return s[e].exports}for(var u=\"function\"==typeof require&&require,t=0;ti;)o.call(t,n=a[i++])&&e.push(n);return e}},{104:104,107:107,108:108}],62:[function(t,e,r){var m=t(70),g=t(52),v=t(72),A=t(118),y=t(54),b=\"prototype\",x=function(t,e,r){var n,a,o,i,s=t&x.F,l=t&x.G,c=t&x.S,u=t&x.P,p=t&x.B,f=l?m:c?m[e]||(m[e]={}):(m[e]||{})[b],d=l?g:g[e]||(g[e]={}),h=d[b]||(d[b]={});for(n in l&&(r=e),r)o=((a=!s&&f&&void 0!==f[n])?f:r)[n],i=p&&a?y(o,m):u&&\"function\"==typeof o?y(Function.call,o):o,f&&A(f,n,o,t&x.U),d[n]!=o&&v(d,n,i),u&&h[n]!=o&&(h[n]=o)};m.core=g,x.F=1,x.G=2,x.S=4,x.P=8,x.B=16,x.W=32,x.U=64,x.R=128,e.exports=x},{118:118,52:52,54:54,70:70,72:72}],63:[function(t,e,r){var n=t(152)(\"match\");e.exports=function(e){var r=/./;try{\"/./\"[e](r)}catch(t){try{return r[n]=!1,!\"/./\"[e](r)}catch(t){}}return!0}},{152:152}],64:[function(t,e,r){arguments[4][23][0].apply(r,arguments)},{23:23}],65:[function(t,e,r){\"use strict\";t(248);var u=t(118),p=t(72),f=t(64),d=t(57),h=t(152),m=t(120),g=h(\"species\"),v=!f(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:\"7\"},t},\"7\"!==\"\".replace(t,\"$
\")}),A=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r=\"ab\".split(t);return 2===r.length&&\"a\"===r[0]&&\"b\"===r[1]}();e.exports=function(r,t,e){var n=h(r),o=!f(function(){var t={};return t[n]=function(){return 7},7!=\"\"[r](t)}),a=o?!f(function(){var t=!1,e=/a/;return e.exec=function(){return t=!0,null},\"split\"===r&&(e.constructor={},e.constructor[g]=function(){return e}),e[n](\"\"),!t}):void 0;if(!o||!a||\"replace\"===r&&!v||\"split\"===r&&!A){var i=/./[n],s=e(d,n,\"\"[r],function(t,e,r,n,a){return e.exec===m?o&&!a?{done:!0,value:i.call(e,r,n)}:{done:!0,value:t.call(r,e,n)}:{done:!1}}),l=s[0],c=s[1];u(String.prototype,r,l),p(RegExp.prototype,n,2==t?function(t,e){return c.call(t,this,e)}:function(t){return c.call(t,this)})}}},{118:118,120:120,152:152,248:248,57:57,64:64,72:72}],66:[function(t,e,r){\"use strict\";var n=t(38);e.exports=function(){var t=n(this),e=\"\";return t.global&&(e+=\"g\"),t.ignoreCase&&(e+=\"i\"),t.multiline&&(e+=\"m\"),t.unicode&&(e+=\"u\"),t.sticky&&(e+=\"y\"),e}},{38:38}],67:[function(t,e,r){\"use strict\";var h=t(79),m=t(81),g=t(141),v=t(54),A=t(152)(\"isConcatSpreadable\");e.exports=function t(e,r,n,a,o,i,s,l){for(var c,u,p=o,f=0,d=!!s&&v(s,l,3);fdocument.F=Object<\\/script>\"),t.close(),u=t.F;r--;)delete u[c][s[r]];return u()};t.exports=Object.create||function(t,e){var r;return null!==t?(a[c]=o(t),r=new a,a[c]=null,r[l]=t):r=u(),void 0===e?r:i(r,e)}},{100:100,125:125,38:38,59:59,60:60,73:73}],99:[function(t,e,r){arguments[4][29][0].apply(r,arguments)},{143:143,29:29,38:38,58:58,74:74}],100:[function(t,e,r){var i=t(99),s=t(38),l=t(107);e.exports=t(58)?Object.defineProperties:function(t,e){s(t);for(var r,n=l(e),a=n.length,o=0;oa;)i(n,r=e[a++])&&(~l(o,r)||o.push(r));return o}},{125:125,140:140,41:41,71:71}],107:[function(t,e,r){var n=t(106),a=t(60);e.exports=Object.keys||function(t){return n(t,a)}},{106:106,60:60}],108:[function(t,e,r){r.f={}.propertyIsEnumerable},{}],109:[function(t,e,r){var a=t(62),o=t(52),i=t(64);e.exports=function(t,e){var r=(o.Object||{})[t]||Object[t],n={};n[t]=e(r),a(a.S+a.F*i(function(){r(1)}),\"Object\",n)}},{52:52,62:62,64:64}],110:[function(t,e,r){var l=t(58),c=t(107),u=t(140),p=t(108).f;e.exports=function(s){return function(t){for(var e,r=u(t),n=c(r),a=n.length,o=0,i=[];o>>0||(i.test(r)?16:10))}:n},{134:134,135:135,70:70}],114:[function(t,e,r){e.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},{}],115:[function(t,e,r){var n=t(38),a=t(81),o=t(96);e.exports=function(t,e){if(n(t),a(e)&&e.constructor===t)return e;var r=o.f(t);return(0,r.resolve)(e),r.promise}},{38:38,81:81,96:96}],116:[function(t,e,r){arguments[4][30][0].apply(r,arguments)},{30:30}],117:[function(t,e,r){var a=t(118);e.exports=function(t,e,r){for(var n in e)a(t,n,e[n],r);return t}},{118:118}],118:[function(t,e,r){var o=t(70),i=t(72),s=t(71),l=t(147)(\"src\"),n=t(69),a=\"toString\",c=(\"\"+n).split(a);t(52).inspectSource=function(t){return n.call(t)},(e.exports=function(t,e,r,n){var a=\"function\"==typeof r;a&&(s(r,\"name\")||i(r,\"name\",e)),t[e]!==r&&(a&&(s(r,l)||i(r,l,t[e]?\"\"+t[e]:c.join(String(e)))),t===o?t[e]=r:n?t[e]?t[e]=r:i(t,e,r):(delete t[e],i(t,e,r)))})(Function.prototype,a,function(){return\"function\"==typeof this&&this[l]||n.call(this)})},{147:147,52:52,69:69,70:70,71:71,72:72}],119:[function(t,e,r){\"use strict\";var a=t(47),o=RegExp.prototype.exec;e.exports=function(t,e){var r=t.exec;if(\"function\"==typeof r){var n=r.call(t,e);if(\"object\"!=typeof n)throw new TypeError(\"RegExp exec method returned something other than an Object or null\");return n}if(\"RegExp\"!==a(t))throw new TypeError(\"RegExp#exec called on incompatible receiver\");return o.call(t,e)}},{47:47}],120:[function(t,e,r){\"use strict\";var n,a,i=t(66),s=RegExp.prototype.exec,l=String.prototype.replace,o=s,c=\"lastIndex\",u=(n=/a/,a=/b*/g,s.call(n,\"a\"),s.call(a,\"a\"),0!==n[c]||0!==a[c]),p=void 0!==/()??/.exec(\"\")[1];(u||p)&&(o=function(t){var e,r,n,a,o=this;return p&&(r=new RegExp(\"^\"+o.source+\"$(?!\\\\s)\",i.call(o))),u&&(e=o[c]),n=s.call(o,t),u&&n&&(o[c]=o.global?n.index+n[0].length:e),p&&n&&1\"+a+\"\"}var a=t(62),o=t(64),i=t(57),s=/\"/g;e.exports=function(e,t){var r={};r[e]=t(n),a(a.P+a.F*o(function(){var t=\"\"[e]('\"');return t!==t.toLowerCase()||3l&&(c=c.slice(0,l)),n?c+a:a+c}},{133:133,141:141,57:57}],133:[function(t,e,r){\"use strict\";var a=t(139),o=t(57);e.exports=function(t){var e=String(o(this)),r=\"\",n=a(t);if(n<0||n==1/0)throw RangeError(\"Count can't be negative\");for(;0>>=1)&&(e+=e))1&n&&(r+=e);return r}},{139:139,57:57}],134:[function(t,e,r){function n(t,e,r){var n={},a=s(function(){return!!l[t]()||\"​…\"!=\"​…\"[t]()}),o=n[t]=a?e(p):l[t];r&&(n[r]=o),i(i.P+i.F*a,\"String\",n)}var i=t(62),a=t(57),s=t(64),l=t(135),o=\"[\"+l+\"]\",c=RegExp(\"^\"+o+o+\"*\"),u=RegExp(o+o+\"*$\"),p=n.trim=function(t,e){return t=String(a(t)),1&e&&(t=t.replace(c,\"\")),2&e&&(t=t.replace(u,\"\")),t};e.exports=n},{135:135,57:57,62:62,64:64}],135:[function(t,e,r){e.exports=\"\\t\\n\\v\\f\\r   ᠎              \\u2028\\u2029\\ufeff\"},{}],136:[function(t,e,r){function n(){var t=+this;if(y.hasOwnProperty(t)){var e=y[t];delete y[t],e()}}function a(t){n.call(t.data)}var o,i,s,l=t(54),c=t(76),u=t(73),p=t(59),f=t(70),d=f.process,h=f.setImmediate,m=f.clearImmediate,g=f.MessageChannel,v=f.Dispatch,A=0,y={},b=\"onreadystatechange\";h&&m||(h=function(t){for(var e=[],r=1;r>1,u=23===e?T(2,-24)-T(2,-77):0,p=0,f=t<0||0===t&&1/t<0?1:0;for((t=E(t))!=t||t===S?(a=t!=t?1:0,n=l):(n=k(R(t)/F),t*(o=T(2,-n))<1&&(n--,o*=2),2<=(t+=1<=n+c?u/o:u*T(2,1-c))*o&&(n++,o/=2),l<=n+c?(a=0,n=l):1<=n+c?(a=(t*o-1)*T(2,e),n+=c):(a=t*T(2,c-1)*T(2,e),n=0));8<=e;i[p++]=255&a,a/=256,e-=8);for(n=n<>1,s=a-7,l=r-1,c=t[l--],u=127&c;for(c>>=7;0>=-s,s+=e;0>8&255]}function W(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function H(t){return M(t,52,8)}function V(t){return M(t,23,4)}function Q(t,e,r){m(t[b],e,{get:function(){return this[r]}})}function Y(t,e,r,n){var a=d(+r);if(a+e>t[N])throw P(x);var o=t[B]._b,i=a+t[D],s=o.slice(i,i+e);return n?s:s.reverse()}function q(t,e,r,n,a,o){var i=d(+r);if(i+e>t[N])throw P(x);for(var s=t[B]._b,l=i+t[D],c=n(+a),u=0;uJ;)(Z=K[J++])in w||s(w,Z,L[Z]);o||(X.constructor=w)}var $=new _(new w(2)),tt=_[b].setInt8;$.setInt8(0,2147483648),$.setInt8(1,2147483649),!$.getInt8(0)&&$.getInt8(1)||l(_[b],{setInt8:function(t,e){tt.call(this,t,e<<24>>24)},setUint8:function(t,e){tt.call(this,t,e<<24>>24)}},!0)}else w=function(t){u(this,w,A);var e=d(t);this._b=g.call(new Array(e),0),this[N]=e},_=function(t,e,r){u(this,_,y),u(t,w,y);var n=t[N],a=p(e);if(a<0||n>24},getUint8:function(t){return Y(this,1,t)[0]},getInt16:function(t,e){var r=Y(this,2,t,e);return(r[1]<<8|r[0])<<16>>16},getUint16:function(t,e){var r=Y(this,2,t,e);return r[1]<<8|r[0]},getInt32:function(t,e){return U(Y(this,4,t,e))},getUint32:function(t,e){return U(Y(this,4,t,e))>>>0},getFloat32:function(t,e){return z(Y(this,4,t,e),23,4)},getFloat64:function(t,e){return z(Y(this,8,t,e),52,8)},setInt8:function(t,e){q(this,1,t,j,e)},setUint8:function(t,e){q(this,1,t,j,e)},setInt16:function(t,e,r){q(this,2,t,G,e,r)},setUint16:function(t,e,r){q(this,2,t,G,e,r)},setInt32:function(t,e,r){q(this,4,t,W,e,r)},setUint32:function(t,e,r){q(this,4,t,W,e,r)},setFloat32:function(t,e,r){q(this,4,t,V,e,r)},setFloat64:function(t,e,r){q(this,8,t,H,e,r)}});v(w,A),v(_,y),s(_[b],i.VIEW,!0),r[A]=w,r[y]=_},{103:103,117:117,124:124,138:138,139:139,141:141,146:146,37:37,40:40,58:58,64:64,70:70,72:72,89:89,99:99}],146:[function(t,e,r){for(var n,a=t(70),o=t(72),i=t(147),s=i(\"typed_array\"),l=i(\"view\"),c=!(!a.ArrayBuffer||!a.DataView),u=c,p=0,f=\"Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array\".split(\",\");p<9;)(n=a[f[p++]])?(o(n.prototype,s,!0),o(n.prototype,l,!0)):u=!1;e.exports={ABV:c,CONSTR:u,TYPED:s,VIEW:l}},{147:147,70:70,72:72}],147:[function(t,e,r){var n=0,a=Math.random();e.exports=function(t){return\"Symbol(\".concat(void 0===t?\"\":t,\")_\",(++n+a).toString(36))}},{}],148:[function(t,e,r){var n=t(70).navigator;e.exports=n&&n.userAgent||\"\"},{70:70}],149:[function(t,e,r){var n=t(81);e.exports=function(t,e){if(!n(t)||t._t!==e)throw TypeError(\"Incompatible receiver, \"+e+\" required!\");return t}},{81:81}],150:[function(t,e,r){var n=t(70),a=t(52),o=t(89),i=t(151),s=t(99).f;e.exports=function(t){var e=a.Symbol||(a.Symbol=o?{}:n.Symbol||{});\"_\"==t.charAt(0)||t in e||s(e,t,{value:i.f(t)})}},{151:151,52:52,70:70,89:89,99:99}],151:[function(t,e,r){r.f=t(152)},{152:152}],152:[function(t,e,r){var n=t(126)(\"wks\"),a=t(147),o=t(70).Symbol,i=\"function\"==typeof o;(e.exports=function(t){return n[t]||(n[t]=i&&o[t]||(i?o:a)(\"Symbol.\"+t))}).store=n},{126:126,147:147,70:70}],153:[function(t,e,r){var n=t(47),a=t(152)(\"iterator\"),o=t(88);e.exports=t(52).getIteratorMethod=function(t){if(null!=t)return t[a]||t[\"@@iterator\"]||o[n(t)]}},{152:152,47:47,52:52,88:88}],154:[function(t,e,r){var n=t(62);n(n.P,\"Array\",{copyWithin:t(39)}),t(35)(\"copyWithin\")},{35:35,39:39,62:62}],155:[function(t,e,r){\"use strict\";var n=t(62),a=t(42)(4);n(n.P+n.F*!t(128)([].every,!0),\"Array\",{every:function(t,e){return a(this,t,e)}})},{128:128,42:42,62:62}],156:[function(t,e,r){var n=t(62);n(n.P,\"Array\",{fill:t(40)}),t(35)(\"fill\")},{35:35,40:40,62:62}],157:[function(t,e,r){\"use strict\";var n=t(62),a=t(42)(2);n(n.P+n.F*!t(128)([].filter,!0),\"Array\",{filter:function(t,e){return a(this,t,e)}})},{128:128,42:42,62:62}],158:[function(t,e,r){\"use strict\";var n=t(62),a=t(42)(6),o=\"findIndex\",i=!0;o in[]&&Array(1)[o](function(){i=!1}),n(n.P+n.F*i,\"Array\",{findIndex:function(t,e){return a(this,t,1=t.length?(this._t=void 0,a(1)):a(0,\"keys\"==e?r:\"values\"==e?t[r]:[r,t[r]])},\"values\"),o.Arguments=o.Array,n(\"keys\"),n(\"values\"),n(\"entries\")},{140:140,35:35,85:85,87:87,88:88}],165:[function(t,e,r){\"use strict\";var n=t(62),a=t(140),o=[].join;n(n.P+n.F*(t(77)!=Object||!t(128)(o)),\"Array\",{join:function(t){return o.call(a(this),void 0===t?\",\":t)}})},{128:128,140:140,62:62,77:77}],166:[function(t,e,r){\"use strict\";var n=t(62),o=t(140),i=t(139),s=t(141),l=[].lastIndexOf,c=!!l&&1/[1].lastIndexOf(1,-0)<0;n(n.P+n.F*(c||!t(128)(l)),\"Array\",{lastIndexOf:function(t,e){if(c)return l.apply(this,arguments)||0;var r=o(this),n=s(r.length),a=n-1;for(1>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},{62:62}],189:[function(t,e,r){var n=t(62),a=Math.exp;n(n.S,\"Math\",{cosh:function(t){return(a(t=+t)+a(-t))/2}})},{62:62}],190:[function(t,e,r){var n=t(62),a=t(90);n(n.S+n.F*(a!=Math.expm1),\"Math\",{expm1:a})},{62:62,90:90}],191:[function(t,e,r){var n=t(62);n(n.S,\"Math\",{fround:t(91)})},{62:62,91:91}],192:[function(t,e,r){var n=t(62),l=Math.abs;n(n.S,\"Math\",{hypot:function(t,e){for(var r,n,a=0,o=0,i=arguments.length,s=0;o>>16)*o+a*(65535&n>>>16)<<16>>>0)}})},{62:62,64:64}],194:[function(t,e,r){var n=t(62);n(n.S,\"Math\",{log10:function(t){return Math.log(t)*Math.LOG10E}})},{62:62}],195:[function(t,e,r){var n=t(62);n(n.S,\"Math\",{log1p:t(92)})},{62:62,92:92}],196:[function(t,e,r){var n=t(62);n(n.S,\"Math\",{log2:function(t){return Math.log(t)/Math.LN2}})},{62:62}],197:[function(t,e,r){var n=t(62);n(n.S,\"Math\",{sign:t(93)})},{62:62,93:93}],198:[function(t,e,r){var n=t(62),a=t(90),o=Math.exp;n(n.S+n.F*t(64)(function(){return-2e-17!=!Math.sinh(-2e-17)}),\"Math\",{sinh:function(t){return Math.abs(t=+t)<1?(a(t)-a(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},{62:62,64:64,90:90}],199:[function(t,e,r){var n=t(62),a=t(90),o=Math.exp;n(n.S,\"Math\",{tanh:function(t){var e=a(t=+t),r=a(-t);return e==1/0?1:r==1/0?-1:(e-r)/(o(t)+o(-t))}})},{62:62,90:90}],200:[function(t,e,r){var n=t(62);n(n.S,\"Math\",{trunc:function(t){return(0w;w++)o(g,b=x[w])&&!o(m,b)&&f(m,b,p(g,b));(m.prototype=v).constructor=m,t(118)(a,h,m)}},{101:101,103:103,118:118,134:134,143:143,48:48,58:58,64:64,70:70,71:71,75:75,98:98,99:99}],202:[function(t,e,r){var n=t(62);n(n.S,\"Number\",{EPSILON:Math.pow(2,-52)})},{62:62}],203:[function(t,e,r){var n=t(62),a=t(70).isFinite;n(n.S,\"Number\",{isFinite:function(t){return\"number\"==typeof t&&a(t)}})},{62:62,70:70}],204:[function(t,e,r){var n=t(62);n(n.S,\"Number\",{isInteger:t(80)})},{62:62,80:80}],205:[function(t,e,r){var n=t(62);n(n.S,\"Number\",{isNaN:function(t){return t!=t}})},{62:62}],206:[function(t,e,r){var n=t(62),a=t(80),o=Math.abs;n(n.S,\"Number\",{isSafeInteger:function(t){return a(t)&&o(t)<=9007199254740991}})},{62:62,80:80}],207:[function(t,e,r){var n=t(62);n(n.S,\"Number\",{MAX_SAFE_INTEGER:9007199254740991})},{62:62}],208:[function(t,e,r){var n=t(62);n(n.S,\"Number\",{MIN_SAFE_INTEGER:-9007199254740991})},{62:62}],209:[function(t,e,r){var n=t(62),a=t(112);n(n.S+n.F*(Number.parseFloat!=a),\"Number\",{parseFloat:a})},{112:112,62:62}],210:[function(t,e,r){var n=t(62),a=t(113);n(n.S+n.F*(Number.parseInt!=a),\"Number\",{parseInt:a})},{113:113,62:62}],211:[function(t,e,r){\"use strict\";function c(t,e){for(var r=-1,n=e;++r<6;)n+=t*i[r],i[r]=n%1e7,n=o(n/1e7)}function u(t){for(var e=6,r=0;0<=--e;)r+=i[e],i[e]=o(r/t),r=r%t*1e7}function p(){for(var t=6,e=\"\";0<=--t;)if(\"\"!==e||0===t||0!==i[t]){var r=String(i[t]);e=\"\"===e?r:e+h.call(\"0\",7-r.length)+r}return e}var n=t(62),f=t(139),d=t(34),h=t(133),a=1..toFixed,o=Math.floor,i=[0,0,0,0,0,0],m=\"Number.toFixed: incorrect invocation!\",g=function(t,e,r){return 0===e?r:e%2==1?g(t,e-1,r*t):g(t*t,e/2,r)};n(n.P+n.F*(!!a&&(\"0.000\"!==8e-5.toFixed(3)||\"1\"!==.9.toFixed(0)||\"1.25\"!==1.255.toFixed(2)||\"1000000000000000128\"!==(0xde0b6b3a7640080).toFixed(0))||!t(64)(function(){a.call({})})),\"Number\",{toFixed:function(t){var e,r,n,a,o=d(this,m),i=f(t),s=\"\",l=\"0\";if(i<0||20t;)e(n[t++]);u._c=[],u._n=!1,r&&!u._h&&N(u)})}}function o(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),a(e,!0))}var i,s,l,c,u=r(89),f=r(70),d=r(54),h=r(47),m=r(62),g=r(81),v=r(33),A=r(37),y=r(68),b=r(127),x=r(136).set,w=r(95)(),_=r(96),C=r(114),P=r(148),S=r(115),L=\"Promise\",E=f.TypeError,T=f.process,k=T&&T.versions,R=k&&k.v8||\"\",F=f[L],I=\"process\"==h(T),O=s=_.f,B=!!function(){try{var t=F.resolve(1),e=(t.constructor={})[r(152)(\"species\")]=function(t){t(n,n)};return(I||\"function\"==typeof PromiseRejectionEvent)&&t.then(n)instanceof e&&0!==R.indexOf(\"6.6\")&&-1===P.indexOf(\"Chrome/66\")}catch(t){}}(),N=function(o){x.call(f,function(){var t,e,r,n=o._v,a=D(o);if(a&&(t=C(function(){I?T.emit(\"unhandledRejection\",n,o):(e=f.onunhandledrejection)?e({promise:o,reason:n}):(r=f.console)&&r.error&&r.error(\"Unhandled promise rejection\",n)}),o._h=I||D(o)?2:1),o._a=void 0,a&&t.e)throw t.v})},D=function(t){return 1!==t._h&&0===(t._a||t._c).length},M=function(e){x.call(f,function(){var t;I?T.emit(\"rejectionHandled\",e):(t=f.onrejectionhandled)&&t({promise:e,reason:e._v})})},z=function(t){var r,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw E(\"Promise can't be resolved itself\");(r=p(t))?w(function(){var e={_w:n,_d:!1};try{r.call(t,d(z,e,1),d(o,e,1))}catch(t){o.call(e,t)}}):(n._v=t,n._s=1,a(n,!1))}catch(t){o.call({_w:n,_d:!1},t)}}};B||(F=function(t){A(this,F,L,\"_h\"),v(t),i.call(this);try{t(d(z,this,1),d(o,this,1))}catch(t){o.call(this,t)}},(i=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=r(117)(F.prototype,{then:function(t,e){var r=O(b(this,F));return r.ok=\"function\"!=typeof t||t,r.fail=\"function\"==typeof e&&e,r.domain=I?T.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&a(this,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),l=function(){var t=new i;this.promise=t,this.resolve=d(z,t,1),this.reject=d(o,t,1)},_.f=O=function(t){return t===F||t===c?new l(t):s(t)}),m(m.G+m.W+m.F*!B,{Promise:F}),r(124)(F,L),r(123)(L),c=r(52)[L],m(m.S+m.F*!B,L,{reject:function(t){var e=O(this);return(0,e.reject)(t),e.promise}}),m(m.S+m.F*(u||!B),L,{resolve:function(t){return S(u&&this===c?F:this,t)}}),m(m.S+m.F*!(B&&r(86)(function(t){F.all(t).catch(n)})),L,{all:function(t){var i=this,e=O(i),s=e.resolve,l=e.reject,r=C(function(){var n=[],a=0,o=1;y(t,!1,function(t){var e=a++,r=!1;n.push(void 0),o++,i.resolve(t).then(function(t){r||(r=!0,n[e]=t,--o||s(n))},l)}),--o||s(n)});return r.e&&l(r.v),e.promise},race:function(t){var e=this,r=O(e),n=r.reject,a=C(function(){y(t,!1,function(t){e.resolve(t).then(r.resolve,n)})});return a.e&&n(a.v),r.promise}})},{114:114,115:115,117:117,123:123,124:124,127:127,136:136,148:148,152:152,33:33,37:37,47:47,52:52,54:54,62:62,68:68,70:70,81:81,86:86,89:89,95:95,96:96}],233:[function(t,e,r){var n=t(62),o=t(33),i=t(38),s=(t(70).Reflect||{}).apply,l=Function.apply;n(n.S+n.F*!t(64)(function(){s(function(){})}),\"Reflect\",{apply:function(t,e,r){var n=o(t),a=i(r);return s?s(n,e,a):l.call(n,e,a)}})},{33:33,38:38,62:62,64:64,70:70}],234:[function(t,e,r){var n=t(62),l=t(98),c=t(33),u=t(38),p=t(81),a=t(64),f=t(46),d=(t(70).Reflect||{}).construct,h=a(function(){function t(){}return!(d(function(){},[],t)instanceof t)}),m=!a(function(){d(function(){})});n(n.S+n.F*(h||m),\"Reflect\",{construct:function(t,e,r){c(t),u(e);var n=arguments.length<3?t:c(r);if(m&&!h)return d(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var a=[null];return a.push.apply(a,e),new(f.apply(t,a))}var o=n.prototype,i=l(p(o)?o:Object.prototype),s=Function.apply.call(t,i,e);return p(s)?s:i}})},{33:33,38:38,46:46,62:62,64:64,70:70,81:81,98:98}],235:[function(t,e,r){var n=t(99),a=t(62),o=t(38),i=t(143);a(a.S+a.F*t(64)(function(){Reflect.defineProperty(n.f({},1,{value:1}),1,{value:2})}),\"Reflect\",{defineProperty:function(t,e,r){o(t),e=i(e,!0),o(r);try{return n.f(t,e,r),!0}catch(t){return!1}}})},{143:143,38:38,62:62,64:64,99:99}],236:[function(t,e,r){var n=t(62),a=t(101).f,o=t(38);n(n.S,\"Reflect\",{deleteProperty:function(t,e){var r=a(o(t),e);return!(r&&!r.configurable)&&delete t[e]}})},{101:101,38:38,62:62}],237:[function(t,e,r){\"use strict\";function n(t){this._t=o(t),this._i=0;var e,r=this._k=[];for(e in t)r.push(e)}var a=t(62),o=t(38);t(84)(n,\"Object\",function(){var t,e=this._k;do{if(this._i>=e.length)return{value:void 0,done:!0}}while(!((t=e[this._i++])in this._t));return{value:t,done:!1}}),a(a.S,\"Reflect\",{enumerate:function(t){return new n(t)}})},{38:38,62:62,84:84}],238:[function(t,e,r){var n=t(101),a=t(62),o=t(38);a(a.S,\"Reflect\",{getOwnPropertyDescriptor:function(t,e){return n.f(o(t),e)}})},{101:101,38:38,62:62}],239:[function(t,e,r){var n=t(62),a=t(105),o=t(38);n(n.S,\"Reflect\",{getPrototypeOf:function(t){return a(o(t))}})},{105:105,38:38,62:62}],240:[function(t,e,r){var s=t(101),l=t(105),c=t(71),n=t(62),u=t(81),p=t(38);n(n.S,\"Reflect\",{get:function t(e,r,n){var a,o,i=arguments.length<3?e:n;return p(e)===i?e[r]:(a=s.f(e,r))?c(a,\"value\")?a.value:void 0!==a.get?a.get.call(i):void 0:u(o=l(e))?t(o,r,i):void 0}})},{101:101,105:105,38:38,62:62,71:71,81:81}],241:[function(t,e,r){var n=t(62);n(n.S,\"Reflect\",{has:function(t,e){return e in t}})},{62:62}],242:[function(t,e,r){var n=t(62),a=t(38),o=Object.isExtensible;n(n.S,\"Reflect\",{isExtensible:function(t){return a(t),!o||o(t)}})},{38:38,62:62}],243:[function(t,e,r){var n=t(62);n(n.S,\"Reflect\",{ownKeys:t(111)})},{111:111,62:62}],244:[function(t,e,r){var n=t(62),a=t(38),o=Object.preventExtensions;n(n.S,\"Reflect\",{preventExtensions:function(t){a(t);try{return o&&o(t),!0}catch(t){return!1}}})},{38:38,62:62}],245:[function(t,e,r){var n=t(62),a=t(122);a&&n(n.S,\"Reflect\",{setPrototypeOf:function(t,e){a.check(t,e);try{return a.set(t,e),!0}catch(t){return!1}}})},{122:122,62:62}],246:[function(t,e,r){var c=t(99),u=t(101),p=t(105),f=t(71),n=t(62),d=t(116),h=t(38),m=t(81);n(n.S,\"Reflect\",{set:function t(e,r,n,a){var o,i,s=arguments.length<4?e:a,l=u.f(h(e),r);if(!l){if(m(i=p(e)))return t(i,r,n,s);l=d(0)}if(f(l,\"value\")){if(!1===l.writable||!m(s))return!1;if(o=u.f(s,r)){if(o.get||o.set||!1===o.writable)return!1;o.value=n,c.f(s,r,o)}else c.f(s,r,d(0,n));return!0}return void 0!==l.set&&(l.set.call(s,n),!0)}})},{101:101,105:105,116:116,38:38,62:62,71:71,81:81,99:99}],247:[function(t,e,r){var n=t(70),o=t(75),a=t(99).f,i=t(103).f,s=t(82),l=t(66),c=n.RegExp,u=c,p=c.prototype,f=/a/g,d=/a/g,h=new c(f)!==f;if(t(58)&&(!h||t(64)(function(){return d[t(152)(\"match\")]=!1,c(f)!=f||c(d)==d||\"/a/i\"!=c(f,\"i\")}))){function m(e){e in c||a(c,e,{configurable:!0,get:function(){return u[e]},set:function(t){u[e]=t}})}c=function(t,e){var r=this instanceof c,n=s(t),a=void 0===e;return!r&&n&&t.constructor===c&&a?t:o(h?new u(n&&!a?t.source:t,e):u((n=t instanceof c)?t.source:t,n&&a?l.call(t):e),r?this:p,c)};for(var g=i(u),v=0;g.length>v;)m(g[v++]);(p.constructor=c).prototype=p,t(118)(n,\"RegExp\",c)}t(123)(\"RegExp\")},{103:103,118:118,123:123,152:152,58:58,64:64,66:66,70:70,75:75,82:82,99:99}],248:[function(t,e,r){\"use strict\";var n=t(120);t(62)({target:\"RegExp\",proto:!0,forced:n!==/./.exec},{exec:n})},{120:120,62:62}],249:[function(t,e,r){t(58)&&\"g\"!=/./g.flags&&t(99).f(RegExp.prototype,\"flags\",{configurable:!0,get:t(66)})},{58:58,66:66,99:99}],250:[function(t,e,r){\"use strict\";var p=t(38),f=t(141),d=t(36),h=t(119);t(65)(\"match\",1,function(n,a,c,u){return[function(t){var e=n(this),r=null==t?void 0:t[a];return void 0!==r?r.call(t,e):new RegExp(t)[a](String(e))},function(t){var e=u(c,t,this);if(e.done)return e.value;var r=p(t),n=String(this);if(!r.global)return h(r,n);for(var a,o=r.unicode,i=[],s=r.lastIndex=0;null!==(a=h(r,n));){var l=String(a[0]);\"\"===(i[s]=l)&&(r.lastIndex=d(n,f(r.lastIndex),o)),s++}return 0===s?null:i}]})},{119:119,141:141,36:36,38:38,65:65}],251:[function(t,e,r){\"use strict\";var C=t(38),n=t(142),P=t(141),S=t(139),L=t(36),E=t(119),T=Math.max,k=Math.min,f=Math.floor,d=/\\$([$&`']|\\d\\d?|<[^>]*>)/g,h=/\\$([$&`']|\\d\\d?)/g;t(65)(\"replace\",2,function(a,o,x,w){return[function(t,e){var r=a(this),n=null==t?void 0:t[o];return void 0!==n?n.call(t,r,e):x.call(String(r),t,e)},function(t,e){var r=w(x,t,this,e);if(r.done)return r.value;var n=C(t),a=String(this),o=\"function\"==typeof e;o||(e=String(e));var i=n.global;if(i){var s=n.unicode;n.lastIndex=0}for(var l=[];;){var c=E(n,a);if(null===c)break;if(l.push(c),!i)break;\"\"===String(c[0])&&(n.lastIndex=L(a,P(n.lastIndex),s))}for(var u,p=\"\",f=0,d=0;d>>0,u=new RegExp(t.source,s+\"g\");(n=f.call(u,r))&&!(l<(a=u[m])&&(i.push(r.slice(l,n.index)),1=c));)u[m]===n.index&&u[m]++;return l===r[h]?!o&&u.test(\"\")||i.push(\"\"):i.push(r.slice(l)),i[h]>c?i.slice(0,c):i}:\"0\"[i](void 0,0)[h]?function(t,e){return void 0===t&&0===e?[]:g.call(this,t,e)}:g,[function(t,e){var r=a(this),n=null==t?void 0:t[o];return void 0!==n?n.call(t,r,e):A.call(String(r),t,e)},function(t,e){var r=v(A,t,this,e,A!==g);if(r.done)return r.value;var n=y(t),a=String(this),o=b(n,RegExp),i=n.unicode,s=(n.ignoreCase?\"i\":\"\")+(n.multiline?\"m\":\"\")+(n.unicode?\"u\":\"\")+(S?\"y\":\"g\"),l=new o(S?n:\"^(?:\"+n.source+\")\",s),c=void 0===e?P:e>>>0;if(0==c)return[];if(0===a.length)return null===_(l,a)?[a]:[];for(var u=0,p=0,f=[];p>10),e%1024+56320))}return r.join(\"\")}})},{137:137,62:62}],266:[function(t,e,r){\"use strict\";var n=t(62),a=t(130);n(n.P+n.F*t(63)(\"includes\"),\"String\",{includes:function(t,e){return!!~a(this,t,\"includes\").indexOf(t,1=e.length?{value:void 0,done:!0}:(t=n(e,r),this._i+=t.length,{value:t,done:!1})})},{129:129,85:85}],269:[function(t,e,r){\"use strict\";t(131)(\"link\",function(e){return function(t){return e(this,\"a\",\"href\",t)}})},{131:131}],270:[function(t,e,r){var n=t(62),i=t(140),s=t(141);n(n.S,\"String\",{raw:function(t){for(var e=i(t.raw),r=s(e.length),n=arguments.length,a=[],o=0;oa;)u(Y,e=r[a++])||e==W||e==h||n.push(e);return n}function l(t){for(var e,r=t===Z,n=M(r?q:L(t)),a=[],o=0;n.length>o;)!u(Y,e=n[o++])||r&&!u(Z,e)||a.push(Y[e]);return a}var c=t(70),u=t(71),p=t(58),f=t(62),d=t(118),h=t(94).KEY,m=t(64),g=t(126),v=t(124),A=t(147),y=t(152),b=t(151),x=t(150),w=t(61),_=t(79),C=t(38),P=t(81),S=t(142),L=t(140),E=t(143),T=t(116),k=t(98),R=t(102),F=t(101),I=t(104),O=t(99),B=t(107),N=F.f,D=O.f,M=R.f,z=c.Symbol,U=c.JSON,j=U&&U.stringify,G=\"prototype\",W=y(\"_hidden\"),H=y(\"toPrimitive\"),V={}.propertyIsEnumerable,Q=g(\"symbol-registry\"),Y=g(\"symbols\"),q=g(\"op-symbols\"),Z=Object[G],X=\"function\"==typeof z&&!!I.f,K=c.QObject,J=!K||!K[G]||!K[G].findChild,$=p&&m(function(){return 7!=k(D({},\"a\",{get:function(){return D(this,\"a\",{value:7}).a}})).a})?function(t,e,r){var n=N(Z,e);n&&delete Z[e],D(t,e,r),n&&t!==Z&&D(Z,e,n)}:D,tt=X&&\"symbol\"==typeof z.iterator?function(t){return\"symbol\"==typeof t}:function(t){return t instanceof z},et=function(t,e,r){return t===Z&&et(q,e,r),C(t),e=E(e,!0),C(r),u(Y,e)?(r.enumerable?(u(t,W)&&t[W][e]&&(t[W][e]=!1),r=k(r,{enumerable:T(0,!1)})):(u(t,W)||D(t,W,T(1,{})),t[W][e]=!0),$(t,e,r)):D(t,e,r)};X||(d((z=function(t){if(this instanceof z)throw TypeError(\"Symbol is not a constructor!\");var e=A(0nt;)y(rt[nt++]);for(var at=B(y.store),ot=0;at.length>ot;)x(at[ot++]);f(f.S+f.F*!X,\"Symbol\",{for:function(t){return u(Q,t+=\"\")?Q[t]:Q[t]=z(t)},keyFor:function(t){if(!tt(t))throw TypeError(t+\" is not a symbol!\");for(var e in Q)if(Q[e]===t)return e},useSetter:function(){J=!0},useSimple:function(){J=!1}}),f(f.S+f.F*!X,\"Object\",{create:function(t,e){return void 0===e?k(t):a(k(t),e)},defineProperty:et,defineProperties:a,getOwnPropertyDescriptor:i,getOwnPropertyNames:s,getOwnPropertySymbols:l});var it=m(function(){I.f(1)});f(f.S+f.F*it,\"Object\",{getOwnPropertySymbols:function(t){return I.f(S(t))}}),U&&f(f.S+f.F*(!X||m(function(){var t=z();return\"[null]\"!=j([t])||\"{}\"!=j({a:t})||\"{}\"!=j(Object(t))})),\"JSON\",{stringify:function(t){for(var e,r,n=[t],a=1;as;)void 0!==(r=a(n,e=o[s++]))&&p(i,e,r);return i}})},{101:101,111:111,140:140,53:53,62:62}],296:[function(t,e,r){var n=t(62),a=t(110)(!1);n(n.S,\"Object\",{values:function(t){return a(t)}})},{110:110,62:62}],297:[function(t,e,r){\"use strict\";var n=t(62),a=t(52),o=t(70),i=t(127),s=t(115);n(n.P+n.R,\"Promise\",{finally:function(e){var r=i(this,a.Promise||o.Promise),t=\"function\"==typeof e;return this.then(t?function(t){return s(r,e()).then(function(){return t})}:e,t?function(t){return s(r,e()).then(function(){throw t})}:e)}})},{115:115,127:127,52:52,62:62,70:70}],298:[function(t,e,r){\"use strict\";var n=t(62),a=t(132),o=t(148),i=/Version\\/10\\.\\d+(\\.\\d+)?( Mobile\\/\\w+)? Safari\\//.test(o);n(n.P+n.F*i,\"String\",{padEnd:function(t,e){return a(this,t,1/g,\">\").replace(/\"/g,\""\").replace(/'/g,\"'\")}function vt(t){return\"number\"==typeof t&&100\"+e+\"\":\"\"}function _t(t){var e=\"solid\",r=\"\",n=\"\",a=\"\";if(t)switch(\"string\"==typeof t?r=t:(t.type&&(e=t.type),t.color&&(r=t.color),t.alpha&&(n+=''),t.transparency&&(n+='')),e){case\"solid\":a+=\"\"+wt(r,n)+\"\";break;default:a+=\"\"}return a}function Ct(t){return t._rels.length+t._relsChart.length+t._relsMedia.length+1}function Pt(l,c,u,t){void 0===l&&(l=[]),void 0===c&&(c={});var e,p=P,f=0,d=1*B,r=0,h=[{rows:[]}];if(c.verbose&&(console.log(\"-- VERBOSE MODE ----------------------------------\"),console.log(\".. (PARAMETERS)\"),console.log(\"presLayout.height ......... = \"+u.height/B),console.log(\"tabOpts.h ................. = \"+c.h),console.log(\"tabOpts.w ................. = \"+c.w),console.log(\"tabOpts.colW .............. = \"+c.colW),console.log(\"tabOpts.slideMargin ....... = \"+(c.slideMargin||\"\")),console.log(\".. (/PARAMETERS)\")),c.slideMargin||0===c.slideMargin||(c.slideMargin=P[0]),t&&void 0!==t._margin?Array.isArray(t._margin)?p=t._margin:isNaN(Number(t._margin))||(p=[Number(t._margin),Number(t._margin),Number(t._margin),Number(t._margin)]):!c.slideMargin&&0!==c.slideMargin||(Array.isArray(c.slideMargin)?p=c.slideMargin:isNaN(c.slideMargin)||(p=[c.slideMargin,c.slideMargin,c.slideMargin,c.slideMargin])),c.verbose&&console.log(\"arrInchMargins ......... = \"+p.toString()),(l[0]||[]).forEach(function(t){var e=(t=t||{_type:at.tablecell}).options||null;r+=Number(e&&e.colspan?e.colspan:1)}),c.verbose&&console.log(\"numCols ................ = \"+r),!c.w&&c.colW&&(Array.isArray(c.colW)?c.colW.forEach(function(t){\"number\"!=typeof c.w?c.w=0+t:c.w+=t}):c.w=c.colW*r),e=\"number\"==typeof c.w?vt(c.w):u.width-vt((\"number\"==typeof c.x?c.x:p[1])+p[3]),c.verbose&&console.log(\"emuSlideTabW (in) ...... = \"+(e/B).toFixed(1)),!c.colW||!Array.isArray(c.colW))if(c.colW&&!isNaN(Number(c.colW))){var n=[];(l[0]||[]).forEach(function(){return n.push(c.colW)}),c.colW=[],n.forEach(function(t){Array.isArray(c.colW)&&c.colW.push(t)})}else{c.colW=[];for(var a=0;ae?e=At(t.options.margin[0]):c.margin&&c.margin[0]&&At(c.margin[0])>e&&(e=At(c.margin[0])),t.options.margin&&t.options.margin[2]&&At(t.options.margin[2])>r?r=At(t.options.margin[2]):c.margin&&c.margin[2]&&At(c.margin[2])>r&&(r=At(c.margin[2]))}),d=c.h&&\"number\"==typeof c.h?c.h:u.height-vt(p[0]+p[2])-(c.y&&\"number\"==typeof c.y?c.y:0),c.verbose&&console.log(\"emuSlideTabH (in) ...... = \"+(d/B).toFixed(1)),1 \"+d/B),h.push({rows:[]}),f=0,(c.addHeaderToEach||c.autoPageRepeatHeader)&&c._arrObjTabHeadRows){var e=[];i.forEach(function(t){e.push({type:at.tablecell,text:t._lines.join(\"\"),options:t.options})}),l.unshift(e);var r=[];return c._arrObjTabHeadRows.forEach(function(t){var e=[];t.forEach(function(t){return e.push(t)}),r.push(e)}),l=O(O([],r),l),\"break\"}var t=h[h.length-1],n=[];a.forEach(function(t){n.push({type:at.tablecell,text:\"\",options:t.options})}),t.rows.push(n)}i.forEach(function(t,e){if(0o&&(o=t._lineHeight)}}),f+=o,c.verbose&&console.log(\"- SLIDE [\"+h.length+\"]: ROW [\"+m+\"]: one line added ... emuTabCurrH = \"+(f/B).toFixed(2))};0'},contain:function(t,e){var r=t.h/t.w,n=r'},crop:function(t,e){var r=e.x,n=t.w-(e.x+e.w),a=e.y,o=t.h-(e.y+e.h);return''}};function Lt(R){var F=R._name?'':\"\",I=1;return R._bkgdImgRid?F+='':R.background&&R.background.color?F+=\"\"+_t(R.background)+\"\":!R.bkgd&&R._name&&R._name===n&&(F+=''),F+=\"\",F+='',F+='',F+='',R._slideObjects.forEach(function(n,t){var e,r,a=0,o=0,i=dt(\"75%\",\"X\",R._presLayout),s=0,l=\"\";switch(void 0!==R._slideLayout&&void 0!==R._slideLayout._slideObjects&&n.options&&n.options.placeholder&&(r=R._slideLayout._slideObjects.filter(function(t){return t.options.placeholder===n.options.placeholder})[0]),n.options=n.options||{},void 0!==n.options.x&&(a=dt(n.options.x,\"X\",R._presLayout)),void 0!==n.options.y&&(o=dt(n.options.y,\"Y\",R._presLayout)),void 0!==n.options.w&&(i=dt(n.options.w,\"X\",R._presLayout)),void 0!==n.options.h&&(s=dt(n.options.h,\"Y\",R._presLayout)),r&&(!r.options.x&&0!==r.options.x||(a=dt(r.options.x,\"X\",R._presLayout)),!r.options.y&&0!==r.options.y||(o=dt(r.options.y,\"Y\",R._presLayout)),!r.options.w&&0!==r.options.w||(i=dt(r.options.w,\"X\",R._presLayout)),!r.options.h&&0!==r.options.h||(s=dt(r.options.h,\"Y\",R._presLayout))),n.options.flipH&&(l+=' flipH=\"1\"'),n.options.flipV&&(l+=' flipV=\"1\"'),n.options.rotate&&(l+=' rot=\"'+yt(n.options.rotate)+'\"'),n._type){case at.table:var c,u=n.arrTabRows,f=n.options,p=0,d=0;u[0].forEach(function(t){c=t.options||null,p+=c&&c.colspan?Number(c.colspan):1});var h='';if(h+=' ',h+='',h+='',Array.isArray(f.colW)){h+=\"\";for(var m=0;m'}h+=\"\"}else{d=f.colW?f.colW:B,n.options.w&&!f.colW&&(d=Math.round((\"number\"==typeof n.options.w?n.options.w:1)/p)),h+=\"\";for(var v=0;v';h+=\"\"}u.forEach(function(o){for(var i,s,l,t=function(t){var e=o[t],r=null===(i=e.options)||void 0===i?void 0:i.colspan,n=null===(s=e.options)||void 0===s?void 0:s.rowspan;if(r&&1',t.forEach(function(t){var e,r,n=t,a={rowSpan:1<(null===(e=n.options)||void 0===e?void 0:e.rowspan)?n.options.rowspan:void 0,gridSpan:1<(null===(r=n.options)||void 0===r?void 0:r.colspan)?n.options.colspan:void 0,vMerge:n._vmerge?1:void 0,hMerge:n._hmerge?1:void 0},o=Object.keys(a).map(function(t){return[t,a[t]]}).filter(function(t){return t[0],!!t[1]}).map(function(t){return t[0]+'=\"'+t[1]+'\"'}).join(\" \");if(o=o&&\" \"+o,n._hmerge||n._vmerge)h+=\"\";else{var i=n.options||{};n.options=i,[\"align\",\"bold\",\"border\",\"color\",\"fill\",\"fontFace\",\"fontSize\",\"margin\",\"underline\",\"valign\"].forEach(function(t){f[t]&&!i[t]&&0!==i[t]&&(i[t]=f[t])});var s=i.valign?' anchor=\"'+i.valign.replace(/^c$/i,\"ctr\").replace(/^m$/i,\"ctr\").replace(\"center\",\"ctr\").replace(\"middle\",\"ctr\").replace(\"top\",\"t\").replace(\"btm\",\"b\").replace(\"bottom\",\"b\")+'\"':\"\",l=n._optImp&&n._optImp.fill&&n._optImp.fill.color?n._optImp.fill.color:n._optImp&&n._optImp.fill&&\"string\"==typeof n._optImp.fill?n._optImp.fill:\"\",c=(l=l||i.fill&&i.fill.color?i.fill.color:i.fill&&\"string\"==typeof i.fill?i.fill:\"\")?\"\"+wt(l)+\"\":\"\",u=0===i.margin||i.margin?i.margin:N;Array.isArray(u)||\"number\"!=typeof u||(u=[u,u,u,u]);var p=' marL=\"'+At(u[3])+'\" marR=\"'+At(u[1])+'\" marT=\"'+At(u[0])+'\" marB=\"'+At(u[2])+'\"';h+=\"\"+Rt(n)+\"\",i.border&&Array.isArray(i.border)&&[{idx:3,name:\"lnL\"},{idx:1,name:\"lnR\"},{idx:0,name:\"lnT\"},{idx:2,name:\"lnB\"}].forEach(function(t){\"none\"!==i.border[t.idx].type?(h+=\"',h+=\"\"+wt(i.border[t.idx].color)+\"\",h+='',h+=\"\"):h+=\"\"}),h+=c,h+=\" \",h+=\" \"}}),h+=\"\"}),h+=\" \",h+=\" \",h+=\" \",F+=h+=\"\",I++;break;case at.text:case at.placeholder:var A=n.options.shapeName?gt(n.options.shapeName):\"Object\"+(t+1);if(n.options.line||0!==s||(s=.3*B),n.options._bodyProp||(n.options._bodyProp={}),n.options.margin&&Array.isArray(n.options.margin)?(n.options._bodyProp.lIns=At(n.options.margin[0]||0),n.options._bodyProp.rIns=At(n.options.margin[1]||0),n.options._bodyProp.bIns=At(n.options.margin[2]||0),n.options._bodyProp.tIns=At(n.options.margin[3]||0)):\"number\"==typeof n.options.margin&&(n.options._bodyProp.lIns=At(n.options.margin),n.options._bodyProp.rIns=At(n.options.margin),n.options._bodyProp.bIns=At(n.options.margin),n.options._bodyProp.tIns=At(n.options.margin)),F+=\"\",F+='',n.options.hyperlink&&n.options.hyperlink.url&&(F+=''),n.options.hyperlink&&n.options.hyperlink.slide&&(F+=''),F+=\"\",F+=\"':\"/>\"),F+=\"\"+(\"placeholder\"===n._type?Ft(n):Ft(r))+\"\",F+=\"\",F+=\"\",F+='',F+='',\"custGeom\"===n.shape)F+=\"\",F+=\"\",F+=\"\",F+=\"\",F+=\"\",F+=\"\",F+='',F+=\"\",F+='',null===(e=n.options.points)||void 0===e||e.map(function(t,e){if(\"curve\"in t)switch(t.curve.type){case\"arc\":F+='';break;case\"cubic\":F+='\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t';break;case\"quadratic\":F+='\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t'}else\"close\"in t?F+=\"\":t.moveTo||0===e?F+='':F+=''}),F+=\"\",F+=\"\",F+=\"\";else{if(F+='',n.options.rectRadius)F+='';else if(n.options.angleRange){for(var y=0;y<2;y++){var b=n.options.angleRange[y];F+=''}n.options.arcThicknessRatio&&(F+='')}F+=\"\"}F+=n.options.fill?_t(n.options.fill):\"\",n.options.line&&(F+=n.options.line.width?'':\"\",n.options.line.color&&(F+=_t(n.options.line)),n.options.line.dashType&&(F+=''),n.options.line.beginArrowType&&(F+=''),n.options.line.endArrowType&&(F+=''),F+=\"\"),n.options.shadow&&(n.options.shadow.type=n.options.shadow.type||\"outer\",n.options.shadow.blur=At(n.options.shadow.blur||8),n.options.shadow.offset=At(n.options.shadow.offset||4),n.options.shadow.angle=Math.round(6e4*(n.options.shadow.angle||270)),n.options.shadow.opacity=Math.round(1e5*(n.options.shadow.opacity||.75)),n.options.shadow.color=n.options.shadow.color||D.color,F+=\"\",F+=\"',F+='',F+='',F+=\"\",F+=\"\"),F+=\"\",F+=Rt(n),F+=\"\";break;case at.image:var x=n.options,w=x.sizing,_=x.rounding,C=i,P=s;if(F+=\"\",F+=\" \",F+='',n.hyperlink&&n.hyperlink.url&&(F+=''),n.hyperlink&&n.hyperlink.slide&&(F+=''),F+=\" \",F+=' ',F+=\" \"+Ft(r)+\"\",F+=\" \",F+=\"\",(R._relsMedia||[]).filter(function(t){return t.rId===n.imageRid})[0]&&\"svg\"===(R._relsMedia||[]).filter(function(t){return t.rId===n.imageRid})[0].extn?(F+='',F+=\" \",F+=' ',F+=' ',F+=\" \",F+=\" \",F+=\"\"):F+='',w&&w.type){var S=w.w?dt(w.w,\"X\",R._presLayout):i,L=w.h?dt(w.h,\"Y\",R._presLayout):s,E=dt(w.x||0,\"X\",R._presLayout),T=dt(w.y||0,\"Y\",R._presLayout);F+=St[w.type]({w:C,h:P},{w:S,h:L,x:E,y:T}),C=S,P=L}else F+=\" \";F+=\"\",F+=\"\",F+=\" \",F+=' ',F+=' ',F+=\" \",F+=' ',F+=\"\",F+=\"\";break;case at.media:\"online\"===n.mtype?(F+=\"\",F+=\" \",F+=' ',F+=\" \",F+=\" \",F+=' ',F+=\" \",F+=\" \",F+=' '):(F+=\"\",F+=\" \",F+=' ',F+=' ',F+=\" \",F+=' ',F+=\" \",F+=' ',F+=' ',F+=\" \",F+=\" \",F+=\" \",F+=\" \",F+=' '),F+=\" \",F+=\" \",F+=' ',F+=' ',F+=\" \",F+=' ',F+=\" \",F+=\"\";break;case at.chart:var k=n.options;F+=\"\",F+=\" \",F+=' ',F+=\" \",F+=\" \"+Ft(r)+\"\",F+=\" \",F+=' ',F+=' ',F+=' ',F+=' ',F+=\" \",F+=\" \",F+=\"\";break;default:F+=\"\"}}),R._slideNumberProps&&(R._slideNumberProps.align||(R._slideNumberProps.align=\"left\"),F+=' ',F+=\"\",F+=\"\",F+=\" \",(R._slideNumberProps.fontFace||R._slideNumberProps.fontSize||R._slideNumberProps.color)&&(F+='',R._slideNumberProps.color&&(F+=_t(R._slideNumberProps.color)),R._slideNumberProps.fontFace&&(F+=''),F+=\"\"),F+=\"\",F+='',R._slideNumberProps.align.startsWith(\"l\")?F+='':R._slideNumberProps.align.startsWith(\"c\")?F+='':R._slideNumberProps.align.startsWith(\"r\")?F+='':F+='',F+='',F+=\"\"),F+=\"\",F+=\"\"}function Et(t,e){var r=0,n=''+v+'';return t._rels.forEach(function(t){r=Math.max(r,t.rId),-1':n+='':-1')}),(t._relsChart||[]).forEach(function(t){r=Math.max(r,t.rId),n+=''}),(t._relsMedia||[]).forEach(function(t){r=Math.max(r,t.rId),-1':-1':n+='':-1':n+='':-1':n+='')}),e.forEach(function(t,e){n+=''}),n+=\"\"}function Tt(t,e){var r=\"\",n=\"\",a=\"\",o=\"\",i=e?\"a:lvl1pPr\":\"a:pPr\",s=At(u),l=\"<\"+i+(t.options.rtlMode?' rtl=\"1\" ':\"\");if(t.options.align)switch(t.options.align){case\"left\":l+=' algn=\"l\"';break;case\"right\":l+=' algn=\"r\"';break;case\"center\":l+=' algn=\"ctr\"';break;case\"justify\":l+=' algn=\"just\"';break;default:l+=\"\"}if(t.options.lineSpacing?n='':t.options.lineSpacingMultiple&&(n=''),t.options.indentLevel&&!isNaN(Number(t.options.indentLevel))&&0'),t.options.paraSpaceAfter&&!isNaN(Number(t.options.paraSpaceAfter))&&0'),\"object\"==typeof t.options.bullet)if(t&&t.options&&t.options.bullet&&t.options.bullet.indent&&(s=At(t.options.bullet.indent)),t.options.bullet.type)\"number\"===t.options.bullet.type.toString().toLowerCase()&&(l+=' marL=\"'+(t.options.indentLevel&&0');else if(t.options.bullet.characterCode){var c=\"&#x\"+t.options.bullet.characterCode+\";\";!1===/^[0-9A-Fa-f]{4}$/.test(t.options.bullet.characterCode)&&(console.warn(\"Warning: `bullet.characterCode should be a 4-digit unicode charatcer (ex: 22AB)`!\"),c=lt.DEFAULT),l+=' marL=\"'+(t.options.indentLevel&&0'}else if(t.options.bullet.code){c=\"&#x\"+t.options.bullet.code+\";\";!1===/^[0-9A-Fa-f]{4}$/.test(t.options.bullet.code)&&(console.warn(\"Warning: `bullet.code should be a 4-digit hex code (ex: 22AB)`!\"),c=lt.DEFAULT),l+=' marL=\"'+(t.options.indentLevel&&0'}else l+=' marL=\"'+(t.options.indentLevel&&0';else!0===t.options.bullet?(l+=' marL=\"'+(t.options.indentLevel&&0'):!1===t.options.bullet&&(l+=' indent=\"0\" marL=\"0\"',r=\"\");t.options.tabStops&&Array.isArray(t.options.tabStops)&&(o=\"\"+t.options.tabStops.map(function(t){return''}).join(\"\")+\"\");return l+=\">\"+n+a+r+o,e&&(l+=kt(t.options,!0)),l+=\"\"}function kt(t,e){var r,n=\"\",a=e?\"a:defRPr\":\"a:rPr\";if(n+=\"<\"+a+' lang=\"'+(t.lang?t.lang:\"en-US\")+'\"'+(t.lang?' altLang=\"en-US\"':\"\"),n+=t.fontSize?' sz=\"'+Math.round(t.fontSize)+'00\"':\"\",n+=t.hasOwnProperty(\"bold\")?' b=\"'+(t.bold?1:0)+'\"':\"\",n+=t.hasOwnProperty(\"italic\")?' i=\"'+(t.italic?1:0)+'\"':\"\",n+=t.hasOwnProperty(\"strike\")?' strike=\"'+(\"string\"==typeof t.strike?t.strike:\"sngStrike\")+'\"':\"\",\"object\"==typeof t.underline&&(null===(r=t.underline)||void 0===r?void 0:r.style)?n+=' u=\"'+t.underline.style+'\"':\"string\"==typeof t.underline?n+=' u=\"'+t.underline+'\"':t.hyperlink&&(n+=' u=\"sng\"'),t.baseline?n+=' baseline=\"'+Math.round(50*t.baseline)+'\"':t.subscript?n+=' baseline=\"-40000\"':t.superscript&&(n+=' baseline=\"30000\"'),n+=t.charSpacing?' spc=\"'+Math.round(100*t.charSpacing)+'\" kern=\"0\"':\"\",n+=' dirty=\"0\">',(t.color||t.fontFace||t.outline||\"object\"==typeof t.underline&&t.underline.color)&&(t.outline&&\"object\"==typeof t.outline&&(n+=''+_t(t.outline.color||\"FFFFFF\")+\"\"),t.color&&(n+=_t(t.color)),t.highlight&&(n+=\"\"+wt(t.highlight)+\"\"),\"object\"==typeof t.underline&&t.underline.color&&(n+=\"\"+_t(t.underline.color)+\"\"),t.glow&&(n+=\"\"+function(t,e){var r=\"\",n=mt(e,t);return r+='',r+=wt(n.color,''),r+=\"\"}(t.glow,S)+\"\"),t.fontFace&&(n+='')),t.hyperlink){if(\"object\"!=typeof t.hyperlink)throw new Error(\"ERROR: text `hyperlink` option should be an object. Ex: `hyperlink:{url:'https://github.com'}` \");if(!t.hyperlink.url&&!t.hyperlink.slide)throw new Error(\"ERROR: 'hyperlink requires either `url` or `slide`'\");t.hyperlink.url?n+='\":\"/>\"):t.hyperlink.slide&&(n+='\":\"/>\")),t.color&&(n+=\"\\t\",n+='\\t\\t',n+='\\t\\t\\t',n+=\"\\t\\t\",n+=\"\\t\",n+=\"\")}return n+=\"\"}function Rt(n){var a=n.options||{},t=[],r=[];if(a&&n._type!==at.tablecell&&(void 0===n.text||null===n.text))return\"\";var o=n._type===at.tablecell?\"\":\"\";o+=function(t){var e=\"\",t.options.fit&&(\"none\"===t.options.fit?e+=\"\":\"shrink\"===t.options.fit?e+=\"\":\"resize\"===t.options.fit&&(e+=\"\")),t.options.shrinkText&&(e+=\"\"),e+=!1!==t.options._bodyProp.autoFit?\"\":\"\"):e+=' wrap=\"square\" rtlCol=\"0\">',e+=\"\",t._type===at.tablecell?\"\":e}(n),0===a.h&&a.line&&a.align?o+='':\"placeholder\"===n._type?o+=\"\"+Tt(n,!0)+\"\":o+=\"\",\"string\"==typeof n.text||\"number\"==typeof n.text?t.push({text:n.text.toString(),options:a||{}}):n.text&&!Array.isArray(n.text)&&\"object\"==typeof n.text&&-1\";var r=\"\"),n.options.align=n.options.align||a.align,n.options.lineSpacing=n.options.lineSpacing||a.lineSpacing,n.options.lineSpacingMultiple=n.options.lineSpacingMultiple||a.lineSpacingMultiple,n.options.indentLevel=n.options.indentLevel||a.indentLevel,n.options.paraSpaceBefore=n.options.paraSpaceBefore||a.paraSpaceBefore,n.options.paraSpaceAfter=n.options.paraSpaceAfter||a.paraSpaceAfter,r=Tt(n,!1),o+=r,Object.entries(a).forEach(function(t){var e=t[0],r=t[1];n.options.hyperlink&&\"color\"===e||\"bullet\"===e||n.options[e]||(n.options[e]=r)}),o+=function(t){return t.text?\"\"+kt(t.options,!1)+\"\"+gt(t.text)+\"\":\"\"}(n),(!n.text&&a.fontSize||n.options.fontSize)&&(e=!0,a.fontSize=a.fontSize||n.options.fontSize)}),n._type===at.tablecell&&(a.fontSize||a.fontFace)?a.fontFace?(o+='',o+='',o+='',o+='',o+=\"\"):o+='':o+=e?'':'',o+=\"\"}),o+=n._type===at.tablecell?\"\":\"\"}function Ft(t){if(!t)return\"\";var e=t.options&&t.options._placeholderIdx?t.options._placeholderIdx:\"\",r=t.options&&t.options._placeholderType?t.options._placeholderType:\"\";return\"\"}function It(t){return''+v+''+gt(function(t){var e=\"\";return t._slideObjects.forEach(function(t){t._type===at.notes&&(e+=t.text&&t.text[0]?t.text[0].text:\"\")}),e.replace(/\\r*\\n/g,v)}(t))+''+t._slideNum+''}function Ot(t){t&&\"object\"==typeof t&&(\"outer\"!==t.type&&\"inner\"!==t.type&&\"none\"!==t.type&&(console.warn(\"Warning: shadow.type options are `outer`, `inner` or `none`.\"),t.type=\"outer\"),t.angle&&((isNaN(Number(t.angle))||t.angle<0||359 \\n'),t.file(\"_rels/.rels\",'\\n'),t.file(\"docProps/app.xml\",'Microsoft Excel0falseWorksheets1Sheet1\\n'),t.file(\"docProps/core.xml\",'PptxGenJSEly, Brent'+(new Date).toISOString()+''+(new Date).toISOString()+\"\\n\"),t.file(\"xl/_rels/workbook.xml.rels\",'\\n'),t.file(\"xl/styles.xml\",'\\n'),t.file(\"xl/theme/theme1.xml\",''),t.file(\"xl/workbook.xml\",'\\n'),t.file(\"xl/worksheets/_rels/sheet1.xml.rels\",'\\n');var n='';u.opts._type===J.BUBBLE?n+='':u.opts._type===J.SCATTER?n+='':(n+='',n+=''),u.opts._type===J.BUBBLE?f.forEach(function(t,e){0===e?n+=\"X-Axis\":(n+=\"\"+gt(t.name||\" \")+\"\",n+=\"\"+gt(\"Size \"+e)+\"\")}):f.forEach(function(t){n+=\"\"+gt((t.name||\" \").replace(\"X-Axis\",\"X-Values\"))+\"\"}),u.opts._type!==J.BUBBLE&&u.opts._type!==J.SCATTER&&f[0].labels.forEach(function(t){n+=\"\"+gt(t)+\"\"}),n+=\"\\n\",t.file(\"xl/sharedStrings.xml\",n);var o='';u.opts._type===J.BUBBLE||(u.opts._type===J.SCATTER?(o+='',o+='',f.forEach(function(t,e){o+=''})):(o+='
',o+='',o+='',f.forEach(function(t,e){o+=''}))),o+=\"\",o+='',o+=\"
\",t.file(\"xl/tables/table1.xml\",o);var i='';if(i+='',u.opts._type===J.BUBBLE?i+='':u.opts._type===J.SCATTER?i+='':i+='',i+='',i+='',u.opts._type===J.BUBBLE){i+=\"\",i+='',i+=\"\",i+=\"\",i+='',i+='0';for(var s=1;s',i+=\"\"+s+\"\",i+=\"\";i+=\"\",f[0].values.forEach(function(t,e){i+='',i+=''+t+\"\";for(var r=1,n=1;n',i+=\"\"+(f[n].values[e]||\"\")+\"\",i+=\"\",i+='',i+=\"\"+(f[n].sizes[e]||\"\")+\"\",i+=\"\",r++;i+=\"\"})}else if(u.opts._type===J.SCATTER){i+=\"\",i+='',i+=\"\",i+=\"\",i+='',i+='0';for(var l=1;l',i+=\"\"+l+\"\",i+=\"\";i+=\"\",f[0].values.forEach(function(t,e){i+='',i+=''+t+\"\";for(var r=1;r',i+=\"\"+(f[r].values[e]||0===f[r].values[e]?f[r].values[e]:\"\")+\"\",i+=\"\";i+=\"\"})}else{i+=\"\",i+='',i+=\"\",i+=\"\",i+='',i+='0';for(var c=1;c<=f.length;c++)i+='',i+=\"\"+c+\"\",i+=\"\";i+=\"\",f[0].labels.forEach(function(t,e){i+='',i+='',i+=\"\"+(f.length+e+1)+\"\",i+=\"\";for(var r=0;r',i+=\"\"+(f[r].values[e]||\"\")+\"\",i+=\"\";i+=\"\"})}i+=\"\",i+='',i+=\"\\n\",t.file(\"xl/worksheets/sheet1.xml\",i),t.generateAsync({type:\"base64\"}).then(function(t){p.file(\"ppt/embeddings/Microsoft_Excel_Worksheet\"+u.globalId+\".xlsx\",t,{base64:!0}),p.file(\"ppt/charts/_rels/\"+u.fileName+\".rels\",''),p.file(\"ppt/charts/\"+u.fileName,function(a){var o='',i=!1;o+='',o+='',o+=\"\",a.opts.showTitle?(o+=qt({title:a.opts.title||\"Chart Title\",color:a.opts.titleColor,fontFace:a.opts.titleFontFace,fontSize:a.opts.titleFontSize||w,titleAlign:a.opts.titleAlign,titleBold:a.opts.titleBold,titlePos:a.opts.titlePos,titleRotate:a.opts.titleRotate}),o+=''):o+='';a.opts._type===J.BAR3D&&(o+=\"\",o+=' ',o+=' ',o+=' ',o+=' ',o+=\"\");o+=\"\",a.opts.layout?(o+=\"\",o+=\" \",o+=' ',o+=' ',o+=' ',o+=' ',o+=' ',o+=' ',o+=' ',o+=\" \",o+=\"\"):o+=\"\";Array.isArray(a.opts._type)?a.opts._type.forEach(function(t){var e=mt(a.opts,t.options),r=e.secondaryValAxis?E:L,n=e.secondaryCatAxis?k:T;i=i||e.secondaryValAxis,o+=Vt(t.type,t.data,e,r,n)}):o+=Vt(a.opts._type,a.data,a.opts,L,T);if(a.opts._type!==J.PIE&&a.opts._type!==J.DOUGHNUT){if(a.opts.valAxes&&1\",n+=' ',n+=' ',n+=' ',n+=' ',n+=\"none\"!==e.serGridLine.style?Kt(e.serGridLine):\"\",e.showSerAxisTitle&&(n+=qt({color:e.serAxisTitleColor,fontFace:e.serAxisTitleFontFace,fontSize:e.serAxisTitleFontSize,titleRotate:e.serAxisTitleRotate,title:e.serAxisTitle||\"Axis Title\"}));n+=' ',n+=' ',n+=' ',n+=' ',n+=\" \",n+=' ',n+=!1===e.serAxisLineShow?\"\":\"\"+wt(e.serAxisLineColor||y.color)+\"\",n+=' ',n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=' ',n+=\" \"+wt(e.serAxisLabelColor||b)+\"\",n+=' ',n+=\" \",n+=\" \",n+=' ',n+=\" \",n+=\" \",n+=' ',n+=' ',e.serAxisLabelFrequency&&(n+=' ');e.serLabelFormatCode&&([\"serAxisBaseTimeUnit\",\"serAxisMajorTimeUnit\",\"serAxisMinorTimeUnit\"].forEach(function(t){!e[t]||\"string\"==typeof e[t]&&-1!==[\"days\",\"months\",\"years\"].indexOf(t.toLowerCase())||(console.warn(\"`\"+t+\"` must be one of: 'days','months','years' !\"),e[t]=null)}),e.serAxisBaseTimeUnit&&(n+=' '),e.serAxisMajorTimeUnit&&(n+=' '),e.serAxisMinorTimeUnit&&(n+=' '),e.serAxisMajorUnit&&(n+=' '),e.serAxisMinorUnit&&(n+=' '));return n+=\"\"}(a.opts,R,L)))}a.opts.showDataTable&&(o+=\"\",o+=' ',o+=' ',o+=' ',o+=' ',o+=\" \",o+=\" \",o+=' ',o+=\" \",o+=\" \",o+=\" \",o+='\\t ',o+=\"\\t \",o+=\"\\t \",o+='\\t\\t',o+=' ',o+='\\t\\t\\t',o+='\\t\\t\\t',o+='\\t\\t\\t',o+='\\t\\t\\t',o+=\"\\t\\t \",o+=\"\\t\\t\",o+='\\t\\t',o+=\"\\t \",o+=\"\\t\",o+=\"\");o+=\" \",o+=a.opts.fill?_t(a.opts.fill):\"\",o+=a.opts.border?''+_t(a.opts.border.color)+\"\":\"\",o+=\" \",o+=\" \",o+=\"\",a.opts.showLegend&&(o+=\"\",o+='',o+='',(a.opts.legendFontFace||a.opts.legendFontSize||a.opts.legendColor)&&(o+=\"\",o+=\" \",o+=\" \",o+=\" \",o+=\" \",o+=a.opts.legendFontSize?'':\"\",a.opts.legendColor&&(o+=_t(a.opts.legendColor)),a.opts.legendFontFace&&(o+=''),a.opts.legendFontFace&&(o+=''),o+=\" \",o+=\" \",o+=' ',o+=\" \",o+=\"\"),o+=\"\");o+=' ',o+=' ',a.opts._type===J.SCATTER&&(o+='');return o+=\"\",o+=\"\",o+=\" \",o+=' ',o+=\" \",o+=\"\",o+='',o+=\"\"}(u)),e(null)}).catch(function(t){r(t)})})}function Vt(n,a,o,t,e){var i=\"\";switch(n){case J.AREA:case J.BAR:case J.BAR3D:case J.LINE:case J.RADAR:i+=\"\",n===J.AREA&&\"stacked\"===o.barGrouping&&(i+=''),n!==J.BAR&&n!==J.BAR3D||(i+='',i+=''),n===J.RADAR&&(i+=''),i+='';var s=-1;a.forEach(function(t){s++;var e=t.index;i+=\"\",i+=' ',i+=' ',i+=\" \",i+=\" \",i+=\" Sheet1!$\"+Zt(e+1)+\"$1\",i+=' '+gt(t.name)+\"\",i+=\" \",i+=\" \",i+=' ';var r=o.chartColors?o.chartColors[s%o.chartColors.length]:null;i+=\" \",\"transparent\"===r?i+=\"\":o.chartColorsOpacity?i+=\"\"+wt(r,'')+\"\":i+=\"\"+wt(r)+\"\",n===J.LINE?0===o.lineSize?i+=\"\":(i+=''+wt(r)+\"\",i+=''):o.dataBorder&&(i+=''+wt(o.dataBorder.color)+''),i+=Xt(o.shadow,C),i+=\" \",n!==J.RADAR&&(i+=\" \",i+=' ',o.dataLabelBkgrdColors&&(i+=\" \",i+=\" \"+wt(r)+\"\",i+=\" \"),i+=\" \",i+=\" \",i+=\" \",i+=\" \",i+=' ',i+=\" \"+wt(o.dataLabelColor||b)+\"\",i+=' ',i+=\" \",i+=\" \",i+=\" \",o.dataLabelPosition&&(i+=' '),i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=\" \"),n!==J.LINE&&n!==J.RADAR||(i+=\"\",i+=' ',o.lineDataSymbolSize&&(i+=' '),i+=\" \",i+=\" \"+wt(o.chartColors[e+1>o.chartColors.length?Math.floor(Math.random()*o.chartColors.length):e])+\"\",i+=' '+wt(o.lineDataSymbolLineColor||r)+'',i+=\" \",i+=\" \",i+=\"\"),(n===J.BAR||n===J.BAR3D)&&1===a.length&&o.chartColors!==I&&1\",i+=' ',i+=' ',i+=' ',i+=\" \",0===o.lineSize?i+=\"\":n===J.BAR?(i+=\"\",i+=' ',i+=\"\"):(i+=\"\",i+=\" \",i+=' ',i+=\" \",i+=\"\"),i+=Xt(o.shadow,C),i+=\" \",i+=\" \"}),i+=\"\",o.catLabelFormatCode?(i+=\" \",i+=\" Sheet1!$A$2:$A$\"+(t.labels.length+1)+\"\",i+=\" \",i+=\" \"+(o.catLabelFormatCode||\"General\")+\"\",i+=' ',t.labels.forEach(function(t,e){i+=''+gt(t)+\"\"}),i+=\" \",i+=\" \"):(i+=\" \",i+=\" Sheet1!$A$2:$A$\"+(t.labels.length+1)+\"\",i+=\" \",i+='\\t ',t.labels.forEach(function(t,e){i+=''+gt(t)+\"\"}),i+=\" \",i+=\" \"),i+=\"\",i+=\"\",i+=\" \",i+=\" Sheet1!$\"+Zt(e+1)+\"$2:$\"+Zt(e+1)+\"$\"+(t.labels.length+1)+\"\",i+=\" \",i+=\" \"+(o.valLabelFormatCode||o.dataTableFormatCode||\"General\")+\"\",i+=' ',t.values.forEach(function(t,e){i+=''+(t||0===t?t:\"\")+\"\"}),i+=\" \",i+=\" \",i+=\"\",n===J.LINE&&(i+=''),i+=\"\"}),i+=\" \",i+=' ',i+=\" \",i+=\" \",i+=\" \",i+=\" \",i+=' ',i+=\" \"+wt(o.dataLabelColor||b)+\"\",i+=' ',i+=\" \",i+=\" \",i+=\" \",o.dataLabelPosition&&(i+=' '),i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=\" \",n===J.BAR?(i+=' ',i+=' '):n===J.BAR3D?(i+=' ',i+=' ',i+=' '):n===J.LINE&&(i+=' '),i+=' ',i+=' ',i+=' ',i+=\"\";break;case J.SCATTER:i+=\"\",i+='',i+='',s=-1,a.filter(function(t,e){return 0\",i+=' ',i+=' ',i+=\" \",i+=\" \",i+=\" Sheet1!$\"+F[t+1]+\"$1\",i+=' '+r.name+\"\",i+=\" \",i+=\" \",i+=\" \";var e=o.chartColors[s%o.chartColors.length];if(\"transparent\"===e?i+=\"\":o.chartColorsOpacity?i+=\"\"+wt(e,'')+\"\":i+=\"\"+wt(e)+\"\",0===o.lineSize?i+=\"\":(i+=''+wt(e)+\"\",i+=''),i+=Xt(o.shadow,C),i+=\" \",i+=\"\",i+=' ',o.lineDataSymbolSize&&(i+=' '),i+=\" \",i+=\" \"+wt(o.chartColors[t+1>o.chartColors.length?Math.floor(Math.random()*o.chartColors.length):t])+\"\",i+=' '+wt(o.lineDataSymbolLineColor||o.chartColors[s%o.chartColors.length])+'',i+=\" \",i+=\" \",i+=\"\",o.showLabel){var n=ht(\"-xxxx-xxxx-xxxx-xxxxxxxxxxxx\");!r.labels||\"custom\"!==o.dataLabelFormatScatter&&\"customXY\"!==o.dataLabelFormatScatter||(i+=\"\",r.labels.forEach(function(t,e){\"custom\"!==o.dataLabelFormatScatter&&\"customXY\"!==o.dataLabelFormatScatter||(i+=\" \",i+=' ',i+=\" \",i+=\" \",i+=\"\\t\\t\\t\",i+=\"\\t\\t\\t\\t\",i+=\"\\t\\t\\t\",i+=\" \\t\",i+=\" \\t\",i+=\"\\t\\t\\t\\t\",i+=\"\\t\\t\\t\\t\\t\",i+=\"\\t\\t\\t\\t\",i+=\" \\t\",i+=' \\t\\t',i+=\" \\t\\t\"+gt(t)+\"\",i+=\" \\t\",\"customXY\"!==o.dataLabelFormatScatter||/^ *$/.test(t)||(i+=\" \\t\",i+=' \\t\\t',i+=\" \\t\\t (\",i+=\" \\t\",i+=' \\t',i+=' \\t\\t',i+=\" \\t\\t\",i+=\" \\t\\t\\t\",i+=\" \\t\\t\",i+=\" \\t\\t[\"+gt(r.name)+\"\",i+=\" \\t\",i+=\" \\t\",i+=' \\t\\t',i+=\" \\t\\t, \",i+=\" \\t\",i+=' \\t',i+=' \\t\\t',i+=\" \\t\\t\",i+=\" \\t\\t\\t\",i+=\" \\t\\t\",i+=\" \\t\\t[\"+gt(r.name)+\"]\",i+=\" \\t\",i+=\" \\t\",i+=' \\t\\t',i+=\" \\t\\t)\",i+=\" \\t\",i+=' \\t'),i+=\" \\t\",i+=\" \",i+=\" \",i+=\" \",i+=\" \\t\",i+=\" \\t\",i+=\" \\t\\t\",i+=\" \\t\",i+=\" \\t\",i+=\" \",o.dataLabelPosition&&(i+=' '),i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+='\\t ',i+=\" \",i+=' ',i+=' ',i+='\\t\\t\\t',i+=\" \",i+=\"\\t\\t\",i+=\"\")}),i+=\"\"),\"XY\"===o.dataLabelFormatScatter&&(i+=\"\",i+=\"\\t\",i+=\"\\t\\t\",i+=\"\\t\\t\",i+=\"\\t\\t\\t\",i+=\"\\t\\t\",i+=\"\\t \\t\",i+=\"\\t\",i+=\"\\t\",i+=\"\\t\\t\",i+=\"\\t\\t\\t\",i+=\"\\t\\t\",i+=\"\\t\\t\",i+=\"\\t\\t\",i+=\"\\t \\t\",i+=\" \\t\\t\",i+=\"\\t \\t\",i+='\\t \\t',i+=\"\\t\\t\",i+=\"\\t\",o.dataLabelPosition&&(i+=' '),i+='\\t',i+=' ',i+=' ',i+='\\t',i+='\\t',i+='\\t',i+=\"\\t\",i+='\\t\\t',i+='\\t\\t\\t',i+=\"\\t\\t\",i+=\"\\t\",i+=\"\")}1===a.length&&o.chartColors!==I&&r.values.forEach(function(t,e){var r=t<0?o.invertedColors||o.chartColors||I:o.chartColors||[];i+=\" \",i+=' ',i+=' ',i+=' ',i+=\" \",0===o.lineSize?i+=\"\":(i+=\"\",i+=' ',i+=\"\"),i+=Xt(o.shadow,C),i+=\" \",i+=\" \"}),i+=\"\",i+=\" \",i+=\" Sheet1!$A$2:$A$\"+(a[0].values.length+1)+\"\",i+=\" \",i+=\" General\",i+=' ',a[0].values.forEach(function(t,e){i+=''+(t||0===t?t:\"\")+\"\"}),i+=\" \",i+=\" \",i+=\"\",i+=\"\",i+=\" \",i+=\" Sheet1!$\"+Zt(t+1)+\"$2:$\"+Zt(t+1)+\"$\"+(a[0].values.length+1)+\"\",i+=\" \",i+=\" General\",i+=' ',a[0].values.forEach(function(t,e){i+=''+(r.values[e]||0===r.values[e]?r.values[e]:\"\")+\"\"}),i+=\" \",i+=\" \",i+=\"\",i+='',i+=\"\"}),i+=\" \",i+=' ',i+=\" \",i+=\" \",i+=\" \",i+=\" \",i+=' ',i+=\" \"+wt(o.dataLabelColor||b)+\"\",i+=' ',i+=\" \",i+=\" \",i+=\" \",o.dataLabelPosition&&(i+=' '),i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=\" \",i+=' ',i+=' ',i+=\"\";break;case J.BUBBLE:i+=\"\",i+='',s=-1;var l=1;a.filter(function(t,e){return 0\",i+=' ',i+=' ',i+=\" \",i+=\" \",i+=\" Sheet1!$\"+F[l]+\"$1\",i+=' '+r.name+\"\",i+=\" \",i+=\" \",i+=\"\";var e=o.chartColors[s%o.chartColors.length];\"transparent\"===e?i+=\"\":o.chartColorsOpacity?i+=\"\"+wt(e,'')+\"\":i+=\"\"+wt(e)+\"\",0===o.lineSize?i+=\"\":o.dataBorder?i+=''+wt(o.dataBorder.color)+'':(i+=''+wt(e)+\"\",i+=''),i+=Xt(o.shadow,C),i+=\"\",i+=\"\",i+=\" \",i+=\" Sheet1!$A$2:$A$\"+(a[0].values.length+1)+\"\",i+=\" \",i+=\" General\",i+=' ',a[0].values.forEach(function(t,e){i+=''+(t||0===t?t:\"\")+\"\"}),i+=\" \",i+=\" \",i+=\"\",i+=\"\",i+=\" \",i+=\" Sheet1!$\"+Zt(l)+\"$2:$\"+Zt(l)+\"$\"+(a[0].values.length+1)+\"\",l++,i+=\" \",i+=\" General\",i+=' ',a[0].values.forEach(function(t,e){i+=''+(r.values[e]||0===r.values[e]?r.values[e]:\"\")+\"\"}),i+=\" \",i+=\" \",i+=\"\",i+=\" \",i+=\" \",i+=\" Sheet1!$\"+Zt(l)+\"$2:$\"+Zt(t+2)+\"$\"+(r.sizes.length+1)+\"\",l++,i+=\" \",i+=\" General\",i+='\\t ',r.sizes.forEach(function(t,e){i+=''+(t||\"\")+\"\"}),i+=\" \",i+=\" \",i+=\" \",i+=' ',i+=\"\"}),i+=\" \",i+=' ',i+=\" \",i+=\" \",i+=\" \",i+=\" \",i+=' ',i+=\" \"+wt(o.dataLabelColor||b)+\"\",i+=' ',i+=\" \",i+=\" \",i+=\" \",o.dataLabelPosition&&(i+=' '),i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=\" \",i+=' ',i+=' ',i+=\"\";break;case J.DOUGHNUT:case J.PIE:var r=a[0];i+=\"\",i+=' ',i+=\"\",i+=' ',i+=' ',i+=\" \",i+=\" \",i+=\" Sheet1!$B$1\",i+=\" \",i+=' ',i+=' '+gt(r.name)+\"\",i+=\" \",i+=\" \",i+=\" \",i+=\" \",i+=' ',i+=' ',o.dataNoEffects?i+=\"\":i+=Xt(o.shadow,C),i+=\" \",r.labels.forEach(function(t,e){i+=\"\",i+=' ',i+=' ',i+=\" \",i+=\"\"+wt(o.chartColors[e+1>o.chartColors.length?Math.floor(Math.random()*o.chartColors.length):e])+\"\",o.dataBorder&&(i+=''+wt(o.dataBorder.color)+''),i+=Xt(o.shadow,C),i+=\" \",i+=\"\"}),i+=\"\",r.labels.forEach(function(t,e){i+=\"\",i+=' ',i+=' ',i+=\" \",i+=\" \",i+=\" \",i+=' ',i+=\" \"+wt(o.dataLabelColor||b)+\"\",i+=' ',i+=\" \",i+=\" \",i+=\" \",n===J.PIE&&o.dataLabelPosition&&(i+=' '),i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=' ',i+=\" \"}),i+=' ',i+=\"\\t\",i+=\"\\t \",i+=\"\\t \",i+=\"\\t \",i+=\"\\t\\t\",i+='\\t\\t ',i+='\\t\\t\\t',i+=\"\\t\\t \",i+=\"\\t\\t\",i+=\"\\t \",i+=\"\\t\",i+=n===J.PIE?'':\"\",i+='\\t',i+='\\t',i+='\\t',i+='\\t',i+='\\t',i+='\\t',i+=' ',i+=\"\",i+=\"\",i+=\" \",i+=\" Sheet1!$A$2:$A$\"+(r.labels.length+1)+\"\",i+=\" \",i+='\\t ',r.labels.forEach(function(t,e){i+=''+gt(t)+\"\"}),i+=\" \",i+=\" \",i+=\"\",i+=\" \",i+=\" \",i+=\" Sheet1!$B$2:$B$\"+(r.labels.length+1)+\"\",i+=\" \",i+='\\t ',r.values.forEach(function(t,e){i+=''+(t||0===t?t:\"\")+\"\"}),i+=\" \",i+=\" \",i+=\" \",i+=\" \",i+=' ',n===J.DOUGHNUT&&(i+=' '),i+=\"\";break;default:i+=\"\"}return i}function Qt(e,t,r){var n=\"\";return e._type===J.SCATTER||e._type===J.BUBBLE?n+=\"\":n+=\"\",n+=' ',n+=\" \",n+='',!e.catAxisMaxVal&&0!==e.catAxisMaxVal||(n+=''),!e.catAxisMinVal&&0!==e.catAxisMinVal||(n+=''),n+=\"\",n+=' ',n+=' ',n+=\"none\"!==e.catGridLine.style?Kt(e.catGridLine):\"\",e.showCatAxisTitle&&(n+=qt({color:e.catAxisTitleColor,fontFace:e.catAxisTitleFontFace,fontSize:e.catAxisTitleFontSize,titleRotate:e.catAxisTitleRotate,title:e.catAxisTitle||\"Axis Title\"})),e._type===J.SCATTER||e._type===J.BUBBLE?n+=' ':n+=' ',e._type===J.SCATTER?(n+=' ',n+=' ',n+=' '):(n+=' ',n+=' ',n+=' '),n+=\" \",n+=' ',n+=!1===e.catAxisLineShow?\"\":\"\"+wt(e.catAxisLineColor||y.color)+\"\",n+=' ',n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=' ',n+=\" \"+wt(e.catAxisLabelColor||b)+\"\",n+=' ',n+=\" \",n+=\" \",n+=' ',n+=\" \",n+=\" \",n+=' ',n+=\" ',n+=' ',n+=' ',n+=' ',e.catAxisLabelFrequency&&(n+=' '),!e.catLabelFormatCode&&e._type!==J.SCATTER&&e._type!==J.BUBBLE||(e.catLabelFormatCode&&([\"catAxisBaseTimeUnit\",\"catAxisMajorTimeUnit\",\"catAxisMinorTimeUnit\"].forEach(function(t){!e[t]||\"string\"==typeof e[t]&&-1!==[\"days\",\"months\",\"years\"].indexOf(e[t].toLowerCase())||(console.warn(\"`\"+t+\"` must be one of: 'days','months','years' !\"),e[t]=null)}),e.catAxisBaseTimeUnit&&(n+=''),e.catAxisMajorTimeUnit&&(n+=''),e.catAxisMinorTimeUnit&&(n+='')),e.catAxisMajorUnit&&(n+=''),e.catAxisMinorUnit&&(n+='')),e._type===J.SCATTER||e._type===J.BUBBLE?n+=\"\":n+=\"\",n}function Yt(t,e){var r=e===L?\"col\"===t.barDir?\"l\":\"b\":\"col\"!==t.barDir?\"r\":\"t\",n=\"\",a=\"r\"==r||\"t\"==r?\"max\":\"autoZero\",o=e===L?T:k;return n+=\"\",n+=' ',n+=\" \",t.valAxisLogScaleBase&&(n+=' '),n+=' ',!t.valAxisMaxVal&&0!==t.valAxisMaxVal||(n+=''),!t.valAxisMinVal&&0!==t.valAxisMinVal||(n+=''),n+=\" \",n+=' ',n+=' ',\"none\"!==t.valGridLine.style&&(n+=Kt(t.valGridLine)),t.showValAxisTitle&&(n+=qt({color:t.valAxisTitleColor,fontFace:t.valAxisTitleFontFace,fontSize:t.valAxisTitleFontSize,titleRotate:t.valAxisTitleRotate,title:t.valAxisTitle||\"Axis Title\"})),n+=\"',t._type===J.SCATTER?(n+=' ',n+=' ',n+=' '):(n+=' ',n+=' ',n+=' '),n+=\" \",n+=' ',n+=!1===t.valAxisLineShow?\"\":\"\"+wt(t.valAxisLineColor||y.color)+\"\",n+=' ',n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=' ',n+=\" \"+wt(t.valAxisLabelColor||b)+\"\",n+=' ',n+=\" \",n+=\" \",n+=' ',n+=\" \",n+=\" \",n+=' ',n+=' ',n+=' ',t.valAxisMajorUnit&&(n+=' '),t.valAxisDisplayUnit&&(n+=''+(t.valAxisDisplayUnitLabel?\"\":\"\")+\"\"),n+=\"\"}function qt(t){var e=\"left\"===t.titleAlign||\"right\"===t.titleAlign?'':\"\",r=t.titleRotate?'':\"\",n=t.fontSize?'sz=\"'+Math.round(100*t.fontSize)+'\"':\"\",a=!0===t.titleBold?1:0,o=t.titlePos&&t.titlePos.x&&t.titlePos.y?'':\"\";return\"\\n\\t \\n\\t \\n\\t \"+r+\"\\n\\t \\n\\t \\n\\t \"+e+\"\\n\\t \\n\\t '+wt(t.color||b)+'\\n\\t \\n\\t \\n\\t \\n\\t \\n\\t \\n\\t '+wt(t.color||b)+'\\n\\t \\n\\t \\n\\t '+(gt(t.title)||\"\")+\"\\n\\t \\n\\t \\n\\t \\n\\t \\n\\t \"+o+'\\n\\t \\n\\t'}function Zt(t){var e=\"\";return t<=26?e=F[t]:(e+=F[Math.floor(t/F.length)-1],e+=F[t%F.length]),e}function Xt(t,e){if(!t)return\"\";if(\"object\"!=typeof t)return console.warn(\"`shadow` options must be an object. Ex: `{shadow: {type:'none'}}`\"),\"\";var r=\"\",n=mt(e,t),a=n.type||\"outer\",o=At(n.blur),i=At(n.offset),s=Math.round(6e4*n.angle),l=n.color,c=Math.round(1e5*n.opacity);return r+=\"',r+='',r+='',r+=\"\",r+=\"\"}function Kt(t){var e=\"\";return e+=\" \",e+=' ',e+=' ',e+=' ',e+=\" \",e+=\" \",e+=\"\"}function Jt(t){var o=\"undefined\"!=typeof require&&\"undefined\"==typeof window?require(\"fs\"):null,i=\"undefined\"!=typeof require&&\"undefined\"==typeof window?require(\"https\"):null,e=[];return t._relsMedia.filter(function(t){return\"online\"!==t.type&&!t.data&&(!t.path||t.path&&-1===t.path.indexOf(\"preencoded\"))}).forEach(function(a){e.push(new Promise(function(r,n){if(o&&0!==a.path.indexOf(\"http\"))try{var t=o.readFileSync(a.path);a.data=Buffer.from(t).toString(\"base64\"),r(\"done\")}catch(t){a.data=pt,n('ERROR: Unable to read media: \"'+a.path+'\"\\n'+t.toString())}else if(o&&i&&0===a.path.indexOf(\"http\"))i.get(a.path,function(t){var e=\"\";t.setEncoding(\"binary\"),t.on(\"data\",function(t){return e+=t}),t.on(\"end\",function(){a.data=Buffer.from(e,\"binary\").toString(\"base64\"),r(\"done\")}),t.on(\"error\",function(t){a.data=pt,n(\"ERROR! Unable to load image (https.get): \"+a.path)})});else{var e=new XMLHttpRequest;e.onload=function(){var t=new FileReader;t.onloadend=function(){a.data=t.result,a.isSvgPng?$t(a).then(function(){r(\"done\")}).catch(function(t){n(t)}):r(\"done\")},t.readAsDataURL(e.response)},e.onerror=function(t){a.data=pt,n(\"ERROR! Unable to load image (xhr.onerror): \"+a.path)},e.open(\"GET\",a.path),e.responseType=\"blob\",e.send()}}))}),t._relsMedia.filter(function(t){return t.isSvgPng&&t.data}).forEach(function(t){o?(t.data=pt,e.push(Promise.resolve().then(function(){return\"done\"}))):e.push($t(t))}),e}function $t(a){return new Promise(function(r,e){var n=new Image;n.onload=function(){n.width+n.height===0&&n.onerror(\"h/w=0\");var t=document.createElement(\"CANVAS\"),e=t.getContext(\"2d\");t.width=n.width,t.height=n.height,e.drawImage(n,0,0);try{a.data=t.toDataURL(a.type),r(\"done\")}catch(t){n.onerror(t)}t=null},n.onerror=function(t){a.data=pt,e(\"ERROR! Unable to load image (image.onerror): \"+a.path)},n.src=\"string\"==typeof a.data?a.data:pt})}function te(){var a=this;this._version=\"3.7.1\",this._alignH=Q,this._alignV=q,this._chartType=U,this._outputType=z,this._schemeColor=H,this._shapeType=G,this._charts=J,this._colors=tt,this._shapes=X,this.addNewSlide=function(t){var e=0')})}),n+='',n+='',n+='',n+='',t.forEach(function(t,e){n+='',n+='',t._relsChart.forEach(function(t){n+=' '})}),n+='',n+='',n+='',n+='',e.forEach(function(t,e){n+='',(t._relsChart||[]).forEach(function(t){n+=' '})}),t.forEach(function(t,e){n+=' '}),r._relsChart.forEach(function(t){n+=' '}),r._relsMedia.forEach(function(t){\"image\"!==t.type&&\"online\"!==t.type&&\"chart\"!==t.type&&\"m4v\"!==t.extn&&-1===n.indexOf(t.type)&&(n+=' ')}),n+=' ',n+=' ',n+=\"\"}(a.slides,a.slideLayouts,a.masterSlide)),n.file(\"_rels/.rels\",''+v+'\\n\\t\\t\\n\\t\\t\\n\\t\\t\\n\\t\\t'),n.file(\"docProps/app.xml\",function(t,e){return''+v+'\\n\\t0\\n\\t0\\n\\tMicrosoft Office PowerPoint\\n\\tOn-screen Show (16:9)\\n\\t0\\n\\t'+t.length+\"\\n\\t\"+t.length+'\\n\\t0\\n\\t0\\n\\tfalse\\n\\t\\n\\t\\t\\n\\t\\t\\tFonts Used\\n\\t\\t\\t2\\n\\t\\t\\tTheme\\n\\t\\t\\t1\\n\\t\\t\\tSlide Titles\\n\\t\\t\\t'+t.length+'\\n\\t\\t\\n\\t\\n\\t\\n\\t\\t\\n\\t\\t\\tArial\\n\\t\\t\\tCalibri\\n\\t\\t\\tOffice Theme\\n\\t\\t\\t'+t.map(function(t,e){return\"Slide \"+(e+1)+\"\\n\"}).join(\"\")+\"\\n\\t\\t\\n\\t\\n\\t\"+e+\"\\n\\tfalse\\n\\tfalse\\n\\tfalse\\n\\t16.0000\\n\\t\"}(a.slides,a.company)),n.file(\"docProps/core.xml\",function(t,e,r,n){return'\\n\\t\\n\\t\\t'+gt(t)+\"\\n\\t\\t\"+gt(e)+\"\\n\\t\\t\"+gt(r)+\"\\n\\t\\t\"+gt(r)+\"\\n\\t\\t\"+n+'\\n\\t\\t'+(new Date).toISOString().replace(/\\.\\d\\d\\dZ/,\"Z\")+'\\n\\t\\t'+(new Date).toISOString().replace(/\\.\\d\\d\\dZ/,\"Z\")+\"\\n\\t\"}(a.title,a.subject,a.author,a.revision)),n.file(\"ppt/_rels/presentation.xml.rels\",function(t){var e=1,r=''+v;r+='',r+='';for(var n=1;n<=t.length;n++)r+='';return r+=''}(a.slides)),n.file(\"ppt/theme/theme1.xml\",''+v+''),n.file(\"ppt/presentation.xml\",function(t){var e=''+v+'';e+='',e+=\"\",t.slides.forEach(function(t){return e+=''}),e+=\"\",e+='',e+='',e+='',e+=\"\";for(var r=1;r<10;r++)e+=\"\";return e+=\"\",t.sections&&0',e+='',t.sections.forEach(function(t){e+='',t._slides.forEach(function(t){return e+=''}),e+=\"\"}),e+=\"\",e+='',e+=\"\"),e+=\"\"}(a)),n.file(\"ppt/presProps.xml\",''+v+''),n.file(\"ppt/tableStyles.xml\",''+v+''),n.file(\"ppt/viewProps.xml\",''+v+''),a.slideLayouts.forEach(function(t,e){n.file(\"ppt/slideLayouts/slideLayout\"+(e+1)+\".xml\",function(t){return'\\n\\t\\t\\n\\t\\t'+Lt(t)+\"\\n\\t\\t\"}(t)),n.file(\"ppt/slideLayouts/_rels/slideLayout\"+(e+1)+\".xml.rels\",function(t,e){return Et(e[t-1],[{target:\"../slideMasters/slideMaster1.xml\",type:\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster\"}])}(e+1,a.slideLayouts))}),a.slides.forEach(function(t,e){n.file(\"ppt/slides/slide\"+(e+1)+\".xml\",function(t){return''+v+'\"+Lt(t)+\"\"}(t)),n.file(\"ppt/slides/_rels/slide\"+(e+1)+\".xml.rels\",function(t,e,r){return Et(t[r-1],[{target:\"../slideLayouts/slideLayout\"+function(t,e,r){for(var n=0;n\\n\\t\\t\\n\\t\\t\\t\\n\\t\\t\\t\\n\\t\\t'}(e+1))}),n.file(\"ppt/slideMasters/slideMaster1.xml\",function(r,t){var e=t.map(function(t,e){return''}),n=''+v;return n+='',n+=Lt(r),n+='',n+=\"\"+e.join(\"\")+\"\",n+='',n+=' ',n+=\"\"}(a.masterSlide,a.slideLayouts)),n.file(\"ppt/slideMasters/_rels/slideMaster1.xml.rels\",function(t,e){var r=e.map(function(t,e){return{target:\"../slideLayouts/slideLayout\"+(e+1)+\".xml\",type:\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout\"}});return r.push({target:\"../theme/theme1.xml\",type:\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme\"}),Et(t,r)}(a.masterSlide,a.slideLayouts)),n.file(\"ppt/notesMasters/notesMaster1.xml\",''+v+'7/23/19Click to edit Master text stylesSecond levelThird levelFourth levelFifth level‹#›'),n.file(\"ppt/notesMasters/_rels/notesMaster1.xml.rels\",''+v+'\\n\\t\\t\\n\\t\\t'),a.slideLayouts.forEach(function(t){a.createChartMediaRels(t,n,e)}),a.slides.forEach(function(t){a.createChartMediaRels(t,n,e)}),a.createChartMediaRels(a.masterSlide,n,e),Promise.all(e).then(function(){return\"STREAM\"===t.outputType?n.generateAsync({type:\"nodebuffer\",compression:t.compression?\"DEFLATE\":\"STORE\"}):t.outputType?n.generateAsync({type:t.outputType}):n.generateAsync({type:\"blob\",compression:t.compression?\"DEFLATE\":\"STORE\"})})})},this.LAYOUTS={LAYOUT_4x3:{name:\"screen4x3\",width:9144e3,height:6858e3},LAYOUT_16x9:{name:\"screen16x9\",width:9144e3,height:5143500},LAYOUT_16x10:{name:\"screen16x10\",width:9144e3,height:5715e3},LAYOUT_WIDE:{name:\"custom\",width:12192e3,height:6858e3}},this._author=\"PptxGenJS\",this._company=\"PptxGenJS\",this._revision=\"1\",this._subject=\"PptxGenJS Presentation\",this._title=\"PptxGenJS Presentation\",this._presLayout={name:this.LAYOUTS[p].name,_sizeW:this.LAYOUTS[p].width,_sizeH:this.LAYOUTS[p].height,width:this.LAYOUTS[p].width,height:this.LAYOUTS[p].height},this._rtlMode=!1,this._slideLayouts=[{_margin:P,_name:n,_presLayout:this._presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slide:null,_slideNum:1e3,_slideNumberProps:null,_slideObjects:[]}],this._slides=[],this._sections=[],this._masterSlide={addChart:null,addImage:null,addMedia:null,addNotes:null,addShape:null,addTable:null,addText:null,_name:null,_presLayout:this._presLayout,_rId:null,_rels:[],_relsChart:[],_relsMedia:[],_slideId:null,_slideLayout:null,_slideNum:null,_slideNumberProps:null,_slideObjects:[]}}return Object.defineProperty(te.prototype,\"layout\",{get:function(){return this._layout},set:function(t){var e=this.LAYOUTS[t];if(!e)throw new Error(\"UNKNOWN-LAYOUT\");this._layout=t,this._presLayout=e},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"version\",{get:function(){return this._version},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"author\",{get:function(){return this._author},set:function(t){this._author=t},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"company\",{get:function(){return this._company},set:function(t){this._company=t},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"revision\",{get:function(){return this._revision},set:function(t){this._revision=t},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"subject\",{get:function(){return this._subject},set:function(t){this._subject=t},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"title\",{get:function(){return this._title},set:function(t){this._title=t},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"rtlMode\",{get:function(){return this._rtlMode},set:function(t){this._rtlMode=t},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"masterSlide\",{get:function(){return this._masterSlide},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"slides\",{get:function(){return this._slides},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"sections\",{get:function(){return this._sections},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"slideLayouts\",{get:function(){return this._slideLayouts},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"AlignH\",{get:function(){return this._alignH},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"AlignV\",{get:function(){return this._alignV},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"ChartType\",{get:function(){return this._chartType},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"OutputType\",{get:function(){return this._outputType},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"presLayout\",{get:function(){return this._presLayout},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"SchemeColor\",{get:function(){return this._schemeColor},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"ShapeType\",{get:function(){return this._shapeType},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"charts\",{get:function(){return this._charts},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"colors\",{get:function(){return this._colors},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,\"shapes\",{get:function(){return this._shapes},enumerable:!1,configurable:!0}),te.prototype.stream=function(t){var e=!(\"object\"!=typeof t||!t.hasOwnProperty(\"compression\"))&&t.compression;return this.exportPresentation({compression:e,outputType:\"STREAM\"})},te.prototype.write=function(t){var e=\"object\"==typeof t&&t.hasOwnProperty(\"outputType\")?t.outputType:t||null,r=!(\"object\"!=typeof t||!t.hasOwnProperty(\"compression\"))&&t.compression;return this.exportPresentation({compression:r,outputType:e})},te.prototype.writeFile=function(t){var e=this,n=\"undefined\"!=typeof require&&\"undefined\"==typeof window?require(\"fs\"):null;\"string\"==typeof t&&console.log(\"Warning: `writeFile(filename)` is deprecated - please use `WriteFileProps` argument (v3.5.0)\");var r=\"object\"==typeof t&&t.hasOwnProperty(\"fileName\")?t.fileName:\"string\"==typeof t?t:\"\",a=!(\"object\"!=typeof t||!t.hasOwnProperty(\"compression\"))&&t.compression,o=r?r.toString().toLowerCase().endsWith(\".pptx\")?r:r+\".pptx\":\"Presentation.pptx\";return this.exportPresentation({compression:a,outputType:n?\"nodebuffer\":null}).then(function(t){return n?new Promise(function(e,r){n.writeFile(o,t,function(t){t?r(t):e(o)})}):e.writeFileToBrowser(o,t)})},te.prototype.addSection=function(t){t?t.title||console.warn(\"addSection requires a title\"):console.warn(\"addSection requires an argument\");var e={_type:\"user\",_slides:[],title:t.title};t.order?this.sections.splice(t.order,0,e):this._sections.push(e)},te.prototype.addSlide=function(e){var r=\"string\"==typeof e?e:e&&e.masterName?e.masterName:\"\",t={_name:this.LAYOUTS[p].name,_presLayout:this.presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slideNum:this.slides.length+1};if(r){var n=this.slideLayouts.filter(function(t){return t._name===r})[0];n&&(t=n)}var a=new Gt({addSlide:this.addNewSlide,getSlide:this.getSlide,presLayout:this.presLayout,setSlideNum:this.setSlideNumber,slideId:this.slides.length+256,slideRId:this.slides.length+2,slideNumber:this.slides.length+1,slideLayout:t});if(this._slides.push(a),e&&e.sectionTitle){var o=this.sections.filter(function(t){return t.title===e.sectionTitle})[0];o?o._slides.push(a):console.warn('addSlide: unable to find section with title: \"'+e.sectionTitle+'\"')}else if(this.sections&&0 opts.y = \"+a.y),r.addTable(t.rows,{x:a.x||p[3],y:a.y,w:Number(s)/B,colW:c,autoPage:!1}),a.addImage&&r.addImage({path:a.addImage.url,x:a.addImage.x,y:a.addImage.y,w:a.addImage.w,h:a.addImage.h}),a.addShape&&r.addShape(a.addShape.shape,a.addShape.options||{}),a.addTable&&r.addTable(a.addTable.rows,a.addTable.options||{}),a.addText&&r.addText(a.addText.text,a.addText.options||{})})}(this,t,e,e&&e.masterSlideName?this.slideLayouts.filter(function(t){return t._name===e.masterSlideName})[0]:null)},te}();"],"file":"pptxgen.bundle.js"} \ No newline at end of file diff --git a/dist/pptxgen.cjs.js b/dist/pptxgen.cjs.js index 14c79d74a..fa2b6c78c 100644 --- a/dist/pptxgen.cjs.js +++ b/dist/pptxgen.cjs.js @@ -1,4 +1,4 @@ -/* PptxGenJS 3.7.0 @ 2021-07-21T02:38:25.928Z */ +/* PptxGenJS 3.7.1 @ 2021-07-22T03:01:25.392Z */ 'use strict'; var JSZip = require('jszip'); @@ -6211,7 +6211,7 @@ function createSvgPngPreview(rel) { * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -var VERSION = '3.7.0'; +var VERSION = '3.7.1'; var PptxGenJS = /** @class */ (function () { function PptxGenJS() { var _this = this; diff --git a/dist/pptxgen.es.js b/dist/pptxgen.es.js index 33939905b..50698e379 100644 --- a/dist/pptxgen.es.js +++ b/dist/pptxgen.es.js @@ -1,4 +1,4 @@ -/* PptxGenJS 3.7.0 @ 2021-07-21T02:38:25.936Z */ +/* PptxGenJS 3.7.1 @ 2021-07-22T03:01:25.399Z */ import JSZip from 'jszip'; /*! ***************************************************************************** @@ -6205,7 +6205,7 @@ function createSvgPngPreview(rel) { * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -var VERSION = '3.7.0'; +var VERSION = '3.7.1'; var PptxGenJS = /** @class */ (function () { function PptxGenJS() { var _this = this; diff --git a/dist/pptxgen.min.js b/dist/pptxgen.min.js index 49f5dbc9f..4cb53b651 100644 --- a/dist/pptxgen.min.js +++ b/dist/pptxgen.min.js @@ -1,3 +1,3 @@ -/* PptxGenJS 3.7.0 @ 2021-07-21T02:38:23.632Z */ -var PptxGenJS=function(){"use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var h=e(JSZip),i=function(){return(i=Object.assign||function(e){for(var t,a=1,r=arguments.length;a/g,">").replace(/"/g,""").replace(/'/g,"'")}function ge(e){return"number"==typeof e&&100"+t+"":""}function Pe(e){var t="solid",a="",r="",o="";if(e)switch("string"==typeof e?a=e:(e.type&&(t=e.type),e.color&&(a=e.color),e.alpha&&(r+=''),e.transparency&&(r+='')),t){case"solid":o+=""+Ce(a,r)+"";break;default:o+=""}return o}function we(e){return e._rels.length+e._relsChart.length+e._relsMedia.length+1}function Le(s,p,c,e){void 0===s&&(s=[]),void 0===p&&(p={});var t,d=L,f=0,h=1*O,a=0,A=[{rows:[]}];if(p.verbose&&(console.log("-- VERBOSE MODE ----------------------------------"),console.log(".. (PARAMETERS)"),console.log("presLayout.height ......... = "+c.height/O),console.log("tabOpts.h ................. = "+p.h),console.log("tabOpts.w ................. = "+p.w),console.log("tabOpts.colW .............. = "+p.colW),console.log("tabOpts.slideMargin ....... = "+(p.slideMargin||"")),console.log(".. (/PARAMETERS)")),p.slideMargin||0===p.slideMargin||(p.slideMargin=L[0]),e&&void 0!==e._margin?Array.isArray(e._margin)?d=e._margin:isNaN(Number(e._margin))||(d=[Number(e._margin),Number(e._margin),Number(e._margin),Number(e._margin)]):!p.slideMargin&&0!==p.slideMargin||(Array.isArray(p.slideMargin)?d=p.slideMargin:isNaN(p.slideMargin)||(d=[p.slideMargin,p.slideMargin,p.slideMargin,p.slideMargin])),p.verbose&&console.log("arrInchMargins ......... = "+d.toString()),(s[0]||[]).forEach(function(e){var t=(e=e||{_type:oe.tablecell}).options||null;a+=Number(t&&t.colspan?t.colspan:1)}),p.verbose&&console.log("numCols ................ = "+a),!p.w&&p.colW&&(Array.isArray(p.colW)?p.colW.forEach(function(e){"number"!=typeof p.w?p.w=0+e:p.w+=e}):p.w=p.colW*a),t="number"==typeof p.w?ge(p.w):c.width-ge(("number"==typeof p.x?p.x:d[1])+d[3]),p.verbose&&console.log("emuSlideTabW (in) ...... = "+(t/O).toFixed(1)),!p.colW||!Array.isArray(p.colW))if(p.colW&&!isNaN(Number(p.colW))){var r=[];(s[0]||[]).forEach(function(){return r.push(p.colW)}),p.colW=[],r.forEach(function(e){Array.isArray(p.colW)&&p.colW.push(e)})}else{p.colW=[];for(var o=0;ot?t=ye(e.options.margin[0]):p.margin&&p.margin[0]&&ye(p.margin[0])>t&&(t=ye(p.margin[0])),e.options.margin&&e.options.margin[2]&&ye(e.options.margin[2])>a?a=ye(e.options.margin[2]):p.margin&&p.margin[2]&&ye(p.margin[2])>a&&(a=ye(p.margin[2]))}),h=p.h&&"number"==typeof p.h?p.h:c.height-ge(d[0]+d[2])-(p.y&&"number"==typeof p.y?p.y:0),p.verbose&&console.log("emuSlideTabH (in) ...... = "+(h/O).toFixed(1)),1 "+h/O),A.push({rows:[]}),f=0,(p.addHeaderToEach||p.autoPageRepeatHeader)&&p._arrObjTabHeadRows){var t=[];n.forEach(function(e){t.push({type:oe.tablecell,text:e._lines.join(""),options:e.options})}),s.unshift(t);var a=[];return p._arrObjTabHeadRows.forEach(function(e){var t=[];e.forEach(function(e){return t.push(e)}),a.push(t)}),s=N(N([],a),s),"break"}var e=A[A.length-1],r=[];o.forEach(function(e){r.push({type:oe.tablecell,text:"",options:e.options})}),e.rows.push(r)}n.forEach(function(e,t){if(0l&&(l=e._lineHeight)}}),f+=l,p.verbose&&console.log("- SLIDE ["+A.length+"]: ROW ["+m+"]: one line added ... emuTabCurrH = "+(f/O).toFixed(2))};0'},contain:function(e,t){var a=e.h/e.w,r=a'},crop:function(e,t){var a=t.x,r=e.w-(t.x+t.w),o=t.y,l=e.h-(t.y+t.h);return''}};function Se(F){var B=F._name?'':"",I=1;return F._bkgdImgRid?B+='':F.background&&F.background.color?B+=""+Pe(F.background)+"":!F.bkgd&&F._name&&F._name===r&&(B+=''),B+="",B+='',B+='',B+='',F._slideObjects.forEach(function(r,e){var t,a,o=0,l=0,n=he("75%","X",F._presLayout),i=0,s="";switch(void 0!==F._slideLayout&&void 0!==F._slideLayout._slideObjects&&r.options&&r.options.placeholder&&(a=F._slideLayout._slideObjects.filter(function(e){return e.options.placeholder===r.options.placeholder})[0]),r.options=r.options||{},void 0!==r.options.x&&(o=he(r.options.x,"X",F._presLayout)),void 0!==r.options.y&&(l=he(r.options.y,"Y",F._presLayout)),void 0!==r.options.w&&(n=he(r.options.w,"X",F._presLayout)),void 0!==r.options.h&&(i=he(r.options.h,"Y",F._presLayout)),a&&(!a.options.x&&0!==a.options.x||(o=he(a.options.x,"X",F._presLayout)),!a.options.y&&0!==a.options.y||(l=he(a.options.y,"Y",F._presLayout)),!a.options.w&&0!==a.options.w||(n=he(a.options.w,"X",F._presLayout)),!a.options.h&&0!==a.options.h||(i=he(a.options.h,"Y",F._presLayout))),r.options.flipH&&(s+=' flipH="1"'),r.options.flipV&&(s+=' flipV="1"'),r.options.rotate&&(s+=' rot="'+be(r.options.rotate)+'"'),r._type){case oe.table:var p,c=r.arrTabRows,f=r.options,d=0,h=0;c[0].forEach(function(e){p=e.options||null,d+=p&&p.colspan?Number(p.colspan):1});var A='';if(A+=' ',A+='',A+='',Array.isArray(f.colW)){A+="";for(var m=0;m'}A+=""}else{h=f.colW?f.colW:O,r.options.w&&!f.colW&&(h=Math.round(("number"==typeof r.options.w?r.options.w:1)/d)),A+="";for(var g=0;g';A+=""}c.forEach(function(l){for(var n,i,s,e=function(e){var t=l[e],a=null===(n=t.options)||void 0===n?void 0:n.colspan,r=null===(i=t.options)||void 0===i?void 0:i.rowspan;if(a&&1',e.forEach(function(e){var t,a,r=e,o={rowSpan:1<(null===(t=r.options)||void 0===t?void 0:t.rowspan)?r.options.rowspan:void 0,gridSpan:1<(null===(a=r.options)||void 0===a?void 0:a.colspan)?r.options.colspan:void 0,vMerge:r._vmerge?1:void 0,hMerge:r._hmerge?1:void 0},l=Object.keys(o).map(function(e){return[e,o[e]]}).filter(function(e){return e[0],!!e[1]}).map(function(e){return e[0]+'="'+e[1]+'"'}).join(" ");if(l=l&&" "+l,r._hmerge||r._vmerge)A+="";else{var n=r.options||{};r.options=n,["align","bold","border","color","fill","fontFace","fontSize","margin","underline","valign"].forEach(function(e){f[e]&&!n[e]&&0!==n[e]&&(n[e]=f[e])});var i=n.valign?' anchor="'+n.valign.replace(/^c$/i,"ctr").replace(/^m$/i,"ctr").replace("center","ctr").replace("middle","ctr").replace("top","t").replace("btm","b").replace("bottom","b")+'"':"",s=r._optImp&&r._optImp.fill&&r._optImp.fill.color?r._optImp.fill.color:r._optImp&&r._optImp.fill&&"string"==typeof r._optImp.fill?r._optImp.fill:"",p=(s=s||n.fill&&n.fill.color?n.fill.color:n.fill&&"string"==typeof n.fill?n.fill:"")?""+Ce(s)+"":"",c=0===n.margin||n.margin?n.margin:k;Array.isArray(c)||"number"!=typeof c||(c=[c,c,c,c]);var d=' marL="'+ye(c[3])+'" marR="'+ye(c[1])+'" marT="'+ye(c[0])+'" marB="'+ye(c[2])+'"';A+=""+Fe(r)+"",n.border&&Array.isArray(n.border)&&[{idx:3,name:"lnL"},{idx:1,name:"lnR"},{idx:0,name:"lnT"},{idx:2,name:"lnB"}].forEach(function(e){"none"!==n.border[e.idx].type?(A+="',A+=""+Ce(n.border[e.idx].color)+"",A+='',A+=""):A+=""}),A+=p,A+=" ",A+=" "}}),A+=""}),A+=" ",A+=" ",A+=" ",B+=A+="",I++;break;case oe.text:case oe.placeholder:var y=r.options.shapeName?ue(r.options.shapeName):"Object"+(e+1);if(r.options.line||0!==i||(i=.3*O),r.options._bodyProp||(r.options._bodyProp={}),r.options.margin&&Array.isArray(r.options.margin)?(r.options._bodyProp.lIns=ye(r.options.margin[0]||0),r.options._bodyProp.rIns=ye(r.options.margin[1]||0),r.options._bodyProp.bIns=ye(r.options.margin[2]||0),r.options._bodyProp.tIns=ye(r.options.margin[3]||0)):"number"==typeof r.options.margin&&(r.options._bodyProp.lIns=ye(r.options.margin),r.options._bodyProp.rIns=ye(r.options.margin),r.options._bodyProp.bIns=ye(r.options.margin),r.options._bodyProp.tIns=ye(r.options.margin)),B+="",B+='',r.options.hyperlink&&r.options.hyperlink.url&&(B+=''),r.options.hyperlink&&r.options.hyperlink.slide&&(B+=''),B+="",B+="':"/>"),B+=""+("placeholder"===r._type?Be(r):Be(a))+"",B+="",B+="",B+='',B+='',"custGeom"===r.shape)B+="",B+="",B+="",B+="",B+="",B+="",B+='',B+="",B+='',null===(t=r.options.points)||void 0===t||t.map(function(e,t){if("curve"in e)switch(e.curve.type){case"arc":B+='';break;case"cubic":B+='\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t';break;case"quadratic":B+='\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t'}else"close"in e?B+="":e.moveTo||0===t?B+='':B+=''}),B+="",B+="",B+="";else{if(B+='',r.options.rectRadius)B+='';else if(r.options.angleRange){for(var b=0;b<2;b++){var v=r.options.angleRange[b];B+=''}r.options.arcThicknessRatio&&(B+='')}B+=""}B+=r.options.fill?Pe(r.options.fill):"",r.options.line&&(B+=r.options.line.width?'':"",r.options.line.color&&(B+=Pe(r.options.line)),r.options.line.dashType&&(B+=''),r.options.line.beginArrowType&&(B+=''),r.options.line.endArrowType&&(B+=''),B+=""),r.options.shadow&&(r.options.shadow.type=r.options.shadow.type||"outer",r.options.shadow.blur=ye(r.options.shadow.blur||8),r.options.shadow.offset=ye(r.options.shadow.offset||4),r.options.shadow.angle=Math.round(6e4*(r.options.shadow.angle||270)),r.options.shadow.opacity=Math.round(1e5*(r.options.shadow.opacity||.75)),r.options.shadow.color=r.options.shadow.color||M.color,B+="",B+="',B+='',B+='',B+="",B+=""),B+="",B+=Fe(r),B+="";break;case oe.image:var x=r.options,C=x.sizing,P=x.rounding,w=n,L=i;if(B+="",B+=" ",B+='',r.hyperlink&&r.hyperlink.url&&(B+=''),r.hyperlink&&r.hyperlink.slide&&(B+=''),B+=" ",B+=' ',B+=" "+Be(a)+"",B+=" ",B+="",(F._relsMedia||[]).filter(function(e){return e.rId===r.imageRid})[0]&&"svg"===(F._relsMedia||[]).filter(function(e){return e.rId===r.imageRid})[0].extn?(B+='',B+=" ",B+=' ',B+=' ',B+=" ",B+=" ",B+=""):B+='',C&&C.type){var T=C.w?he(C.w,"X",F._presLayout):n,S=C.h?he(C.h,"Y",F._presLayout):i,R=he(C.x||0,"X",F._presLayout),E=he(C.y||0,"Y",F._presLayout);B+=Te[C.type]({w:w,h:L},{w:T,h:S,x:R,y:E}),w=T,L=S}else B+=" ";B+="",B+="",B+=" ",B+=' ',B+=' ',B+=" ",B+=' ',B+="",B+="";break;case oe.media:"online"===r.mtype?(B+="",B+=" ",B+=' ',B+=" ",B+=" ",B+=' ',B+=" ",B+=" ",B+=' '):(B+="",B+=" ",B+=' ',B+=' ',B+=" ",B+=' ',B+=" ",B+=' ',B+=' ',B+=" ",B+=" ",B+=" ",B+=" ",B+=' '),B+=" ",B+=" ",B+=' ',B+=' ',B+=" ",B+=' ',B+=" ",B+="";break;case oe.chart:var _=r.options;B+="",B+=" ",B+=' ',B+=" ",B+=" "+Be(a)+"",B+=" ",B+=' ',B+=' ',B+=' ',B+=' ',B+=" ",B+=" ",B+="";break;default:B+=""}}),F._slideNumberProps&&(F._slideNumberProps.align||(F._slideNumberProps.align="left"),B+=' ',B+="",B+="',F._slideNumberProps.color&&(B+=Pe(F._slideNumberProps.color)),F._slideNumberProps.fontFace&&(B+=''),B+=""),B+="",B+='',F._slideNumberProps.align.startsWith("l")?B+='':F._slideNumberProps.align.startsWith("c")?B+='':F._slideNumberProps.align.startsWith("r")?B+='':B+='',B+='',B+=""),B+="",B+=""}function Re(e,t){var a=0,r=''+g+'';return e._rels.forEach(function(e){a=Math.max(a,e.rId),-1':r+='':-1')}),(e._relsChart||[]).forEach(function(e){a=Math.max(a,e.rId),r+=''}),(e._relsMedia||[]).forEach(function(e){a=Math.max(a,e.rId),-1':-1':r+='':-1':r+='':-1':r+='')}),t.forEach(function(e,t){r+=''}),r+=""}function Ee(e,t){var a="",r="",o="",l="",n=t?"a:lvl1pPr":"a:pPr",i=ye(c),s="<"+n+(e.options.rtlMode?' rtl="1" ':"");if(e.options.align)switch(e.options.align){case"left":s+=' algn="l"';break;case"right":s+=' algn="r"';break;case"center":s+=' algn="ctr"';break;case"justify":s+=' algn="just"';break;default:s+=""}if(e.options.lineSpacing?r='':e.options.lineSpacingMultiple&&(r=''),e.options.indentLevel&&!isNaN(Number(e.options.indentLevel))&&0'),e.options.paraSpaceAfter&&!isNaN(Number(e.options.paraSpaceAfter))&&0'),"object"==typeof e.options.bullet)if(e&&e.options&&e.options.bullet&&e.options.bullet.indent&&(i=ye(e.options.bullet.indent)),e.options.bullet.type)"number"===e.options.bullet.type.toString().toLowerCase()&&(s+=' marL="'+(e.options.indentLevel&&0');else if(e.options.bullet.characterCode){var p="&#x"+e.options.bullet.characterCode+";";!1===/^[0-9A-Fa-f]{4}$/.test(e.options.bullet.characterCode)&&(console.warn("Warning: `bullet.characterCode should be a 4-digit unicode charatcer (ex: 22AB)`!"),p=se.DEFAULT),s+=' marL="'+(e.options.indentLevel&&0'}else if(e.options.bullet.code){p="&#x"+e.options.bullet.code+";";!1===/^[0-9A-Fa-f]{4}$/.test(e.options.bullet.code)&&(console.warn("Warning: `bullet.code should be a 4-digit hex code (ex: 22AB)`!"),p=se.DEFAULT),s+=' marL="'+(e.options.indentLevel&&0'}else s+=' marL="'+(e.options.indentLevel&&0';else!0===e.options.bullet?(s+=' marL="'+(e.options.indentLevel&&0'):!1===e.options.bullet&&(s+=' indent="0" marL="0"',a="");e.options.tabStops&&Array.isArray(e.options.tabStops)&&(l=""+e.options.tabStops.map(function(e){return''}).join("")+"");return s+=">"+r+o+a+l,t&&(s+=_e(e.options,!0)),s+=""}function _e(e,t){var a,r="",o=t?"a:defRPr":"a:rPr";if(r+="<"+o+' lang="'+(e.lang?e.lang:"en-US")+'"'+(e.lang?' altLang="en-US"':""),r+=e.fontSize?' sz="'+Math.round(e.fontSize)+'00"':"",r+=e.hasOwnProperty("bold")?' b="'+(e.bold?1:0)+'"':"",r+=e.hasOwnProperty("italic")?' i="'+(e.italic?1:0)+'"':"",r+=e.hasOwnProperty("strike")?' strike="'+("string"==typeof e.strike?e.strike:"sngStrike")+'"':"","object"==typeof e.underline&&(null===(a=e.underline)||void 0===a?void 0:a.style)?r+=' u="'+e.underline.style+'"':"string"==typeof e.underline?r+=' u="'+e.underline+'"':e.hyperlink&&(r+=' u="sng"'),e.baseline?r+=' baseline="'+Math.round(50*e.baseline)+'"':e.subscript?r+=' baseline="-40000"':e.superscript&&(r+=' baseline="30000"'),r+=e.charSpacing?' spc="'+Math.round(100*e.charSpacing)+'" kern="0"':"",r+=' dirty="0">',(e.color||e.fontFace||e.outline||"object"==typeof e.underline&&e.underline.color)&&(e.outline&&"object"==typeof e.outline&&(r+=''+Pe(e.outline.color||"FFFFFF")+""),e.color&&(r+=Pe(e.color)),e.highlight&&(r+=""+Ce(e.highlight)+""),"object"==typeof e.underline&&e.underline.color&&(r+=""+Pe(e.underline.color)+""),e.glow&&(r+=""+function(e,t){var a="",r=me(t,e);return a+='',a+=Ce(r.color,''),a+=""}(e.glow,T)+""),e.fontFace&&(r+='')),e.hyperlink){if("object"!=typeof e.hyperlink)throw new Error("ERROR: text `hyperlink` option should be an object. Ex: `hyperlink:{url:'https://github.com'}` ");if(!e.hyperlink.url&&!e.hyperlink.slide)throw new Error("ERROR: 'hyperlink requires either `url` or `slide`'");e.hyperlink.url?r+='":"/>"):e.hyperlink.slide&&(r+='":"/>")),e.color&&(r+="\t",r+='\t\t',r+='\t\t\t',r+="\t\t",r+="\t",r+="")}return r+=""}function Fe(r){var o=r.options||{},e=[],a=[];if(o&&r._type!==oe.tablecell&&(void 0===r.text||null===r.text))return"";var l=r._type===oe.tablecell?"":"";l+=function(e){var t="":"resize"===e.options.fit&&(t+="")),e.options.shrinkText&&(t+=""),t+=!1!==e.options._bodyProp.autoFit?"":""):t+=' wrap="square" rtlCol="0">',t+="",e._type===oe.tablecell?"":t}(r),0===o.h&&o.line&&o.align?l+='':"placeholder"===r._type?l+=""+Ee(r,!0)+"":l+="","string"==typeof r.text||"number"==typeof r.text?e.push({text:r.text.toString(),options:o||{}}):r.text&&!Array.isArray(r.text)&&"object"==typeof r.text&&-1";var a=""),r.options.align=r.options.align||o.align,r.options.lineSpacing=r.options.lineSpacing||o.lineSpacing,r.options.lineSpacingMultiple=r.options.lineSpacingMultiple||o.lineSpacingMultiple,r.options.indentLevel=r.options.indentLevel||o.indentLevel,r.options.paraSpaceBefore=r.options.paraSpaceBefore||o.paraSpaceBefore,r.options.paraSpaceAfter=r.options.paraSpaceAfter||o.paraSpaceAfter,a=Ee(r,!1),l+=a,Object.entries(o).forEach(function(e){var t=e[0],a=e[1];r.options.hyperlink&&"color"===t||"bullet"===t||r.options[t]||(r.options[t]=a)}),l+=function(e){return e.text?""+_e(e.options,!1)+""+ue(e.text)+"":""}(r),(!r.text&&o.fontSize||r.options.fontSize)&&(t=!0,o.fontSize=o.fontSize||r.options.fontSize)}),r._type===oe.tablecell&&(o.fontSize||o.fontFace)?o.fontFace?(l+='',l+='',l+='',l+='',l+=""):l+='':l+=t?'':'',l+=""}),l+=r._type===oe.tablecell?"":""}function Be(e){if(!e)return"";var t=e.options&&e.options._placeholderIdx?e.options._placeholderIdx:"",a=e.options&&e.options._placeholderType?e.options._placeholderType:"";return""}function Ie(e){return''+g+''+ue(function(e){var t="";return e._slideObjects.forEach(function(e){e._type===oe.notes&&(t+=e.text&&e.text[0]?e.text[0].text:"")}),t.replace(/\r*\n/g,g)}(e))+''+e._slideNum+''}function Ne(e){e&&"object"==typeof e&&("outer"!==e.type&&"inner"!==e.type&&"none"!==e.type&&(console.warn("Warning: shadow.type options are `outer`, `inner` or `none`."),e.type="outer"),e.angle&&((isNaN(Number(e.angle))||e.angle<0||359 \n'),e.file("_rels/.rels",'\n'),e.file("docProps/app.xml",'Microsoft Excel0falseWorksheets1Sheet1\n'),e.file("docProps/core.xml",'PptxGenJSEly, Brent'+(new Date).toISOString()+''+(new Date).toISOString()+"\n"),e.file("xl/_rels/workbook.xml.rels",'\n'),e.file("xl/styles.xml",'\n'),e.file("xl/theme/theme1.xml",''),e.file("xl/workbook.xml",'\n'),e.file("xl/worksheets/_rels/sheet1.xml.rels",'\n');var r='';c.opts._type===Z.BUBBLE?r+='':c.opts._type===Z.SCATTER?r+='':(r+='',r+=''),c.opts._type===Z.BUBBLE?f.forEach(function(e,t){0===t?r+="X-Axis":(r+=""+ue(e.name||" ")+"",r+=""+ue("Size "+t)+"")}):f.forEach(function(e){r+=""+ue((e.name||" ").replace("X-Axis","X-Values"))+""}),c.opts._type!==Z.BUBBLE&&c.opts._type!==Z.SCATTER&&f[0].labels.forEach(function(e){r+=""+ue(e)+""}),r+="\n",e.file("xl/sharedStrings.xml",r);var l='';c.opts._type===Z.BUBBLE||(c.opts._type===Z.SCATTER?(l+='',l+='',f.forEach(function(e,t){l+=''})):(l+='
',l+='',l+='',f.forEach(function(e,t){l+=''}))),l+="",l+='',l+="
",e.file("xl/tables/table1.xml",l);var n='';if(n+='',c.opts._type===Z.BUBBLE?n+='':c.opts._type===Z.SCATTER?n+='':n+='',n+='',n+='',c.opts._type===Z.BUBBLE){n+="",n+='',n+="",n+="",n+='',n+='0';for(var i=1;i',n+=""+i+"",n+="";n+="",f[0].values.forEach(function(e,t){n+='',n+=''+e+"";for(var a=1,r=1;r',n+=""+(f[r].values[t]||"")+"",n+="",n+='',n+=""+(f[r].sizes[t]||"")+"",n+="",a++;n+=""})}else if(c.opts._type===Z.SCATTER){n+="",n+='',n+="",n+="",n+='',n+='0';for(var s=1;s',n+=""+s+"",n+="";n+="",f[0].values.forEach(function(e,t){n+='',n+=''+e+"";for(var a=1;a',n+=""+(f[a].values[t]||0===f[a].values[t]?f[a].values[t]:"")+"",n+="";n+=""})}else{n+="",n+='',n+="",n+="",n+='',n+='0';for(var p=1;p<=f.length;p++)n+='',n+=""+p+"",n+="";n+="",f[0].labels.forEach(function(e,t){n+='',n+='',n+=""+(f.length+t+1)+"",n+="";for(var a=0;a',n+=""+(f[a].values[t]||"")+"",n+="";n+=""})}n+="",n+='',n+="\n",e.file("xl/worksheets/sheet1.xml",n),e.generateAsync({type:"base64"}).then(function(e){d.file("ppt/embeddings/Microsoft_Excel_Worksheet"+c.globalId+".xlsx",e,{base64:!0}),d.file("ppt/charts/_rels/"+c.fileName+".rels",''),d.file("ppt/charts/"+c.fileName,function(o){var l='',n=!1;l+='',l+='',l+="",o.opts.showTitle?(l+=qe({title:o.opts.title||"Chart Title",color:o.opts.titleColor,fontFace:o.opts.titleFontFace,fontSize:o.opts.titleFontSize||C,titleAlign:o.opts.titleAlign,titleBold:o.opts.titleBold,titlePos:o.opts.titlePos,titleRotate:o.opts.titleRotate}),l+=''):l+='';o.opts._type===Z.BAR3D&&(l+="",l+=' ',l+=' ',l+=' ',l+=' ',l+="");l+="",o.opts.layout?(l+="",l+=" ",l+=' ',l+=' ',l+=' ',l+=' ',l+=' ',l+=' ',l+=' ',l+=" ",l+=""):l+="";Array.isArray(o.opts._type)?o.opts._type.forEach(function(e){var t=me(o.opts,e.options),a=t.secondaryValAxis?R:S,r=t.secondaryCatAxis?_:E;n=n||t.secondaryValAxis,l+=je(e.type,e.data,t,a,r)}):l+=je(o.opts._type,o.data,o.opts,S,E);if(o.opts._type!==Z.PIE&&o.opts._type!==Z.DOUGHNUT){if(o.opts.valAxes&&1',r+=' ',r+=' ',r+=' ',r+="none"!==t.serGridLine.style?Je(t.serGridLine):"",t.showSerAxisTitle&&(r+=qe({color:t.serAxisTitleColor,fontFace:t.serAxisTitleFontFace,fontSize:t.serAxisTitleFontSize,titleRotate:t.serAxisTitleRotate,title:t.serAxisTitle||"Axis Title"}));r+=' ',r+=' ',r+=' ',r+=' ',r+=" ",r+=' ',r+=!1===t.serAxisLineShow?"":""+Ce(t.serAxisLineColor||b.color)+"",r+=' ',r+=" ",r+=" ",r+=" ",r+=" ",r+=" ",r+=" ",r+=" ",r+=" ",r+=' ',r+=" "+Ce(t.serAxisLabelColor||v)+"",r+=' ',r+=" ",r+=" ",r+=' ',r+=" ",r+=" ",r+=' ',r+=' ',t.serAxisLabelFrequency&&(r+=' ');t.serLabelFormatCode&&(["serAxisBaseTimeUnit","serAxisMajorTimeUnit","serAxisMinorTimeUnit"].forEach(function(e){!t[e]||"string"==typeof t[e]&&-1!==["days","months","years"].indexOf(e.toLowerCase())||(console.warn("`"+e+"` must be one of: 'days','months','years' !"),t[e]=null)}),t.serAxisBaseTimeUnit&&(r+=' '),t.serAxisMajorTimeUnit&&(r+=' '),t.serAxisMinorTimeUnit&&(r+=' '),t.serAxisMajorUnit&&(r+=' '),t.serAxisMinorUnit&&(r+=' '));return r+=""}(o.opts,F,S)))}o.opts.showDataTable&&(l+="",l+=' ',l+=' ',l+=' ',l+=' ',l+=" ",l+=" ",l+=' ',l+=" ",l+=" ",l+=" ",l+='\t ',l+="\t ",l+="\t ",l+='\t\t',l+=' ',l+='\t\t\t',l+='\t\t\t',l+='\t\t\t',l+='\t\t\t',l+="\t\t ",l+="\t\t",l+='\t\t',l+="\t ",l+="\t",l+="");l+=" ",l+=o.opts.fill?Pe(o.opts.fill):"",l+=o.opts.border?''+Pe(o.opts.border.color)+"":"",l+=" ",l+=" ",l+="",o.opts.showLegend&&(l+="",l+='',l+='',(o.opts.legendFontFace||o.opts.legendFontSize||o.opts.legendColor)&&(l+="",l+=" ",l+=" ",l+=" ",l+=" ",l+=o.opts.legendFontSize?'':"",o.opts.legendColor&&(l+=Pe(o.opts.legendColor)),o.opts.legendFontFace&&(l+=''),o.opts.legendFontFace&&(l+=''),l+=" ",l+=" ",l+=' ',l+=" ",l+=""),l+="");l+=' ',l+=' ',o.opts._type===Z.SCATTER&&(l+='');return l+="",l+="",l+=" ",l+=' ',l+=" ",l+="",l+='',l+=""}(c)),t(null)}).catch(function(e){a(e)})})}function je(r,o,l,e,t){var n="";switch(r){case Z.AREA:case Z.BAR:case Z.BAR3D:case Z.LINE:case Z.RADAR:n+="",r===Z.AREA&&"stacked"===l.barGrouping&&(n+=''),r!==Z.BAR&&r!==Z.BAR3D||(n+='',n+=''),r===Z.RADAR&&(n+=''),n+='';var i=-1;o.forEach(function(e){i++;var t=e.index;n+="",n+=' ',n+=' ',n+=" ",n+=" ",n+=" Sheet1!$"+Xe(t+1)+"$1",n+=' '+ue(e.name)+"",n+=" ",n+=" ",n+=' ';var a=l.chartColors?l.chartColors[i%l.chartColors.length]:null;n+=" ","transparent"===a?n+="":l.chartColorsOpacity?n+=""+Ce(a,'')+"":n+=""+Ce(a)+"",r===Z.LINE?0===l.lineSize?n+="":(n+=''+Ce(a)+"",n+=''):l.dataBorder&&(n+=''+Ce(l.dataBorder.color)+''),n+=Ke(l.shadow,w),n+=" ",r!==Z.RADAR&&(n+=" ",n+=' ',l.dataLabelBkgrdColors&&(n+=" ",n+=" "+Ce(a)+"",n+=" "),n+=" ",n+=" ",n+=" ",n+=" ",n+=' ',n+=" "+Ce(l.dataLabelColor||v)+"",n+=' ',n+=" ",n+=" ",n+=" ",l.dataLabelPosition&&(n+=' '),n+=' ',n+=' ',n+=' ',n+=' ',n+=' ',n+=' ',n+=' ',n+=" "),r!==Z.LINE&&r!==Z.RADAR||(n+="",n+=' ',l.lineDataSymbolSize&&(n+=' '),n+=" ",n+=" "+Ce(l.chartColors[t+1>l.chartColors.length?Math.floor(Math.random()*l.chartColors.length):t])+"",n+=' '+Ce(l.lineDataSymbolLineColor||a)+'',n+=" ",n+=" ",n+=""),(r===Z.BAR||r===Z.BAR3D)&&1===o.length&&l.chartColors!==I&&1",n+=' ',n+=' ',n+=' ',n+=" ",0===l.lineSize?n+="":r===Z.BAR?(n+="",n+=' ',n+=""):(n+="",n+=" ",n+=' ',n+=" ",n+=""),n+=Ke(l.shadow,w),n+=" ",n+=" "}),n+="",l.catLabelFormatCode?(n+=" ",n+=" Sheet1!$A$2:$A$"+(e.labels.length+1)+"",n+=" ",n+=" "+(l.catLabelFormatCode||"General")+"",n+=' ',e.labels.forEach(function(e,t){n+=''+ue(e)+""}),n+=" ",n+=" "):(n+=" ",n+=" Sheet1!$A$2:$A$"+(e.labels.length+1)+"",n+=" ",n+='\t ',e.labels.forEach(function(e,t){n+=''+ue(e)+""}),n+=" ",n+=" "),n+="",n+="",n+=" ",n+=" Sheet1!$"+Xe(t+1)+"$2:$"+Xe(t+1)+"$"+(e.labels.length+1)+"",n+=" ",n+=" "+(l.valLabelFormatCode||l.dataTableFormatCode||"General")+"",n+=' ',e.values.forEach(function(e,t){n+=''+(e||0===e?e:"")+""}),n+=" ",n+=" ",n+="",r===Z.LINE&&(n+=''),n+=""}),n+=" ",n+=' ',n+=" ",n+=" ",n+=" ",n+=" ",n+=' ',n+=" "+Ce(l.dataLabelColor||v)+"",n+=' ',n+=" ",n+=" ",n+=" ",l.dataLabelPosition&&(n+=' '),n+=' ',n+=' ',n+=' ',n+=' ',n+=' ',n+=' ',n+=' ',n+=" ",r===Z.BAR?(n+=' ',n+=' '):r===Z.BAR3D?(n+=' ',n+=' ',n+=' '):r===Z.LINE&&(n+=' '),n+=' ',n+=' ',n+=' ',n+="";break;case Z.SCATTER:n+="",n+='',n+='',i=-1,o.filter(function(e,t){return 0",n+=' ',n+=' ',n+=" ",n+=" ",n+=" Sheet1!$"+B[e+1]+"$1",n+=' '+a.name+"",n+=" ",n+=" ",n+=" ";var t=l.chartColors[i%l.chartColors.length];if("transparent"===t?n+="":l.chartColorsOpacity?n+=""+Ce(t,'')+"":n+=""+Ce(t)+"",0===l.lineSize?n+="":(n+=''+Ce(t)+"",n+=''),n+=Ke(l.shadow,w),n+=" ",n+="",n+=' ',l.lineDataSymbolSize&&(n+=' '),n+=" ",n+=" "+Ce(l.chartColors[e+1>l.chartColors.length?Math.floor(Math.random()*l.chartColors.length):e])+"",n+=' '+Ce(l.lineDataSymbolLineColor||l.chartColors[i%l.chartColors.length])+'',n+=" ",n+=" ",n+="",l.showLabel){var r=Ae("-xxxx-xxxx-xxxx-xxxxxxxxxxxx");!a.labels||"custom"!==l.dataLabelFormatScatter&&"customXY"!==l.dataLabelFormatScatter||(n+="",a.labels.forEach(function(e,t){"custom"!==l.dataLabelFormatScatter&&"customXY"!==l.dataLabelFormatScatter||(n+=" ",n+=' ',n+=" ",n+=" ",n+="\t\t\t",n+="\t\t\t\t",n+="\t\t\t",n+=" \t",n+=" \t",n+="\t\t\t\t",n+="\t\t\t\t\t",n+="\t\t\t\t",n+=" \t",n+=' \t\t',n+=" \t\t"+ue(e)+"",n+=" \t","customXY"!==l.dataLabelFormatScatter||/^ *$/.test(e)||(n+=" \t",n+=' \t\t',n+=" \t\t (",n+=" \t",n+=' \t',n+=' \t\t',n+=" \t\t",n+=" \t\t\t",n+=" \t\t",n+=" \t\t["+ue(a.name)+"",n+=" \t",n+=" \t",n+=' \t\t',n+=" \t\t, ",n+=" \t",n+=' \t',n+=' \t\t',n+=" \t\t",n+=" \t\t\t",n+=" \t\t",n+=" \t\t["+ue(a.name)+"]",n+=" \t",n+=" \t",n+=' \t\t',n+=" \t\t)",n+=" \t",n+=' \t'),n+=" \t",n+=" ",n+=" ",n+=" ",n+=" \t",n+=" \t",n+=" \t\t",n+=" \t",n+=" \t",n+=" ",l.dataLabelPosition&&(n+=' '),n+=' ',n+=' ',n+=' ',n+=' ',n+=' ',n+=' ',n+='\t ',n+=" ",n+=' ',n+=' ',n+='\t\t\t',n+=" ",n+="\t\t",n+="")}),n+=""),"XY"===l.dataLabelFormatScatter&&(n+="",n+="\t",n+="\t\t",n+="\t\t",n+="\t\t\t",n+="\t\t",n+="\t \t",n+="\t",n+="\t",n+="\t\t",n+="\t\t\t",n+="\t\t",n+="\t\t",n+="\t\t",n+="\t \t",n+=" \t\t",n+="\t \t",n+='\t \t',n+="\t\t",n+="\t",l.dataLabelPosition&&(n+=' '),n+='\t',n+=' ',n+=' ',n+='\t',n+='\t',n+='\t',n+="\t",n+='\t\t',n+='\t\t\t',n+="\t\t",n+="\t",n+="")}1===o.length&&l.chartColors!==I&&a.values.forEach(function(e,t){var a=e<0?l.invertedColors||l.chartColors||I:l.chartColors||[];n+=" ",n+=' ',n+=' ',n+=' ',n+=" ",0===l.lineSize?n+="":(n+="",n+=' ',n+=""),n+=Ke(l.shadow,w),n+=" ",n+=" "}),n+="",n+=" ",n+=" Sheet1!$A$2:$A$"+(o[0].values.length+1)+"",n+=" ",n+=" General",n+=' ',o[0].values.forEach(function(e,t){n+=''+(e||0===e?e:"")+""}),n+=" ",n+=" ",n+="",n+="",n+=" ",n+=" Sheet1!$"+Xe(e+1)+"$2:$"+Xe(e+1)+"$"+(o[0].values.length+1)+"",n+=" ",n+=" General",n+=' ',o[0].values.forEach(function(e,t){n+=''+(a.values[t]||0===a.values[t]?a.values[t]:"")+""}),n+=" ",n+=" ",n+="",n+='',n+=""}),n+=" ",n+=' ',n+=" ",n+=" ",n+=" ",n+=" ",n+=' ',n+=" "+Ce(l.dataLabelColor||v)+"",n+=' ',n+=" ",n+=" ",n+=" ",l.dataLabelPosition&&(n+=' '),n+=' ',n+=' ',n+=' ',n+=' ',n+=' ',n+=' ',n+=" ",n+=' ',n+=' ',n+="";break;case Z.BUBBLE:n+="",n+='',i=-1;var s=1;o.filter(function(e,t){return 0",n+=' ',n+=' ',n+=" ",n+=" ",n+=" Sheet1!$"+B[s]+"$1",n+=' '+a.name+"",n+=" ",n+=" ",n+="";var t=l.chartColors[i%l.chartColors.length];"transparent"===t?n+="":l.chartColorsOpacity?n+=""+Ce(t,'')+"":n+=""+Ce(t)+"",0===l.lineSize?n+="":l.dataBorder?n+=''+Ce(l.dataBorder.color)+'':(n+=''+Ce(t)+"",n+=''),n+=Ke(l.shadow,w),n+="",n+="",n+=" ",n+=" Sheet1!$A$2:$A$"+(o[0].values.length+1)+"",n+=" ",n+=" General",n+=' ',o[0].values.forEach(function(e,t){n+=''+(e||0===e?e:"")+""}),n+=" ",n+=" ",n+="",n+="",n+=" ",n+=" Sheet1!$"+Xe(s)+"$2:$"+Xe(s)+"$"+(o[0].values.length+1)+"",s++,n+=" ",n+=" General",n+=' ',o[0].values.forEach(function(e,t){n+=''+(a.values[t]||0===a.values[t]?a.values[t]:"")+""}),n+=" ",n+=" ",n+="",n+=" ",n+=" ",n+=" Sheet1!$"+Xe(s)+"$2:$"+Xe(e+2)+"$"+(a.sizes.length+1)+"",s++,n+=" ",n+=" General",n+='\t ',a.sizes.forEach(function(e,t){n+=''+(e||"")+""}),n+=" ",n+=" ",n+=" ",n+=' ',n+=""}),n+=" ",n+=' ',n+=" ",n+=" ",n+=" ",n+=" ",n+=' ',n+=" "+Ce(l.dataLabelColor||v)+"",n+=' ',n+=" ",n+=" ",n+=" ",l.dataLabelPosition&&(n+=' '),n+=' ',n+=' ',n+=' ',n+=' ',n+=' ',n+=' ',n+=" ",n+=' ',n+=' ',n+="";break;case Z.DOUGHNUT:case Z.PIE:var a=o[0];n+="",n+=' ',n+="",n+=' ',n+=' ',n+=" ",n+=" ",n+=" Sheet1!$B$1",n+=" ",n+=' ',n+=' '+ue(a.name)+"",n+=" ",n+=" ",n+=" ",n+=" ",n+=' ',n+=' ',l.dataNoEffects?n+="":n+=Ke(l.shadow,w),n+=" ",a.labels.forEach(function(e,t){n+="",n+=' ',n+=' ',n+=" ",n+=""+Ce(l.chartColors[t+1>l.chartColors.length?Math.floor(Math.random()*l.chartColors.length):t])+"",l.dataBorder&&(n+=''+Ce(l.dataBorder.color)+''),n+=Ke(l.shadow,w),n+=" ",n+=""}),n+="",a.labels.forEach(function(e,t){n+="",n+=' ',n+=' ',n+=" ",n+=" ",n+=" ",n+=' ',n+=" "+Ce(l.dataLabelColor||v)+"",n+=' ',n+=" ",n+=" ",n+=" ",r===Z.PIE&&l.dataLabelPosition&&(n+=' '),n+=' ',n+=' ',n+=' ',n+=' ',n+=' ',n+=' ',n+=" "}),n+=' ',n+="\t",n+="\t ",n+="\t ",n+="\t ",n+="\t\t",n+='\t\t ',n+='\t\t\t',n+="\t\t ",n+="\t\t",n+="\t ",n+="\t",n+=r===Z.PIE?'':"",n+='\t',n+='\t',n+='\t',n+='\t',n+='\t',n+='\t',n+=' ',n+="",n+="",n+=" ",n+=" Sheet1!$A$2:$A$"+(a.labels.length+1)+"",n+=" ",n+='\t ',a.labels.forEach(function(e,t){n+=''+ue(e)+""}),n+=" ",n+=" ",n+="",n+=" ",n+=" ",n+=" Sheet1!$B$2:$B$"+(a.labels.length+1)+"",n+=" ",n+='\t ',a.values.forEach(function(e,t){n+=''+(e||0===e?e:"")+""}),n+=" ",n+=" ",n+=" ",n+=" ",n+=' ',r===Z.DOUGHNUT&&(n+=' '),n+="";break;default:n+=""}return n}function Qe(t,e,a){var r="";return t._type===Z.SCATTER||t._type===Z.BUBBLE?r+="":r+="",r+=' ',r+=" ",r+='',!t.catAxisMaxVal&&0!==t.catAxisMaxVal||(r+=''),!t.catAxisMinVal&&0!==t.catAxisMinVal||(r+=''),r+="",r+=' ',r+=' ',r+="none"!==t.catGridLine.style?Je(t.catGridLine):"",t.showCatAxisTitle&&(r+=qe({color:t.catAxisTitleColor,fontFace:t.catAxisTitleFontFace,fontSize:t.catAxisTitleFontSize,titleRotate:t.catAxisTitleRotate,title:t.catAxisTitle||"Axis Title"})),t._type===Z.SCATTER||t._type===Z.BUBBLE?r+=' ':r+=' ',t._type===Z.SCATTER?(r+=' ',r+=' ',r+=' '):(r+=' ',r+=' ',r+=' '),r+=" ",r+=' ',r+=!1===t.catAxisLineShow?"":""+Ce(t.catAxisLineColor||b.color)+"",r+=' ',r+=" ",r+=" ",r+=" ",r+=" ",r+=" ",r+=" ",r+=" ",r+=" ",r+=' ',r+=" "+Ce(t.catAxisLabelColor||v)+"",r+=' ',r+=" ",r+=" ",r+=' ',r+=" ",r+=" ",r+=' ',r+=" ',r+=' ',r+=' ',r+=' ',t.catAxisLabelFrequency&&(r+=' '),!t.catLabelFormatCode&&t._type!==Z.SCATTER&&t._type!==Z.BUBBLE||(t.catLabelFormatCode&&(["catAxisBaseTimeUnit","catAxisMajorTimeUnit","catAxisMinorTimeUnit"].forEach(function(e){!t[e]||"string"==typeof t[e]&&-1!==["days","months","years"].indexOf(t[e].toLowerCase())||(console.warn("`"+e+"` must be one of: 'days','months','years' !"),t[e]=null)}),t.catAxisBaseTimeUnit&&(r+=''),t.catAxisMajorTimeUnit&&(r+=''),t.catAxisMinorTimeUnit&&(r+='')),t.catAxisMajorUnit&&(r+=''),t.catAxisMinorUnit&&(r+='')),t._type===Z.SCATTER||t._type===Z.BUBBLE?r+="":r+="",r}function Ye(e,t){var a=t===S?"col"===e.barDir?"l":"b":"col"!==e.barDir?"r":"t",r="",o="r"==a||"t"==a?"max":"autoZero",l=t===S?E:_;return r+="",r+=' ',r+=" ",e.valAxisLogScaleBase&&(r+=' '),r+=' ',!e.valAxisMaxVal&&0!==e.valAxisMaxVal||(r+=''),!e.valAxisMinVal&&0!==e.valAxisMinVal||(r+=''),r+=" ",r+=' ',r+=' ',"none"!==e.valGridLine.style&&(r+=Je(e.valGridLine)),e.showValAxisTitle&&(r+=qe({color:e.valAxisTitleColor,fontFace:e.valAxisTitleFontFace,fontSize:e.valAxisTitleFontSize,titleRotate:e.valAxisTitleRotate,title:e.valAxisTitle||"Axis Title"})),r+="',e._type===Z.SCATTER?(r+=' ',r+=' ',r+=' '):(r+=' ',r+=' ',r+=' '),r+=" ",r+=' ',r+=!1===e.valAxisLineShow?"":""+Ce(e.valAxisLineColor||b.color)+"",r+=' ',r+=" ",r+=" ",r+=" ",r+=" ",r+=" ",r+=" ",r+=" ",r+=" ",r+=' ',r+=" "+Ce(e.valAxisLabelColor||v)+"",r+=' ',r+=" ",r+=" ",r+=' ',r+=" ",r+=" ",r+=' ',r+=' ',r+=' ',e.valAxisMajorUnit&&(r+=' '),e.valAxisDisplayUnit&&(r+=''+(e.valAxisDisplayUnitLabel?"":"")+""),r+=""}function qe(e){var t="left"===e.titleAlign||"right"===e.titleAlign?'':"",a=e.titleRotate?'':"",r=e.fontSize?'sz="'+Math.round(100*e.fontSize)+'"':"",o=!0===e.titleBold?1:0,l=e.titlePos&&e.titlePos.x&&e.titlePos.y?'':"";return"\n\t \n\t \n\t "+a+"\n\t \n\t \n\t "+t+"\n\t \n\t '+Ce(e.color||v)+'\n\t \n\t \n\t \n\t \n\t \n\t '+Ce(e.color||v)+'\n\t \n\t \n\t '+(ue(e.title)||"")+"\n\t \n\t \n\t \n\t \n\t "+l+'\n\t \n\t'}function Xe(e){var t="";return e<=26?t=B[e]:(t+=B[Math.floor(e/B.length)-1],t+=B[e%B.length]),t}function Ke(e,t){if(!e)return"";if("object"!=typeof e)return console.warn("`shadow` options must be an object. Ex: `{shadow: {type:'none'}}`"),"";var a="",r=me(t,e),o=r.type||"outer",l=ye(r.blur),n=ye(r.offset),i=Math.round(6e4*r.angle),s=r.color,p=Math.round(1e5*r.opacity);return a+="',a+='',a+='',a+="",a+=""}function Je(e){var t="";return t+=" ",t+=' ',t+=' ',t+=' ',t+=" ",t+=" ",t+=""}function Ze(e){var l="undefined"!=typeof require&&"undefined"==typeof window?require("fs"):null,n="undefined"!=typeof require&&"undefined"==typeof window?require("https"):null,t=[];return e._relsMedia.filter(function(e){return"online"!==e.type&&!e.data&&(!e.path||e.path&&-1===e.path.indexOf("preencoded"))}).forEach(function(o){t.push(new Promise(function(a,r){if(l&&0!==o.path.indexOf("http"))try{var e=l.readFileSync(o.path);o.data=Buffer.from(e).toString("base64"),a("done")}catch(e){o.data=de,r('ERROR: Unable to read media: "'+o.path+'"\n'+e.toString())}else if(l&&n&&0===o.path.indexOf("http"))n.get(o.path,function(e){var t="";e.setEncoding("binary"),e.on("data",function(e){return t+=e}),e.on("end",function(){o.data=Buffer.from(t,"binary").toString("base64"),a("done")}),e.on("error",function(e){o.data=de,r("ERROR! Unable to load image (https.get): "+o.path)})});else{var t=new XMLHttpRequest;t.onload=function(){var e=new FileReader;e.onloadend=function(){o.data=e.result,o.isSvgPng?$e(o).then(function(){a("done")}).catch(function(e){r(e)}):a("done")},e.readAsDataURL(t.response)},t.onerror=function(e){o.data=de,r("ERROR! Unable to load image (xhr.onerror): "+o.path)},t.open("GET",o.path),t.responseType="blob",t.send()}}))}),e._relsMedia.filter(function(e){return e.isSvgPng&&e.data}).forEach(function(e){l?(e.data=de,t.push(Promise.resolve().then(function(){return"done"}))):t.push($e(e))}),t}function $e(o){return new Promise(function(a,t){var r=new Image;r.onload=function(){r.width+r.height===0&&r.onerror("h/w=0");var e=document.createElement("CANVAS"),t=e.getContext("2d");e.width=r.width,e.height=r.height,t.drawImage(r,0,0);try{o.data=e.toDataURL(o.type),a("done")}catch(e){r.onerror(e)}e=null},r.onerror=function(e){o.data=de,t("ERROR! Unable to load image (image.onerror): "+o.path)},r.src="string"==typeof o.data?o.data:de})}function et(){var o=this;this._version="3.7.0",this._alignH=Q,this._alignV=q,this._chartType=z,this._outputType=U,this._schemeColor=V,this._shapeType=W,this._charts=Z,this._colors=ee,this._shapes=K,this.addNewSlide=function(e){var t=0')})}),r+='',r+='',r+='',r+='',e.forEach(function(e,t){r+='',r+='',e._relsChart.forEach(function(e){r+=' '})}),r+='',r+='',r+='',r+='',t.forEach(function(e,t){r+='',(e._relsChart||[]).forEach(function(e){r+=' '})}),e.forEach(function(e,t){r+=' '}),a._relsChart.forEach(function(e){r+=' '}),a._relsMedia.forEach(function(e){"image"!==e.type&&"online"!==e.type&&"chart"!==e.type&&"m4v"!==e.extn&&-1===r.indexOf(e.type)&&(r+=' ')}),r+=' ',r+=' ',r+=""}(o.slides,o.slideLayouts,o.masterSlide)),r.file("_rels/.rels",''+g+'\n\t\t\n\t\t\n\t\t\n\t\t'),r.file("docProps/app.xml",function(e,t){return''+g+'\n\t0\n\t0\n\tMicrosoft Office PowerPoint\n\tOn-screen Show (16:9)\n\t0\n\t'+e.length+"\n\t"+e.length+'\n\t0\n\t0\n\tfalse\n\t\n\t\t\n\t\t\tFonts Used\n\t\t\t2\n\t\t\tTheme\n\t\t\t1\n\t\t\tSlide Titles\n\t\t\t'+e.length+'\n\t\t\n\t\n\t\n\t\t\n\t\t\tArial\n\t\t\tCalibri\n\t\t\tOffice Theme\n\t\t\t'+e.map(function(e,t){return"Slide "+(t+1)+"\n"}).join("")+"\n\t\t\n\t\n\t"+t+"\n\tfalse\n\tfalse\n\tfalse\n\t16.0000\n\t"}(o.slides,o.company)),r.file("docProps/core.xml",function(e,t,a,r){return'\n\t\n\t\t'+ue(e)+"\n\t\t"+ue(t)+"\n\t\t"+ue(a)+"\n\t\t"+ue(a)+"\n\t\t"+r+'\n\t\t'+(new Date).toISOString().replace(/\.\d\d\dZ/,"Z")+'\n\t\t'+(new Date).toISOString().replace(/\.\d\d\dZ/,"Z")+"\n\t"}(o.title,o.subject,o.author,o.revision)),r.file("ppt/_rels/presentation.xml.rels",function(e){var t=1,a=''+g;a+='',a+='';for(var r=1;r<=e.length;r++)a+='';return a+=''}(o.slides)),r.file("ppt/theme/theme1.xml",''+g+''),r.file("ppt/presentation.xml",function(e){var t=''+g+'';t+='',t+="",e.slides.forEach(function(e){return t+=''}),t+="",t+='',t+='',t+='',t+="";for(var a=1;a<10;a++)t+="";return t+="",e.sections&&0',t+='',e.sections.forEach(function(e){t+='',e._slides.forEach(function(e){return t+=''}),t+=""}),t+="",t+='',t+=""),t+=""}(o)),r.file("ppt/presProps.xml",''+g+''),r.file("ppt/tableStyles.xml",''+g+''),r.file("ppt/viewProps.xml",''+g+''),o.slideLayouts.forEach(function(e,t){r.file("ppt/slideLayouts/slideLayout"+(t+1)+".xml",function(e){return'\n\t\t\n\t\t'+Se(e)+"\n\t\t"}(e)),r.file("ppt/slideLayouts/_rels/slideLayout"+(t+1)+".xml.rels",function(e,t){return Re(t[e-1],[{target:"../slideMasters/slideMaster1.xml",type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster"}])}(t+1,o.slideLayouts))}),o.slides.forEach(function(e,t){r.file("ppt/slides/slide"+(t+1)+".xml",function(e){return''+g+'"+Se(e)+""}(e)),r.file("ppt/slides/_rels/slide"+(t+1)+".xml.rels",function(e,t,a){return Re(e[a-1],[{target:"../slideLayouts/slideLayout"+function(e,t,a){for(var r=0;r\n\t\t\n\t\t\t\n\t\t\t\n\t\t'}(t+1))}),r.file("ppt/slideMasters/slideMaster1.xml",function(a,e){var t=e.map(function(e,t){return''}),r=''+g;return r+='',r+=Se(a),r+='',r+=""+t.join("")+"",r+='',r+=' ',r+=""}(o.masterSlide,o.slideLayouts)),r.file("ppt/slideMasters/_rels/slideMaster1.xml.rels",function(e,t){var a=t.map(function(e,t){return{target:"../slideLayouts/slideLayout"+(t+1)+".xml",type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout"}});return a.push({target:"../theme/theme1.xml",type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme"}),Re(e,a)}(o.masterSlide,o.slideLayouts)),r.file("ppt/notesMasters/notesMaster1.xml",''+g+'7/23/19Click to edit Master text stylesSecond levelThird levelFourth levelFifth level‹#›'),r.file("ppt/notesMasters/_rels/notesMaster1.xml.rels",''+g+'\n\t\t\n\t\t'),o.slideLayouts.forEach(function(e){o.createChartMediaRels(e,r,t)}),o.slides.forEach(function(e){o.createChartMediaRels(e,r,t)}),o.createChartMediaRels(o.masterSlide,r,t),Promise.all(t).then(function(){return"STREAM"===e.outputType?r.generateAsync({type:"nodebuffer",compression:e.compression?"DEFLATE":"STORE"}):e.outputType?r.generateAsync({type:e.outputType}):r.generateAsync({type:"blob",compression:e.compression?"DEFLATE":"STORE"})})})},this.LAYOUTS={LAYOUT_4x3:{name:"screen4x3",width:9144e3,height:6858e3},LAYOUT_16x9:{name:"screen16x9",width:9144e3,height:5143500},LAYOUT_16x10:{name:"screen16x10",width:9144e3,height:5715e3},LAYOUT_WIDE:{name:"custom",width:12192e3,height:6858e3}},this._author="PptxGenJS",this._company="PptxGenJS",this._revision="1",this._subject="PptxGenJS Presentation",this._title="PptxGenJS Presentation",this._presLayout={name:this.LAYOUTS[d].name,_sizeW:this.LAYOUTS[d].width,_sizeH:this.LAYOUTS[d].height,width:this.LAYOUTS[d].width,height:this.LAYOUTS[d].height},this._rtlMode=!1,this._slideLayouts=[{_margin:L,_name:r,_presLayout:this._presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slide:null,_slideNum:1e3,_slideNumberProps:null,_slideObjects:[]}],this._slides=[],this._sections=[],this._masterSlide={addChart:null,addImage:null,addMedia:null,addNotes:null,addShape:null,addTable:null,addText:null,_name:null,_presLayout:this._presLayout,_rId:null,_rels:[],_relsChart:[],_relsMedia:[],_slideId:null,_slideLayout:null,_slideNum:null,_slideNumberProps:null,_slideObjects:[]}}return Object.defineProperty(et.prototype,"layout",{get:function(){return this._layout},set:function(e){var t=this.LAYOUTS[e];if(!t)throw new Error("UNKNOWN-LAYOUT");this._layout=e,this._presLayout=t},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,"version",{get:function(){return this._version},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,"author",{get:function(){return this._author},set:function(e){this._author=e},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,"company",{get:function(){return this._company},set:function(e){this._company=e},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,"revision",{get:function(){return this._revision},set:function(e){this._revision=e},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,"subject",{get:function(){return this._subject},set:function(e){this._subject=e},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,"title",{get:function(){return this._title},set:function(e){this._title=e},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,"rtlMode",{get:function(){return this._rtlMode},set:function(e){this._rtlMode=e},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,"masterSlide",{get:function(){return this._masterSlide},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,"slides",{get:function(){return this._slides},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,"sections",{get:function(){return this._sections},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,"slideLayouts",{get:function(){return this._slideLayouts},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,"AlignH",{get:function(){return this._alignH},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,"AlignV",{get:function(){return this._alignV},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,"ChartType",{get:function(){return this._chartType},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,"OutputType",{get:function(){return this._outputType},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,"presLayout",{get:function(){return this._presLayout},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,"SchemeColor",{get:function(){return this._schemeColor},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,"ShapeType",{get:function(){return this._shapeType},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,"charts",{get:function(){return this._charts},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,"colors",{get:function(){return this._colors},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,"shapes",{get:function(){return this._shapes},enumerable:!1,configurable:!0}),et.prototype.stream=function(e){var t=!("object"!=typeof e||!e.hasOwnProperty("compression"))&&e.compression;return this.exportPresentation({compression:t,outputType:"STREAM"})},et.prototype.write=function(e){var t="object"==typeof e&&e.hasOwnProperty("outputType")?e.outputType:e||null,a=!("object"!=typeof e||!e.hasOwnProperty("compression"))&&e.compression;return this.exportPresentation({compression:a,outputType:t})},et.prototype.writeFile=function(e){var t=this,r="undefined"!=typeof require&&"undefined"==typeof window?require("fs"):null;"string"==typeof e&&console.log("Warning: `writeFile(filename)` is deprecated - please use `WriteFileProps` argument (v3.5.0)");var a="object"==typeof e&&e.hasOwnProperty("fileName")?e.fileName:"string"==typeof e?e:"",o=!("object"!=typeof e||!e.hasOwnProperty("compression"))&&e.compression,l=a?a.toString().toLowerCase().endsWith(".pptx")?a:a+".pptx":"Presentation.pptx";return this.exportPresentation({compression:o,outputType:r?"nodebuffer":null}).then(function(e){return r?new Promise(function(t,a){r.writeFile(l,e,function(e){e?a(e):t(l)})}):t.writeFileToBrowser(l,e)})},et.prototype.addSection=function(e){e?e.title||console.warn("addSection requires a title"):console.warn("addSection requires an argument");var t={_type:"user",_slides:[],title:e.title};e.order?this.sections.splice(e.order,0,t):this._sections.push(t)},et.prototype.addSlide=function(t){var a="string"==typeof t?t:t&&t.masterName?t.masterName:"",e={_name:this.LAYOUTS[d].name,_presLayout:this.presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slideNum:this.slides.length+1};if(a){var r=this.slideLayouts.filter(function(e){return e._name===a})[0];r&&(e=r)}var o=new We({addSlide:this.addNewSlide,getSlide:this.getSlide,presLayout:this.presLayout,setSlideNum:this.setSlideNumber,slideId:this.slides.length+256,slideRId:this.slides.length+2,slideNumber:this.slides.length+1,slideLayout:e});if(this._slides.push(o),t&&t.sectionTitle){var l=this.sections.filter(function(e){return e.title===t.sectionTitle})[0];l?l._slides.push(o):console.warn('addSlide: unable to find section with title: "'+t.sectionTitle+'"')}else if(this.sections&&0 opts.y = "+o.y),a.addTable(e.rows,{x:o.x||d[3],y:o.y,w:Number(i)/O,colW:p,autoPage:!1}),o.addImage&&a.addImage({path:o.addImage.url,x:o.addImage.x,y:o.addImage.y,w:o.addImage.w,h:o.addImage.h}),o.addShape&&a.addShape(o.addShape.shape,o.addShape.options||{}),o.addTable&&a.addTable(o.addTable.rows,o.addTable.options||{}),o.addText&&a.addText(o.addText.text,o.addText.options||{})})}(this,e,t,t&&t.masterSlideName?this.slideLayouts.filter(function(e){return e._name===t.masterSlideName})[0]:null)},et}(); +/* PptxGenJS 3.7.1 @ 2021-07-22T03:01:23.194Z */ +var PptxGenJS=function(){"use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var h=e(JSZip),i=function(){return(i=Object.assign||function(e){for(var t,a=1,r=arguments.length;a/g,">").replace(/"/g,""").replace(/'/g,"'")}function ge(e){return"number"==typeof e&&100"+t+"
":""}function Pe(e){var t="solid",a="",r="",o="";if(e)switch("string"==typeof e?a=e:(e.type&&(t=e.type),e.color&&(a=e.color),e.alpha&&(r+=''),e.transparency&&(r+='')),t){case"solid":o+=""+Ce(a,r)+"";break;default:o+=""}return o}function we(e){return e._rels.length+e._relsChart.length+e._relsMedia.length+1}function Le(s,p,c,e){void 0===s&&(s=[]),void 0===p&&(p={});var t,d=L,f=0,h=1*O,a=0,A=[{rows:[]}];if(p.verbose&&(console.log("-- VERBOSE MODE ----------------------------------"),console.log(".. (PARAMETERS)"),console.log("presLayout.height ......... = "+c.height/O),console.log("tabOpts.h ................. = "+p.h),console.log("tabOpts.w ................. = "+p.w),console.log("tabOpts.colW .............. = "+p.colW),console.log("tabOpts.slideMargin ....... = "+(p.slideMargin||"")),console.log(".. (/PARAMETERS)")),p.slideMargin||0===p.slideMargin||(p.slideMargin=L[0]),e&&void 0!==e._margin?Array.isArray(e._margin)?d=e._margin:isNaN(Number(e._margin))||(d=[Number(e._margin),Number(e._margin),Number(e._margin),Number(e._margin)]):!p.slideMargin&&0!==p.slideMargin||(Array.isArray(p.slideMargin)?d=p.slideMargin:isNaN(p.slideMargin)||(d=[p.slideMargin,p.slideMargin,p.slideMargin,p.slideMargin])),p.verbose&&console.log("arrInchMargins ......... = "+d.toString()),(s[0]||[]).forEach(function(e){var t=(e=e||{_type:oe.tablecell}).options||null;a+=Number(t&&t.colspan?t.colspan:1)}),p.verbose&&console.log("numCols ................ = "+a),!p.w&&p.colW&&(Array.isArray(p.colW)?p.colW.forEach(function(e){"number"!=typeof p.w?p.w=0+e:p.w+=e}):p.w=p.colW*a),t="number"==typeof p.w?ge(p.w):c.width-ge(("number"==typeof p.x?p.x:d[1])+d[3]),p.verbose&&console.log("emuSlideTabW (in) ...... = "+(t/O).toFixed(1)),!p.colW||!Array.isArray(p.colW))if(p.colW&&!isNaN(Number(p.colW))){var r=[];(s[0]||[]).forEach(function(){return r.push(p.colW)}),p.colW=[],r.forEach(function(e){Array.isArray(p.colW)&&p.colW.push(e)})}else{p.colW=[];for(var o=0;ot?t=ye(e.options.margin[0]):p.margin&&p.margin[0]&&ye(p.margin[0])>t&&(t=ye(p.margin[0])),e.options.margin&&e.options.margin[2]&&ye(e.options.margin[2])>a?a=ye(e.options.margin[2]):p.margin&&p.margin[2]&&ye(p.margin[2])>a&&(a=ye(p.margin[2]))}),h=p.h&&"number"==typeof p.h?p.h:c.height-ge(d[0]+d[2])-(p.y&&"number"==typeof p.y?p.y:0),p.verbose&&console.log("emuSlideTabH (in) ...... = "+(h/O).toFixed(1)),1 "+h/O),A.push({rows:[]}),f=0,(p.addHeaderToEach||p.autoPageRepeatHeader)&&p._arrObjTabHeadRows){var t=[];n.forEach(function(e){t.push({type:oe.tablecell,text:e._lines.join(""),options:e.options})}),s.unshift(t);var a=[];return p._arrObjTabHeadRows.forEach(function(e){var t=[];e.forEach(function(e){return t.push(e)}),a.push(t)}),s=N(N([],a),s),"break"}var e=A[A.length-1],r=[];o.forEach(function(e){r.push({type:oe.tablecell,text:"",options:e.options})}),e.rows.push(r)}n.forEach(function(e,t){if(0l&&(l=e._lineHeight)}}),f+=l,p.verbose&&console.log("- SLIDE ["+A.length+"]: ROW ["+m+"]: one line added ... emuTabCurrH = "+(f/O).toFixed(2))};0'},contain:function(e,t){var a=e.h/e.w,r=a'},crop:function(e,t){var a=t.x,r=e.w-(t.x+t.w),o=t.y,l=e.h-(t.y+t.h);return''}};function Se(F){var B=F._name?'':"",I=1;return F._bkgdImgRid?B+='':F.background&&F.background.color?B+=""+Pe(F.background)+"":!F.bkgd&&F._name&&F._name===r&&(B+=''),B+="",B+='',B+='',B+='',F._slideObjects.forEach(function(r,e){var t,a,o=0,l=0,n=he("75%","X",F._presLayout),i=0,s="";switch(void 0!==F._slideLayout&&void 0!==F._slideLayout._slideObjects&&r.options&&r.options.placeholder&&(a=F._slideLayout._slideObjects.filter(function(e){return e.options.placeholder===r.options.placeholder})[0]),r.options=r.options||{},void 0!==r.options.x&&(o=he(r.options.x,"X",F._presLayout)),void 0!==r.options.y&&(l=he(r.options.y,"Y",F._presLayout)),void 0!==r.options.w&&(n=he(r.options.w,"X",F._presLayout)),void 0!==r.options.h&&(i=he(r.options.h,"Y",F._presLayout)),a&&(!a.options.x&&0!==a.options.x||(o=he(a.options.x,"X",F._presLayout)),!a.options.y&&0!==a.options.y||(l=he(a.options.y,"Y",F._presLayout)),!a.options.w&&0!==a.options.w||(n=he(a.options.w,"X",F._presLayout)),!a.options.h&&0!==a.options.h||(i=he(a.options.h,"Y",F._presLayout))),r.options.flipH&&(s+=' flipH="1"'),r.options.flipV&&(s+=' flipV="1"'),r.options.rotate&&(s+=' rot="'+be(r.options.rotate)+'"'),r._type){case oe.table:var p,c=r.arrTabRows,f=r.options,d=0,h=0;c[0].forEach(function(e){p=e.options||null,d+=p&&p.colspan?Number(p.colspan):1});var A='';if(A+=' ',A+='',A+='',Array.isArray(f.colW)){A+="";for(var m=0;m'}A+=""}else{h=f.colW?f.colW:O,r.options.w&&!f.colW&&(h=Math.round(("number"==typeof r.options.w?r.options.w:1)/d)),A+="";for(var g=0;g';A+=""}c.forEach(function(l){for(var n,i,s,e=function(e){var t=l[e],a=null===(n=t.options)||void 0===n?void 0:n.colspan,r=null===(i=t.options)||void 0===i?void 0:i.rowspan;if(a&&1',e.forEach(function(e){var t,a,r=e,o={rowSpan:1<(null===(t=r.options)||void 0===t?void 0:t.rowspan)?r.options.rowspan:void 0,gridSpan:1<(null===(a=r.options)||void 0===a?void 0:a.colspan)?r.options.colspan:void 0,vMerge:r._vmerge?1:void 0,hMerge:r._hmerge?1:void 0},l=Object.keys(o).map(function(e){return[e,o[e]]}).filter(function(e){return e[0],!!e[1]}).map(function(e){return e[0]+'="'+e[1]+'"'}).join(" ");if(l=l&&" "+l,r._hmerge||r._vmerge)A+="";else{var n=r.options||{};r.options=n,["align","bold","border","color","fill","fontFace","fontSize","margin","underline","valign"].forEach(function(e){f[e]&&!n[e]&&0!==n[e]&&(n[e]=f[e])});var i=n.valign?' anchor="'+n.valign.replace(/^c$/i,"ctr").replace(/^m$/i,"ctr").replace("center","ctr").replace("middle","ctr").replace("top","t").replace("btm","b").replace("bottom","b")+'"':"",s=r._optImp&&r._optImp.fill&&r._optImp.fill.color?r._optImp.fill.color:r._optImp&&r._optImp.fill&&"string"==typeof r._optImp.fill?r._optImp.fill:"",p=(s=s||n.fill&&n.fill.color?n.fill.color:n.fill&&"string"==typeof n.fill?n.fill:"")?""+Ce(s)+"":"",c=0===n.margin||n.margin?n.margin:k;Array.isArray(c)||"number"!=typeof c||(c=[c,c,c,c]);var d=' marL="'+ye(c[3])+'" marR="'+ye(c[1])+'" marT="'+ye(c[0])+'" marB="'+ye(c[2])+'"';A+=""+Fe(r)+"",n.border&&Array.isArray(n.border)&&[{idx:3,name:"lnL"},{idx:1,name:"lnR"},{idx:0,name:"lnT"},{idx:2,name:"lnB"}].forEach(function(e){"none"!==n.border[e.idx].type?(A+="',A+=""+Ce(n.border[e.idx].color)+"",A+='',A+=""):A+=""}),A+=p,A+=" ",A+=" "}}),A+=""}),A+=" ",A+=" ",A+=" ",B+=A+="",I++;break;case oe.text:case oe.placeholder:var y=r.options.shapeName?ue(r.options.shapeName):"Object"+(e+1);if(r.options.line||0!==i||(i=.3*O),r.options._bodyProp||(r.options._bodyProp={}),r.options.margin&&Array.isArray(r.options.margin)?(r.options._bodyProp.lIns=ye(r.options.margin[0]||0),r.options._bodyProp.rIns=ye(r.options.margin[1]||0),r.options._bodyProp.bIns=ye(r.options.margin[2]||0),r.options._bodyProp.tIns=ye(r.options.margin[3]||0)):"number"==typeof r.options.margin&&(r.options._bodyProp.lIns=ye(r.options.margin),r.options._bodyProp.rIns=ye(r.options.margin),r.options._bodyProp.bIns=ye(r.options.margin),r.options._bodyProp.tIns=ye(r.options.margin)),B+="",B+='',r.options.hyperlink&&r.options.hyperlink.url&&(B+=''),r.options.hyperlink&&r.options.hyperlink.slide&&(B+=''),B+="",B+="':"/>"),B+=""+("placeholder"===r._type?Be(r):Be(a))+"",B+="",B+="",B+='',B+='',"custGeom"===r.shape)B+="",B+="",B+="",B+="",B+="",B+="",B+='',B+="",B+='',null===(t=r.options.points)||void 0===t||t.map(function(e,t){if("curve"in e)switch(e.curve.type){case"arc":B+='';break;case"cubic":B+='\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t';break;case"quadratic":B+='\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t'}else"close"in e?B+="":e.moveTo||0===t?B+='':B+=''}),B+="",B+="",B+="";else{if(B+='',r.options.rectRadius)B+='';else if(r.options.angleRange){for(var b=0;b<2;b++){var v=r.options.angleRange[b];B+=''}r.options.arcThicknessRatio&&(B+='')}B+=""}B+=r.options.fill?Pe(r.options.fill):"",r.options.line&&(B+=r.options.line.width?'':"",r.options.line.color&&(B+=Pe(r.options.line)),r.options.line.dashType&&(B+=''),r.options.line.beginArrowType&&(B+=''),r.options.line.endArrowType&&(B+=''),B+=""),r.options.shadow&&(r.options.shadow.type=r.options.shadow.type||"outer",r.options.shadow.blur=ye(r.options.shadow.blur||8),r.options.shadow.offset=ye(r.options.shadow.offset||4),r.options.shadow.angle=Math.round(6e4*(r.options.shadow.angle||270)),r.options.shadow.opacity=Math.round(1e5*(r.options.shadow.opacity||.75)),r.options.shadow.color=r.options.shadow.color||M.color,B+="",B+="',B+='',B+='',B+="",B+=""),B+="",B+=Fe(r),B+="";break;case oe.image:var x=r.options,C=x.sizing,P=x.rounding,w=n,L=i;if(B+="",B+=" ",B+='',r.hyperlink&&r.hyperlink.url&&(B+=''),r.hyperlink&&r.hyperlink.slide&&(B+=''),B+=" ",B+=' ',B+=" "+Be(a)+"",B+=" ",B+="",(F._relsMedia||[]).filter(function(e){return e.rId===r.imageRid})[0]&&"svg"===(F._relsMedia||[]).filter(function(e){return e.rId===r.imageRid})[0].extn?(B+='',B+=" ",B+=' ',B+=' ',B+=" ",B+=" ",B+=""):B+='',C&&C.type){var T=C.w?he(C.w,"X",F._presLayout):n,S=C.h?he(C.h,"Y",F._presLayout):i,R=he(C.x||0,"X",F._presLayout),E=he(C.y||0,"Y",F._presLayout);B+=Te[C.type]({w:w,h:L},{w:T,h:S,x:R,y:E}),w=T,L=S}else B+=" ";B+="",B+="",B+=" ",B+=' ',B+=' ',B+=" ",B+=' ',B+="",B+="";break;case oe.media:"online"===r.mtype?(B+="",B+=" ",B+=' ',B+=" ",B+=" ",B+=' ',B+=" ",B+=" ",B+=' '):(B+="",B+=" ",B+=' ',B+=' ',B+=" ",B+=' ',B+=" ",B+=' ',B+=' ',B+=" ",B+=" ",B+=" ",B+=" ",B+=' '),B+=" ",B+=" ",B+=' ',B+=' ',B+=" ",B+=' ',B+=" ",B+="";break;case oe.chart:var _=r.options;B+="",B+=" ",B+=' ',B+=" ",B+=" "+Be(a)+"",B+=" ",B+=' ',B+=' ',B+=' ',B+=' ',B+=" ",B+=" ",B+="";break;default:B+=""}}),F._slideNumberProps&&(F._slideNumberProps.align||(F._slideNumberProps.align="left"),B+=' ',B+="",B+="',F._slideNumberProps.color&&(B+=Pe(F._slideNumberProps.color)),F._slideNumberProps.fontFace&&(B+=''),B+=""),B+="",B+='',F._slideNumberProps.align.startsWith("l")?B+='':F._slideNumberProps.align.startsWith("c")?B+='':F._slideNumberProps.align.startsWith("r")?B+='':B+='',B+='',B+=""),B+="",B+=""}function Re(e,t){var a=0,r=''+g+'';return e._rels.forEach(function(e){a=Math.max(a,e.rId),-1':r+='':-1')}),(e._relsChart||[]).forEach(function(e){a=Math.max(a,e.rId),r+=''}),(e._relsMedia||[]).forEach(function(e){a=Math.max(a,e.rId),-1':-1':r+='':-1':r+='':-1':r+='')}),t.forEach(function(e,t){r+=''}),r+=""}function Ee(e,t){var a="",r="",o="",l="",n=t?"a:lvl1pPr":"a:pPr",i=ye(c),s="<"+n+(e.options.rtlMode?' rtl="1" ':"");if(e.options.align)switch(e.options.align){case"left":s+=' algn="l"';break;case"right":s+=' algn="r"';break;case"center":s+=' algn="ctr"';break;case"justify":s+=' algn="just"';break;default:s+=""}if(e.options.lineSpacing?r='':e.options.lineSpacingMultiple&&(r=''),e.options.indentLevel&&!isNaN(Number(e.options.indentLevel))&&0'),e.options.paraSpaceAfter&&!isNaN(Number(e.options.paraSpaceAfter))&&0'),"object"==typeof e.options.bullet)if(e&&e.options&&e.options.bullet&&e.options.bullet.indent&&(i=ye(e.options.bullet.indent)),e.options.bullet.type)"number"===e.options.bullet.type.toString().toLowerCase()&&(s+=' marL="'+(e.options.indentLevel&&0');else if(e.options.bullet.characterCode){var p="&#x"+e.options.bullet.characterCode+";";!1===/^[0-9A-Fa-f]{4}$/.test(e.options.bullet.characterCode)&&(console.warn("Warning: `bullet.characterCode should be a 4-digit unicode charatcer (ex: 22AB)`!"),p=se.DEFAULT),s+=' marL="'+(e.options.indentLevel&&0'}else if(e.options.bullet.code){p="&#x"+e.options.bullet.code+";";!1===/^[0-9A-Fa-f]{4}$/.test(e.options.bullet.code)&&(console.warn("Warning: `bullet.code should be a 4-digit hex code (ex: 22AB)`!"),p=se.DEFAULT),s+=' marL="'+(e.options.indentLevel&&0'}else s+=' marL="'+(e.options.indentLevel&&0';else!0===e.options.bullet?(s+=' marL="'+(e.options.indentLevel&&0'):!1===e.options.bullet&&(s+=' indent="0" marL="0"',a="");e.options.tabStops&&Array.isArray(e.options.tabStops)&&(l=""+e.options.tabStops.map(function(e){return''}).join("")+"");return s+=">"+r+o+a+l,t&&(s+=_e(e.options,!0)),s+=""}function _e(e,t){var a,r="",o=t?"a:defRPr":"a:rPr";if(r+="<"+o+' lang="'+(e.lang?e.lang:"en-US")+'"'+(e.lang?' altLang="en-US"':""),r+=e.fontSize?' sz="'+Math.round(e.fontSize)+'00"':"",r+=e.hasOwnProperty("bold")?' b="'+(e.bold?1:0)+'"':"",r+=e.hasOwnProperty("italic")?' i="'+(e.italic?1:0)+'"':"",r+=e.hasOwnProperty("strike")?' strike="'+("string"==typeof e.strike?e.strike:"sngStrike")+'"':"","object"==typeof e.underline&&(null===(a=e.underline)||void 0===a?void 0:a.style)?r+=' u="'+e.underline.style+'"':"string"==typeof e.underline?r+=' u="'+e.underline+'"':e.hyperlink&&(r+=' u="sng"'),e.baseline?r+=' baseline="'+Math.round(50*e.baseline)+'"':e.subscript?r+=' baseline="-40000"':e.superscript&&(r+=' baseline="30000"'),r+=e.charSpacing?' spc="'+Math.round(100*e.charSpacing)+'" kern="0"':"",r+=' dirty="0">',(e.color||e.fontFace||e.outline||"object"==typeof e.underline&&e.underline.color)&&(e.outline&&"object"==typeof e.outline&&(r+=''+Pe(e.outline.color||"FFFFFF")+""),e.color&&(r+=Pe(e.color)),e.highlight&&(r+=""+Ce(e.highlight)+""),"object"==typeof e.underline&&e.underline.color&&(r+=""+Pe(e.underline.color)+""),e.glow&&(r+=""+function(e,t){var a="",r=me(t,e);return a+='',a+=Ce(r.color,''),a+=""}(e.glow,T)+""),e.fontFace&&(r+='')),e.hyperlink){if("object"!=typeof e.hyperlink)throw new Error("ERROR: text `hyperlink` option should be an object. Ex: `hyperlink:{url:'https://github.com'}` ");if(!e.hyperlink.url&&!e.hyperlink.slide)throw new Error("ERROR: 'hyperlink requires either `url` or `slide`'");e.hyperlink.url?r+='":"/>"):e.hyperlink.slide&&(r+='":"/>")),e.color&&(r+="\t",r+='\t\t',r+='\t\t\t',r+="\t\t",r+="\t",r+="")}return r+=""}function Fe(r){var o=r.options||{},e=[],a=[];if(o&&r._type!==oe.tablecell&&(void 0===r.text||null===r.text))return"";var l=r._type===oe.tablecell?"":"";l+=function(e){var t="":"resize"===e.options.fit&&(t+="")),e.options.shrinkText&&(t+=""),t+=!1!==e.options._bodyProp.autoFit?"":""):t+=' wrap="square" rtlCol="0">',t+="",e._type===oe.tablecell?"":t}(r),0===o.h&&o.line&&o.align?l+='':"placeholder"===r._type?l+=""+Ee(r,!0)+"":l+="","string"==typeof r.text||"number"==typeof r.text?e.push({text:r.text.toString(),options:o||{}}):r.text&&!Array.isArray(r.text)&&"object"==typeof r.text&&-1";var a=""),r.options.align=r.options.align||o.align,r.options.lineSpacing=r.options.lineSpacing||o.lineSpacing,r.options.lineSpacingMultiple=r.options.lineSpacingMultiple||o.lineSpacingMultiple,r.options.indentLevel=r.options.indentLevel||o.indentLevel,r.options.paraSpaceBefore=r.options.paraSpaceBefore||o.paraSpaceBefore,r.options.paraSpaceAfter=r.options.paraSpaceAfter||o.paraSpaceAfter,a=Ee(r,!1),l+=a,Object.entries(o).forEach(function(e){var t=e[0],a=e[1];r.options.hyperlink&&"color"===t||"bullet"===t||r.options[t]||(r.options[t]=a)}),l+=function(e){return e.text?""+_e(e.options,!1)+""+ue(e.text)+"":""}(r),(!r.text&&o.fontSize||r.options.fontSize)&&(t=!0,o.fontSize=o.fontSize||r.options.fontSize)}),r._type===oe.tablecell&&(o.fontSize||o.fontFace)?o.fontFace?(l+='',l+='',l+='',l+='',l+=""):l+='':l+=t?'':'',l+=""}),l+=r._type===oe.tablecell?"":""}function Be(e){if(!e)return"";var t=e.options&&e.options._placeholderIdx?e.options._placeholderIdx:"",a=e.options&&e.options._placeholderType?e.options._placeholderType:"";return""}function Ie(e){return''+g+''+ue(function(e){var t="";return e._slideObjects.forEach(function(e){e._type===oe.notes&&(t+=e.text&&e.text[0]?e.text[0].text:"")}),t.replace(/\r*\n/g,g)}(e))+''+e._slideNum+''}function Ne(e){e&&"object"==typeof e&&("outer"!==e.type&&"inner"!==e.type&&"none"!==e.type&&(console.warn("Warning: shadow.type options are `outer`, `inner` or `none`."),e.type="outer"),e.angle&&((isNaN(Number(e.angle))||e.angle<0||359 \n'),e.file("_rels/.rels",'\n'),e.file("docProps/app.xml",'Microsoft Excel0falseWorksheets1Sheet1\n'),e.file("docProps/core.xml",'PptxGenJSEly, Brent'+(new Date).toISOString()+''+(new Date).toISOString()+"\n"),e.file("xl/_rels/workbook.xml.rels",'\n'),e.file("xl/styles.xml",'\n'),e.file("xl/theme/theme1.xml",''),e.file("xl/workbook.xml",'\n'),e.file("xl/worksheets/_rels/sheet1.xml.rels",'\n');var r='';c.opts._type===Z.BUBBLE?r+='':c.opts._type===Z.SCATTER?r+='':(r+='',r+=''),c.opts._type===Z.BUBBLE?f.forEach(function(e,t){0===t?r+="X-Axis":(r+=""+ue(e.name||" ")+"",r+=""+ue("Size "+t)+"")}):f.forEach(function(e){r+=""+ue((e.name||" ").replace("X-Axis","X-Values"))+""}),c.opts._type!==Z.BUBBLE&&c.opts._type!==Z.SCATTER&&f[0].labels.forEach(function(e){r+=""+ue(e)+""}),r+="\n",e.file("xl/sharedStrings.xml",r);var l='';c.opts._type===Z.BUBBLE||(c.opts._type===Z.SCATTER?(l+='',l+='',f.forEach(function(e,t){l+=''})):(l+='
',l+='',l+='',f.forEach(function(e,t){l+=''}))),l+="",l+='',l+="
",e.file("xl/tables/table1.xml",l);var n='';if(n+='',c.opts._type===Z.BUBBLE?n+='':c.opts._type===Z.SCATTER?n+='':n+='',n+='',n+='',c.opts._type===Z.BUBBLE){n+="",n+='',n+="",n+="",n+='',n+='0';for(var i=1;i',n+=""+i+"",n+="";n+="",f[0].values.forEach(function(e,t){n+='',n+=''+e+"";for(var a=1,r=1;r',n+=""+(f[r].values[t]||"")+"",n+="",n+='',n+=""+(f[r].sizes[t]||"")+"",n+="",a++;n+=""})}else if(c.opts._type===Z.SCATTER){n+="",n+='',n+="",n+="",n+='',n+='0';for(var s=1;s',n+=""+s+"",n+="";n+="",f[0].values.forEach(function(e,t){n+='',n+=''+e+"";for(var a=1;a',n+=""+(f[a].values[t]||0===f[a].values[t]?f[a].values[t]:"")+"",n+="";n+=""})}else{n+="",n+='',n+="",n+="",n+='',n+='0';for(var p=1;p<=f.length;p++)n+='',n+=""+p+"",n+="";n+="",f[0].labels.forEach(function(e,t){n+='',n+='',n+=""+(f.length+t+1)+"",n+="";for(var a=0;a',n+=""+(f[a].values[t]||"")+"",n+="";n+=""})}n+="",n+='',n+="\n",e.file("xl/worksheets/sheet1.xml",n),e.generateAsync({type:"base64"}).then(function(e){d.file("ppt/embeddings/Microsoft_Excel_Worksheet"+c.globalId+".xlsx",e,{base64:!0}),d.file("ppt/charts/_rels/"+c.fileName+".rels",''),d.file("ppt/charts/"+c.fileName,function(o){var l='',n=!1;l+='',l+='',l+="",o.opts.showTitle?(l+=qe({title:o.opts.title||"Chart Title",color:o.opts.titleColor,fontFace:o.opts.titleFontFace,fontSize:o.opts.titleFontSize||C,titleAlign:o.opts.titleAlign,titleBold:o.opts.titleBold,titlePos:o.opts.titlePos,titleRotate:o.opts.titleRotate}),l+=''):l+='';o.opts._type===Z.BAR3D&&(l+="",l+=' ',l+=' ',l+=' ',l+=' ',l+="");l+="",o.opts.layout?(l+="",l+=" ",l+=' ',l+=' ',l+=' ',l+=' ',l+=' ',l+=' ',l+=' ',l+=" ",l+=""):l+="";Array.isArray(o.opts._type)?o.opts._type.forEach(function(e){var t=me(o.opts,e.options),a=t.secondaryValAxis?R:S,r=t.secondaryCatAxis?_:E;n=n||t.secondaryValAxis,l+=je(e.type,e.data,t,a,r)}):l+=je(o.opts._type,o.data,o.opts,S,E);if(o.opts._type!==Z.PIE&&o.opts._type!==Z.DOUGHNUT){if(o.opts.valAxes&&1',r+=' ',r+=' ',r+=' ',r+="none"!==t.serGridLine.style?Je(t.serGridLine):"",t.showSerAxisTitle&&(r+=qe({color:t.serAxisTitleColor,fontFace:t.serAxisTitleFontFace,fontSize:t.serAxisTitleFontSize,titleRotate:t.serAxisTitleRotate,title:t.serAxisTitle||"Axis Title"}));r+=' ',r+=' ',r+=' ',r+=' ',r+=" ",r+=' ',r+=!1===t.serAxisLineShow?"":""+Ce(t.serAxisLineColor||b.color)+"",r+=' ',r+=" ",r+=" ",r+=" ",r+=" ",r+=" ",r+=" ",r+=" ",r+=" ",r+=' ',r+=" "+Ce(t.serAxisLabelColor||v)+"",r+=' ',r+=" ",r+=" ",r+=' ',r+=" ",r+=" ",r+=' ',r+=' ',t.serAxisLabelFrequency&&(r+=' ');t.serLabelFormatCode&&(["serAxisBaseTimeUnit","serAxisMajorTimeUnit","serAxisMinorTimeUnit"].forEach(function(e){!t[e]||"string"==typeof t[e]&&-1!==["days","months","years"].indexOf(e.toLowerCase())||(console.warn("`"+e+"` must be one of: 'days','months','years' !"),t[e]=null)}),t.serAxisBaseTimeUnit&&(r+=' '),t.serAxisMajorTimeUnit&&(r+=' '),t.serAxisMinorTimeUnit&&(r+=' '),t.serAxisMajorUnit&&(r+=' '),t.serAxisMinorUnit&&(r+=' '));return r+=""}(o.opts,F,S)))}o.opts.showDataTable&&(l+="",l+=' ',l+=' ',l+=' ',l+=' ',l+=" ",l+=" ",l+=' ',l+=" ",l+=" ",l+=" ",l+='\t ',l+="\t ",l+="\t ",l+='\t\t',l+=' ',l+='\t\t\t',l+='\t\t\t',l+='\t\t\t',l+='\t\t\t',l+="\t\t ",l+="\t\t",l+='\t\t',l+="\t ",l+="\t",l+="");l+=" ",l+=o.opts.fill?Pe(o.opts.fill):"",l+=o.opts.border?''+Pe(o.opts.border.color)+"":"",l+=" ",l+=" ",l+="",o.opts.showLegend&&(l+="",l+='',l+='',(o.opts.legendFontFace||o.opts.legendFontSize||o.opts.legendColor)&&(l+="",l+=" ",l+=" ",l+=" ",l+=" ",l+=o.opts.legendFontSize?'':"",o.opts.legendColor&&(l+=Pe(o.opts.legendColor)),o.opts.legendFontFace&&(l+=''),o.opts.legendFontFace&&(l+=''),l+=" ",l+=" ",l+=' ',l+=" ",l+=""),l+="");l+=' ',l+=' ',o.opts._type===Z.SCATTER&&(l+='');return l+="",l+="",l+=" ",l+=' ',l+=" ",l+="",l+='',l+=""}(c)),t(null)}).catch(function(e){a(e)})})}function je(r,o,l,e,t){var n="";switch(r){case Z.AREA:case Z.BAR:case Z.BAR3D:case Z.LINE:case Z.RADAR:n+="",r===Z.AREA&&"stacked"===l.barGrouping&&(n+=''),r!==Z.BAR&&r!==Z.BAR3D||(n+='',n+=''),r===Z.RADAR&&(n+=''),n+='';var i=-1;o.forEach(function(e){i++;var t=e.index;n+="",n+=' ',n+=' ',n+=" ",n+=" ",n+=" Sheet1!$"+Xe(t+1)+"$1",n+=' '+ue(e.name)+"",n+=" ",n+=" ",n+=' ';var a=l.chartColors?l.chartColors[i%l.chartColors.length]:null;n+=" ","transparent"===a?n+="":l.chartColorsOpacity?n+=""+Ce(a,'')+"":n+=""+Ce(a)+"",r===Z.LINE?0===l.lineSize?n+="":(n+=''+Ce(a)+"",n+=''):l.dataBorder&&(n+=''+Ce(l.dataBorder.color)+''),n+=Ke(l.shadow,w),n+=" ",r!==Z.RADAR&&(n+=" ",n+=' ',l.dataLabelBkgrdColors&&(n+=" ",n+=" "+Ce(a)+"",n+=" "),n+=" ",n+=" ",n+=" ",n+=" ",n+=' ',n+=" "+Ce(l.dataLabelColor||v)+"",n+=' ',n+=" ",n+=" ",n+=" ",l.dataLabelPosition&&(n+=' '),n+=' ',n+=' ',n+=' ',n+=' ',n+=' ',n+=' ',n+=' ',n+=" "),r!==Z.LINE&&r!==Z.RADAR||(n+="",n+=' ',l.lineDataSymbolSize&&(n+=' '),n+=" ",n+=" "+Ce(l.chartColors[t+1>l.chartColors.length?Math.floor(Math.random()*l.chartColors.length):t])+"",n+=' '+Ce(l.lineDataSymbolLineColor||a)+'',n+=" ",n+=" ",n+=""),(r===Z.BAR||r===Z.BAR3D)&&1===o.length&&l.chartColors!==I&&1",n+=' ',n+=' ',n+=' ',n+=" ",0===l.lineSize?n+="":r===Z.BAR?(n+="",n+=' ',n+=""):(n+="",n+=" ",n+=' ',n+=" ",n+=""),n+=Ke(l.shadow,w),n+=" ",n+=" "}),n+="",l.catLabelFormatCode?(n+=" ",n+=" Sheet1!$A$2:$A$"+(e.labels.length+1)+"",n+=" ",n+=" "+(l.catLabelFormatCode||"General")+"",n+=' ',e.labels.forEach(function(e,t){n+=''+ue(e)+""}),n+=" ",n+=" "):(n+=" ",n+=" Sheet1!$A$2:$A$"+(e.labels.length+1)+"",n+=" ",n+='\t ',e.labels.forEach(function(e,t){n+=''+ue(e)+""}),n+=" ",n+=" "),n+="",n+="",n+=" ",n+=" Sheet1!$"+Xe(t+1)+"$2:$"+Xe(t+1)+"$"+(e.labels.length+1)+"",n+=" ",n+=" "+(l.valLabelFormatCode||l.dataTableFormatCode||"General")+"",n+=' ',e.values.forEach(function(e,t){n+=''+(e||0===e?e:"")+""}),n+=" ",n+=" ",n+="",r===Z.LINE&&(n+=''),n+=""}),n+=" ",n+=' ',n+=" ",n+=" ",n+=" ",n+=" ",n+=' ',n+=" "+Ce(l.dataLabelColor||v)+"",n+=' ',n+=" ",n+=" ",n+=" ",l.dataLabelPosition&&(n+=' '),n+=' ',n+=' ',n+=' ',n+=' ',n+=' ',n+=' ',n+=' ',n+=" ",r===Z.BAR?(n+=' ',n+=' '):r===Z.BAR3D?(n+=' ',n+=' ',n+=' '):r===Z.LINE&&(n+=' '),n+=' ',n+=' ',n+=' ',n+="";break;case Z.SCATTER:n+="",n+='',n+='',i=-1,o.filter(function(e,t){return 0",n+=' ',n+=' ',n+=" ",n+=" ",n+=" Sheet1!$"+B[e+1]+"$1",n+=' '+a.name+"",n+=" ",n+=" ",n+=" ";var t=l.chartColors[i%l.chartColors.length];if("transparent"===t?n+="":l.chartColorsOpacity?n+=""+Ce(t,'')+"":n+=""+Ce(t)+"",0===l.lineSize?n+="":(n+=''+Ce(t)+"",n+=''),n+=Ke(l.shadow,w),n+=" ",n+="",n+=' ',l.lineDataSymbolSize&&(n+=' '),n+=" ",n+=" "+Ce(l.chartColors[e+1>l.chartColors.length?Math.floor(Math.random()*l.chartColors.length):e])+"",n+=' '+Ce(l.lineDataSymbolLineColor||l.chartColors[i%l.chartColors.length])+'',n+=" ",n+=" ",n+="",l.showLabel){var r=Ae("-xxxx-xxxx-xxxx-xxxxxxxxxxxx");!a.labels||"custom"!==l.dataLabelFormatScatter&&"customXY"!==l.dataLabelFormatScatter||(n+="",a.labels.forEach(function(e,t){"custom"!==l.dataLabelFormatScatter&&"customXY"!==l.dataLabelFormatScatter||(n+=" ",n+=' ',n+=" ",n+=" ",n+="\t\t\t",n+="\t\t\t\t",n+="\t\t\t",n+=" \t",n+=" \t",n+="\t\t\t\t",n+="\t\t\t\t\t",n+="\t\t\t\t",n+=" \t",n+=' \t\t',n+=" \t\t"+ue(e)+"",n+=" \t","customXY"!==l.dataLabelFormatScatter||/^ *$/.test(e)||(n+=" \t",n+=' \t\t',n+=" \t\t (",n+=" \t",n+=' \t',n+=' \t\t',n+=" \t\t",n+=" \t\t\t",n+=" \t\t",n+=" \t\t["+ue(a.name)+"",n+=" \t",n+=" \t",n+=' \t\t',n+=" \t\t, ",n+=" \t",n+=' \t',n+=' \t\t',n+=" \t\t",n+=" \t\t\t",n+=" \t\t",n+=" \t\t["+ue(a.name)+"]",n+=" \t",n+=" \t",n+=' \t\t',n+=" \t\t)",n+=" \t",n+=' \t'),n+=" \t",n+=" ",n+=" ",n+=" ",n+=" \t",n+=" \t",n+=" \t\t",n+=" \t",n+=" \t",n+=" ",l.dataLabelPosition&&(n+=' '),n+=' ',n+=' ',n+=' ',n+=' ',n+=' ',n+=' ',n+='\t ',n+=" ",n+=' ',n+=' ',n+='\t\t\t',n+=" ",n+="\t\t",n+="")}),n+=""),"XY"===l.dataLabelFormatScatter&&(n+="",n+="\t",n+="\t\t",n+="\t\t",n+="\t\t\t",n+="\t\t",n+="\t \t",n+="\t",n+="\t",n+="\t\t",n+="\t\t\t",n+="\t\t",n+="\t\t",n+="\t\t",n+="\t \t",n+=" \t\t",n+="\t \t",n+='\t \t',n+="\t\t",n+="\t",l.dataLabelPosition&&(n+=' '),n+='\t',n+=' ',n+=' ',n+='\t',n+='\t',n+='\t',n+="\t",n+='\t\t',n+='\t\t\t',n+="\t\t",n+="\t",n+="")}1===o.length&&l.chartColors!==I&&a.values.forEach(function(e,t){var a=e<0?l.invertedColors||l.chartColors||I:l.chartColors||[];n+=" ",n+=' ',n+=' ',n+=' ',n+=" ",0===l.lineSize?n+="":(n+="",n+=' ',n+=""),n+=Ke(l.shadow,w),n+=" ",n+=" "}),n+="",n+=" ",n+=" Sheet1!$A$2:$A$"+(o[0].values.length+1)+"",n+=" ",n+=" General",n+=' ',o[0].values.forEach(function(e,t){n+=''+(e||0===e?e:"")+""}),n+=" ",n+=" ",n+="",n+="",n+=" ",n+=" Sheet1!$"+Xe(e+1)+"$2:$"+Xe(e+1)+"$"+(o[0].values.length+1)+"",n+=" ",n+=" General",n+=' ',o[0].values.forEach(function(e,t){n+=''+(a.values[t]||0===a.values[t]?a.values[t]:"")+""}),n+=" ",n+=" ",n+="",n+='',n+=""}),n+=" ",n+=' ',n+=" ",n+=" ",n+=" ",n+=" ",n+=' ',n+=" "+Ce(l.dataLabelColor||v)+"",n+=' ',n+=" ",n+=" ",n+=" ",l.dataLabelPosition&&(n+=' '),n+=' ',n+=' ',n+=' ',n+=' ',n+=' ',n+=' ',n+=" ",n+=' ',n+=' ',n+="";break;case Z.BUBBLE:n+="",n+='',i=-1;var s=1;o.filter(function(e,t){return 0",n+=' ',n+=' ',n+=" ",n+=" ",n+=" Sheet1!$"+B[s]+"$1",n+=' '+a.name+"",n+=" ",n+=" ",n+="";var t=l.chartColors[i%l.chartColors.length];"transparent"===t?n+="":l.chartColorsOpacity?n+=""+Ce(t,'')+"":n+=""+Ce(t)+"",0===l.lineSize?n+="":l.dataBorder?n+=''+Ce(l.dataBorder.color)+'':(n+=''+Ce(t)+"",n+=''),n+=Ke(l.shadow,w),n+="",n+="",n+=" ",n+=" Sheet1!$A$2:$A$"+(o[0].values.length+1)+"",n+=" ",n+=" General",n+=' ',o[0].values.forEach(function(e,t){n+=''+(e||0===e?e:"")+""}),n+=" ",n+=" ",n+="",n+="",n+=" ",n+=" Sheet1!$"+Xe(s)+"$2:$"+Xe(s)+"$"+(o[0].values.length+1)+"",s++,n+=" ",n+=" General",n+=' ',o[0].values.forEach(function(e,t){n+=''+(a.values[t]||0===a.values[t]?a.values[t]:"")+""}),n+=" ",n+=" ",n+="",n+=" ",n+=" ",n+=" Sheet1!$"+Xe(s)+"$2:$"+Xe(e+2)+"$"+(a.sizes.length+1)+"",s++,n+=" ",n+=" General",n+='\t ',a.sizes.forEach(function(e,t){n+=''+(e||"")+""}),n+=" ",n+=" ",n+=" ",n+=' ',n+=""}),n+=" ",n+=' ',n+=" ",n+=" ",n+=" ",n+=" ",n+=' ',n+=" "+Ce(l.dataLabelColor||v)+"",n+=' ',n+=" ",n+=" ",n+=" ",l.dataLabelPosition&&(n+=' '),n+=' ',n+=' ',n+=' ',n+=' ',n+=' ',n+=' ',n+=" ",n+=' ',n+=' ',n+="";break;case Z.DOUGHNUT:case Z.PIE:var a=o[0];n+="",n+=' ',n+="",n+=' ',n+=' ',n+=" ",n+=" ",n+=" Sheet1!$B$1",n+=" ",n+=' ',n+=' '+ue(a.name)+"",n+=" ",n+=" ",n+=" ",n+=" ",n+=' ',n+=' ',l.dataNoEffects?n+="":n+=Ke(l.shadow,w),n+=" ",a.labels.forEach(function(e,t){n+="",n+=' ',n+=' ',n+=" ",n+=""+Ce(l.chartColors[t+1>l.chartColors.length?Math.floor(Math.random()*l.chartColors.length):t])+"",l.dataBorder&&(n+=''+Ce(l.dataBorder.color)+''),n+=Ke(l.shadow,w),n+=" ",n+=""}),n+="",a.labels.forEach(function(e,t){n+="",n+=' ',n+=' ',n+=" ",n+=" ",n+=" ",n+=' ',n+=" "+Ce(l.dataLabelColor||v)+"",n+=' ',n+=" ",n+=" ",n+=" ",r===Z.PIE&&l.dataLabelPosition&&(n+=' '),n+=' ',n+=' ',n+=' ',n+=' ',n+=' ',n+=' ',n+=" "}),n+=' ',n+="\t",n+="\t ",n+="\t ",n+="\t ",n+="\t\t",n+='\t\t ',n+='\t\t\t',n+="\t\t ",n+="\t\t",n+="\t ",n+="\t",n+=r===Z.PIE?'':"",n+='\t',n+='\t',n+='\t',n+='\t',n+='\t',n+='\t',n+=' ',n+="",n+="",n+=" ",n+=" Sheet1!$A$2:$A$"+(a.labels.length+1)+"",n+=" ",n+='\t ',a.labels.forEach(function(e,t){n+=''+ue(e)+""}),n+=" ",n+=" ",n+="",n+=" ",n+=" ",n+=" Sheet1!$B$2:$B$"+(a.labels.length+1)+"",n+=" ",n+='\t ',a.values.forEach(function(e,t){n+=''+(e||0===e?e:"")+""}),n+=" ",n+=" ",n+=" ",n+=" ",n+=' ',r===Z.DOUGHNUT&&(n+=' '),n+="";break;default:n+=""}return n}function Qe(t,e,a){var r="";return t._type===Z.SCATTER||t._type===Z.BUBBLE?r+="":r+="",r+=' ',r+=" ",r+='',!t.catAxisMaxVal&&0!==t.catAxisMaxVal||(r+=''),!t.catAxisMinVal&&0!==t.catAxisMinVal||(r+=''),r+="",r+=' ',r+=' ',r+="none"!==t.catGridLine.style?Je(t.catGridLine):"",t.showCatAxisTitle&&(r+=qe({color:t.catAxisTitleColor,fontFace:t.catAxisTitleFontFace,fontSize:t.catAxisTitleFontSize,titleRotate:t.catAxisTitleRotate,title:t.catAxisTitle||"Axis Title"})),t._type===Z.SCATTER||t._type===Z.BUBBLE?r+=' ':r+=' ',t._type===Z.SCATTER?(r+=' ',r+=' ',r+=' '):(r+=' ',r+=' ',r+=' '),r+=" ",r+=' ',r+=!1===t.catAxisLineShow?"":""+Ce(t.catAxisLineColor||b.color)+"",r+=' ',r+=" ",r+=" ",r+=" ",r+=" ",r+=" ",r+=" ",r+=" ",r+=" ",r+=' ',r+=" "+Ce(t.catAxisLabelColor||v)+"",r+=' ',r+=" ",r+=" ",r+=' ',r+=" ",r+=" ",r+=' ',r+=" ',r+=' ',r+=' ',r+=' ',t.catAxisLabelFrequency&&(r+=' '),!t.catLabelFormatCode&&t._type!==Z.SCATTER&&t._type!==Z.BUBBLE||(t.catLabelFormatCode&&(["catAxisBaseTimeUnit","catAxisMajorTimeUnit","catAxisMinorTimeUnit"].forEach(function(e){!t[e]||"string"==typeof t[e]&&-1!==["days","months","years"].indexOf(t[e].toLowerCase())||(console.warn("`"+e+"` must be one of: 'days','months','years' !"),t[e]=null)}),t.catAxisBaseTimeUnit&&(r+=''),t.catAxisMajorTimeUnit&&(r+=''),t.catAxisMinorTimeUnit&&(r+='')),t.catAxisMajorUnit&&(r+=''),t.catAxisMinorUnit&&(r+='')),t._type===Z.SCATTER||t._type===Z.BUBBLE?r+="":r+="",r}function Ye(e,t){var a=t===S?"col"===e.barDir?"l":"b":"col"!==e.barDir?"r":"t",r="",o="r"==a||"t"==a?"max":"autoZero",l=t===S?E:_;return r+="",r+=' ',r+=" ",e.valAxisLogScaleBase&&(r+=' '),r+=' ',!e.valAxisMaxVal&&0!==e.valAxisMaxVal||(r+=''),!e.valAxisMinVal&&0!==e.valAxisMinVal||(r+=''),r+=" ",r+=' ',r+=' ',"none"!==e.valGridLine.style&&(r+=Je(e.valGridLine)),e.showValAxisTitle&&(r+=qe({color:e.valAxisTitleColor,fontFace:e.valAxisTitleFontFace,fontSize:e.valAxisTitleFontSize,titleRotate:e.valAxisTitleRotate,title:e.valAxisTitle||"Axis Title"})),r+="',e._type===Z.SCATTER?(r+=' ',r+=' ',r+=' '):(r+=' ',r+=' ',r+=' '),r+=" ",r+=' ',r+=!1===e.valAxisLineShow?"":""+Ce(e.valAxisLineColor||b.color)+"",r+=' ',r+=" ",r+=" ",r+=" ",r+=" ",r+=" ",r+=" ",r+=" ",r+=" ",r+=' ',r+=" "+Ce(e.valAxisLabelColor||v)+"",r+=' ',r+=" ",r+=" ",r+=' ',r+=" ",r+=" ",r+=' ',r+=' ',r+=' ',e.valAxisMajorUnit&&(r+=' '),e.valAxisDisplayUnit&&(r+=''+(e.valAxisDisplayUnitLabel?"":"")+""),r+=""}function qe(e){var t="left"===e.titleAlign||"right"===e.titleAlign?'':"",a=e.titleRotate?'':"",r=e.fontSize?'sz="'+Math.round(100*e.fontSize)+'"':"",o=!0===e.titleBold?1:0,l=e.titlePos&&e.titlePos.x&&e.titlePos.y?'':"";return"\n\t \n\t \n\t "+a+"\n\t \n\t \n\t "+t+"\n\t \n\t '+Ce(e.color||v)+'\n\t \n\t \n\t \n\t \n\t \n\t '+Ce(e.color||v)+'\n\t \n\t \n\t '+(ue(e.title)||"")+"\n\t \n\t \n\t \n\t \n\t "+l+'\n\t \n\t'}function Xe(e){var t="";return e<=26?t=B[e]:(t+=B[Math.floor(e/B.length)-1],t+=B[e%B.length]),t}function Ke(e,t){if(!e)return"";if("object"!=typeof e)return console.warn("`shadow` options must be an object. Ex: `{shadow: {type:'none'}}`"),"";var a="",r=me(t,e),o=r.type||"outer",l=ye(r.blur),n=ye(r.offset),i=Math.round(6e4*r.angle),s=r.color,p=Math.round(1e5*r.opacity);return a+="',a+='',a+='',a+="",a+=""}function Je(e){var t="";return t+=" ",t+=' ',t+=' ',t+=' ',t+=" ",t+=" ",t+=""}function Ze(e){var l="undefined"!=typeof require&&"undefined"==typeof window?require("fs"):null,n="undefined"!=typeof require&&"undefined"==typeof window?require("https"):null,t=[];return e._relsMedia.filter(function(e){return"online"!==e.type&&!e.data&&(!e.path||e.path&&-1===e.path.indexOf("preencoded"))}).forEach(function(o){t.push(new Promise(function(a,r){if(l&&0!==o.path.indexOf("http"))try{var e=l.readFileSync(o.path);o.data=Buffer.from(e).toString("base64"),a("done")}catch(e){o.data=de,r('ERROR: Unable to read media: "'+o.path+'"\n'+e.toString())}else if(l&&n&&0===o.path.indexOf("http"))n.get(o.path,function(e){var t="";e.setEncoding("binary"),e.on("data",function(e){return t+=e}),e.on("end",function(){o.data=Buffer.from(t,"binary").toString("base64"),a("done")}),e.on("error",function(e){o.data=de,r("ERROR! Unable to load image (https.get): "+o.path)})});else{var t=new XMLHttpRequest;t.onload=function(){var e=new FileReader;e.onloadend=function(){o.data=e.result,o.isSvgPng?$e(o).then(function(){a("done")}).catch(function(e){r(e)}):a("done")},e.readAsDataURL(t.response)},t.onerror=function(e){o.data=de,r("ERROR! Unable to load image (xhr.onerror): "+o.path)},t.open("GET",o.path),t.responseType="blob",t.send()}}))}),e._relsMedia.filter(function(e){return e.isSvgPng&&e.data}).forEach(function(e){l?(e.data=de,t.push(Promise.resolve().then(function(){return"done"}))):t.push($e(e))}),t}function $e(o){return new Promise(function(a,t){var r=new Image;r.onload=function(){r.width+r.height===0&&r.onerror("h/w=0");var e=document.createElement("CANVAS"),t=e.getContext("2d");e.width=r.width,e.height=r.height,t.drawImage(r,0,0);try{o.data=e.toDataURL(o.type),a("done")}catch(e){r.onerror(e)}e=null},r.onerror=function(e){o.data=de,t("ERROR! Unable to load image (image.onerror): "+o.path)},r.src="string"==typeof o.data?o.data:de})}function et(){var o=this;this._version="3.7.1",this._alignH=Q,this._alignV=q,this._chartType=z,this._outputType=U,this._schemeColor=V,this._shapeType=W,this._charts=Z,this._colors=ee,this._shapes=K,this.addNewSlide=function(e){var t=0')})}),r+='',r+='',r+='',r+='',e.forEach(function(e,t){r+='',r+='',e._relsChart.forEach(function(e){r+=' '})}),r+='',r+='',r+='',r+='',t.forEach(function(e,t){r+='',(e._relsChart||[]).forEach(function(e){r+=' '})}),e.forEach(function(e,t){r+=' '}),a._relsChart.forEach(function(e){r+=' '}),a._relsMedia.forEach(function(e){"image"!==e.type&&"online"!==e.type&&"chart"!==e.type&&"m4v"!==e.extn&&-1===r.indexOf(e.type)&&(r+=' ')}),r+=' ',r+=' ',r+=""}(o.slides,o.slideLayouts,o.masterSlide)),r.file("_rels/.rels",''+g+'\n\t\t\n\t\t\n\t\t\n\t\t'),r.file("docProps/app.xml",function(e,t){return''+g+'\n\t0\n\t0\n\tMicrosoft Office PowerPoint\n\tOn-screen Show (16:9)\n\t0\n\t'+e.length+"\n\t"+e.length+'\n\t0\n\t0\n\tfalse\n\t\n\t\t\n\t\t\tFonts Used\n\t\t\t2\n\t\t\tTheme\n\t\t\t1\n\t\t\tSlide Titles\n\t\t\t'+e.length+'\n\t\t\n\t\n\t\n\t\t\n\t\t\tArial\n\t\t\tCalibri\n\t\t\tOffice Theme\n\t\t\t'+e.map(function(e,t){return"Slide "+(t+1)+"\n"}).join("")+"\n\t\t\n\t\n\t"+t+"\n\tfalse\n\tfalse\n\tfalse\n\t16.0000\n\t"}(o.slides,o.company)),r.file("docProps/core.xml",function(e,t,a,r){return'\n\t\n\t\t'+ue(e)+"\n\t\t"+ue(t)+"\n\t\t"+ue(a)+"\n\t\t"+ue(a)+"\n\t\t"+r+'\n\t\t'+(new Date).toISOString().replace(/\.\d\d\dZ/,"Z")+'\n\t\t'+(new Date).toISOString().replace(/\.\d\d\dZ/,"Z")+"\n\t"}(o.title,o.subject,o.author,o.revision)),r.file("ppt/_rels/presentation.xml.rels",function(e){var t=1,a=''+g;a+='',a+='';for(var r=1;r<=e.length;r++)a+='';return a+=''}(o.slides)),r.file("ppt/theme/theme1.xml",''+g+''),r.file("ppt/presentation.xml",function(e){var t=''+g+'';t+='',t+="",e.slides.forEach(function(e){return t+=''}),t+="",t+='',t+='',t+='',t+="";for(var a=1;a<10;a++)t+="";return t+="",e.sections&&0',t+='',e.sections.forEach(function(e){t+='',e._slides.forEach(function(e){return t+=''}),t+=""}),t+="",t+='',t+=""),t+=""}(o)),r.file("ppt/presProps.xml",''+g+''),r.file("ppt/tableStyles.xml",''+g+''),r.file("ppt/viewProps.xml",''+g+''),o.slideLayouts.forEach(function(e,t){r.file("ppt/slideLayouts/slideLayout"+(t+1)+".xml",function(e){return'\n\t\t\n\t\t'+Se(e)+"\n\t\t"}(e)),r.file("ppt/slideLayouts/_rels/slideLayout"+(t+1)+".xml.rels",function(e,t){return Re(t[e-1],[{target:"../slideMasters/slideMaster1.xml",type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster"}])}(t+1,o.slideLayouts))}),o.slides.forEach(function(e,t){r.file("ppt/slides/slide"+(t+1)+".xml",function(e){return''+g+'"+Se(e)+""}(e)),r.file("ppt/slides/_rels/slide"+(t+1)+".xml.rels",function(e,t,a){return Re(e[a-1],[{target:"../slideLayouts/slideLayout"+function(e,t,a){for(var r=0;r\n\t\t\n\t\t\t\n\t\t\t\n\t\t'}(t+1))}),r.file("ppt/slideMasters/slideMaster1.xml",function(a,e){var t=e.map(function(e,t){return''}),r=''+g;return r+='',r+=Se(a),r+='',r+=""+t.join("")+"",r+='',r+=' ',r+=""}(o.masterSlide,o.slideLayouts)),r.file("ppt/slideMasters/_rels/slideMaster1.xml.rels",function(e,t){var a=t.map(function(e,t){return{target:"../slideLayouts/slideLayout"+(t+1)+".xml",type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout"}});return a.push({target:"../theme/theme1.xml",type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme"}),Re(e,a)}(o.masterSlide,o.slideLayouts)),r.file("ppt/notesMasters/notesMaster1.xml",''+g+'7/23/19Click to edit Master text stylesSecond levelThird levelFourth levelFifth level‹#›'),r.file("ppt/notesMasters/_rels/notesMaster1.xml.rels",''+g+'\n\t\t\n\t\t'),o.slideLayouts.forEach(function(e){o.createChartMediaRels(e,r,t)}),o.slides.forEach(function(e){o.createChartMediaRels(e,r,t)}),o.createChartMediaRels(o.masterSlide,r,t),Promise.all(t).then(function(){return"STREAM"===e.outputType?r.generateAsync({type:"nodebuffer",compression:e.compression?"DEFLATE":"STORE"}):e.outputType?r.generateAsync({type:e.outputType}):r.generateAsync({type:"blob",compression:e.compression?"DEFLATE":"STORE"})})})},this.LAYOUTS={LAYOUT_4x3:{name:"screen4x3",width:9144e3,height:6858e3},LAYOUT_16x9:{name:"screen16x9",width:9144e3,height:5143500},LAYOUT_16x10:{name:"screen16x10",width:9144e3,height:5715e3},LAYOUT_WIDE:{name:"custom",width:12192e3,height:6858e3}},this._author="PptxGenJS",this._company="PptxGenJS",this._revision="1",this._subject="PptxGenJS Presentation",this._title="PptxGenJS Presentation",this._presLayout={name:this.LAYOUTS[d].name,_sizeW:this.LAYOUTS[d].width,_sizeH:this.LAYOUTS[d].height,width:this.LAYOUTS[d].width,height:this.LAYOUTS[d].height},this._rtlMode=!1,this._slideLayouts=[{_margin:L,_name:r,_presLayout:this._presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slide:null,_slideNum:1e3,_slideNumberProps:null,_slideObjects:[]}],this._slides=[],this._sections=[],this._masterSlide={addChart:null,addImage:null,addMedia:null,addNotes:null,addShape:null,addTable:null,addText:null,_name:null,_presLayout:this._presLayout,_rId:null,_rels:[],_relsChart:[],_relsMedia:[],_slideId:null,_slideLayout:null,_slideNum:null,_slideNumberProps:null,_slideObjects:[]}}return Object.defineProperty(et.prototype,"layout",{get:function(){return this._layout},set:function(e){var t=this.LAYOUTS[e];if(!t)throw new Error("UNKNOWN-LAYOUT");this._layout=e,this._presLayout=t},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,"version",{get:function(){return this._version},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,"author",{get:function(){return this._author},set:function(e){this._author=e},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,"company",{get:function(){return this._company},set:function(e){this._company=e},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,"revision",{get:function(){return this._revision},set:function(e){this._revision=e},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,"subject",{get:function(){return this._subject},set:function(e){this._subject=e},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,"title",{get:function(){return this._title},set:function(e){this._title=e},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,"rtlMode",{get:function(){return this._rtlMode},set:function(e){this._rtlMode=e},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,"masterSlide",{get:function(){return this._masterSlide},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,"slides",{get:function(){return this._slides},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,"sections",{get:function(){return this._sections},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,"slideLayouts",{get:function(){return this._slideLayouts},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,"AlignH",{get:function(){return this._alignH},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,"AlignV",{get:function(){return this._alignV},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,"ChartType",{get:function(){return this._chartType},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,"OutputType",{get:function(){return this._outputType},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,"presLayout",{get:function(){return this._presLayout},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,"SchemeColor",{get:function(){return this._schemeColor},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,"ShapeType",{get:function(){return this._shapeType},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,"charts",{get:function(){return this._charts},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,"colors",{get:function(){return this._colors},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,"shapes",{get:function(){return this._shapes},enumerable:!1,configurable:!0}),et.prototype.stream=function(e){var t=!("object"!=typeof e||!e.hasOwnProperty("compression"))&&e.compression;return this.exportPresentation({compression:t,outputType:"STREAM"})},et.prototype.write=function(e){var t="object"==typeof e&&e.hasOwnProperty("outputType")?e.outputType:e||null,a=!("object"!=typeof e||!e.hasOwnProperty("compression"))&&e.compression;return this.exportPresentation({compression:a,outputType:t})},et.prototype.writeFile=function(e){var t=this,r="undefined"!=typeof require&&"undefined"==typeof window?require("fs"):null;"string"==typeof e&&console.log("Warning: `writeFile(filename)` is deprecated - please use `WriteFileProps` argument (v3.5.0)");var a="object"==typeof e&&e.hasOwnProperty("fileName")?e.fileName:"string"==typeof e?e:"",o=!("object"!=typeof e||!e.hasOwnProperty("compression"))&&e.compression,l=a?a.toString().toLowerCase().endsWith(".pptx")?a:a+".pptx":"Presentation.pptx";return this.exportPresentation({compression:o,outputType:r?"nodebuffer":null}).then(function(e){return r?new Promise(function(t,a){r.writeFile(l,e,function(e){e?a(e):t(l)})}):t.writeFileToBrowser(l,e)})},et.prototype.addSection=function(e){e?e.title||console.warn("addSection requires a title"):console.warn("addSection requires an argument");var t={_type:"user",_slides:[],title:e.title};e.order?this.sections.splice(e.order,0,t):this._sections.push(t)},et.prototype.addSlide=function(t){var a="string"==typeof t?t:t&&t.masterName?t.masterName:"",e={_name:this.LAYOUTS[d].name,_presLayout:this.presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slideNum:this.slides.length+1};if(a){var r=this.slideLayouts.filter(function(e){return e._name===a})[0];r&&(e=r)}var o=new We({addSlide:this.addNewSlide,getSlide:this.getSlide,presLayout:this.presLayout,setSlideNum:this.setSlideNumber,slideId:this.slides.length+256,slideRId:this.slides.length+2,slideNumber:this.slides.length+1,slideLayout:e});if(this._slides.push(o),t&&t.sectionTitle){var l=this.sections.filter(function(e){return e.title===t.sectionTitle})[0];l?l._slides.push(o):console.warn('addSlide: unable to find section with title: "'+t.sectionTitle+'"')}else if(this.sections&&0 opts.y = "+o.y),a.addTable(e.rows,{x:o.x||d[3],y:o.y,w:Number(i)/O,colW:p,autoPage:!1}),o.addImage&&a.addImage({path:o.addImage.url,x:o.addImage.x,y:o.addImage.y,w:o.addImage.w,h:o.addImage.h}),o.addShape&&a.addShape(o.addShape.shape,o.addShape.options||{}),o.addTable&&a.addTable(o.addTable.rows,o.addTable.options||{}),o.addText&&a.addText(o.addText.text,o.addText.options||{})})}(this,e,t,t&&t.masterSlideName?this.slideLayouts.filter(function(e){return e._name===t.masterSlideName})[0]:null)},et}(); //# sourceMappingURL=pptxgen.min.js.map diff --git a/dist/pptxgen.min.js.map b/dist/pptxgen.min.js.map index 3fbc4a72e..fa1520f3a 100644 --- a/dist/pptxgen.min.js.map +++ b/dist/pptxgen.min.js.map @@ -1 +1 @@ -{"version":3,"names":[],"mappings":"","sources":["pptxgen.min.js"],"sourcesContent":["/* PptxGenJS 3.7.0 @ 2021-07-21T02:38:23.632Z */\nvar PptxGenJS=function(){\"use strict\";function e(e){return e&&\"object\"==typeof e&&\"default\"in e?e:{default:e}}var h=e(JSZip),i=function(){return(i=Object.assign||function(e){for(var t,a=1,r=arguments.length;a/g,\">\").replace(/\"/g,\""\").replace(/'/g,\"'\")}function ge(e){return\"number\"==typeof e&&100\"+t+\"\":\"\"}function Pe(e){var t=\"solid\",a=\"\",r=\"\",o=\"\";if(e)switch(\"string\"==typeof e?a=e:(e.type&&(t=e.type),e.color&&(a=e.color),e.alpha&&(r+=''),e.transparency&&(r+='')),t){case\"solid\":o+=\"\"+Ce(a,r)+\"\";break;default:o+=\"\"}return o}function we(e){return e._rels.length+e._relsChart.length+e._relsMedia.length+1}function Le(s,p,c,e){void 0===s&&(s=[]),void 0===p&&(p={});var t,d=L,f=0,h=1*O,a=0,A=[{rows:[]}];if(p.verbose&&(console.log(\"-- VERBOSE MODE ----------------------------------\"),console.log(\".. (PARAMETERS)\"),console.log(\"presLayout.height ......... = \"+c.height/O),console.log(\"tabOpts.h ................. = \"+p.h),console.log(\"tabOpts.w ................. = \"+p.w),console.log(\"tabOpts.colW .............. = \"+p.colW),console.log(\"tabOpts.slideMargin ....... = \"+(p.slideMargin||\"\")),console.log(\".. (/PARAMETERS)\")),p.slideMargin||0===p.slideMargin||(p.slideMargin=L[0]),e&&void 0!==e._margin?Array.isArray(e._margin)?d=e._margin:isNaN(Number(e._margin))||(d=[Number(e._margin),Number(e._margin),Number(e._margin),Number(e._margin)]):!p.slideMargin&&0!==p.slideMargin||(Array.isArray(p.slideMargin)?d=p.slideMargin:isNaN(p.slideMargin)||(d=[p.slideMargin,p.slideMargin,p.slideMargin,p.slideMargin])),p.verbose&&console.log(\"arrInchMargins ......... = \"+d.toString()),(s[0]||[]).forEach(function(e){var t=(e=e||{_type:oe.tablecell}).options||null;a+=Number(t&&t.colspan?t.colspan:1)}),p.verbose&&console.log(\"numCols ................ = \"+a),!p.w&&p.colW&&(Array.isArray(p.colW)?p.colW.forEach(function(e){\"number\"!=typeof p.w?p.w=0+e:p.w+=e}):p.w=p.colW*a),t=\"number\"==typeof p.w?ge(p.w):c.width-ge((\"number\"==typeof p.x?p.x:d[1])+d[3]),p.verbose&&console.log(\"emuSlideTabW (in) ...... = \"+(t/O).toFixed(1)),!p.colW||!Array.isArray(p.colW))if(p.colW&&!isNaN(Number(p.colW))){var r=[];(s[0]||[]).forEach(function(){return r.push(p.colW)}),p.colW=[],r.forEach(function(e){Array.isArray(p.colW)&&p.colW.push(e)})}else{p.colW=[];for(var o=0;ot?t=ye(e.options.margin[0]):p.margin&&p.margin[0]&&ye(p.margin[0])>t&&(t=ye(p.margin[0])),e.options.margin&&e.options.margin[2]&&ye(e.options.margin[2])>a?a=ye(e.options.margin[2]):p.margin&&p.margin[2]&&ye(p.margin[2])>a&&(a=ye(p.margin[2]))}),h=p.h&&\"number\"==typeof p.h?p.h:c.height-ge(d[0]+d[2])-(p.y&&\"number\"==typeof p.y?p.y:0),p.verbose&&console.log(\"emuSlideTabH (in) ...... = \"+(h/O).toFixed(1)),1 \"+h/O),A.push({rows:[]}),f=0,(p.addHeaderToEach||p.autoPageRepeatHeader)&&p._arrObjTabHeadRows){var t=[];n.forEach(function(e){t.push({type:oe.tablecell,text:e._lines.join(\"\"),options:e.options})}),s.unshift(t);var a=[];return p._arrObjTabHeadRows.forEach(function(e){var t=[];e.forEach(function(e){return t.push(e)}),a.push(t)}),s=N(N([],a),s),\"break\"}var e=A[A.length-1],r=[];o.forEach(function(e){r.push({type:oe.tablecell,text:\"\",options:e.options})}),e.rows.push(r)}n.forEach(function(e,t){if(0l&&(l=e._lineHeight)}}),f+=l,p.verbose&&console.log(\"- SLIDE [\"+A.length+\"]: ROW [\"+m+\"]: one line added ... emuTabCurrH = \"+(f/O).toFixed(2))};0'},contain:function(e,t){var a=e.h/e.w,r=a'},crop:function(e,t){var a=t.x,r=e.w-(t.x+t.w),o=t.y,l=e.h-(t.y+t.h);return''}};function Se(F){var B=F._name?'':\"\",I=1;return F._bkgdImgRid?B+='':F.background&&F.background.color?B+=\"\"+Pe(F.background)+\"\":!F.bkgd&&F._name&&F._name===r&&(B+=''),B+=\"\",B+='',B+='',B+='',F._slideObjects.forEach(function(r,e){var t,a,o=0,l=0,n=he(\"75%\",\"X\",F._presLayout),i=0,s=\"\";switch(void 0!==F._slideLayout&&void 0!==F._slideLayout._slideObjects&&r.options&&r.options.placeholder&&(a=F._slideLayout._slideObjects.filter(function(e){return e.options.placeholder===r.options.placeholder})[0]),r.options=r.options||{},void 0!==r.options.x&&(o=he(r.options.x,\"X\",F._presLayout)),void 0!==r.options.y&&(l=he(r.options.y,\"Y\",F._presLayout)),void 0!==r.options.w&&(n=he(r.options.w,\"X\",F._presLayout)),void 0!==r.options.h&&(i=he(r.options.h,\"Y\",F._presLayout)),a&&(!a.options.x&&0!==a.options.x||(o=he(a.options.x,\"X\",F._presLayout)),!a.options.y&&0!==a.options.y||(l=he(a.options.y,\"Y\",F._presLayout)),!a.options.w&&0!==a.options.w||(n=he(a.options.w,\"X\",F._presLayout)),!a.options.h&&0!==a.options.h||(i=he(a.options.h,\"Y\",F._presLayout))),r.options.flipH&&(s+=' flipH=\"1\"'),r.options.flipV&&(s+=' flipV=\"1\"'),r.options.rotate&&(s+=' rot=\"'+be(r.options.rotate)+'\"'),r._type){case oe.table:var p,c=r.arrTabRows,f=r.options,d=0,h=0;c[0].forEach(function(e){p=e.options||null,d+=p&&p.colspan?Number(p.colspan):1});var A='';if(A+=' ',A+='',A+='',Array.isArray(f.colW)){A+=\"\";for(var m=0;m'}A+=\"\"}else{h=f.colW?f.colW:O,r.options.w&&!f.colW&&(h=Math.round((\"number\"==typeof r.options.w?r.options.w:1)/d)),A+=\"\";for(var g=0;g';A+=\"\"}c.forEach(function(l){for(var n,i,s,e=function(e){var t=l[e],a=null===(n=t.options)||void 0===n?void 0:n.colspan,r=null===(i=t.options)||void 0===i?void 0:i.rowspan;if(a&&1',e.forEach(function(e){var t,a,r=e,o={rowSpan:1<(null===(t=r.options)||void 0===t?void 0:t.rowspan)?r.options.rowspan:void 0,gridSpan:1<(null===(a=r.options)||void 0===a?void 0:a.colspan)?r.options.colspan:void 0,vMerge:r._vmerge?1:void 0,hMerge:r._hmerge?1:void 0},l=Object.keys(o).map(function(e){return[e,o[e]]}).filter(function(e){return e[0],!!e[1]}).map(function(e){return e[0]+'=\"'+e[1]+'\"'}).join(\" \");if(l=l&&\" \"+l,r._hmerge||r._vmerge)A+=\"\";else{var n=r.options||{};r.options=n,[\"align\",\"bold\",\"border\",\"color\",\"fill\",\"fontFace\",\"fontSize\",\"margin\",\"underline\",\"valign\"].forEach(function(e){f[e]&&!n[e]&&0!==n[e]&&(n[e]=f[e])});var i=n.valign?' anchor=\"'+n.valign.replace(/^c$/i,\"ctr\").replace(/^m$/i,\"ctr\").replace(\"center\",\"ctr\").replace(\"middle\",\"ctr\").replace(\"top\",\"t\").replace(\"btm\",\"b\").replace(\"bottom\",\"b\")+'\"':\"\",s=r._optImp&&r._optImp.fill&&r._optImp.fill.color?r._optImp.fill.color:r._optImp&&r._optImp.fill&&\"string\"==typeof r._optImp.fill?r._optImp.fill:\"\",p=(s=s||n.fill&&n.fill.color?n.fill.color:n.fill&&\"string\"==typeof n.fill?n.fill:\"\")?\"\"+Ce(s)+\"\":\"\",c=0===n.margin||n.margin?n.margin:k;Array.isArray(c)||\"number\"!=typeof c||(c=[c,c,c,c]);var d=' marL=\"'+ye(c[3])+'\" marR=\"'+ye(c[1])+'\" marT=\"'+ye(c[0])+'\" marB=\"'+ye(c[2])+'\"';A+=\"\"+Fe(r)+\"\",n.border&&Array.isArray(n.border)&&[{idx:3,name:\"lnL\"},{idx:1,name:\"lnR\"},{idx:0,name:\"lnT\"},{idx:2,name:\"lnB\"}].forEach(function(e){\"none\"!==n.border[e.idx].type?(A+=\"',A+=\"\"+Ce(n.border[e.idx].color)+\"\",A+='',A+=\"\"):A+=\"\"}),A+=p,A+=\" \",A+=\" \"}}),A+=\"\"}),A+=\" \",A+=\" \",A+=\" \",B+=A+=\"\",I++;break;case oe.text:case oe.placeholder:var y=r.options.shapeName?ue(r.options.shapeName):\"Object\"+(e+1);if(r.options.line||0!==i||(i=.3*O),r.options._bodyProp||(r.options._bodyProp={}),r.options.margin&&Array.isArray(r.options.margin)?(r.options._bodyProp.lIns=ye(r.options.margin[0]||0),r.options._bodyProp.rIns=ye(r.options.margin[1]||0),r.options._bodyProp.bIns=ye(r.options.margin[2]||0),r.options._bodyProp.tIns=ye(r.options.margin[3]||0)):\"number\"==typeof r.options.margin&&(r.options._bodyProp.lIns=ye(r.options.margin),r.options._bodyProp.rIns=ye(r.options.margin),r.options._bodyProp.bIns=ye(r.options.margin),r.options._bodyProp.tIns=ye(r.options.margin)),B+=\"\",B+='',r.options.hyperlink&&r.options.hyperlink.url&&(B+=''),r.options.hyperlink&&r.options.hyperlink.slide&&(B+=''),B+=\"\",B+=\"':\"/>\"),B+=\"\"+(\"placeholder\"===r._type?Be(r):Be(a))+\"\",B+=\"\",B+=\"\",B+='',B+='',\"custGeom\"===r.shape)B+=\"\",B+=\"\",B+=\"\",B+=\"\",B+=\"\",B+=\"\",B+='',B+=\"\",B+='',null===(t=r.options.points)||void 0===t||t.map(function(e,t){if(\"curve\"in e)switch(e.curve.type){case\"arc\":B+='';break;case\"cubic\":B+='\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t';break;case\"quadratic\":B+='\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t'}else\"close\"in e?B+=\"\":e.moveTo||0===t?B+='':B+=''}),B+=\"\",B+=\"\",B+=\"\";else{if(B+='',r.options.rectRadius)B+='';else if(r.options.angleRange){for(var b=0;b<2;b++){var v=r.options.angleRange[b];B+=''}r.options.arcThicknessRatio&&(B+='')}B+=\"\"}B+=r.options.fill?Pe(r.options.fill):\"\",r.options.line&&(B+=r.options.line.width?'':\"\",r.options.line.color&&(B+=Pe(r.options.line)),r.options.line.dashType&&(B+=''),r.options.line.beginArrowType&&(B+=''),r.options.line.endArrowType&&(B+=''),B+=\"\"),r.options.shadow&&(r.options.shadow.type=r.options.shadow.type||\"outer\",r.options.shadow.blur=ye(r.options.shadow.blur||8),r.options.shadow.offset=ye(r.options.shadow.offset||4),r.options.shadow.angle=Math.round(6e4*(r.options.shadow.angle||270)),r.options.shadow.opacity=Math.round(1e5*(r.options.shadow.opacity||.75)),r.options.shadow.color=r.options.shadow.color||M.color,B+=\"\",B+=\"',B+='',B+='',B+=\"\",B+=\"\"),B+=\"\",B+=Fe(r),B+=\"\";break;case oe.image:var x=r.options,C=x.sizing,P=x.rounding,w=n,L=i;if(B+=\"\",B+=\" \",B+='',r.hyperlink&&r.hyperlink.url&&(B+=''),r.hyperlink&&r.hyperlink.slide&&(B+=''),B+=\" \",B+=' ',B+=\" \"+Be(a)+\"\",B+=\" \",B+=\"\",(F._relsMedia||[]).filter(function(e){return e.rId===r.imageRid})[0]&&\"svg\"===(F._relsMedia||[]).filter(function(e){return e.rId===r.imageRid})[0].extn?(B+='',B+=\" \",B+=' ',B+=' ',B+=\" \",B+=\" \",B+=\"\"):B+='',C&&C.type){var T=C.w?he(C.w,\"X\",F._presLayout):n,S=C.h?he(C.h,\"Y\",F._presLayout):i,R=he(C.x||0,\"X\",F._presLayout),E=he(C.y||0,\"Y\",F._presLayout);B+=Te[C.type]({w:w,h:L},{w:T,h:S,x:R,y:E}),w=T,L=S}else B+=\" \";B+=\"\",B+=\"\",B+=\" \",B+=' ',B+=' ',B+=\" \",B+=' ',B+=\"\",B+=\"\";break;case oe.media:\"online\"===r.mtype?(B+=\"\",B+=\" \",B+=' ',B+=\" \",B+=\" \",B+=' ',B+=\" \",B+=\" \",B+=' '):(B+=\"\",B+=\" \",B+=' ',B+=' ',B+=\" \",B+=' ',B+=\" \",B+=' ',B+=' ',B+=\" \",B+=\" \",B+=\" \",B+=\" \",B+=' '),B+=\" \",B+=\" \",B+=' ',B+=' ',B+=\" \",B+=' ',B+=\" \",B+=\"\";break;case oe.chart:var _=r.options;B+=\"\",B+=\" \",B+=' ',B+=\" \",B+=\" \"+Be(a)+\"\",B+=\" \",B+=' ',B+=' ',B+=' ',B+=' ',B+=\" \",B+=\" \",B+=\"\";break;default:B+=\"\"}}),F._slideNumberProps&&(F._slideNumberProps.align||(F._slideNumberProps.align=\"left\"),B+=' ',B+=\"\",B+=\"\",B+=\" \",(F._slideNumberProps.fontFace||F._slideNumberProps.fontSize||F._slideNumberProps.color)&&(B+='',F._slideNumberProps.color&&(B+=Pe(F._slideNumberProps.color)),F._slideNumberProps.fontFace&&(B+=''),B+=\"\"),B+=\"\",B+='',F._slideNumberProps.align.startsWith(\"l\")?B+='':F._slideNumberProps.align.startsWith(\"c\")?B+='':F._slideNumberProps.align.startsWith(\"r\")?B+='':B+='',B+='',B+=\"\"),B+=\"\",B+=\"\"}function Re(e,t){var a=0,r=''+g+'';return e._rels.forEach(function(e){a=Math.max(a,e.rId),-1':r+='':-1')}),(e._relsChart||[]).forEach(function(e){a=Math.max(a,e.rId),r+=''}),(e._relsMedia||[]).forEach(function(e){a=Math.max(a,e.rId),-1':-1':r+='':-1':r+='':-1':r+='')}),t.forEach(function(e,t){r+=''}),r+=\"\"}function Ee(e,t){var a=\"\",r=\"\",o=\"\",l=\"\",n=t?\"a:lvl1pPr\":\"a:pPr\",i=ye(c),s=\"<\"+n+(e.options.rtlMode?' rtl=\"1\" ':\"\");if(e.options.align)switch(e.options.align){case\"left\":s+=' algn=\"l\"';break;case\"right\":s+=' algn=\"r\"';break;case\"center\":s+=' algn=\"ctr\"';break;case\"justify\":s+=' algn=\"just\"';break;default:s+=\"\"}if(e.options.lineSpacing?r='':e.options.lineSpacingMultiple&&(r=''),e.options.indentLevel&&!isNaN(Number(e.options.indentLevel))&&0'),e.options.paraSpaceAfter&&!isNaN(Number(e.options.paraSpaceAfter))&&0'),\"object\"==typeof e.options.bullet)if(e&&e.options&&e.options.bullet&&e.options.bullet.indent&&(i=ye(e.options.bullet.indent)),e.options.bullet.type)\"number\"===e.options.bullet.type.toString().toLowerCase()&&(s+=' marL=\"'+(e.options.indentLevel&&0');else if(e.options.bullet.characterCode){var p=\"&#x\"+e.options.bullet.characterCode+\";\";!1===/^[0-9A-Fa-f]{4}$/.test(e.options.bullet.characterCode)&&(console.warn(\"Warning: `bullet.characterCode should be a 4-digit unicode charatcer (ex: 22AB)`!\"),p=se.DEFAULT),s+=' marL=\"'+(e.options.indentLevel&&0'}else if(e.options.bullet.code){p=\"&#x\"+e.options.bullet.code+\";\";!1===/^[0-9A-Fa-f]{4}$/.test(e.options.bullet.code)&&(console.warn(\"Warning: `bullet.code should be a 4-digit hex code (ex: 22AB)`!\"),p=se.DEFAULT),s+=' marL=\"'+(e.options.indentLevel&&0'}else s+=' marL=\"'+(e.options.indentLevel&&0';else!0===e.options.bullet?(s+=' marL=\"'+(e.options.indentLevel&&0'):!1===e.options.bullet&&(s+=' indent=\"0\" marL=\"0\"',a=\"\");e.options.tabStops&&Array.isArray(e.options.tabStops)&&(l=\"\"+e.options.tabStops.map(function(e){return''}).join(\"\")+\"\");return s+=\">\"+r+o+a+l,t&&(s+=_e(e.options,!0)),s+=\"\"}function _e(e,t){var a,r=\"\",o=t?\"a:defRPr\":\"a:rPr\";if(r+=\"<\"+o+' lang=\"'+(e.lang?e.lang:\"en-US\")+'\"'+(e.lang?' altLang=\"en-US\"':\"\"),r+=e.fontSize?' sz=\"'+Math.round(e.fontSize)+'00\"':\"\",r+=e.hasOwnProperty(\"bold\")?' b=\"'+(e.bold?1:0)+'\"':\"\",r+=e.hasOwnProperty(\"italic\")?' i=\"'+(e.italic?1:0)+'\"':\"\",r+=e.hasOwnProperty(\"strike\")?' strike=\"'+(\"string\"==typeof e.strike?e.strike:\"sngStrike\")+'\"':\"\",\"object\"==typeof e.underline&&(null===(a=e.underline)||void 0===a?void 0:a.style)?r+=' u=\"'+e.underline.style+'\"':\"string\"==typeof e.underline?r+=' u=\"'+e.underline+'\"':e.hyperlink&&(r+=' u=\"sng\"'),e.baseline?r+=' baseline=\"'+Math.round(50*e.baseline)+'\"':e.subscript?r+=' baseline=\"-40000\"':e.superscript&&(r+=' baseline=\"30000\"'),r+=e.charSpacing?' spc=\"'+Math.round(100*e.charSpacing)+'\" kern=\"0\"':\"\",r+=' dirty=\"0\">',(e.color||e.fontFace||e.outline||\"object\"==typeof e.underline&&e.underline.color)&&(e.outline&&\"object\"==typeof e.outline&&(r+=''+Pe(e.outline.color||\"FFFFFF\")+\"\"),e.color&&(r+=Pe(e.color)),e.highlight&&(r+=\"\"+Ce(e.highlight)+\"\"),\"object\"==typeof e.underline&&e.underline.color&&(r+=\"\"+Pe(e.underline.color)+\"\"),e.glow&&(r+=\"\"+function(e,t){var a=\"\",r=me(t,e);return a+='',a+=Ce(r.color,''),a+=\"\"}(e.glow,T)+\"\"),e.fontFace&&(r+='')),e.hyperlink){if(\"object\"!=typeof e.hyperlink)throw new Error(\"ERROR: text `hyperlink` option should be an object. Ex: `hyperlink:{url:'https://github.com'}` \");if(!e.hyperlink.url&&!e.hyperlink.slide)throw new Error(\"ERROR: 'hyperlink requires either `url` or `slide`'\");e.hyperlink.url?r+='\":\"/>\"):e.hyperlink.slide&&(r+='\":\"/>\")),e.color&&(r+=\"\\t\",r+='\\t\\t',r+='\\t\\t\\t',r+=\"\\t\\t\",r+=\"\\t\",r+=\"\")}return r+=\"\"}function Fe(r){var o=r.options||{},e=[],a=[];if(o&&r._type!==oe.tablecell&&(void 0===r.text||null===r.text))return\"\";var l=r._type===oe.tablecell?\"\":\"\";l+=function(e){var t=\"\",e.options.fit&&(\"none\"===e.options.fit?t+=\"\":\"shrink\"===e.options.fit?t+=\"\":\"resize\"===e.options.fit&&(t+=\"\")),e.options.shrinkText&&(t+=\"\"),t+=!1!==e.options._bodyProp.autoFit?\"\":\"\"):t+=' wrap=\"square\" rtlCol=\"0\">',t+=\"\",e._type===oe.tablecell?\"\":t}(r),0===o.h&&o.line&&o.align?l+='':\"placeholder\"===r._type?l+=\"\"+Ee(r,!0)+\"\":l+=\"\",\"string\"==typeof r.text||\"number\"==typeof r.text?e.push({text:r.text.toString(),options:o||{}}):r.text&&!Array.isArray(r.text)&&\"object\"==typeof r.text&&-1\";var a=\"\"),r.options.align=r.options.align||o.align,r.options.lineSpacing=r.options.lineSpacing||o.lineSpacing,r.options.lineSpacingMultiple=r.options.lineSpacingMultiple||o.lineSpacingMultiple,r.options.indentLevel=r.options.indentLevel||o.indentLevel,r.options.paraSpaceBefore=r.options.paraSpaceBefore||o.paraSpaceBefore,r.options.paraSpaceAfter=r.options.paraSpaceAfter||o.paraSpaceAfter,a=Ee(r,!1),l+=a,Object.entries(o).forEach(function(e){var t=e[0],a=e[1];r.options.hyperlink&&\"color\"===t||\"bullet\"===t||r.options[t]||(r.options[t]=a)}),l+=function(e){return e.text?\"\"+_e(e.options,!1)+\"\"+ue(e.text)+\"\":\"\"}(r),(!r.text&&o.fontSize||r.options.fontSize)&&(t=!0,o.fontSize=o.fontSize||r.options.fontSize)}),r._type===oe.tablecell&&(o.fontSize||o.fontFace)?o.fontFace?(l+='',l+='',l+='',l+='',l+=\"\"):l+='':l+=t?'':'',l+=\"\"}),l+=r._type===oe.tablecell?\"\":\"\"}function Be(e){if(!e)return\"\";var t=e.options&&e.options._placeholderIdx?e.options._placeholderIdx:\"\",a=e.options&&e.options._placeholderType?e.options._placeholderType:\"\";return\"\"}function Ie(e){return''+g+''+ue(function(e){var t=\"\";return e._slideObjects.forEach(function(e){e._type===oe.notes&&(t+=e.text&&e.text[0]?e.text[0].text:\"\")}),t.replace(/\\r*\\n/g,g)}(e))+''+e._slideNum+''}function Ne(e){e&&\"object\"==typeof e&&(\"outer\"!==e.type&&\"inner\"!==e.type&&\"none\"!==e.type&&(console.warn(\"Warning: shadow.type options are `outer`, `inner` or `none`.\"),e.type=\"outer\"),e.angle&&((isNaN(Number(e.angle))||e.angle<0||359 \\n'),e.file(\"_rels/.rels\",'\\n'),e.file(\"docProps/app.xml\",'Microsoft Excel0falseWorksheets1Sheet1\\n'),e.file(\"docProps/core.xml\",'PptxGenJSEly, Brent'+(new Date).toISOString()+''+(new Date).toISOString()+\"\\n\"),e.file(\"xl/_rels/workbook.xml.rels\",'\\n'),e.file(\"xl/styles.xml\",'\\n'),e.file(\"xl/theme/theme1.xml\",''),e.file(\"xl/workbook.xml\",'\\n'),e.file(\"xl/worksheets/_rels/sheet1.xml.rels\",'\\n');var r='';c.opts._type===Z.BUBBLE?r+='':c.opts._type===Z.SCATTER?r+='':(r+='',r+=''),c.opts._type===Z.BUBBLE?f.forEach(function(e,t){0===t?r+=\"X-Axis\":(r+=\"\"+ue(e.name||\" \")+\"\",r+=\"\"+ue(\"Size \"+t)+\"\")}):f.forEach(function(e){r+=\"\"+ue((e.name||\" \").replace(\"X-Axis\",\"X-Values\"))+\"\"}),c.opts._type!==Z.BUBBLE&&c.opts._type!==Z.SCATTER&&f[0].labels.forEach(function(e){r+=\"\"+ue(e)+\"\"}),r+=\"\\n\",e.file(\"xl/sharedStrings.xml\",r);var l='';c.opts._type===Z.BUBBLE||(c.opts._type===Z.SCATTER?(l+='',l+='',f.forEach(function(e,t){l+=''})):(l+='
',l+='',l+='',f.forEach(function(e,t){l+=''}))),l+=\"\",l+='',l+=\"
\",e.file(\"xl/tables/table1.xml\",l);var n='';if(n+='',c.opts._type===Z.BUBBLE?n+='':c.opts._type===Z.SCATTER?n+='':n+='',n+='',n+='',c.opts._type===Z.BUBBLE){n+=\"\",n+='',n+=\"\",n+=\"\",n+='',n+='0';for(var i=1;i',n+=\"\"+i+\"\",n+=\"\";n+=\"\",f[0].values.forEach(function(e,t){n+='',n+=''+e+\"\";for(var a=1,r=1;r',n+=\"\"+(f[r].values[t]||\"\")+\"\",n+=\"\",n+='',n+=\"\"+(f[r].sizes[t]||\"\")+\"\",n+=\"\",a++;n+=\"\"})}else if(c.opts._type===Z.SCATTER){n+=\"\",n+='',n+=\"\",n+=\"\",n+='',n+='0';for(var s=1;s',n+=\"\"+s+\"\",n+=\"\";n+=\"\",f[0].values.forEach(function(e,t){n+='',n+=''+e+\"\";for(var a=1;a',n+=\"\"+(f[a].values[t]||0===f[a].values[t]?f[a].values[t]:\"\")+\"\",n+=\"\";n+=\"\"})}else{n+=\"\",n+='',n+=\"\",n+=\"\",n+='',n+='0';for(var p=1;p<=f.length;p++)n+='',n+=\"\"+p+\"\",n+=\"\";n+=\"\",f[0].labels.forEach(function(e,t){n+='',n+='',n+=\"\"+(f.length+t+1)+\"\",n+=\"\";for(var a=0;a',n+=\"\"+(f[a].values[t]||\"\")+\"\",n+=\"\";n+=\"\"})}n+=\"\",n+='',n+=\"\\n\",e.file(\"xl/worksheets/sheet1.xml\",n),e.generateAsync({type:\"base64\"}).then(function(e){d.file(\"ppt/embeddings/Microsoft_Excel_Worksheet\"+c.globalId+\".xlsx\",e,{base64:!0}),d.file(\"ppt/charts/_rels/\"+c.fileName+\".rels\",''),d.file(\"ppt/charts/\"+c.fileName,function(o){var l='',n=!1;l+='',l+='',l+=\"\",o.opts.showTitle?(l+=qe({title:o.opts.title||\"Chart Title\",color:o.opts.titleColor,fontFace:o.opts.titleFontFace,fontSize:o.opts.titleFontSize||C,titleAlign:o.opts.titleAlign,titleBold:o.opts.titleBold,titlePos:o.opts.titlePos,titleRotate:o.opts.titleRotate}),l+=''):l+='';o.opts._type===Z.BAR3D&&(l+=\"\",l+=' ',l+=' ',l+=' ',l+=' ',l+=\"\");l+=\"\",o.opts.layout?(l+=\"\",l+=\" \",l+=' ',l+=' ',l+=' ',l+=' ',l+=' ',l+=' ',l+=' ',l+=\" \",l+=\"\"):l+=\"\";Array.isArray(o.opts._type)?o.opts._type.forEach(function(e){var t=me(o.opts,e.options),a=t.secondaryValAxis?R:S,r=t.secondaryCatAxis?_:E;n=n||t.secondaryValAxis,l+=je(e.type,e.data,t,a,r)}):l+=je(o.opts._type,o.data,o.opts,S,E);if(o.opts._type!==Z.PIE&&o.opts._type!==Z.DOUGHNUT){if(o.opts.valAxes&&1\",r+=' ',r+=' ',r+=' ',r+=' ',r+=\"none\"!==t.serGridLine.style?Je(t.serGridLine):\"\",t.showSerAxisTitle&&(r+=qe({color:t.serAxisTitleColor,fontFace:t.serAxisTitleFontFace,fontSize:t.serAxisTitleFontSize,titleRotate:t.serAxisTitleRotate,title:t.serAxisTitle||\"Axis Title\"}));r+=' ',r+=' ',r+=' ',r+=' ',r+=\" \",r+=' ',r+=!1===t.serAxisLineShow?\"\":\"\"+Ce(t.serAxisLineColor||b.color)+\"\",r+=' ',r+=\" \",r+=\" \",r+=\" \",r+=\" \",r+=\" \",r+=\" \",r+=\" \",r+=\" \",r+=' ',r+=\" \"+Ce(t.serAxisLabelColor||v)+\"\",r+=' ',r+=\" \",r+=\" \",r+=' ',r+=\" \",r+=\" \",r+=' ',r+=' ',t.serAxisLabelFrequency&&(r+=' ');t.serLabelFormatCode&&([\"serAxisBaseTimeUnit\",\"serAxisMajorTimeUnit\",\"serAxisMinorTimeUnit\"].forEach(function(e){!t[e]||\"string\"==typeof t[e]&&-1!==[\"days\",\"months\",\"years\"].indexOf(e.toLowerCase())||(console.warn(\"`\"+e+\"` must be one of: 'days','months','years' !\"),t[e]=null)}),t.serAxisBaseTimeUnit&&(r+=' '),t.serAxisMajorTimeUnit&&(r+=' '),t.serAxisMinorTimeUnit&&(r+=' '),t.serAxisMajorUnit&&(r+=' '),t.serAxisMinorUnit&&(r+=' '));return r+=\"\"}(o.opts,F,S)))}o.opts.showDataTable&&(l+=\"\",l+=' ',l+=' ',l+=' ',l+=' ',l+=\" \",l+=\" \",l+=' ',l+=\" \",l+=\" \",l+=\" \",l+='\\t ',l+=\"\\t \",l+=\"\\t \",l+='\\t\\t',l+=' ',l+='\\t\\t\\t',l+='\\t\\t\\t',l+='\\t\\t\\t',l+='\\t\\t\\t',l+=\"\\t\\t \",l+=\"\\t\\t\",l+='\\t\\t',l+=\"\\t \",l+=\"\\t\",l+=\"\");l+=\" \",l+=o.opts.fill?Pe(o.opts.fill):\"\",l+=o.opts.border?''+Pe(o.opts.border.color)+\"\":\"\",l+=\" \",l+=\" \",l+=\"\",o.opts.showLegend&&(l+=\"\",l+='',l+='',(o.opts.legendFontFace||o.opts.legendFontSize||o.opts.legendColor)&&(l+=\"\",l+=\" \",l+=\" \",l+=\" \",l+=\" \",l+=o.opts.legendFontSize?'':\"\",o.opts.legendColor&&(l+=Pe(o.opts.legendColor)),o.opts.legendFontFace&&(l+=''),o.opts.legendFontFace&&(l+=''),l+=\" \",l+=\" \",l+=' ',l+=\" \",l+=\"\"),l+=\"\");l+=' ',l+=' ',o.opts._type===Z.SCATTER&&(l+='');return l+=\"\",l+=\"\",l+=\" \",l+=' ',l+=\" \",l+=\"\",l+='',l+=\"\"}(c)),t(null)}).catch(function(e){a(e)})})}function je(r,o,l,e,t){var n=\"\";switch(r){case Z.AREA:case Z.BAR:case Z.BAR3D:case Z.LINE:case Z.RADAR:n+=\"\",r===Z.AREA&&\"stacked\"===l.barGrouping&&(n+=''),r!==Z.BAR&&r!==Z.BAR3D||(n+='',n+=''),r===Z.RADAR&&(n+=''),n+='';var i=-1;o.forEach(function(e){i++;var t=e.index;n+=\"\",n+=' ',n+=' ',n+=\" \",n+=\" \",n+=\" Sheet1!$\"+Xe(t+1)+\"$1\",n+=' '+ue(e.name)+\"\",n+=\" \",n+=\" \",n+=' ';var a=l.chartColors?l.chartColors[i%l.chartColors.length]:null;n+=\" \",\"transparent\"===a?n+=\"\":l.chartColorsOpacity?n+=\"\"+Ce(a,'')+\"\":n+=\"\"+Ce(a)+\"\",r===Z.LINE?0===l.lineSize?n+=\"\":(n+=''+Ce(a)+\"\",n+=''):l.dataBorder&&(n+=''+Ce(l.dataBorder.color)+''),n+=Ke(l.shadow,w),n+=\" \",r!==Z.RADAR&&(n+=\" \",n+=' ',l.dataLabelBkgrdColors&&(n+=\" \",n+=\" \"+Ce(a)+\"\",n+=\" \"),n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=' ',n+=\" \"+Ce(l.dataLabelColor||v)+\"\",n+=' ',n+=\" \",n+=\" \",n+=\" \",l.dataLabelPosition&&(n+=' '),n+=' ',n+=' ',n+=' ',n+=' ',n+=' ',n+=' ',n+=' ',n+=\" \"),r!==Z.LINE&&r!==Z.RADAR||(n+=\"\",n+=' ',l.lineDataSymbolSize&&(n+=' '),n+=\" \",n+=\" \"+Ce(l.chartColors[t+1>l.chartColors.length?Math.floor(Math.random()*l.chartColors.length):t])+\"\",n+=' '+Ce(l.lineDataSymbolLineColor||a)+'',n+=\" \",n+=\" \",n+=\"\"),(r===Z.BAR||r===Z.BAR3D)&&1===o.length&&l.chartColors!==I&&1\",n+=' ',n+=' ',n+=' ',n+=\" \",0===l.lineSize?n+=\"\":r===Z.BAR?(n+=\"\",n+=' ',n+=\"\"):(n+=\"\",n+=\" \",n+=' ',n+=\" \",n+=\"\"),n+=Ke(l.shadow,w),n+=\" \",n+=\" \"}),n+=\"\",l.catLabelFormatCode?(n+=\" \",n+=\" Sheet1!$A$2:$A$\"+(e.labels.length+1)+\"\",n+=\" \",n+=\" \"+(l.catLabelFormatCode||\"General\")+\"\",n+=' ',e.labels.forEach(function(e,t){n+=''+ue(e)+\"\"}),n+=\" \",n+=\" \"):(n+=\" \",n+=\" Sheet1!$A$2:$A$\"+(e.labels.length+1)+\"\",n+=\" \",n+='\\t ',e.labels.forEach(function(e,t){n+=''+ue(e)+\"\"}),n+=\" \",n+=\" \"),n+=\"\",n+=\"\",n+=\" \",n+=\" Sheet1!$\"+Xe(t+1)+\"$2:$\"+Xe(t+1)+\"$\"+(e.labels.length+1)+\"\",n+=\" \",n+=\" \"+(l.valLabelFormatCode||l.dataTableFormatCode||\"General\")+\"\",n+=' ',e.values.forEach(function(e,t){n+=''+(e||0===e?e:\"\")+\"\"}),n+=\" \",n+=\" \",n+=\"\",r===Z.LINE&&(n+=''),n+=\"\"}),n+=\" \",n+=' ',n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=' ',n+=\" \"+Ce(l.dataLabelColor||v)+\"\",n+=' ',n+=\" \",n+=\" \",n+=\" \",l.dataLabelPosition&&(n+=' '),n+=' ',n+=' ',n+=' ',n+=' ',n+=' ',n+=' ',n+=' ',n+=\" \",r===Z.BAR?(n+=' ',n+=' '):r===Z.BAR3D?(n+=' ',n+=' ',n+=' '):r===Z.LINE&&(n+=' '),n+=' ',n+=' ',n+=' ',n+=\"\";break;case Z.SCATTER:n+=\"\",n+='',n+='',i=-1,o.filter(function(e,t){return 0\",n+=' ',n+=' ',n+=\" \",n+=\" \",n+=\" Sheet1!$\"+B[e+1]+\"$1\",n+=' '+a.name+\"\",n+=\" \",n+=\" \",n+=\" \";var t=l.chartColors[i%l.chartColors.length];if(\"transparent\"===t?n+=\"\":l.chartColorsOpacity?n+=\"\"+Ce(t,'')+\"\":n+=\"\"+Ce(t)+\"\",0===l.lineSize?n+=\"\":(n+=''+Ce(t)+\"\",n+=''),n+=Ke(l.shadow,w),n+=\" \",n+=\"\",n+=' ',l.lineDataSymbolSize&&(n+=' '),n+=\" \",n+=\" \"+Ce(l.chartColors[e+1>l.chartColors.length?Math.floor(Math.random()*l.chartColors.length):e])+\"\",n+=' '+Ce(l.lineDataSymbolLineColor||l.chartColors[i%l.chartColors.length])+'',n+=\" \",n+=\" \",n+=\"\",l.showLabel){var r=Ae(\"-xxxx-xxxx-xxxx-xxxxxxxxxxxx\");!a.labels||\"custom\"!==l.dataLabelFormatScatter&&\"customXY\"!==l.dataLabelFormatScatter||(n+=\"\",a.labels.forEach(function(e,t){\"custom\"!==l.dataLabelFormatScatter&&\"customXY\"!==l.dataLabelFormatScatter||(n+=\" \",n+=' ',n+=\" \",n+=\" \",n+=\"\\t\\t\\t\",n+=\"\\t\\t\\t\\t\",n+=\"\\t\\t\\t\",n+=\" \\t\",n+=\" \\t\",n+=\"\\t\\t\\t\\t\",n+=\"\\t\\t\\t\\t\\t\",n+=\"\\t\\t\\t\\t\",n+=\" \\t\",n+=' \\t\\t',n+=\" \\t\\t\"+ue(e)+\"\",n+=\" \\t\",\"customXY\"!==l.dataLabelFormatScatter||/^ *$/.test(e)||(n+=\" \\t\",n+=' \\t\\t',n+=\" \\t\\t (\",n+=\" \\t\",n+=' \\t',n+=' \\t\\t',n+=\" \\t\\t\",n+=\" \\t\\t\\t\",n+=\" \\t\\t\",n+=\" \\t\\t[\"+ue(a.name)+\"\",n+=\" \\t\",n+=\" \\t\",n+=' \\t\\t',n+=\" \\t\\t, \",n+=\" \\t\",n+=' \\t',n+=' \\t\\t',n+=\" \\t\\t\",n+=\" \\t\\t\\t\",n+=\" \\t\\t\",n+=\" \\t\\t[\"+ue(a.name)+\"]\",n+=\" \\t\",n+=\" \\t\",n+=' \\t\\t',n+=\" \\t\\t)\",n+=\" \\t\",n+=' \\t'),n+=\" \\t\",n+=\" \",n+=\" \",n+=\" \",n+=\" \\t\",n+=\" \\t\",n+=\" \\t\\t\",n+=\" \\t\",n+=\" \\t\",n+=\" \",l.dataLabelPosition&&(n+=' '),n+=' ',n+=' ',n+=' ',n+=' ',n+=' ',n+=' ',n+='\\t ',n+=\" \",n+=' ',n+=' ',n+='\\t\\t\\t',n+=\" \",n+=\"\\t\\t\",n+=\"\")}),n+=\"\"),\"XY\"===l.dataLabelFormatScatter&&(n+=\"\",n+=\"\\t\",n+=\"\\t\\t\",n+=\"\\t\\t\",n+=\"\\t\\t\\t\",n+=\"\\t\\t\",n+=\"\\t \\t\",n+=\"\\t\",n+=\"\\t\",n+=\"\\t\\t\",n+=\"\\t\\t\\t\",n+=\"\\t\\t\",n+=\"\\t\\t\",n+=\"\\t\\t\",n+=\"\\t \\t\",n+=\" \\t\\t\",n+=\"\\t \\t\",n+='\\t \\t',n+=\"\\t\\t\",n+=\"\\t\",l.dataLabelPosition&&(n+=' '),n+='\\t',n+=' ',n+=' ',n+='\\t',n+='\\t',n+='\\t',n+=\"\\t\",n+='\\t\\t',n+='\\t\\t\\t',n+=\"\\t\\t\",n+=\"\\t\",n+=\"\")}1===o.length&&l.chartColors!==I&&a.values.forEach(function(e,t){var a=e<0?l.invertedColors||l.chartColors||I:l.chartColors||[];n+=\" \",n+=' ',n+=' ',n+=' ',n+=\" \",0===l.lineSize?n+=\"\":(n+=\"\",n+=' ',n+=\"\"),n+=Ke(l.shadow,w),n+=\" \",n+=\" \"}),n+=\"\",n+=\" \",n+=\" Sheet1!$A$2:$A$\"+(o[0].values.length+1)+\"\",n+=\" \",n+=\" General\",n+=' ',o[0].values.forEach(function(e,t){n+=''+(e||0===e?e:\"\")+\"\"}),n+=\" \",n+=\" \",n+=\"\",n+=\"\",n+=\" \",n+=\" Sheet1!$\"+Xe(e+1)+\"$2:$\"+Xe(e+1)+\"$\"+(o[0].values.length+1)+\"\",n+=\" \",n+=\" General\",n+=' ',o[0].values.forEach(function(e,t){n+=''+(a.values[t]||0===a.values[t]?a.values[t]:\"\")+\"\"}),n+=\" \",n+=\" \",n+=\"\",n+='',n+=\"\"}),n+=\" \",n+=' ',n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=' ',n+=\" \"+Ce(l.dataLabelColor||v)+\"\",n+=' ',n+=\" \",n+=\" \",n+=\" \",l.dataLabelPosition&&(n+=' '),n+=' ',n+=' ',n+=' ',n+=' ',n+=' ',n+=' ',n+=\" \",n+=' ',n+=' ',n+=\"\";break;case Z.BUBBLE:n+=\"\",n+='',i=-1;var s=1;o.filter(function(e,t){return 0\",n+=' ',n+=' ',n+=\" \",n+=\" \",n+=\" Sheet1!$\"+B[s]+\"$1\",n+=' '+a.name+\"\",n+=\" \",n+=\" \",n+=\"\";var t=l.chartColors[i%l.chartColors.length];\"transparent\"===t?n+=\"\":l.chartColorsOpacity?n+=\"\"+Ce(t,'')+\"\":n+=\"\"+Ce(t)+\"\",0===l.lineSize?n+=\"\":l.dataBorder?n+=''+Ce(l.dataBorder.color)+'':(n+=''+Ce(t)+\"\",n+=''),n+=Ke(l.shadow,w),n+=\"\",n+=\"\",n+=\" \",n+=\" Sheet1!$A$2:$A$\"+(o[0].values.length+1)+\"\",n+=\" \",n+=\" General\",n+=' ',o[0].values.forEach(function(e,t){n+=''+(e||0===e?e:\"\")+\"\"}),n+=\" \",n+=\" \",n+=\"\",n+=\"\",n+=\" \",n+=\" Sheet1!$\"+Xe(s)+\"$2:$\"+Xe(s)+\"$\"+(o[0].values.length+1)+\"\",s++,n+=\" \",n+=\" General\",n+=' ',o[0].values.forEach(function(e,t){n+=''+(a.values[t]||0===a.values[t]?a.values[t]:\"\")+\"\"}),n+=\" \",n+=\" \",n+=\"\",n+=\" \",n+=\" \",n+=\" Sheet1!$\"+Xe(s)+\"$2:$\"+Xe(e+2)+\"$\"+(a.sizes.length+1)+\"\",s++,n+=\" \",n+=\" General\",n+='\\t ',a.sizes.forEach(function(e,t){n+=''+(e||\"\")+\"\"}),n+=\" \",n+=\" \",n+=\" \",n+=' ',n+=\"\"}),n+=\" \",n+=' ',n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=' ',n+=\" \"+Ce(l.dataLabelColor||v)+\"\",n+=' ',n+=\" \",n+=\" \",n+=\" \",l.dataLabelPosition&&(n+=' '),n+=' ',n+=' ',n+=' ',n+=' ',n+=' ',n+=' ',n+=\" \",n+=' ',n+=' ',n+=\"\";break;case Z.DOUGHNUT:case Z.PIE:var a=o[0];n+=\"\",n+=' ',n+=\"\",n+=' ',n+=' ',n+=\" \",n+=\" \",n+=\" Sheet1!$B$1\",n+=\" \",n+=' ',n+=' '+ue(a.name)+\"\",n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=' ',n+=' ',l.dataNoEffects?n+=\"\":n+=Ke(l.shadow,w),n+=\" \",a.labels.forEach(function(e,t){n+=\"\",n+=' ',n+=' ',n+=\" \",n+=\"\"+Ce(l.chartColors[t+1>l.chartColors.length?Math.floor(Math.random()*l.chartColors.length):t])+\"\",l.dataBorder&&(n+=''+Ce(l.dataBorder.color)+''),n+=Ke(l.shadow,w),n+=\" \",n+=\"\"}),n+=\"\",a.labels.forEach(function(e,t){n+=\"\",n+=' ',n+=' ',n+=\" \",n+=\" \",n+=\" \",n+=' ',n+=\" \"+Ce(l.dataLabelColor||v)+\"\",n+=' ',n+=\" \",n+=\" \",n+=\" \",r===Z.PIE&&l.dataLabelPosition&&(n+=' '),n+=' ',n+=' ',n+=' ',n+=' ',n+=' ',n+=' ',n+=\" \"}),n+=' ',n+=\"\\t\",n+=\"\\t \",n+=\"\\t \",n+=\"\\t \",n+=\"\\t\\t\",n+='\\t\\t ',n+='\\t\\t\\t',n+=\"\\t\\t \",n+=\"\\t\\t\",n+=\"\\t \",n+=\"\\t\",n+=r===Z.PIE?'':\"\",n+='\\t',n+='\\t',n+='\\t',n+='\\t',n+='\\t',n+='\\t',n+=' ',n+=\"\",n+=\"\",n+=\" \",n+=\" Sheet1!$A$2:$A$\"+(a.labels.length+1)+\"\",n+=\" \",n+='\\t ',a.labels.forEach(function(e,t){n+=''+ue(e)+\"\"}),n+=\" \",n+=\" \",n+=\"\",n+=\" \",n+=\" \",n+=\" Sheet1!$B$2:$B$\"+(a.labels.length+1)+\"\",n+=\" \",n+='\\t ',a.values.forEach(function(e,t){n+=''+(e||0===e?e:\"\")+\"\"}),n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=' ',r===Z.DOUGHNUT&&(n+=' '),n+=\"\";break;default:n+=\"\"}return n}function Qe(t,e,a){var r=\"\";return t._type===Z.SCATTER||t._type===Z.BUBBLE?r+=\"\":r+=\"\",r+=' ',r+=\" \",r+='',!t.catAxisMaxVal&&0!==t.catAxisMaxVal||(r+=''),!t.catAxisMinVal&&0!==t.catAxisMinVal||(r+=''),r+=\"\",r+=' ',r+=' ',r+=\"none\"!==t.catGridLine.style?Je(t.catGridLine):\"\",t.showCatAxisTitle&&(r+=qe({color:t.catAxisTitleColor,fontFace:t.catAxisTitleFontFace,fontSize:t.catAxisTitleFontSize,titleRotate:t.catAxisTitleRotate,title:t.catAxisTitle||\"Axis Title\"})),t._type===Z.SCATTER||t._type===Z.BUBBLE?r+=' ':r+=' ',t._type===Z.SCATTER?(r+=' ',r+=' ',r+=' '):(r+=' ',r+=' ',r+=' '),r+=\" \",r+=' ',r+=!1===t.catAxisLineShow?\"\":\"\"+Ce(t.catAxisLineColor||b.color)+\"\",r+=' ',r+=\" \",r+=\" \",r+=\" \",r+=\" \",r+=\" \",r+=\" \",r+=\" \",r+=\" \",r+=' ',r+=\" \"+Ce(t.catAxisLabelColor||v)+\"\",r+=' ',r+=\" \",r+=\" \",r+=' ',r+=\" \",r+=\" \",r+=' ',r+=\" ',r+=' ',r+=' ',r+=' ',t.catAxisLabelFrequency&&(r+=' '),!t.catLabelFormatCode&&t._type!==Z.SCATTER&&t._type!==Z.BUBBLE||(t.catLabelFormatCode&&([\"catAxisBaseTimeUnit\",\"catAxisMajorTimeUnit\",\"catAxisMinorTimeUnit\"].forEach(function(e){!t[e]||\"string\"==typeof t[e]&&-1!==[\"days\",\"months\",\"years\"].indexOf(t[e].toLowerCase())||(console.warn(\"`\"+e+\"` must be one of: 'days','months','years' !\"),t[e]=null)}),t.catAxisBaseTimeUnit&&(r+=''),t.catAxisMajorTimeUnit&&(r+=''),t.catAxisMinorTimeUnit&&(r+='')),t.catAxisMajorUnit&&(r+=''),t.catAxisMinorUnit&&(r+='')),t._type===Z.SCATTER||t._type===Z.BUBBLE?r+=\"\":r+=\"\",r}function Ye(e,t){var a=t===S?\"col\"===e.barDir?\"l\":\"b\":\"col\"!==e.barDir?\"r\":\"t\",r=\"\",o=\"r\"==a||\"t\"==a?\"max\":\"autoZero\",l=t===S?E:_;return r+=\"\",r+=' ',r+=\" \",e.valAxisLogScaleBase&&(r+=' '),r+=' ',!e.valAxisMaxVal&&0!==e.valAxisMaxVal||(r+=''),!e.valAxisMinVal&&0!==e.valAxisMinVal||(r+=''),r+=\" \",r+=' ',r+=' ',\"none\"!==e.valGridLine.style&&(r+=Je(e.valGridLine)),e.showValAxisTitle&&(r+=qe({color:e.valAxisTitleColor,fontFace:e.valAxisTitleFontFace,fontSize:e.valAxisTitleFontSize,titleRotate:e.valAxisTitleRotate,title:e.valAxisTitle||\"Axis Title\"})),r+=\"',e._type===Z.SCATTER?(r+=' ',r+=' ',r+=' '):(r+=' ',r+=' ',r+=' '),r+=\" \",r+=' ',r+=!1===e.valAxisLineShow?\"\":\"\"+Ce(e.valAxisLineColor||b.color)+\"\",r+=' ',r+=\" \",r+=\" \",r+=\" \",r+=\" \",r+=\" \",r+=\" \",r+=\" \",r+=\" \",r+=' ',r+=\" \"+Ce(e.valAxisLabelColor||v)+\"\",r+=' ',r+=\" \",r+=\" \",r+=' ',r+=\" \",r+=\" \",r+=' ',r+=' ',r+=' ',e.valAxisMajorUnit&&(r+=' '),e.valAxisDisplayUnit&&(r+=''+(e.valAxisDisplayUnitLabel?\"\":\"\")+\"\"),r+=\"\"}function qe(e){var t=\"left\"===e.titleAlign||\"right\"===e.titleAlign?'':\"\",a=e.titleRotate?'':\"\",r=e.fontSize?'sz=\"'+Math.round(100*e.fontSize)+'\"':\"\",o=!0===e.titleBold?1:0,l=e.titlePos&&e.titlePos.x&&e.titlePos.y?'':\"\";return\"\\n\\t \\n\\t \\n\\t \"+a+\"\\n\\t \\n\\t \\n\\t \"+t+\"\\n\\t \\n\\t '+Ce(e.color||v)+'\\n\\t \\n\\t \\n\\t \\n\\t \\n\\t \\n\\t '+Ce(e.color||v)+'\\n\\t \\n\\t \\n\\t '+(ue(e.title)||\"\")+\"\\n\\t \\n\\t \\n\\t \\n\\t \\n\\t \"+l+'\\n\\t \\n\\t'}function Xe(e){var t=\"\";return e<=26?t=B[e]:(t+=B[Math.floor(e/B.length)-1],t+=B[e%B.length]),t}function Ke(e,t){if(!e)return\"\";if(\"object\"!=typeof e)return console.warn(\"`shadow` options must be an object. Ex: `{shadow: {type:'none'}}`\"),\"\";var a=\"\",r=me(t,e),o=r.type||\"outer\",l=ye(r.blur),n=ye(r.offset),i=Math.round(6e4*r.angle),s=r.color,p=Math.round(1e5*r.opacity);return a+=\"',a+='',a+='',a+=\"\",a+=\"\"}function Je(e){var t=\"\";return t+=\" \",t+=' ',t+=' ',t+=' ',t+=\" \",t+=\" \",t+=\"\"}function Ze(e){var l=\"undefined\"!=typeof require&&\"undefined\"==typeof window?require(\"fs\"):null,n=\"undefined\"!=typeof require&&\"undefined\"==typeof window?require(\"https\"):null,t=[];return e._relsMedia.filter(function(e){return\"online\"!==e.type&&!e.data&&(!e.path||e.path&&-1===e.path.indexOf(\"preencoded\"))}).forEach(function(o){t.push(new Promise(function(a,r){if(l&&0!==o.path.indexOf(\"http\"))try{var e=l.readFileSync(o.path);o.data=Buffer.from(e).toString(\"base64\"),a(\"done\")}catch(e){o.data=de,r('ERROR: Unable to read media: \"'+o.path+'\"\\n'+e.toString())}else if(l&&n&&0===o.path.indexOf(\"http\"))n.get(o.path,function(e){var t=\"\";e.setEncoding(\"binary\"),e.on(\"data\",function(e){return t+=e}),e.on(\"end\",function(){o.data=Buffer.from(t,\"binary\").toString(\"base64\"),a(\"done\")}),e.on(\"error\",function(e){o.data=de,r(\"ERROR! Unable to load image (https.get): \"+o.path)})});else{var t=new XMLHttpRequest;t.onload=function(){var e=new FileReader;e.onloadend=function(){o.data=e.result,o.isSvgPng?$e(o).then(function(){a(\"done\")}).catch(function(e){r(e)}):a(\"done\")},e.readAsDataURL(t.response)},t.onerror=function(e){o.data=de,r(\"ERROR! Unable to load image (xhr.onerror): \"+o.path)},t.open(\"GET\",o.path),t.responseType=\"blob\",t.send()}}))}),e._relsMedia.filter(function(e){return e.isSvgPng&&e.data}).forEach(function(e){l?(e.data=de,t.push(Promise.resolve().then(function(){return\"done\"}))):t.push($e(e))}),t}function $e(o){return new Promise(function(a,t){var r=new Image;r.onload=function(){r.width+r.height===0&&r.onerror(\"h/w=0\");var e=document.createElement(\"CANVAS\"),t=e.getContext(\"2d\");e.width=r.width,e.height=r.height,t.drawImage(r,0,0);try{o.data=e.toDataURL(o.type),a(\"done\")}catch(e){r.onerror(e)}e=null},r.onerror=function(e){o.data=de,t(\"ERROR! Unable to load image (image.onerror): \"+o.path)},r.src=\"string\"==typeof o.data?o.data:de})}function et(){var o=this;this._version=\"3.7.0\",this._alignH=Q,this._alignV=q,this._chartType=z,this._outputType=U,this._schemeColor=V,this._shapeType=W,this._charts=Z,this._colors=ee,this._shapes=K,this.addNewSlide=function(e){var t=0')})}),r+='',r+='',r+='',r+='',e.forEach(function(e,t){r+='',r+='',e._relsChart.forEach(function(e){r+=' '})}),r+='',r+='',r+='',r+='',t.forEach(function(e,t){r+='',(e._relsChart||[]).forEach(function(e){r+=' '})}),e.forEach(function(e,t){r+=' '}),a._relsChart.forEach(function(e){r+=' '}),a._relsMedia.forEach(function(e){\"image\"!==e.type&&\"online\"!==e.type&&\"chart\"!==e.type&&\"m4v\"!==e.extn&&-1===r.indexOf(e.type)&&(r+=' ')}),r+=' ',r+=' ',r+=\"\"}(o.slides,o.slideLayouts,o.masterSlide)),r.file(\"_rels/.rels\",''+g+'\\n\\t\\t\\n\\t\\t\\n\\t\\t\\n\\t\\t'),r.file(\"docProps/app.xml\",function(e,t){return''+g+'\\n\\t0\\n\\t0\\n\\tMicrosoft Office PowerPoint\\n\\tOn-screen Show (16:9)\\n\\t0\\n\\t'+e.length+\"\\n\\t\"+e.length+'\\n\\t0\\n\\t0\\n\\tfalse\\n\\t\\n\\t\\t\\n\\t\\t\\tFonts Used\\n\\t\\t\\t2\\n\\t\\t\\tTheme\\n\\t\\t\\t1\\n\\t\\t\\tSlide Titles\\n\\t\\t\\t'+e.length+'\\n\\t\\t\\n\\t\\n\\t\\n\\t\\t\\n\\t\\t\\tArial\\n\\t\\t\\tCalibri\\n\\t\\t\\tOffice Theme\\n\\t\\t\\t'+e.map(function(e,t){return\"Slide \"+(t+1)+\"\\n\"}).join(\"\")+\"\\n\\t\\t\\n\\t\\n\\t\"+t+\"\\n\\tfalse\\n\\tfalse\\n\\tfalse\\n\\t16.0000\\n\\t\"}(o.slides,o.company)),r.file(\"docProps/core.xml\",function(e,t,a,r){return'\\n\\t\\n\\t\\t'+ue(e)+\"\\n\\t\\t\"+ue(t)+\"\\n\\t\\t\"+ue(a)+\"\\n\\t\\t\"+ue(a)+\"\\n\\t\\t\"+r+'\\n\\t\\t'+(new Date).toISOString().replace(/\\.\\d\\d\\dZ/,\"Z\")+'\\n\\t\\t'+(new Date).toISOString().replace(/\\.\\d\\d\\dZ/,\"Z\")+\"\\n\\t\"}(o.title,o.subject,o.author,o.revision)),r.file(\"ppt/_rels/presentation.xml.rels\",function(e){var t=1,a=''+g;a+='',a+='';for(var r=1;r<=e.length;r++)a+='';return a+=''}(o.slides)),r.file(\"ppt/theme/theme1.xml\",''+g+''),r.file(\"ppt/presentation.xml\",function(e){var t=''+g+'';t+='',t+=\"\",e.slides.forEach(function(e){return t+=''}),t+=\"\",t+='',t+='',t+='',t+=\"\";for(var a=1;a<10;a++)t+=\"\";return t+=\"\",e.sections&&0',t+='',e.sections.forEach(function(e){t+='',e._slides.forEach(function(e){return t+=''}),t+=\"\"}),t+=\"\",t+='',t+=\"\"),t+=\"\"}(o)),r.file(\"ppt/presProps.xml\",''+g+''),r.file(\"ppt/tableStyles.xml\",''+g+''),r.file(\"ppt/viewProps.xml\",''+g+''),o.slideLayouts.forEach(function(e,t){r.file(\"ppt/slideLayouts/slideLayout\"+(t+1)+\".xml\",function(e){return'\\n\\t\\t\\n\\t\\t'+Se(e)+\"\\n\\t\\t\"}(e)),r.file(\"ppt/slideLayouts/_rels/slideLayout\"+(t+1)+\".xml.rels\",function(e,t){return Re(t[e-1],[{target:\"../slideMasters/slideMaster1.xml\",type:\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster\"}])}(t+1,o.slideLayouts))}),o.slides.forEach(function(e,t){r.file(\"ppt/slides/slide\"+(t+1)+\".xml\",function(e){return''+g+'\"+Se(e)+\"\"}(e)),r.file(\"ppt/slides/_rels/slide\"+(t+1)+\".xml.rels\",function(e,t,a){return Re(e[a-1],[{target:\"../slideLayouts/slideLayout\"+function(e,t,a){for(var r=0;r\\n\\t\\t\\n\\t\\t\\t\\n\\t\\t\\t\\n\\t\\t'}(t+1))}),r.file(\"ppt/slideMasters/slideMaster1.xml\",function(a,e){var t=e.map(function(e,t){return''}),r=''+g;return r+='',r+=Se(a),r+='',r+=\"\"+t.join(\"\")+\"\",r+='',r+=' ',r+=\"\"}(o.masterSlide,o.slideLayouts)),r.file(\"ppt/slideMasters/_rels/slideMaster1.xml.rels\",function(e,t){var a=t.map(function(e,t){return{target:\"../slideLayouts/slideLayout\"+(t+1)+\".xml\",type:\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout\"}});return a.push({target:\"../theme/theme1.xml\",type:\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme\"}),Re(e,a)}(o.masterSlide,o.slideLayouts)),r.file(\"ppt/notesMasters/notesMaster1.xml\",''+g+'7/23/19Click to edit Master text stylesSecond levelThird levelFourth levelFifth level‹#›'),r.file(\"ppt/notesMasters/_rels/notesMaster1.xml.rels\",''+g+'\\n\\t\\t\\n\\t\\t'),o.slideLayouts.forEach(function(e){o.createChartMediaRels(e,r,t)}),o.slides.forEach(function(e){o.createChartMediaRels(e,r,t)}),o.createChartMediaRels(o.masterSlide,r,t),Promise.all(t).then(function(){return\"STREAM\"===e.outputType?r.generateAsync({type:\"nodebuffer\",compression:e.compression?\"DEFLATE\":\"STORE\"}):e.outputType?r.generateAsync({type:e.outputType}):r.generateAsync({type:\"blob\",compression:e.compression?\"DEFLATE\":\"STORE\"})})})},this.LAYOUTS={LAYOUT_4x3:{name:\"screen4x3\",width:9144e3,height:6858e3},LAYOUT_16x9:{name:\"screen16x9\",width:9144e3,height:5143500},LAYOUT_16x10:{name:\"screen16x10\",width:9144e3,height:5715e3},LAYOUT_WIDE:{name:\"custom\",width:12192e3,height:6858e3}},this._author=\"PptxGenJS\",this._company=\"PptxGenJS\",this._revision=\"1\",this._subject=\"PptxGenJS Presentation\",this._title=\"PptxGenJS Presentation\",this._presLayout={name:this.LAYOUTS[d].name,_sizeW:this.LAYOUTS[d].width,_sizeH:this.LAYOUTS[d].height,width:this.LAYOUTS[d].width,height:this.LAYOUTS[d].height},this._rtlMode=!1,this._slideLayouts=[{_margin:L,_name:r,_presLayout:this._presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slide:null,_slideNum:1e3,_slideNumberProps:null,_slideObjects:[]}],this._slides=[],this._sections=[],this._masterSlide={addChart:null,addImage:null,addMedia:null,addNotes:null,addShape:null,addTable:null,addText:null,_name:null,_presLayout:this._presLayout,_rId:null,_rels:[],_relsChart:[],_relsMedia:[],_slideId:null,_slideLayout:null,_slideNum:null,_slideNumberProps:null,_slideObjects:[]}}return Object.defineProperty(et.prototype,\"layout\",{get:function(){return this._layout},set:function(e){var t=this.LAYOUTS[e];if(!t)throw new Error(\"UNKNOWN-LAYOUT\");this._layout=e,this._presLayout=t},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,\"version\",{get:function(){return this._version},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,\"author\",{get:function(){return this._author},set:function(e){this._author=e},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,\"company\",{get:function(){return this._company},set:function(e){this._company=e},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,\"revision\",{get:function(){return this._revision},set:function(e){this._revision=e},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,\"subject\",{get:function(){return this._subject},set:function(e){this._subject=e},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,\"title\",{get:function(){return this._title},set:function(e){this._title=e},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,\"rtlMode\",{get:function(){return this._rtlMode},set:function(e){this._rtlMode=e},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,\"masterSlide\",{get:function(){return this._masterSlide},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,\"slides\",{get:function(){return this._slides},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,\"sections\",{get:function(){return this._sections},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,\"slideLayouts\",{get:function(){return this._slideLayouts},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,\"AlignH\",{get:function(){return this._alignH},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,\"AlignV\",{get:function(){return this._alignV},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,\"ChartType\",{get:function(){return this._chartType},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,\"OutputType\",{get:function(){return this._outputType},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,\"presLayout\",{get:function(){return this._presLayout},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,\"SchemeColor\",{get:function(){return this._schemeColor},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,\"ShapeType\",{get:function(){return this._shapeType},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,\"charts\",{get:function(){return this._charts},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,\"colors\",{get:function(){return this._colors},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,\"shapes\",{get:function(){return this._shapes},enumerable:!1,configurable:!0}),et.prototype.stream=function(e){var t=!(\"object\"!=typeof e||!e.hasOwnProperty(\"compression\"))&&e.compression;return this.exportPresentation({compression:t,outputType:\"STREAM\"})},et.prototype.write=function(e){var t=\"object\"==typeof e&&e.hasOwnProperty(\"outputType\")?e.outputType:e||null,a=!(\"object\"!=typeof e||!e.hasOwnProperty(\"compression\"))&&e.compression;return this.exportPresentation({compression:a,outputType:t})},et.prototype.writeFile=function(e){var t=this,r=\"undefined\"!=typeof require&&\"undefined\"==typeof window?require(\"fs\"):null;\"string\"==typeof e&&console.log(\"Warning: `writeFile(filename)` is deprecated - please use `WriteFileProps` argument (v3.5.0)\");var a=\"object\"==typeof e&&e.hasOwnProperty(\"fileName\")?e.fileName:\"string\"==typeof e?e:\"\",o=!(\"object\"!=typeof e||!e.hasOwnProperty(\"compression\"))&&e.compression,l=a?a.toString().toLowerCase().endsWith(\".pptx\")?a:a+\".pptx\":\"Presentation.pptx\";return this.exportPresentation({compression:o,outputType:r?\"nodebuffer\":null}).then(function(e){return r?new Promise(function(t,a){r.writeFile(l,e,function(e){e?a(e):t(l)})}):t.writeFileToBrowser(l,e)})},et.prototype.addSection=function(e){e?e.title||console.warn(\"addSection requires a title\"):console.warn(\"addSection requires an argument\");var t={_type:\"user\",_slides:[],title:e.title};e.order?this.sections.splice(e.order,0,t):this._sections.push(t)},et.prototype.addSlide=function(t){var a=\"string\"==typeof t?t:t&&t.masterName?t.masterName:\"\",e={_name:this.LAYOUTS[d].name,_presLayout:this.presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slideNum:this.slides.length+1};if(a){var r=this.slideLayouts.filter(function(e){return e._name===a})[0];r&&(e=r)}var o=new We({addSlide:this.addNewSlide,getSlide:this.getSlide,presLayout:this.presLayout,setSlideNum:this.setSlideNumber,slideId:this.slides.length+256,slideRId:this.slides.length+2,slideNumber:this.slides.length+1,slideLayout:e});if(this._slides.push(o),t&&t.sectionTitle){var l=this.sections.filter(function(e){return e.title===t.sectionTitle})[0];l?l._slides.push(o):console.warn('addSlide: unable to find section with title: \"'+t.sectionTitle+'\"')}else if(this.sections&&0 opts.y = \"+o.y),a.addTable(e.rows,{x:o.x||d[3],y:o.y,w:Number(i)/O,colW:p,autoPage:!1}),o.addImage&&a.addImage({path:o.addImage.url,x:o.addImage.x,y:o.addImage.y,w:o.addImage.w,h:o.addImage.h}),o.addShape&&a.addShape(o.addShape.shape,o.addShape.options||{}),o.addTable&&a.addTable(o.addTable.rows,o.addTable.options||{}),o.addText&&a.addText(o.addText.text,o.addText.options||{})})}(this,e,t,t&&t.masterSlideName?this.slideLayouts.filter(function(e){return e._name===t.masterSlideName})[0]:null)},et}();"],"file":"pptxgen.min.js"} \ No newline at end of file +{"version":3,"names":[],"mappings":"","sources":["pptxgen.min.js"],"sourcesContent":["/* PptxGenJS 3.7.1 @ 2021-07-22T03:01:23.194Z */\nvar PptxGenJS=function(){\"use strict\";function e(e){return e&&\"object\"==typeof e&&\"default\"in e?e:{default:e}}var h=e(JSZip),i=function(){return(i=Object.assign||function(e){for(var t,a=1,r=arguments.length;a/g,\">\").replace(/\"/g,\""\").replace(/'/g,\"'\")}function ge(e){return\"number\"==typeof e&&100\"+t+\"
\":\"\"}function Pe(e){var t=\"solid\",a=\"\",r=\"\",o=\"\";if(e)switch(\"string\"==typeof e?a=e:(e.type&&(t=e.type),e.color&&(a=e.color),e.alpha&&(r+=''),e.transparency&&(r+='')),t){case\"solid\":o+=\"\"+Ce(a,r)+\"\";break;default:o+=\"\"}return o}function we(e){return e._rels.length+e._relsChart.length+e._relsMedia.length+1}function Le(s,p,c,e){void 0===s&&(s=[]),void 0===p&&(p={});var t,d=L,f=0,h=1*O,a=0,A=[{rows:[]}];if(p.verbose&&(console.log(\"-- VERBOSE MODE ----------------------------------\"),console.log(\".. (PARAMETERS)\"),console.log(\"presLayout.height ......... = \"+c.height/O),console.log(\"tabOpts.h ................. = \"+p.h),console.log(\"tabOpts.w ................. = \"+p.w),console.log(\"tabOpts.colW .............. = \"+p.colW),console.log(\"tabOpts.slideMargin ....... = \"+(p.slideMargin||\"\")),console.log(\".. (/PARAMETERS)\")),p.slideMargin||0===p.slideMargin||(p.slideMargin=L[0]),e&&void 0!==e._margin?Array.isArray(e._margin)?d=e._margin:isNaN(Number(e._margin))||(d=[Number(e._margin),Number(e._margin),Number(e._margin),Number(e._margin)]):!p.slideMargin&&0!==p.slideMargin||(Array.isArray(p.slideMargin)?d=p.slideMargin:isNaN(p.slideMargin)||(d=[p.slideMargin,p.slideMargin,p.slideMargin,p.slideMargin])),p.verbose&&console.log(\"arrInchMargins ......... = \"+d.toString()),(s[0]||[]).forEach(function(e){var t=(e=e||{_type:oe.tablecell}).options||null;a+=Number(t&&t.colspan?t.colspan:1)}),p.verbose&&console.log(\"numCols ................ = \"+a),!p.w&&p.colW&&(Array.isArray(p.colW)?p.colW.forEach(function(e){\"number\"!=typeof p.w?p.w=0+e:p.w+=e}):p.w=p.colW*a),t=\"number\"==typeof p.w?ge(p.w):c.width-ge((\"number\"==typeof p.x?p.x:d[1])+d[3]),p.verbose&&console.log(\"emuSlideTabW (in) ...... = \"+(t/O).toFixed(1)),!p.colW||!Array.isArray(p.colW))if(p.colW&&!isNaN(Number(p.colW))){var r=[];(s[0]||[]).forEach(function(){return r.push(p.colW)}),p.colW=[],r.forEach(function(e){Array.isArray(p.colW)&&p.colW.push(e)})}else{p.colW=[];for(var o=0;ot?t=ye(e.options.margin[0]):p.margin&&p.margin[0]&&ye(p.margin[0])>t&&(t=ye(p.margin[0])),e.options.margin&&e.options.margin[2]&&ye(e.options.margin[2])>a?a=ye(e.options.margin[2]):p.margin&&p.margin[2]&&ye(p.margin[2])>a&&(a=ye(p.margin[2]))}),h=p.h&&\"number\"==typeof p.h?p.h:c.height-ge(d[0]+d[2])-(p.y&&\"number\"==typeof p.y?p.y:0),p.verbose&&console.log(\"emuSlideTabH (in) ...... = \"+(h/O).toFixed(1)),1 \"+h/O),A.push({rows:[]}),f=0,(p.addHeaderToEach||p.autoPageRepeatHeader)&&p._arrObjTabHeadRows){var t=[];n.forEach(function(e){t.push({type:oe.tablecell,text:e._lines.join(\"\"),options:e.options})}),s.unshift(t);var a=[];return p._arrObjTabHeadRows.forEach(function(e){var t=[];e.forEach(function(e){return t.push(e)}),a.push(t)}),s=N(N([],a),s),\"break\"}var e=A[A.length-1],r=[];o.forEach(function(e){r.push({type:oe.tablecell,text:\"\",options:e.options})}),e.rows.push(r)}n.forEach(function(e,t){if(0l&&(l=e._lineHeight)}}),f+=l,p.verbose&&console.log(\"- SLIDE [\"+A.length+\"]: ROW [\"+m+\"]: one line added ... emuTabCurrH = \"+(f/O).toFixed(2))};0'},contain:function(e,t){var a=e.h/e.w,r=a'},crop:function(e,t){var a=t.x,r=e.w-(t.x+t.w),o=t.y,l=e.h-(t.y+t.h);return''}};function Se(F){var B=F._name?'':\"\",I=1;return F._bkgdImgRid?B+='':F.background&&F.background.color?B+=\"\"+Pe(F.background)+\"\":!F.bkgd&&F._name&&F._name===r&&(B+=''),B+=\"\",B+='',B+='',B+='',F._slideObjects.forEach(function(r,e){var t,a,o=0,l=0,n=he(\"75%\",\"X\",F._presLayout),i=0,s=\"\";switch(void 0!==F._slideLayout&&void 0!==F._slideLayout._slideObjects&&r.options&&r.options.placeholder&&(a=F._slideLayout._slideObjects.filter(function(e){return e.options.placeholder===r.options.placeholder})[0]),r.options=r.options||{},void 0!==r.options.x&&(o=he(r.options.x,\"X\",F._presLayout)),void 0!==r.options.y&&(l=he(r.options.y,\"Y\",F._presLayout)),void 0!==r.options.w&&(n=he(r.options.w,\"X\",F._presLayout)),void 0!==r.options.h&&(i=he(r.options.h,\"Y\",F._presLayout)),a&&(!a.options.x&&0!==a.options.x||(o=he(a.options.x,\"X\",F._presLayout)),!a.options.y&&0!==a.options.y||(l=he(a.options.y,\"Y\",F._presLayout)),!a.options.w&&0!==a.options.w||(n=he(a.options.w,\"X\",F._presLayout)),!a.options.h&&0!==a.options.h||(i=he(a.options.h,\"Y\",F._presLayout))),r.options.flipH&&(s+=' flipH=\"1\"'),r.options.flipV&&(s+=' flipV=\"1\"'),r.options.rotate&&(s+=' rot=\"'+be(r.options.rotate)+'\"'),r._type){case oe.table:var p,c=r.arrTabRows,f=r.options,d=0,h=0;c[0].forEach(function(e){p=e.options||null,d+=p&&p.colspan?Number(p.colspan):1});var A='';if(A+=' ',A+='',A+='',Array.isArray(f.colW)){A+=\"\";for(var m=0;m'}A+=\"\"}else{h=f.colW?f.colW:O,r.options.w&&!f.colW&&(h=Math.round((\"number\"==typeof r.options.w?r.options.w:1)/d)),A+=\"\";for(var g=0;g';A+=\"\"}c.forEach(function(l){for(var n,i,s,e=function(e){var t=l[e],a=null===(n=t.options)||void 0===n?void 0:n.colspan,r=null===(i=t.options)||void 0===i?void 0:i.rowspan;if(a&&1',e.forEach(function(e){var t,a,r=e,o={rowSpan:1<(null===(t=r.options)||void 0===t?void 0:t.rowspan)?r.options.rowspan:void 0,gridSpan:1<(null===(a=r.options)||void 0===a?void 0:a.colspan)?r.options.colspan:void 0,vMerge:r._vmerge?1:void 0,hMerge:r._hmerge?1:void 0},l=Object.keys(o).map(function(e){return[e,o[e]]}).filter(function(e){return e[0],!!e[1]}).map(function(e){return e[0]+'=\"'+e[1]+'\"'}).join(\" \");if(l=l&&\" \"+l,r._hmerge||r._vmerge)A+=\"\";else{var n=r.options||{};r.options=n,[\"align\",\"bold\",\"border\",\"color\",\"fill\",\"fontFace\",\"fontSize\",\"margin\",\"underline\",\"valign\"].forEach(function(e){f[e]&&!n[e]&&0!==n[e]&&(n[e]=f[e])});var i=n.valign?' anchor=\"'+n.valign.replace(/^c$/i,\"ctr\").replace(/^m$/i,\"ctr\").replace(\"center\",\"ctr\").replace(\"middle\",\"ctr\").replace(\"top\",\"t\").replace(\"btm\",\"b\").replace(\"bottom\",\"b\")+'\"':\"\",s=r._optImp&&r._optImp.fill&&r._optImp.fill.color?r._optImp.fill.color:r._optImp&&r._optImp.fill&&\"string\"==typeof r._optImp.fill?r._optImp.fill:\"\",p=(s=s||n.fill&&n.fill.color?n.fill.color:n.fill&&\"string\"==typeof n.fill?n.fill:\"\")?\"\"+Ce(s)+\"\":\"\",c=0===n.margin||n.margin?n.margin:k;Array.isArray(c)||\"number\"!=typeof c||(c=[c,c,c,c]);var d=' marL=\"'+ye(c[3])+'\" marR=\"'+ye(c[1])+'\" marT=\"'+ye(c[0])+'\" marB=\"'+ye(c[2])+'\"';A+=\"\"+Fe(r)+\"\",n.border&&Array.isArray(n.border)&&[{idx:3,name:\"lnL\"},{idx:1,name:\"lnR\"},{idx:0,name:\"lnT\"},{idx:2,name:\"lnB\"}].forEach(function(e){\"none\"!==n.border[e.idx].type?(A+=\"',A+=\"\"+Ce(n.border[e.idx].color)+\"\",A+='',A+=\"\"):A+=\"\"}),A+=p,A+=\" \",A+=\" \"}}),A+=\"\"}),A+=\" \",A+=\" \",A+=\" \",B+=A+=\"\",I++;break;case oe.text:case oe.placeholder:var y=r.options.shapeName?ue(r.options.shapeName):\"Object\"+(e+1);if(r.options.line||0!==i||(i=.3*O),r.options._bodyProp||(r.options._bodyProp={}),r.options.margin&&Array.isArray(r.options.margin)?(r.options._bodyProp.lIns=ye(r.options.margin[0]||0),r.options._bodyProp.rIns=ye(r.options.margin[1]||0),r.options._bodyProp.bIns=ye(r.options.margin[2]||0),r.options._bodyProp.tIns=ye(r.options.margin[3]||0)):\"number\"==typeof r.options.margin&&(r.options._bodyProp.lIns=ye(r.options.margin),r.options._bodyProp.rIns=ye(r.options.margin),r.options._bodyProp.bIns=ye(r.options.margin),r.options._bodyProp.tIns=ye(r.options.margin)),B+=\"\",B+='',r.options.hyperlink&&r.options.hyperlink.url&&(B+=''),r.options.hyperlink&&r.options.hyperlink.slide&&(B+=''),B+=\"\",B+=\"':\"/>\"),B+=\"\"+(\"placeholder\"===r._type?Be(r):Be(a))+\"\",B+=\"\",B+=\"\",B+='',B+='',\"custGeom\"===r.shape)B+=\"\",B+=\"\",B+=\"\",B+=\"\",B+=\"\",B+=\"\",B+='',B+=\"\",B+='',null===(t=r.options.points)||void 0===t||t.map(function(e,t){if(\"curve\"in e)switch(e.curve.type){case\"arc\":B+='';break;case\"cubic\":B+='\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t';break;case\"quadratic\":B+='\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t'}else\"close\"in e?B+=\"\":e.moveTo||0===t?B+='':B+=''}),B+=\"\",B+=\"\",B+=\"\";else{if(B+='',r.options.rectRadius)B+='';else if(r.options.angleRange){for(var b=0;b<2;b++){var v=r.options.angleRange[b];B+=''}r.options.arcThicknessRatio&&(B+='')}B+=\"\"}B+=r.options.fill?Pe(r.options.fill):\"\",r.options.line&&(B+=r.options.line.width?'':\"\",r.options.line.color&&(B+=Pe(r.options.line)),r.options.line.dashType&&(B+=''),r.options.line.beginArrowType&&(B+=''),r.options.line.endArrowType&&(B+=''),B+=\"\"),r.options.shadow&&(r.options.shadow.type=r.options.shadow.type||\"outer\",r.options.shadow.blur=ye(r.options.shadow.blur||8),r.options.shadow.offset=ye(r.options.shadow.offset||4),r.options.shadow.angle=Math.round(6e4*(r.options.shadow.angle||270)),r.options.shadow.opacity=Math.round(1e5*(r.options.shadow.opacity||.75)),r.options.shadow.color=r.options.shadow.color||M.color,B+=\"\",B+=\"',B+='',B+='',B+=\"\",B+=\"\"),B+=\"\",B+=Fe(r),B+=\"\";break;case oe.image:var x=r.options,C=x.sizing,P=x.rounding,w=n,L=i;if(B+=\"\",B+=\" \",B+='',r.hyperlink&&r.hyperlink.url&&(B+=''),r.hyperlink&&r.hyperlink.slide&&(B+=''),B+=\" \",B+=' ',B+=\" \"+Be(a)+\"\",B+=\" \",B+=\"\",(F._relsMedia||[]).filter(function(e){return e.rId===r.imageRid})[0]&&\"svg\"===(F._relsMedia||[]).filter(function(e){return e.rId===r.imageRid})[0].extn?(B+='',B+=\" \",B+=' ',B+=' ',B+=\" \",B+=\" \",B+=\"\"):B+='',C&&C.type){var T=C.w?he(C.w,\"X\",F._presLayout):n,S=C.h?he(C.h,\"Y\",F._presLayout):i,R=he(C.x||0,\"X\",F._presLayout),E=he(C.y||0,\"Y\",F._presLayout);B+=Te[C.type]({w:w,h:L},{w:T,h:S,x:R,y:E}),w=T,L=S}else B+=\" \";B+=\"\",B+=\"\",B+=\" \",B+=' ',B+=' ',B+=\" \",B+=' ',B+=\"\",B+=\"\";break;case oe.media:\"online\"===r.mtype?(B+=\"\",B+=\" \",B+=' ',B+=\" \",B+=\" \",B+=' ',B+=\" \",B+=\" \",B+=' '):(B+=\"\",B+=\" \",B+=' ',B+=' ',B+=\" \",B+=' ',B+=\" \",B+=' ',B+=' ',B+=\" \",B+=\" \",B+=\" \",B+=\" \",B+=' '),B+=\" \",B+=\" \",B+=' ',B+=' ',B+=\" \",B+=' ',B+=\" \",B+=\"\";break;case oe.chart:var _=r.options;B+=\"\",B+=\" \",B+=' ',B+=\" \",B+=\" \"+Be(a)+\"\",B+=\" \",B+=' ',B+=' ',B+=' ',B+=' ',B+=\" \",B+=\" \",B+=\"\";break;default:B+=\"\"}}),F._slideNumberProps&&(F._slideNumberProps.align||(F._slideNumberProps.align=\"left\"),B+=' ',B+=\"\",B+=\"\",B+=\" \",(F._slideNumberProps.fontFace||F._slideNumberProps.fontSize||F._slideNumberProps.color)&&(B+='',F._slideNumberProps.color&&(B+=Pe(F._slideNumberProps.color)),F._slideNumberProps.fontFace&&(B+=''),B+=\"\"),B+=\"\",B+='',F._slideNumberProps.align.startsWith(\"l\")?B+='':F._slideNumberProps.align.startsWith(\"c\")?B+='':F._slideNumberProps.align.startsWith(\"r\")?B+='':B+='',B+='',B+=\"\"),B+=\"\",B+=\"\"}function Re(e,t){var a=0,r=''+g+'';return e._rels.forEach(function(e){a=Math.max(a,e.rId),-1':r+='':-1')}),(e._relsChart||[]).forEach(function(e){a=Math.max(a,e.rId),r+=''}),(e._relsMedia||[]).forEach(function(e){a=Math.max(a,e.rId),-1':-1':r+='':-1':r+='':-1':r+='')}),t.forEach(function(e,t){r+=''}),r+=\"\"}function Ee(e,t){var a=\"\",r=\"\",o=\"\",l=\"\",n=t?\"a:lvl1pPr\":\"a:pPr\",i=ye(c),s=\"<\"+n+(e.options.rtlMode?' rtl=\"1\" ':\"\");if(e.options.align)switch(e.options.align){case\"left\":s+=' algn=\"l\"';break;case\"right\":s+=' algn=\"r\"';break;case\"center\":s+=' algn=\"ctr\"';break;case\"justify\":s+=' algn=\"just\"';break;default:s+=\"\"}if(e.options.lineSpacing?r='':e.options.lineSpacingMultiple&&(r=''),e.options.indentLevel&&!isNaN(Number(e.options.indentLevel))&&0'),e.options.paraSpaceAfter&&!isNaN(Number(e.options.paraSpaceAfter))&&0'),\"object\"==typeof e.options.bullet)if(e&&e.options&&e.options.bullet&&e.options.bullet.indent&&(i=ye(e.options.bullet.indent)),e.options.bullet.type)\"number\"===e.options.bullet.type.toString().toLowerCase()&&(s+=' marL=\"'+(e.options.indentLevel&&0');else if(e.options.bullet.characterCode){var p=\"&#x\"+e.options.bullet.characterCode+\";\";!1===/^[0-9A-Fa-f]{4}$/.test(e.options.bullet.characterCode)&&(console.warn(\"Warning: `bullet.characterCode should be a 4-digit unicode charatcer (ex: 22AB)`!\"),p=se.DEFAULT),s+=' marL=\"'+(e.options.indentLevel&&0'}else if(e.options.bullet.code){p=\"&#x\"+e.options.bullet.code+\";\";!1===/^[0-9A-Fa-f]{4}$/.test(e.options.bullet.code)&&(console.warn(\"Warning: `bullet.code should be a 4-digit hex code (ex: 22AB)`!\"),p=se.DEFAULT),s+=' marL=\"'+(e.options.indentLevel&&0'}else s+=' marL=\"'+(e.options.indentLevel&&0';else!0===e.options.bullet?(s+=' marL=\"'+(e.options.indentLevel&&0'):!1===e.options.bullet&&(s+=' indent=\"0\" marL=\"0\"',a=\"\");e.options.tabStops&&Array.isArray(e.options.tabStops)&&(l=\"\"+e.options.tabStops.map(function(e){return''}).join(\"\")+\"\");return s+=\">\"+r+o+a+l,t&&(s+=_e(e.options,!0)),s+=\"\"}function _e(e,t){var a,r=\"\",o=t?\"a:defRPr\":\"a:rPr\";if(r+=\"<\"+o+' lang=\"'+(e.lang?e.lang:\"en-US\")+'\"'+(e.lang?' altLang=\"en-US\"':\"\"),r+=e.fontSize?' sz=\"'+Math.round(e.fontSize)+'00\"':\"\",r+=e.hasOwnProperty(\"bold\")?' b=\"'+(e.bold?1:0)+'\"':\"\",r+=e.hasOwnProperty(\"italic\")?' i=\"'+(e.italic?1:0)+'\"':\"\",r+=e.hasOwnProperty(\"strike\")?' strike=\"'+(\"string\"==typeof e.strike?e.strike:\"sngStrike\")+'\"':\"\",\"object\"==typeof e.underline&&(null===(a=e.underline)||void 0===a?void 0:a.style)?r+=' u=\"'+e.underline.style+'\"':\"string\"==typeof e.underline?r+=' u=\"'+e.underline+'\"':e.hyperlink&&(r+=' u=\"sng\"'),e.baseline?r+=' baseline=\"'+Math.round(50*e.baseline)+'\"':e.subscript?r+=' baseline=\"-40000\"':e.superscript&&(r+=' baseline=\"30000\"'),r+=e.charSpacing?' spc=\"'+Math.round(100*e.charSpacing)+'\" kern=\"0\"':\"\",r+=' dirty=\"0\">',(e.color||e.fontFace||e.outline||\"object\"==typeof e.underline&&e.underline.color)&&(e.outline&&\"object\"==typeof e.outline&&(r+=''+Pe(e.outline.color||\"FFFFFF\")+\"\"),e.color&&(r+=Pe(e.color)),e.highlight&&(r+=\"\"+Ce(e.highlight)+\"\"),\"object\"==typeof e.underline&&e.underline.color&&(r+=\"\"+Pe(e.underline.color)+\"\"),e.glow&&(r+=\"\"+function(e,t){var a=\"\",r=me(t,e);return a+='',a+=Ce(r.color,''),a+=\"\"}(e.glow,T)+\"\"),e.fontFace&&(r+='')),e.hyperlink){if(\"object\"!=typeof e.hyperlink)throw new Error(\"ERROR: text `hyperlink` option should be an object. Ex: `hyperlink:{url:'https://github.com'}` \");if(!e.hyperlink.url&&!e.hyperlink.slide)throw new Error(\"ERROR: 'hyperlink requires either `url` or `slide`'\");e.hyperlink.url?r+='\":\"/>\"):e.hyperlink.slide&&(r+='\":\"/>\")),e.color&&(r+=\"\\t\",r+='\\t\\t',r+='\\t\\t\\t',r+=\"\\t\\t\",r+=\"\\t\",r+=\"\")}return r+=\"\"}function Fe(r){var o=r.options||{},e=[],a=[];if(o&&r._type!==oe.tablecell&&(void 0===r.text||null===r.text))return\"\";var l=r._type===oe.tablecell?\"\":\"\";l+=function(e){var t=\"\",e.options.fit&&(\"none\"===e.options.fit?t+=\"\":\"shrink\"===e.options.fit?t+=\"\":\"resize\"===e.options.fit&&(t+=\"\")),e.options.shrinkText&&(t+=\"\"),t+=!1!==e.options._bodyProp.autoFit?\"\":\"\"):t+=' wrap=\"square\" rtlCol=\"0\">',t+=\"\",e._type===oe.tablecell?\"\":t}(r),0===o.h&&o.line&&o.align?l+='':\"placeholder\"===r._type?l+=\"\"+Ee(r,!0)+\"\":l+=\"\",\"string\"==typeof r.text||\"number\"==typeof r.text?e.push({text:r.text.toString(),options:o||{}}):r.text&&!Array.isArray(r.text)&&\"object\"==typeof r.text&&-1\";var a=\"\"),r.options.align=r.options.align||o.align,r.options.lineSpacing=r.options.lineSpacing||o.lineSpacing,r.options.lineSpacingMultiple=r.options.lineSpacingMultiple||o.lineSpacingMultiple,r.options.indentLevel=r.options.indentLevel||o.indentLevel,r.options.paraSpaceBefore=r.options.paraSpaceBefore||o.paraSpaceBefore,r.options.paraSpaceAfter=r.options.paraSpaceAfter||o.paraSpaceAfter,a=Ee(r,!1),l+=a,Object.entries(o).forEach(function(e){var t=e[0],a=e[1];r.options.hyperlink&&\"color\"===t||\"bullet\"===t||r.options[t]||(r.options[t]=a)}),l+=function(e){return e.text?\"\"+_e(e.options,!1)+\"\"+ue(e.text)+\"\":\"\"}(r),(!r.text&&o.fontSize||r.options.fontSize)&&(t=!0,o.fontSize=o.fontSize||r.options.fontSize)}),r._type===oe.tablecell&&(o.fontSize||o.fontFace)?o.fontFace?(l+='',l+='',l+='',l+='',l+=\"\"):l+='':l+=t?'':'',l+=\"\"}),l+=r._type===oe.tablecell?\"\":\"\"}function Be(e){if(!e)return\"\";var t=e.options&&e.options._placeholderIdx?e.options._placeholderIdx:\"\",a=e.options&&e.options._placeholderType?e.options._placeholderType:\"\";return\"\"}function Ie(e){return''+g+''+ue(function(e){var t=\"\";return e._slideObjects.forEach(function(e){e._type===oe.notes&&(t+=e.text&&e.text[0]?e.text[0].text:\"\")}),t.replace(/\\r*\\n/g,g)}(e))+''+e._slideNum+''}function Ne(e){e&&\"object\"==typeof e&&(\"outer\"!==e.type&&\"inner\"!==e.type&&\"none\"!==e.type&&(console.warn(\"Warning: shadow.type options are `outer`, `inner` or `none`.\"),e.type=\"outer\"),e.angle&&((isNaN(Number(e.angle))||e.angle<0||359 \\n'),e.file(\"_rels/.rels\",'\\n'),e.file(\"docProps/app.xml\",'Microsoft Excel0falseWorksheets1Sheet1\\n'),e.file(\"docProps/core.xml\",'PptxGenJSEly, Brent'+(new Date).toISOString()+''+(new Date).toISOString()+\"\\n\"),e.file(\"xl/_rels/workbook.xml.rels\",'\\n'),e.file(\"xl/styles.xml\",'\\n'),e.file(\"xl/theme/theme1.xml\",''),e.file(\"xl/workbook.xml\",'\\n'),e.file(\"xl/worksheets/_rels/sheet1.xml.rels\",'\\n');var r='';c.opts._type===Z.BUBBLE?r+='':c.opts._type===Z.SCATTER?r+='':(r+='',r+=''),c.opts._type===Z.BUBBLE?f.forEach(function(e,t){0===t?r+=\"X-Axis\":(r+=\"\"+ue(e.name||\" \")+\"\",r+=\"\"+ue(\"Size \"+t)+\"\")}):f.forEach(function(e){r+=\"\"+ue((e.name||\" \").replace(\"X-Axis\",\"X-Values\"))+\"\"}),c.opts._type!==Z.BUBBLE&&c.opts._type!==Z.SCATTER&&f[0].labels.forEach(function(e){r+=\"\"+ue(e)+\"\"}),r+=\"\\n\",e.file(\"xl/sharedStrings.xml\",r);var l='';c.opts._type===Z.BUBBLE||(c.opts._type===Z.SCATTER?(l+='',l+='',f.forEach(function(e,t){l+=''})):(l+='
',l+='',l+='',f.forEach(function(e,t){l+=''}))),l+=\"\",l+='',l+=\"
\",e.file(\"xl/tables/table1.xml\",l);var n='';if(n+='',c.opts._type===Z.BUBBLE?n+='':c.opts._type===Z.SCATTER?n+='':n+='',n+='',n+='',c.opts._type===Z.BUBBLE){n+=\"\",n+='',n+=\"\",n+=\"\",n+='',n+='0';for(var i=1;i',n+=\"\"+i+\"\",n+=\"\";n+=\"\",f[0].values.forEach(function(e,t){n+='',n+=''+e+\"\";for(var a=1,r=1;r',n+=\"\"+(f[r].values[t]||\"\")+\"\",n+=\"\",n+='',n+=\"\"+(f[r].sizes[t]||\"\")+\"\",n+=\"\",a++;n+=\"\"})}else if(c.opts._type===Z.SCATTER){n+=\"\",n+='',n+=\"\",n+=\"\",n+='',n+='0';for(var s=1;s',n+=\"\"+s+\"\",n+=\"\";n+=\"\",f[0].values.forEach(function(e,t){n+='',n+=''+e+\"\";for(var a=1;a',n+=\"\"+(f[a].values[t]||0===f[a].values[t]?f[a].values[t]:\"\")+\"\",n+=\"\";n+=\"\"})}else{n+=\"\",n+='',n+=\"\",n+=\"\",n+='',n+='0';for(var p=1;p<=f.length;p++)n+='',n+=\"\"+p+\"\",n+=\"\";n+=\"\",f[0].labels.forEach(function(e,t){n+='',n+='',n+=\"\"+(f.length+t+1)+\"\",n+=\"\";for(var a=0;a',n+=\"\"+(f[a].values[t]||\"\")+\"\",n+=\"\";n+=\"\"})}n+=\"\",n+='',n+=\"\\n\",e.file(\"xl/worksheets/sheet1.xml\",n),e.generateAsync({type:\"base64\"}).then(function(e){d.file(\"ppt/embeddings/Microsoft_Excel_Worksheet\"+c.globalId+\".xlsx\",e,{base64:!0}),d.file(\"ppt/charts/_rels/\"+c.fileName+\".rels\",''),d.file(\"ppt/charts/\"+c.fileName,function(o){var l='',n=!1;l+='',l+='',l+=\"\",o.opts.showTitle?(l+=qe({title:o.opts.title||\"Chart Title\",color:o.opts.titleColor,fontFace:o.opts.titleFontFace,fontSize:o.opts.titleFontSize||C,titleAlign:o.opts.titleAlign,titleBold:o.opts.titleBold,titlePos:o.opts.titlePos,titleRotate:o.opts.titleRotate}),l+=''):l+='';o.opts._type===Z.BAR3D&&(l+=\"\",l+=' ',l+=' ',l+=' ',l+=' ',l+=\"\");l+=\"\",o.opts.layout?(l+=\"\",l+=\" \",l+=' ',l+=' ',l+=' ',l+=' ',l+=' ',l+=' ',l+=' ',l+=\" \",l+=\"\"):l+=\"\";Array.isArray(o.opts._type)?o.opts._type.forEach(function(e){var t=me(o.opts,e.options),a=t.secondaryValAxis?R:S,r=t.secondaryCatAxis?_:E;n=n||t.secondaryValAxis,l+=je(e.type,e.data,t,a,r)}):l+=je(o.opts._type,o.data,o.opts,S,E);if(o.opts._type!==Z.PIE&&o.opts._type!==Z.DOUGHNUT){if(o.opts.valAxes&&1\",r+=' ',r+=' ',r+=' ',r+=' ',r+=\"none\"!==t.serGridLine.style?Je(t.serGridLine):\"\",t.showSerAxisTitle&&(r+=qe({color:t.serAxisTitleColor,fontFace:t.serAxisTitleFontFace,fontSize:t.serAxisTitleFontSize,titleRotate:t.serAxisTitleRotate,title:t.serAxisTitle||\"Axis Title\"}));r+=' ',r+=' ',r+=' ',r+=' ',r+=\" \",r+=' ',r+=!1===t.serAxisLineShow?\"\":\"\"+Ce(t.serAxisLineColor||b.color)+\"\",r+=' ',r+=\" \",r+=\" \",r+=\" \",r+=\" \",r+=\" \",r+=\" \",r+=\" \",r+=\" \",r+=' ',r+=\" \"+Ce(t.serAxisLabelColor||v)+\"\",r+=' ',r+=\" \",r+=\" \",r+=' ',r+=\" \",r+=\" \",r+=' ',r+=' ',t.serAxisLabelFrequency&&(r+=' ');t.serLabelFormatCode&&([\"serAxisBaseTimeUnit\",\"serAxisMajorTimeUnit\",\"serAxisMinorTimeUnit\"].forEach(function(e){!t[e]||\"string\"==typeof t[e]&&-1!==[\"days\",\"months\",\"years\"].indexOf(e.toLowerCase())||(console.warn(\"`\"+e+\"` must be one of: 'days','months','years' !\"),t[e]=null)}),t.serAxisBaseTimeUnit&&(r+=' '),t.serAxisMajorTimeUnit&&(r+=' '),t.serAxisMinorTimeUnit&&(r+=' '),t.serAxisMajorUnit&&(r+=' '),t.serAxisMinorUnit&&(r+=' '));return r+=\"\"}(o.opts,F,S)))}o.opts.showDataTable&&(l+=\"\",l+=' ',l+=' ',l+=' ',l+=' ',l+=\" \",l+=\" \",l+=' ',l+=\" \",l+=\" \",l+=\" \",l+='\\t ',l+=\"\\t \",l+=\"\\t \",l+='\\t\\t',l+=' ',l+='\\t\\t\\t',l+='\\t\\t\\t',l+='\\t\\t\\t',l+='\\t\\t\\t',l+=\"\\t\\t \",l+=\"\\t\\t\",l+='\\t\\t',l+=\"\\t \",l+=\"\\t\",l+=\"\");l+=\" \",l+=o.opts.fill?Pe(o.opts.fill):\"\",l+=o.opts.border?''+Pe(o.opts.border.color)+\"\":\"\",l+=\" \",l+=\" \",l+=\"\",o.opts.showLegend&&(l+=\"\",l+='',l+='',(o.opts.legendFontFace||o.opts.legendFontSize||o.opts.legendColor)&&(l+=\"\",l+=\" \",l+=\" \",l+=\" \",l+=\" \",l+=o.opts.legendFontSize?'':\"\",o.opts.legendColor&&(l+=Pe(o.opts.legendColor)),o.opts.legendFontFace&&(l+=''),o.opts.legendFontFace&&(l+=''),l+=\" \",l+=\" \",l+=' ',l+=\" \",l+=\"\"),l+=\"\");l+=' ',l+=' ',o.opts._type===Z.SCATTER&&(l+='');return l+=\"\",l+=\"\",l+=\" \",l+=' ',l+=\" \",l+=\"\",l+='',l+=\"\"}(c)),t(null)}).catch(function(e){a(e)})})}function je(r,o,l,e,t){var n=\"\";switch(r){case Z.AREA:case Z.BAR:case Z.BAR3D:case Z.LINE:case Z.RADAR:n+=\"\",r===Z.AREA&&\"stacked\"===l.barGrouping&&(n+=''),r!==Z.BAR&&r!==Z.BAR3D||(n+='',n+=''),r===Z.RADAR&&(n+=''),n+='';var i=-1;o.forEach(function(e){i++;var t=e.index;n+=\"\",n+=' ',n+=' ',n+=\" \",n+=\" \",n+=\" Sheet1!$\"+Xe(t+1)+\"$1\",n+=' '+ue(e.name)+\"\",n+=\" \",n+=\" \",n+=' ';var a=l.chartColors?l.chartColors[i%l.chartColors.length]:null;n+=\" \",\"transparent\"===a?n+=\"\":l.chartColorsOpacity?n+=\"\"+Ce(a,'')+\"\":n+=\"\"+Ce(a)+\"\",r===Z.LINE?0===l.lineSize?n+=\"\":(n+=''+Ce(a)+\"\",n+=''):l.dataBorder&&(n+=''+Ce(l.dataBorder.color)+''),n+=Ke(l.shadow,w),n+=\" \",r!==Z.RADAR&&(n+=\" \",n+=' ',l.dataLabelBkgrdColors&&(n+=\" \",n+=\" \"+Ce(a)+\"\",n+=\" \"),n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=' ',n+=\" \"+Ce(l.dataLabelColor||v)+\"\",n+=' ',n+=\" \",n+=\" \",n+=\" \",l.dataLabelPosition&&(n+=' '),n+=' ',n+=' ',n+=' ',n+=' ',n+=' ',n+=' ',n+=' ',n+=\" \"),r!==Z.LINE&&r!==Z.RADAR||(n+=\"\",n+=' ',l.lineDataSymbolSize&&(n+=' '),n+=\" \",n+=\" \"+Ce(l.chartColors[t+1>l.chartColors.length?Math.floor(Math.random()*l.chartColors.length):t])+\"\",n+=' '+Ce(l.lineDataSymbolLineColor||a)+'',n+=\" \",n+=\" \",n+=\"\"),(r===Z.BAR||r===Z.BAR3D)&&1===o.length&&l.chartColors!==I&&1\",n+=' ',n+=' ',n+=' ',n+=\" \",0===l.lineSize?n+=\"\":r===Z.BAR?(n+=\"\",n+=' ',n+=\"\"):(n+=\"\",n+=\" \",n+=' ',n+=\" \",n+=\"\"),n+=Ke(l.shadow,w),n+=\" \",n+=\" \"}),n+=\"\",l.catLabelFormatCode?(n+=\" \",n+=\" Sheet1!$A$2:$A$\"+(e.labels.length+1)+\"\",n+=\" \",n+=\" \"+(l.catLabelFormatCode||\"General\")+\"\",n+=' ',e.labels.forEach(function(e,t){n+=''+ue(e)+\"\"}),n+=\" \",n+=\" \"):(n+=\" \",n+=\" Sheet1!$A$2:$A$\"+(e.labels.length+1)+\"\",n+=\" \",n+='\\t ',e.labels.forEach(function(e,t){n+=''+ue(e)+\"\"}),n+=\" \",n+=\" \"),n+=\"\",n+=\"\",n+=\" \",n+=\" Sheet1!$\"+Xe(t+1)+\"$2:$\"+Xe(t+1)+\"$\"+(e.labels.length+1)+\"\",n+=\" \",n+=\" \"+(l.valLabelFormatCode||l.dataTableFormatCode||\"General\")+\"\",n+=' ',e.values.forEach(function(e,t){n+=''+(e||0===e?e:\"\")+\"\"}),n+=\" \",n+=\" \",n+=\"\",r===Z.LINE&&(n+=''),n+=\"\"}),n+=\" \",n+=' ',n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=' ',n+=\" \"+Ce(l.dataLabelColor||v)+\"\",n+=' ',n+=\" \",n+=\" \",n+=\" \",l.dataLabelPosition&&(n+=' '),n+=' ',n+=' ',n+=' ',n+=' ',n+=' ',n+=' ',n+=' ',n+=\" \",r===Z.BAR?(n+=' ',n+=' '):r===Z.BAR3D?(n+=' ',n+=' ',n+=' '):r===Z.LINE&&(n+=' '),n+=' ',n+=' ',n+=' ',n+=\"\";break;case Z.SCATTER:n+=\"\",n+='',n+='',i=-1,o.filter(function(e,t){return 0\",n+=' ',n+=' ',n+=\" \",n+=\" \",n+=\" Sheet1!$\"+B[e+1]+\"$1\",n+=' '+a.name+\"\",n+=\" \",n+=\" \",n+=\" \";var t=l.chartColors[i%l.chartColors.length];if(\"transparent\"===t?n+=\"\":l.chartColorsOpacity?n+=\"\"+Ce(t,'')+\"\":n+=\"\"+Ce(t)+\"\",0===l.lineSize?n+=\"\":(n+=''+Ce(t)+\"\",n+=''),n+=Ke(l.shadow,w),n+=\" \",n+=\"\",n+=' ',l.lineDataSymbolSize&&(n+=' '),n+=\" \",n+=\" \"+Ce(l.chartColors[e+1>l.chartColors.length?Math.floor(Math.random()*l.chartColors.length):e])+\"\",n+=' '+Ce(l.lineDataSymbolLineColor||l.chartColors[i%l.chartColors.length])+'',n+=\" \",n+=\" \",n+=\"\",l.showLabel){var r=Ae(\"-xxxx-xxxx-xxxx-xxxxxxxxxxxx\");!a.labels||\"custom\"!==l.dataLabelFormatScatter&&\"customXY\"!==l.dataLabelFormatScatter||(n+=\"\",a.labels.forEach(function(e,t){\"custom\"!==l.dataLabelFormatScatter&&\"customXY\"!==l.dataLabelFormatScatter||(n+=\" \",n+=' ',n+=\" \",n+=\" \",n+=\"\\t\\t\\t\",n+=\"\\t\\t\\t\\t\",n+=\"\\t\\t\\t\",n+=\" \\t\",n+=\" \\t\",n+=\"\\t\\t\\t\\t\",n+=\"\\t\\t\\t\\t\\t\",n+=\"\\t\\t\\t\\t\",n+=\" \\t\",n+=' \\t\\t',n+=\" \\t\\t\"+ue(e)+\"\",n+=\" \\t\",\"customXY\"!==l.dataLabelFormatScatter||/^ *$/.test(e)||(n+=\" \\t\",n+=' \\t\\t',n+=\" \\t\\t (\",n+=\" \\t\",n+=' \\t',n+=' \\t\\t',n+=\" \\t\\t\",n+=\" \\t\\t\\t\",n+=\" \\t\\t\",n+=\" \\t\\t[\"+ue(a.name)+\"\",n+=\" \\t\",n+=\" \\t\",n+=' \\t\\t',n+=\" \\t\\t, \",n+=\" \\t\",n+=' \\t',n+=' \\t\\t',n+=\" \\t\\t\",n+=\" \\t\\t\\t\",n+=\" \\t\\t\",n+=\" \\t\\t[\"+ue(a.name)+\"]\",n+=\" \\t\",n+=\" \\t\",n+=' \\t\\t',n+=\" \\t\\t)\",n+=\" \\t\",n+=' \\t'),n+=\" \\t\",n+=\" \",n+=\" \",n+=\" \",n+=\" \\t\",n+=\" \\t\",n+=\" \\t\\t\",n+=\" \\t\",n+=\" \\t\",n+=\" \",l.dataLabelPosition&&(n+=' '),n+=' ',n+=' ',n+=' ',n+=' ',n+=' ',n+=' ',n+='\\t ',n+=\" \",n+=' ',n+=' ',n+='\\t\\t\\t',n+=\" \",n+=\"\\t\\t\",n+=\"\")}),n+=\"\"),\"XY\"===l.dataLabelFormatScatter&&(n+=\"\",n+=\"\\t\",n+=\"\\t\\t\",n+=\"\\t\\t\",n+=\"\\t\\t\\t\",n+=\"\\t\\t\",n+=\"\\t \\t\",n+=\"\\t\",n+=\"\\t\",n+=\"\\t\\t\",n+=\"\\t\\t\\t\",n+=\"\\t\\t\",n+=\"\\t\\t\",n+=\"\\t\\t\",n+=\"\\t \\t\",n+=\" \\t\\t\",n+=\"\\t \\t\",n+='\\t \\t',n+=\"\\t\\t\",n+=\"\\t\",l.dataLabelPosition&&(n+=' '),n+='\\t',n+=' ',n+=' ',n+='\\t',n+='\\t',n+='\\t',n+=\"\\t\",n+='\\t\\t',n+='\\t\\t\\t',n+=\"\\t\\t\",n+=\"\\t\",n+=\"\")}1===o.length&&l.chartColors!==I&&a.values.forEach(function(e,t){var a=e<0?l.invertedColors||l.chartColors||I:l.chartColors||[];n+=\" \",n+=' ',n+=' ',n+=' ',n+=\" \",0===l.lineSize?n+=\"\":(n+=\"\",n+=' ',n+=\"\"),n+=Ke(l.shadow,w),n+=\" \",n+=\" \"}),n+=\"\",n+=\" \",n+=\" Sheet1!$A$2:$A$\"+(o[0].values.length+1)+\"\",n+=\" \",n+=\" General\",n+=' ',o[0].values.forEach(function(e,t){n+=''+(e||0===e?e:\"\")+\"\"}),n+=\" \",n+=\" \",n+=\"\",n+=\"\",n+=\" \",n+=\" Sheet1!$\"+Xe(e+1)+\"$2:$\"+Xe(e+1)+\"$\"+(o[0].values.length+1)+\"\",n+=\" \",n+=\" General\",n+=' ',o[0].values.forEach(function(e,t){n+=''+(a.values[t]||0===a.values[t]?a.values[t]:\"\")+\"\"}),n+=\" \",n+=\" \",n+=\"\",n+='',n+=\"\"}),n+=\" \",n+=' ',n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=' ',n+=\" \"+Ce(l.dataLabelColor||v)+\"\",n+=' ',n+=\" \",n+=\" \",n+=\" \",l.dataLabelPosition&&(n+=' '),n+=' ',n+=' ',n+=' ',n+=' ',n+=' ',n+=' ',n+=\" \",n+=' ',n+=' ',n+=\"\";break;case Z.BUBBLE:n+=\"\",n+='',i=-1;var s=1;o.filter(function(e,t){return 0\",n+=' ',n+=' ',n+=\" \",n+=\" \",n+=\" Sheet1!$\"+B[s]+\"$1\",n+=' '+a.name+\"\",n+=\" \",n+=\" \",n+=\"\";var t=l.chartColors[i%l.chartColors.length];\"transparent\"===t?n+=\"\":l.chartColorsOpacity?n+=\"\"+Ce(t,'')+\"\":n+=\"\"+Ce(t)+\"\",0===l.lineSize?n+=\"\":l.dataBorder?n+=''+Ce(l.dataBorder.color)+'':(n+=''+Ce(t)+\"\",n+=''),n+=Ke(l.shadow,w),n+=\"\",n+=\"\",n+=\" \",n+=\" Sheet1!$A$2:$A$\"+(o[0].values.length+1)+\"\",n+=\" \",n+=\" General\",n+=' ',o[0].values.forEach(function(e,t){n+=''+(e||0===e?e:\"\")+\"\"}),n+=\" \",n+=\" \",n+=\"\",n+=\"\",n+=\" \",n+=\" Sheet1!$\"+Xe(s)+\"$2:$\"+Xe(s)+\"$\"+(o[0].values.length+1)+\"\",s++,n+=\" \",n+=\" General\",n+=' ',o[0].values.forEach(function(e,t){n+=''+(a.values[t]||0===a.values[t]?a.values[t]:\"\")+\"\"}),n+=\" \",n+=\" \",n+=\"\",n+=\" \",n+=\" \",n+=\" Sheet1!$\"+Xe(s)+\"$2:$\"+Xe(e+2)+\"$\"+(a.sizes.length+1)+\"\",s++,n+=\" \",n+=\" General\",n+='\\t ',a.sizes.forEach(function(e,t){n+=''+(e||\"\")+\"\"}),n+=\" \",n+=\" \",n+=\" \",n+=' ',n+=\"\"}),n+=\" \",n+=' ',n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=' ',n+=\" \"+Ce(l.dataLabelColor||v)+\"\",n+=' ',n+=\" \",n+=\" \",n+=\" \",l.dataLabelPosition&&(n+=' '),n+=' ',n+=' ',n+=' ',n+=' ',n+=' ',n+=' ',n+=\" \",n+=' ',n+=' ',n+=\"\";break;case Z.DOUGHNUT:case Z.PIE:var a=o[0];n+=\"\",n+=' ',n+=\"\",n+=' ',n+=' ',n+=\" \",n+=\" \",n+=\" Sheet1!$B$1\",n+=\" \",n+=' ',n+=' '+ue(a.name)+\"\",n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=' ',n+=' ',l.dataNoEffects?n+=\"\":n+=Ke(l.shadow,w),n+=\" \",a.labels.forEach(function(e,t){n+=\"\",n+=' ',n+=' ',n+=\" \",n+=\"\"+Ce(l.chartColors[t+1>l.chartColors.length?Math.floor(Math.random()*l.chartColors.length):t])+\"\",l.dataBorder&&(n+=''+Ce(l.dataBorder.color)+''),n+=Ke(l.shadow,w),n+=\" \",n+=\"\"}),n+=\"\",a.labels.forEach(function(e,t){n+=\"\",n+=' ',n+=' ',n+=\" \",n+=\" \",n+=\" \",n+=' ',n+=\" \"+Ce(l.dataLabelColor||v)+\"\",n+=' ',n+=\" \",n+=\" \",n+=\" \",r===Z.PIE&&l.dataLabelPosition&&(n+=' '),n+=' ',n+=' ',n+=' ',n+=' ',n+=' ',n+=' ',n+=\" \"}),n+=' ',n+=\"\\t\",n+=\"\\t \",n+=\"\\t \",n+=\"\\t \",n+=\"\\t\\t\",n+='\\t\\t ',n+='\\t\\t\\t',n+=\"\\t\\t \",n+=\"\\t\\t\",n+=\"\\t \",n+=\"\\t\",n+=r===Z.PIE?'':\"\",n+='\\t',n+='\\t',n+='\\t',n+='\\t',n+='\\t',n+='\\t',n+=' ',n+=\"\",n+=\"\",n+=\" \",n+=\" Sheet1!$A$2:$A$\"+(a.labels.length+1)+\"\",n+=\" \",n+='\\t ',a.labels.forEach(function(e,t){n+=''+ue(e)+\"\"}),n+=\" \",n+=\" \",n+=\"\",n+=\" \",n+=\" \",n+=\" Sheet1!$B$2:$B$\"+(a.labels.length+1)+\"\",n+=\" \",n+='\\t ',a.values.forEach(function(e,t){n+=''+(e||0===e?e:\"\")+\"\"}),n+=\" \",n+=\" \",n+=\" \",n+=\" \",n+=' ',r===Z.DOUGHNUT&&(n+=' '),n+=\"\";break;default:n+=\"\"}return n}function Qe(t,e,a){var r=\"\";return t._type===Z.SCATTER||t._type===Z.BUBBLE?r+=\"\":r+=\"\",r+=' ',r+=\" \",r+='',!t.catAxisMaxVal&&0!==t.catAxisMaxVal||(r+=''),!t.catAxisMinVal&&0!==t.catAxisMinVal||(r+=''),r+=\"\",r+=' ',r+=' ',r+=\"none\"!==t.catGridLine.style?Je(t.catGridLine):\"\",t.showCatAxisTitle&&(r+=qe({color:t.catAxisTitleColor,fontFace:t.catAxisTitleFontFace,fontSize:t.catAxisTitleFontSize,titleRotate:t.catAxisTitleRotate,title:t.catAxisTitle||\"Axis Title\"})),t._type===Z.SCATTER||t._type===Z.BUBBLE?r+=' ':r+=' ',t._type===Z.SCATTER?(r+=' ',r+=' ',r+=' '):(r+=' ',r+=' ',r+=' '),r+=\" \",r+=' ',r+=!1===t.catAxisLineShow?\"\":\"\"+Ce(t.catAxisLineColor||b.color)+\"\",r+=' ',r+=\" \",r+=\" \",r+=\" \",r+=\" \",r+=\" \",r+=\" \",r+=\" \",r+=\" \",r+=' ',r+=\" \"+Ce(t.catAxisLabelColor||v)+\"\",r+=' ',r+=\" \",r+=\" \",r+=' ',r+=\" \",r+=\" \",r+=' ',r+=\" ',r+=' ',r+=' ',r+=' ',t.catAxisLabelFrequency&&(r+=' '),!t.catLabelFormatCode&&t._type!==Z.SCATTER&&t._type!==Z.BUBBLE||(t.catLabelFormatCode&&([\"catAxisBaseTimeUnit\",\"catAxisMajorTimeUnit\",\"catAxisMinorTimeUnit\"].forEach(function(e){!t[e]||\"string\"==typeof t[e]&&-1!==[\"days\",\"months\",\"years\"].indexOf(t[e].toLowerCase())||(console.warn(\"`\"+e+\"` must be one of: 'days','months','years' !\"),t[e]=null)}),t.catAxisBaseTimeUnit&&(r+=''),t.catAxisMajorTimeUnit&&(r+=''),t.catAxisMinorTimeUnit&&(r+='')),t.catAxisMajorUnit&&(r+=''),t.catAxisMinorUnit&&(r+='')),t._type===Z.SCATTER||t._type===Z.BUBBLE?r+=\"\":r+=\"\",r}function Ye(e,t){var a=t===S?\"col\"===e.barDir?\"l\":\"b\":\"col\"!==e.barDir?\"r\":\"t\",r=\"\",o=\"r\"==a||\"t\"==a?\"max\":\"autoZero\",l=t===S?E:_;return r+=\"\",r+=' ',r+=\" \",e.valAxisLogScaleBase&&(r+=' '),r+=' ',!e.valAxisMaxVal&&0!==e.valAxisMaxVal||(r+=''),!e.valAxisMinVal&&0!==e.valAxisMinVal||(r+=''),r+=\" \",r+=' ',r+=' ',\"none\"!==e.valGridLine.style&&(r+=Je(e.valGridLine)),e.showValAxisTitle&&(r+=qe({color:e.valAxisTitleColor,fontFace:e.valAxisTitleFontFace,fontSize:e.valAxisTitleFontSize,titleRotate:e.valAxisTitleRotate,title:e.valAxisTitle||\"Axis Title\"})),r+=\"',e._type===Z.SCATTER?(r+=' ',r+=' ',r+=' '):(r+=' ',r+=' ',r+=' '),r+=\" \",r+=' ',r+=!1===e.valAxisLineShow?\"\":\"\"+Ce(e.valAxisLineColor||b.color)+\"\",r+=' ',r+=\" \",r+=\" \",r+=\" \",r+=\" \",r+=\" \",r+=\" \",r+=\" \",r+=\" \",r+=' ',r+=\" \"+Ce(e.valAxisLabelColor||v)+\"\",r+=' ',r+=\" \",r+=\" \",r+=' ',r+=\" \",r+=\" \",r+=' ',r+=' ',r+=' ',e.valAxisMajorUnit&&(r+=' '),e.valAxisDisplayUnit&&(r+=''+(e.valAxisDisplayUnitLabel?\"\":\"\")+\"\"),r+=\"\"}function qe(e){var t=\"left\"===e.titleAlign||\"right\"===e.titleAlign?'':\"\",a=e.titleRotate?'':\"\",r=e.fontSize?'sz=\"'+Math.round(100*e.fontSize)+'\"':\"\",o=!0===e.titleBold?1:0,l=e.titlePos&&e.titlePos.x&&e.titlePos.y?'':\"\";return\"\\n\\t \\n\\t \\n\\t \"+a+\"\\n\\t \\n\\t \\n\\t \"+t+\"\\n\\t \\n\\t '+Ce(e.color||v)+'\\n\\t \\n\\t \\n\\t \\n\\t \\n\\t \\n\\t '+Ce(e.color||v)+'\\n\\t \\n\\t \\n\\t '+(ue(e.title)||\"\")+\"\\n\\t \\n\\t \\n\\t \\n\\t \\n\\t \"+l+'\\n\\t \\n\\t'}function Xe(e){var t=\"\";return e<=26?t=B[e]:(t+=B[Math.floor(e/B.length)-1],t+=B[e%B.length]),t}function Ke(e,t){if(!e)return\"\";if(\"object\"!=typeof e)return console.warn(\"`shadow` options must be an object. Ex: `{shadow: {type:'none'}}`\"),\"\";var a=\"\",r=me(t,e),o=r.type||\"outer\",l=ye(r.blur),n=ye(r.offset),i=Math.round(6e4*r.angle),s=r.color,p=Math.round(1e5*r.opacity);return a+=\"',a+='',a+='',a+=\"\",a+=\"\"}function Je(e){var t=\"\";return t+=\" \",t+=' ',t+=' ',t+=' ',t+=\" \",t+=\" \",t+=\"\"}function Ze(e){var l=\"undefined\"!=typeof require&&\"undefined\"==typeof window?require(\"fs\"):null,n=\"undefined\"!=typeof require&&\"undefined\"==typeof window?require(\"https\"):null,t=[];return e._relsMedia.filter(function(e){return\"online\"!==e.type&&!e.data&&(!e.path||e.path&&-1===e.path.indexOf(\"preencoded\"))}).forEach(function(o){t.push(new Promise(function(a,r){if(l&&0!==o.path.indexOf(\"http\"))try{var e=l.readFileSync(o.path);o.data=Buffer.from(e).toString(\"base64\"),a(\"done\")}catch(e){o.data=de,r('ERROR: Unable to read media: \"'+o.path+'\"\\n'+e.toString())}else if(l&&n&&0===o.path.indexOf(\"http\"))n.get(o.path,function(e){var t=\"\";e.setEncoding(\"binary\"),e.on(\"data\",function(e){return t+=e}),e.on(\"end\",function(){o.data=Buffer.from(t,\"binary\").toString(\"base64\"),a(\"done\")}),e.on(\"error\",function(e){o.data=de,r(\"ERROR! Unable to load image (https.get): \"+o.path)})});else{var t=new XMLHttpRequest;t.onload=function(){var e=new FileReader;e.onloadend=function(){o.data=e.result,o.isSvgPng?$e(o).then(function(){a(\"done\")}).catch(function(e){r(e)}):a(\"done\")},e.readAsDataURL(t.response)},t.onerror=function(e){o.data=de,r(\"ERROR! Unable to load image (xhr.onerror): \"+o.path)},t.open(\"GET\",o.path),t.responseType=\"blob\",t.send()}}))}),e._relsMedia.filter(function(e){return e.isSvgPng&&e.data}).forEach(function(e){l?(e.data=de,t.push(Promise.resolve().then(function(){return\"done\"}))):t.push($e(e))}),t}function $e(o){return new Promise(function(a,t){var r=new Image;r.onload=function(){r.width+r.height===0&&r.onerror(\"h/w=0\");var e=document.createElement(\"CANVAS\"),t=e.getContext(\"2d\");e.width=r.width,e.height=r.height,t.drawImage(r,0,0);try{o.data=e.toDataURL(o.type),a(\"done\")}catch(e){r.onerror(e)}e=null},r.onerror=function(e){o.data=de,t(\"ERROR! Unable to load image (image.onerror): \"+o.path)},r.src=\"string\"==typeof o.data?o.data:de})}function et(){var o=this;this._version=\"3.7.1\",this._alignH=Q,this._alignV=q,this._chartType=z,this._outputType=U,this._schemeColor=V,this._shapeType=W,this._charts=Z,this._colors=ee,this._shapes=K,this.addNewSlide=function(e){var t=0')})}),r+='',r+='',r+='',r+='',e.forEach(function(e,t){r+='',r+='',e._relsChart.forEach(function(e){r+=' '})}),r+='',r+='',r+='',r+='',t.forEach(function(e,t){r+='',(e._relsChart||[]).forEach(function(e){r+=' '})}),e.forEach(function(e,t){r+=' '}),a._relsChart.forEach(function(e){r+=' '}),a._relsMedia.forEach(function(e){\"image\"!==e.type&&\"online\"!==e.type&&\"chart\"!==e.type&&\"m4v\"!==e.extn&&-1===r.indexOf(e.type)&&(r+=' ')}),r+=' ',r+=' ',r+=\"\"}(o.slides,o.slideLayouts,o.masterSlide)),r.file(\"_rels/.rels\",''+g+'\\n\\t\\t\\n\\t\\t\\n\\t\\t\\n\\t\\t'),r.file(\"docProps/app.xml\",function(e,t){return''+g+'\\n\\t0\\n\\t0\\n\\tMicrosoft Office PowerPoint\\n\\tOn-screen Show (16:9)\\n\\t0\\n\\t'+e.length+\"\\n\\t\"+e.length+'\\n\\t0\\n\\t0\\n\\tfalse\\n\\t\\n\\t\\t\\n\\t\\t\\tFonts Used\\n\\t\\t\\t2\\n\\t\\t\\tTheme\\n\\t\\t\\t1\\n\\t\\t\\tSlide Titles\\n\\t\\t\\t'+e.length+'\\n\\t\\t\\n\\t\\n\\t\\n\\t\\t\\n\\t\\t\\tArial\\n\\t\\t\\tCalibri\\n\\t\\t\\tOffice Theme\\n\\t\\t\\t'+e.map(function(e,t){return\"Slide \"+(t+1)+\"\\n\"}).join(\"\")+\"\\n\\t\\t\\n\\t\\n\\t\"+t+\"\\n\\tfalse\\n\\tfalse\\n\\tfalse\\n\\t16.0000\\n\\t\"}(o.slides,o.company)),r.file(\"docProps/core.xml\",function(e,t,a,r){return'\\n\\t\\n\\t\\t'+ue(e)+\"\\n\\t\\t\"+ue(t)+\"\\n\\t\\t\"+ue(a)+\"\\n\\t\\t\"+ue(a)+\"\\n\\t\\t\"+r+'\\n\\t\\t'+(new Date).toISOString().replace(/\\.\\d\\d\\dZ/,\"Z\")+'\\n\\t\\t'+(new Date).toISOString().replace(/\\.\\d\\d\\dZ/,\"Z\")+\"\\n\\t\"}(o.title,o.subject,o.author,o.revision)),r.file(\"ppt/_rels/presentation.xml.rels\",function(e){var t=1,a=''+g;a+='',a+='';for(var r=1;r<=e.length;r++)a+='';return a+=''}(o.slides)),r.file(\"ppt/theme/theme1.xml\",''+g+''),r.file(\"ppt/presentation.xml\",function(e){var t=''+g+'';t+='',t+=\"\",e.slides.forEach(function(e){return t+=''}),t+=\"\",t+='',t+='',t+='',t+=\"\";for(var a=1;a<10;a++)t+=\"\";return t+=\"\",e.sections&&0',t+='',e.sections.forEach(function(e){t+='',e._slides.forEach(function(e){return t+=''}),t+=\"\"}),t+=\"\",t+='',t+=\"\"),t+=\"\"}(o)),r.file(\"ppt/presProps.xml\",''+g+''),r.file(\"ppt/tableStyles.xml\",''+g+''),r.file(\"ppt/viewProps.xml\",''+g+''),o.slideLayouts.forEach(function(e,t){r.file(\"ppt/slideLayouts/slideLayout\"+(t+1)+\".xml\",function(e){return'\\n\\t\\t\\n\\t\\t'+Se(e)+\"\\n\\t\\t\"}(e)),r.file(\"ppt/slideLayouts/_rels/slideLayout\"+(t+1)+\".xml.rels\",function(e,t){return Re(t[e-1],[{target:\"../slideMasters/slideMaster1.xml\",type:\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideMaster\"}])}(t+1,o.slideLayouts))}),o.slides.forEach(function(e,t){r.file(\"ppt/slides/slide\"+(t+1)+\".xml\",function(e){return''+g+'\"+Se(e)+\"\"}(e)),r.file(\"ppt/slides/_rels/slide\"+(t+1)+\".xml.rels\",function(e,t,a){return Re(e[a-1],[{target:\"../slideLayouts/slideLayout\"+function(e,t,a){for(var r=0;r\\n\\t\\t\\n\\t\\t\\t\\n\\t\\t\\t\\n\\t\\t'}(t+1))}),r.file(\"ppt/slideMasters/slideMaster1.xml\",function(a,e){var t=e.map(function(e,t){return''}),r=''+g;return r+='',r+=Se(a),r+='',r+=\"\"+t.join(\"\")+\"\",r+='',r+=' ',r+=\"\"}(o.masterSlide,o.slideLayouts)),r.file(\"ppt/slideMasters/_rels/slideMaster1.xml.rels\",function(e,t){var a=t.map(function(e,t){return{target:\"../slideLayouts/slideLayout\"+(t+1)+\".xml\",type:\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout\"}});return a.push({target:\"../theme/theme1.xml\",type:\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme\"}),Re(e,a)}(o.masterSlide,o.slideLayouts)),r.file(\"ppt/notesMasters/notesMaster1.xml\",''+g+'7/23/19Click to edit Master text stylesSecond levelThird levelFourth levelFifth level‹#›'),r.file(\"ppt/notesMasters/_rels/notesMaster1.xml.rels\",''+g+'\\n\\t\\t\\n\\t\\t'),o.slideLayouts.forEach(function(e){o.createChartMediaRels(e,r,t)}),o.slides.forEach(function(e){o.createChartMediaRels(e,r,t)}),o.createChartMediaRels(o.masterSlide,r,t),Promise.all(t).then(function(){return\"STREAM\"===e.outputType?r.generateAsync({type:\"nodebuffer\",compression:e.compression?\"DEFLATE\":\"STORE\"}):e.outputType?r.generateAsync({type:e.outputType}):r.generateAsync({type:\"blob\",compression:e.compression?\"DEFLATE\":\"STORE\"})})})},this.LAYOUTS={LAYOUT_4x3:{name:\"screen4x3\",width:9144e3,height:6858e3},LAYOUT_16x9:{name:\"screen16x9\",width:9144e3,height:5143500},LAYOUT_16x10:{name:\"screen16x10\",width:9144e3,height:5715e3},LAYOUT_WIDE:{name:\"custom\",width:12192e3,height:6858e3}},this._author=\"PptxGenJS\",this._company=\"PptxGenJS\",this._revision=\"1\",this._subject=\"PptxGenJS Presentation\",this._title=\"PptxGenJS Presentation\",this._presLayout={name:this.LAYOUTS[d].name,_sizeW:this.LAYOUTS[d].width,_sizeH:this.LAYOUTS[d].height,width:this.LAYOUTS[d].width,height:this.LAYOUTS[d].height},this._rtlMode=!1,this._slideLayouts=[{_margin:L,_name:r,_presLayout:this._presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slide:null,_slideNum:1e3,_slideNumberProps:null,_slideObjects:[]}],this._slides=[],this._sections=[],this._masterSlide={addChart:null,addImage:null,addMedia:null,addNotes:null,addShape:null,addTable:null,addText:null,_name:null,_presLayout:this._presLayout,_rId:null,_rels:[],_relsChart:[],_relsMedia:[],_slideId:null,_slideLayout:null,_slideNum:null,_slideNumberProps:null,_slideObjects:[]}}return Object.defineProperty(et.prototype,\"layout\",{get:function(){return this._layout},set:function(e){var t=this.LAYOUTS[e];if(!t)throw new Error(\"UNKNOWN-LAYOUT\");this._layout=e,this._presLayout=t},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,\"version\",{get:function(){return this._version},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,\"author\",{get:function(){return this._author},set:function(e){this._author=e},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,\"company\",{get:function(){return this._company},set:function(e){this._company=e},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,\"revision\",{get:function(){return this._revision},set:function(e){this._revision=e},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,\"subject\",{get:function(){return this._subject},set:function(e){this._subject=e},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,\"title\",{get:function(){return this._title},set:function(e){this._title=e},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,\"rtlMode\",{get:function(){return this._rtlMode},set:function(e){this._rtlMode=e},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,\"masterSlide\",{get:function(){return this._masterSlide},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,\"slides\",{get:function(){return this._slides},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,\"sections\",{get:function(){return this._sections},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,\"slideLayouts\",{get:function(){return this._slideLayouts},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,\"AlignH\",{get:function(){return this._alignH},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,\"AlignV\",{get:function(){return this._alignV},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,\"ChartType\",{get:function(){return this._chartType},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,\"OutputType\",{get:function(){return this._outputType},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,\"presLayout\",{get:function(){return this._presLayout},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,\"SchemeColor\",{get:function(){return this._schemeColor},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,\"ShapeType\",{get:function(){return this._shapeType},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,\"charts\",{get:function(){return this._charts},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,\"colors\",{get:function(){return this._colors},enumerable:!1,configurable:!0}),Object.defineProperty(et.prototype,\"shapes\",{get:function(){return this._shapes},enumerable:!1,configurable:!0}),et.prototype.stream=function(e){var t=!(\"object\"!=typeof e||!e.hasOwnProperty(\"compression\"))&&e.compression;return this.exportPresentation({compression:t,outputType:\"STREAM\"})},et.prototype.write=function(e){var t=\"object\"==typeof e&&e.hasOwnProperty(\"outputType\")?e.outputType:e||null,a=!(\"object\"!=typeof e||!e.hasOwnProperty(\"compression\"))&&e.compression;return this.exportPresentation({compression:a,outputType:t})},et.prototype.writeFile=function(e){var t=this,r=\"undefined\"!=typeof require&&\"undefined\"==typeof window?require(\"fs\"):null;\"string\"==typeof e&&console.log(\"Warning: `writeFile(filename)` is deprecated - please use `WriteFileProps` argument (v3.5.0)\");var a=\"object\"==typeof e&&e.hasOwnProperty(\"fileName\")?e.fileName:\"string\"==typeof e?e:\"\",o=!(\"object\"!=typeof e||!e.hasOwnProperty(\"compression\"))&&e.compression,l=a?a.toString().toLowerCase().endsWith(\".pptx\")?a:a+\".pptx\":\"Presentation.pptx\";return this.exportPresentation({compression:o,outputType:r?\"nodebuffer\":null}).then(function(e){return r?new Promise(function(t,a){r.writeFile(l,e,function(e){e?a(e):t(l)})}):t.writeFileToBrowser(l,e)})},et.prototype.addSection=function(e){e?e.title||console.warn(\"addSection requires a title\"):console.warn(\"addSection requires an argument\");var t={_type:\"user\",_slides:[],title:e.title};e.order?this.sections.splice(e.order,0,t):this._sections.push(t)},et.prototype.addSlide=function(t){var a=\"string\"==typeof t?t:t&&t.masterName?t.masterName:\"\",e={_name:this.LAYOUTS[d].name,_presLayout:this.presLayout,_rels:[],_relsChart:[],_relsMedia:[],_slideNum:this.slides.length+1};if(a){var r=this.slideLayouts.filter(function(e){return e._name===a})[0];r&&(e=r)}var o=new We({addSlide:this.addNewSlide,getSlide:this.getSlide,presLayout:this.presLayout,setSlideNum:this.setSlideNumber,slideId:this.slides.length+256,slideRId:this.slides.length+2,slideNumber:this.slides.length+1,slideLayout:e});if(this._slides.push(o),t&&t.sectionTitle){var l=this.sections.filter(function(e){return e.title===t.sectionTitle})[0];l?l._slides.push(o):console.warn('addSlide: unable to find section with title: \"'+t.sectionTitle+'\"')}else if(this.sections&&0 opts.y = \"+o.y),a.addTable(e.rows,{x:o.x||d[3],y:o.y,w:Number(i)/O,colW:p,autoPage:!1}),o.addImage&&a.addImage({path:o.addImage.url,x:o.addImage.x,y:o.addImage.y,w:o.addImage.w,h:o.addImage.h}),o.addShape&&a.addShape(o.addShape.shape,o.addShape.options||{}),o.addTable&&a.addTable(o.addTable.rows,o.addTable.options||{}),o.addText&&a.addText(o.addText.text,o.addText.options||{})})}(this,e,t,t&&t.masterSlideName?this.slideLayouts.filter(function(e){return e._name===t.masterSlideName})[0]:null)},et}();"],"file":"pptxgen.min.js"} \ No newline at end of file diff --git a/package.json b/package.json index 0aca6cbfa..44b29751b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pptxgenjs", - "version": "3.7.0", + "version": "3.7.1", "author": { "name": "Brent Ely", "url": "https://github.com/gitbrent/" diff --git a/src/pptxgen.ts b/src/pptxgen.ts index 96992c8f3..2c24a5235 100644 --- a/src/pptxgen.ts +++ b/src/pptxgen.ts @@ -97,7 +97,7 @@ import * as genMedia from './gen-media' import * as genTable from './gen-tables' import * as genXml from './gen-xml' -const VERSION = '3.7.0' +const VERSION = '3.7.1' export default class PptxGenJS implements IPresentationProps { // Property getters/setters