@lofcz/pptxtojson 2.2.6 → 2.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js CHANGED
@@ -1,3 +1,3 @@
1
1
  /*! LICENSE: index.umd.js.LICENSE.txt */
2
- !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.pptxtojson=e():t.pptxtojson=e()}(globalThis,()=>(()=>{var t={710(t,e,r){t.exports=(function t(e,a,s){function n(o,l){if(!a[o]){if(!e[o]){var h=r(363);if(!l&&h)return h(o,!0);if(i)return i(o,!0);var u=Error("Cannot find module '"+o+"'");throw u.code="MODULE_NOT_FOUND",u}var c=a[o]={exports:{}};e[o][0].call(c.exports,function(t){return n(e[o][1][t]||t)},c,c.exports,t,e,a,s)}return a[o].exports}for(var i=r(363),o=0;o<s.length;o++)n(s[o]);return n})({1:[function(t,e,r){"use strict";var a=t("./utils"),s=t("./support"),n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.encode=function(t){for(var e,r,s,i,o,l,h,u=[],c=0,f=t.length,d=f,m="string"!==a.getTypeOf(t);c<t.length;)d=f-c,s=m?(e=t[c++],r=c<f?t[c++]:0,c<f?t[c++]:0):(e=t.charCodeAt(c++),r=c<f?t.charCodeAt(c++):0,c<f?t.charCodeAt(c++):0),i=e>>2,o=(3&e)<<4|r>>4,l=1<d?(15&r)<<2|s>>6:64,h=2<d?63&s:64,u.push(n.charAt(i)+n.charAt(o)+n.charAt(l)+n.charAt(h));return u.join("")},r.decode=function(t){var e,r,a,i,o,l,h=0,u=0,c="data:";if(t.substr(0,c.length)===c)throw Error("Invalid base64 input, it looks like a data url.");var f,d=3*(t=t.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(t.charAt(t.length-1)===n.charAt(64)&&d--,t.charAt(t.length-2)===n.charAt(64)&&d--,d%1!=0)throw Error("Invalid base64 input, bad content length.");for(f=s.uint8array?new Uint8Array(0|d):Array(0|d);h<t.length;)e=n.indexOf(t.charAt(h++))<<2|(i=n.indexOf(t.charAt(h++)))>>4,r=(15&i)<<4|(o=n.indexOf(t.charAt(h++)))>>2,a=(3&o)<<6|(l=n.indexOf(t.charAt(h++))),f[u++]=e,64!==o&&(f[u++]=r),64!==l&&(f[u++]=a);return f}},{"./support":30,"./utils":32}],2:[function(t,e,r){"use strict";var a=t("./external"),s=t("./stream/DataWorker"),n=t("./stream/Crc32Probe"),i=t("./stream/DataLengthProbe");function o(t,e,r,a,s){this.compressedSize=t,this.uncompressedSize=e,this.crc32=r,this.compression=a,this.compressedContent=s}o.prototype={getContentWorker:function(){var t=new s(a.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 Error("Bug : uncompressed data size mismatch")}),t},getCompressedWorker:function(){return new s(a.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},o.createWorkerFrom=function(t,e,r){return t.pipe(new n).pipe(new i("uncompressedSize")).pipe(e.compressWorker(r)).pipe(new i("compressedSize")).withStreamInfo("compression",e)},e.exports=o},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(t,e,r){"use strict";var a=t("./stream/GenericWorker");r.STORE={magic:"\0\0",compressWorker:function(){return new a("STORE compression")},uncompressWorker:function(){return new a("STORE decompression")}},r.DEFLATE=t("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(t,e,r){"use strict";var a=t("./utils"),s=function(){for(var t,e=[],r=0;r<256;r++){t=r;for(var a=0;a<8;a++)t=1&t?0xedb88320^t>>>1:t>>>1;e[r]=t}return e}();e.exports=function(t,e){return void 0!==t&&t.length?"string"!==a.getTypeOf(t)?function(t,e,r){var a=0+r;t^=-1;for(var n=0;n<a;n++)t=t>>>8^s[255&(t^e[n])];return -1^t}(0|e,t,t.length):function(t,e,r){var a=0+r;t^=-1;for(var n=0;n<a;n++)t=t>>>8^s[255&(t^e.charCodeAt(n))];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";e.exports={Promise:"u">typeof Promise?Promise:t("lie")}},{lie:37}],7:[function(t,e,r){"use strict";var a="u">typeof Uint8Array&&"u">typeof Uint16Array&&"u">typeof Uint32Array,s=t("pako"),n=t("./utils"),i=t("./stream/GenericWorker"),o=a?"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",n.inherits(l,i),l.prototype.processChunk=function(t){this.meta=t.meta,null===this._pako&&this._createPako(),this._pako.push(n.transformTo(o,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 s[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var t=this;this._pako.onData=function(e){t.push({data:e,meta:t.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 a(t,e){var r,a="";for(r=0;r<e;r++)a+=String.fromCharCode(255&t),t>>>=8;return a}function s(t,e,r,s,i,u){var c,f,d,m,p=t.file,$=t.compression,b=u!==o.utf8encode,g=n.transformTo("string",u(p.name)),L=n.transformTo("string",o.utf8encode(p.name)),y=p.comment,v=n.transformTo("string",u(y)),M=n.transformTo("string",o.utf8encode(y)),w=L.length!==p.name.length,_=M.length!==y.length,k="",x="",C="",S=p.dir,I=p.date,A={crc32:0,compressedSize:0,uncompressedSize:0};e&&!r||(A.crc32=t.crc32,A.compressedSize=t.compressedSize,A.uncompressedSize=t.uncompressedSize);var P=0;e&&(P|=8),!b&&(w||_)&&(P|=2048);var R=0,z=0;S&&(R|=16),"UNIX"===i?(z=798,R|=(c=p.unixPermissions,f=c,c||(f=S?16893:33204),(65535&f)<<16)):(z=20,R|=63&(p.dosPermissions||0)),d=(I.getUTCHours()<<6|I.getUTCMinutes())<<5|I.getUTCSeconds()/2,m=(I.getUTCFullYear()-1980<<4|I.getUTCMonth()+1)<<5|I.getUTCDate(),w&&(x=a(1,1)+a(l(g),4)+L,k+="up"+a(x.length,2)+x),_&&(C=a(1,1)+a(l(v),4)+M,k+="uc"+a(C.length,2)+C);var T="";return T+="\n\0",T+=a(P,2),T+=$.magic,T+=a(d,2),T+=a(m,2),T+=a(A.crc32,4),T+=a(A.compressedSize,4),T+=a(A.uncompressedSize,4),T+=a(g.length,2),T+=a(k.length,2),{fileRecord:h.LOCAL_FILE_HEADER+T+g+k,dirRecord:h.CENTRAL_FILE_HEADER+a(z,2)+T+a(v.length,2)+"\0\0\0\0"+a(R,4)+a(s,4)+g+k+v}}var n=t("../utils"),i=t("../stream/GenericWorker"),o=t("../utf8"),l=t("../crc32"),h=t("../signature");function u(t,e,r,a){i.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=e,this.zipPlatform=r,this.encodeFileName=a,this.streamFiles=t,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}n.inherits(u,i),u.prototype.push=function(t){var e=t.meta.percent||0,r=this.entriesCount,a=this._sources.length;this.accumulate?this.contentBuffer.push(t):(this.bytesWritten+=t.data.length,i.prototype.push.call(this,{data:t.data,meta:{currentFile:this.currentFile,percent:r?(e+100*(r-a-1))/r:100}}))},u.prototype.openedSource=function(t){this.currentSourceOffset=this.bytesWritten,this.currentFile=t.file.name;var e=this.streamFiles&&!t.file.dir;if(e){var r=s(t,e,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},u.prototype.closedSource=function(t){this.accumulate=!1;var e=this.streamFiles&&!t.file.dir,r=s(t,e,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),e)this.push({data:h.DATA_DESCRIPTOR+a(t.crc32,4)+a(t.compressedSize,4)+a(t.uncompressedSize,4),meta:{percent:100}});else for(this.push({data:r.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},u.prototype.flush=function(){for(var t,e,r,s,i=this.bytesWritten,o=0;o<this.dirRecords.length;o++)this.push({data:this.dirRecords[o],meta:{percent:100}});var l=this.bytesWritten-i,u=(t=this.dirRecords.length,e=this.zipComment,r=this.encodeFileName,s=n.transformTo("string",r(e)),h.CENTRAL_DIRECTORY_END+"\0\0\0\0"+a(t,2)+a(t,2)+a(l,4)+a(i,4)+a(s.length,2)+s);this.push({data:u,meta:{percent:100}})},u.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},u.prototype.registerPrevious=function(t){this._sources.push(t);var e=this;return t.on("data",function(t){e.processChunk(t)}),t.on("end",function(){e.closedSource(e.previous.streamInfo),e._sources.length?e.prepareNextSource():e.end()}),t.on("error",function(t){e.error(t)}),this},u.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},u.prototype.error=function(t){var e=this._sources;if(!i.prototype.error.call(this,t))return!1;for(var r=0;r<e.length;r++)try{e[r].error(t)}catch(t){}return!0},u.prototype.lock=function(){i.prototype.lock.call(this);for(var t=this._sources,e=0;e<t.length;e++)t[e].lock()},e.exports=u},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(t,e,r){"use strict";var a=t("../compressions"),s=t("./ZipFileWorker");r.generateWorker=function(t,e,r){var n=new s(e.streamFiles,r,e.platform,e.encodeFileName),i=0;try{t.forEach(function(t,r){i++;var s=function(t,e){var r=t||e,s=a[r];if(!s)throw Error(r+" is not a valid compression method !");return s}(r.options.compression,e.compression),o=r.options.compressionOptions||e.compressionOptions||{},l=r.dir,h=r.date;r._compressWorker(s,o).withStreamInfo("file",{name:t,dir:l,date:h,comment:r.comment||"",unixPermissions:r.unixPermissions,dosPermissions:r.dosPermissions}).pipe(n)}),n.entriesCount=i}catch(t){n.error(t)}return n}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(t,e,r){"use strict";function a(){if(!(this instanceof a))return new a;if(arguments.length)throw Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var t=new a;for(var e in this)"function"!=typeof this[e]&&(t[e]=this[e]);return t}}(a.prototype=t("./object")).loadAsync=t("./load"),a.support=t("./support"),a.defaults=t("./defaults"),a.version="3.10.1",a.loadAsync=function(t,e){return(new a).loadAsync(t,e)},a.external=t("./external"),e.exports=a},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(t,e,r){"use strict";var a=t("./utils"),s=t("./external"),n=t("./utf8"),i=t("./zipEntries"),o=t("./stream/Crc32Probe"),l=t("./nodejsUtils");e.exports=function(t,e){var r=this;return e=a.extend(e||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:n.utf8decode}),l.isNode&&l.isStream(t)?s.Promise.reject(Error("JSZip can't accept a stream when loading a zip file.")):a.prepareContent("the loaded zip file",t,!0,e.optimizedBinaryString,e.base64).then(function(t){var r=new i(e);return r.load(t),r}).then(function(t){var r=[s.Promise.resolve(t)],a=t.files;if(e.checkCRC32)for(var n=0;n<a.length;n++)r.push(function(t){return new s.Promise(function(e,r){var a=t.decompressed.getContentWorker().pipe(new o);a.on("error",function(t){r(t)}).on("end",function(){a.streamInfo.crc32!==t.decompressed.crc32?r(Error("Corrupted zip : CRC32 mismatch")):e()}).resume()})}(a[n]));return s.Promise.all(r)}).then(function(t){for(var s=t.shift(),n=s.files,i=0;i<n.length;i++){var o=n[i],l=o.fileNameStr,h=a.resolve(o.fileNameStr);r.file(h,o.decompressed,{binary:!0,optimizedBinaryString:!0,date:o.date,dir:o.dir,comment:o.fileCommentStr.length?o.fileCommentStr:null,unixPermissions:o.unixPermissions,dosPermissions:o.dosPermissions,createFolders:e.createFolders}),o.dir||(r.file(h).unsafeOriginalName=l)}return s.zipComment.length&&(r.comment=s.zipComment),r})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(t,e,r){"use strict";var a=t("../utils"),s=t("../stream/GenericWorker");function n(t,e){s.call(this,"Nodejs stream input adapter for "+t),this._upstreamEnded=!1,this._bindStream(e)}a.inherits(n,s),n.prototype._bindStream=function(t){var e=this;(this._stream=t).pause(),t.on("data",function(t){e.push({data:t,meta:{percent:0}})}).on("error",function(t){e.isPaused?this.generatedError=t:e.error(t)}).on("end",function(){e.isPaused?e._upstreamEnded=!0:e.end()})},n.prototype.pause=function(){return!!s.prototype.pause.call(this)&&(this._stream.pause(),!0)},n.prototype.resume=function(){return!!s.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},e.exports=n},{"../stream/GenericWorker":28,"../utils":32}],13:[function(t,e,r){"use strict";var a=t("readable-stream").Readable;function s(t,e,r){a.call(this,e),this._helper=t;var s=this;t.on("data",function(t,e){s.push(t)||s._helper.pause(),r&&r(e)}).on("error",function(t){s.emit("error",t)}).on("end",function(){s.push(null)})}t("../utils").inherits(s,a),s.prototype._read=function(){this._helper.resume()},e.exports=s},{"../utils":32,"readable-stream":16}],14:[function(t,e,r){"use strict";e.exports={isNode:"u">typeof Buffer,newBufferFrom:function(t,e){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(t,e);if("number"==typeof t)throw Error('The "data" argument must not be a number');return new Buffer(t,e)},allocBuffer:function(t){if(Buffer.alloc)return Buffer.alloc(t);var e=new Buffer(t);return e.fill(0),e},isBuffer:function(t){return Buffer.isBuffer(t)},isStream:function(t){return t&&"function"==typeof t.on&&"function"==typeof t.pause&&"function"==typeof t.resume}}},{}],15:[function(t,e,r){"use strict";function a(t,e,r){var a,s=n.getTypeOf(e),o=n.extend(r||{},l);o.date=o.date||new Date,null!==o.compression&&(o.compression=o.compression.toUpperCase()),"string"==typeof o.unixPermissions&&(o.unixPermissions=parseInt(o.unixPermissions,8)),o.unixPermissions&&16384&o.unixPermissions&&(o.dir=!0),o.dosPermissions&&16&o.dosPermissions&&(o.dir=!0),o.dir&&(t=p(t)),o.createFolders&&(a=m(t))&&$.call(this,a,!0);var c="string"===s&&!1===o.binary&&!1===o.base64;r&&void 0!==r.binary||(o.binary=!c),(e instanceof h&&0===e.uncompressedSize||o.dir||!e||0===e.length)&&(o.base64=!1,o.binary=!0,e="",o.compression="STORE",s="string");var b=null;b=e instanceof h||e instanceof i?e:f.isNode&&f.isStream(e)?new d(t,e):n.prepareContent(t,e,o.binary,o.optimizedBinaryString,o.base64);var g=new u(t,b,o);this.files[t]=g}var s=t("./utf8"),n=t("./utils"),i=t("./stream/GenericWorker"),o=t("./stream/StreamHelper"),l=t("./defaults"),h=t("./compressedObject"),u=t("./zipObject"),c=t("./generate"),f=t("./nodejsUtils"),d=t("./nodejs/NodejsStreamInputAdapter"),m=function(t){"/"===t.slice(-1)&&(t=t.substring(0,t.length-1));var e=t.lastIndexOf("/");return 0<e?t.substring(0,e):""},p=function(t){return"/"!==t.slice(-1)&&(t+="/"),t},$=function(t,e){return e=void 0!==e?e:l.createFolders,t=p(t),this.files[t]||a.call(this,t,null,{dir:!0,createFolders:e}),this.files[t]};function b(t){return"[object RegExp]"===Object.prototype.toString.call(t)}e.exports={load:function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(t){var e,r,a;for(e in this.files)a=this.files[e],(r=e.slice(this.root.length,e.length))&&e.slice(0,this.root.length)===this.root&&t(r,a)},filter:function(t){var e=[];return this.forEach(function(r,a){t(r,a)&&e.push(a)}),e},file:function(t,e,r){if(1!=arguments.length)return t=this.root+t,a.call(this,t,e,r),this;if(b(t)){var s=t;return this.filter(function(t,e){return!e.dir&&s.test(t)})}var n=this.files[this.root+t];return n&&!n.dir?n:null},folder:function(t){if(!t)return this;if(b(t))return this.filter(function(e,r){return r.dir&&t.test(e)});var e=this.root+t,r=$.call(this,e),a=this.clone();return a.root=r.name,a},remove:function(t){t=this.root+t;var e=this.files[t];if(e||("/"!==t.slice(-1)&&(t+="/"),e=this.files[t]),e&&!e.dir)delete this.files[t];else for(var r=this.filter(function(e,r){return r.name.slice(0,t.length)===t}),a=0;a<r.length;a++)delete this.files[r[a].name];return this},generate:function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(t){var e,r={};try{if((r=n.extend(t||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:s.utf8encode})).type=r.type.toLowerCase(),r.compression=r.compression.toUpperCase(),"binarystring"===r.type&&(r.type="string"),!r.type)throw Error("No output type specified.");n.checkSupport(r.type),"darwin"!==r.platform&&"freebsd"!==r.platform&&"linux"!==r.platform&&"sunos"!==r.platform||(r.platform="UNIX"),"win32"===r.platform&&(r.platform="DOS");var a=r.comment||this.comment||"";e=c.generateWorker(this,r,a)}catch(t){(e=new i("error")).error(t)}return new o(e,r.type||"string",r.mimeType)},generateAsync:function(t,e){return this.generateInternalStream(t).accumulate(e)},generateNodeStream:function(t,e){return(t=t||{}).type||(t.type="nodebuffer"),this.generateInternalStream(t).toNodejsStream(e)}}},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(t,e,r){"use strict";e.exports=t("stream")},{stream:void 0}],17:[function(t,e,r){"use strict";var a=t("./DataReader");function s(t){a.call(this,t);for(var e=0;e<this.data.length;e++)t[e]=255&t[e]}t("../utils").inherits(s,a),s.prototype.byteAt=function(t){return this.data[this.zero+t]},s.prototype.lastIndexOfSignature=function(t){for(var e=t.charCodeAt(0),r=t.charCodeAt(1),a=t.charCodeAt(2),s=t.charCodeAt(3),n=this.length-4;0<=n;--n)if(this.data[n]===e&&this.data[n+1]===r&&this.data[n+2]===a&&this.data[n+3]===s)return n-this.zero;return -1},s.prototype.readAndCheckSignature=function(t){var e=t.charCodeAt(0),r=t.charCodeAt(1),a=t.charCodeAt(2),s=t.charCodeAt(3),n=this.readData(4);return e===n[0]&&r===n[1]&&a===n[2]&&s===n[3]},s.prototype.readData=function(t){if(this.checkOffset(t),0===t)return[];var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=s},{"../utils":32,"./DataReader":18}],18:[function(t,e,r){"use strict";var a=t("../utils");function s(t){this.data=t,this.length=t.length,this.index=0,this.zero=0}s.prototype={checkOffset:function(t){this.checkIndex(this.index+t)},checkIndex:function(t){if(this.length<this.zero+t||t<0)throw Error("End of data reached (data length = "+this.length+", asked index = "+t+"). Corrupted zip ?")},setIndex:function(t){this.checkIndex(t),this.index=t},skip:function(t){this.setIndex(this.index+t)},byteAt:function(){},readInt:function(t){var e,r=0;for(this.checkOffset(t),e=this.index+t-1;e>=this.index;e--)r=(r<<8)+this.byteAt(e);return this.index+=t,r},readString:function(t){return a.transformTo("string",this.readData(t))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},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=s},{"../utils":32}],19:[function(t,e,r){"use strict";var a=t("./Uint8ArrayReader");function s(t){a.call(this,t)}t("../utils").inherits(s,a),s.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=s},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(t,e,r){"use strict";var a=t("./DataReader");function s(t){a.call(this,t)}t("../utils").inherits(s,a),s.prototype.byteAt=function(t){return this.data.charCodeAt(this.zero+t)},s.prototype.lastIndexOfSignature=function(t){return this.data.lastIndexOf(t)-this.zero},s.prototype.readAndCheckSignature=function(t){return t===this.readData(4)},s.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=s},{"../utils":32,"./DataReader":18}],21:[function(t,e,r){"use strict";var a=t("./ArrayReader");function s(t){a.call(this,t)}t("../utils").inherits(s,a),s.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=s},{"../utils":32,"./ArrayReader":17}],22:[function(t,e,r){"use strict";var a=t("../utils"),s=t("../support"),n=t("./ArrayReader"),i=t("./StringReader"),o=t("./NodeBufferReader"),l=t("./Uint8ArrayReader");e.exports=function(t){var e=a.getTypeOf(t);return a.checkSupport(e),"string"!==e||s.uint8array?"nodebuffer"===e?new o(t):s.uint8array?new l(a.transformTo("uint8array",t)):new n(a.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\x03\x04",r.CENTRAL_FILE_HEADER="PK\x01\x02",r.CENTRAL_DIRECTORY_END="PK\x05\x06",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x06\x07",r.ZIP64_CENTRAL_DIRECTORY_END="PK\x06\x06",r.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(t,e,r){"use strict";var a=t("./GenericWorker"),s=t("../utils");function n(t){a.call(this,"ConvertWorker to "+t),this.destType=t}s.inherits(n,a),n.prototype.processChunk=function(t){this.push({data:s.transformTo(this.destType,t.data),meta:t.meta})},e.exports=n},{"../utils":32,"./GenericWorker":28}],25:[function(t,e,r){"use strict";var a=t("./GenericWorker"),s=t("../crc32");function n(){a.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}t("../utils").inherits(n,a),n.prototype.processChunk=function(t){this.streamInfo.crc32=s(t.data,this.streamInfo.crc32||0),this.push(t)},e.exports=n},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(t,e,r){"use strict";var a=t("../utils"),s=t("./GenericWorker");function n(t){s.call(this,"DataLengthProbe for "+t),this.propName=t,this.withStreamInfo(t,0)}a.inherits(n,s),n.prototype.processChunk=function(t){if(t){var e=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=e+t.data.length}s.prototype.processChunk.call(this,t)},e.exports=n},{"../utils":32,"./GenericWorker":28}],27:[function(t,e,r){"use strict";var a=t("../utils"),s=t("./GenericWorker");function n(t){s.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=a.getTypeOf(t),e.isPaused||e._tickAndRepeat()},function(t){e.error(t)})}a.inherits(n,s),n.prototype.cleanUp=function(){s.prototype.cleanUp.call(this),this.data=null},n.prototype.resume=function(){return!!s.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,a.delay(this._tickAndRepeat,[],this)),!0)},n.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(a.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},n.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=n},{"../utils":32,"./GenericWorker":28}],28:[function(t,e,r){"use strict";function a(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}a.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<this._listeners[t].length;r++)this._listeners[t][r].call(this,e)},pipe:function(t){return t.registerPrevious(this)},registerPrevious:function(t){if(this.isLocked)throw Error("The stream '"+this+"' has already been used.");this.streamInfo=t.streamInfo,this.mergeStreamInfo(),this.previous=t;var e=this;return t.on("data",function(t){e.processChunk(t)}),t.on("end",function(){e.end()}),t.on("error",function(t){e.error(t)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var t=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),t=!0),this.previous&&this.previous.resume(),!t},flush:function(){},processChunk:function(t){this.push(t)},withStreamInfo:function(t,e){return this.extraStreamInfo[t]=e,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var t in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,t)&&(this.streamInfo[t]=this.extraStreamInfo[t])},lock:function(){if(this.isLocked)throw Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var t="Worker "+this.name;return this.previous?this.previous+" -> "+t:t}},e.exports=a},{}],29:[function(t,e,r){"use strict";var a=t("../utils"),s=t("./ConvertWorker"),n=t("./GenericWorker"),i=t("../base64"),o=t("../support"),l=t("../external"),h=null;if(o.nodestream)try{h=t("../nodejs/NodejsStreamOutputAdapter")}catch(t){}function u(t,e,r){var i=e;switch(e){case"blob":case"arraybuffer":i="uint8array";break;case"base64":i="string"}try{this._internalType=i,this._outputType=e,this._mimeType=r,a.checkSupport(i),this._worker=t.pipe(new s(i)),t.lock()}catch(t){this._worker=new n("error"),this._worker.error(t)}}u.prototype={accumulate:function(t){var e;return e=this,new l.Promise(function(r,s){var n=[],o=e._internalType,l=e._outputType,h=e._mimeType;e.on("data",function(e,r){n.push(e),t&&t(r)}).on("error",function(t){n=[],s(t)}).on("end",function(){try{var t=function(t,e,r){switch(t){case"blob":return a.newBlob(a.transformTo("arraybuffer",e),r);case"base64":return i.encode(e);default:return a.transformTo(t,e)}}(l,function(t,e){var r,a=0,s=null,n=0;for(r=0;r<e.length;r++)n+=e[r].length;switch(t){case"string":return e.join("");case"array":return Array.prototype.concat.apply([],e);case"uint8array":for(s=new Uint8Array(n),r=0;r<e.length;r++)s.set(e[r],a),a+=e[r].length;return s;case"nodebuffer":return Buffer.concat(e);default:throw Error("concat : unsupported type '"+t+"'")}}(o,n),h);r(t)}catch(t){s(t)}n=[]}).resume()})},on:function(t,e){var r=this;return"data"===t?this._worker.on(t,function(t){e.call(r,t.data,t.meta)}):this._worker.on(t,function(){a.delay(e,arguments,r)}),this},resume:function(){return a.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(t){if(a.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw Error(this._outputType+" is not supported by this method");return new h(this,{objectMode:"nodebuffer"!==this._outputType},t)}},e.exports=u},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(t,e,r){"use strict";if(r.base64=!0,r.array=!0,r.string=!0,r.arraybuffer="u">typeof ArrayBuffer&&"u">typeof Uint8Array,r.nodebuffer="u">typeof Buffer,r.uint8array="u">typeof Uint8Array,"u"<typeof ArrayBuffer)r.blob=!1;else{var a=new ArrayBuffer(0);try{r.blob=0===new Blob([a],{type:"application/zip"}).size}catch(t){try{var s=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);s.append(a),r.blob=0===s.getBlob("application/zip").size}catch(t){r.blob=!1}}}try{r.nodestream=!!t("readable-stream").Readable}catch(t){r.nodestream=!1}},{"readable-stream":16}],31:[function(t,e,r){"use strict";for(var a=t("./utils"),s=t("./support"),n=t("./nodejsUtils"),i=t("./stream/GenericWorker"),o=Array(256),l=0;l<256;l++)o[l]=252<=l?6:248<=l?5:240<=l?4:224<=l?3:192<=l?2:1;function h(){i.call(this,"utf-8 decode"),this.leftOver=null}function u(){i.call(this,"utf-8 encode")}o[254]=o[254]=1,r.utf8encode=function(t){return s.nodebuffer?n.newBufferFrom(t,"utf-8"):function(t){var e,r,a,n,i,o=t.length,l=0;for(n=0;n<o;n++)55296==(64512&(r=t.charCodeAt(n)))&&n+1<o&&56320==(64512&(a=t.charCodeAt(n+1)))&&(r=65536+(r-55296<<10)+(a-56320),n++),l+=r<128?1:r<2048?2:r<65536?3:4;for(e=s.uint8array?new Uint8Array(l):Array(l),n=i=0;i<l;n++)55296==(64512&(r=t.charCodeAt(n)))&&n+1<o&&56320==(64512&(a=t.charCodeAt(n+1)))&&(r=65536+(r-55296<<10)+(a-56320),n++),r<128?e[i++]=r:(r<2048?e[i++]=192|r>>>6:(r<65536?e[i++]=224|r>>>12:(e[i++]=240|r>>>18,e[i++]=128|r>>>12&63),e[i++]=128|r>>>6&63),e[i++]=128|63&r);return e}(t)},r.utf8decode=function(t){return s.nodebuffer?a.transformTo("nodebuffer",t).toString("utf-8"):function(t){var e,r,s,n,i=t.length,l=Array(2*i);for(e=r=0;e<i;)if((s=t[e++])<128)l[r++]=s;else if(4<(n=o[s]))l[r++]=65533,e+=n-1;else{for(s&=2===n?31:3===n?15:7;1<n&&e<i;)s=s<<6|63&t[e++],n--;1<n?l[r++]=65533:s<65536?l[r++]=s:(s-=65536,l[r++]=55296|s>>10&1023,l[r++]=56320|1023&s)}return l.length!==r&&(l.subarray?l=l.subarray(0,r):l.length=r),a.applyFromCharCode(l)}(t=a.transformTo(s.uint8array?"uint8array":"array",t))},a.inherits(h,i),h.prototype.processChunk=function(t){var e=a.transformTo(s.uint8array?"uint8array":"array",t.data);if(this.leftOver&&this.leftOver.length){if(s.uint8array){var n=e;(e=new Uint8Array(n.length+this.leftOver.length)).set(this.leftOver,0),e.set(n,this.leftOver.length)}else e=this.leftOver.concat(e);this.leftOver=null}var i=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||0===r?e:r+o[t[r]]>e?r:e}(e),l=e;i!==e.length&&(s.uint8array?(l=e.subarray(0,i),this.leftOver=e.subarray(i,e.length)):(l=e.slice(0,i),this.leftOver=e.slice(i,e.length))),this.push({data:r.utf8decode(l),meta:t.meta})},h.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:r.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},r.Utf8DecodeWorker=h,a.inherits(u,i),u.prototype.processChunk=function(t){this.push({data:r.utf8encode(t.data),meta:t.meta})},r.Utf8EncodeWorker=u},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(t,e,r){"use strict";var a=t("./support"),s=t("./base64"),n=t("./nodejsUtils"),i=t("./external");function o(t){return t}function l(t,e){for(var r=0;r<t.length;++r)e[r]=255&t.charCodeAt(r);return e}t("setimmediate"),r.newBlob=function(t,e){r.checkSupport("blob");try{return new Blob([t],{type:e})}catch(r){try{var a=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return a.append(t),a.getBlob(e)}catch(t){throw Error("Bug : can't construct the Blob.")}}};var h={stringifyByChunk:function(t,e,r){var a=[],s=0,n=t.length;if(n<=r)return String.fromCharCode.apply(null,t);for(;s<n;)"array"===e||"nodebuffer"===e?a.push(String.fromCharCode.apply(null,t.slice(s,Math.min(s+r,n)))):a.push(String.fromCharCode.apply(null,t.subarray(s,Math.min(s+r,n)))),s+=r;return a.join("")},stringifyByChar:function(t){for(var e="",r=0;r<t.length;r++)e+=String.fromCharCode(t[r]);return e},applyCanBeUsed:{uint8array:function(){try{return a.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(t){return!1}}(),nodebuffer:function(){try{return a.nodebuffer&&1===String.fromCharCode.apply(null,n.allocBuffer(1)).length}catch(t){return!1}}()}};function u(t){var e=65536,a=r.getTypeOf(t),s=!0;if("uint8array"===a?s=h.applyCanBeUsed.uint8array:"nodebuffer"===a&&(s=h.applyCanBeUsed.nodebuffer),s)for(;1<e;)try{return h.stringifyByChunk(t,a,e)}catch(t){e=Math.floor(e/2)}return h.stringifyByChar(t)}function c(t,e){for(var r=0;r<t.length;r++)e[r]=t[r];return e}r.applyFromCharCode=u;var f={};f.string={string:o,array:function(t){return l(t,Array(t.length))},arraybuffer:function(t){return f.string.uint8array(t).buffer},uint8array:function(t){return l(t,new Uint8Array(t.length))},nodebuffer:function(t){return l(t,n.allocBuffer(t.length))}},f.array={string:u,array:o,arraybuffer:function(t){return new Uint8Array(t).buffer},uint8array:function(t){return new Uint8Array(t)},nodebuffer:function(t){return n.newBufferFrom(t)}},f.arraybuffer={string:function(t){return u(new Uint8Array(t))},array:function(t){return c(new Uint8Array(t),Array(t.byteLength))},arraybuffer:o,uint8array:function(t){return new Uint8Array(t)},nodebuffer:function(t){return n.newBufferFrom(new Uint8Array(t))}},f.uint8array={string:u,array:function(t){return c(t,Array(t.length))},arraybuffer:function(t){return t.buffer},uint8array:o,nodebuffer:function(t){return n.newBufferFrom(t)}},f.nodebuffer={string:u,array:function(t){return c(t,Array(t.length))},arraybuffer:function(t){return f.nodebuffer.uint8array(t).buffer},uint8array:function(t){return c(t,new Uint8Array(t.length))},nodebuffer:o},r.transformTo=function(t,e){return(e=e||"",t)?(r.checkSupport(t),f[r.getTypeOf(e)][t](e)):e},r.resolve=function(t){for(var e=t.split("/"),r=[],a=0;a<e.length;a++){var s=e[a];"."===s||""===s&&0!==a&&a!==e.length-1||(".."===s?r.pop():r.push(s))}return r.join("/")},r.getTypeOf=function(t){return"string"==typeof t?"string":"[object Array]"===Object.prototype.toString.call(t)?"array":a.nodebuffer&&n.isBuffer(t)?"nodebuffer":a.uint8array&&t instanceof Uint8Array?"uint8array":a.arraybuffer&&t instanceof ArrayBuffer?"arraybuffer":void 0},r.checkSupport=function(t){if(!a[t.toLowerCase()])throw Error(t+" is not supported by this platform")},r.MAX_VALUE_16BITS=65535,r.MAX_VALUE_32BITS=-1,r.pretty=function(t){var e,r,a="";for(r=0;r<(t||"").length;r++)a+="\\x"+((e=t.charCodeAt(r))<16?"0":"")+e.toString(16).toUpperCase();return a},r.delay=function(t,e,r){setImmediate(function(){t.apply(r||null,e||[])})},r.inherits=function(t,e){function r(){}r.prototype=e.prototype,t.prototype=new r},r.extend=function(){var t,e,r={};for(t=0;t<arguments.length;t++)for(e in arguments[t])Object.prototype.hasOwnProperty.call(arguments[t],e)&&void 0===r[e]&&(r[e]=arguments[t][e]);return r},r.prepareContent=function(t,e,n,o,h){return i.Promise.resolve(e).then(function(t){return a.blob&&(t instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(t)))&&"u">typeof FileReader?new i.Promise(function(e,r){var a=new FileReader;a.onload=function(t){e(t.target.result)},a.onerror=function(t){r(t.target.error)},a.readAsArrayBuffer(t)}):t}).then(function(e){var u,c=r.getTypeOf(e);return c?("arraybuffer"===c?e=r.transformTo("uint8array",e):"string"===c&&(h?e=s.decode(e):n&&!0!==o&&(e=l(u=e,a.uint8array?new Uint8Array(u.length):Array(u.length)))),e):i.Promise.reject(Error("Can't read the data of '"+t+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(t,e,r){"use strict";var a=t("./reader/readerFor"),s=t("./utils"),n=t("./signature"),i=t("./zipEntry"),o=t("./support");function l(t){this.files=[],this.loadOptions=t}l.prototype={checkSignature:function(t){if(!this.reader.readAndCheckSignature(t)){this.reader.index-=4;var e=this.reader.readString(4);throw Error("Corrupted zip or bug: unexpected signature ("+s.pretty(e)+", expected "+s.pretty(t)+")")}},isSignature:function(t,e){var r=this.reader.index;this.reader.setIndex(t);var a=this.reader.readString(4)===e;return this.reader.setIndex(r),a},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var t=this.reader.readData(this.zipCommentLength),e=o.uint8array?"uint8array":"array",r=s.transformTo(e,t);this.zipComment=this.loadOptions.decodeFileName(r)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var t,e,r,a=this.zip64EndOfCentralSize-44;0<a;)t=this.reader.readInt(2),e=this.reader.readInt(4),r=this.reader.readData(e),this.zip64ExtensibleData[t]={id:t,length:e,value:r}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var t,e;for(t=0;t<this.files.length;t++)e=this.files[t],this.reader.setIndex(e.localHeaderOffset),this.checkSignature(n.LOCAL_FILE_HEADER),e.readLocalPart(this.reader),e.handleUTF8(),e.processAttributes()},readCentralDir:function(){var t;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(n.CENTRAL_FILE_HEADER);)(t=new i({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(t);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var t=this.reader.lastIndexOfSignature(n.CENTRAL_DIRECTORY_END);if(t<0)throw this.isSignature(0,n.LOCAL_FILE_HEADER)?Error("Corrupted zip: can't find end of central directory"):Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(t);var e=t;if(this.checkSignature(n.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===s.MAX_VALUE_16BITS||this.diskWithCentralDirStart===s.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===s.MAX_VALUE_16BITS||this.centralDirRecords===s.MAX_VALUE_16BITS||this.centralDirSize===s.MAX_VALUE_32BITS||this.centralDirOffset===s.MAX_VALUE_32BITS){if(this.zip64=!0,(t=this.reader.lastIndexOfSignature(n.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(t),this.checkSignature(n.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,n.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(n.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(n.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var r=this.centralDirOffset+this.centralDirSize;this.zip64&&(r+=20,r+=12+this.zip64EndOfCentralSize);var a=e-r;if(0<a)this.isSignature(e,n.CENTRAL_FILE_HEADER)||(this.reader.zero=a);else if(a<0)throw Error("Corrupted zip: missing "+Math.abs(a)+" bytes.")},prepareReader:function(t){this.reader=a(t)},load:function(t){this.prepareReader(t),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},e.exports=l},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(t,e,r){"use strict";var a=t("./reader/readerFor"),s=t("./utils"),n=t("./compressedObject"),i=t("./crc32"),o=t("./utf8"),l=t("./compressions"),h=t("./support");function u(t,e){this.options=t,this.loadOptions=e}u.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},readLocalPart:function(t){var e,r;if(t.skip(22),this.fileNameLength=t.readInt(2),r=t.readInt(2),this.fileName=t.readData(this.fileNameLength),t.skip(r),-1===this.compressedSize||-1===this.uncompressedSize)throw Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(e=function(t){for(var e in l)if(Object.prototype.hasOwnProperty.call(l,e)&&l[e].magic===t)return l[e];return null}(this.compressionMethod)))throw Error("Corrupted zip : compression "+s.pretty(this.compressionMethod)+" unknown (inner file : "+s.transformTo("string",this.fileName)+")");this.decompressed=new n(this.compressedSize,this.uncompressedSize,this.crc32,e,t.readData(this.compressedSize))},readCentralPart:function(t){this.versionMadeBy=t.readInt(2),t.skip(2),this.bitFlag=t.readInt(2),this.compressionMethod=t.readString(2),this.date=t.readDate(),this.crc32=t.readInt(4),this.compressedSize=t.readInt(4),this.uncompressedSize=t.readInt(4);var e=t.readInt(2);if(this.extraFieldsLength=t.readInt(2),this.fileCommentLength=t.readInt(2),this.diskNumberStart=t.readInt(2),this.internalFileAttributes=t.readInt(2),this.externalFileAttributes=t.readInt(4),this.localHeaderOffset=t.readInt(4),this.isEncrypted())throw Error("Encrypted zip are not supported");t.skip(e),this.readExtraFields(t),this.parseZIP64ExtraField(t),this.fileComment=t.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var t=this.versionMadeBy>>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(){if(this.extraFields[1]){var t=a(this.extraFields[1].value);this.uncompressedSize===s.MAX_VALUE_32BITS&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===s.MAX_VALUE_32BITS&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===s.MAX_VALUE_32BITS&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===s.MAX_VALUE_32BITS&&(this.diskNumberStart=t.readInt(4))}},readExtraFields:function(t){var e,r,a,s=t.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});t.index+4<s;)e=t.readInt(2),r=t.readInt(2),a=t.readData(r),this.extraFields[e]={id:e,length:r,value:a};t.setIndex(s)},handleUTF8:function(){var t=h.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=o.utf8decode(this.fileName),this.fileCommentStr=o.utf8decode(this.fileComment);else{var e=this.findExtraFieldUnicodePath();if(null!==e)this.fileNameStr=e;else{var r=s.transformTo(t,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(r)}var a=this.findExtraFieldUnicodeComment();if(null!==a)this.fileCommentStr=a;else{var n=s.transformTo(t,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(n)}}},findExtraFieldUnicodePath:function(){var t=this.extraFields[28789];if(t){var e=a(t.value);return 1!==e.readInt(1)||i(this.fileName)!==e.readInt(4)?null:o.utf8decode(e.readData(t.length-5))}return null},findExtraFieldUnicodeComment:function(){var t=this.extraFields[25461];if(t){var e=a(t.value);return 1!==e.readInt(1)||i(this.fileComment)!==e.readInt(4)?null:o.utf8decode(e.readData(t.length-5))}return null}},e.exports=u},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(t,e,r){"use strict";function a(t,e,r){this.name=t,this.dir=r.dir,this.date=r.date,this.comment=r.comment,this.unixPermissions=r.unixPermissions,this.dosPermissions=r.dosPermissions,this._data=e,this._dataBinary=r.binary,this.options={compression:r.compression,compressionOptions:r.compressionOptions}}var s=t("./stream/StreamHelper"),n=t("./stream/DataWorker"),i=t("./utf8"),o=t("./compressedObject"),l=t("./stream/GenericWorker");a.prototype={internalStream:function(t){var e=null,r="string";try{if(!t)throw Error("No output type specified.");var a="string"===(r=t.toLowerCase())||"text"===r;"binarystring"!==r&&"text"!==r||(r="string"),e=this._decompressWorker();var n=!this._dataBinary;n&&!a&&(e=e.pipe(new i.Utf8EncodeWorker)),!n&&a&&(e=e.pipe(new i.Utf8DecodeWorker))}catch(t){(e=new l("error")).error(t)}return new s(e,r,"")},async:function(t,e){return this.internalStream(t).accumulate(e)},nodeStream:function(t,e){return this.internalStream(t||"nodebuffer").toNodejsStream(e)},_compressWorker:function(t,e){if(this._data instanceof o&&this._data.compression.magic===t.magic)return this._data.getCompressedWorker();var r=this._decompressWorker();return this._dataBinary||(r=r.pipe(new i.Utf8EncodeWorker)),o.createWorkerFrom(r,t,e)},_decompressWorker:function(){return this._data instanceof o?this._data.getContentWorker():this._data instanceof l?this._data:new n(this._data)}};for(var h=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],u=function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},c=0;c<h.length;c++)a.prototype[h[c]]=u;e.exports=a},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(t,e,a){(function(t){"use strict";var r,a,s=t.MutationObserver||t.WebKitMutationObserver;if(s){var n=0,i=new s(u),o=t.document.createTextNode("");i.observe(o,{characterData:!0}),r=function(){o.data=n=++n%2}}else if(t.setImmediate||void 0===t.MessageChannel)r="document"in t&&"onreadystatechange"in t.document.createElement("script")?function(){var e=t.document.createElement("script");e.onreadystatechange=function(){u(),e.onreadystatechange=null,e.parentNode.removeChild(e),e=null},t.document.documentElement.appendChild(e)}:function(){setTimeout(u,0)};else{var l=new t.MessageChannel;l.port1.onmessage=u,r=function(){l.port2.postMessage(0)}}var h=[];function u(){var t,e;a=!0;for(var r=h.length;r;){for(e=h,h=[],t=-1;++t<r;)e[t]();r=h.length}a=!1}e.exports=function(t){1!==h.push(t)||a||r()}}).call(this,void 0!==r.g?r.g:"u">typeof self?self:"u">typeof window?window:{})},{}],37:[function(t,e,r){"use strict";var a=t("immediate");function s(){}var n={},i=["REJECTED"],o=["FULFILLED"],l=["PENDING"];function h(t){if("function"!=typeof t)throw TypeError("resolver must be a function");this.state=l,this.queue=[],this.outcome=void 0,t!==s&&d(this,t)}function u(t,e,r){this.promise=t,"function"==typeof e&&(this.onFulfilled=e,this.callFulfilled=this.otherCallFulfilled),"function"==typeof r&&(this.onRejected=r,this.callRejected=this.otherCallRejected)}function c(t,e,r){a(function(){var a;try{a=e(r)}catch(e){return n.reject(t,e)}a===t?n.reject(t,TypeError("Cannot resolve promise with itself")):n.resolve(t,a)})}function f(t){var e=t&&t.then;if(t&&("object"==typeof t||"function"==typeof t)&&"function"==typeof e)return function(){e.apply(t,arguments)}}function d(t,e){var r=!1;function a(e){r||(r=!0,n.reject(t,e))}function s(e){r||(r=!0,n.resolve(t,e))}var i=m(function(){e(s,a)});"error"===i.status&&a(i.value)}function m(t,e){var r={};try{r.value=t(e),r.status="success"}catch(t){r.status="error",r.value=t}return r}(e.exports=h).prototype.finally=function(t){if("function"!=typeof t)return this;var e=this.constructor;return this.then(function(r){return e.resolve(t()).then(function(){return r})},function(r){return e.resolve(t()).then(function(){throw r})})},h.prototype.catch=function(t){return this.then(null,t)},h.prototype.then=function(t,e){if("function"!=typeof t&&this.state===o||"function"!=typeof e&&this.state===i)return this;var r=new this.constructor(s);return this.state!==l?c(r,this.state===o?t:e,this.outcome):this.queue.push(new u(r,t,e)),r},u.prototype.callFulfilled=function(t){n.resolve(this.promise,t)},u.prototype.otherCallFulfilled=function(t){c(this.promise,this.onFulfilled,t)},u.prototype.callRejected=function(t){n.reject(this.promise,t)},u.prototype.otherCallRejected=function(t){c(this.promise,this.onRejected,t)},n.resolve=function(t,e){var r=m(f,e);if("error"===r.status)return n.reject(t,r.value);var a=r.value;if(a)d(t,a);else{t.state=o,t.outcome=e;for(var s=-1,i=t.queue.length;++s<i;)t.queue[s].callFulfilled(e)}return t},n.reject=function(t,e){t.state=i,t.outcome=e;for(var r=-1,a=t.queue.length;++r<a;)t.queue[r].callRejected(e);return t},h.resolve=function(t){return t instanceof this?t:n.resolve(new this(s),t)},h.reject=function(t){var e=new this(s);return n.reject(e,t)},h.all=function(t){var e=this;if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(TypeError("must be an array"));var r=t.length,a=!1;if(!r)return this.resolve([]);for(var i=Array(r),o=0,l=-1,h=new this(s);++l<r;)!function(t,s){e.resolve(t).then(function(t){i[s]=t,++o!==r||a||(a=!0,n.resolve(h,i))},function(t){a||(a=!0,n.reject(h,t))})}(t[l],l);return h},h.race=function(t){if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(TypeError("must be an array"));var e,r=t.length,a=!1;if(!r)return this.resolve([]);for(var i=-1,o=new this(s);++i<r;)e=t[i],this.resolve(e).then(function(t){a||(a=!0,n.resolve(o,t))},function(t){a||(a=!0,n.reject(o,t))});return o}},{immediate:36}],38:[function(t,e,r){"use strict";var a={};(0,t("./lib/utils/common").assign)(a,t("./lib/deflate"),t("./lib/inflate"),t("./lib/zlib/constants")),e.exports=a},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(t,e,r){"use strict";var a=t("./zlib/deflate"),s=t("./utils/common"),n=t("./utils/strings"),i=t("./zlib/messages"),o=t("./zlib/zstream"),l=Object.prototype.toString;function h(t){if(!(this instanceof h))return new h(t);this.options=s.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},t||{});var e,r=this.options;r.raw&&0<r.windowBits?r.windowBits=-r.windowBits:r.gzip&&0<r.windowBits&&r.windowBits<16&&(r.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new o,this.strm.avail_out=0;var u=a.deflateInit2(this.strm,r.level,r.method,r.windowBits,r.memLevel,r.strategy);if(0!==u)throw Error(i[u]);if(r.header&&a.deflateSetHeader(this.strm,r.header),r.dictionary){if(e="string"==typeof r.dictionary?n.string2buf(r.dictionary):"[object ArrayBuffer]"===l.call(r.dictionary)?new Uint8Array(r.dictionary):r.dictionary,0!==(u=a.deflateSetDictionary(this.strm,e)))throw Error(i[u]);this._dict_set=!0}}function u(t,e){var r=new h(e);if(r.push(t,!0),r.err)throw r.msg||i[r.err];return r.result}h.prototype.push=function(t,e){var r,i,o=this.strm,h=this.options.chunkSize;if(this.ended)return!1;i=e===~~e?e:4*(!0===e),"string"==typeof t?o.input=n.string2buf(t):"[object ArrayBuffer]"===l.call(t)?o.input=new Uint8Array(t):o.input=t,o.next_in=0,o.avail_in=o.input.length;do{if(0===o.avail_out&&(o.output=new s.Buf8(h),o.next_out=0,o.avail_out=h),1!==(r=a.deflate(o,i))&&0!==r)return this.onEnd(r),this.ended=!0,!1;0!==o.avail_out&&(0!==o.avail_in||4!==i&&2!==i)||("string"===this.options.to?this.onData(n.buf2binstring(s.shrinkBuf(o.output,o.next_out))):this.onData(s.shrinkBuf(o.output,o.next_out)))}while((0<o.avail_in||0===o.avail_out)&&1!==r)return 4===i?(r=a.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,0===r):2!==i||(this.onEnd(0),o.avail_out=0,!0)},h.prototype.onData=function(t){this.chunks.push(t)},h.prototype.onEnd=function(t){0===t&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=s.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},r.Deflate=h,r.deflate=u,r.deflateRaw=function(t,e){return(e=e||{}).raw=!0,u(t,e)},r.gzip=function(t,e){return(e=e||{}).gzip=!0,u(t,e)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(t,e,r){"use strict";var a=t("./zlib/inflate"),s=t("./utils/common"),n=t("./utils/strings"),i=t("./zlib/constants"),o=t("./zlib/messages"),l=t("./zlib/zstream"),h=t("./zlib/gzheader"),u=Object.prototype.toString;function c(t){if(!(this instanceof c))return new c(t);this.options=s.assign({chunkSize:16384,windowBits:0,to:""},t||{});var e=this.options;e.raw&&0<=e.windowBits&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(0<=e.windowBits&&e.windowBits<16)||t&&t.windowBits||(e.windowBits+=32),15<e.windowBits&&e.windowBits<48&&0==(15&e.windowBits)&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0;var r=a.inflateInit2(this.strm,e.windowBits);if(r!==i.Z_OK)throw Error(o[r]);this.header=new h,a.inflateGetHeader(this.strm,this.header)}function f(t,e){var r=new c(e);if(r.push(t,!0),r.err)throw r.msg||o[r.err];return r.result}c.prototype.push=function(t,e){var r,o,l,h,c,f,d=this.strm,m=this.options.chunkSize,p=this.options.dictionary,$=!1;if(this.ended)return!1;o=e===~~e?e:!0===e?i.Z_FINISH:i.Z_NO_FLUSH,"string"==typeof t?d.input=n.binstring2buf(t):"[object ArrayBuffer]"===u.call(t)?d.input=new Uint8Array(t):d.input=t,d.next_in=0,d.avail_in=d.input.length;do{if(0===d.avail_out&&(d.output=new s.Buf8(m),d.next_out=0,d.avail_out=m),(r=a.inflate(d,i.Z_NO_FLUSH))===i.Z_NEED_DICT&&p&&(f="string"==typeof p?n.string2buf(p):"[object ArrayBuffer]"===u.call(p)?new Uint8Array(p):p,r=a.inflateSetDictionary(this.strm,f)),r===i.Z_BUF_ERROR&&!0===$&&(r=i.Z_OK,$=!1),r!==i.Z_STREAM_END&&r!==i.Z_OK)return this.onEnd(r),this.ended=!0,!1;d.next_out&&(0!==d.avail_out&&r!==i.Z_STREAM_END&&(0!==d.avail_in||o!==i.Z_FINISH&&o!==i.Z_SYNC_FLUSH)||("string"===this.options.to?(l=n.utf8border(d.output,d.next_out),h=d.next_out-l,c=n.buf2string(d.output,l),d.next_out=h,d.avail_out=m-h,h&&s.arraySet(d.output,d.output,l,h,0),this.onData(c)):this.onData(s.shrinkBuf(d.output,d.next_out)))),0===d.avail_in&&0===d.avail_out&&($=!0)}while((0<d.avail_in||0===d.avail_out)&&r!==i.Z_STREAM_END)return r===i.Z_STREAM_END&&(o=i.Z_FINISH),o===i.Z_FINISH?(r=a.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===i.Z_OK):o!==i.Z_SYNC_FLUSH||(this.onEnd(i.Z_OK),d.avail_out=0,!0)},c.prototype.onData=function(t){this.chunks.push(t)},c.prototype.onEnd=function(t){t===i.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=s.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},r.Inflate=c,r.inflate=f,r.inflateRaw=function(t,e){return(e=e||{}).raw=!0,f(t,e)},r.ungzip=f},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(t,e,r){"use strict";var a="u">typeof Uint8Array&&"u">typeof Uint16Array&&"u">typeof Int32Array;r.assign=function(t){for(var e=Array.prototype.slice.call(arguments,1);e.length;){var r=e.shift();if(r){if("object"!=typeof r)throw TypeError(r+"must be non-object");for(var a in r)r.hasOwnProperty(a)&&(t[a]=r[a])}}return t},r.shrinkBuf=function(t,e){return t.length===e?t:t.subarray?t.subarray(0,e):(t.length=e,t)};var s={arraySet:function(t,e,r,a,s){if(e.subarray&&t.subarray)t.set(e.subarray(r,r+a),s);else for(var n=0;n<a;n++)t[s+n]=e[r+n]},flattenChunks:function(t){var e,r,a,s,n,i;for(e=a=0,r=t.length;e<r;e++)a+=t[e].length;for(i=new Uint8Array(a),e=s=0,r=t.length;e<r;e++)n=t[e],i.set(n,s),s+=n.length;return i}},n={arraySet:function(t,e,r,a,s){for(var n=0;n<a;n++)t[s+n]=e[r+n]},flattenChunks:function(t){return[].concat.apply([],t)}};r.setTyped=function(t){t?(r.Buf8=Uint8Array,r.Buf16=Uint16Array,r.Buf32=Int32Array,r.assign(r,s)):(r.Buf8=Array,r.Buf16=Array,r.Buf32=Array,r.assign(r,n))},r.setTyped(a)},{}],42:[function(t,e,r){"use strict";var a=t("./common"),s=!0,n=!0;try{String.fromCharCode.apply(null,[0])}catch(t){s=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){n=!1}for(var i=new a.Buf8(256),o=0;o<256;o++)i[o]=252<=o?6:248<=o?5:240<=o?4:224<=o?3:192<=o?2:1;function l(t,e){if(e<65537&&(t.subarray&&n||!t.subarray&&s))return String.fromCharCode.apply(null,a.shrinkBuf(t,e));for(var r="",i=0;i<e;i++)r+=String.fromCharCode(t[i]);return r}i[254]=i[254]=1,r.string2buf=function(t){var e,r,s,n,i,o=t.length,l=0;for(n=0;n<o;n++)55296==(64512&(r=t.charCodeAt(n)))&&n+1<o&&56320==(64512&(s=t.charCodeAt(n+1)))&&(r=65536+(r-55296<<10)+(s-56320),n++),l+=r<128?1:r<2048?2:r<65536?3:4;for(e=new a.Buf8(l),n=i=0;i<l;n++)55296==(64512&(r=t.charCodeAt(n)))&&n+1<o&&56320==(64512&(s=t.charCodeAt(n+1)))&&(r=65536+(r-55296<<10)+(s-56320),n++),r<128?e[i++]=r:(r<2048?e[i++]=192|r>>>6:(r<65536?e[i++]=224|r>>>12:(e[i++]=240|r>>>18,e[i++]=128|r>>>12&63),e[i++]=128|r>>>6&63),e[i++]=128|63&r);return e},r.buf2binstring=function(t){return l(t,t.length)},r.binstring2buf=function(t){for(var e=new a.Buf8(t.length),r=0,s=e.length;r<s;r++)e[r]=t.charCodeAt(r);return e},r.buf2string=function(t,e){var r,a,s,n,o=e||t.length,h=Array(2*o);for(r=a=0;r<o;)if((s=t[r++])<128)h[a++]=s;else if(4<(n=i[s]))h[a++]=65533,r+=n-1;else{for(s&=2===n?31:3===n?15:7;1<n&&r<o;)s=s<<6|63&t[r++],n--;1<n?h[a++]=65533:s<65536?h[a++]=s:(s-=65536,h[a++]=55296|s>>10&1023,h[a++]=56320|1023&s)}return l(h,a)},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||0===r?e:r+i[t[r]]>e?r:e}},{"./common":41}],43:[function(t,e,r){"use strict";e.exports=function(t,e,r,a){for(var s=65535&t,n=t>>>16&65535,i=0;0!==r;){for(r-=i=2e3<r?2e3:r;n=n+(s=s+e[a++]|0)|0,--i;);s%=65521,n%=65521}return s|n<<16}},{}],44:[function(t,e,r){"use strict";e.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(t,e,r){"use strict";var a=function(){for(var t,e=[],r=0;r<256;r++){t=r;for(var a=0;a<8;a++)t=1&t?0xedb88320^t>>>1:t>>>1;e[r]=t}return e}();e.exports=function(t,e,r,s){var n=s+r;t^=-1;for(var i=s;i<n;i++)t=t>>>8^a[255&(t^e[i])];return -1^t}},{}],46:[function(t,e,r){"use strict";var a,s=t("../utils/common"),n=t("./trees"),i=t("./adler32"),o=t("./crc32"),l=t("./messages");function h(t,e){return t.msg=l[e],e}function u(t){return(t<<1)-9*(4<t)}function c(t){for(var e=t.length;0<=--e;)t[e]=0}function f(t){var e=t.state,r=e.pending;r>t.avail_out&&(r=t.avail_out),0!==r&&(s.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 d(t,e){n._tr_flush_block(t,0<=t.block_start?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,f(t.strm)}function m(t,e){t.pending_buf[t.pending++]=e}function p(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function $(t,e){var r,a,s=t.max_chain_length,n=t.strstart,i=t.prev_length,o=t.nice_match,l=t.strstart>t.w_size-262?t.strstart-(t.w_size-262):0,h=t.window,u=t.w_mask,c=t.prev,f=t.strstart+258,d=h[n+i-1],m=h[n+i];t.prev_length>=t.good_match&&(s>>=2),o>t.lookahead&&(o=t.lookahead);do if(h[(r=e)+i]===m&&h[r+i-1]===d&&h[r]===h[n]&&h[++r]===h[n+1]){n+=2,r++;do;while(h[++n]===h[++r]&&h[++n]===h[++r]&&h[++n]===h[++r]&&h[++n]===h[++r]&&h[++n]===h[++r]&&h[++n]===h[++r]&&h[++n]===h[++r]&&h[++n]===h[++r]&&n<f)if(a=258-(f-n),n=f-258,i<a){if(t.match_start=e,o<=(i=a))break;d=h[n+i-1],m=h[n+i]}}while((e=c[e&u])>l&&0!=--s)return i<=t.lookahead?i:t.lookahead}function b(t){var e,r,a,n,l,h,u,c,f,d,m=t.w_size;do{if(n=t.window_size-t.lookahead-t.strstart,t.strstart>=m+(m-262)){for(s.arraySet(t.window,t.window,m,m,0),t.match_start-=m,t.strstart-=m,t.block_start-=m,e=r=t.hash_size;a=t.head[--e],t.head[e]=m<=a?a-m:0,--r;);for(e=r=m;a=t.prev[--e],t.prev[e]=m<=a?a-m:0,--r;);n+=m}if(0===t.strm.avail_in)break;if(h=t.strm,u=t.window,c=t.strstart+t.lookahead,d=void 0,(f=n)<(d=h.avail_in)&&(d=f),r=0===d?0:(h.avail_in-=d,s.arraySet(u,h.input,h.next_in,d,c),1===h.state.wrap?h.adler=i(h.adler,u,d,c):2===h.state.wrap&&(h.adler=o(h.adler,u,d,c)),h.next_in+=d,h.total_in+=d,d),t.lookahead+=r,t.lookahead+t.insert>=3)for(l=t.strstart-t.insert,t.ins_h=t.window[l],t.ins_h=(t.ins_h<<t.hash_shift^t.window[l+1])&t.hash_mask;t.insert&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[l+3-1])&t.hash_mask,t.prev[l&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=l,l++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<262&&0!==t.strm.avail_in)}function g(t,e){for(var r,a;;){if(t.lookahead<262){if(b(t),t.lookahead<262&&0===e)return 1;if(0===t.lookahead)break}if(r=0,t.lookahead>=3&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==r&&t.strstart-r<=t.w_size-262&&(t.match_length=$(t,r)),t.match_length>=3)if(a=n._tr_tally(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){for(t.match_length--;t.strstart++,t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart,0!=--t.match_length;);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+1])&t.hash_mask;else a=n._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(a&&(d(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,4===e?(d(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(d(t,!1),0===t.strm.avail_out)?1:2}function L(t,e){for(var r,a,s;;){if(t.lookahead<262){if(b(t),t.lookahead<262&&0===e)return 1;if(0===t.lookahead)break}if(r=0,t.lookahead>=3&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==r&&t.prev_length<t.max_lazy_match&&t.strstart-r<=t.w_size-262&&(t.match_length=$(t,r),t.match_length<=5&&(1===t.strategy||3===t.match_length&&4096<t.strstart-t.match_start)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){for(s=t.strstart+t.lookahead-3,a=n._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;++t.strstart<=s&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!=--t.prev_length;);if(t.match_available=0,t.match_length=2,t.strstart++,a&&(d(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((a=n._tr_tally(t,0,t.window[t.strstart-1]))&&d(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(a=n._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,4===e?(d(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(d(t,!1),0===t.strm.avail_out)?1:2}function y(t,e,r,a,s){this.good_length=t,this.max_lazy=e,this.nice_length=r,this.max_chain=a,this.func=s}function v(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new s.Buf16(1146),this.dyn_dtree=new s.Buf16(122),this.bl_tree=new s.Buf16(78),c(this.dyn_ltree),c(this.dyn_dtree),c(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new s.Buf16(16),this.heap=new s.Buf16(573),c(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new s.Buf16(573),c(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function M(t){var e;return t&&t.state?(t.total_in=t.total_out=0,t.data_type=2,(e=t.state).pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?42:113,t.adler=+(2!==e.wrap),e.last_flush=0,n._tr_init(e),0):h(t,-2)}function w(t){var e,r=M(t);return 0===r&&((e=t.state).window_size=2*e.w_size,c(e.head),e.max_lazy_match=a[e.level].max_lazy,e.good_match=a[e.level].good_length,e.nice_match=a[e.level].nice_length,e.max_chain_length=a[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=2,e.match_available=0,e.ins_h=0),r}function _(t,e,r,a,n,i){if(!t)return -2;var o=1;if(-1===e&&(e=6),a<0?(o=0,a=-a):15<a&&(o=2,a-=16),n<1||9<n||8!==r||a<8||15<a||e<0||9<e||i<0||4<i)return h(t,-2);8===a&&(a=9);var l=new v;return(t.state=l).strm=t,l.wrap=o,l.gzhead=null,l.w_bits=a,l.w_size=1<<l.w_bits,l.w_mask=l.w_size-1,l.hash_bits=n+7,l.hash_size=1<<l.hash_bits,l.hash_mask=l.hash_size-1,l.hash_shift=~~((l.hash_bits+3-1)/3),l.window=new s.Buf8(2*l.w_size),l.head=new s.Buf16(l.hash_size),l.prev=new s.Buf16(l.w_size),l.lit_bufsize=1<<n+6,l.pending_buf_size=4*l.lit_bufsize,l.pending_buf=new s.Buf8(l.pending_buf_size),l.d_buf=+l.lit_bufsize,l.l_buf=3*l.lit_bufsize,l.level=e,l.strategy=i,l.method=r,w(t)}a=[new y(0,0,0,0,function(t,e){var r=65535;for(65535>t.pending_buf_size-5&&(r=t.pending_buf_size-5);;){if(t.lookahead<=1){if(b(t),0===t.lookahead&&0===e)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var a=t.block_start+r;if((0===t.strstart||t.strstart>=a)&&(t.lookahead=t.strstart-a,t.strstart=a,d(t,!1),0===t.strm.avail_out)||t.strstart-t.block_start>=t.w_size-262&&(d(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(d(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(d(t,!1),t.strm.avail_out),1)}),new y(4,4,8,4,g),new y(4,5,16,8,g),new y(4,6,32,32,g),new y(4,4,16,16,L),new y(8,16,32,32,L),new y(8,16,128,128,L),new y(8,32,128,256,L),new y(32,128,258,1024,L),new y(32,258,258,4096,L)],r.deflateInit=function(t,e){return _(t,e,8,15,8,0)},r.deflateInit2=_,r.deflateReset=w,r.deflateResetKeep=M,r.deflateSetHeader=function(t,e){return t&&t.state?2!==t.state.wrap?-2:(t.state.gzhead=e,0):-2},r.deflate=function(t,e){var r,s,i,l;if(!t||!t.state||5<e||e<0)return t?h(t,-2):-2;if(s=t.state,!t.output||!t.input&&0!==t.avail_in||666===s.status&&4!==e)return h(t,0===t.avail_out?-5:-2);if(s.strm=t,r=s.last_flush,s.last_flush=e,42===s.status)if(2===s.wrap)t.adler=0,m(s,31),m(s,139),m(s,8),s.gzhead?(m(s,+!!s.gzhead.text+2*!!s.gzhead.hcrc+4*!!s.gzhead.extra+8*!!s.gzhead.name+16*!!s.gzhead.comment),m(s,255&s.gzhead.time),m(s,s.gzhead.time>>8&255),m(s,s.gzhead.time>>16&255),m(s,s.gzhead.time>>24&255),m(s,9===s.level?2:4*(2<=s.strategy||s.level<2)),m(s,255&s.gzhead.os),s.gzhead.extra&&s.gzhead.extra.length&&(m(s,255&s.gzhead.extra.length),m(s,s.gzhead.extra.length>>8&255)),s.gzhead.hcrc&&(t.adler=o(t.adler,s.pending_buf,s.pending,0)),s.gzindex=0,s.status=69):(m(s,0),m(s,0),m(s,0),m(s,0),m(s,0),m(s,9===s.level?2:4*(2<=s.strategy||s.level<2)),m(s,3),s.status=113);else{var $=8+(s.w_bits-8<<4)<<8;$|=(2<=s.strategy||s.level<2?0:s.level<6?1:6===s.level?2:3)<<6,0!==s.strstart&&($|=32),$+=31-$%31,s.status=113,p(s,$),0!==s.strstart&&(p(s,t.adler>>>16),p(s,65535&t.adler)),t.adler=1}if(69===s.status)if(s.gzhead.extra){for(i=s.pending;s.gzindex<(65535&s.gzhead.extra.length)&&(s.pending!==s.pending_buf_size||(s.gzhead.hcrc&&s.pending>i&&(t.adler=o(t.adler,s.pending_buf,s.pending-i,i)),f(t),i=s.pending,s.pending!==s.pending_buf_size));)m(s,255&s.gzhead.extra[s.gzindex]),s.gzindex++;s.gzhead.hcrc&&s.pending>i&&(t.adler=o(t.adler,s.pending_buf,s.pending-i,i)),s.gzindex===s.gzhead.extra.length&&(s.gzindex=0,s.status=73)}else s.status=73;if(73===s.status)if(s.gzhead.name){i=s.pending;do{if(s.pending===s.pending_buf_size&&(s.gzhead.hcrc&&s.pending>i&&(t.adler=o(t.adler,s.pending_buf,s.pending-i,i)),f(t),i=s.pending,s.pending===s.pending_buf_size)){l=1;break}l=s.gzindex<s.gzhead.name.length?255&s.gzhead.name.charCodeAt(s.gzindex++):0,m(s,l)}while(0!==l)s.gzhead.hcrc&&s.pending>i&&(t.adler=o(t.adler,s.pending_buf,s.pending-i,i)),0===l&&(s.gzindex=0,s.status=91)}else s.status=91;if(91===s.status)if(s.gzhead.comment){i=s.pending;do{if(s.pending===s.pending_buf_size&&(s.gzhead.hcrc&&s.pending>i&&(t.adler=o(t.adler,s.pending_buf,s.pending-i,i)),f(t),i=s.pending,s.pending===s.pending_buf_size)){l=1;break}l=s.gzindex<s.gzhead.comment.length?255&s.gzhead.comment.charCodeAt(s.gzindex++):0,m(s,l)}while(0!==l)s.gzhead.hcrc&&s.pending>i&&(t.adler=o(t.adler,s.pending_buf,s.pending-i,i)),0===l&&(s.status=103)}else s.status=103;if(103===s.status&&(s.gzhead.hcrc?(s.pending+2>s.pending_buf_size&&f(t),s.pending+2<=s.pending_buf_size&&(m(s,255&t.adler),m(s,t.adler>>8&255),t.adler=0,s.status=113)):s.status=113),0!==s.pending){if(f(t),0===t.avail_out)return s.last_flush=-1,0}else if(0===t.avail_in&&u(e)<=u(r)&&4!==e)return h(t,-5);if(666===s.status&&0!==t.avail_in)return h(t,-5);if(0!==t.avail_in||0!==s.lookahead||0!==e&&666!==s.status){var g=2===s.strategy?function(t,e){for(var r;;){if(0===t.lookahead&&(b(t),0===t.lookahead)){if(0===e)return 1;break}if(t.match_length=0,r=n._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,r&&(d(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(d(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(d(t,!1),0===t.strm.avail_out)?1:2}(s,e):3===s.strategy?function(t,e){for(var r,a,s,i,o=t.window;;){if(t.lookahead<=258){if(b(t),t.lookahead<=258&&0===e)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&0<t.strstart&&(a=o[s=t.strstart-1])===o[++s]&&a===o[++s]&&a===o[++s]){i=t.strstart+258;do;while(a===o[++s]&&a===o[++s]&&a===o[++s]&&a===o[++s]&&a===o[++s]&&a===o[++s]&&a===o[++s]&&a===o[++s]&&s<i)t.match_length=258-(i-s),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(r=n._tr_tally(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(r=n._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),r&&(d(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(d(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(d(t,!1),0===t.strm.avail_out)?1:2}(s,e):a[s.level].func(s,e);if(3!==g&&4!==g||(s.status=666),1===g||3===g)return 0===t.avail_out&&(s.last_flush=-1),0;if(2===g&&(1===e?n._tr_align(s):5!==e&&(n._tr_stored_block(s,0,0,!1),3===e&&(c(s.head),0===s.lookahead&&(s.strstart=0,s.block_start=0,s.insert=0))),f(t),0===t.avail_out))return s.last_flush=-1,0}return 4!==e?0:s.wrap<=0?1:(2===s.wrap?(m(s,255&t.adler),m(s,t.adler>>8&255),m(s,t.adler>>16&255),m(s,t.adler>>24&255),m(s,255&t.total_in),m(s,t.total_in>>8&255),m(s,t.total_in>>16&255),m(s,t.total_in>>24&255)):(p(s,t.adler>>>16),p(s,65535&t.adler)),f(t),0<s.wrap&&(s.wrap=-s.wrap),+(0===s.pending))},r.deflateEnd=function(t){var e;return t&&t.state?42!==(e=t.state.status)&&69!==e&&73!==e&&91!==e&&103!==e&&113!==e&&666!==e?h(t,-2):(t.state=null,113===e?h(t,-3):0):-2},r.deflateSetDictionary=function(t,e){var r,a,n,o,l,h,u,f,d=e.length;if(!t||!t.state||2===(o=(r=t.state).wrap)||1===o&&42!==r.status||r.lookahead)return -2;for(1===o&&(t.adler=i(t.adler,e,d,0)),r.wrap=0,d>=r.w_size&&(0===o&&(c(r.head),r.strstart=0,r.block_start=0,r.insert=0),f=new s.Buf8(r.w_size),s.arraySet(f,e,d-r.w_size,r.w_size,0),e=f,d=r.w_size),l=t.avail_in,h=t.next_in,u=t.input,t.avail_in=d,t.next_in=0,t.input=e,b(r);r.lookahead>=3;){for(a=r.strstart,n=r.lookahead-2;r.ins_h=(r.ins_h<<r.hash_shift^r.window[a+3-1])&r.hash_mask,r.prev[a&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=a,a++,--n;);r.strstart=a,r.lookahead=2,b(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=2,r.match_available=0,t.next_in=h,t.input=u,t.avail_in=l,r.wrap=o,0},r.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(t,e,r){"use strict";e.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(t,e,r){"use strict";e.exports=function(t,e){var r,a,s,n,i,o,l,h,u,c,f,d,m,p,$,b,g,L,y,v,M,w,_,k,x;r=t.state,a=t.next_in,k=t.input,s=a+(t.avail_in-5),n=t.next_out,x=t.output,i=n-(e-t.avail_out),o=n+(t.avail_out-257),l=r.dmax,h=r.wsize,u=r.whave,c=r.wnext,f=r.window,d=r.hold,m=r.bits,p=r.lencode,$=r.distcode,b=(1<<r.lenbits)-1,g=(1<<r.distbits)-1;t:do for(m<15&&(d+=k[a++]<<m,m+=8,d+=k[a++]<<m,m+=8),L=p[d&b];;){if(d>>>=y=L>>>24,m-=y,0==(y=L>>>16&255))x[n++]=65535&L;else{if(!(16&y)){if(0==(64&y)){L=p[(65535&L)+(d&(1<<y)-1)];continue}if(32&y){r.mode=12;break t}t.msg="invalid literal/length code",r.mode=30;break t}for(v=65535&L,(y&=15)&&(m<y&&(d+=k[a++]<<m,m+=8),v+=d&(1<<y)-1,d>>>=y,m-=y),m<15&&(d+=k[a++]<<m,m+=8,d+=k[a++]<<m,m+=8),L=$[d&g];;){if(d>>>=y=L>>>24,m-=y,!(16&(y=L>>>16&255))){if(0==(64&y)){L=$[(65535&L)+(d&(1<<y)-1)];continue}t.msg="invalid distance code",r.mode=30;break t}if(M=65535&L,m<(y&=15)&&(d+=k[a++]<<m,(m+=8)<y&&(d+=k[a++]<<m,m+=8)),l<(M+=d&(1<<y)-1)){t.msg="invalid distance too far back",r.mode=30;break t}if(d>>>=y,m-=y,(y=n-i)<M){if(u<(y=M-y)&&r.sane){t.msg="invalid distance too far back",r.mode=30;break t}if(_=f,(w=0)===c){if(w+=h-y,y<v){for(v-=y;x[n++]=f[w++],--y;);w=n-M,_=x}}else if(c<y){if(w+=h+c-y,(y-=c)<v){for(v-=y;x[n++]=f[w++],--y;);if(w=0,c<v){for(v-=y=c;x[n++]=f[w++],--y;);w=n-M,_=x}}}else if(w+=c-y,y<v){for(v-=y;x[n++]=f[w++],--y;);w=n-M,_=x}for(;2<v;)x[n++]=_[w++],x[n++]=_[w++],x[n++]=_[w++],v-=3;v&&(x[n++]=_[w++],1<v&&(x[n++]=_[w++]))}else{for(w=n-M;x[n++]=x[w++],x[n++]=x[w++],x[n++]=x[w++],2<(v-=3););v&&(x[n++]=x[w++],1<v&&(x[n++]=x[w++]))}break}}break}while(a<s&&n<o)a-=v=m>>3,d&=(1<<(m-=v<<3))-1,t.next_in=a,t.next_out=n,t.avail_in=a<s?s-a+5:5-(a-s),t.avail_out=n<o?o-n+257:257-(n-o),r.hold=d,r.bits=m}},{}],49:[function(t,e,r){"use strict";var a=t("../utils/common"),s=t("./adler32"),n=t("./crc32"),i=t("./inffast"),o=t("./inftrees");function l(t){return(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function h(){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 a.Buf16(320),this.work=new a.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function u(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=1,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new a.Buf32(852),e.distcode=e.distdyn=new a.Buf32(592),e.sane=1,e.back=-1,0):-2}function c(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,u(t)):-2}function f(t,e){var r,a;return t&&t.state?(a=t.state,e<0?(r=0,e=-e):(r=1+(e>>4),e<48&&(e&=15)),e&&(e<8||15<e)?-2:(null!==a.window&&a.wbits!==e&&(a.window=null),a.wrap=r,a.wbits=e,c(t))):-2}function d(t,e){var r;return t?((t.state=new h).window=null,0!==(r=f(t,e))&&(t.state=null),r):-2}var m,p,$=!0;function b(t,e,r,s){var n,i=t.state;return null===i.window&&(i.wsize=1<<i.wbits,i.wnext=0,i.whave=0,i.window=new a.Buf8(i.wsize)),s>=i.wsize?(a.arraySet(i.window,e,r-i.wsize,i.wsize,0),i.wnext=0,i.whave=i.wsize):(s<(n=i.wsize-i.wnext)&&(n=s),a.arraySet(i.window,e,r-s,n,i.wnext),(s-=n)?(a.arraySet(i.window,e,r-s,s,0),i.wnext=s,i.whave=i.wsize):(i.wnext+=n,i.wnext===i.wsize&&(i.wnext=0),i.whave<i.wsize&&(i.whave+=n))),0}r.inflateReset=c,r.inflateReset2=f,r.inflateResetKeep=u,r.inflateInit=function(t){return d(t,15)},r.inflateInit2=d,r.inflate=function(t,e){var r,h,u,c,f,d,g,L,y,v,M,w,_,k,x,C,S,I,A,P,R,z,T,F,O=0,B=new a.Buf8(4),E=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!t||!t.state||!t.output||!t.input&&0!==t.avail_in)return -2;12===(r=t.state).mode&&(r.mode=13),f=t.next_out,u=t.output,g=t.avail_out,c=t.next_in,h=t.input,d=t.avail_in,L=r.hold,y=r.bits,v=d,M=g,z=0;t:for(;;)switch(r.mode){case 1:if(0===r.wrap){r.mode=13;break}for(;y<16;){if(0===d)break t;d--,L+=h[c++]<<y,y+=8}if(2&r.wrap&&35615===L){B[r.check=0]=255&L,B[1]=L>>>8&255,r.check=n(r.check,B,2,0),y=L=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&L)<<8)+(L>>8))%31){t.msg="incorrect header check",r.mode=30;break}if(8!=(15&L)){t.msg="unknown compression method",r.mode=30;break}if(y-=4,R=8+(15&(L>>>=4)),0===r.wbits)r.wbits=R;else if(R>r.wbits){t.msg="invalid window size",r.mode=30;break}r.dmax=1<<R,t.adler=r.check=1,r.mode=512&L?10:12,y=L=0;break;case 2:for(;y<16;){if(0===d)break t;d--,L+=h[c++]<<y,y+=8}if(r.flags=L,8!=(255&r.flags)){t.msg="unknown compression method",r.mode=30;break}if(57344&r.flags){t.msg="unknown header flags set",r.mode=30;break}r.head&&(r.head.text=L>>8&1),512&r.flags&&(B[0]=255&L,B[1]=L>>>8&255,r.check=n(r.check,B,2,0)),y=L=0,r.mode=3;case 3:for(;y<32;){if(0===d)break t;d--,L+=h[c++]<<y,y+=8}r.head&&(r.head.time=L),512&r.flags&&(B[0]=255&L,B[1]=L>>>8&255,B[2]=L>>>16&255,B[3]=L>>>24&255,r.check=n(r.check,B,4,0)),y=L=0,r.mode=4;case 4:for(;y<16;){if(0===d)break t;d--,L+=h[c++]<<y,y+=8}r.head&&(r.head.xflags=255&L,r.head.os=L>>8),512&r.flags&&(B[0]=255&L,B[1]=L>>>8&255,r.check=n(r.check,B,2,0)),y=L=0,r.mode=5;case 5:if(1024&r.flags){for(;y<16;){if(0===d)break t;d--,L+=h[c++]<<y,y+=8}r.length=L,r.head&&(r.head.extra_len=L),512&r.flags&&(B[0]=255&L,B[1]=L>>>8&255,r.check=n(r.check,B,2,0)),y=L=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&(d<(w=r.length)&&(w=d),w&&(r.head&&(R=r.head.extra_len-r.length,r.head.extra||(r.head.extra=Array(r.head.extra_len)),a.arraySet(r.head.extra,h,c,w,R)),512&r.flags&&(r.check=n(r.check,h,w,c)),d-=w,c+=w,r.length-=w),r.length))break t;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===d)break t;for(w=0;R=h[c+w++],r.head&&R&&r.length<65536&&(r.head.name+=String.fromCharCode(R)),R&&w<d;);if(512&r.flags&&(r.check=n(r.check,h,w,c)),d-=w,c+=w,R)break t}else r.head&&(r.head.name=null);r.length=0,r.mode=8;case 8:if(4096&r.flags){if(0===d)break t;for(w=0;R=h[c+w++],r.head&&R&&r.length<65536&&(r.head.comment+=String.fromCharCode(R)),R&&w<d;);if(512&r.flags&&(r.check=n(r.check,h,w,c)),d-=w,c+=w,R)break t}else r.head&&(r.head.comment=null);r.mode=9;case 9:if(512&r.flags){for(;y<16;){if(0===d)break t;d--,L+=h[c++]<<y,y+=8}if(L!==(65535&r.check)){t.msg="header crc mismatch",r.mode=30;break}y=L=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),t.adler=r.check=0,r.mode=12;break;case 10:for(;y<32;){if(0===d)break t;d--,L+=h[c++]<<y,y+=8}t.adler=r.check=l(L),y=L=0,r.mode=11;case 11:if(0===r.havedict)return t.next_out=f,t.avail_out=g,t.next_in=c,t.avail_in=d,r.hold=L,r.bits=y,2;t.adler=r.check=1,r.mode=12;case 12:if(5===e||6===e)break t;case 13:if(r.last){L>>>=7&y,y-=7&y,r.mode=27;break}for(;y<3;){if(0===d)break t;d--,L+=h[c++]<<y,y+=8}switch(r.last=1&L,y-=1,3&(L>>>=1)){case 0:r.mode=14;break;case 1:if(function(t){if($){var e;for(m=new a.Buf32(512),p=new a.Buf32(32),e=0;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(o(1,t.lens,0,288,m,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;o(2,t.lens,0,32,p,0,t.work,{bits:5}),$=!1}t.lencode=m,t.lenbits=9,t.distcode=p,t.distbits=5}(r),r.mode=20,6!==e)break;L>>>=2,y-=2;break t;case 2:r.mode=17;break;case 3:t.msg="invalid block type",r.mode=30}L>>>=2,y-=2;break;case 14:for(L>>>=7&y,y-=7&y;y<32;){if(0===d)break t;d--,L+=h[c++]<<y,y+=8}if((65535&L)!=(L>>>16^65535)){t.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&L,y=L=0,r.mode=15,6===e)break t;case 15:r.mode=16;case 16:if(w=r.length){if(d<w&&(w=d),g<w&&(w=g),0===w)break t;a.arraySet(u,h,c,w,f),d-=w,c+=w,g-=w,f+=w,r.length-=w;break}r.mode=12;break;case 17:for(;y<14;){if(0===d)break t;d--,L+=h[c++]<<y,y+=8}if(r.nlen=257+(31&L),y-=5,r.ndist=1+(31&(L>>>=5)),y-=5,r.ncode=4+(15&(L>>>=5)),L>>>=4,y-=4,286<r.nlen||30<r.ndist){t.msg="too many length or distance symbols",r.mode=30;break}r.have=0,r.mode=18;case 18:for(;r.have<r.ncode;){for(;y<3;){if(0===d)break t;d--,L+=h[c++]<<y,y+=8}r.lens[E[r.have++]]=7&L,L>>>=3,y-=3}for(;r.have<19;)r.lens[E[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,T={bits:r.lenbits},z=o(0,r.lens,0,19,r.lencode,0,r.work,T),r.lenbits=T.bits,z){t.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have<r.nlen+r.ndist;){for(;C=(O=r.lencode[L&(1<<r.lenbits)-1])>>>16&255,S=65535&O,!((x=O>>>24)<=y);){if(0===d)break t;d--,L+=h[c++]<<y,y+=8}if(S<16)L>>>=x,y-=x,r.lens[r.have++]=S;else{if(16===S){for(F=x+2;y<F;){if(0===d)break t;d--,L+=h[c++]<<y,y+=8}if(L>>>=x,y-=x,0===r.have){t.msg="invalid bit length repeat",r.mode=30;break}R=r.lens[r.have-1],w=3+(3&L),L>>>=2,y-=2}else if(17===S){for(F=x+3;y<F;){if(0===d)break t;d--,L+=h[c++]<<y,y+=8}y-=x,R=0,w=3+(7&(L>>>=x)),L>>>=3,y-=3}else{for(F=x+7;y<F;){if(0===d)break t;d--,L+=h[c++]<<y,y+=8}y-=x,R=0,w=11+(127&(L>>>=x)),L>>>=7,y-=7}if(r.have+w>r.nlen+r.ndist){t.msg="invalid bit length repeat",r.mode=30;break}for(;w--;)r.lens[r.have++]=R}}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,T={bits:r.lenbits},z=o(1,r.lens,0,r.nlen,r.lencode,0,r.work,T),r.lenbits=T.bits,z){t.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,T={bits:r.distbits},z=o(2,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,T),r.distbits=T.bits,z){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<=d&&258<=g){t.next_out=f,t.avail_out=g,t.next_in=c,t.avail_in=d,r.hold=L,r.bits=y,i(t,M),f=t.next_out,u=t.output,g=t.avail_out,c=t.next_in,h=t.input,d=t.avail_in,L=r.hold,y=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;C=(O=r.lencode[L&(1<<r.lenbits)-1])>>>16&255,S=65535&O,!((x=O>>>24)<=y);){if(0===d)break t;d--,L+=h[c++]<<y,y+=8}if(C&&0==(240&C)){for(I=x,A=C,P=S;C=(O=r.lencode[P+((L&(1<<I+A)-1)>>I)])>>>16&255,S=65535&O,!(I+(x=O>>>24)<=y);){if(0===d)break t;d--,L+=h[c++]<<y,y+=8}L>>>=I,y-=I,r.back+=I}if(L>>>=x,y-=x,r.back+=x,r.length=S,0===C){r.mode=26;break}if(32&C){r.back=-1,r.mode=12;break}if(64&C){t.msg="invalid literal/length code",r.mode=30;break}r.extra=15&C,r.mode=22;case 22:if(r.extra){for(F=r.extra;y<F;){if(0===d)break t;d--,L+=h[c++]<<y,y+=8}r.length+=L&(1<<r.extra)-1,L>>>=r.extra,y-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;C=(O=r.distcode[L&(1<<r.distbits)-1])>>>16&255,S=65535&O,!((x=O>>>24)<=y);){if(0===d)break t;d--,L+=h[c++]<<y,y+=8}if(0==(240&C)){for(I=x,A=C,P=S;C=(O=r.distcode[P+((L&(1<<I+A)-1)>>I)])>>>16&255,S=65535&O,!(I+(x=O>>>24)<=y);){if(0===d)break t;d--,L+=h[c++]<<y,y+=8}L>>>=I,y-=I,r.back+=I}if(L>>>=x,y-=x,r.back+=x,64&C){t.msg="invalid distance code",r.mode=30;break}r.offset=S,r.extra=15&C,r.mode=24;case 24:if(r.extra){for(F=r.extra;y<F;){if(0===d)break t;d--,L+=h[c++]<<y,y+=8}r.offset+=L&(1<<r.extra)-1,L>>>=r.extra,y-=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===g)break t;if(w=M-g,r.offset>w){if((w=r.offset-w)>r.whave&&r.sane){t.msg="invalid distance too far back",r.mode=30;break}_=w>r.wnext?(w-=r.wnext,r.wsize-w):r.wnext-w,w>r.length&&(w=r.length),k=r.window}else k=u,_=f-r.offset,w=r.length;for(g<w&&(w=g),g-=w,r.length-=w;u[f++]=k[_++],--w;);0===r.length&&(r.mode=21);break;case 26:if(0===g)break t;u[f++]=r.length,g--,r.mode=21;break;case 27:if(r.wrap){for(;y<32;){if(0===d)break t;d--,L|=h[c++]<<y,y+=8}if(M-=g,t.total_out+=M,r.total+=M,M&&(t.adler=r.check=r.flags?n(r.check,u,M,f-M):s(r.check,u,M,f-M)),M=g,(r.flags?L:l(L))!==r.check){t.msg="incorrect data check",r.mode=30;break}y=L=0}r.mode=28;case 28:if(r.wrap&&r.flags){for(;y<32;){if(0===d)break t;d--,L+=h[c++]<<y,y+=8}if(L!==(0|r.total)){t.msg="incorrect length check",r.mode=30;break}y=L=0}r.mode=29;case 29:z=1;break t;case 30:z=-3;break t;case 31:return -4;default:return -2}return t.next_out=f,t.avail_out=g,t.next_in=c,t.avail_in=d,r.hold=L,r.bits=y,(r.wsize||M!==t.avail_out&&r.mode<30&&(r.mode<27||4!==e))&&b(t,t.output,t.next_out,M-t.avail_out)?(r.mode=31,-4):(v-=t.avail_in,M-=t.avail_out,t.total_in+=v,t.total_out+=M,r.total+=M,r.wrap&&M&&(t.adler=r.check=r.flags?n(r.check,u,M,t.next_out-M):s(r.check,u,M,t.next_out-M)),t.data_type=r.bits+64*!!r.last+128*(12===r.mode)+256*(20===r.mode||15===r.mode),(0==v&&0===M||4===e)&&0===z&&(z=-5),z)},r.inflateEnd=function(t){if(!t||!t.state)return -2;var e=t.state;return e.window&&(e.window=null),t.state=null,0},r.inflateGetHeader=function(t,e){var r;return t&&t.state?0==(2&(r=t.state).wrap)?-2:((r.head=e).done=!1,0):-2},r.inflateSetDictionary=function(t,e){var r,a=e.length;return t&&t.state?0!==(r=t.state).wrap&&11!==r.mode?-2:11===r.mode&&s(1,e,a,0)!==r.check?-3:b(t,e,a,a)?(r.mode=31,-4):(r.havedict=1,0):-2},r.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(t,e,r){"use strict";var a=t("../utils/common"),s=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],n=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],i=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],o=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];e.exports=function(t,e,r,l,h,u,c,f){var d,m,p,$,b,g,L,y,v,M=f.bits,w=0,_=0,k=0,x=0,C=0,S=0,I=0,A=0,P=0,R=0,z=null,T=0,F=new a.Buf16(16),O=new a.Buf16(16),B=null,E=0;for(w=0;w<=15;w++)F[w]=0;for(_=0;_<l;_++)F[e[r+_]]++;for(C=M,x=15;1<=x&&0===F[x];x--);if(x<C&&(C=x),0===x)return h[u++]=0x1400000,h[u++]=0x1400000,f.bits=1,0;for(k=1;k<x&&0===F[k];k++);for(C<k&&(C=k),w=A=1;w<=15;w++)if(A<<=1,(A-=F[w])<0)return -1;if(0<A&&(0===t||1!==x))return -1;for(O[1]=0,w=1;w<15;w++)O[w+1]=O[w]+F[w];for(_=0;_<l;_++)0!==e[r+_]&&(c[O[e[r+_]]++]=_);if(g=0===t?(z=B=c,19):1===t?(z=s,T-=257,B=n,E-=257,256):(z=i,B=o,-1),w=k,b=u,I=_=R=0,p=-1,$=(P=1<<(S=C))-1,1===t&&852<P||2===t&&592<P)return 1;for(;;){for(L=w-I,v=c[_]<g?(y=0,c[_]):c[_]>g?(y=B[E+c[_]],z[T+c[_]]):(y=96,0),d=1<<w-I,k=m=1<<S;h[b+(R>>I)+(m-=d)]=L<<24|y<<16|v,0!==m;);for(d=1<<w-1;R&d;)d>>=1;if(0!==d?(R&=d-1,R+=d):R=0,_++,0==--F[w]){if(w===x)break;w=e[r+c[_]]}if(C<w&&(R&$)!==p){for(0===I&&(I=C),b+=k,A=1<<(S=w-I);S+I<x&&!((A-=F[S+I])<=0);)S++,A<<=1;if(P+=1<<S,1===t&&852<P||2===t&&592<P)return 1;h[p=R&$]=C<<24|S<<16|b-u}}return 0!==R&&(h[b+R]=w-I<<24|4194304),f.bits=C,0}},{"../utils/common":41}],51:[function(t,e,r){"use strict";e.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(t,e,r){"use strict";var a=t("../utils/common");function s(t){for(var e=t.length;0<=--e;)t[e]=0}var n=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],i=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],l=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],h=Array(576);s(h);var u=Array(60);s(u);var c=Array(512);s(c);var f=Array(256);s(f);var d=Array(29);s(d);var m,p,$,b=Array(30);function g(t,e,r,a,s){this.static_tree=t,this.extra_bits=e,this.extra_base=r,this.elems=a,this.max_length=s,this.has_stree=t&&t.length}function L(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}function y(t){return t<256?c[t]:c[256+(t>>>7)]}function v(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function M(t,e,r){t.bi_valid>16-r?(t.bi_buf|=e<<t.bi_valid&65535,v(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=r-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=r)}function w(t,e,r){M(t,r[2*e],r[2*e+1])}function _(t,e){for(var r=0;r|=1&t,t>>>=1,r<<=1,0<--e;);return r>>>1}function k(t,e,r){var a,s,n=Array(16),i=0;for(a=1;a<=15;a++)n[a]=i=i+r[a-1]<<1;for(s=0;s<=e;s++){var o=t[2*s+1];0!==o&&(t[2*s]=_(n[o]++,o))}}function x(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 C(t){8<t.bi_valid?v(t,t.bi_buf):0<t.bi_valid&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0}function S(t,e,r,a){var s=2*e,n=2*r;return t[s]<t[n]||t[s]===t[n]&&a[e]<=a[r]}function I(t,e,r){for(var a=t.heap[r],s=r<<1;s<=t.heap_len&&(s<t.heap_len&&S(e,t.heap[s+1],t.heap[s],t.depth)&&s++,!S(e,a,t.heap[s],t.depth));)t.heap[r]=t.heap[s],r=s,s<<=1;t.heap[r]=a}function A(t,e,r){var a,s,o,l,h=0;if(0!==t.last_lit)for(;a=t.pending_buf[t.d_buf+2*h]<<8|t.pending_buf[t.d_buf+2*h+1],s=t.pending_buf[t.l_buf+h],h++,0===a?w(t,s,e):(w(t,(o=f[s])+256+1,e),0!==(l=n[o])&&M(t,s-=d[o],l),w(t,o=y(--a),r),0!==(l=i[o])&&M(t,a-=b[o],l)),h<t.last_lit;);w(t,256,e)}function P(t,e){var r,a,s,n=e.dyn_tree,i=e.stat_desc.static_tree,o=e.stat_desc.has_stree,l=e.stat_desc.elems,h=-1;for(t.heap_len=0,t.heap_max=573,r=0;r<l;r++)0!==n[2*r]?(t.heap[++t.heap_len]=h=r,t.depth[r]=0):n[2*r+1]=0;for(;t.heap_len<2;)n[2*(s=t.heap[++t.heap_len]=h<2?++h:0)]=1,t.depth[s]=0,t.opt_len--,o&&(t.static_len-=i[2*s+1]);for(e.max_code=h,r=t.heap_len>>1;1<=r;r--)I(t,n,r);for(s=l;r=t.heap[1],t.heap[1]=t.heap[t.heap_len--],I(t,n,1),a=t.heap[1],t.heap[--t.heap_max]=r,t.heap[--t.heap_max]=a,n[2*s]=n[2*r]+n[2*a],t.depth[s]=(t.depth[r]>=t.depth[a]?t.depth[r]:t.depth[a])+1,n[2*r+1]=n[2*a+1]=s,t.heap[1]=s++,I(t,n,1),2<=t.heap_len;);t.heap[--t.heap_max]=t.heap[1],function(t,e){var r,a,s,n,i,o,l=e.dyn_tree,h=e.max_code,u=e.stat_desc.static_tree,c=e.stat_desc.has_stree,f=e.stat_desc.extra_bits,d=e.stat_desc.extra_base,m=e.stat_desc.max_length,p=0;for(n=0;n<=15;n++)t.bl_count[n]=0;for(l[2*t.heap[t.heap_max]+1]=0,r=t.heap_max+1;r<573;r++)m<(n=l[2*l[2*(a=t.heap[r])+1]+1]+1)&&(n=m,p++),l[2*a+1]=n,h<a||(t.bl_count[n]++,i=0,d<=a&&(i=f[a-d]),o=l[2*a],t.opt_len+=o*(n+i),c&&(t.static_len+=o*(u[2*a+1]+i)));if(0!==p){do{for(n=m-1;0===t.bl_count[n];)n--;t.bl_count[n]--,t.bl_count[n+1]+=2,t.bl_count[m]--,p-=2}while(0<p)for(n=m;0!==n;n--)for(a=t.bl_count[n];0!==a;)h<(s=t.heap[--r])||(l[2*s+1]!==n&&(t.opt_len+=(n-l[2*s+1])*l[2*s],l[2*s+1]=n),a--)}}(t,e),k(n,h,t.bl_count)}function R(t,e,r){var a,s,n=-1,i=e[1],o=0,l=7,h=4;for(0===i&&(l=138,h=3),e[2*(r+1)+1]=65535,a=0;a<=r;a++)s=i,i=e[2*(a+1)+1],++o<l&&s===i||(o<h?t.bl_tree[2*s]+=o:0!==s?(s!==n&&t.bl_tree[2*s]++,t.bl_tree[32]++):o<=10?t.bl_tree[34]++:t.bl_tree[36]++,n=s,h=(o=0)===i?(l=138,3):s===i?(l=6,3):(l=7,4))}function z(t,e,r){var a,s,n=-1,i=e[1],o=0,l=7,h=4;for(0===i&&(l=138,h=3),a=0;a<=r;a++)if(s=i,i=e[2*(a+1)+1],!(++o<l&&s===i)){if(o<h)for(;w(t,s,t.bl_tree),0!=--o;);else 0!==s?(s!==n&&(w(t,s,t.bl_tree),o--),w(t,16,t.bl_tree),M(t,o-3,2)):o<=10?(w(t,17,t.bl_tree),M(t,o-3,3)):(w(t,18,t.bl_tree),M(t,o-11,7));n=s,h=(o=0)===i?(l=138,3):s===i?(l=6,3):(l=7,4)}}s(b);var T=!1;function F(t,e,r,s){M(t,0+ +!!s,3),C(t),v(t,r),v(t,~r),a.arraySet(t.pending_buf,t.window,e,r,t.pending),t.pending+=r}r._tr_init=function(t){T||(function(){var t,e,r,a,s,l=Array(16);for(a=r=0;a<28;a++)for(d[a]=r,t=0;t<1<<n[a];t++)f[r++]=a;for(f[r-1]=a,a=s=0;a<16;a++)for(b[a]=s,t=0;t<1<<i[a];t++)c[s++]=a;for(s>>=7;a<30;a++)for(b[a]=s<<7,t=0;t<1<<i[a]-7;t++)c[256+s++]=a;for(e=0;e<=15;e++)l[e]=0;for(t=0;t<=143;)h[2*t+1]=8,t++,l[8]++;for(;t<=255;)h[2*t+1]=9,t++,l[9]++;for(;t<=279;)h[2*t+1]=7,t++,l[7]++;for(;t<=287;)h[2*t+1]=8,t++,l[8]++;for(k(h,287,l),t=0;t<30;t++)u[2*t+1]=5,u[2*t]=_(t,5);m=new g(h,n,257,286,15),p=new g(u,i,0,30,15),$=new g([],o,0,19,7)}(),T=!0),t.l_desc=new L(t.dyn_ltree,m),t.d_desc=new L(t.dyn_dtree,p),t.bl_desc=new L(t.bl_tree,$),t.bi_buf=0,t.bi_valid=0,x(t)},r._tr_stored_block=F,r._tr_flush_block=function(t,e,r,a){var s,n,i=0;0<t.level?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,r=0xf3ffc07f;for(e=0;e<=31;e++,r>>>=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)),P(t,t.l_desc),P(t,t.d_desc),i=function(t){var e;for(R(t,t.dyn_ltree,t.l_desc.max_code),R(t,t.dyn_dtree,t.d_desc.max_code),P(t,t.bl_desc),e=18;3<=e&&0===t.bl_tree[2*l[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),s=t.opt_len+3+7>>>3,(n=t.static_len+3+7>>>3)<=s&&(s=n)):s=n=r+5,r+4<=s&&-1!==e?F(t,e,r,a):4===t.strategy||n===s?(M(t,2+ +!!a,3),A(t,h,u)):(M(t,4+ +!!a,3),function(t,e,r,a){var s;for(M(t,e-257,5),M(t,r-1,5),M(t,a-4,4),s=0;s<a;s++)M(t,t.bl_tree[2*l[s]+1],3);z(t,t.dyn_ltree,e-1),z(t,t.dyn_dtree,r-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,i+1),A(t,t.dyn_ltree,t.dyn_dtree)),x(t),a&&C(t)},r._tr_tally=function(t,e,r){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>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*(f[r]+256+1)]++,t.dyn_dtree[2*y(e)]++),t.last_lit===t.lit_bufsize-1},r._tr_align=function(t){M(t,2,3),w(t,256,h),16===t.bi_valid?(v(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):8<=t.bi_valid&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.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,a){(function(t){!function(t){"use strict";if(!t.setImmediate){var e,r,a,s,n=1,i={},o=!1,l=t.document,h=Object.getPrototypeOf&&Object.getPrototypeOf(t);h=h&&h.setTimeout?h:t,e="[object process]"===({}).toString.call(t.process)?function(t){process.nextTick(function(){c(t)})}:!function(){if(t.postMessage&&!t.importScripts){var e=!0,r=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=r,e}}()?t.MessageChannel?((a=new MessageChannel).port1.onmessage=function(t){c(t.data)},function(t){a.port2.postMessage(t)}):l&&"onreadystatechange"in l.createElement("script")?(r=l.documentElement,function(t){var e=l.createElement("script");e.onreadystatechange=function(){c(t),e.onreadystatechange=null,r.removeChild(e),e=null},r.appendChild(e)}):function(t){setTimeout(c,0,t)}:(s="setImmediate$"+Math.random()+"$",t.addEventListener?t.addEventListener("message",f,!1):t.attachEvent("onmessage",f),function(e){t.postMessage(s+e,"*")}),h.setImmediate=function(t){"function"!=typeof t&&(t=Function(""+t));for(var r=Array(arguments.length-1),a=0;a<r.length;a++)r[a]=arguments[a+1];var s={callback:t,args:r};return i[n]=s,e(n),n++},h.clearImmediate=u}function u(t){delete i[t]}function c(t){if(o)setTimeout(c,0,t);else{var e=i[t];if(e){o=!0;try{var r=e.callback,a=e.args;switch(a.length){case 0:r();break;case 1:r(a[0]);break;case 2:r(a[0],a[1]);break;case 3:r(a[0],a[1],a[2]);break;default:r.apply(void 0,a)}}finally{u(t),o=!1}}}}function f(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(s)&&c(+e.data.slice(s.length))}}("u"<typeof self?void 0===t?this:t:self)}).call(this,void 0!==r.g?r.g:"u">typeof self?self:"u">typeof window?window:{})},{}]},{},[10])(10)},363(t){function e(t){var e=Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}e.keys=()=>[],e.resolve=e,e.id=363,t.exports=e}},e={};function r(a){var s=e[a];if(void 0!==s)return s.exports;var n=e[a]={exports:{}};return t[a](n,n.exports,r),n.exports}r.d=(t,e,a)=>{var s=(e,a)=>{for(var s in e)r.o(e,s)&&!r.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,[a]:e[s]})};s(e,"get"),s(a,"value")},r.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(t){if("object"==typeof window)return window}})(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var a={};return(()=>{"use strict";r.r(a),r.d(a,{parse:()=>eF});var t,e,s,n=r(710);function i(t){return t.replace(/&(#x[0-9a-fA-F]+|#\d+|amp|lt|gt|quot|apos);/g,function(t,e){if("amp"===e)return"&";if("lt"===e)return"<";if("gt"===e)return">";if("quot"===e)return'"';if("apos"===e)return"'";if("#"===e[0]){var r="x"===e[1]||"X"===e[1],a=parseInt(e.slice(r?2:1),r?16:10);if(!Number.isNaN(a)&&a>=0&&a<=1114111)try{return String.fromCodePoint(a)}catch(t){}}return t})}let o=0,l=new Set(["m:oMath","m:oMathPara"]);async function h(t,e){try{let r=t.file(e);if(!r)return null;let a=await r.async("string");return function t(e,r={}){let a={};if(!e.length)return a;if(1===e.length&&"string"==typeof e[0])return Object.keys(r).length?{attrs:{order:o++,...r},value:e[0]}:e[0];for(let r of e){if("string"==typeof r&&""===r.trim())continue;if("object"!=typeof r)return;if("?xml"===r.tagName)continue;a[r.tagName]||(a[r.tagName]=[]);let e=t(r.children||[],r.attributes);"object"==typeof e&&(e.attrs?e.attrs.order=o++:e.attrs={order:o++},l.has(r.tagName)&&Object.defineProperty(e,"__rawNode",{value:r,enumerable:!1})),Object.keys(r.attributes||{}).length&&(e.attrs={...e.attrs,...r.attributes}),a[r.tagName].push(e)}for(let t in a)1===a[t].length&&(a[t]=a[t][0]);return a}(function t(e,r){var a=(r=r||{}).pos||0,s=!!r.keepComments,n=!!r.keepWhitespace,o=!!r.decodeEntities;function l(t){for(var r=[];e[a];)if(60==e.charCodeAt(a)){if(47===e.charCodeAt(a+1)){var l=a+2;if(a=e.indexOf(">",a),-1==e.substring(l,a).indexOf(t)){var h=e.substring(0,a).split("\n");throw Error("Unexpected close tag\nLine: "+(h.length-1)+"\nColumn: "+(h[h.length-1].length+1)+"\nChar: "+e[a])}return a+1&&(a+=1),r}if(33===e.charCodeAt(a+1)){if(45==e.charCodeAt(a+2)){let t=a;for(;-1!==a&&(62!==e.charCodeAt(a)||45!=e.charCodeAt(a-1)||45!=e.charCodeAt(a-2)||-1==a);)a=e.indexOf(">",a+1);-1===a&&(a=e.length),s&&r.push(e.substring(t,a+1))}else{if(91===e.charCodeAt(a+2)&&91===e.charCodeAt(a+8)&&"cdata"===e.substr(a+3,5).toLowerCase()){var u=e.indexOf("]]>",a);-1==u?(r.push(e.substr(a+9)),a=e.length):(r.push(e.substring(a+9,u)),a=u+3);continue}{let t=a+1;a+=2;for(var c=!1;(62!==e.charCodeAt(a)||!0===c)&&e[a];)91===e.charCodeAt(a)?c=!0:!0===c&&93===e.charCodeAt(a)&&(c=!1),a++;r.push(e.substring(t,a))}}a++;continue}var f=d();r.push(f)}else{var m=function(){var t=a;-2==(a=e.indexOf("<",a)-1)&&(a=e.length);var r=e.slice(t,a+1);return o?i(r):r}();if(n)m.length>0&&r.push(m);else{var p=m.trim();p.length>0&&r.push(p)}a++}return r}var h="\r\n >/= ";function u(){for(var t=a;-1===h.indexOf(e[a])&&e[a];)a++;return e.slice(t,a)}var c,f=r.selfClosingTags||r.noChildNodes||["img","br","input","meta","link","hr"];function d(){a++;let t=u(),r="?"===t[0],s=a,n={},c=[];for(;e[a]&&62!==e.charCodeAt(a)&&(!r||63!==e.charCodeAt(a)||62!==e.charCodeAt(a+1));){var d=e.charCodeAt(a);if(d>64&&d<91||d>96&&d<123){for(var m=u(),p=null;32===e.charCodeAt(a)||9===e.charCodeAt(a)||10===e.charCodeAt(a)||13===e.charCodeAt(a);)a++;if(61===e.charCodeAt(a)){for(a++;32===e.charCodeAt(a)||9===e.charCodeAt(a)||10===e.charCodeAt(a)||13===e.charCodeAt(a);)a++;var $=e.charCodeAt(a);if(39===$||34===$){if(p=function(){var t=e[a],r=a+1;a=e.indexOf(t,r);var s=e.slice(r,a);return o?i(s):s}(),-1===a)return{tagName:t,attributes:n,children:c}}else if($&&62!==$){for(var b=a;e[a]&&-1===h.indexOf(e[a]);)a++;p=e.slice(b,a),o&&(p=i(p))}}n[m]=p}else a++}if(r){var g=e.slice(s,a).trim();return g.length>0&&0===Object.keys(n).length&&(c=[g]),63===e.charCodeAt(a)&&62===e.charCodeAt(a+1)?a+=2:62===e.charCodeAt(a)&&(a+=1),{tagName:t,attributes:n,children:c}}if(47!==e.charCodeAt(a-1)&&63!==e.charCodeAt(a-1))if("script"==t){var L=a+1;a=e.indexOf("<\/script>",a),c=[e.slice(L,a)],a+=9}else"style"==t?(L=a+1,a=e.indexOf("</style>",a),c=[e.slice(L,a)],a+=8):-1===f.indexOf(t)?(a++,c=l(t)):a++;else a++;return{tagName:t,attributes:n,children:c}}if(void 0!==r.attrValue)for(r.attrName=r.attrName||"id",c=[];-1!==(a=function(){if(!r||!r.attrName||!r.attrValue)return -1;var t=RegExp("\\s"+r.attrName+"\\s*=['\"]"+r.attrValue+"['\"]").exec(e);return t?t.index:-1}());)-1!==(a=e.lastIndexOf("<",a))&&c.push(d()),e=e.substr(a),a=0;else c=r.parseNode?d():l("");return(r.filter&&Array.isArray(c)&&(c=function t(e,r,a=0,s=""){var n=[];return e.forEach(function(e,i){if("object"==typeof e&&r(e,i,a,s)&&n.push(e),"object"==typeof e&&e.children){var o=t(e.children,r,a+1,(s?s+".":"")+i+"."+e.tagName);n=n.concat(o)}}),n}(c,r.filter)),r.simplify)?function e(r){if("string"==typeof r)return e(t(r));if(!Array.isArray(r))throw TypeError("simplify() expects parsed node array or XML string");var a={};if(!r.length)return"";if(1===r.length&&"string"==typeof r[0])return r[0];for(var s in r.forEach(function(t){if("object"==typeof t){a[t.tagName]||(a[t.tagName]=[]);var r=e(t.children);a[t.tagName].push(r),Object.keys(t.attributes).length&&"object"==typeof r&&!Array.isArray(r)&&(r._attributes=t.attributes)}}),a)1==a[s].length&&(a[s]=a[s][0]);return a}(Array.isArray(c)?c:[c]):(r.setPos&&"object"==typeof c&&!Array.isArray(c)&&(c.pos=a),c)}(a,{keepWhitespace:!0}))}catch{return null}}function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var c=/^\s+/,f=/\s+$/;function d(t,e){if(e=e||{},(t=t||"")instanceof d)return t;if(!(this instanceof d))return new d(t,e);var r,a,s,n,i,o,l,h,m,p,$,b,g,L,y,v,M,w,_,k,x=(a={r:0,g:0,b:0},s=1,n=null,i=null,o=null,l=!1,h=!1,"string"==typeof(r=t)&&(r=function(t){t=t.replace(c,"").replace(f,"").toLowerCase();var e,r=!1;if(A[t])t=A[t],r=!0;else if("transparent"==t)return{r:0,g:0,b:0,a:0,format:"name"};return(e=j.rgb.exec(t))?{r:e[1],g:e[2],b:e[3]}:(e=j.rgba.exec(t))?{r:e[1],g:e[2],b:e[3],a:e[4]}:(e=j.hsl.exec(t))?{h:e[1],s:e[2],l:e[3]}:(e=j.hsla.exec(t))?{h:e[1],s:e[2],l:e[3],a:e[4]}:(e=j.hsv.exec(t))?{h:e[1],s:e[2],v:e[3]}:(e=j.hsva.exec(t))?{h:e[1],s:e[2],v:e[3],a:e[4]}:(e=j.hex8.exec(t))?{r:F(e[1]),g:F(e[2]),b:F(e[3]),a:F(e[4])/255,format:r?"name":"hex8"}:(e=j.hex6.exec(t))?{r:F(e[1]),g:F(e[2]),b:F(e[3]),format:r?"name":"hex"}:(e=j.hex4.exec(t))?{r:F(e[1]+""+e[1]),g:F(e[2]+""+e[2]),b:F(e[3]+""+e[3]),a:F(e[4]+""+e[4])/255,format:r?"name":"hex8"}:!!(e=j.hex3.exec(t))&&{r:F(e[1]+""+e[1]),g:F(e[2]+""+e[2]),b:F(e[3]+""+e[3]),format:r?"name":"hex"}}(r)),"object"==u(r)&&(D(r.r)&&D(r.g)&&D(r.b)?(m=r.r,p=r.g,$=r.b,a={r:255*z(m,255),g:255*z(p,255),b:255*z($,255)},l=!0,h="%"===String(r.r).substr(-1)?"prgb":"rgb"):D(r.h)&&D(r.s)&&D(r.v)?(n=B(r.s),i=B(r.v),b=r.h,g=n,L=i,b=6*z(b,360),g=z(g,100),L=z(L,100),y=Math.floor(b),v=b-y,M=L*(1-g),w=L*(1-v*g),_=L*(1-(1-v)*g),a={r:255*[L,w,M,M,_,L][k=y%6],g:255*[_,L,L,w,M,M][k],b:255*[M,M,_,L,L,w][k]},l=!0,h="hsv"):D(r.h)&&D(r.s)&&D(r.l)&&(n=B(r.s),o=B(r.l),a=function(t,e,r){var a,s,n;function i(t,e,r){return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?t+(e-t)*6*r:r<.5?e:r<2/3?t+(e-t)*(2/3-r)*6:t}if(t=z(t,360),e=z(e,100),r=z(r,100),0===e)a=s=n=r;else{var o=r<.5?r*(1+e):r+e-r*e,l=2*r-o;a=i(l,o,t+1/3),s=i(l,o,t),n=i(l,o,t-1/3)}return{r:255*a,g:255*s,b:255*n}}(r.h,n,o),l=!0,h="hsl"),r.hasOwnProperty("a")&&(s=r.a)),s=R(s),{ok:l,format:r.format||h,r:Math.min(255,Math.max(a.r,0)),g:Math.min(255,Math.max(a.g,0)),b:Math.min(255,Math.max(a.b,0)),a:s});this._originalInput=t,this._r=x.r,this._g=x.g,this._b=x.b,this._a=x.a,this._roundA=Math.round(100*this._a)/100,this._format=e.format||x.format,this._gradientType=e.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=x.ok}function m(t,e,r){t=z(t,255);var a,s,n=Math.max(t,e=z(e,255),r=z(r,255)),i=Math.min(t,e,r),o=(n+i)/2;if(n==i)a=s=0;else{var l=n-i;switch(s=o>.5?l/(2-n-i):l/(n+i),n){case t:a=(e-r)/l+6*(e<r);break;case e:a=(r-t)/l+2;break;case r:a=(t-e)/l+4}a/=6}return{h:a,s:s,l:o}}function p(t,e,r){t=z(t,255);var a,s=Math.max(t,e=z(e,255),r=z(r,255)),n=Math.min(t,e,r),i=s-n;if(s==n)a=0;else{switch(s){case t:a=(e-r)/i+6*(e<r);break;case e:a=(r-t)/i+2;break;case r:a=(t-e)/i+4}a/=6}return{h:a,s:0===s?0:i/s,v:s}}function $(t,e,r,a){var s=[O(Math.round(t).toString(16)),O(Math.round(e).toString(16)),O(Math.round(r).toString(16))];return a&&s[0].charAt(0)==s[0].charAt(1)&&s[1].charAt(0)==s[1].charAt(1)&&s[2].charAt(0)==s[2].charAt(1)?s[0].charAt(0)+s[1].charAt(0)+s[2].charAt(0):s.join("")}function b(t,e,r,a){return[O(E(a)),O(Math.round(t).toString(16)),O(Math.round(e).toString(16)),O(Math.round(r).toString(16))].join("")}function g(t,e){e=0===e?0:e||10;var r=d(t).toHsl();return r.s-=e/100,r.s=T(r.s),d(r)}function L(t,e){e=0===e?0:e||10;var r=d(t).toHsl();return r.s+=e/100,r.s=T(r.s),d(r)}function y(t){return d(t).desaturate(100)}function v(t,e){e=0===e?0:e||10;var r=d(t).toHsl();return r.l+=e/100,r.l=T(r.l),d(r)}function M(t,e){e=0===e?0:e||10;var r=d(t).toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(-(e/100*255)))),r.g=Math.max(0,Math.min(255,r.g-Math.round(-(e/100*255)))),r.b=Math.max(0,Math.min(255,r.b-Math.round(-(e/100*255)))),d(r)}function w(t,e){e=0===e?0:e||10;var r=d(t).toHsl();return r.l-=e/100,r.l=T(r.l),d(r)}function _(t,e){var r=d(t).toHsl(),a=(r.h+e)%360;return r.h=a<0?360+a:a,d(r)}function k(t){var e=d(t).toHsl();return e.h=(e.h+180)%360,d(e)}function x(t,e){if(isNaN(e)||e<=0)throw Error("Argument to polyad must be a positive number");for(var r=d(t).toHsl(),a=[d(t)],s=360/e,n=1;n<e;n++)a.push(d({h:(r.h+n*s)%360,s:r.s,l:r.l}));return a}function C(t){var e=d(t).toHsl(),r=e.h;return[d(t),d({h:(r+72)%360,s:e.s,l:e.l}),d({h:(r+216)%360,s:e.s,l:e.l})]}function S(t,e,r){e=e||6,r=r||30;var a=d(t).toHsl(),s=360/r,n=[d(t)];for(a.h=(a.h-(s*e>>1)+720)%360;--e;)a.h=(a.h+s)%360,n.push(d(a));return n}function I(t,e){e=e||6;for(var r=d(t).toHsv(),a=r.h,s=r.s,n=r.v,i=[],o=1/e;e--;)i.push(d({h:a,s:s,v:n})),n=(n+o)%1;return i}d.prototype={isDark:function(){return 128>this.getBrightness()},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var t=this.toRgb();return(299*t.r+587*t.g+114*t.b)/1e3},getLuminance:function(){var t,e,r,a=this.toRgb();return t=a.r/255,e=a.g/255,.2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.0722*((r=a.b/255)<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))},setAlpha:function(t){return this._a=R(t),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var t=p(this._r,this._g,this._b);return{h:360*t.h,s:t.s,v:t.v,a:this._a}},toHsvString:function(){var t=p(this._r,this._g,this._b),e=Math.round(360*t.h),r=Math.round(100*t.s),a=Math.round(100*t.v);return 1==this._a?"hsv("+e+", "+r+"%, "+a+"%)":"hsva("+e+", "+r+"%, "+a+"%, "+this._roundA+")"},toHsl:function(){var t=m(this._r,this._g,this._b);return{h:360*t.h,s:t.s,l:t.l,a:this._a}},toHslString:function(){var t=m(this._r,this._g,this._b),e=Math.round(360*t.h),r=Math.round(100*t.s),a=Math.round(100*t.l);return 1==this._a?"hsl("+e+", "+r+"%, "+a+"%)":"hsla("+e+", "+r+"%, "+a+"%, "+this._roundA+")"},toHex:function(t){return $(this._r,this._g,this._b,t)},toHexString:function(t){return"#"+this.toHex(t)},toHex8:function(t){var e,r,a,s,n,i;return e=this._r,r=this._g,a=this._b,s=this._a,n=t,i=[O(Math.round(e).toString(16)),O(Math.round(r).toString(16)),O(Math.round(a).toString(16)),O(E(s))],n&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0):i.join("")},toHex8String:function(t){return"#"+this.toHex8(t)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*z(this._r,255))+"%",g:Math.round(100*z(this._g,255))+"%",b:Math.round(100*z(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+Math.round(100*z(this._r,255))+"%, "+Math.round(100*z(this._g,255))+"%, "+Math.round(100*z(this._b,255))+"%)":"rgba("+Math.round(100*z(this._r,255))+"%, "+Math.round(100*z(this._g,255))+"%, "+Math.round(100*z(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(P[$(this._r,this._g,this._b,!0)]||!1)},toFilter:function(t){var e="#"+b(this._r,this._g,this._b,this._a),r=e,a=this._gradientType?"GradientType = 1, ":"";if(t){var s=d(t);r="#"+b(s._r,s._g,s._b,s._a)}return"progid:DXImageTransform.Microsoft.gradient("+a+"startColorstr="+e+",endColorstr="+r+")"},toString:function(t){var e=!!t;t=t||this._format;var r=!1,a=this._a<1&&this._a>=0;return!e&&a&&("hex"===t||"hex6"===t||"hex3"===t||"hex4"===t||"hex8"===t||"name"===t)?"name"===t&&0===this._a?this.toName():this.toRgbString():("rgb"===t&&(r=this.toRgbString()),"prgb"===t&&(r=this.toPercentageRgbString()),("hex"===t||"hex6"===t)&&(r=this.toHexString()),"hex3"===t&&(r=this.toHexString(!0)),"hex4"===t&&(r=this.toHex8String(!0)),"hex8"===t&&(r=this.toHex8String()),"name"===t&&(r=this.toName()),"hsl"===t&&(r=this.toHslString()),"hsv"===t&&(r=this.toHsvString()),r||this.toHexString())},clone:function(){return d(this.toString())},_applyModification:function(t,e){var r=t.apply(null,[this].concat([].slice.call(e)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(v,arguments)},brighten:function(){return this._applyModification(M,arguments)},darken:function(){return this._applyModification(w,arguments)},desaturate:function(){return this._applyModification(g,arguments)},saturate:function(){return this._applyModification(L,arguments)},greyscale:function(){return this._applyModification(y,arguments)},spin:function(){return this._applyModification(_,arguments)},_applyCombination:function(t,e){return t.apply(null,[this].concat([].slice.call(e)))},analogous:function(){return this._applyCombination(S,arguments)},complement:function(){return this._applyCombination(k,arguments)},monochromatic:function(){return this._applyCombination(I,arguments)},splitcomplement:function(){return this._applyCombination(C,arguments)},triad:function(){return this._applyCombination(x,[3])},tetrad:function(){return this._applyCombination(x,[4])}},d.fromRatio=function(t,e){if("object"==u(t)){var r={};for(var a in t)t.hasOwnProperty(a)&&("a"===a?r[a]=t[a]:r[a]=B(t[a]));t=r}return d(t,e)},d.equals=function(t,e){return!!t&&!!e&&d(t).toRgbString()==d(e).toRgbString()},d.random=function(){return d.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},d.mix=function(t,e,r){r=0===r?0:r||50;var a=d(t).toRgb(),s=d(e).toRgb(),n=r/100;return d({r:(s.r-a.r)*n+a.r,g:(s.g-a.g)*n+a.g,b:(s.b-a.b)*n+a.b,a:(s.a-a.a)*n+a.a})},d.readability=function(t,e){var r=d(t),a=d(e);return(Math.max(r.getLuminance(),a.getLuminance())+.05)/(Math.min(r.getLuminance(),a.getLuminance())+.05)},d.isReadable=function(t,e,r){var a,s,n,i,o,l=d.readability(t,e);switch(o=!1,(s=((a=(a=r)||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(a.size||"small").toLowerCase(),"AA"!==s&&"AAA"!==s&&(s="AA"),"small"!==n&&"large"!==n&&(n="small"),i={level:s,size:n}).level+i.size){case"AAsmall":case"AAAlarge":o=l>=4.5;break;case"AAlarge":o=l>=3;break;case"AAAsmall":o=l>=7}return o},d.mostReadable=function(t,e,r){var a,s,n,i,o=null,l=0;s=(r=r||{}).includeFallbackColors,n=r.level,i=r.size;for(var h=0;h<e.length;h++)(a=d.readability(t,e[h]))>l&&(l=a,o=d(e[h]));return d.isReadable(t,o,{level:n,size:i})||!s?o:(r.includeFallbackColors=!1,d.mostReadable(t,["#fff","#000"],r))};var A=d.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},P=d.hexNames=function(t){var e={};for(var r in t)t.hasOwnProperty(r)&&(e[t[r]]=r);return e}(A);function R(t){return(isNaN(t=parseFloat(t))||t<0||t>1)&&(t=1),t}function z(t,e){"string"==typeof(r=t)&&-1!=r.indexOf(".")&&1===parseFloat(r)&&(t="100%");var r,a,s="string"==typeof(a=t)&&-1!=a.indexOf("%");return(t=Math.min(e,Math.max(0,parseFloat(t))),s&&(t=parseInt(t*e,10)/100),1e-6>Math.abs(t-e))?1:t%e/parseFloat(e)}function T(t){return Math.min(1,Math.max(0,t))}function F(t){return parseInt(t,16)}function O(t){return 1==t.length?"0"+t:""+t}function B(t){return t<=1&&(t=100*t+"%"),t}function E(t){return Math.round(255*parseFloat(t)).toString(16)}var j=(e="[\\s|\\(]+("+(t="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+t+")[,|\\s]+("+t+")\\s*\\)?",s="[\\s|\\(]+("+t+")[,|\\s]+("+t+")[,|\\s]+("+t+")[,|\\s]+("+t+")\\s*\\)?",{CSS_UNIT:new RegExp(t),rgb:RegExp("rgb"+e),rgba:RegExp("rgba"+s),hsl:RegExp("hsl"+e),hsla:RegExp("hsla"+s),hsv:RegExp("hsv"+e),hsva:RegExp("hsva"+s),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function D(t){return!!j.CSS_UNIT.exec(t)}function N(t){return"1"===t||"true"===t}function G(t){return t.substr((~-t.lastIndexOf(".")>>>0)+2)}function U(t,e){if(!t)return t;let r="";if(t.constructor===Array)for(let a=0;a<t.length;a++)r+=e(t[a],a);else r+=e(t,0);return r}function q(t,e){if(!t)return t;for(let r of e)if(!(t=t[r]))break;return t}function H(t){return t?Math.round(t/6e4):0}function Y(t){let e={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#039;"};return t.replace(/[&<>"']/g,t=>e[t])}function Z(t){let e=t.toString(16);for(;e.length<2;)e="0"+e;return e}function W(t,e=4){return parseFloat(t.toFixed(e))}function K(t,e,r,a){let s,n;if(r)n=r;else{let t=q(e.slideContent,["p:sld","p:clrMapOvr","a:overrideClrMapping","attrs"]);n=t||(t=q(e.slideLayoutContent,["p:sldLayout","p:clrMapOvr","a:overrideClrMapping","attrs"]))?t:q(e.slideMasterContent,["p:sldMaster","p:clrMap","attrs"])}let i=t.substr(2);if("phClr"===i&&a)s=a;else{if(n)switch(i){case"tx1":case"tx2":case"bg1":case"bg2":t="a:"+n[i]}else switch(i){case"tx1":t="a:dk1";break;case"tx2":t="a:dk2";break;case"bg1":t="a:lt1";break;case"bg2":t="a:lt2"}let r=q(e.themeContent,["a:theme","a:themeElements","a:clrScheme",t]);(s=q(r,["a:srgbClr","attrs","val"]))||!r||(s=q(r,["a:sysClr","attrs","lastClr"]))}return s}function V(t,e,r){return(r<0&&(r+=6),r>=6&&(r-=6),r<1)?(e-t)*r+t:r<3?e:r<4?(e-t)*(4-r)+t:t}function X(t,e,r){let a=d(t).toHsl();e>=1&&(e=1);let s=a.l*e+(1-e);return r?d({h:a.h,s:a.s,l:s,a:a.a}).toHex8():d({h:a.h,s:a.s,l:s,a:a.a}).toHex()}function Q(t){let e="";return t["a:noFill"]&&(e="NO_FILL"),t["a:solidFill"]&&(e="SOLID_FILL"),t["a:gradFill"]&&(e="GRADIENT_FILL"),t["a:pattFill"]&&(e="PATTERN_FILL"),t["a:blipFill"]&&(e="PIC_FILL"),t["a:grpFill"]&&(e="GROUP_FILL"),e}function J(t=""){return{ref:t,base64:"",blob:"",align:{t:0,b:0,l:0,r:0},alignType:"stretch"}}function tt(t=""){return{ref:t,blob:""}}async function te(t,e,r,a="base64"){let s;if(!t||"base64"!==a&&"blob"!==a)return"";let n=Y(t),i=(s=e[r]||{},e[r]=s,s),o=i[n]||{base64:"",blob:""};if(i[n]=o,o[a])return o[a];let l=n.split(".").pop().toLowerCase();if("xml"===l)return"";let h=e.zip.file(n);if(!h)return"";let u=await h.async("arraybuffer"),c=function(t){let e="";switch(t.toLowerCase()){case"jpg":case"jpeg":e="image/jpeg";break;case"png":e="image/png";break;case"gif":e="image/gif";break;case"emf":e="image/x-emf";break;case"wmf":e="image/x-wmf";break;case"svg":e="image/svg+xml";break;case"mp4":e="video/mp4";break;case"webm":e="video/webm";break;case"ogg":e="video/ogg";break;case"avi":e="video/avi";break;case"mpg":e="video/mpg";break;case"wmv":e="video/wmv";break;case"mp3":e="audio/mpeg";break;case"wav":e="audio/wav";break;case"tif":case"tiff":e="image/tiff"}return e}(l);if("emf"===l){let t=function(t){if("u"<typeof document)return"";let e=function(t){if(!t||t.length<44)return null;let e=new DataView(t.buffer,t.byteOffset,t.byteLength);if(0x464d4520!==e.getUint32(40,!0))return null;let r=0;for(;r+8<=t.length;){let a=e.getUint32(r,!0),s=e.getUint32(r+4,!0);if(s<8||r+s>t.length||14===a)break;if(81===a&&s>80){let a=function(t,e,r){if(r+80>t.length)return null;let a=e.getUint32(r+48,!0),s=e.getUint32(r+52,!0),n=e.getUint32(r+56,!0),i=e.getUint32(r+60,!0);if(0===s||0===i)return null;let o=r+a;if(o+40>t.length)return null;let l=e.getInt32(o+4,!0),h=e.getInt32(o+8,!0),u=e.getUint16(o+14,!0);if(0!==e.getUint32(o+16,!0)||24!==u&&32!==u)return null;let c=Math.abs(l),f=Math.abs(h);if(0===c||0===f||c>8192||f>8192)return null;let d=r+n;if(d+i>t.length)return null;let m=t.subarray(d,d+i),p=h<0,$=new Uint8ClampedArray(c*f*4),b=u/8,g=4*Math.ceil(c*b/4);for(let t=0;t<f;t++){let e=(p?t:f-1-t)*g,r=t*c*4;for(let t=0;t<c;t++){let a=e+t*b;if(a+b>m.length)break;$[r+4*t+0]=m[a+2],$[r+4*t+1]=m[a+1],$[r+4*t+2]=m[a+0],$[r+4*t+3]=32===u?m[a+3]:255}}return{width:c,height:f,data:$}}(t,e,r);if(a)return a}r+=s}return null}(t);if(!e)return"";let r=document.createElement("canvas");r.width=e.width,r.height=e.height;let a=r.getContext("2d");return a?(a.putImageData(new ImageData(e.data,e.width,e.height),0,0),r.toDataURL("image/png")):""}(new Uint8Array(u));if(t){if("base64"===a)o.base64=t;else{let e=Uint8Array.from(atob(t.split(",")[1]),t=>t.charCodeAt(0));o.blob=URL.createObjectURL(new Blob([e],{type:"image/png"}))}return o[a]}}return"base64"===a?o.base64=`data:${c};base64,${function(t){let e,r,a,s,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=new Uint8Array(t),o=i.byteLength,l=o%3,h=o-l,u="";for(let t=0;t<h;t+=3)e=(0xfc0000&(s=i[t]<<16|i[t+1]<<8|i[t+2]))>>18,u+=n[e]+n[r=(258048&s)>>12]+n[a=(4032&s)>>6]+n[63&s];return 1===l?(e=(252&(s=i[h]))>>2,u+=n[e]+n[r=(3&s)<<4]+"=="):2===l&&(e=(64512&(s=i[h]<<8|i[h+1]))>>10,u+=n[e]+n[r=(1008&s)>>4]+n[a=(15&s)<<2]+"="),u}(u)}`:"blob"===a&&(o.blob=URL.createObjectURL(new Blob([u],c?{type:c}:void 0))),o[a]}async function tr(t,e,r="base64"){return await te(t,e,"loadedImages",r)}async function ta(t,e,r="blob"){return"blob"!==r?"":await te(t,e,"loadedVideos","blob")}async function ts(t,e,r="blob"){return"blob"!==r?"":await te(t,e,"loadedAudios","blob")}async function tn(t,e){let r,a=J(t||"");if(!t)return a;let s="blob"===(r=q(e,["options","imageMode"]))||"both"===r||"none"===r?r:"base64";return("base64"===s||"both"===s)&&(a.base64=await tr(t,e,"base64")),("blob"===s||"both"===s)&&(a.blob=await tr(t,e,"blob")),a}async function ti(t,e){let r=tt(t||"");return t?("blob"==("blob"===q(e,["options","videoMode"])?"blob":"none")&&(r.blob=await ta(t,e,"blob")),r):r}async function to(t,e){let r=tt(t||"");return t?("blob"==("blob"===q(e,["options","audioMode"])?"blob":"none")&&(r.blob=await ts(t,e,"blob")),r):r}async function tl(t,e,r){let a;if(!e)return J();let s=q(e,["a:blip","attrs","r:embed"]);if("slideBg"===t||"slide"===t?a=q(r,["slideResObj",s,"target"]):"slideLayoutBg"===t?a=q(r,["layoutResObj",s,"target"]):"slideMasterBg"===t?a=q(r,["masterResObj",s,"target"]):"themeBg"===t?a=q(r,["themeResObj",s,"target"]):"diagramBg"===t&&(a=q(r,["diagramResObj",s,"target"])),!a)return J();let n=await tn(a,r),i={t:0,b:0,l:0,r:0},o="stretch";if(e["a:stretch"]){o="stretch";let t=q(e,["a:stretch","a:fillRect","attrs"]);t&&(t.t&&(i.t=parseInt(t.t)/1e3),t.b&&(i.b=parseInt(t.b)/1e3),t.l&&(i.l=parseInt(t.l)/1e3),t.r&&(i.r=parseInt(t.r)/1e3))}else if(e["a:tile"]){o="tile";let t=q(e,["a:tile","attrs"]);t&&(t.t&&(i.t=parseInt(t.t)/1e3),t.b&&(i.b=parseInt(t.b)/1e3),t.l&&(i.l=parseInt(t.l)/1e3),t.r&&(i.r=parseInt(t.r)/1e3))}else e["a:scale"]&&(o="scale");return n.align=i,n.alignType=o,n}function th(t){let e=q(t["a:blip"],["a:alphaModFix","attrs"]),r=1;return e&&e.amt&&""!==e.amt&&(r=parseInt(e.amt)/1e5),r}async function tu(t,e,r){let a=await tl(e,t["a:blipFill"],r),s=q(t["a:blipFill"]["a:blip"],["a:alphaModFix","attrs"]),n=1;return s&&s.amt&&""!==s.amt&&(n=parseInt(s.amt)/1e5),{ref:a.ref,base64:a.base64,blob:a.blob,opacity:n}}function tc(t,e){if(!t["a:gsLst"])return null;let r=t["a:gsLst"]["a:gs"],a=[];for(let t=0;t<r.length;t++){let s=tg(r[t],void 0,void 0,e),n=q(r[t],["attrs","pos"]);a[t]={pos:n?n/1e3+"%":"",color:s}}let s=t["a:lin"],n=0,i="line";if(s)n=H(s.attrs.ang);else{let e=t["a:path"];e&&e.attrs&&e.attrs.path&&(i=e.attrs.path)}return{rot:n,path:i,colors:a.sort((t,e)=>parseInt(t.pos)-parseInt(e.pos))}}function tf(t,e){if(!t)return null;let r=t["a:pattFill"];if(!r)return null;let a=q(r,["attrs","prst"]),s=r["a:fgClr"],n=r["a:bgClr"],i="#000000",o="#FFFFFF";return s&&(i=tg(s,void 0,void 0,e)),n&&(o=tg(n,void 0,void 0,e)),{type:a,foregroundColor:i,backgroundColor:o}}function td(t,e,r,a){if(t){let s=t["a:gradFill"],n=s["a:gsLst"]["a:gs"],i=[];for(let t=0;t<n.length;t++){let s=tg(n[t],r["p:sldMaster"]["p:clrMap"].attrs,e,a),o=q(n[t],["attrs","pos"]);i[t]={pos:o?o/1e3+"%":"",color:s}}let o=s["a:lin"],l=0,h="line";if(o)l=H(o.attrs.ang)+0;else{let t=s["a:path"];t&&t.attrs&&t.attrs.path&&(h=t.attrs.path)}return{rot:l,path:h,colors:i.sort((t,e)=>parseInt(t.pos)-parseInt(e.pos))}}return e?-1===e.indexOf("#")?`#${e}`:e:null}async function tm(t){let e=t.slideContent,r=t.slideLayoutContent,a=t.slideMasterContent,s=q(e,["p:sld","p:cSld","p:bg","p:bgPr"]),n=q(e,["p:sld","p:cSld","p:bg","p:bgRef"]),i="#fff",o="color";if(s){let n=Q(s);if("SOLID_FILL"===n){let n,o=s["a:solidFill"],l=q(e,["p:sld","p:clrMapOvr","a:overrideClrMapping","attrs"]);if(l)n=l;else{let t=q(r,["p:sldLayout","p:clrMapOvr","a:overrideClrMapping","attrs"]);n=t||q(a,["p:sldMaster","p:clrMap","attrs"])}i=tg(o,n,void 0,t)}else if("GRADIENT_FILL"===n){let e=td(s,void 0,a,t);"string"==typeof e?i=e:e&&(i=e,o="gradient")}else if("PIC_FILL"===n)i=await tu(s,"slideBg",t),o="image";else if("PATTERN_FILL"===n){let e=tf(s,t);e&&(i=e,o="pattern")}}else if(n){let s,l=q(e,["p:sld","p:clrMapOvr","a:overrideClrMapping","attrs"]);if(l)s=l;else{let t=q(r,["p:sldLayout","p:clrMapOvr","a:overrideClrMapping","attrs"]);s=t||q(a,["p:sldMaster","p:clrMap","attrs"])}let h=tg(n,s,void 0,t),u=Number(n.attrs.idx);if(u>1e3){let e=t.themeContent["a:theme"]["a:themeElements"]["a:fmtScheme"]["a:bgFillStyleLst"],r=[];Object.keys(e).forEach(t=>{let a=e[t];if("attrs"!==t)if(a.constructor===Array)for(let e=0;e<a.length;e++){let s={};s[t]=a[e],a[e].attrs&&(s.idex=a[e].attrs.order,s.attrs={order:a[e].attrs.order}),r.push(s)}else{let e={};e[t]=a,a.attrs&&(e.idex=a.attrs.order,e.attrs={order:a.attrs.order}),r.push(e)}});let n=r.slice(0);n.sort((t,e)=>t.idex-e.idex);let l=n[u-1e3-1],c=Q(l);if("SOLID_FILL"===c)i=tg(l["a:solidFill"],s,h,t);else if("GRADIENT_FILL"===c){let e=td(l,h,a,t);"string"==typeof e?i=e:e&&(i=e,o="gradient")}}}else{let e;s=q(r,["p:sldLayout","p:cSld","p:bg","p:bgPr"]),n=q(r,["p:sldLayout","p:cSld","p:bg","p:bgRef"]);let l=q(r,["p:sldLayout","p:clrMapOvr","a:overrideClrMapping","attrs"]);if(e=l||q(a,["p:sldMaster","p:clrMap","attrs"]),s){let r=Q(s);if("SOLID_FILL"===r)i=tg(s["a:solidFill"],e,void 0,t);else if("GRADIENT_FILL"===r){let e=td(s,void 0,a,t);"string"==typeof e?i=e:e&&(i=e,o="gradient")}else if("PIC_FILL"===r)i=await tu(s,"slideLayoutBg",t),o="image";else if("PATTERN_FILL"===r){let e=tf(s,t);e&&(i=e,o="pattern")}}else if(n){let r=tg(n,e,void 0,t),s=Number(n.attrs.idx);if(s>1e3){let n=t.themeContent["a:theme"]["a:themeElements"]["a:fmtScheme"]["a:bgFillStyleLst"],l=[];Object.keys(n).forEach(t=>{let e=n[t];if("attrs"!==t)if(e.constructor===Array)for(let r=0;r<e.length;r++){let a={};a[t]=e[r],e[r].attrs&&(a.idex=e[r].attrs.order,a.attrs={order:e[r].attrs.order}),l.push(a)}else{let r={};r[t]=e,e.attrs&&(r.idex=e.attrs.order,r.attrs={order:e.attrs.order}),l.push(r)}});let h=l.slice(0);h.sort((t,e)=>t.idex-e.idex);let u=h[s-1e3-1],c=Q(u);if("SOLID_FILL"===c)i=tg(u["a:solidFill"],e,r,t);else if("GRADIENT_FILL"===c){let e=td(u,r,a,t);"string"==typeof e?i=e:e&&(i=e,o="gradient")}else if("PIC_FILL"===c)i=await tu(u,"themeBg",t),o="image";else if("PATTERN_FILL"===c){let e=tf(u,t);e&&(i=e,o="pattern")}}}else{s=q(a,["p:sldMaster","p:cSld","p:bg","p:bgPr"]),n=q(a,["p:sldMaster","p:cSld","p:bg","p:bgRef"]);let r=q(a,["p:sldMaster","p:clrMap","attrs"]);if(s){let e=Q(s);if("SOLID_FILL"===e)i=tg(s["a:solidFill"],r,void 0,t);else if("GRADIENT_FILL"===e){let e=td(s,void 0,a,t);"string"==typeof e?i=e:e&&(i=e,o="gradient")}else if("PIC_FILL"===e)i=await tu(s,"slideMasterBg",t),o="image";else if("PATTERN_FILL"===e){let e=tf(s,t);e&&(i=e,o="pattern")}}else if(n){let s=tg(n,r,void 0,t),l=Number(n.attrs.idx);if(l>1e3){let r=t.themeContent["a:theme"]["a:themeElements"]["a:fmtScheme"]["a:bgFillStyleLst"],n=[];Object.keys(r).forEach(t=>{let e=r[t];if("attrs"!==t)if(e.constructor===Array)for(let r=0;r<e.length;r++){let a={};a[t]=e[r],e[r].attrs&&(a.idex=e[r].attrs.order,a.attrs={order:e[r].attrs.order}),n.push(a)}else{let r={};r[t]=e,e.attrs&&(r.idex=e.attrs.order,r.attrs={order:e.attrs.order}),n.push(r)}});let h=n.slice(0);h.sort((t,e)=>t.idex-e.idex);let u=h[l-1e3-1],c=Q(u);if("SOLID_FILL"===c)i=tg(u["a:solidFill"],e,s,t);else if("GRADIENT_FILL"===c){let e=td(u,s,a,t);"string"==typeof e?i=e:e&&(i=e,o="gradient")}else if("PIC_FILL"===c)i=await tu(u,"themeBg",t),o="image";else if("PATTERN_FILL"===c){let e=tf(u,t);e&&(i=e,o="pattern")}}}}}return{type:o,value:i}}async function tp(t,e,r,a){if(!t)return{state:"missing"};let s=q(t,["p:spPr"]),n=s?Q(s):"",i="color",o="";if("NO_FILL"===n)return{state:"none"};if("SOLID_FILL"===n)o=tg(s["a:solidFill"],void 0,void 0,e),i="color";else if("GRADIENT_FILL"===n)o=tc(s["a:gradFill"],e),i="gradient";else if("PIC_FILL"===n){let t=s["a:blipFill"],a=await tl(r,t,e),n=th(t);o={ref:a.ref,base64:a.base64,blob:a.blob,opacity:n,align:a.align,alignType:a.alignType},i="image"}else if("PATTERN_FILL"===n)o=tf({"a:pattFill":s["a:pattFill"]},e),i="pattern";else if("GROUP_FILL"===n){let t=await tb(a,e,r);return t?{state:"found",fill:t}:{state:"none"}}if(!o){let r=q(t,["attrs","useBgFill"]);if("1"===r||"true"===r){let t=await tm(e);return t?{state:"found",fill:t}:{state:"none"}}let a=q(t,["p:style","a:fillRef"]);if(a&&0===Number(q(a,["attrs","idx"])))return{state:"none"};o=tg(a,void 0,void 0,e),i="color"}return o?{state:"found",fill:{type:i,value:o}}:{state:"missing"}}async function t$(t,e,r,a={}){let s,{groupHierarchy:n=[],slideLayoutSpNode:i,slideMasterSpNode:o}=a;for(let a of(s=[{node:t,source:r}],i&&s.push({node:i,source:"slideLayoutBg"}),o&&s.push({node:o,source:"slideMasterBg"}),s)){let t=await tp(a.node,e,a.source,n);if("none"===t.state)break;if("found"===t.state)return t.fill}return null}async function tb(t,e,r){for(let a of t){if(!a||!a["p:grpSpPr"])continue;let t=a["p:grpSpPr"],s=Q(t);if("SOLID_FILL"===s){let r=tg(t["a:solidFill"],void 0,void 0,e);if(r)return{type:"color",value:r}}else if("GRADIENT_FILL"===s){let r=tc(t["a:gradFill"],e);if(r)return{type:"gradient",value:r}}else if("PIC_FILL"===s){let a=t["a:blipFill"],s=await tl(r,a,e),n=th(a);if(s.ref||s.base64||s.blob)return{type:"image",value:{ref:s.ref,base64:s.base64,blob:s.blob,opacity:n,align:s.align,alignType:s.alignType}}}else if("PATTERN_FILL"===s){let r=tf({"a:pattFill":t["a:pattFill"]},e);if(r)return{type:"pattern",value:r}}else if("GROUP_FILL"===s)continue;else if("NO_FILL"===s)return null}return{type:"slide-background"}}function tg(t,e,r,a){var s,n,i,o,l,h,u,c,f,m,p,$,b;let g,L,y,v,M,w,_,k,x,C,S;if(!t)return"";let I="";if(t["a:srgbClr"])I=q(g=t["a:srgbClr"],["attrs","val"]);else if(t["a:schemeClr"])I=K("a:"+q(g=t["a:schemeClr"],["attrs","val"]),a,e,r)||"";else if(t["a:scrgbClr"]){let e=(g=t["a:scrgbClr"]).attrs,r=-1!==e.r.indexOf("%")?e.r.split("%").shift():e.r,a=-1!==e.g.indexOf("%")?e.g.split("%").shift():e.g,s=-1!==e.b.indexOf("%")?e.b.split("%").shift():e.b;I=Z(255*(Number(r)/100))+Z(255*(Number(a)/100))+Z(255*(Number(s)/100))}else if(t["a:prstClr"]){let e,r,a;r=q(g=t["a:prstClr"],["attrs","val"]).toLowerCase(),-1!==(a=["AliceBlue","AntiqueWhite","Aqua","Aquamarine","Azure","Beige","Bisque","black","BlanchedAlmond","Blue","BlueViolet","Brown","BurlyWood","CadetBlue","Chartreuse","Chocolate","Coral","CornflowerBlue","Cornsilk","Crimson","Cyan","DarkBlue","DarkCyan","DarkGoldenRod","DarkGray","DarkGrey","DarkGreen","DarkKhaki","DarkMagenta","DarkOliveGreen","DarkOrange","DarkOrchid","DarkRed","DarkSalmon","DarkSeaGreen","DarkSlateBlue","DarkSlateGray","DarkSlateGrey","DarkTurquoise","DarkViolet","DeepPink","DeepSkyBlue","DimGray","DimGrey","DodgerBlue","FireBrick","FloralWhite","ForestGreen","Fuchsia","Gainsboro","GhostWhite","Gold","GoldenRod","Gray","Grey","Green","GreenYellow","HoneyDew","HotPink","IndianRed","Indigo","Ivory","Khaki","Lavender","LavenderBlush","LawnGreen","LemonChiffon","LightBlue","LightCoral","LightCyan","LightGoldenRodYellow","LightGray","LightGrey","LightGreen","LightPink","LightSalmon","LightSeaGreen","LightSkyBlue","LightSlateGray","LightSlateGrey","LightSteelBlue","LightYellow","Lime","LimeGreen","Linen","Magenta","Maroon","MediumAquaMarine","MediumBlue","MediumOrchid","MediumPurple","MediumSeaGreen","MediumSlateBlue","MediumSpringGreen","MediumTurquoise","MediumVioletRed","MidnightBlue","MintCream","MistyRose","Moccasin","NavajoWhite","Navy","OldLace","Olive","OliveDrab","Orange","OrangeRed","Orchid","PaleGoldenRod","PaleGreen","PaleTurquoise","PaleVioletRed","PapayaWhip","PeachPuff","Peru","Pink","Plum","PowderBlue","Purple","RebeccaPurple","Red","RosyBrown","RoyalBlue","SaddleBrown","Salmon","SandyBrown","SeaGreen","SeaShell","Sienna","Silver","SkyBlue","SlateBlue","SlateGray","SlateGrey","Snow","SpringGreen","SteelBlue","Tan","Teal","Thistle","Tomato","Turquoise","Violet","Wheat","White","WhiteSmoke","Yellow","YellowGreen"].findIndex(t=>t.toLowerCase()===r))&&(e=["f0f8ff","faebd7","00ffff","7fffd4","f0ffff","f5f5dc","ffe4c4","000000","ffebcd","0000ff","8a2be2","a52a2a","deb887","5f9ea0","7fff00","d2691e","ff7f50","6495ed","fff8dc","dc143c","00ffff","00008b","008b8b","b8860b","a9a9a9","a9a9a9","006400","bdb76b","8b008b","556b2f","ff8c00","9932cc","8b0000","e9967a","8fbc8f","483d8b","2f4f4f","2f4f4f","00ced1","9400d3","ff1493","00bfff","696969","696969","1e90ff","b22222","fffaf0","228b22","ff00ff","dcdcdc","f8f8ff","ffd700","daa520","808080","808080","008000","adff2f","f0fff0","ff69b4","cd5c5c","4b0082","fffff0","f0e68c","e6e6fa","fff0f5","7cfc00","fffacd","add8e6","f08080","e0ffff","fafad2","d3d3d3","d3d3d3","90ee90","ffb6c1","ffa07a","20b2aa","87cefa","778899","778899","b0c4de","ffffe0","00ff00","32cd32","faf0e6","ff00ff","800000","66cdaa","0000cd","ba55d3","9370db","3cb371","7b68ee","00fa9a","48d1cc","c71585","191970","f5fffa","ffe4e1","ffe4b5","ffdead","000080","fdf5e6","808000","6b8e23","ffa500","ff4500","da70d6","eee8aa","98fb98","afeeee","db7093","ffefd5","ffdab9","cd853f","ffc0cb","dda0dd","b0e0e6","800080","663399","ff0000","bc8f8f","4169e1","8b4513","fa8072","f4a460","2e8b57","fff5ee","a0522d","c0c0c0","87ceeb","6a5acd","708090","708090","fffafa","00ff7f","4682b4","d2b48c","008080","d8bfd8","ff6347","40e0d0","ee82ee","f5deb3","ffffff","f5f5f5","ffff00","9acd32"][a]),I=e}else if(t["a:hslClr"]){let e,r,a,n=(g=t["a:hslClr"]).attrs,i=Number(n.hue)/1e5,o=Number(-1!==n.sat.indexOf("%")?n.sat.split("%").shift():n.sat)/100,l=Number(-1!==n.lum.indexOf("%")?n.lum.split("%").shift():n.lum)/100,h=(s=i/60,e=l<=.5?l*(o+1):l+o-l*o,a=255*V(r=2*l-e,e,s+2),{r:a,g:255*V(r,e,s),b:255*V(r,e,s-2)});I=Z(h.r)+Z(h.g)+Z(h.b)}else if(t["a:sysClr"]){let e=q(g=t["a:sysClr"],["attrs","lastClr"]);e&&(I=e)}let A=!1,P=parseInt(q(g,["a:alpha","attrs","val"]))/1e5;if(!isNaN(P)){let t=d(I);t.setAlpha(P),I=t.toHex8(),A=!0}let R=parseInt(q(g,["a:hueMod","attrs","val"]))/1e5;isNaN(R)||(n=I,i=A,(y=(L=d(n).toHsl()).h*R)>=360&&(y-=360),I=i?d({h:y,s:L.s,l:L.l,a:L.a}).toHex8():d({h:y,s:L.s,l:L.l,a:L.a}).toHex());let z=parseInt(q(g,["a:lumMod","attrs","val"]))/1e5;isNaN(z)||(o=I,l=A,(M=(v=d(o).toHsl()).l*z)>=1&&(M=1),I=l?d({h:v.h,s:v.s,l:M,a:v.a}).toHex8():d({h:v.h,s:v.s,l:M,a:v.a}).toHex());let T=parseInt(q(g,["a:lumOff","attrs","val"]))/1e5;isNaN(T)||(p=I,$=T,b=A,I=(S=$+(C=d(p).toHsl()).l)>=1?b?d({h:C.h,s:C.s,l:1,a:C.a}).toHex8():d({h:C.h,s:C.s,l:1,a:C.a}).toHex():b?d({h:C.h,s:C.s,l:S,a:C.a}).toHex8():d({h:C.h,s:C.s,l:S,a:C.a}).toHex());let F=parseInt(q(g,["a:satMod","attrs","val"]))/1e5;isNaN(F)||(h=I,u=A,(_=(w=d(h).toHsl()).s*F)>=1&&(_=1),I=u?d({h:w.h,s:_,l:w.l,a:w.a}).toHex8():d({h:w.h,s:_,l:w.l,a:w.a}).toHex());let O=parseInt(q(g,["a:shade","attrs","val"]))/1e5;isNaN(O)||(c=I,f=O,m=A,k=d(c).toHsl(),f>=1&&(f=1),x=Math.min(k.l*f,1),I=m?d({h:k.h,s:k.s,l:x,a:k.a}).toHex8():d({h:k.h,s:k.s,l:x,a:k.a}).toHex());let B=parseInt(q(g,["a:tint","attrs","val"]))/1e5;return isNaN(B)||(I=X(I,B,A)),I&&-1===I.indexOf("#")&&(I="#"+I),I}function tL(t){let e=q(t,["attrs"]);if(!e)return;let r={type:e.type||"none"};return e.w&&(r.width=e.w),e.len&&(r.length=e.len),r}function ty(t,e,r){let a=q(t,["p:spPr","a:ln"]),s=q(t,["p:style","a:lnRef"]),n=a;if(!n&&s){let t=q(s,["attrs","idx"]);n=r.themeContent["a:theme"]["a:themeElements"]["a:fmtScheme"]["a:lnStyleLst"]["a:ln"][Number(t)-1]}n||(n=t);let i=q(n,["a:noFill"]),o=n["a:solidFill"]||n["a:gradFill"],l=void 0!==q(n,["attrs","w"]),h=i?0:parseInt(q(n,["attrs","w"]))/12700;isNaN(h)&&(h=n&&n!==t&&(o||l)?.75:0);let u=null;if(n["a:solidFill"]){let t=tg(n["a:solidFill"],void 0,void 0,r);t&&(u={type:"color",value:t})}if(!u&&!a&&s){let t=tg(s,void 0,void 0,r);t&&(u={type:"color",value:t})}if(!u&&n["a:gradFill"]){let t=tc(n["a:gradFill"],r);t&&t.colors&&t.colors.length>0&&(u={type:"gradient",value:t})}u||(u={type:"color",value:"transparent"});let c=q(n,["a:prstDash","attrs","val"]),f="solid",d="0";switch(c){case"solid":f="solid",d="0";break;case"dash":f="dashed",d="5";break;case"dashDot":f="dashed",d="5, 5, 1, 5";break;case"dot":f="dotted",d="1, 5";break;case"lgDash":f="dashed",d="10, 5";break;case"lgDashDotDot":f="dotted",d="10, 5, 1, 5, 1, 5";break;case"sysDash":f="dashed",d="5, 2";break;case"sysDashDot":f="dotted",d="5, 2, 1, 5";break;case"sysDashDotDot":f="dotted",d="5, 2, 1, 5, 1, 5";break;case"sysDot":f="dotted",d="2, 5"}return{borderColor:u,borderWidth:h,borderType:f,strokeDasharray:d,headEnd:tL(q(n,["a:headEnd"])),tailEnd:tL(q(n,["a:tailEnd"]))}}function tv(t,e){if(!t)return[];t.constructor!==Array&&(t=[t]);let r=[];for(let a of t){let t=q(a,["c:spPr","a:solidFill","a:schemeClr"]);t||(t=q(a,["c:spPr","a:ln","a:solidFill","a:schemeClr"])),t||(t=q(a,["c:marker","c:spPr","a:ln","a:solidFill","a:schemeClr"]));let s=q(t,["attrs","val"]);if(s){s=q(e.themeContent,["a:theme","a:themeElements","a:clrScheme",`a:${s}`,"a:srgbClr","attrs","val"]);let r=q(t,["a:tint","attrs","val"])/1e5;s&&!isNaN(r)&&(s=X(s,r))}else s=q(a,["c:spPr","a:solidFill","a:srgbClr","attrs","val"]);s&&(s="#"+s),r.push(s)}return r}function tM(t){let e=[];return t&&U(t,(t,r)=>{let a=[],s=q(t,["c:tx","c:strRef","c:strCache","c:pt","c:v"])||r,n={};return q(t,["c:cat","c:strRef","c:strCache","c:pt"])?U(t["c:cat"]["c:strRef"]["c:strCache"]["c:pt"],t=>(n[t.attrs.idx]=t["c:v"],"")):q(t,["c:cat","c:numRef","c:numCache","c:pt"])&&U(t["c:cat"]["c:numRef"]["c:numCache"]["c:pt"],t=>(n[t.attrs.idx]=t["c:v"],"")),q(t,["c:val","c:numRef","c:numCache","c:pt"])&&U(t["c:val"]["c:numRef"]["c:numCache"]["c:pt"],t=>(a.push({x:t.attrs.idx,y:parseFloat(t["c:v"])}),"")),e.push({key:s,values:a,xlabels:n}),""}),e}function tw(t){let e=[];if(!t)return e;let r=t.constructor===Array?t:[t],a=r[0],s=[];for(let t of(U(a["c:xVal"]["c:numRef"]["c:numCache"]["c:pt"],t=>(s.push(parseFloat(t["c:v"])),"")),e.push(s),r)){let r=[];U(t["c:yVal"]["c:numRef"]["c:numCache"]["c:pt"],t=>(r.push(parseFloat(t["c:v"])),"")),e.push(r)}return e}let t_=72/914400;function tk(t){let e=1,r=q(t,["a:pPr","attrs","lvl"]);return void 0!==r&&(e=parseInt(r)+1),e}function tx(t,e){if(!t)return"";let r=q(t,["p:txBody","a:lstStyle",e,"attrs","algn"]);return r||(r=q(t,["p:txBody","a:p","a:pPr","attrs","algn"])),r||""}function tC(t,e){e&&t.push(e)}function tS(t,e,r){e&&(tC(t,q(e,["p:txBody","a:lstStyle",`a:lvl${r}pPr`])),tC(t,q(e,["p:txBody","a:p","a:pPr"])))}function tI(t,e,r,a,s,n,i){var o;if(!t)return null;let l=t["a:pPr"],h=tk(t),u=[];return tC(u,l),e&&tC(u,q(e,["a:lstStyle",`a:lvl${h}pPr`])),tS(u,r,h),tS(u,a,h),!function(t,e,r,a){if(!a)return;let s=`a:lvl${r}pPr`;"title"===e||"ctrTitle"===e||"subTitle"===e?(tC(t,q(a,["p:titleStyle",s])),"subTitle"===e&&tC(t,q(a,["p:bodyStyle",s]))):"body"===e?tC(t,q(a,["p:bodyStyle",s])):tC(t,q(a,["p:otherStyle",s]))}(u,s,h,n),o=q(i,["defaultTextStyle"]),o&&(tC(u,q(o,[`a:lvl${h}pPr`])),tC(u,q(o,["a:defPPr"]))),u}function tA(t){let e=q(t,["a:spcPct","attrs","val"]),r=q(t,["a:spcPts","attrs","val"]);return e?parseInt(e)/1e5+"em":r?parseInt(r)/100+"pt":void 0}function tP(t,e){let r=q(t,["attrs",e]);if(void 0!==r&&""!==r)return W(parseInt(r)*t_)+"pt"}function tR(t,e,r,a){let s=q(t,["p:txBody","a:bodyPr","attrs",a]);return null!=s&&""!==s||null!=(s=q(e,["p:txBody","a:bodyPr","attrs",a]))&&""!==s?s:q(r,["p:txBody","a:bodyPr","attrs",a])}function tz(t){if(null==t||""===t)return null;let e=parseInt(t,10);return Number.isFinite(e)?W(e*t_):null}function tT(t,e,r){let a;return(t?a=t["a:off"].attrs:e?a=e["a:off"].attrs:r&&(a=r["a:off"].attrs),a)?{top:W(parseInt(a.y)*t_),left:W(parseInt(a.x)*t_)}:{top:0,left:0}}function tF(t,e,r){let a;return(t?a=t["a:ext"].attrs:e?a=e["a:ext"].attrs:r&&(a=r["a:ext"].attrs),a)?{width:W(parseInt(a.cx)*t_),height:W(parseInt(a.cy)*t_)}:{width:0,height:0}}let tO={34:"''",35:"\\#",36:"\\$",37:"\\%",38:"\\&",60:"\\ensuremath{<}",62:"\\ensuremath{>}",92:"\\textbackslash",94:"\\textasciicircum",95:"\\_",123:"\\{",125:"\\}",126:"\\textasciitilde",160:"~",161:"\\textexclamdown",162:"\\textcent",163:"\\textsterling",164:"\\textcurrency",165:"\\textyen",166:"\\textbrokenbar",167:"\\textsection",168:"\\textasciidieresis",169:"\\textcopyright",170:"\\textordfeminine",171:"\\guillemotleft",172:"\\textlnot",173:"\\-",174:"\\textregistered",175:"\\textasciimacron",176:"\\textdegree",177:"\\ensuremath{\\pm}",178:"\\texttwosuperior",179:"\\textthreesuperior",180:"\\textasciiacute",181:"\\textmu",182:"\\textparagraph",183:"\\textperiodcentered",185:"\\textonesuperior",186:"\\textordmasculine",187:"\\guillemotright",188:"\\textonequarter",189:"\\textonehalf",190:"\\textthreequarters",191:"\\textquestiondown",192:"\\`A",193:"\\'A",194:"\\^A",195:"\\~A",196:'\\"A',197:"\\r{A}",198:"\\AE",199:"\\c{C}",200:"\\`E",201:"\\'E",202:"\\^E",203:'\\"E',204:"\\`I",205:"\\'I",206:"\\^I",207:'\\"I',208:"\\DH",209:"\\~N",210:"\\`O",211:"\\'O",212:"\\^O",213:"\\~O",214:'\\"O',215:"\\texttimes",216:"\\O",217:"\\`U",218:"\\'U",219:"\\^U",220:'\\"U',221:"\\'Y",222:"\\TH",223:"\\ss",224:"\\`a",225:"\\'a",226:"\\^a",227:"\\~a",228:'\\"a',229:"\\r{a}",230:"\\ae",231:"\\c{c}",232:"\\`e",233:"\\'e",234:"\\^e",235:'\\"e',236:"\\`\\i",237:"\\'\\i",238:"\\^\\i",239:'\\"\\i',240:"\\dh",241:"\\~n",242:"\\`o",243:"\\'o",244:"\\^o",245:"\\~o",246:'\\"o',247:"\\textdiv",248:"\\o",249:"\\`u",250:"\\'u",251:"\\^u",252:'\\"u',253:"\\'y",254:"\\th",255:'\\"y',256:"\\={A}",257:"\\={a}",258:"\\u{A}",259:"\\u{a}",260:"\\k{A}",261:"\\k{a}",262:"\\'C",263:"\\'c",264:"\\^{C}",265:"\\^{c}",266:"\\.{C}",267:"\\.{c}",268:"\\v{C}",269:"\\v{c}",270:"\\v{D}",271:"\\v{d}",272:"\\DJ",273:"\\dj",274:"\\={E}",275:"\\={e}",276:"\\u{E}",277:"\\u{e}",278:"\\.{E}",279:"\\.{e}",280:"\\k{E}",281:"\\k{e}",282:"\\v{E}",283:"\\v{e}",284:"\\^{G}",285:"\\^{g}",286:"\\u{G}",287:"\\u{g}",288:"\\.{G}",289:"\\.{g}",290:"\\c{G}",291:"\\c{g}",292:"\\^{H}",293:"\\^{h}",294:"\\={H}",295:"\\={h}",296:"\\~{I}",297:"\\~{i}",298:"\\={I}",299:"\\={i}",300:"\\u{I}",301:"\\u{i}",302:"\\k{I}",303:"\\k{i}",304:"\\.I",305:"\\i",306:"\\IJ",307:"\\ij",308:"\\^{J}",309:"\\^{j}",310:"\\c{K}",311:"\\c{k}",312:"\\textsc{k}",313:"\\'L",314:"\\'l",315:"\\c{L}",316:"\\c{l}",317:"\\v{L}",318:"\\v{l}",319:"\\.{L}",320:"\\.{l}",321:"\\L",322:"\\l",323:"\\'N",324:"\\'n",325:"\\c{N}",326:"\\c{n}",327:"\\v{N}",328:"\\v{n}",329:"\\nument{149}",330:"\\NG",331:"\\ng",332:"\\={O}",333:"\\={o}",334:"\\u{O}",335:"\\u{o}",336:"\\H{O}",337:"\\H{o}",338:"\\OE",339:"\\oe",340:"\\'R",341:"\\'r",342:"\\c{R}",343:"\\c{r}",344:"\\v{R}",345:"\\v{r}",346:"\\'S",347:"\\'s",348:"\\^{S}",349:"\\^{s}",350:"\\c{S}",351:"\\c{s}",352:"\\v{S}",353:"\\v{s}",354:"\\c{T}",355:"\\c{t}",356:"\\v{T}",357:"\\v{t}",358:"\\={T}",359:"\\={t}",360:"\\~{U}",361:"\\~{u}",362:"\\={U}",363:"\\={u}",364:"\\u{U}",365:"\\u{u}",366:"\\r{U}",367:"\\r{u}",368:"\\'{U}",369:"\\'{u}",370:"\\k{U}",371:"\\k{u}",372:"\\^{W}",373:"\\^{w}",374:"\\^{Y}",375:"\\^{y}",376:'\\"Y',377:"\\'Z",378:"\\'z",379:"\\.Z",380:"\\.z",381:"\\v{Z}",382:"\\v{z}",402:"\\textflorin",405:"\\texthvlig",414:"\\textnrleg",501:"\\'{g}",552:"\\c{E}",553:"\\c{e}",601:"\\textschwa",603:"\\varepsilon",632:"\\textphi",660:"\\textglotstop",670:"\\textturnk",695:"\\textsuperscript{w}",700:"'",710:"\\textasciicircum",711:"\\textasciicaron",728:"\\textasciibreve",729:"\\textperiodcentered",730:"\\r{}",731:"\\k{}",732:"\\textasciitilde",733:"\\textacutedbl",775:"\\ensuremath{\\dot{}}",776:"\\ensuremath{\\ddot{}}",902:"\\'{}A",904:"\\'{}E",905:"\\'{}H",906:"\\'{}I",908:"\\'{}O",910:"\\'{}Y",911:"\\'{}\\ensuremath{\\Omega}",912:"\\acute{\\ddot{\\iota}}",913:"A",914:"B",915:"\\ensuremath{\\Gamma}",916:"\\ensuremath{\\Delta}",917:"E",918:"Z",919:"H",920:"\\ensuremath{\\Theta}",921:"I",922:"K",923:"\\ensuremath{\\Lambda}",924:"M",925:"N",926:"\\ensuremath{\\Xi}",927:"O",928:"\\ensuremath{\\Pi}",929:"P",931:"\\ensuremath{\\Sigma}",932:"T",933:"\\ensuremath{\\Upsilon}",934:"\\ensuremath{\\Phi}",935:"X",936:"\\ensuremath{\\Psi}",937:"\\ensuremath{\\Omega}",938:"\\ensuremath{\\ddot{I}}",939:"\\ensuremath{\\ddot{Y}}",940:"\\ensuremath{\\acute\\alpha}",941:"\\ensuremath{\\acute\\epsilon}",942:"\\ensuremath{\\acute\\eta}",943:"\\ensuremath{\\acute\\iota}",944:"\\ensuremath{\\acute{\\ddot{\\upsilon}}}",945:"\\ensuremath{\\alpha}",946:"\\ensuremath{\\beta}",947:"\\ensuremath{\\gamma}",948:"\\ensuremath{\\delta}",949:"\\ensuremath{\\varepsilon}",950:"\\ensuremath{\\zeta}",951:"\\ensuremath{\\eta}",952:"\\ensuremath{\\theta}",953:"\\ensuremath{\\iota}",954:"\\ensuremath{\\kappa}",955:"\\ensuremath{\\lambda}",956:"\\ensuremath{\\mu}",957:"\\ensuremath{\\nu}",958:"\\ensuremath{\\xi}",959:"o",960:"\\ensuremath{\\pi}",961:"\\ensuremath{\\rho}",962:"\\ensuremath{\\varsigma}",963:"\\ensuremath{\\sigma}",964:"\\ensuremath{\\tau}",965:"\\ensuremath{\\upsilon}",966:"\\ensuremath{\\varphi}",967:"\\ensuremath{\\chi}",968:"\\ensuremath{\\psi}",969:"\\ensuremath{\\omega}",970:"\\ensuremath{\\ddot\\iota}",971:"\\ensuremath{\\ddot{\\upsilon}}",972:"\\'{o}",973:"\\ensuremath{\\acute\\upsilon}",974:"\\ensuremath{\\acute\\omega}",977:"\\ensuremath{\\vartheta}",978:"\\Upsilon",981:"\\ensuremath{\\phi}",982:"\\ensuremath{\\varpi}",1008:"\\ensuremath{\\varkappa}",1009:"\\ensuremath{\\varrho}",1013:"\\ensuremath{\\epsilon}",1014:"\\ensuremath{\\backepsilon}",1024:"\\`\\CYRE",1025:"\\CYRYO",1026:"\\CYRDJE",1027:"\\`\\CYRG",1028:"\\CYRIE",1029:"\\CYRDZE",1030:"\\CYRII",1031:"\\CYRYI",1032:"\\CYRJE",1033:"\\CYRLJE",1034:"\\CYRNJE",1035:"\\CYRTSHE",1036:"\\`\\CYRK",1037:"\\`\\CYRI",1038:"\\CYRUSHRT",1039:"\\CYRDZHE",1040:"\\CYRA",1041:"\\CYRB",1042:"\\CYRV",1043:"\\CYRG",1044:"\\CYRD",1045:"\\CYRE",1046:"\\CYRZH",1047:"\\CYRZ",1048:"\\CYRI",1049:"\\CYRISHRT",1050:"\\CYRK",1051:"\\CYRL",1052:"\\CYRM",1053:"\\CYRN",1054:"\\CYRO",1055:"\\CYRP",1056:"\\CYRR",1057:"\\CYRS",1058:"\\CYRT",1059:"\\CYRU",1060:"\\CYRF",1061:"\\CYRH",1062:"\\CYRC",1063:"\\CYRCH",1064:"\\CYRSH",1065:"\\CYRSHCH",1066:"\\CYRHRDSN",1067:"\\CYRERY",1068:"\\CYRSFTSN",1069:"\\CYREREV",1070:"\\CYRYU",1071:"\\CYRYA",1072:"\\cyra",1073:"\\cyrb",1074:"\\cyrv",1075:"\\cyrg",1076:"\\cyrd",1077:"\\cyre",1078:"\\cyrzh",1079:"\\cyrz",1080:"\\cyri",1081:"\\cyrishrt",1082:"\\cyrk",1083:"\\cyrl",1084:"\\cyrm",1085:"\\cyrn",1086:"\\cyro",1087:"\\cyrp",1088:"\\cyrr",1089:"\\cyrs",1090:"\\cyrt",1091:"\\cyru",1092:"\\cyrf",1093:"\\cyrh",1094:"\\cyrc",1095:"\\cyrch",1096:"\\cyrsh",1097:"\\cyrshch",1098:"\\cyrhrdsn",1099:"\\cyrery",1100:"\\cyrsftsn",1101:"\\cyrerev",1102:"\\cyryu",1103:"\\cyrya",1104:"\\`\\cyre",1105:"\\cyryo",1106:"\\cyrdje",1107:"\\`\\cyrg",1108:"\\cyrie",1109:"\\cyrdze",1110:"\\cyrii",1111:"\\cyryi",1112:"\\cyrje",1113:"\\cyrlje",1114:"\\cyrnje",1115:"\\cyrtshe",1116:"\\`\\cyrk",1117:"\\`\\cyri",1118:"\\cyrushrt",1119:"\\cyrdzhe",1120:"\\cyrchar\\CYROMEGA",1121:"\\cyrchar\\cyromega",1122:"\\CYRYAT",1123:"\\cyryat",1124:"\\cyrchar\\CYRIOTE",1125:"\\cyrchar\\cyriote",1126:"\\cyrchar\\CYRLYUS",1127:"\\cyrchar\\cyrlyus",1128:"\\cyrchar\\CYRIOTLYUS",1129:"\\cyrchar\\cyriotlyus",1130:"\\CYRBYUS",1131:"\\cyrbyus",1132:"\\cyrchar\\CYRIOTBYUS",1133:"\\cyrchar\\cyriotbyus",1134:"\\cyrchar\\CYRKSI",1135:"\\cyrchar\\cyrksi",1136:"\\cyrchar\\CYRPSI",1137:"\\cyrchar\\cyrpsi",1138:"\\CYRFITA",1139:"\\cyrfita",1140:"\\CYRIZH",1141:"\\cyrizh",1142:"\\C\\CYRIZH",1143:"\\C\\cyrizh",1144:"\\cyrchar\\CYRUK",1145:"\\cyrchar\\cyruk",1146:"\\cyrchar\\CYROMEGARND",1147:"\\cyrchar\\cyromegarnd",1148:"\\cyrchar\\CYROMEGATITLO",1149:"\\cyrchar\\cyromegatitlo",1150:"\\cyrchar\\CYROT",1151:"\\cyrchar\\cyrot",1152:"\\cyrchar\\CYRKOPPA",1153:"\\cyrchar\\cyrkoppa",1154:"\\cyrchar\\cyrthousands",1160:"\\cyrchar\\cyrhundredthousands",1161:"\\cyrchar\\cyrmillions",1164:"\\CYRSEMISFTSN",1165:"\\cyrsemisftsn",1166:"\\CYRRTICK",1167:"\\cyrrtick",1168:"\\CYRGUP",1169:"\\cyrgup",1170:"\\CYRGHCRS",1171:"\\cyrghcrs",1172:"\\CYRGHK",1173:"\\cyrghk",1174:"\\CYRZHDSC",1175:"\\cyrzhdsc",1176:"\\CYRZDSC",1177:"\\cyrzdsc",1178:"\\CYRKDSC",1179:"\\cyrkdsc",1180:"\\CYRKVCRS",1181:"\\cyrkvcrs",1182:"\\CYRKHCRS",1183:"\\cyrkhcrs",1184:"\\CYRKBEAK",1185:"\\cyrkbeak",1186:"\\CYRNDSC",1187:"\\cyrndsc",1188:"\\CYRNG",1189:"\\cyrng",1190:"\\CYRPHK",1191:"\\cyrphk",1192:"\\CYRABHHA",1193:"\\cyrabhha",1194:"\\CYRSDSC",1195:"\\cyrsdsc",1196:"\\CYRTDSC",1197:"\\cyrtdsc",1198:"\\CYRY",1199:"\\cyry",1200:"\\CYRYHCRS",1201:"\\cyryhcrs",1202:"\\CYRHDSC",1203:"\\cyrhdsc",1204:"\\CYRTETSE",1205:"\\cyrtetse",1206:"\\CYRCHRDSC",1207:"\\cyrchrdsc",1208:"\\CYRCHVCRS",1209:"\\cyrchvcrs",1210:"\\CYRSHHA",1211:"\\cyrshha",1212:"\\CYRABHCH",1213:"\\cyrabhch",1214:"\\CYRABHCHDSC",1215:"\\cyrabhchdsc",1216:"\\CYRpalochka",1217:"\\U\\CYRZH",1218:"\\U\\cyrzh",1219:"\\CYRKHK",1220:"\\cyrkhk",1221:"\\CYRLDSC",1222:"\\cyrldsc",1223:"\\CYRNHK",1224:"\\cyrnhk",1227:"\\CYRCHLDSC",1228:"\\cyrchldsc",1229:"\\CYRMDSC",1230:"\\cyrmdsc",1232:"\\U\\CYRA",1233:"\\U\\cyra",1234:'\\"\\CYRA',1235:'\\"\\cyra',1236:"\\CYRAE",1237:"\\cyrae",1238:"\\U\\CYRE",1239:"\\U\\cyre",1240:"\\CYRSCHWA",1241:"\\cyrschwa",1242:'\\"\\CYRSCHWA',1243:'\\"\\cyrschwa',1244:'\\"\\CYRZH',1245:'\\"\\cyrzh',1246:'\\"\\CYRZ',1247:'\\"\\cyrz',1248:"\\CYRABHDZE",1249:"\\cyrabhdze",1250:"\\=\\CYRI",1251:"\\=\\cyri",1252:'\\"\\CYRI',1253:'\\"\\cyri',1254:'\\"\\CYRO',1255:'\\"\\cyro',1256:"\\CYROTLD",1257:"\\cyrotld",1260:'\\"\\CYREREV',1261:'\\"\\cyrerev',1262:"\\=\\CYRU",1263:"\\=\\cyru",1264:'\\"\\CYRU',1265:'\\"\\cyru',1266:"\\H\\CYRU",1267:"\\H\\cyru",1268:'\\"\\CYRCH',1269:'\\"\\cyrch',1270:"\\CYRGDSC",1271:"\\cyrgdsc",1272:'\\"\\CYRERY',1273:'\\"\\cyrery',1274:"\\CYRGDSCHCRS",1275:"\\cyrgdschcrs",1276:"\\CYRHHK",1277:"\\cyrhhk",1278:"\\CYRHHCRS",1279:"\\cyrhhcrs",3647:"\\textbaht",8192:"\\enskip",8193:"\\quad",8194:"\\enskip",8195:"\\quad",8196:"\\hspace{0.33em}",8197:"\\hspace{0.25em}",8198:"\\hspace{0.167em}",8199:"~",8200:"\\;",8201:"\\,",8202:"\\hspace{1pt}",8204:"\\textcompwordmark",8208:"-",8209:"\\nobreakdash-",8210:"-",8211:"\\textendash",8212:"\\textemdash",8213:"\\textemdash",8214:"\\ensuremath{\\Vert}",8216:"\\textquoteleft",8217:"\\textquoteright",8218:"\\quotesinglbase",8220:"\\textquotedblleft",8221:"\\textquotedblright",8222:"\\quotedblbase",8224:"\\textdagger",8225:"\\textdaggerdbl",8226:"\\textbullet",8228:".",8229:"..",8230:"\\textellipsis",8240:"\\textperthousand",8241:"\\textpertenthousand",8242:"'",8243:"''",8244:"'''",8245:"\\ensuremath{\\backprime}",8249:"\\guilsinglleft",8250:"\\guilsinglright",8251:"\\textreferencemark",8253:"\\textinterrobang",8260:"\\textfractionsolidus",8270:"\\textasteriskcentered",8274:"\\textdiscount",8279:"''''",8287:"\\hspace{0.22em}",8288:"\\nolinebreak",8289:"",8353:"\\textcolonmonetary",8356:"\\textlira",8358:"\\textnaira",8361:"\\textwon",8363:"\\textdong",8364:"\\texteuro",8369:"\\textpeso",8450:"\\ensuremath{\\mathbb{C}}",8451:"\\textcelsius",8457:"\\ensuremath{^\\circ}F",8458:"\\ensuremath{g}",8459:"\\ensuremath{\\mathscr{H}}",8460:"\\ensuremath{\\mathfrak{H}}",8461:"\\ensuremath{\\mathbb{H}}",8462:"\\ensuremath{h}",8463:"\\ensuremath{\\hbar}",8464:"\\ensuremath{\\mathscr{I}}",8465:"\\ensuremath{\\mathfrak{I}}",8466:"\\ensuremath{\\mathscr{L}}",8467:"\\ensuremath{\\ell}",8469:"\\ensuremath{\\mathbb{N}}",8470:"\\textnumero",8471:"\\textcircledP",8472:"\\ensuremath{\\wp}",8473:"\\ensuremath{\\mathbb{P}}",8474:"\\ensuremath{\\mathbb{Q}}",8475:"\\ensuremath{\\mathscr{R}}",8476:"\\ensuremath{\\mathfrak{R}}",8477:"\\ensuremath{\\mathbb{R}}",8478:"\\textrecipe",8480:"\\textservicemark",8482:"\\texttrademark",8484:"\\ensuremath{\\mathbb{Z}}",8486:"\\textohm",8487:"\\textmho",8488:"\\ensuremath{\\mathfrak{Z}}",8490:"K",8491:"\\r{A}",8492:"\\ensuremath{\\mathscr{B}}",8493:"\\ensuremath{\\mathfrak{C}}",8494:"\\textestimated",8495:"\\ensuremath{e}",8496:"\\ensuremath{\\mathscr{E}}",8497:"\\ensuremath{\\mathscr{F}}",8499:"\\ensuremath{\\mathscr{M}}",8500:"\\ensuremath{o}",8501:"\\ensuremath{\\aleph}",8502:"\\ensuremath{\\beth}",8503:"\\ensuremath{\\gimel}",8504:"\\ensuremath{\\daleth}",8531:"\\textfrac{1}{3}",8532:"\\textfrac{2}{3}",8533:"\\textfrac{1}{5}",8534:"\\textfrac{2}{5}",8535:"\\textfrac{3}{5}",8536:"\\textfrac{4}{5}",8537:"\\textfrac{1}{6}",8538:"\\textfrac{5}{6}",8539:"\\textfrac{1}{8}",8540:"\\textfrac{3}{8}",8541:"\\textfrac{5}{8}",8542:"\\textfrac{7}{8}",8592:"\\textleftarrow",8593:"\\textuparrow",8594:"\\textrightarrow",8595:"\\textdownarrow",8596:"\\ensuremath{\\leftrightarrow}",8597:"\\ensuremath{\\updownarrow}",8598:"\\ensuremath{\\nwarrow}",8599:"\\ensuremath{\\nearrow}",8600:"\\ensuremath{\\searrow}",8601:"\\ensuremath{\\swarrow}",8602:"\\ensuremath{\\nleftarrow}",8603:"\\ensuremath{\\nrightarrow}",8604:"\\ensuremath{\\arrowwaveleft}",8605:"\\ensuremath{\\arrowwaveright}",8606:"\\ensuremath{\\twoheadleftarrow}",8608:"\\ensuremath{\\twoheadrightarrow}",8610:"\\ensuremath{\\leftarrowtail}",8611:"\\ensuremath{\\rightarrowtail}",8614:"\\ensuremath{\\mapsto}",8617:"\\ensuremath{\\hookleftarrow}",8618:"\\ensuremath{\\hookrightarrow}",8619:"\\ensuremath{\\looparrowleft}",8620:"\\ensuremath{\\looparrowright}",8621:"\\ensuremath{\\leftrightsquigarrow}",8622:"\\ensuremath{\\nleftrightarrow}",8624:"\\ensuremath{\\Lsh}",8625:"\\ensuremath{\\Rsh}",8630:"\\ensuremath{\\curvearrowleft}",8631:"\\ensuremath{\\curvearrowright}",8634:"\\ensuremath{\\circlearrowleft}",8635:"\\ensuremath{\\circlearrowright}",8636:"\\ensuremath{\\leftharpoonup}",8637:"\\ensuremath{\\leftharpoondown}",8638:"\\ensuremath{\\upharpoonright}",8639:"\\ensuremath{\\upharpoonleft}",8640:"\\ensuremath{\\rightharpoonup}",8641:"\\ensuremath{\\rightharpoondown}",8642:"\\ensuremath{\\downharpoonright}",8643:"\\ensuremath{\\downharpoonleft}",8644:"\\ensuremath{\\rightleftarrows}",8645:"\\ensuremath{\\dblarrowupdown}",8646:"\\ensuremath{\\leftrightarrows}",8647:"\\ensuremath{\\leftleftarrows}",8648:"\\ensuremath{\\upuparrows}",8649:"\\ensuremath{\\rightrightarrows}",8650:"\\ensuremath{\\downdownarrows}",8651:"\\ensuremath{\\leftrightharpoons}",8652:"\\ensuremath{\\rightleftharpoons}",8653:"\\ensuremath{\\nLeftarrow}",8654:"\\ensuremath{\\nLeftrightarrow}",8655:"\\ensuremath{\\nRightarrow}",8656:"\\ensuremath{\\Leftarrow}",8657:"\\ensuremath{\\Uparrow}",8658:"\\ensuremath{\\Rightarrow}",8659:"\\ensuremath{\\Downarrow}",8660:"\\ensuremath{\\Leftrightarrow}",8661:"\\ensuremath{\\Updownarrow}",8666:"\\ensuremath{\\Lleftarrow}",8667:"\\ensuremath{\\Rrightarrow}",8669:"\\ensuremath{\\rightsquigarrow}",8693:"\\ensuremath{\\DownArrowUpArrow}",8704:"\\ensuremath{\\forall}",8705:"\\ensuremath{\\complement}",8706:"\\ensuremath{\\partial}",8707:"\\ensuremath{\\exists}",8708:"\\ensuremath{\\nexists}",8709:"\\ensuremath{\\varnothing}",8710:"\\ensuremath{\\Delta}",8711:"\\ensuremath{\\nabla}",8712:"\\ensuremath{\\in}",8713:"\\ensuremath{\\notin}",8714:"\\ensuremath{\\in}",8715:"\\ensuremath{\\ni}",8716:"\\ensuremath{\\not\\ni}",8717:"\\ensuremath{\\ni}",8718:"\\ensuremath{\\blacksquare}",8719:"\\ensuremath{\\prod}",8720:"\\ensuremath{\\coprod}",8721:"\\ensuremath{\\sum}",8722:"\\ensuremath{-}",8723:"\\ensuremath{\\mp}",8724:"\\ensuremath{\\dotplus}",8725:"\\ensuremath{/}",8726:"\\ensuremath{\\smallsetminus}",8727:"\\ensuremath{*}",8728:"\\ensuremath{\\circ}",8729:"\\ensuremath{\\bullet}",8730:"\\ensuremath{\\sqrt{}}",8731:"\\ensuremath{\\sqrt[3]{}}",8732:"\\ensuremath{\\sqrt[4]{}}",8733:"\\ensuremath{\\propto}",8734:"\\ensuremath{\\infty}",8735:"\\ensuremath{\\rightangle}",8736:"\\ensuremath{\\angle}",8737:"\\ensuremath{\\measuredangle}",8738:"\\ensuremath{\\sphericalangle}",8739:"\\ensuremath{\\mid}",8740:"\\ensuremath{\\nmid}",8741:"\\ensuremath{\\parallel}",8742:"\\ensuremath{\\nparallel}",8743:"\\ensuremath{\\wedge}",8744:"\\ensuremath{\\vee}",8745:"\\ensuremath{\\cap}",8746:"\\ensuremath{\\cup}",8747:"\\ensuremath{\\int}",8748:"\\ensuremath{\\iint}",8749:"\\ensuremath{\\iiint}",8750:"\\ensuremath{\\oint}",8751:"\\ensuremath{\\surfintegral}",8752:"\\ensuremath{\\volintegral}",8753:"\\ensuremath{\\clwintegral}",8756:"\\ensuremath{\\therefore}",8757:"\\ensuremath{\\because}",8758:"\\ensuremath{:}",8759:"\\ensuremath{::}",8762:"\\ensuremath{\\mathbin{{:}\\!\\!{-}\\!\\!{:}}}",8763:"\\ensuremath{\\homothetic}",8764:"\\ensuremath{\\sim}",8765:"\\ensuremath{\\backsim}",8766:"\\ensuremath{\\lazysinv}",8768:"\\ensuremath{\\wr}",8769:"\\ensuremath{\\not\\sim}",8771:"\\ensuremath{\\simeq}",8772:"\\ensuremath{\\not\\simeq}",8773:"\\ensuremath{\\cong}",8774:"\\ensuremath{\\approxnotequal}",8775:"\\ensuremath{\\not\\cong}",8776:"\\ensuremath{\\approx}",8777:"\\ensuremath{\\not\\approx}",8778:"\\ensuremath{\\approxeq}",8779:"\\ensuremath{\\tildetrpl}",8780:"\\ensuremath{\\allequal}",8781:"\\ensuremath{\\asymp}",8782:"\\ensuremath{\\Bumpeq}",8783:"\\ensuremath{\\bumpeq}",8784:"\\ensuremath{\\doteq}",8785:"\\ensuremath{\\doteqdot}",8786:"\\ensuremath{\\fallingdotseq}",8787:"\\ensuremath{\\risingdotseq}",8788:"\\ensuremath{:=}",8789:"\\ensuremath{=:}",8790:"\\ensuremath{\\eqcirc}",8791:"\\ensuremath{\\circeq}",8793:"\\ensuremath{\\estimates}",8795:"\\ensuremath{\\starequal}",8796:"\\ensuremath{\\triangleq}",8800:"\\ensuremath{\\neq}",8801:"\\ensuremath{\\equiv}",8802:"\\ensuremath{\\not\\equiv}",8804:"\\ensuremath{\\leq}",8805:"\\ensuremath{\\geq}",8806:"\\ensuremath{\\leqq}",8807:"\\ensuremath{\\geqq}",8808:"\\ensuremath{\\lneqq}",8809:"\\ensuremath{\\gneqq}",8810:"\\ensuremath{\\ll}",8811:"\\ensuremath{\\gg}",8812:"\\ensuremath{\\between}",8813:"\\ensuremath{\\not\\kern-0.3em\\times}",8814:"\\ensuremath{\\nless}",8815:"\\ensuremath{\\ngtr}",8816:"\\ensuremath{\\nleq}",8817:"\\ensuremath{\\ngeq}",8818:"\\ensuremath{\\lesssim}",8819:"\\ensuremath{\\gtrsim}",8820:"\\ensuremath{\\not\\lesssim}",8821:"\\ensuremath{\\not\\gtrsim}",8822:"\\ensuremath{\\lessgtr}",8823:"\\ensuremath{\\gtrless}",8824:"\\ensuremath{\\notlessgreater}",8825:"\\ensuremath{\\notgreaterless}",8826:"\\ensuremath{\\prec}",8827:"\\ensuremath{\\succ}",8828:"\\ensuremath{\\preceq}",8829:"\\ensuremath{\\succeq}",8830:"\\ensuremath{\\precsim}",8831:"\\ensuremath{\\succsim}",8832:"\\ensuremath{\\nprec}",8833:"\\ensuremath{\\nsucc}",8834:"\\ensuremath{\\subset}",8835:"\\ensuremath{\\supset}",8836:"\\ensuremath{\\not\\subset}",8837:"\\ensuremath{\\not\\supset}",8838:"\\ensuremath{\\subseteq}",8839:"\\ensuremath{\\supseteq}",8840:"\\ensuremath{\\nsubseteq}",8841:"\\ensuremath{\\nsupseteq}",8842:"\\ensuremath{\\subsetneq}",8843:"\\ensuremath{\\supsetneq}",8846:"\\ensuremath{\\uplus}",8847:"\\ensuremath{\\sqsubset}",8848:"\\ensuremath{\\sqsupset}",8849:"\\ensuremath{\\sqsubseteq}",8850:"\\ensuremath{\\sqsupseteq}",8851:"\\ensuremath{\\sqcap}",8852:"\\ensuremath{\\sqcup}",8853:"\\ensuremath{\\oplus}",8854:"\\ensuremath{\\ominus}",8855:"\\ensuremath{\\otimes}",8856:"\\ensuremath{\\oslash}",8857:"\\ensuremath{\\odot}",8858:"\\ensuremath{\\circledcirc}",8859:"\\ensuremath{\\circledast}",8861:"\\ensuremath{\\circleddash}",8862:"\\ensuremath{\\boxplus}",8863:"\\ensuremath{\\boxminus}",8864:"\\ensuremath{\\boxtimes}",8865:"\\ensuremath{\\boxdot}",8866:"\\ensuremath{\\vdash}",8867:"\\ensuremath{\\dashv}",8868:"\\ensuremath{\\top}",8869:"\\ensuremath{\\perp}",8871:"\\ensuremath{\\truestate}",8872:"\\ensuremath{\\forcesextra}",8873:"\\ensuremath{\\Vdash}",8874:"\\ensuremath{\\Vvdash}",8875:"\\ensuremath{\\VDash}",8876:"\\ensuremath{\\nvdash}",8877:"\\ensuremath{\\nvDash}",8878:"\\ensuremath{\\nVdash}",8879:"\\ensuremath{\\nVDash}",8882:"\\ensuremath{\\vartriangleleft}",8883:"\\ensuremath{\\vartriangleright}",8884:"\\ensuremath{\\trianglelefteq}",8885:"\\ensuremath{\\trianglerighteq}",8886:"\\ensuremath{\\original}",8887:"\\ensuremath{\\image}",8888:"\\ensuremath{\\multimap}",8889:"\\ensuremath{\\hermitconjmatrix}",8890:"\\ensuremath{\\intercal}",8891:"\\ensuremath{\\veebar}",8894:"\\ensuremath{\\rightanglearc}",8896:"\\ensuremath{\\bigwedge}",8897:"\\ensuremath{\\bigvee}",8898:"\\ensuremath{\\bigcap}",8899:"\\ensuremath{\\bigcup}",8900:"\\ensuremath{\\diamond}",8901:"\\ensuremath{\\cdot}",8902:"\\ensuremath{\\star}",8903:"\\ensuremath{\\divideontimes}",8904:"\\ensuremath{\\bowtie}",8905:"\\ensuremath{\\ltimes}",8906:"\\ensuremath{\\rtimes}",8907:"\\ensuremath{\\leftthreetimes}",8908:"\\ensuremath{\\rightthreetimes}",8909:"\\ensuremath{\\backsimeq}",8910:"\\ensuremath{\\curlyvee}",8911:"\\ensuremath{\\curlywedge}",8912:"\\ensuremath{\\Subset}",8913:"\\ensuremath{\\Supset}",8914:"\\ensuremath{\\Cap}",8915:"\\ensuremath{\\Cup}",8916:"\\ensuremath{\\pitchfork}",8918:"\\ensuremath{\\lessdot}",8919:"\\ensuremath{\\gtrdot}",8920:"\\ensuremath{\\verymuchless}",8921:"\\ensuremath{\\verymuchgreater}",8922:"\\ensuremath{\\lesseqgtr}",8923:"\\ensuremath{\\gtreqless}",8926:"\\ensuremath{\\curlyeqprec}",8927:"\\ensuremath{\\curlyeqsucc}",8930:"\\ensuremath{\\not\\sqsubseteq}",8931:"\\ensuremath{\\not\\sqsupseteq}",8934:"\\ensuremath{\\lnsim}",8935:"\\ensuremath{\\gnsim}",8936:"\\ensuremath{\\precedesnotsimilar}",8937:"\\ensuremath{\\succnsim}",8938:"\\ensuremath{\\ntriangleleft}",8939:"\\ensuremath{\\ntriangleright}",8940:"\\ensuremath{\\ntrianglelefteq}",8941:"\\ensuremath{\\ntrianglerighteq}",8942:"\\ensuremath{\\vdots}",8943:"\\ensuremath{\\cdots}",8944:"\\ensuremath{\\udots}",8945:"\\ensuremath{\\ddots}",8965:"\\ensuremath{\\barwedge}",8966:"\\ensuremath{\\varperspcorrespond}",8968:"\\ensuremath{\\lceil}",8969:"\\ensuremath{\\rceil}",8970:"\\ensuremath{\\lfloor}",8971:"\\ensuremath{\\rfloor}",8981:"\\ensuremath{\\recorder}",8982:'\\ensuremath{\\mathchar"2208}',8988:"\\ensuremath{\\ulcorner}",8989:"\\ensuremath{\\urcorner}",8990:"\\ensuremath{\\llcorner}",8991:"\\ensuremath{\\lrcorner}",8994:"\\ensuremath{\\frown}",8995:"\\ensuremath{\\smile}",9001:"\\textlangle",9002:"\\textrangle",9136:"\\ensuremath{\\lmoustache}",9137:"\\ensuremath{\\rmoustache}",9250:"\\textblank",9251:"\\textvisiblespace",9632:"\\ensuremath{\\blacksquare}",9633:"\\ensuremath{\\square}",9642:"{\\small\\ensuremath{\\blacksquare}}",9645:"\\fbox{~~}",9651:"\\ensuremath{\\bigtriangleup}",9652:"\\ensuremath{\\blacktriangle}",9653:"\\ensuremath{\\vartriangle}",9656:"\\ensuremath{\\blacktriangleright}",9657:"\\ensuremath{\\triangleright}",9661:"\\ensuremath{\\bigtriangledown}",9662:"\\ensuremath{\\blacktriangledown}",9663:"\\ensuremath{\\triangledown}",9666:"\\ensuremath{\\blacktriangleleft}",9667:"\\ensuremath{\\triangleleft}",9674:"\\ensuremath{\\lozenge}",9675:"\\ensuremath{\\bigcirc}",9702:"\\textopenbullet",9711:"\\textbigcircle",9826:"\\ensuremath{\\diamond}",9833:"\\quarternote",9834:"\\textmusicalnote",9837:"\\flat",9838:"\\natural",9839:"\\sharp",10216:"\\ensuremath{\\langle}",10217:"\\ensuremath{\\rangle}",10229:"\\ensuremath{\\longleftarrow}",10230:"\\ensuremath{\\longrightarrow}",10231:"\\ensuremath{\\longleftrightarrow}",10232:"\\ensuremath{\\Longleftarrow}",10233:"\\ensuremath{\\Longrightarrow}",10234:"\\ensuremath{\\Longleftrightarrow}",10236:"\\ensuremath{\\longmapsto}",10239:"\\ensuremath{\\sim\\joinrel\\leadsto}",10643:"\\ensuremath{<\\kern-0.58em(}",10731:"\\ensuremath{\\blacklozenge}",10767:"\\ensuremath{\\clockoint}",10774:"\\ensuremath{\\sqrint}",10815:"\\ensuremath{\\amalg}",10862:"\\ensuremath{\\stackrel{*}{=}}",10869:"==",10877:"\\ensuremath{\\leqslant}",10878:"\\ensuremath{\\geqslant}",10885:"\\ensuremath{\\lessapprox}",10886:"\\ensuremath{\\gtrapprox}",10887:"\\ensuremath{\\lneq}",10888:"\\ensuremath{\\gneq}",10889:"\\ensuremath{\\lnapprox}",10890:"\\ensuremath{\\gnapprox}",10891:"\\ensuremath{\\lesseqqgtr}",10892:"\\ensuremath{\\gtreqqless}",10901:"\\ensuremath{\\eqslantless}",10902:"\\ensuremath{\\eqslantgtr}",10927:"\\ensuremath{\\preceq}",10928:"\\ensuremath{\\succeq}",10933:"\\ensuremath{\\precneqq}",10934:"\\ensuremath{\\succneqq}",10935:"\\ensuremath{\\precapprox}",10936:"\\ensuremath{\\succapprox}",10937:"\\ensuremath{\\precnapprox}",10938:"\\ensuremath{\\succnapprox}",10949:"\\ensuremath{\\subseteqq}",10950:"\\ensuremath{\\supseteqq}",10955:"\\ensuremath{\\subsetneqq}",10956:"\\ensuremath{\\supsetneqq}",11005:"\\ensuremath{{{/}\\!\\!{/}}}",12296:"\\ensuremath{\\langle}",12297:"\\ensuremath{\\rangle}",64256:"ff",64257:"fi",64258:"fl",64259:"ffi",64260:"ffl",119808:"\\ensuremath{\\mathbf{A}}",119809:"\\ensuremath{\\mathbf{B}}",119810:"\\ensuremath{\\mathbf{C}}",119811:"\\ensuremath{\\mathbf{D}}",119812:"\\ensuremath{\\mathbf{E}}",119813:"\\ensuremath{\\mathbf{F}}",119814:"\\ensuremath{\\mathbf{G}}",119815:"\\ensuremath{\\mathbf{H}}",119816:"\\ensuremath{\\mathbf{I}}",119817:"\\ensuremath{\\mathbf{J}}",119818:"\\ensuremath{\\mathbf{K}}",119819:"\\ensuremath{\\mathbf{L}}",119820:"\\ensuremath{\\mathbf{M}}",119821:"\\ensuremath{\\mathbf{N}}",119822:"\\ensuremath{\\mathbf{O}}",119823:"\\ensuremath{\\mathbf{P}}",119824:"\\ensuremath{\\mathbf{Q}}",119825:"\\ensuremath{\\mathbf{R}}",119826:"\\ensuremath{\\mathbf{S}}",119827:"\\ensuremath{\\mathbf{T}}",119828:"\\ensuremath{\\mathbf{U}}",119829:"\\ensuremath{\\mathbf{V}}",119830:"\\ensuremath{\\mathbf{W}}",119831:"\\ensuremath{\\mathbf{X}}",119832:"\\ensuremath{\\mathbf{Y}}",119833:"\\ensuremath{\\mathbf{Z}}",119834:"\\ensuremath{\\mathbf{a}}",119835:"\\ensuremath{\\mathbf{b}}",119836:"\\ensuremath{\\mathbf{c}}",119837:"\\ensuremath{\\mathbf{d}}",119838:"\\ensuremath{\\mathbf{e}}",119839:"\\ensuremath{\\mathbf{f}}",119840:"\\ensuremath{\\mathbf{g}}",119841:"\\ensuremath{\\mathbf{h}}",119842:"\\ensuremath{\\mathbf{i}}",119843:"\\ensuremath{\\mathbf{j}}",119844:"\\ensuremath{\\mathbf{k}}",119845:"\\ensuremath{\\mathbf{l}}",119846:"\\ensuremath{\\mathbf{m}}",119847:"\\ensuremath{\\mathbf{n}}",119848:"\\ensuremath{\\mathbf{o}}",119849:"\\ensuremath{\\mathbf{p}}",119850:"\\ensuremath{\\mathbf{q}}",119851:"\\ensuremath{\\mathbf{r}}",119852:"\\ensuremath{\\mathbf{s}}",119853:"\\ensuremath{\\mathbf{t}}",119854:"\\ensuremath{\\mathbf{u}}",119855:"\\ensuremath{\\mathbf{v}}",119856:"\\ensuremath{\\mathbf{w}}",119857:"\\ensuremath{\\mathbf{x}}",119858:"\\ensuremath{\\mathbf{y}}",119859:"\\ensuremath{\\mathbf{z}}",119860:"\\ensuremath{\\mathit{A}}",119861:"\\ensuremath{\\mathit{B}}",119862:"\\ensuremath{\\mathit{C}}",119863:"\\ensuremath{\\mathit{D}}",119864:"\\ensuremath{\\mathit{E}}",119865:"\\ensuremath{\\mathit{F}}",119866:"\\ensuremath{\\mathit{G}}",119867:"\\ensuremath{\\mathit{H}}",119868:"\\ensuremath{\\mathit{I}}",119869:"\\ensuremath{\\mathit{J}}",119870:"\\ensuremath{\\mathit{K}}",119871:"\\ensuremath{\\mathit{L}}",119872:"\\ensuremath{\\mathit{M}}",119873:"\\ensuremath{\\mathit{N}}",119874:"\\ensuremath{\\mathit{O}}",119875:"\\ensuremath{\\mathit{P}}",119876:"\\ensuremath{\\mathit{Q}}",119877:"\\ensuremath{\\mathit{R}}",119878:"\\ensuremath{\\mathit{S}}",119879:"\\ensuremath{\\mathit{T}}",119880:"\\ensuremath{\\mathit{U}}",119881:"\\ensuremath{\\mathit{V}}",119882:"\\ensuremath{\\mathit{W}}",119883:"\\ensuremath{\\mathit{X}}",119884:"\\ensuremath{\\mathit{Y}}",119885:"\\ensuremath{\\mathit{Z}}",119886:"\\ensuremath{\\mathit{a}}",119887:"\\ensuremath{\\mathit{b}}",119888:"\\ensuremath{\\mathit{c}}",119889:"\\ensuremath{\\mathit{d}}",119890:"\\ensuremath{\\mathit{e}}",119891:"\\ensuremath{\\mathit{f}}",119892:"\\ensuremath{\\mathit{g}}",119893:"\\ensuremath{\\mathit{h}}",119894:"\\ensuremath{\\mathit{i}}",119895:"\\ensuremath{\\mathit{j}}",119896:"\\ensuremath{\\mathit{k}}",119897:"\\ensuremath{\\mathit{l}}",119898:"\\ensuremath{\\mathit{m}}",119899:"\\ensuremath{\\mathit{n}}",119900:"\\ensuremath{\\mathit{o}}",119901:"\\ensuremath{\\mathit{p}}",119902:"\\ensuremath{\\mathit{q}}",119903:"\\ensuremath{\\mathit{r}}",119904:"\\ensuremath{\\mathit{s}}",119905:"\\ensuremath{\\mathit{t}}",119906:"\\ensuremath{\\mathit{u}}",119907:"\\ensuremath{\\mathit{v}}",119908:"\\ensuremath{\\mathit{w}}",119909:"\\ensuremath{\\mathit{x}}",119910:"\\ensuremath{\\mathit{y}}",119911:"\\ensuremath{\\mathit{z}}",119912:"\\ensuremath{\\boldsymbol{\\mathit{A}}}",119913:"\\ensuremath{\\boldsymbol{\\mathit{B}}}",119914:"\\ensuremath{\\boldsymbol{\\mathit{C}}}",119915:"\\ensuremath{\\boldsymbol{\\mathit{D}}}",119916:"\\ensuremath{\\boldsymbol{\\mathit{E}}}",119917:"\\ensuremath{\\boldsymbol{\\mathit{F}}}",119918:"\\ensuremath{\\boldsymbol{\\mathit{G}}}",119919:"\\ensuremath{\\boldsymbol{\\mathit{H}}}",119920:"\\ensuremath{\\boldsymbol{\\mathit{I}}}",119921:"\\ensuremath{\\boldsymbol{\\mathit{J}}}",119922:"\\ensuremath{\\boldsymbol{\\mathit{K}}}",119923:"\\ensuremath{\\boldsymbol{\\mathit{L}}}",119924:"\\ensuremath{\\boldsymbol{\\mathit{M}}}",119925:"\\ensuremath{\\boldsymbol{\\mathit{N}}}",119926:"\\ensuremath{\\boldsymbol{\\mathit{O}}}",119927:"\\ensuremath{\\boldsymbol{\\mathit{P}}}",119928:"\\ensuremath{\\boldsymbol{\\mathit{Q}}}",119929:"\\ensuremath{\\boldsymbol{\\mathit{R}}}",119930:"\\ensuremath{\\boldsymbol{\\mathit{S}}}",119931:"\\ensuremath{\\boldsymbol{\\mathit{T}}}",119932:"\\ensuremath{\\boldsymbol{\\mathit{U}}}",119933:"\\ensuremath{\\boldsymbol{\\mathit{V}}}",119934:"\\ensuremath{\\boldsymbol{\\mathit{W}}}",119935:"\\ensuremath{\\boldsymbol{\\mathit{X}}}",119936:"\\ensuremath{\\boldsymbol{\\mathit{Y}}}",119937:"\\ensuremath{\\boldsymbol{\\mathit{Z}}}",119938:"\\ensuremath{\\boldsymbol{\\mathit{a}}}",119939:"\\ensuremath{\\boldsymbol{\\mathit{b}}}",119940:"\\ensuremath{\\boldsymbol{\\mathit{c}}}",119941:"\\ensuremath{\\boldsymbol{\\mathit{d}}}",119942:"\\ensuremath{\\boldsymbol{\\mathit{e}}}",119943:"\\ensuremath{\\boldsymbol{\\mathit{f}}}",119944:"\\ensuremath{\\boldsymbol{\\mathit{g}}}",119945:"\\ensuremath{\\boldsymbol{\\mathit{h}}}",119946:"\\ensuremath{\\boldsymbol{\\mathit{i}}}",119947:"\\ensuremath{\\boldsymbol{\\mathit{j}}}",119948:"\\ensuremath{\\boldsymbol{\\mathit{k}}}",119949:"\\ensuremath{\\boldsymbol{\\mathit{l}}}",119950:"\\ensuremath{\\boldsymbol{\\mathit{m}}}",119951:"\\ensuremath{\\boldsymbol{\\mathit{n}}}",119952:"\\ensuremath{\\boldsymbol{\\mathit{o}}}",119953:"\\ensuremath{\\boldsymbol{\\mathit{p}}}",119954:"\\ensuremath{\\boldsymbol{\\mathit{q}}}",119955:"\\ensuremath{\\boldsymbol{\\mathit{r}}}",119956:"\\ensuremath{\\boldsymbol{\\mathit{s}}}",119957:"\\ensuremath{\\boldsymbol{\\mathit{t}}}",119958:"\\ensuremath{\\boldsymbol{\\mathit{u}}}",119959:"\\ensuremath{\\boldsymbol{\\mathit{v}}}",119960:"\\ensuremath{\\boldsymbol{\\mathit{w}}}",119961:"\\ensuremath{\\boldsymbol{\\mathit{x}}}",119962:"\\ensuremath{\\boldsymbol{\\mathit{y}}}",119963:"\\ensuremath{\\boldsymbol{\\mathit{z}}}",119964:"\\ensuremath{\\mathscr{A}}",119965:"\\ensuremath{\\mathscr{B}}",119966:"\\ensuremath{\\mathscr{C}}",119967:"\\ensuremath{\\mathscr{D}}",119968:"\\ensuremath{\\mathscr{E}}",119969:"\\ensuremath{\\mathscr{F}}",119970:"\\ensuremath{\\mathscr{G}}",119971:"\\ensuremath{\\mathscr{H}}",119972:"\\ensuremath{\\mathscr{I}}",119973:"\\ensuremath{\\mathscr{J}}",119974:"\\ensuremath{\\mathscr{K}}",119975:"\\ensuremath{\\mathscr{L}}",119976:"\\ensuremath{\\mathscr{M}}",119977:"\\ensuremath{\\mathscr{N}}",119978:"\\ensuremath{\\mathscr{O}}",119979:"\\ensuremath{\\mathscr{P}}",119980:"\\ensuremath{\\mathscr{Q}}",119981:"\\ensuremath{\\mathscr{R}}",119982:"\\ensuremath{\\mathscr{S}}",119983:"\\ensuremath{\\mathscr{T}}",119984:"\\ensuremath{\\mathscr{U}}",119985:"\\ensuremath{\\mathscr{V}}",119986:"\\ensuremath{\\mathscr{W}}",119987:"\\ensuremath{\\mathscr{X}}",119988:"\\ensuremath{\\mathscr{Y}}",119989:"\\ensuremath{\\mathscr{Z}}",119990:"\\ensuremath{\\mathscr{a}}",119991:"\\ensuremath{\\mathscr{b}}",119992:"\\ensuremath{\\mathscr{c}}",119993:"\\ensuremath{\\mathscr{d}}",119995:"\\ensuremath{\\mathscr{f}}",119997:"\\ensuremath{\\mathscr{h}}",119998:"\\ensuremath{\\mathscr{i}}",119999:"\\ensuremath{\\mathscr{j}}",12e4:"\\ensuremath{\\mathscr{k}}",120001:"\\ensuremath{\\mathscr{l}}",120002:"\\ensuremath{\\mathscr{m}}",120003:"\\ensuremath{\\mathscr{n}}",120005:"\\ensuremath{\\mathscr{p}}",120006:"\\ensuremath{\\mathscr{q}}",120007:"\\ensuremath{\\mathscr{r}}",120008:"\\ensuremath{\\mathscr{s}}",120009:"\\ensuremath{\\mathscr{t}}",120010:"\\ensuremath{\\mathscr{u}}",120011:"\\ensuremath{\\mathscr{v}}",120012:"\\ensuremath{\\mathscr{w}}",120013:"\\ensuremath{\\mathscr{x}}",120014:"\\ensuremath{\\mathscr{y}}",120015:"\\ensuremath{\\mathscr{z}}",120068:"\\ensuremath{\\mathfrak{A}}",120069:"\\ensuremath{\\mathfrak{B}}",120070:"\\ensuremath{\\mathfrak{C}}",120071:"\\ensuremath{\\mathfrak{D}}",120072:"\\ensuremath{\\mathfrak{E}}",120073:"\\ensuremath{\\mathfrak{F}}",120074:"\\ensuremath{\\mathfrak{G}}",120075:"\\ensuremath{\\mathfrak{H}}",120076:"\\ensuremath{\\mathfrak{I}}",120077:"\\ensuremath{\\mathfrak{J}}",120078:"\\ensuremath{\\mathfrak{K}}",120079:"\\ensuremath{\\mathfrak{L}}",120080:"\\ensuremath{\\mathfrak{M}}",120081:"\\ensuremath{\\mathfrak{N}}",120082:"\\ensuremath{\\mathfrak{O}}",120083:"\\ensuremath{\\mathfrak{P}}",120084:"\\ensuremath{\\mathfrak{Q}}",120085:"\\ensuremath{\\mathfrak{R}}",120086:"\\ensuremath{\\mathfrak{S}}",120087:"\\ensuremath{\\mathfrak{T}}",120088:"\\ensuremath{\\mathfrak{U}}",120089:"\\ensuremath{\\mathfrak{V}}",120090:"\\ensuremath{\\mathfrak{W}}",120091:"\\ensuremath{\\mathfrak{X}}",120092:"\\ensuremath{\\mathfrak{Y}}",120093:"\\ensuremath{\\mathfrak{Z}}",120094:"\\ensuremath{\\mathfrak{a}}",120095:"\\ensuremath{\\mathfrak{b}}",120096:"\\ensuremath{\\mathfrak{c}}",120097:"\\ensuremath{\\mathfrak{d}}",120098:"\\ensuremath{\\mathfrak{e}}",120099:"\\ensuremath{\\mathfrak{f}}",120100:"\\ensuremath{\\mathfrak{g}}",120101:"\\ensuremath{\\mathfrak{h}}",120102:"\\ensuremath{\\mathfrak{i}}",120103:"\\ensuremath{\\mathfrak{j}}",120104:"\\ensuremath{\\mathfrak{k}}",120105:"\\ensuremath{\\mathfrak{l}}",120106:"\\ensuremath{\\mathfrak{m}}",120107:"\\ensuremath{\\mathfrak{n}}",120108:"\\ensuremath{\\mathfrak{o}}",120109:"\\ensuremath{\\mathfrak{p}}",120110:"\\ensuremath{\\mathfrak{q}}",120111:"\\ensuremath{\\mathfrak{r}}",120112:"\\ensuremath{\\mathfrak{s}}",120113:"\\ensuremath{\\mathfrak{t}}",120114:"\\ensuremath{\\mathfrak{u}}",120115:"\\ensuremath{\\mathfrak{v}}",120116:"\\ensuremath{\\mathfrak{w}}",120117:"\\ensuremath{\\mathfrak{x}}",120118:"\\ensuremath{\\mathfrak{y}}",120119:"\\ensuremath{\\mathfrak{z}}",120120:"\\ensuremath{\\mathbb{A}}",120121:"\\ensuremath{\\mathbb{B}}",120122:"\\ensuremath{\\mathbb{C}}",120123:"\\ensuremath{\\mathbb{D}}",120124:"\\ensuremath{\\mathbb{E}}",120125:"\\ensuremath{\\mathbb{F}}",120126:"\\ensuremath{\\mathbb{G}}",120127:"\\ensuremath{\\mathbb{H}}",120128:"\\ensuremath{\\mathbb{I}}",120129:"\\ensuremath{\\mathbb{J}}",120130:"\\ensuremath{\\mathbb{K}}",120131:"\\ensuremath{\\mathbb{L}}",120132:"\\ensuremath{\\mathbb{M}}",120133:"\\ensuremath{\\mathbb{N}}",120134:"\\ensuremath{\\mathbb{O}}",120135:"\\ensuremath{\\mathbb{P}}",120136:"\\ensuremath{\\mathbb{Q}}",120137:"\\ensuremath{\\mathbb{R}}",120138:"\\ensuremath{\\mathbb{S}}",120139:"\\ensuremath{\\mathbb{T}}",120140:"\\ensuremath{\\mathbb{U}}",120141:"\\ensuremath{\\mathbb{V}}",120142:"\\ensuremath{\\mathbb{W}}",120143:"\\ensuremath{\\mathbb{X}}",120144:"\\ensuremath{\\mathbb{Y}}",120145:"\\ensuremath{\\mathbb{Z}}",120146:"\\ensuremath{\\mathbb{a}}",120147:"\\ensuremath{\\mathbb{b}}",120148:"\\ensuremath{\\mathbb{c}}",120149:"\\ensuremath{\\mathbb{d}}",120150:"\\ensuremath{\\mathbb{e}}",120151:"\\ensuremath{\\mathbb{f}}",120152:"\\ensuremath{\\mathbb{g}}",120153:"\\ensuremath{\\mathbb{h}}",120154:"\\ensuremath{\\mathbb{i}}",120155:"\\ensuremath{\\mathbb{j}}",120156:"\\ensuremath{\\mathbb{k}}",120157:"\\ensuremath{\\mathbb{l}}",120158:"\\ensuremath{\\mathbb{m}}",120159:"\\ensuremath{\\mathbb{n}}",120160:"\\ensuremath{\\mathbb{o}}",120161:"\\ensuremath{\\mathbb{p}}",120162:"\\ensuremath{\\mathbb{q}}",120163:"\\ensuremath{\\mathbb{r}}",120164:"\\ensuremath{\\mathbb{s}}",120165:"\\ensuremath{\\mathbb{t}}",120166:"\\ensuremath{\\mathbb{u}}",120167:"\\ensuremath{\\mathbb{v}}",120168:"\\ensuremath{\\mathbb{w}}",120169:"\\ensuremath{\\mathbb{x}}",120170:"\\ensuremath{\\mathbb{y}}",120171:"\\ensuremath{\\mathbb{z}}",120224:"\\ensuremath{\\mathsf{A}}",120225:"\\ensuremath{\\mathsf{B}}",120226:"\\ensuremath{\\mathsf{C}}",120227:"\\ensuremath{\\mathsf{D}}",120228:"\\ensuremath{\\mathsf{E}}",120229:"\\ensuremath{\\mathsf{F}}",120230:"\\ensuremath{\\mathsf{G}}",120231:"\\ensuremath{\\mathsf{H}}",120232:"\\ensuremath{\\mathsf{I}}",120233:"\\ensuremath{\\mathsf{J}}",120234:"\\ensuremath{\\mathsf{K}}",120235:"\\ensuremath{\\mathsf{L}}",120236:"\\ensuremath{\\mathsf{M}}",120237:"\\ensuremath{\\mathsf{N}}",120238:"\\ensuremath{\\mathsf{O}}",120239:"\\ensuremath{\\mathsf{P}}",120240:"\\ensuremath{\\mathsf{Q}}",120241:"\\ensuremath{\\mathsf{R}}",120242:"\\ensuremath{\\mathsf{S}}",120243:"\\ensuremath{\\mathsf{T}}",120244:"\\ensuremath{\\mathsf{U}}",120245:"\\ensuremath{\\mathsf{V}}",120246:"\\ensuremath{\\mathsf{W}}",120247:"\\ensuremath{\\mathsf{X}}",120248:"\\ensuremath{\\mathsf{Y}}",120249:"\\ensuremath{\\mathsf{Z}}",120250:"\\ensuremath{\\mathsf{a}}",120251:"\\ensuremath{\\mathsf{b}}",120252:"\\ensuremath{\\mathsf{c}}",120253:"\\ensuremath{\\mathsf{d}}",120254:"\\ensuremath{\\mathsf{e}}",120255:"\\ensuremath{\\mathsf{f}}",120256:"\\ensuremath{\\mathsf{g}}",120257:"\\ensuremath{\\mathsf{h}}",120258:"\\ensuremath{\\mathsf{i}}",120259:"\\ensuremath{\\mathsf{j}}",120260:"\\ensuremath{\\mathsf{k}}",120261:"\\ensuremath{\\mathsf{l}}",120262:"\\ensuremath{\\mathsf{m}}",120263:"\\ensuremath{\\mathsf{n}}",120264:"\\ensuremath{\\mathsf{o}}",120265:"\\ensuremath{\\mathsf{p}}",120266:"\\ensuremath{\\mathsf{q}}",120267:"\\ensuremath{\\mathsf{r}}",120268:"\\ensuremath{\\mathsf{s}}",120269:"\\ensuremath{\\mathsf{t}}",120270:"\\ensuremath{\\mathsf{u}}",120271:"\\ensuremath{\\mathsf{v}}",120272:"\\ensuremath{\\mathsf{w}}",120273:"\\ensuremath{\\mathsf{x}}",120274:"\\ensuremath{\\mathsf{y}}",120275:"\\ensuremath{\\mathsf{z}}",120432:"\\ensuremath{\\mathtt{A}}",120433:"\\ensuremath{\\mathtt{B}}",120434:"\\ensuremath{\\mathtt{C}}",120435:"\\ensuremath{\\mathtt{D}}",120436:"\\ensuremath{\\mathtt{E}}",120437:"\\ensuremath{\\mathtt{F}}",120438:"\\ensuremath{\\mathtt{G}}",120439:"\\ensuremath{\\mathtt{H}}",120440:"\\ensuremath{\\mathtt{I}}",120441:"\\ensuremath{\\mathtt{J}}",120442:"\\ensuremath{\\mathtt{K}}",120443:"\\ensuremath{\\mathtt{L}}",120444:"\\ensuremath{\\mathtt{M}}",120445:"\\ensuremath{\\mathtt{N}}",120446:"\\ensuremath{\\mathtt{O}}",120447:"\\ensuremath{\\mathtt{P}}",120448:"\\ensuremath{\\mathtt{Q}}",120449:"\\ensuremath{\\mathtt{R}}",120450:"\\ensuremath{\\mathtt{S}}",120451:"\\ensuremath{\\mathtt{T}}",120452:"\\ensuremath{\\mathtt{U}}",120453:"\\ensuremath{\\mathtt{V}}",120454:"\\ensuremath{\\mathtt{W}}",120455:"\\ensuremath{\\mathtt{X}}",120456:"\\ensuremath{\\mathtt{Y}}",120457:"\\ensuremath{\\mathtt{Z}}",120458:"\\ensuremath{\\mathtt{a}}",120459:"\\ensuremath{\\mathtt{b}}",120460:"\\ensuremath{\\mathtt{c}}",120461:"\\ensuremath{\\mathtt{d}}",120462:"\\ensuremath{\\mathtt{e}}",120463:"\\ensuremath{\\mathtt{f}}",120464:"\\ensuremath{\\mathtt{g}}",120465:"\\ensuremath{\\mathtt{h}}",120466:"\\ensuremath{\\mathtt{i}}",120467:"\\ensuremath{\\mathtt{j}}",120468:"\\ensuremath{\\mathtt{k}}",120469:"\\ensuremath{\\mathtt{l}}",120470:"\\ensuremath{\\mathtt{m}}",120471:"\\ensuremath{\\mathtt{n}}",120472:"\\ensuremath{\\mathtt{o}}",120473:"\\ensuremath{\\mathtt{p}}",120474:"\\ensuremath{\\mathtt{q}}",120475:"\\ensuremath{\\mathtt{r}}",120476:"\\ensuremath{\\mathtt{s}}",120477:"\\ensuremath{\\mathtt{t}}",120478:"\\ensuremath{\\mathtt{u}}",120479:"\\ensuremath{\\mathtt{v}}",120480:"\\ensuremath{\\mathtt{w}}",120481:"\\ensuremath{\\mathtt{x}}",120482:"\\ensuremath{\\mathtt{y}}",120483:"\\ensuremath{\\mathtt{z}}",120782:"\\ensuremath{\\mathbf{0}}",120783:"\\ensuremath{\\mathbf{1}}",120784:"\\ensuremath{\\mathbf{2}}",120785:"\\ensuremath{\\mathbf{3}}",120786:"\\ensuremath{\\mathbf{4}}",120787:"\\ensuremath{\\mathbf{5}}",120788:"\\ensuremath{\\mathbf{6}}",120789:"\\ensuremath{\\mathbf{7}}",120790:"\\ensuremath{\\mathbf{8}}",120791:"\\ensuremath{\\mathbf{9}}",120792:"\\ensuremath{\\mathbb{0}}",120793:"\\ensuremath{\\mathbb{1}}",120794:"\\ensuremath{\\mathbb{2}}",120795:"\\ensuremath{\\mathbb{3}}",120796:"\\ensuremath{\\mathbb{4}}",120797:"\\ensuremath{\\mathbb{5}}",120798:"\\ensuremath{\\mathbb{6}}",120799:"\\ensuremath{\\mathbb{7}}",120800:"\\ensuremath{\\mathbb{8}}",120801:"\\ensuremath{\\mathbb{9}}",120802:"\\ensuremath{\\mathsf{0}}",120803:"\\ensuremath{\\mathsf{1}}",120804:"\\ensuremath{\\mathsf{2}}",120805:"\\ensuremath{\\mathsf{3}}",120806:"\\ensuremath{\\mathsf{4}}",120807:"\\ensuremath{\\mathsf{5}}",120808:"\\ensuremath{\\mathsf{6}}",120809:"\\ensuremath{\\mathsf{7}}",120810:"\\ensuremath{\\mathsf{8}}",120811:"\\ensuremath{\\mathsf{9}}",120822:"\\ensuremath{\\mathtt{0}}",120823:"\\ensuremath{\\mathtt{1}}",120824:"\\ensuremath{\\mathtt{2}}",120825:"\\ensuremath{\\mathtt{3}}",120826:"\\ensuremath{\\mathtt{4}}",120827:"\\ensuremath{\\mathtt{5}}",120828:"\\ensuremath{\\mathtt{6}}",120829:"\\ensuremath{\\mathtt{7}}",120830:"\\ensuremath{\\mathtt{8}}",120831:"\\ensuremath{\\mathtt{9}}"},tB=["{","}","_","^","#","&","$","%","~"],tE={"̀":"\\grave{{{0}}}","́":"\\acute{{{0}}}","̂":"\\hat{{{0}}}","̃":"\\tilde{{{0}}}","̄":"\\bar{{{0}}}","̅":"\\overbar{{{0}}}","̆":"\\breve{{{0}}}","̇":"\\dot{{{0}}}","̈":"\\ddot{{{0}}}","̉":"\\ovhook{{{0}}}","̊":"\\ocirc{{{0}}}}","̌":"\\check{{{0}}}}","̐":"\\candra{{{0}}}","̒":"\\oturnedcomma{{{0}}}","̕":"\\ocommatopright{{{0}}}","̚":"\\droang{{{0}}}","̸":"\\not{{{0}}}","⃝":"\\enclosecircle{{{0}}}","⃞":"\\enclosesquare{{{0}}}","⃟":"\\enclosediamond{{{0}}}","⃤":"\\enclosetriangle{{{0}}}","⃐":"\\leftharpoonup{{{0}}}","⃑":"\\rightharpoonup{{{0}}}","⃒":"\\vertoverlay{{{0}}}","⃖":"\\LVec{{{0}}}","⃗":"\\vec{{{0}}}","⃛":"\\dddot{{{0}}}","⃜":"\\ddddot{{{0}}}","⃡":"\\overleftrightarrow{{{0}}}","⃧":"\\annuity{{{0}}}","⃩":"\\widebridgeabove{{{0}}}","⃰":"\\asteraccent{{{0}}}","̰":"\\wideutilde{{{0}}}","̱":"\\underbar{{{0}}}","⃨":"\\threeunderdot{{{0}}}","⃬":"\\underrightharpoondown{{{0}}}","⃭":"\\underleftharpoondown{{{0}}}","⃮":"\\underleftarrow{{{0}}}","⃯":"\\underrightarrow{{{0}}}","⎴":"\\overbracket{{{0}}}","⏜":"\\overparen{{{0}}}","⏞":"\\overbrace{{{0}}}","⎵":"\\underbracket{{{0}}}","⏝":"\\underparen{{{0}}}","⏟":"\\underbrace{{{0}}}"},tj={"⅀":"\\Bbbsum","∏":"\\prod","∐":"\\coprod","∑":"\\sum","∫":"\\int","∬":"\\iint","∭":"\\iiint","⨌":"\\iiiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint","⨍":"\\fint","⨖":"\\sqint","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨅":"\\bigsqcap","⨆":"\\bigsqcup","⨉":"\\varprod"},tD={"→":"\\rightarrow ",𝛼:"\\alpha ",𝛽:"\\beta ",𝛾:"\\gamma ",𝛿:"\\delta ",𝜀:"\\epsilon ",𝜁:"\\zeta ",𝜂:"\\eta ",𝜃:"\\theta ",𝜄:"\\iota ",𝜅:"\\kappa ",𝜆:"\\lambda ",𝜇:"\\mu ",𝜈:"\\nu ",𝜉:"\\xi ",𝜊:"\\omicron ",𝜋:"\\pi ",𝜌:"\\rho ",𝜍:"\\varsigma ",𝜎:"\\sigma ",𝜏:"\\tau ",𝜐:"\\upsilon ",𝜑:"\\phi ",𝜒:"\\chi ",𝜓:"\\psi ",𝜔:"\\omega ","𝜕":"\\partial ",𝜖:"\\varepsilon ",𝜗:"\\vartheta ",𝜘:"\\varkappa ",𝜙:"\\varphi ",𝜚:"\\varrho ",𝜛:"\\varpi ","←":"\\leftarrow ","↑":"\\uparrow ","↓":"\\downarrow ","↔":"\\leftrightarrow ","↕":"\\updownarrow ","↖":"\\nwarrow ","↗":"\\nearrow ","↘":"\\searrow ","↙":"\\swarrow ","⋮":"\\vdots ","⋯":"\\cdots ","⋰":"\\adots ","⋱":"\\ddots ","⇐":"\\Leftarrow ","⇒":"\\Rightarrow ","⇔":"\\Leftrightarrow ","⇑":"\\Uparrow ","⇓":"\\Downarrow ","⇕":"\\Updownarrow ","↦":"\\mapsto ","⟨":"\\langle ","⟩":"\\rangle ","⌈":"\\lceil ","⌉":"\\rceil ","⌊":"\\lfloor ","⌋":"\\rfloor ","‖":"\\Vert ","∥":"\\parallel ","≠":"\\ne ","≤":"\\leq ","≥":"\\geq ","≦":"\\leqq ","≧":"\\geqq ","≨":"\\lneqq ","≩":"\\gneqq ","≪":"\\ll ","≫":"\\gg ","∈":"\\in ","∉":"\\notin ","∋":"\\ni ","∌":"\\nni ","∞":"\\infty ","±":"\\pm ","∓":"\\mp ","·":"\\cdot ","⋅":"\\cdot ","×":"\\times ","÷":"\\div ","∗":"\\ast ","∘":"\\circ ","∙":"\\bullet ","−":"-","<":"<",">":">","=":"=","≈":"\\approx ","≡":"\\equiv ","≅":"\\cong ","∼":"\\sim ","≃":"\\simeq ","≐":"\\doteq ","∝":"\\propto ","∴":"\\therefore ","∵":"\\because ","∀":"\\forall ","∃":"\\exists ","∄":"\\nexists ","∅":"\\emptyset ","∇":"\\nabla ","∧":"\\wedge ","∨":"\\vee ","¬":"\\neg ","∩":"\\cap ","∪":"\\cup ","⊂":"\\subset ","⊃":"\\supset ","⊆":"\\subseteq ","⊇":"\\supseteq ","⊕":"\\oplus ","⊗":"\\otimes ","⊥":"\\perp ","°":"\\degree ","′":"\\prime ","″":"\\prime\\prime ","…":"\\ldots ",α:"\\alpha ",β:"\\beta ",γ:"\\gamma ",δ:"\\delta ",ε:"\\epsilon ",ζ:"\\zeta ",η:"\\eta ",θ:"\\theta ",ι:"\\iota ",κ:"\\kappa ",λ:"\\lambda ",μ:"\\mu ",ν:"\\nu ",ξ:"\\xi ",ο:"\\omicron ",π:"\\pi ",ρ:"\\rho ",ς:"\\varsigma ",σ:"\\sigma ",τ:"\\tau ",υ:"\\upsilon ",φ:"\\phi ",χ:"\\chi ",ψ:"\\psi ",ω:"\\omega ","∂":"\\partial ",ϵ:"\\epsilon ",ϑ:"\\vartheta ",ϰ:"\\varkappa ",ϕ:"\\phi ",ϱ:"\\varrho ",ϖ:"\\varpi ",𝐴:"A",𝐵:"B",𝐶:"C",𝐷:"D",𝐸:"E",𝐹:"F",𝐺:"G",𝐻:"H",𝐼:"I",𝐽:"J",𝐾:"K",𝐿:"L",𝑀:"M",𝑁:"N",𝑂:"O",𝑃:"P",𝑄:"Q",𝑅:"R",𝑆:"S",𝑇:"T",𝑈:"U",𝑉:"V",𝑊:"W",𝑋:"X",𝑌:"Y",𝑍:"Z",𝑎:"a",𝑏:"b",𝑐:"c",𝑑:"d",𝑒:"e",𝑓:"f",𝑔:"g",𝑖:"i",𝑗:"j",𝑘:"k",𝑙:"l",𝑚:"m",𝑛:"n",𝑜:"o",𝑝:"p",𝑞:"q",𝑟:"r",𝑠:"s",𝑡:"t",𝑢:"u",𝑣:"v",𝑤:"w",𝑥:"x",𝑦:"y",𝑧:"z",𝒉:"h",𝛢:"A",𝛣:"B",𝛤:"\\Gamma ",𝛥:"\\Delta ",𝛦:"E",𝛧:"Z",𝛨:"H",𝛩:"\\Theta ",𝛪:"I",𝛫:"K",𝛬:"\\Lambda ",𝛭:"M",𝛮:"N",𝛯:"\\Xi ",𝛰:"O",𝛱:"\\Pi ",𝛲:"P",𝛴:"\\Sigma ",𝛵:"T",𝛶:"\\Upsilon ",𝛷:"\\Phi ",𝛸:"X",𝛹:"\\Psi ",𝛺:"\\Omega "},tN={sin:"\\sin({fe})",cos:"\\cos({fe})",tan:"\\tan({fe})",cot:"\\cot({fe})",sec:"\\sec({fe})",csc:"\\csc({fe})",arcsin:"\\arcsin({fe})",arccos:"\\arccos({fe})",arctan:"\\arctan({fe})",arccot:"\\arccot({fe})",arcsec:"\\arcsec({fe})",arccsc:"\\arccsc({fe})",sinh:"\\sinh({fe})",cosh:"\\cosh({fe})",tanh:"\\tanh({fe})",coth:"\\coth({fe})",sech:"\\sech({fe})",csch:"\\csch({fe})",arcsinh:"\\arcsinh({fe})",arccosh:"\\arccosh({fe})",arctanh:"\\arctanh({fe})",arccoth:"\\arccoth({fe})",arcsech:"\\arcsech({fe})",arccsch:"\\arccsch({fe})",log:"\\log{{fe}}",ln:"\\ln{{fe}}",lg:"\\lg{{fe}}",exp:"\\exp({fe})",arg:"\\arg({fe})",deg:"\\deg({fe})",det:"\\det({fe})",dim:"\\dim({fe})",gcd:"\\gcd({fe})",hom:"\\hom({fe})",ker:"\\ker({fe})",mod:"\\bmod({fe})",Pr:"\\Pr({fe})"},tG={top:"\\overline{{{0}}}",bot:"\\underline{{{0}}}"},tU={bar:"\\frac{{{num}}}{{{den}}}",skw:"^{{{num}}}/_{{{den}}}",noBar:"\\genfrac{{}}{{}}{{0pt}}{{}}{{{num}}}{{{den}}}",lin:"{{{num}}}/{{{den}}}"},tq="\\frac{{{num}}}{{{den}}}",tH={left:"\\begin{{array}}{{l}}{text}\\end{{array}}",right:"\\begin{{array}}{{r}}{text}\\end{{array}}",center:"\\begin{{matrix}}{text}\\end{{matrix}}"},tY={lim:"\\lim_{{{lim}}}",max:"\\max_{{{lim}}}",min:"\\min_{{{lim}}}",sup:"\\sup_{{{lim}}}",inf:"\\inf_{{{lim}}}",limsup:"\\limsup_{{{lim}}}",liminf:"\\liminf_{{{lim}}}",injlim:"\\injlim_{{{lim}}}",projlim:"\\projlim_{{{lim}}}"},tZ=["\\rightarrow","\\to"];function tW(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function tK(t){let e=t.indexOf(":");return -1===e?t:t.slice(e+1)}function tV(t){return"string"!=typeof t}function tX(t){let e="";for(let r of t.children)e+="string"==typeof r?r:tX(r);return e}function tQ(t,e=[],r={}){let a="",s=0,n=t.length;for(;s<n;){let n=t[s];if("{"===n){if("{"===t[s+1]){a+="{",s+=2;continue}let i=t.indexOf("}",s+1);if(-1===i){a+=n,s+=1;continue}let o=t.slice(s+1,i);/^\d+$/.test(o)?a+=e[Number(o)]??"":a+=r[o]??"",s=i+1;continue}if("}"===n&&"}"===t[s+1]){a+="}",s+=2;continue}a+=n,s+=1}return a}function tJ(t){let e=t.split("\\\\").join("\\"),r="",a=null;for(let t of e)tB.includes(t)&&"\\"!==a?r+="\\"+t:r+=t,a=t;return r}function t0(t,e,r){return void 0!==t?r&&void 0!==r[t]?r[t]:t:e}function t1(t,e=!1){if(void 0===t)return e;let r=t.toLowerCase();return"on"===r||"1"===r||"true"===r}let t2=new Set(["chr","pos","begChr","endChr","sepChr","type","show","smallFrac","limLoc","intLim","naryLim","mcJc","degHide"]);class t8{get(t){return this.attrs[t]}constructor(t,e){for(const e of(tW(this,"text",""),tW(this,"attrs",{}),t.children)){if(!tV(e))continue;const t=tK(e.tagName);"brk"===t?(this.attrs.brk="\\\\",this.text+="\\\\"):t2.has(t)&&(this.attrs[t]=t5(e,"val"))}}}function t5(t,e){for(let r of Object.keys(t.attributes))if(tK(r)===e){let e=t.attributes[r];return null==e?void 0:e}}let t3=new Set(["box","sSub","sSup","sSubSup","num","den","deg","e"]);class t6{convert(t){let e=this.oMath(t);for(let t of this.unsupported)this.options.onUnsupported?.(t);return e}noteUnsupported(t){this.unsupported.add(t)}oMath(t){return this.processChildren(t)}processChildrenList(t,e){let r=[];for(let a of t.children){if(!tV(a))continue;let t=tK(a.tagName);if(e&&!e.has(t))continue;let s=this.dispatch(t,a);(null!=s||null!=(s=this.processUnknown(t,a)))&&r.push({stag:t,value:s,node:a})}return r}processChildrenDict(t,e){let r={};for(let{stag:a,value:s}of this.processChildrenList(t,e))r[a]=s;return r}processChildren(t,e){let r="";for(let{value:a}of this.processChildrenList(t,e))r+=a instanceof t8?a.text:String(a);return r}dispatch(t,e){switch(t){case"acc":return this.doAcc(e);case"r":return this.doR(e);case"bar":return this.doBar(e);case"sub":return this.doSub(e);case"sup":return this.doSup(e);case"f":return this.doF(e);case"func":return this.doFunc(e);case"fName":return this.doFName(e);case"groupChr":return this.doGroupChr(e);case"d":return this.doD(e);case"rad":return this.doRad(e);case"eqArr":return this.doEqArr(e);case"limLow":return this.doLimLow(e);case"limUpp":return this.doLimUpp(e);case"lim":return this.doLim(e);case"m":return this.doM(e);case"mr":return this.doMr(e);case"nary":return this.doNary(e);case"borderBox":return this.doBorderBox(e);case"phant":return this.doPhant(e);case"sPre":return this.doSPre(e);default:return null}}processUnknown(t,e){return t3.has(t)?this.processChildren(e):t.endsWith("Pr")?new t8(e,this):(this.noteUnsupported(t),tX(e))}doAcc(t){let e=this.processChildrenDict(t),r=e.accPr;return tQ(t0(r?.get("chr"),"\\hat{{{0}}}",tE)??"",[e.e??""])}doBar(t){let e=this.processChildrenDict(t),r=e.barPr,a=t0(r?.get("pos"),"\\overline{{{0}}}",tG)??"",s=e.e??"";return(r?.text??"")+tQ(a,[s])}doD(t){let e=this.processChildrenDict(t).dPr,r=t0(e?.get("begChr"),"(",tD),a=t0(e?.get("endChr"),")",tD),s=t0(e?.get("sepChr"),"|",tD),n=this.processChildrenList(t,new Set(["e"])).map(t=>String(t.value)),i=s?tJ(s):"",o=n.join(i);return(e?.text??"")+tQ("\\left{left}{text}\\right{right}",[],{left:r?tJ(r):".",text:o,right:a?tJ(a):"."})}doSub(t){return tQ(t4,[this.processChildren(t)])}doSup(t){return tQ(t9,[this.processChildren(t)])}doF(t){let e=this.processChildrenDict(t),r=e.fPr,a=t0(r?.get("type"),tq,tU)??"";a===tq&&t1(r?.get("smallFrac"))&&(a="\\tfrac{{{num}}}{{{den}}}");let s=e.num??"",n=e.den??"";return(r?.text??"")+tQ(a,[],{num:s,den:n})}doFunc(t){let e=this.processChildrenDict(t),r=e.fName??"",a=e.e??"";return r.split("{fe}").join(a)}doFName(t){let e=[];for(let{stag:r,value:a}of this.processChildrenList(t))if("r"===r){let t=String(a).trim();void 0!==tN[t]?e.push(tN[t]):(this.noteUnsupported("fName:"+t),e.push(String(a)))}else e.push(String(a));let r=e.join("");return r.includes("{fe}")?r:r+"{fe}"}doGroupChr(t){let e=this.processChildrenDict(t),r=e.groupChrPr,a=t0(r?.get("chr"),void 0,tE)??"",s=e.e??"";return(r?.text??"")+tQ(a,[s])}doRad(t){let e=this.processChildrenDict(t),r=e.e??"",a=e.deg;return a?tQ("\\sqrt[{deg}]{{{text}}}",[],{deg:a,text:r}):tQ("\\sqrt{{{text}}}",[],{text:r})}doEqArr(t){return tQ("\\begin{{array}}{{c}}{text}\\end{{array}}",[],{text:this.processChildrenList(t,new Set(["e"])).map(t=>String(t.value)).join("\\\\")})}doLimLow(t){let e=this.processChildrenDict(t,new Set(["e","lim"])),r=e.e??"",a=e.lim??"",s=tY[r];return s?tQ(s,[],{lim:a}):(this.noteUnsupported("limLow:"+r),r+a)}doLimUpp(t){let e=this.processChildrenDict(t,new Set(["e","lim"]));return tQ("\\overset{{{lim}}}{{{text}}}",[],{lim:e.lim??"",text:e.e??""})}doLim(t){return this.processChildren(t).split(tZ["0"]).join(tZ["1"])}doM(t){let e=[],r="\\begin{{matrix}}{text}\\end{{matrix}}";for(let{stag:a,value:s,node:n}of this.processChildrenList(t)){if("mPr"===a){let t=function t(e,r,a){for(let s of e.children){if(!tV(s))continue;if(tK(s.tagName)===r){let t=t5(s,a);if(void 0!==t)return t}let e=t(s,r,a);if(void 0!==e)return e}}(n,"mcJc","val");t&&tH[t]&&(r=tH[t]);continue}"mr"===a&&e.push(String(s))}return tQ(r,[],{text:e.join("\\\\")})}doMr(t){return this.processChildrenList(t,new Set(["e"])).map(t=>String(t.value)).join("&")}doNary(t){let e=[],r="",a="";for(let{stag:s,value:n}of this.processChildrenList(t))"naryPr"===s?(r=t0(n.get("chr"),void 0,tj)??"",a=n.get("naryLim")??n.get("limLoc")??n.get("intLim")??""):e.push(String(n));return r+("undOvr"===a?"\\limits":"")+e.join("")}doBorderBox(t){return tQ("\\boxed{{{0}}}",[this.processChildrenDict(t).e??""])}doPhant(t){let e=this.processChildrenDict(t),r=e.phantPr,a=e.e??"";return t1(r?.get("show"),!0)?a:tQ("\\phantom{{{0}}}",[a])}doSPre(t){let e=this.processChildrenDict(t),r=e.e??"",a=e.sub??"",s=e.sup??"";return`{}${a}${s}{${r}}`}processUnicode(t){let e="";for(let r of t.normalize("NFC")){let t=tD[r];void 0!==t?e+=t:tB.includes(r)?e+=r:e+=function(t){let e=String(t).normalize("NFC"),r="";for(let t of e){let e=tO[t.codePointAt(0)];void 0!==e?r+="{"+e+"}":r+=t}return r}(r)}return e}doR(t){let e=[],r=[];for(let a of t.children){if(!tV(a)||"t"!==tK(a.tagName))continue;let t=tX(a);e.push(this.processUnicode(t)),r.push(t)}let a=tJ(e.join("")),s=r.join("");return!s.includes("{")&&a.includes("\\{")&&(a=a.split("\\{").join("{")),!s.includes("}")&&a.includes("\\}")&&(a=a.split("\\}").join("}")),a}constructor(t={}){tW(this,"options",void 0),tW(this,"unsupported",void 0),this.options=t,this.unsupported=new Set}}let t4="_{{{0}}}",t9="^{{{0}}}";function t7(t){let e=t&&t.__rawNode;return e?(function(t,e={}){return new t6(e).convert(t)})(function t(e){if(!e||"object"!=typeof e)return null;if("oMath"===function(t){if(!t)return"";let e=t.indexOf(":");return e>=0?t.slice(e+1):t}(e.tagName))return e;for(let r of e.children||[])if("object"==typeof r){let e=t(r);if(e)return e}return null}(e)||e).replaceAll(/&lt;/g,"<").replaceAll(/&gt;/g,">").replaceAll(/&amp;/g,"&").replaceAll(/&apos;/g,"'").replaceAll(/&quot;/g,'"').trim():""}let et=t=>t?Array.isArray(t)?t:[t]:[];function ee(t){let e=et(t&&t["m:oMath"]);if(e.length)return e;let r=[];for(let e of et(t&&t["m:oMathPara"])){let t=et(e["m:oMath"]);t.length?r.push(...t):r.push(e)}return r}let er=(t,e)=>{if(!t||"object"!=typeof t)return null;if(t["a:rPr"]){let e=t["a:rPr"];return Array.isArray(e)?e[0]:e}for(let[r,a]of Object.entries(t))if("attrs"!==r&&(!e||"m:ctrlPr"!==r))for(let t of et(a)){let r=er(t,e);if(r)return r}return null};function ea(t,e){let r=tg(t,void 0,void 0,e),a=t.attrs,s=a.dir?parseInt(a.dir)/6e4:0,n=a.dist?parseInt(a.dist)*t_:0,i=a.blurRad?parseInt(a.blurRad)*t_:"",o=n*Math.sin(s*Math.PI/180);return{h:n*Math.cos(s*Math.PI/180),v:o,blur:i,color:r}}function es(t,e){e&&t.push(e)}function en(t){return`a:lvl${t}pPr`}function ei(t,e,r){e&&(es(t,q(e,["p:txBody","a:lstStyle",en(r),"a:defRPr"])),es(t,q(e,["p:txBody","a:p","a:pPr","a:defRPr"])))}function eo(t,e,r,a){if(!a)return;let s=en(r);"title"===e||"ctrTitle"===e||"subTitle"===e?(es(t,q(a,["p:titleStyle",s,"a:defRPr"])),"subTitle"===e&&es(t,q(a,["p:bodyStyle",s,"a:defRPr"]))):"body"===e?es(t,q(a,["p:bodyStyle",s,"a:defRPr"])):es(t,q(a,["p:otherStyle",s,"a:defRPr"]))}function el(t,e,r,a,s,n){let i=[],o=q(t,["a:rPr"]);return es(i,o),o||es(i,q(e,["a:endParaRPr"])),es(i,q(e,["a:pPr","a:defRPr"])),r&&es(i,q(r,["a:lstStyle",en(n),"a:defRPr"])),ei(i,a,n),ei(i,s,n),i}function eh(t,e,r,a,s,n,i,o){let l=el(t,e,r,a,s,o);return eo(l,n,o,i),l}function eu(t,e){for(let r of t){let t=q(r,["attrs",e]);if(void 0!==t&&""!==t)return t}return""}function ec(t){return/[\u2E80-\u9FFF\uF900-\uFAFF\uFF00-\uFF60\uFFE0-\uFFE6\u3000-\u303F]/.test(t)}function ef(t,e){for(let r of t){let t=function(t,e){if(!t)return"";let r=Q(t);return"SOLID_FILL"===r?tg(t["a:solidFill"],void 0,void 0,e):"GRADIENT_FILL"===r?tc(t["a:gradFill"],e):""}(r,e);if(t)return t}return""}function ed(t,e,r,a,s,n,i,o,l,h){let u=q(t,["a:rPr"]);if(u&&"NO_FILL"===Q(u))return"transparent";let c=el(t,e,r,a,s,o),f=ef(c,h);if(!f){if(l&&(f=tg(l,void 0,void 0,h)),!f){let t=q(a,["p:style","a:fontRef"]);t&&(f=tg(t,void 0,void 0,h))}if(!f){let t=q(s,["p:style","a:fontRef"]);t&&(f=tg(t,void 0,void 0,h))}}return f||(eo(c,n,o,i),f=ef(c,h)),f||""}function em(t,e,r,a,s,n,i,o,l){let h=eh(t,e,r,a,s,n,i,o);l&&(es(h,q(l,[en(o),"a:defRPr"])),es(h,q(l,["a:defPPr","a:defRPr"])));let u=eu(h,"sz"),c=u?parseInt(u)/100:void 0;return(isNaN(c)||!c)&&("dt"===n||"sldNum"===n)&&(c=12),(c=isNaN(c)||!c?18:c)+"pt"}function ep(t){return"string"==typeof t?t:t&&"string"==typeof t.value?t.value:void 0}function e$(t,e,r,a,s,n){if(!t)return"";let i="",o=q(e,["p:style","a:fontRef"]),l=e&&e["a:tcPr"]?void 0:n.slideMasterTextStyles,h=e&&e["a:tcPr"]?n.defaultTextStyle:void 0,u=t["a:p"],c=u.constructor===Array?u:[u],f=[];for(let u of c){let c=u["a:r"],d=u["a:fld"],m=u["a:br"];c&&(c=c.constructor===Array?c:[c],d&&(d=d.constructor===Array?d:[d],c=c.concat(d)),m&&((m=m.constructor===Array?m:[m]).forEach(t=>t.type="br"),m.length>1&&m.shift(),(c=c.concat(m)).sort((t,e)=>!t.attrs||!e.attrs||t.attrs.order-e.attrs.order)));let p=function(t){let e=[],r=(t,r)=>{let a=t7(t);a&&e.push({type:"math",latex:a,node:t,attrs:{order:r}})};for(let e of et(t["a14:m"])){let t=e&&e.attrs&&e.attrs.order||0;for(let a of ee(e))r(a,t)}for(let e of ee(t))r(e,e&&e.attrs&&e.attrs.order||0);return e}(u);p.length&&(c=(c||[]).concat(p)).sort((t,e)=>(t.attrs&&t.attrs.order||0)-(e.attrs&&e.attrs.order||0));let $=function(t,e,r,a,s,n){let i=q(t,["a:pPr","attrs","algn"]);if(i||(i=q(e,["p:txBody","a:p","a:pPr","attrs","algn"])),!i){let e="a:lvl"+tk(t)+"pPr";(i=tx(a,e))||(i=tx(s,e)),i||"title"!==r&&"ctrTitle"!==r&&"subTitle"!==r?i||"body"!==r?i||(i=q(n,["slideMasterTextStyles","p:otherStyle",e,"attrs","algn"])):i=q(n,["slideMasterTextStyles","p:bodyStyle",e,"attrs","algn"]):(i=q(n,["slideMasterTextStyles","p:titleStyle",e,"attrs","algn"]))||"subTitle"!==r||(i=q(n,["slideMasterTextStyles","p:bodyStyle",e,"attrs","algn"]))}let o="left";if(i)switch(i){case"l":o="left";break;case"r":o="right";break;case"ctr":o="center";break;case"just":o="justify";break;case"dist":o="distribute";break;default:o="inherit"}return o}(u,e,s,r,a,n),b=function(t,e,r,a,s,n,i){let o=tI(t,e,r,a,s,n,i);if(!o)return null;let l={};for(let t of o){if(void 0===l.lineSpacing){let e=function(t){let e=q(t,["a:spcPct","attrs","val"]),r=q(t,["a:spcPts","attrs","val"]);return e?Math.round(parseInt(e)/1e3/100*120)/100:r?parseInt(r)/100+"pt":void 0}(t["a:lnSpc"]);void 0!==e&&(l.lineSpacing=e)}if(void 0===l.spaceBefore){let e=tA(t["a:spcBef"]);void 0!==e&&(l.spaceBefore=e)}if(void 0===l.spaceAfter){let e=tA(t["a:spcAft"]);void 0!==e&&(l.spaceAfter=e)}}let h=function(t,e,r){for(let a of[t,e&&e["p:txBody"],r&&r["p:txBody"]]){let t=q(a,["a:bodyPr","a:normAutofit","attrs","lnSpcReduction"]);if(void 0!==t)return parseInt(t)}}(e,r,a);if(void 0!==h){let t=h/1e5;void 0!==l.lineSpacing?"number"==typeof l.lineSpacing&&(l.lineSpacing=Math.round(l.lineSpacing*(1-t)*100)/100):l.lineSpacing=Math.round((1-t)*100)/100}return Object.keys(l).length>0?l:null}(u,t,r,a,s,l,n),g=function(t,e,r,a,s,n,i){let o=tI(t,e,r,a,s,n,i);if(!o)return null;let l={};for(let t of o){if(void 0===l.marginLeft){let e=tP(t,"marL");void 0!==e&&(l.marginLeft=e)}if(void 0===l.textIndent){let e=tP(t,"indent");void 0!==e&&(l.textIndent=e)}}return Object.keys(l).length>0?l:null}(u,t,r,a,s,l,n),L=function(t,e,r,a,s,n,i){if(!(t["a:r"]||t["a:br"]||t["a:fld"]))return"";let o=tI(t,e,r,a,s,n,i);if(!o)return"";for(let t of o){if(t["a:buNone"])break;if(t["a:buChar"]||t["a:buBlip"])return"ul";if(t["a:buAutoNum"])return"ol"}return""}(u,t,r,a,s,l,n),y=function(t){let e=t["a:pPr"];if(!e)return 0;let r=q(e,["attrs","lvl"]);return void 0!==r?parseInt(r):0}(u),v=$;"distribute"===$&&(v="justify");let M=`text-align: ${v};`;if("distribute"===$&&(M+="text-align-last: justify;text-justify: distribute;"),b?(b.lineSpacing?M+=`line-height: ${b.lineSpacing};`:M+="line-height: 1.2;",b.spaceBefore&&(M+=`margin-top: ${b.spaceBefore};`),b.spaceAfter&&(M+=`margin-bottom: ${b.spaceAfter};`)):M+="line-height: 1.2;",g&&(!L&&g.marginLeft&&(M+=`margin-left: ${g.marginLeft};`),!L&&g.textIndent&&(M+=`text-indent: ${g.textIndent};`)),L){for(;f.length>y+1;){let t=f.pop();i+=`</${t}>`}void 0===f[y]?(i+=`<${L}>`,f[y]=L):f[y]!==L&&(i+=`</${f[y]}>`,i+=`<${L}>`,f[y]=L),i+=`<li><p style="${M}">`}else{for(;f.length>0;){let t=f.pop();i+=`</${t}>`}i+=`<p style="${M}">`}if(c){let e=null,f="",d=c.find(t=>!t.type),m=null;for(let p of c){if("math"===p.type){if(f&&e){let t=f.replace(/\t/g,"&nbsp;&nbsp;&nbsp;&nbsp;").replace(/\s/g,"&nbsp;");i+=`<span style="${e.styleText}">${t}</span>`}f="",e=null;let c=Y(p.latex),$=function(t,e,r,a,s,n,i,o,l,h,u){let c,f,d,m,p=1,$=q(r,["a:pPr","attrs","lvl"]);void 0!==$&&(p=parseInt($)+1);let b=(f=er(c=t&&t.node,!0)||er(c,!1))?{"a:rPr":f}:{},g=(d=b&&b["a:rPr"])&&d.attrs&&d.attrs.sz||!e?b:e,L=(m=b&&b["a:rPr"])&&(m["a:solidFill"]||m["a:gradFill"]||m["a:pattFill"])||!e?b:e,y=em(g,r,a,n,i,o,l,p,h),v=ed(L,r,a,n,i,o,l,p,s,u),M="";return y&&(M+=`font-size: ${y};`),v&&"string"==typeof v&&(M+=`color: ${v};`),M}(p,m||d,u,t,o,r,a,s,l,h,n);i+=`<span class="omml-math" data-latex="${c}"${$?` style="${$}"`:""}>${c}</span>`;continue}p.type||(m=p);let c=eb(p,u,t,o,r,a,s,l,h,n);if(!e||e.styleText!==c.styleText||e.hasLink!==c.hasLink||c.hasLink){if(f){let t=f.replace(/\t/g,"&nbsp;&nbsp;&nbsp;&nbsp;").replace(/\s/g,"&nbsp;");i+=`<span style="${e.styleText}">${t}</span>`,f=""}if(c.hasLink){let t=c.text.replace(/\t/g,"&nbsp;&nbsp;&nbsp;&nbsp;").replace(/\s/g,"&nbsp;");i+=`<span style="${c.styleText}"><a href="${c.linkURL}" target="_blank">${t}</a></span>`,e=null}else e=c,f=c.text}else f+=c.text}if(f&&e){let t=f.replace(/\t/g,"&nbsp;&nbsp;&nbsp;&nbsp;").replace(/\s/g,"&nbsp;");i+=`<span style="${e.styleText}">${t}</span>`}}else i+=function(t,e,r,a,s,n,i,o,l,h){let{styleText:u,text:c,hasLink:f,linkURL:d}=eb(t,e,r,a,s,n,i,o,l,h),m=c.replace(/\t/g,"&nbsp;&nbsp;&nbsp;&nbsp;").replace(/\s/g,"&nbsp;");return f?`<span style="${u}"><a href="${d}" target="_blank">${m}</a></span>`:`<span style="${u}">${m}</span>`}(u,e,t,o,r,a,s,l,h,n);L?i+="</p></li>":i+="</p>"}for(;f.length>0;){let t=f.pop();i+=`</${t}>`}return i}function eb(t,e,r,a,s,n,i,o,l,h){let u,c,f=1,d=q(e["a:pPr"],["attrs","lvl"]);void 0!==d&&(f=parseInt(d)+1);let m=ep(t["a:t"]);"string"!=typeof m&&(m=ep(q(t,["a:fld","a:t"]))),"string"!=typeof m&&(m="&nbsp;");let p="",$=ed(t,e,r,s,n,i,o,f,a,h),b=em(t,e,r,s,n,i,o,f,l),g=function(t,e,r,a,s,n,i,o,l,h){let u=ec(h),c=function(t,e){let r=ec(e);for(let e of t){let t=q(e,["a:latin","attrs","typeface"]),a=q(e,["a:ea","attrs","typeface"]),s=q(e,["a:cs","attrs","typeface"]),n=q(e,["a:sym","attrs","typeface"]);if(r&&a)return a;if(t)return t;if(a)return a;if(s)return s;if(n)return n}return""}(eh(t,e,r,a,s,n,i,o),h);if(!c||c.startsWith("+")){let t=q(l.themeContent,["a:theme","a:themeElements","a:fontScheme"]);if(t&&c&&c.startsWith("+"))switch(c){case"+mj-lt":return q(t,["a:majorFont","a:latin","attrs","typeface"]);case"+mn-lt":return q(t,["a:minorFont","a:latin","attrs","typeface"]);case"+mj-ea":return q(t,["a:majorFont","a:ea","attrs","typeface"]);case"+mn-ea":return q(t,["a:minorFont","a:ea","attrs","typeface"]);case"+mj-cs":return q(t,["a:majorFont","a:cs","attrs","typeface"]);case"+mn-cs":return q(t,["a:minorFont","a:cs","attrs","typeface"]);default:return c.replace(/^\+/,"")}c="title"===n||"subTitle"===n||"ctrTitle"===n?(u?q(t,["a:majorFont","a:ea","attrs","typeface"]):"")||q(t,["a:majorFont","a:latin","attrs","typeface"])||q(t,["a:majorFont","a:ea","attrs","typeface"]):(u?q(t,["a:minorFont","a:ea","attrs","typeface"]):"")||q(t,["a:minorFont","a:latin","attrs","typeface"])||q(t,["a:minorFont","a:ea","attrs","typeface"])}return c||""}(t,e,r,s,n,i,o,f,h,m),L=N(eu(eh(t,e,r,s,n,i,o,f),"b"))?"bold":"",y=N(eu(eh(t,e,r,s,n,i,o,f),"i"))?"italic":"",v="sng"===eu(eh(t,e,r,s,n,i,o,f),"u")?"underline":"",M="sngStrike"===eu(eh(t,e,r,s,n,i,o,f),"strike")?"line-through":"",w=(u=eu(eh(t,e,r,s,n,i,o,f),"spc"))&&0!==parseInt(u)?parseInt(u)/100+"pt":"",_=function(t,e,r,a,s,n,i,o,l){let h=function(t,e){for(let r of t){let t=q(r,["a:effectLst","a:outerShdw"]);if(!t)continue;let a=ea(t,e);if(a)return a}return null}(eh(t,e,r,a,s,n,i,o),l);if(h){let{h:t,v:e,blur:r,color:a}=h;if(!isNaN(e)&&!isNaN(t))return t+"pt "+e+"pt "+(r?r+"pt":"")+" "+a}return""}(t,e,r,s,n,i,o,f,h),k=(c=eu(eh(t,e,r,s,n,i,o,f),"baseline"))&&0!==parseInt(c)?parseInt(c)>0?"super":"sub":"";if($){if("string"==typeof $)p+=`color: ${$};`;else if($.colors){let{colors:t,rot:e}=$,r=t.map(t=>`${t.color} ${t.pos}`).join(", "),a=`linear-gradient(${e+90}deg, ${r})`;p+=`background: ${a}; background-clip: text; color: transparent;`}}b&&(p+=`font-size: ${b};`),g&&(p+=`font-family: ${g};`),L&&(p+=`font-weight: ${L};`),y&&(p+=`font-style: ${y};`),v&&(p+=`text-decoration: ${v};`),M&&(p+=`text-decoration-line: ${M};`),w&&(p+=`letter-spacing: ${w};`),k&&(p+=`vertical-align: ${k};`),_&&(p+=`text-shadow: ${_};`);let x=q(t,["a:rPr","a:hlinkClick","attrs","r:id"]),C=x&&h.slideResObj[x];return C&&(p=function(t,e,r){let a=t,s=q(e,["a:rPr"]),n=s?Q(s):"";if("SOLID_FILL"!==n&&"GRADIENT_FILL"!==n){var i;let t=((i=K("a:hlink",r))?i.startsWith("#")?i:`#${i}`:"")||"#0563C1";/color\s*:/.test(a)?a=a.replace(/color\s*:\s*[^;]+;/,`color: ${t};`):a+=`color: ${t};`}return"none"===q(e,["a:rPr","attrs","u"])||/text-decoration\s*:\s*underline/.test(a)||(a+="text-decoration: underline;"),a}(p,t,h)),{styleText:p,text:m,hasLink:C,linkURL:C?h.slideResObj[x].target:null}}function eg(t,e,r){let a=q(t,["a:pathLst"]),s=q(a,["a:path"]);Array.isArray(s)&&(s=s.shift());let n=parseInt(s.attrs.w)||0,i=parseInt(s.attrs.h)||0,o=0===n?0:1/n*e,l=0===i?0:1/i*r,h="",u=q(s,["a:moveTo"]),c=s["a:lnTo"],f=s["a:cubicBezTo"],d=s["a:quadBezTo"],m=s["a:arcTo"],p=q(s,["a:close"]);Array.isArray(u)||(u=[u]);let $=[];if(u.length>0){if(Object.keys(u).forEach(t=>{if(!u[t])return;let e=u[t]["a:pt"];e&&Object.keys(e).forEach(t=>{let r=e[t],a=r.x,s=r.y,n=r.order;$.push({type:"movto",x:a,y:s,order:n})})}),c&&(Array.isArray(c)||(c=[c]),Object.keys(c).forEach(t=>{if(!c[t])return;let e=c[t]["a:pt"];e&&Object.keys(e).forEach(t=>{let r=e[t],a=r.x,s=r.y,n=r.order;$.push({type:"lnto",x:a,y:s,order:n})})})),f){let t=[];Array.isArray(f)||(f=[f]),Object.keys(f).forEach(e=>{f[e]&&f[e]["a:pt"]&&t.push(f[e]["a:pt"])}),t.forEach(t=>{let e=[];t.forEach(t=>{let r={x:t.attrs.x,y:t.attrs.y};e.push(r)});let r=t[0].attrs.order;$.push({type:"cubicBezTo",cubBzPt:e,order:r})})}if(d){let t=[];Array.isArray(d)||(d=[d]),Object.keys(d).forEach(e=>{d[e]&&d[e]["a:pt"]&&t.push(d[e]["a:pt"])}),t.forEach(t=>{let e=[];t.forEach(t=>{let r={x:t.attrs.x,y:t.attrs.y};e.push(r)});let r=t[0].attrs.order;$.push({type:"quadBezTo",quadBzPt:e,order:r})})}m&&(Array.isArray(m)?m:[m]).forEach(t=>{let e=t.attrs,r=e.order,a=e.hR,s=e.wR,n=e.stAng,i=e.swAng,o=0,l=0,h=q(t,["a:pt","attrs"]);h&&(o=h.x,l=h.y),$.push({type:"arcTo",hR:a,wR:s,stAng:n,swAng:i,shftX:o,shftY:l,order:r})}),p&&(Array.isArray(p)||(p=[p]),Object.keys(p).forEach(()=>{$.push({type:"close",order:1/0})})),$.sort((t,e)=>t.order-e.order);let t=0;for(;t<$.length;){if("movto"===$[t].type)h+=" M"+parseInt($[t].x)*o+","+parseInt($[t].y)*l;else if("lnto"===$[t].type)h+=" L"+parseInt($[t].x)*o+","+parseInt($[t].y)*l;else if("cubicBezTo"===$[t].type)h+=" C"+parseInt($[t].cubBzPt[0].x)*o+","+parseInt($[t].cubBzPt[0].y)*l+" "+parseInt($[t].cubBzPt[1].x)*o+","+parseInt($[t].cubBzPt[1].y)*l+" "+parseInt($[t].cubBzPt[2].x)*o+","+parseInt($[t].cubBzPt[2].y)*l;else if("quadBezTo"===$[t].type)h+=" Q"+parseInt($[t].quadBzPt[0].x)*o+","+parseInt($[t].quadBzPt[0].y)*l+" "+parseInt($[t].quadBzPt[1].x)*o+","+parseInt($[t].quadBzPt[1].y)*l;else if("arcTo"===$[t].type){let e=parseInt($[t].hR)*o,r=parseInt($[t].wR)*l,a=parseInt($[t].stAng)/6e4,s=a+parseInt($[t].swAng)/6e4;h+=function(t,e,r,a,s,n,i){let o,l=s;if(n>=s)for(;l<=n;){let n=Math.PI/180*l,i=t+Math.cos(n)*r,h=e+Math.sin(n)*a;l===s&&(o=" M"+i+" "+h),o+=" L"+i+" "+h,l++}else for(;l>n;){let n=Math.PI/180*l,i=t+Math.cos(n)*r,h=e+Math.sin(n)*a;l===s&&(o=" M "+i+" "+h),o+=" L "+i+" "+h,l--}return o+(i?" z":"")}(r,e,r,e,a,s,!1)}else"close"===$[t].type&&(h+="z");t++}}return h}function eL(t){return t?Array.isArray(t)?t:[t]:[]}async function ey(t,e){let r=e.split("/").pop();try{let a=t.file(e);if(!a||!r.toLowerCase().endsWith(".fntdata")&&!r.toLowerCase().endsWith(".eot"))return"";let s=await a.async("arraybuffer"),n=function(t){let e=new DataView(t),r=new Uint8Array(t);try{let t=e.getUint32(0,!0),a=e.getUint32(4,!0),s=e.getUint32(8,!0),n=e.getUint16(34,!0);if(20556!==n||65536!==s&&131073!==s&&131074!==s)return null;let i=t-a;if(i<0||i>=t)return null;let o=r.slice(i,t);if(o.length>=4){let t=o[0]<<24|o[1]<<16|o[2]<<8|o[3];if(65536!==t&&0x4f54544f!==t)return null}return o}catch(t){return null}}(s);if(!n)return"";let i=new Blob([n],{type:"font/ttf"});return URL.createObjectURL(i)}catch(t){return""}}let ev={微软雅黑:"Microsoft YaHei, PingFang SC, Noto Sans CJK SC, sans-serif","Microsoft YaHei":"Microsoft YaHei, PingFang SC, Noto Sans CJK SC, sans-serif","Microsoft YaHei UI":"Microsoft YaHei UI, Microsoft YaHei, PingFang SC, sans-serif","微软雅黑 UI":"Microsoft YaHei UI, Microsoft YaHei, PingFang SC, sans-serif",宋体:"SimSun, STSong, serif",SimSun:"SimSun, STSong, serif",新宋体:"NSimSun, SimSun, STSong, serif",NSimSun:"NSimSun, SimSun, serif",黑体:"SimHei, STHeiti, Heiti SC, sans-serif",SimHei:"SimHei, STHeiti, sans-serif",仿宋:"FangSong, STFangSong, serif",FangSong:"FangSong, STFangSong, serif",楷体:"KaiTi, STKaiti, serif",KaiTi:"KaiTi, STKaiti, serif",仿宋_GB2312:"FangSong_GB2312, FangSong, serif",楷体_GB2312:"KaiTi_GB2312, KaiTi, serif",方正舒体:"FZShuTi, STSong, serif",方正姚体:"FZYaoti, STSong, serif",华文细黑:"STXihei, Microsoft YaHei, sans-serif",华文楷体:"STKaiti, KaiTi, serif",华文宋体:"STSong, SimSun, serif",STSong:"STSong, SimSun, serif",华文中宋:"STZhongsong, SimSun, serif",华文仿宋:"STFangSong, FangSong, serif",华文彩云:"STCaiyun, STSong, serif",华文琥珀:"STHupo, STSong, serif",华文隶书:"STLiti, serif",华文行楷:"STXingkai, serif",华文新魏:"STXinwei, serif",STHeiti:"STHeiti, SimHei, sans-serif",苹方:"PingFang SC, Helvetica Neue, sans-serif","PingFang SC":"PingFang SC, Helvetica Neue, sans-serif","PingFang TC":"PingFang TC, PingFang SC, sans-serif","PingFang HK":"PingFang HK, PingFang SC, sans-serif",冬青黑体:"Hiragino Sans GB, Microsoft YaHei, sans-serif","Hiragino Sans GB":"Hiragino Sans GB, Microsoft YaHei, sans-serif",幼圆:"YouYuan, SimSun, sans-serif",YouYuan:"YouYuan, SimSun, sans-serif",隶书:"LiSu, STLiti, serif",LiSu:"LiSu, STLiti, serif","Noto Sans CJK SC":"Noto Sans CJK SC, Microsoft YaHei, sans-serif","Noto Serif CJK SC":"Noto Serif CJK SC, SimSun, serif","Source Han Sans CN":"Source Han Sans CN, Microsoft YaHei, sans-serif","Source Han Serif CN":"Source Han Serif CN, SimSun, serif",Meiryo:"Meiryo, Microsoft YaHei, sans-serif","Meiryo UI":"Meiryo UI, Meiryo, sans-serif","MS Gothic":"MS Gothic, monospace","MS PGothic":"MS PGothic, sans-serif","MS Mincho":"MS Mincho, serif","Yu Gothic":"Yu Gothic, Meiryo, sans-serif","Yu Mincho":"Yu Mincho, serif","Malgun Gothic":"Malgun Gothic, Apple SD Gothic Neo, sans-serif",Batang:"Batang, serif",Gulim:"Gulim, sans-serif",Dotum:"Dotum, sans-serif",Calibri:"Calibri, Carlito, Helvetica Neue, Arial, sans-serif",Cambria:"Cambria, Georgia, serif","Cambria Math":"Cambria Math, Cambria, Georgia, serif",Candara:"Candara, Optima, sans-serif",Consolas:"Consolas, Menlo, monospace",Constantia:"Constantia, Palatino, serif",Corbel:"Corbel, Skia, sans-serif","Franklin Gothic Medium":"Franklin Gothic Medium, Arial Narrow, sans-serif","Gill Sans MT":"Gill Sans MT, Gill Sans, sans-serif","Gill Sans":"Gill Sans, Optima, sans-serif",Verdana:"Verdana, Geneva, Tahoma, sans-serif",Tahoma:"Tahoma, Verdana, sans-serif",Arial:"Arial, Helvetica, sans-serif","Arial Black":"Arial Black, Gadget, sans-serif","Arial Narrow":"Arial Narrow, Arial, sans-serif","Arial Unicode MS":"Arial Unicode MS, Arial, sans-serif","Times New Roman":"Times New Roman, Times, serif","Courier New":"Courier New, Courier, monospace",Georgia:"Georgia, Times New Roman, serif","Palatino Linotype":"Palatino Linotype, Palatino, Book Antiqua, serif","Book Antiqua":"Book Antiqua, Palatino, serif",Garamond:"Garamond, Hoefler Text, serif",Century:"Century, Times New Roman, serif","Century Gothic":"Century Gothic, Futura, sans-serif","Comic Sans MS":"Comic Sans MS, Chalkboard, cursive",Impact:"Impact, Charcoal, sans-serif","Lucida Console":"Lucida Console, Monaco, monospace","Lucida Sans Unicode":"Lucida Sans Unicode, Lucida Grande, sans-serif",Symbol:"Symbol, serif",Wingdings:"Wingdings, Zapf Dingbats, sans-serif","Wingdings 2":"Wingdings 2, sans-serif","Wingdings 3":"Wingdings 3, sans-serif",Webdings:"Webdings, sans-serif","Segoe UI":"Segoe UI, Helvetica Neue, Arial, sans-serif","Segoe UI Light":"Segoe UI Light, Segoe UI, sans-serif","Segoe UI Semibold":"Segoe UI Semibold, Segoe UI, sans-serif","Segoe UI Black":"Segoe UI Black, Segoe UI, sans-serif","Segoe Print":"Segoe Print, Comic Sans MS, cursive","Segoe Script":"Segoe Script, Comic Sans MS, cursive","Trebuchet MS":"Trebuchet MS, Helvetica, sans-serif",Palatino:"Palatino, Palatino Linotype, serif",Helvetica:"Helvetica, Arial, sans-serif","Helvetica Neue":"Helvetica Neue, Helvetica, Arial, sans-serif",Futura:"Futura, Century Gothic, sans-serif",Optima:"Optima, Segoe UI, sans-serif",Monaco:"Monaco, Consolas, monospace",Menlo:"Menlo, Consolas, monospace",Roboto:"Roboto, Helvetica Neue, Arial, sans-serif","Open Sans":"Open Sans, Helvetica Neue, Arial, sans-serif",Lato:"Lato, Helvetica Neue, Arial, sans-serif",Oswald:"Oswald, Impact, sans-serif",Raleway:"Raleway, Helvetica Neue, Arial, sans-serif",Nunito:"Nunito, Helvetica Neue, Arial, sans-serif","Hiragino Mincho Pro":"Hiragino Mincho Pro, STSong, serif","Hiragino Kaku Gothic Pro":"Hiragino Kaku Gothic Pro, Microsoft YaHei, sans-serif","Hiragino Kaku Gothic ProN":"Hiragino Kaku Gothic ProN, sans-serif","Apple LiGothic":"Apple LiGothic, Microsoft YaHei, sans-serif","Apple LiSung":"Apple LiSung, STSong, serif","LiHei Pro":"LiHei Pro, Microsoft YaHei, sans-serif","LiSong Pro":"LiSong Pro, STSong, serif"};function eM(t,e){if(t)return tg(t["a:solidFill"]||t,void 0,void 0,e)}async function ew(t,e,r,a){let s,n,i,o,l=q(t,["attrs","rowSpan"]),h=q(t,["attrs","gridSpan"]),u=q(t,["attrs","vMerge"]),c=q(t,["attrs","hMerge"]),f=q(t,["a:tcPr","attrs","anchor"]),d=q(t,["a:tcPr"]);if(d){let t=await t$({"p:spPr":d},a,"slide");t&&"color"===t.type&&t.value&&(s=t.value)}if(!s){let t;r&&(t=q(e,[r,"a:tcStyle","a:fill","a:solidFill"])),t&&(s=tg(t,void 0,void 0,a))}r&&(o=q(e,[r,"a:tcTxStyle"])),o&&(n=eM(o,a),"on"===q(o,["attrs","b"])&&(i=!0));let m=q(t,["a:tcPr","a:lnB"]);!m&&(r&&(m=q(e&&e[r],["a:tcStyle","a:tcBdr","a:bottom","a:ln"])),m||(m=q(e,["a:wholeTbl","a:tcStyle","a:tcBdr","a:bottom","a:ln"])));let p=q(t,["a:tcPr","a:lnT"]);!p&&(r&&(p=q(e&&e[r],["a:tcStyle","a:tcBdr","a:top","a:ln"])),p||(p=q(e,["a:wholeTbl","a:tcStyle","a:tcBdr","a:top","a:ln"])));let $=q(t,["a:tcPr","a:lnL"]);!$&&(r&&($=q(e&&e[r],["a:tcStyle","a:tcBdr","a:left","a:ln"])),$||($=q(e,["a:wholeTbl","a:tcStyle","a:tcBdr","a:left","a:ln"])));let b=q(t,["a:tcPr","a:lnR"]);!b&&(r&&(b=q(e&&e[r],["a:tcStyle","a:tcBdr","a:right","a:ln"])),b||(b=q(e,["a:wholeTbl","a:tcStyle","a:tcBdr","a:right","a:ln"])));let g={};return m&&(g.bottom=ty(m,void 0,a)),p&&(g.top=ty(p,void 0,a)),$&&(g.left=ty($,void 0,a)),b&&(g.right=ty(b,void 0,a)),{fillColor:s,fontColor:n,fontBold:i,borders:g,vAlign:"ctr"===f?"mid":"b"===f?"down":"up",rowSpan:l?+l:void 0,colSpan:h?+h:void 0,vMerge:u?+u:void 0,hMerge:c?+c:void 0}}function e_(t,e,r,a,s,n,i){let o="",l=n>=s?1:-1,h=s,u=t=>l>0?t<=n:t>=n;for(;u(h);){let n=Math.PI/180*h,i=t+Math.cos(n)*r,u=e+Math.sin(n)*a;h===s&&(o=` M${i} ${u}`),o+=` L${i} ${u}`,h+=l}return i&&(o+=" z"),o}function ek(t,e,r,a){let s="";switch(t){case"rect":case"actionButtonBlank":case"leftRightCircularArrow":case"chartPlus":case"chartStar":case"chartX":case"cornerTabs":case"flowChartOfflineStorage":case"folderCorner":case"funnel":case"lineInv":case"nonIsoscelesTrapezoid":case"plaqueTabs":case"squareTabs":case"upDownArrowCallout":default:s=`M 0 0 L ${e} 0 L ${e} ${r} L 0 ${r} Z`;break;case"flowChartPredefinedProcess":s=`M 0 0 L ${e} 0 L ${e} ${r} L 0 ${r} Z M ${1/8*e} 0 L ${1/8*e} ${r} M ${7/8*e} 0 L ${7/8*e} ${r}`;break;case"flowChartInternalStorage":s=`M 0 0 L ${e} 0 L ${e} ${r} L 0 ${r} Z M ${1/8*e} 0 L ${1/8*e} ${r} M 0 ${1/8*r} L ${e} ${1/8*r}`;break;case"flowChartCollate":s=`M 0,0 L ${e},0 L 0,${r} L ${e},${r} z`;break;case"flowChartDocument":{let t=10800*e/21600,a=17322*r/21600,n=20172*r/21600,i=23922*r/21600;s=`M 0,0 L ${e},0 L ${e},${a} C ${t},${a} ${t},${i} 0,${n} z`}break;case"flowChartMultidocument":{let t=18022*r/21600,a=3675*r/21600,n=23542*r/21600,i=1815*r/21600,o=16252*r/21600,l=16352*r/21600,h=14392*r/21600,u=20782*r/21600,c=14467*r/21600,f=1532*e/21600,d=2e4*e/21600,m=9298*e/21600,p=19298*e/21600,$=18595*e/21600,b=2972*e/21600,g=20800*e/21600;s=`M 0,${a} L ${$},${a} L ${$},${t} C ${m},${t} ${m},${n} 0,${u} z M ${f},${a} L ${f},${i} L ${d},${i} L ${d},${o} C ${p},${o} ${$},${l} ${$},${l} M ${b},${i} L ${b},0 L ${e},0 L ${e},${h} C ${g},${h} ${d},${c} ${d},${c}`}break;case"actionButtonBackPrevious":{let t=e/2,a=r/2,n=3*Math.min(e,r)/8,i=t+n;s=`M 0,0 L ${e},0 L ${e},${r} L 0,${r} z M ${t-n},${a} L ${i},${a-n} L ${i},${a+n} z`}break;case"actionButtonBeginning":{let t=e/2,a=r/2,n=Math.min(e,r),i=3*n/8,o=a-i,l=a+i,h=t-i,u=t+i,c=3*n/4,f=h+c/8;s=`M 0,0 L ${e},0 L ${e},${r} L 0,${r} z M ${h+c/4},${a} L ${u},${o} L ${u},${l} z M ${f},${o} L ${h},${o} L ${h},${l} L ${f},${l} z`}break;case"actionButtonDocument":{let t=e/2,a=r/2,n=Math.min(e,r),i=3*n/8,o=a-i,l=a+i,h=9*n/32,u=t-h,c=t+h,f=3*n/16,d=c-f,m=o+f;s=`M 0,0 L ${e},0 L ${e},${r} L 0,${r} z M ${u},${o} L ${d},${o} L ${c},${m} L ${c},${l} L ${u},${l} z M ${d},${o} L ${d},${m} L ${c},${m} z`}break;case"actionButtonEnd":{let t=e/2,a=r/2,n=Math.min(e,r),i=3*n/8,o=a-i,l=a+i,h=t-i,u=t+i,c=3*n/4,f=h+7*c/8;s=`M 0,${r} L ${e},${r} L ${e},0 L 0,0 z M ${f},${o} L ${u},${o} L ${u},${l} L ${f},${l} z M ${h+3*c/4},${a} L ${h},${o} L ${h},${l} z`}break;case"actionButtonForwardNext":{let t=e/2,a=r/2,n=3*Math.min(e,r)/8,i=t-n;s=`M 0,${r} L ${e},${r} L ${e},0 L 0,0 z M ${t+n},${a} L ${i},${a-n} L ${i},${a+n} z`}break;case"actionButtonHelp":{let t=e/2,a=r/2,n=Math.min(e,r),i=3*n/8,o=a-i,l=t-i,h=3*n/4,u=h/7,c=3*h/14,f=2*h/7,d=o+f,m=o+17*h/28,p=o+21*h/28,$=o+11*h/14,b=l+c,g=l+3*h/7,L=l+4*h/7,y=h/14,v=3*h/28,M=b+f,w=g+u,_=$+v,k=(L+g+f)/2;s=`M 0,0 L ${e},0 L ${e},${r} L 0,${r} z M ${b},${d} ${e_(M,d,f,f,180,360,!1).replace("M","L")} ${e_(k,d,u,c,0,90,!1).replace("M","L")} ${e_(k,m,y,v,270,180,!1).replace("M","L")} L ${L},${p} L ${g},${p} L ${g},${m} ${e_(w,m,u,c,180,270,!1).replace("M","L")} ${e_(L,d,y,v,90,0,!1).replace("M","L")} ${e_(M,d,u,u,0,-180,!1).replace("M","L")} z M ${t},${$} ${e_(t,_,v,v,270,630,!1).replace("M","L")} z`}break;case"actionButtonHome":{let t=e/2,a=r/2,n=Math.min(e,r),i=3*n/8,o=a-i,l=a+i,h=t-i,u=3*n/4,c=o+u/16,f=o+3*u/4,d=h+u/8,m=h+7*u/16,p=h+9*u/16,$=h+11*u/16,b=h+13*u/16,g=h+7*u/8;s=`M 0,0 L ${e},0 L ${e},${r} L 0,${r} z M ${t},${o} L ${h},${a} L ${d},${a} L ${d},${l} L ${g},${l} L ${g},${a} L ${t+i},${a} L ${b},${o+5*u/16} L ${b},${c} L ${$},${c} L ${$},${o+3*u/16} z M ${m},${f} L ${p},${f} L ${p},${l} L ${m},${l} z`}break;case"actionButtonInformation":{let t=e/2,a=r/2,n=Math.min(e,r),i=3*n/8,o=a-i,l=t-i,h=3*n/4,u=5*h/16,c=o+h/32,f=o+u,d=o+3*h/8,m=o+13*h/16,p=o+7*h/8,$=l+u,b=l+13*h/32,g=l+19*h/32,L=l+11*h/16,y=3*h/32,v=o+i,M=c+y;s=`M 0,0 L ${e},0 L ${e},${r} L 0,${r} z M ${t},${o} ${e_(t,v,i,i,270,630,!1).replace("M","L")} z M ${t},${c} ${e_(t,M,y,y,270,630,!1).replace("M","L")} M ${$},${f} L ${g},${f} L ${g},${m} L ${L},${m} L ${L},${p} L ${$},${p} L ${$},${m} L ${b},${m} L ${b},${d} L ${$},${d} z`}break;case"actionButtonMovie":{let t=e/2,a=r/2,n=Math.min(e,r),i=t-3*n/8,o=a-3*n/8,l=t+3*n/8,h=3*n/4,u=i+1455*h/21600,c=i+1905*h/21600,f=i+2325*h/21600,d=i+17010*h/21600,m=i+20595*h/21600,p=o+5280*h/21600,$=o+5730*h/21600,b=o+6630*h/21600,g=o+7492*h/21600,L=o+9067*h/21600,y=o+9555*h/21600,v=o+13342*h/21600,M=o+14580*h/21600,w=o+15592*h/21600;s=`M 0,${r} L ${e},${r} L ${e},0 L 0,0 z M ${i},${p} L ${i},${y} L ${u},${y} L ${c},${L} L ${f},${L} L ${f},${w} L ${d},${w} L ${d},${v} L ${i+19335*h/21600},${v} L ${m},${M} L ${l},${M} L ${l},${b} L ${m},${b} L ${i+19725*h/21600},${g} L ${d},${g} L ${d},${b} L ${i+16155*h/21600},${$} L ${c},${$} L ${u},${p} z`}break;case"actionButtonReturn":{let t=e/2,a=r/2,n=Math.min(e,r),i=3*n/8,o=a-i,l=a+i,h=t-i,u=t+i,c=3*n/4,f=3*c/4,d=5*c/8,m=3*c/8,p=c/4,$=o+f,b=o+d,g=o+p,L=h+d,y=h+m,v=c/8,M=L-v,w=$-v,_=h+m,k=l-m;s=`M 0,${r} L ${e},${r} L ${e},0 L 0,0 z M ${u},${g} L ${h+f},${o} L ${t},${g} L ${L},${g} L ${L},${b} ${e_(M,b,v,v,0,90,!1).replace("M","L")} L ${y},${$} ${e_(y,w,v,v,90,180,!1).replace("M","L")} L ${h+p},${g} L ${h},${g} L ${h},${b} ${e_(_,b,m,m,180,90,!1).replace("M","L")} L ${t},${l} ${e_(t,k,m,m,90,0,!1).replace("M","L")} L ${h+7*c/8},${g} z`}break;case"actionButtonSound":{let t=e/2,a=r/2,n=Math.min(e,r),i=3*n/8,o=a-i,l=t-i,h=t+i,u=3*n/4,c=5*u/16,f=o+c,d=o+11*u/16,m=l+c,p=l+5*u/8,$=l+3*u/4;s=`M 0,0 L ${e},0 L ${e},${r} L 0,${r} z M ${l},${f} L ${m},${f} L ${p},${o} L ${p},${a+i} L ${m},${d} L ${l},${d} z M ${$},${f} L ${h},${o+u/8} M ${$},${a} L ${h},${a} M ${$},${d} L ${h},${o+7*u/8}`}break;case"irregularSeal1":s=`M ${10800*e/21600},${5800*r/21600} L ${14522*e/21600},0 L ${14155*e/21600},${5325*r/21600} L ${18380*e/21600},${4457*r/21600} L ${16702*e/21600},${7315*r/21600} L ${21097*e/21600},${8137*r/21600} L ${17607*e/21600},${10475*r/21600} L ${e},${13290*r/21600} L ${16837*e/21600},${12942*r/21600} L ${18145*e/21600},${18095*r/21600} L ${14020*e/21600},${14457*r/21600} L ${13247*e/21600},${19737*r/21600} L ${10532*e/21600},${14935*r/21600} L ${8485*e/21600},${r} L ${7715*e/21600},${15627*r/21600} L ${4762*e/21600},${17617*r/21600} L ${5667*e/21600},${13937*r/21600} L ${135*e/21600},${14587*r/21600} L ${3722*e/21600},${11775*r/21600} L 0,${8615*r/21600} L ${4627*e/21600},${7617*r/21600} L ${370*e/21600},${2295*r/21600} L ${7312*e/21600},${6320*r/21600} L ${8352*e/21600},${2295*r/21600} z`;break;case"irregularSeal2":s=`M ${11462*e/21600},${4342*r/21600} L ${14790*e/21600},0 L ${14525*e/21600},${5777*r/21600} L ${18007*e/21600},${3172*r/21600} L ${16380*e/21600},${6532*r/21600} L ${e},${6645*r/21600} L ${16985*e/21600},${9402*r/21600} L ${18270*e/21600},${11290*r/21600} L ${16380*e/21600},${12310*r/21600} L ${18877*e/21600},${15632*r/21600} L ${14640*e/21600},${14350*r/21600} L ${14942*e/21600},${17370*r/21600} L ${12180*e/21600},${15935*r/21600} L ${11612*e/21600},${18842*r/21600} L ${9872*e/21600},${17370*r/21600} L ${8700*e/21600},${19712*r/21600} L ${7527*e/21600},${18125*r/21600} L ${4917*e/21600},${r} L ${4805*e/21600},${18240*r/21600} L ${1285*e/21600},${17825*r/21600} L ${3330*e/21600},${15370*r/21600} L 0,${12877*r/21600} L ${3935*e/21600},${11592*r/21600} L ${1172*e/21600},${8270*r/21600} L ${5372*e/21600},${7817*r/21600} L ${4502*e/21600},${3625*r/21600} L ${8550*e/21600},${6382*r/21600} L ${9722*e/21600},${1887*r/21600} z`;break;case"flowChartTerminator":{let t=3475*e/21600,a=18125*e/21600,n=10800*r/21600;s=`M ${t},0 L ${a},0 ${e_(a,r/2,t,n,270,450,!1).replace("M","L")} L ${t},${r} ${e_(t,r/2,t,n,90,270,!1).replace("M","L")} z`}break;case"flowChartPunchedTape":{let t=5*e/20,a=2*r/20,n=18*r/20;s=`M 0,${a} ${e_(t,a,t,a,180,0,!1).replace("M","L")} ${e_(.75*e,a,t,a,180,360,!1).replace("M","L")} L ${e},${n} ${e_(.75*e,n,t,a,0,-180,!1).replace("M","L")} ${e_(t,n,t,a,0,180,!1).replace("M","L")} z`}break;case"flowChartOnlineStorage":{let t=e/6,a=3*r/6;s=`M ${t},0 L ${e},0 ${e_(e,r/2,t,a,270,90,!1).replace("M","L")} L ${t},${r} ${e_(t,r/2,t,a,90,270,!1).replace("M","L")} z`}break;case"flowChartDisplay":{let t=e/6,a=5*e/6,n=3*r/6;s=`M 0,${n} L ${t},0 L ${a},0 ${e_(e,r/2,t,n,270,450,!1).replace("M","L")} L ${t},${r} z`}break;case"flowChartDelay":{let t=e/2,a=r/2;s=`M 0,0 L ${t},0 ${e_(t,a,t,a,270,450,!1).replace("M","L")} L 0,${r} z`}break;case"flowChartMagneticTape":{let t=e/2,a=r/2,n=a*Math.sin(Math.PI/4),i=a+n,o=180*Math.atan(r/e)/Math.PI;s=`M ${t},${r} ${e_(t,a,t,a,90,180,!1).replace("M","L")} ${e_(t,a,t,a,180,270,!1).replace("M","L")} ${e_(t,a,t,a,270,360,!1).replace("M","L")} ${e_(t,a,t,a,0,o,!1).replace("M","L")} L ${e},${i} L ${e},${r} z`}break;case"ellipse":case"flowChartConnector":case"flowChartSummingJunction":case"flowChartOr":{let a=e/2,n=r/2,i=e/2,o=r/2;if(s=`M ${a-i},${n} A ${i},${o} 0 1,0 ${a+i},${n} A ${i},${o} 0 1,0 ${a-i},${n} Z`,"flowChartOr"===t)s+=` M ${e/2} 0 L ${e/2} ${r} M 0 ${r/2} L ${e} ${r/2}`;else if("flowChartSummingJunction"===t){let t=Math.PI/4,i=e/2*Math.cos(t),o=r/2*Math.sin(t),l=a-i,h=a+i,u=n-o,c=n+o;s+=` M ${l} ${u} L ${h} ${c} M ${h} ${u} L ${l} ${c}`}}break;case"roundRect":case"round1Rect":case"round2DiagRect":case"round2SameRect":case"snip1Rect":case"snip2DiagRect":case"snip2SameRect":case"flowChartAlternateProcess":case"flowChartPunchedCard":{let n,i,o,l,h=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]);if(h&&Array.isArray(h))for(let t of h){let e=q(t,["attrs","name"]);"adj1"===e?n=parseInt(q(t,["attrs","fmla"]).substring(4))/5e4:"adj2"===e&&(i=parseInt(q(t,["attrs","fmla"]).substring(4))/5e4)}else h&&(n=parseInt(q(h,["attrs","fmla"]).substring(4))/5e4,i=0);switch(t){case"roundRect":case"flowChartAlternateProcess":o="round",l="cornrAll",void 0===n&&(n=.33334),i=0;break;case"round1Rect":o="round",l="cornr1",void 0===n&&(n=.33334),i=0;break;case"round2DiagRect":o="round",l="diag",void 0===n&&(n=.33334),void 0===i&&(i=0);break;case"round2SameRect":o="round",l="cornr2",void 0===n&&(n=.33334),void 0===i&&(i=0);break;case"snip1Rect":o="snip",l="cornr1",void 0===n&&(n=.33334),i=0;break;case"flowChartPunchedCard":o="snip",l="cornrTL",void 0===n&&(n=.33334),i=0;break;case"snip2DiagRect":o="snip",l="diag",void 0===n&&(n=0),void 0===i&&(i=.33334);break;case"snip2SameRect":o="snip",l="cornr2",void 0===n&&(n=.33334),void 0===i&&(i=0)}s=function(t,e,r,a,s,n){let i,o,l,h;switch(n){case"cornr1":i=0,o=0,l=0,h=r;break;case"cornr2":i=r,o=a,l=a,h=r;break;case"cornrAll":i=r,o=r,l=r,h=r;break;case"diag":i=r,o=a,l=r,h=a;break;case"cornrTL":i=r,o=0,l=0,h=0;break;default:i=o=l=h=0}let u=Math.min(t,e)/2*i,c=Math.min(t,e)/2*o,f=Math.min(t,e)/2*l,d=Math.min(t,e)/2*h;return"round"===s?`M0,${e-c} Q0,${e} ${c},${e} L${t-f},${e} Q${t},${e} ${t},${e-f} L${t},${d} Q${t},0 ${t-d},0 L${u},0 Q0,0 0,${u} z`:"snip"===s?`M0,${u} L0,${e-c} L${c},${e} L${t-f},${e} L${t},${e-f} L${t},${d} L${t-d},0 L${u},0 z`:""}(e,r,n,i,o,l)}break;case"snipRoundRect":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=.33334,i=.33334;if(t)for(let e of t){let t=q(e,["attrs","name"]);"adj1"===t?n=parseInt(q(e,["attrs","fmla"]).substring(4))/5e4:"adj2"===t&&(i=parseInt(q(e,["attrs","fmla"]).substring(4))/5e4)}s=`M0,${r} L${e},${r} L${e},${r/2*i} L${e/2+e/2*(1-i)},0 L${e/2*n},0 Q0,0 0,${r/2*n} z`}break;case"bentConnector2":s=`M ${e} 0 L ${e} ${r} L 0 ${r}`;break;case"rtTriangle":s=`M 0 0 L 0 ${r} L ${e} ${r} Z`;break;case"triangle":case"flowChartExtract":case"flowChartMerge":{let n=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),i=.5;n&&(i=parseInt(n.substring(4))*t_);let o=e*i,l=0,h=0,u=r,c=e,f=r;"flowChartMerge"===t&&([o,l]=[e-o,r-l],[h,u]=[e-h,r-u],[c,f]=[e-c,r-f]),s=`M ${o} ${l} L ${h} ${u} L ${c} ${f} Z`}break;case"diamond":case"flowChartDecision":case"flowChartSort":s=`M ${e/2} 0 L 0 ${r/2} L ${e/2} ${r} L ${e} ${r/2} Z`,"flowChartSort"===t&&(s+=` M 0 ${r/2} L ${e} ${r/2}`);break;case"trapezoid":case"flowChartManualOperation":case"flowChartManualInput":{let n=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),i=.2;if(n){let t=Math.min(e,r),a=Math.max(0,Math.min(parseInt(n.substring(4)),5e4*e/t));i=t*a/1e5/e}let o=e*i,l=0,h=0,u=r,c=e,f=r,d=(1-i)*e,m=0;"flowChartManualInput"===t&&(i=0,l=r/5,o=e*i,d=(1-i)*e),"flowChartManualOperation"===t&&([o,l]=[e-o,r-l],[h,u]=[e-h,r-u],[c,f]=[e-c,r-f],[d,m]=[e-d,r-m]),s=`M ${o} ${l} L ${h} ${u} L ${c} ${f} L ${d} ${m} Z`}break;case"parallelogram":case"flowChartInputOutput":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),n=.25;if(t){let a=Math.min(e,r),s=Math.max(0,Math.min(parseInt(t.substring(4)),1e5*e/a));n=a*s/2e5/e}s=`M ${n*e} 0 L 0 ${r} L ${(1-n)*e} ${r} L ${e} 0 Z`}break;case"pentagon":s=`M ${.5*e} 0 L 0 ${.375*r} L ${.15*e} ${r} L ${.85*e} ${r} L ${e} ${.375*r} Z`;break;case"hexagon":case"flowChartPreparation":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),n=25e3*t_;t&&(n=parseInt(t.substring(4))*t_);let i=1e5*t_,o=Math.min(e,r),l=5e4*t_*e/o,h=o*(n<0?0:n>l?l:n)/i,u=e-h,c=115470*t_*(r/2)/i*Math.sin(60*Math.PI/180),f=r/2,d=f-c,m=f+c;s=`M 0,${f} L ${h},${d} L ${u},${d} L ${e},${f} L ${u},${m} L ${h},${m} z`}break;case"heptagon":s=`M ${.5*e} 0 L ${e/8} ${r/4} L 0 ${5/8*r} L ${e/4} ${r} L ${.75*e} ${r} L ${e} ${5/8*r} L ${7/8*e} ${r/4} Z`;break;case"octagon":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),n=.25;t&&(n=parseInt(t.substring(4))/1e5);let i=1-n;s=`M ${n*e} 0 L 0 ${n*r} L 0 ${i*r} L ${n*e} ${r} L ${i*e} ${r} L ${e} ${i*r} L ${e} ${n*r} L ${i*e} 0 Z`}break;case"decagon":s=`M ${3/8*e} 0 L ${e/8} ${r/8} L 0 ${r/2} L ${e/8} ${7/8*r} L ${3/8*e} ${r} L ${5/8*e} ${r} L ${7/8*e} ${7/8*r} L ${e} ${r/2} L ${7/8*e} ${r/8} L ${5/8*e} 0 Z`;break;case"dodecagon":s=`M ${3/8*e} 0 L ${e/8} ${r/8} L 0 ${3/8*r} L 0 ${5/8*r} L ${e/8} ${7/8*r} L ${3/8*e} ${r} L ${5/8*e} ${r} L ${7/8*e} ${7/8*r} L ${e} ${5/8*r} L ${e} ${3/8*r} L ${7/8*e} ${r/8} L ${5/8*e} 0 Z`;break;case"star4":{let t=e/2,n=r/2,i=e/2,o=r/2,l=19098*t_,h=5e4*t_,u=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]);u&&"adj"===u.attrs.name&&(l=parseInt(u.attrs.fmla.substring(4))*t_);let c=l<0?0:l>h?h:l,f=i*c/h*.7071067811847432,d=o*c/h*.7071067811883519,m=t-f,p=t+f,$=n-d,b=n+d;s=`M 0,${n} L ${m},${$} L ${t},0 L ${p},${$} L ${e},${n} L ${p},${b} L ${t},${r} L ${m},${b} z`}break;case"star5":{let t=e/2,n=r/2,i=e/2,o=r/2,l=19098*t_,h=105146*t_,u=110557*t_,c=5e4*t_,f=1e5*t_,d=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]);d&&Object.keys(d).forEach(t=>{let e=d[t].attrs.name;"adj"===e?l=parseInt(d[t].attrs.fmla.substring(4))*t_:"hf"===e?h=parseInt(d[t].attrs.fmla.substring(4))*t_:"vf"===e&&(u=parseInt(d[t].attrs.fmla.substring(4))*t_)});let m=l<0?0:l>c?c:l,p=i*h/f,$=o*u/f,b=n*u/f,g=.9510565162948381*p,L=.5877852522903303*p,y=b-.3090169943759181*$,v=b- -.8090169943765043*$,M=p*m/c,w=$*m/c,_=.9510565162887857*M,k=.5877852522899959*M,x=b-.8090169943767472*w,C=b- -.3090169943945457*w;s=`M ${t-g},${y} L ${t-k},${x} L ${t},0 L ${t+k},${x} L ${t+g},${y} L ${t+_},${C} L ${t+L},${v} L ${t},${b+w} L ${t-L},${v} L ${t-_},${C} z`}break;case"star6":{let t=e/2,n=r/2,i=e/2,o=r/2,l=r/4,h=28868*t_,u=115470*t_,c=5e4*t_,f=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]);f&&Object.keys(f).forEach(t=>{let e=f[t].attrs.name;"adj"===e?h=parseInt(f[t].attrs.fmla.substring(4))*t_:"hf"===e&&(u=parseInt(f[t].attrs.fmla.substring(4))*t_)});let d=h<0?0:h>c?c:h,m=i*u/(1e5*t_),p=.866025403783588*m,$=t-p,b=t+p,g=n+l,L=m*d/c,y=L/2,v=t-y,M=t+y,w=o*d/c*.8660254037861398,_=n-w,k=n+w;s=`M ${$},${l} L ${v},${_} L ${t},0 L ${M},${_} L ${b},${l} L ${t+L},${n} L ${b},${g} L ${M},${k} L ${t},${r} L ${v},${k} L ${$},${g} L ${t-L},${n} z`}break;case"star7":{let t=e/2,n=r/2,i=e/2,o=r/2,l=34601*t_,h=102572*t_,u=105210*t_,c=5e4*t_,f=1e5*t_,d=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]);d&&Object.keys(d).forEach(t=>{let e=d[t].attrs.name;"adj"===e?l=parseInt(d[t].attrs.fmla.substring(4))*t_:"hf"===e?h=parseInt(d[t].attrs.fmla.substring(4))*t_:"vf"===e&&(u=parseInt(d[t].attrs.fmla.substring(4))*t_)});let m=l<0?0:l>c?c:l,p=i*h/f,$=o*u/f,b=n*u/f,g=97493*p/1e5,L=78183*p/1e5,y=43388*p/1e5,v=b-62349*$/1e5,M=b+22252*$/1e5,w=b+90097*$/1e5,_=p*m/c,k=$*m/c,x=97493*_/1e5,C=78183*_/1e5,S=43388*_/1e5,I=b-90097*k/1e5,A=b-22252*k/1e5,P=b+62349*k/1e5;s=`M ${t-g},${M} L ${t-x},${A} L ${t-L},${v} L ${t-S},${I} L ${t},0 L ${t+S},${I} L ${t+L},${v} L ${t+x},${A} L ${t+g},${M} L ${t+C},${P} L ${t+y},${w} L ${t},${b+k} L ${t-y},${w} L ${t-C},${P} z`}break;case"star8":{let t=e/2,n=r/2,i=e/2,o=r/2,l=37500*t_,h=5e4*t_,u=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]);u&&"adj"===u.attrs.name&&(l=parseInt(u.attrs.fmla.substring(4))*t_);let c=l<0?0:l>h?h:l,f=.7071067811847432*i,d=t-f,m=t+f,p=.7071067811883519*o,$=n-p,b=n+p,g=i*c/h,L=o*c/h,y=92388*g/1e5,v=38268*g/1e5,M=92388*L/1e5,w=38268*L/1e5,_=t-y,k=t-v,x=t+v,C=t+y,S=n-M,I=n-w,A=n+w,P=n+M;s=`M 0,${n} L ${_},${I} L ${d},${$} L ${k},${S} L ${t},0 L ${x},${S} L ${m},${$} L ${C},${I} L ${e},${n} L ${C},${A} L ${m},${b} L ${x},${P} L ${t},${r} L ${k},${P} L ${d},${b} L ${_},${A} z`}break;case"star10":{let t=e/2,n=r/2,i=e/2,o=r/2,l=42533*t_,h=105146*t_,u=5e4*t_,c=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]);c&&Object.keys(c).forEach(t=>{let e=c[t].attrs.name;"adj"===e?l=parseInt(c[t].attrs.fmla.substring(4))*t_:"hf"===e&&(h=parseInt(c[t].attrs.fmla.substring(4))*t_)});let f=l<0?0:l>u?u:l,d=i*h/(1e5*t_),m=95106*d/1e5,p=58779*d/1e5,$=t-m,b=t-p,g=t+p,L=t+m,y=80902*o/1e5,v=30902*o/1e5,M=n-y,w=n-v,_=n+v,k=n+y,x=d*f/u,C=o*f/u,S=80902*x/1e5,I=30902*x/1e5,A=95106*C/1e5,P=58779*C/1e5,R=t-S,z=t-I,T=t+I,F=t+S,O=n-A,B=n-P,E=n+P,j=n+A;s=`M ${$},${w} L ${R},${B} L ${b},${M} L ${z},${O} L ${t},0 L ${T},${O} L ${g},${M} L ${F},${B} L ${L},${w} L ${t+x},${n} L ${L},${_} L ${F},${E} L ${g},${k} L ${T},${j} L ${t},${r} L ${z},${j} L ${b},${k} L ${R},${E} L ${$},${_} L ${t-x},${n} z`}break;case"star12":{let t=e/2,n=r/2,i=e/2,o=r/2,l=r/4,h=e/4,u=37500*t_,c=5e4*t_,f=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]);f&&"adj"===f.attrs.name&&(u=parseInt(f.attrs.fmla.substring(4))*t_);let d=u<0?0:u>c?c:u,m=.866025403783588*i,p=.8660254037861398*o,$=t-m,b=3*e/4,g=t+m,L=n-p,y=3*r/4,v=n+p,M=i*d/c,w=o*d/c,_=.9659258262888482*M,k=.7071067811847432*M,x=.2588190450984128*M,C=.965925826290169*w,S=.7071067811883519*w,I=.25881904510334236*w,A=t-_,P=t-k,R=t-x,z=t+x,T=t+k,F=t+_,O=n-C,B=n-S,E=n-I,j=n+I,D=n+S,N=n+C;s=`M 0,${n} L ${A},${E} L ${$},${l} L ${P},${B} L ${h},${L} L ${R},${O} L ${t},0 L ${z},${O} L ${b},${L} L ${T},${B} L ${g},${l} L ${F},${E} L ${e},${n} L ${F},${j} L ${g},${y} L ${T},${D} L ${b},${v} L ${z},${N} L ${t},${r} L ${R},${N} L ${h},${v} L ${P},${D} L ${$},${y} L ${A},${j} z`}break;case"star16":{let t=e/2,n=r/2,i=e/2,o=r/2,l=37500*t_,h=5e4*t_,u=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]);u&&"adj"===u.attrs.name&&(l=parseInt(u.attrs.fmla.substring(4))*t_);let c=l<0?0:l>h?h:l,f=92388*i/1e5,d=70711*i/1e5,m=38268*i/1e5,p=92388*o/1e5,$=70711*o/1e5,b=38268*o/1e5,g=t-f,L=t-d,y=t-m,v=t+m,M=t+d,w=t+f,_=n-p,k=n-$,x=n-b,C=n+b,S=n+$,I=n+p,A=i*c/h,P=o*c/h,R=98079*A/1e5,z=83147*A/1e5,T=55557*A/1e5,F=19509*A/1e5,O=98079*P/1e5,B=83147*P/1e5,E=55557*P/1e5,j=19509*P/1e5,D=t-R,N=t-z,G=t-T,U=t-F,H=t+F,Y=t+T,Z=t+z,W=t+R,K=n-O,V=n-B,X=n-E,Q=n-j,J=n+j,tt=n+E,te=n+B,tr=n+O;s=`M 0,${n} L ${D},${Q} L ${g},${x} L ${N},${X} L ${L},${k} L ${G},${V} L ${y},${_} L ${U},${K} L ${t},0 L ${H},${K} L ${v},${_} L ${Y},${V} L ${M},${k} L ${Z},${X} L ${w},${x} L ${W},${Q} L ${e},${n} L ${W},${J} L ${w},${C} L ${Z},${tt} L ${M},${S} L ${Y},${te} L ${v},${I} L ${H},${tr} L ${t},${r} L ${U},${tr} L ${y},${I} L ${G},${te} L ${L},${S} L ${N},${tt} L ${g},${C} L ${D},${J} z`}break;case"star24":{let t=e/2,n=r/2,i=e/2,o=r/2,l=r/4,h=e/4,u=37500*t_,c=5e4*t_,f=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]);f&&"adj"===f.attrs.name&&(u=parseInt(f.attrs.fmla.substring(4))*t_);let d=u<0?0:u>c?c:u,m=.9659258262888482*i,p=.866025403783588*i,$=.7071067811847432*i,b=.2588190450984128*i,g=.965925826290169*o,L=.8660254037861398*o,y=.7071067811883519*o,v=.25881904510334236*o,M=t-m,w=t-p,_=t-$,k=t-h,x=t-b,C=t+b,S=t+h,I=t+$,A=t+p,P=t+m,R=n-g,z=n-L,T=n-y,F=n-l,O=n-v,B=n+v,E=n+l,j=n+y,D=n+L,N=n+g,G=i*d/c,U=o*d/c,H=99144*G/1e5,Y=92388*G/1e5,Z=79335*G/1e5,W=60876*G/1e5,K=38268*G/1e5,V=13053*G/1e5,X=99144*U/1e5,Q=92388*U/1e5,J=79335*U/1e5,tt=60876*U/1e5,te=38268*U/1e5,tr=13053*U/1e5,ta=t-H,ts=t-Y,tn=t-Z,ti=t-W,to=t-K,tl=t-V,th=t+V,tu=t+K,tc=t+W,tf=t+Z,td=t+Y,tm=t+H,tp=n-X,t$=n-Q,tb=n-J,tg=n-tt,tL=n-te,ty=n-tr,tv=n+tr,tM=n+te,tw=n+tt,tk=n+J,tx=n+Q,tC=n+X;s=`M 0,${n} L ${ta},${ty} L ${M},${O} L ${ts},${tL} L ${w},${F} L ${tn},${tg} L ${_},${T} L ${ti},${tb} L ${k},${z} L ${to},${t$} L ${x},${R} L ${tl},${tp} L ${t},0 L ${th},${tp} L ${C},${R} L ${tu},${t$} L ${S},${z} L ${tc},${tb} L ${I},${T} L ${tf},${tg} L ${A},${F} L ${td},${tL} L ${P},${O} L ${tm},${ty} L ${e},${n} L ${tm},${tv} L ${P},${B} L ${td},${tM} L ${A},${E} L ${tf},${tw} L ${I},${j} L ${tc},${tk} L ${S},${D} L ${tu},${tx} L ${C},${N} L ${th},${tC} L ${t},${r} L ${tl},${tC} L ${x},${N} L ${to},${tx} L ${k},${D} L ${ti},${tk} L ${_},${j} L ${tn},${tw} L ${w},${E} L ${ts},${tM} L ${M},${B} L ${ta},${tv} z`}break;case"star32":{let t=e/2,n=r/2,i=e/2,o=r/2,l=37500*t_,h=5e4*t_,u=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]);u&&"adj"===u.attrs.name&&(l=parseInt(u.attrs.fmla.substring(4))*t_);let c=l<0?0:l>h?h:l,f=98079*i/1e5,d=92388*i/1e5,m=83147*i/1e5,p=.7071067811847432*i,$=55557*i/1e5,b=38268*i/1e5,g=19509*i/1e5,L=98079*o/1e5,y=92388*o/1e5,v=83147*o/1e5,M=.7071067811883519*o,w=55557*o/1e5,_=38268*o/1e5,k=19509*o/1e5,x=t-f,C=t-d,S=t-m,I=t-p,A=t-$,P=t-b,R=t-g,z=t+g,T=t+b,F=t+$,O=t+p,B=t+m,E=t+d,j=t+f,D=n-L,N=n-y,G=n-v,U=n-M,H=n-w,Y=n-_,Z=n-k,W=n+k,K=n+_,V=n+w,X=n+M,Q=n+v,J=n+y,tt=n+L,te=i*c/h,tr=o*c/h,ta=99518*te/1e5,ts=95694*te/1e5,tn=88192*te/1e5,ti=77301*te/1e5,to=63439*te/1e5,tl=47140*te/1e5,th=29028*te/1e5,tu=9802*te/1e5,tc=99518*tr/1e5,tf=95694*tr/1e5,td=88192*tr/1e5,tm=77301*tr/1e5,tp=63439*tr/1e5,t$=47140*tr/1e5,tb=29028*tr/1e5,tg=9802*tr/1e5,tL=t-ta,ty=t-ts,tv=t-tn,tM=t-ti,tw=t-to,tk=t-tl,tx=t-th,tC=t-tu,tS=t+tu,tI=t+th,tA=t+tl,tP=t+to,tR=t+ti,tz=t+tn,tT=t+ts,tF=t+ta,tO=n-tc,tB=n-tf,tE=n-td,tj=n-tm,tD=n-tp,tN=n-t$,tG=n-tb,tU=n-tg,tq=n+tg,tH=n+tb,tY=n+t$,tZ=n+tp,tW=n+tm,tK=n+td,tV=n+tf,tX=n+tc;s=`M 0,${n} L ${tL},${tU} L ${x},${Z} L ${ty},${tG} L ${C},${Y} L ${tv},${tN} L ${S},${H} L ${tM},${tD} L ${I},${U} L ${tw},${tj} L ${A},${G} L ${tk},${tE} L ${P},${N} L ${tx},${tB} L ${R},${D} L ${tC},${tO} L ${t},0 L ${tS},${tO} L ${z},${D} L ${tI},${tB} L ${T},${N} L ${tA},${tE} L ${F},${G} L ${tP},${tj} L ${O},${U} L ${tR},${tD} L ${B},${H} L ${tz},${tN} L ${E},${Y} L ${tT},${tG} L ${j},${Z} L ${tF},${tU} L ${e},${n} L ${tF},${tq} L ${j},${W} L ${tT},${tH} L ${E},${K} L ${tz},${tY} L ${B},${V} L ${tR},${tZ} L ${O},${X} L ${tP},${tW} L ${F},${Q} L ${tA},${tK} L ${T},${J} L ${tI},${tV} L ${z},${tt} L ${tS},${tX} L ${t},${r} L ${tC},${tX} L ${R},${tt} L ${tx},${tV} L ${P},${J} L ${tk},${tK} L ${A},${Q} L ${tw},${tW} L ${I},${X} L ${tM},${tZ} L ${S},${V} L ${tv},${tY} L ${C},${K} L ${ty},${tH} L ${x},${W} L ${tL},${tq} z`}break;case"pie":case"pieWedge":case"arc":{var n,i,o,l;let h,u,c,f,d,m,p,$,b,g,L,y,v,M,w,_,k,x=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]);if("pie"===t?(h=0,u=270,c=r,f=!0):"pieWedge"===t?(h=180,u=270,c=2*r,f=!0):"arc"===t&&(h=270,u=0,c=r,f=!1),x)for(let t of Array.isArray(x)?x:[x]){let e=q(t,["attrs","name"]),r=q(t,["attrs","fmla"]);e&&r&&("adj1"===e?h=parseInt(r.substring(4))/6e4:"adj2"===e&&(u=parseInt(r.substring(4))/6e4))}n=c,i=h,o=u,l=f,p=parseFloat(o),$=parseFloat(i),b=parseFloat(n)/2,g=e/2,(L=p-$)<0&&(L=360+L),y=$*Math.PI/180,v=($+(L=Math.min(Math.max(L,0),360)))*Math.PI/180,M=g+Math.cos(y)*g,w=b+Math.sin(y)*b,_=g+Math.cos(v)*g,k=b+Math.sin(v)*b,l?(d=L<=180?0:1,m=`M${g},${b} L${M},${w} A${g},${b} 0 ${d},1 ${_},${k} z`):(d=L<=180?0:1,m=`M${M},${w} A${g},${b} 0 ${d},1 ${_},${k}`),s=m}break;case"chord":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=45,i=270;if(t)for(let e of t){let t=q(e,["attrs","name"]);"adj1"===t?n=parseInt(q(e,["attrs","fmla"]).substring(4))/6e4:"adj2"===t&&(i=parseInt(q(e,["attrs","fmla"]).substring(4))/6e4)}let o=r/2,l=e/2;s=e_(l,o,l,o,n,i,!0)}break;case"frame":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),n=12500*t_,i=5e4*t_;t&&(n=parseInt(t.substring(4))*t_);let o=Math.min(e,r)*(n<0?0:n>i?i:n)/(1e5*t_),l=e-o,h=r-o;s=`M 0,0 L ${e},0 L ${e},${r} L 0,${r} z M ${o},${o} L ${o},${h} L ${l},${h} L ${l},${o} z`}break;case"donut":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),n=25e3*t_,i=5e4*t_;t&&(n=parseInt(t.substring(4))*t_);let o=Math.min(e,r)*(n<0?0:n>i?i:n)/(1e5*t_),l=e/2-o,h=r/2-o,u=`M ${e/2-e/2},${r/2} A ${e/2},${r/2} 0 1,0 ${e/2+e/2},${r/2} A ${e/2},${r/2} 0 1,0 ${e/2-e/2},${r/2} Z`,c=`M ${e/2+l},${r/2} A ${l},${h} 0 1,0 ${e/2-l},${r/2} A ${l},${h} 0 1,0 ${e/2+l},${r/2} Z`;s=`${u} ${c}`}break;case"noSmoking":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),n=18750*t_,i=5e4*t_;t&&(n=parseInt(t.substring(4))*t_);let o=Math.min(e,r)*(n<0?0:n>i?i:n)/(1e5*t_),l=e/2-o,h=r/2-o,u=Math.atan(r/e),c=h*Math.cos(u),f=l*Math.sin(u),d=Math.atan(o/2/(l*h/Math.sqrt(c*c+f*f))),m=-Math.PI+2*d,p=u-d,$=p-Math.PI,b=h*Math.cos(p),g=l*Math.sin(p),L=l*h/Math.sqrt(b*b+g*g),y=L*Math.cos(p),v=L*Math.sin(p),M=e/2+y,w=r/2+v,_=e/2-y,k=r/2-v,x=180*p/Math.PI,C=180*$/Math.PI,S=180*m/Math.PI,I=`M ${e/2-e/2},${r/2} A ${e/2},${r/2} 0 1,0 ${e/2+e/2},${r/2} A ${e/2},${r/2} 0 1,0 ${e/2-e/2},${r/2} Z`,A=`M ${M},${w} ${e_(e/2,r/2,l,h,x,x+S,!1).replace("M","L")} z`,P=`M ${_},${k} ${e_(e/2,r/2,l,h,C,C+S,!1).replace("M","L")} z`;s=`${I} ${A} ${P}`}break;case"halfFrame":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=3.5,i=3.5,o=1e5*t_;if(t)for(let e of t){let t=q(e,["attrs","name"]);"adj1"===t?n=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj2"===t&&(i=parseInt(q(e,["attrs","fmla"]).substring(4))*t_)}let l=Math.min(e,r),h=o*e/l,u=l*(i<0?0:i>h?h:i)/o,c=o*(r-r*u/e)/l,f=l*(n<0?0:n>c?c:n)/o,d=e-f*e/r,m=r-u*r/e;s=`M 0,0 L ${e},0 L ${d},${f} L ${u},${f} L ${u},${m} L 0,${r} z`}break;case"blockArc":{let t,n,i,o,l=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),h=180,u=0,c=25e3*t_,f=5e4*t_;if(l)for(let t of l){let e=q(t,["attrs","name"]);"adj1"===e?h=parseInt(q(t,["attrs","fmla"]).substring(4))/6e4:"adj2"===e?u=parseInt(q(t,["attrs","fmla"]).substring(4))/6e4:"adj3"===e&&(c=parseInt(q(t,["attrs","fmla"]).substring(4))*t_)}let d=h<0?0:h>360?360:h,m=u<0?0:u>360?360:u,p=c<0?0:c>f?f:c,$=m-d,b=$>0?$:$+360,g=d+b,L=d*Math.PI/180,y=m*Math.PI/180,v=e/2,M=r/2,w=e/2,_=r/2;if(d>90&&d<270){let e=v*Math.sin(Math.PI/2-L),r=M*Math.cos(Math.PI/2-L),a=v*Math.cos(Math.atan(r/e)),s=M*Math.sin(Math.atan(r/e));t=w-a,n=_-s}else{let e=v*Math.sin(L),r=M*Math.cos(L),a=v*Math.cos(Math.atan(e/r)),s=M*Math.sin(Math.atan(e/r));t=w+a,n=_+s}let k=Math.min(e,r)*p/(1e5*t_),x=v-k,C=M-k;if(g<=450&&g>270||g>=630&&g<720){let t=x*Math.sin(y),e=C*Math.cos(y),r=x*Math.cos(Math.atan(t/e)),a=C*Math.sin(Math.atan(t/e));i=w+r,o=_+a}else{let t=x*Math.sin(Math.PI/2-y),e=C*Math.cos(Math.PI/2-y),r=x*Math.cos(Math.atan(e/t)),a=C*Math.sin(Math.atan(e/t));i=w-r,o=_-a}s=`M ${t},${n} ${e_(v,M,v,M,d,g,!1).replace("M","L")} L ${i},${o} ${e_(v,M,x,C,m,m+-b,!1).replace("M","L")} z`}break;case"bracePair":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),n=8333*t_,i=25e3*t_;t&&(n=parseInt(t.substring(4))*t_);let o=r/2,l=n<0?0:n>i?i:n,h=Math.min(e,r),u=h*l/(1e5*t_),c=h*l/(5e4*t_),f=e-c,d=e-u,m=o-u,p=o+u,$=r-u;s=`M ${c},${r} ${e_(c,$,u,u,90,180,!1).replace("M","L")} L ${u},${p} ${e_(0,p,u,u,0,-90,!1).replace("M","L")} ${e_(0,m,u,u,90,0,!1).replace("M","L")} L ${u},${u} ${e_(c,u,u,u,180,270,!1).replace("M","L")} M ${f},0 ${e_(f,u,u,u,270,360,!1).replace("M","L")} L ${d},${m} ${e_(e,m,u,u,180,90,!1).replace("M","L")} ${e_(e,p,u,u,270,180,!1).replace("M","L")} L ${d},${$} ${e_(f,$,u,u,0,90,!1).replace("M","L")}`}break;case"leftBrace":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=8333*t_,i=5e4*t_,o=1e5*t_;if(t)for(let e of t){let t=q(e,["attrs","name"]);"adj1"===t?n=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj2"===t&&(i=parseInt(q(e,["attrs","fmla"]).substring(4))*t_)}let l=i<0?0:i>o?o:i,h=Math.min(e,r),u=o-l,c=(u<l?u:l)/2*r/h,f=h*(n<0?0:n>c?c:n)/o,d=r*l/o,m=d-f,p=d+f;s=`M ${e},${r} ${e_(e,r-f,e/2,f,90,180,!1).replace("M","L")} L ${e/2},${p} ${e_(0,p,e/2,f,0,-90,!1).replace("M","L")} ${e_(0,m,e/2,f,90,0,!1).replace("M","L")} L ${e/2},${f} ${e_(e,f,e/2,f,180,270,!1).replace("M","L")}`}break;case"rightBrace":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=8333*t_,i=5e4*t_,o=1e5*t_;if(t)for(let e of t){let t=q(e,["attrs","name"]);"adj1"===t?n=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj2"===t&&(i=parseInt(q(e,["attrs","fmla"]).substring(4))*t_)}let l=i<0?0:i>o?o:i,h=Math.min(e,r),u=o-l,c=(u<l?u:l)/2*r/h,f=h*(n<0?0:n>c?c:n)/o,d=r*l/o,m=d-f,p=r-f;s=`M 0,0 ${e_(0,f,e/2,f,270,360,!1).replace("M","L")} L ${e/2},${m} ${e_(e,m,e/2,f,180,90,!1).replace("M","L")} ${e_(e,d+f,e/2,f,270,180,!1).replace("M","L")} L ${e/2},${p} ${e_(0,p,e/2,f,0,90,!1).replace("M","L")}`}break;case"bracketPair":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),n=16667*t_,i=5e4*t_;t&&(n=parseInt(t.substring(4))*t_);let o=Math.min(e,r)*(n<0?0:n>i?i:n)/(1e5*t_),l=e-o,h=r-o;s=`${e_(o,o,o,o,270,180,!1)} ${e_(o,h,o,o,180,90,!1).replace("M","L")} ${e_(l,o,o,o,270,360,!1)} ${e_(l,h,o,o,0,90,!1).replace("M","L")}`}break;case"leftBracket":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),n=8333*t_,i=5e4*t_*r/Math.min(e,r);t&&(n=parseInt(t.substring(4))*t_);let o=Math.min(e,r)*(n<0?0:n>i?i:n)/(1e5*t_);o>e&&(o=e);let l=r-o;s=`M ${e},${r} ${e_(o,l,o,o,90,180,!1).replace("M","L")} L 0,${o} ${e_(o,o,o,o,180,270,!1).replace("M","L")} L ${e},0`}break;case"rightBracket":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),n=8333*t_,i=5e4*t_*r/Math.min(e,r);t&&(n=parseInt(t.substring(4))*t_);let o=Math.min(e,r)*(n<0?0:n>i?i:n)/(1e5*t_),l=r-o,h=e-o;s=`M 0,${r} ${e_(h,l,o,o,90,0,!1).replace("M","L")} L ${e},${r/2} ${e_(h,o,o,o,360,270,!1).replace("M","L")} L 0,0`}break;case"moon":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),n=.5;t&&(n=parseInt(t.substring(4))/1e5);let i=r/2,o=(1-n)*e;s=`M ${e},${r} ${e_(e,i,e,i,90,270,!1).replace("M","L")} ${e_(e,i,o,i,270,90,!1).replace("M","L")} z`}break;case"corner":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=5e4*t_,i=5e4*t_,o=1e5*t_;if(t)for(let e of t){let t=q(e,["attrs","name"]);"adj1"===t?n=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj2"===t&&(i=parseInt(q(e,["attrs","fmla"]).substring(4))*t_)}let l=Math.min(e,r),h=o*r/l,u=o*e/l,c=l*(i<0?0:i>u?u:i)/o,f=r-l*(n<0?0:n>h?h:n)/o;s=`M 0,0 L ${c},0 L ${c},${f} L ${e},${f} L ${e},${r} L 0,${r} z`}break;case"diagStripe":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),n=5e4*t_,i=1e5*t_;t&&(n=parseInt(t.substring(4))*t_);let o=n<0?0:n>i?i:n,l=e*o/i,h=r*o/i;s=`M 0,${h} L ${l},0 L ${e},0 L 0,${r} z`}break;case"gear6":case"gear9":s=function(t,e){let r=1.5*t,a=2*Math.PI,s=a/(2*e),n=35*s*.005,i=50*s*.005,o=s,l=!1,h=" M"+(r+r*Math.cos(i))+" "+(r+r*Math.sin(i));for(;o<=a+s;o+=s)l?h+=" L"+(r+t*Math.cos(o-n))+","+(r+t*Math.sin(o-n))+(" L"+(r+r*Math.cos(o+i))+",")+(r+r*Math.sin(o+i)):h+=" L"+(r+r*Math.cos(o-i))+","+(r+r*Math.sin(o-i))+(" L"+(r+t*Math.cos(o+n))+",")+(r+t*Math.sin(o+n)),l=!l;return h+" "}(e,r/3.5,parseInt(t.substring(4)));break;case"bentConnector3":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),n=.5;t&&(n=parseInt(t.substring(4))/1e5),s=`M 0 0 L ${n*e} 0 L ${n*e} ${r} L ${e} ${r}`}break;case"plus":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),n=.25;t&&(n=parseInt(t.substring(4))/1e5);let i=1-n;s=`M ${n*e} 0 L ${n*e} ${n*r} L 0 ${n*r} L 0 ${i*r} L ${n*e} ${i*r} L ${n*e} ${r} L ${i*e} ${r} L ${i*e} ${i*r} L ${e} ${i*r} L ${e} ${n*r} L ${i*e} ${n*r} L ${i*e} 0 Z`}break;case"teardrop":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),n=1e5*t_,i=n,o=2e5*t_;t&&(n=parseInt(t.substring(4))*t_);let l=n<0?0:n>o?o:n,h=Math.sqrt(2),u=e/2*h,c=r/2*h,f=45*Math.PI/180,d=e/2+u*l/i*Math.cos(f),m=r/2-c*l/i*Math.cos(f),p=(e/2+d)/2,$=(r/2+m)/2;s=`${e_(e/2,r/2,e/2,r/2,180,270,!1)} Q ${p},0 ${d},${m} Q ${e},${$} ${e},${r/2} ${e_(e/2,r/2,e/2,r/2,0,90,!1).replace("M","L")} ${e_(e/2,r/2,e/2,r/2,90,180,!1).replace("M","L")} z`}break;case"plaque":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),n=16667*t_,i=5e4*t_;t&&(n=parseInt(t.substring(4))*t_);let o=(n<0?0:n>i?i:n)*Math.min(e,r)/(1e5*t_),l=e-o,h=r-o;s=`M 0,${o} ${e_(0,0,o,o,90,0,!1).replace("M","L")} L ${l},0 ${e_(e,0,o,o,180,90,!1).replace("M","L")} L ${e},${h} ${e_(e,r,o,o,270,180,!1).replace("M","L")} L ${o},${r} ${e_(0,r,o,o,0,-90,!1).replace("M","L")} z`}break;case"sun":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),n=25e3*t_,i=12500*t_,o=46875*t_;t&&(n=parseInt(t.substring(4))*t_);let l=n<i?i:n>o?o:n,h=5e4*t_,u=1e5*t_,c=h-l,f=3*(h-30274*c/32768)/4,d=3*(h-12540*c/32768)/4,m=f+3662*t_,p=d+36620*t_,$=d+12500*t_,b=u-f,g=u-m,L=u-p,y=u-$,v=18436*e/21600,M=3163*r/21600,w=3163*e/21600,_=18436*r/21600,k=e*f/u,x=e*m/u,C=e*p/u,S=e*$/u,I=e*b/u,A=e*g/u,P=e*L/u,R=e*y/u,z=e*l/u,T=e*c/u,F=r*c/u,O=r*f/u,B=r*m/u,E=r*p/u,j=r*$/u,D=r*b/u,N=r*g/u,G=r*L/u,U=r*y/u;s=`M ${e},${r/2} L ${I},${U} L ${I},${j} z M ${v},${M} L ${A},${G} L ${C},${B} z M ${e/2},0 L ${R},${O} L ${S},${O} z M ${w},${M} L ${P},${B} L ${x},${G} z M 0,${r/2} L ${k},${j} L ${k},${U} z M ${w},${_} L ${x},${E} L ${P},${N} z M ${e/2},${r} L ${S},${D} L ${R},${D} z M ${v},${_} L ${C},${N} L ${A},${E} z M ${z},${r/2} ${e_(e/2,r/2,T,F,180,540,!1).replace("M","L")} z`}break;case"heart":{let t=49*e/48,a=10*e/48,n=e/2-t,i=e/2-a,o=e/2+a,l=e/2+t,h=-r/3;s=`M ${e/2},${r/4} C ${o},${h} ${l},${r/4} ${e/2},${r} C ${n},${r/4} ${i},${h} ${e/2},${r/4} z`}break;case"lightningBolt":{let t=5022*e/21600,a=11050*e/21600,n=8472*e/21600,i=10012*e/21600,o=14767*e/21600,l=12222*e/21600,h=12860*e/21600,u=7602*e/21600,c=16577*e/21600,f=3890*r/21600,d=6080*r/21600,m=6797*r/21600,p=12877*r/21600,$=9705*r/21600,b=12007*r/21600,g=13987*r/21600,L=8382*r/21600,y=14915*r/21600;s=`M ${n},0 L ${h},${d} L ${a},${m} L ${c},${b} L ${o},${p} L ${e},${r} L ${i},${y} L ${l},${g} L ${t},${$} L ${u},${L} L 0,${f} z`}break;case"cube":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),n=25e3*t_;t&&(n=parseInt(t.substring(4))*t_);let i=1e5*t_,o=Math.min(e,r)*(n<0?0:n>i?i:n)/i,l=r-o,h=e-o;s=`M 0,${o} L ${o},0 L ${e},0 L ${e},${l} L ${h},${r} L 0,${r} z M 0,${o} L ${h},${o} M ${h},${o} L ${e},0 M ${h},${o} L ${h},${r}`}break;case"bevel":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),n=12500*t_;t&&(n=parseInt(t.substring(4))*t_);let i=5e4*t_,o=Math.min(e,r)*(n<0?0:n>i?i:n)/(1e5*t_),l=e-o,h=r-o;s=`M 0,0 L ${e},0 L ${e},${r} L 0,${r} z M ${o},${o} L ${l},${o} L ${l},${h} L ${o},${h} z M 0,0 L ${o},${o} M 0,${r} L ${o},${h} M ${e},0 L ${l},${o} M ${e},${r} L ${l},${h}`}break;case"foldedCorner":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),n=16667*t_;t&&(n=parseInt(t.substring(4))*t_);let i=5e4*t_,o=Math.min(e,r)*(n<0?0:n>i?i:n)/(1e5*t_),l=o/5,h=e-o,u=r-o;s=`M ${h},${r} L ${h+l},${u+l} L ${e},${u} L ${h},${r} L 0,${r} L 0,0 L ${e},0 L ${e},${u}`}break;case"cloud":case"cloudCallout":{let n=3900*e/43200,i=14370*r/43200,o=6753*e/43200,l=9190*r/43200,h=5333*e/43200,u=7267*r/43200,c=5945*r/43200,f=(t,e,r,a,s,n)=>e_(t-r*Math.cos(s*Math.PI/180),e-a*Math.sin(s*Math.PI/180),r,a,s,s+n,!1).replace("M","L"),d=`M ${n},${i}`,m=[n,i];for(let t of[[o,l,-0xae6581/6e4,7426832/6e4],[h,u,-8646143/6e4,5396714/6e4],[4365*e/43200,c,-8748475/6e4,5983381/6e4],[4857*e/43200,6595*r/43200,-7859164/6e4,7034504/6e4],[h,7273*r/43200,-4722533/6e4,6541615/6e4],[6775*e/43200,9220*r/43200,-46.26725,130.269],[5785*e/43200,7867*r/43200,37501/6e4,6842e3/6e4],[6752*e/43200,9215*r/43200,22.4516,115.17255],[7720*e/43200,10543*r/43200,3974558/6e4,4542661/6e4],[4360*e/43200,5918*r/43200,-0xfbb78d/6e4,8804134/6e4],[4345*e/43200,c,-246.8285,152.51885]]){let e=f(m[0],m[1],...t);d+=e;let r=e.lastIndexOf("L"),a=e.substring(r+1).split(" ");m=[parseFloat(a[0]),parseFloat(a[1])]}if(d+=" z","cloudCallout"===t){let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),s=-20833*t_,n=62500*t_;if(t)for(let e of t){let t=q(e,["attrs","name"]);"adj1"===t?s=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj2"===t&&(n=parseInt(q(e,["attrs","fmla"]).substring(4))*t_)}let i=1e5*t_,o=Math.min(e,r),l=e/2,h=r/2,u=e*s/i,c=r*n/i,f=l+u,m=h+c,p=h*Math.cos(Math.atan(c/u)),$=l*Math.sin(Math.atan(c/u)),b=l*Math.cos(Math.atan($/p)),g=h*Math.sin(Math.atan($/p)),L=(s>=0?l+b:l-b)-f,y=(s>=0?h+g:h-g)-m,v=Math.sqrt(L*L+y*y),M=(v-6600*o/21600)/3,w=1800*o/21600,_=M+w,k=_*y/v+m,x=4800*o/21600+2*M,C=x*y/v+m,S=1200*o/21600,I=600*o/21600,A=f+I,P=_*L/v+f+S,R=x*L/v+f+w;d+=`${e_(A-I,m,I,I,0,360,!0)} M ${P},${k} ${e_(P-S,k,S,S,0,360,!0).replace("M","L")} M ${R},${C} ${e_(R-w,C,w,w,0,360,!0).replace("M","L")}`}s=d}break;case"smileyFace":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),n=4653*t_;t&&(n=parseInt(t.substring(4))*t_);let i=4653*t_,o=e/2,l=r/2,h=n<-i?-i:n>i?i:n,u=6215*e/21600,c=13135*e/21600,f=16640*e/21600,d=7570*r/21600,m=16515*r/21600,p=r*h/(1e5*t_),$=m-p,b=m+p+r*h/(5e4*t_),g=1125*e/21600,L=1125*r/21600,y=4969*e/21699;s=`${e_(u,d,g,L,0,360,!0)} ${e_(c,d,g,L,0,360,!0)} M ${y},${$} Q ${o},${b} ${f},${$} Q ${o},${b} ${y},${$} M 0,${l} ${e_(o,l,o,l,180,540,!1).replace("M","L")} z`}break;case"verticalScroll":case"horizontalScroll":{let n=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),i=12500*t_;n&&(i=parseInt(n.substring(4))*t_);let o=25e3*t_,l=Math.min(e,r)*(i<0?0:i>o?o:i)/(1e5*t_),h=l/2,u=l/4;if("verticalScroll"===t){let t=l+h,a=e-l,n=e-h,i=a-h,o=r-l,c=r-h;s=`M ${l},${o} L ${l},${h} ${e_(t,h,h,h,180,270,!1).replace("M","L")} L ${n},0 ${e_(n,h,h,h,270,450,!1).replace("M","L")} L ${a},${l} L ${a},${c} ${e_(i,c,h,h,0,90,!1).replace("M","L")} L ${h},${r} ${e_(h,c,h,h,90,270,!1).replace("M","L")} z M ${t},0 ${e_(t,h,h,h,270,450,!1).replace("M","L")} ${e_(t,t/2,u,u,90,270,!1).replace("M","L")} L ${l+l},${h} M ${a},${l} L ${t},${l} M ${l},${c} ${e_(h,c,h,h,0,270,!1).replace("M","L")} ${e_(h,(c+o)/2,u,u,270,450,!1).replace("M","L")} z M ${l},${c} L ${l},${o}`}else if("horizontalScroll"===t){let t=l+h,a=r-l,n=r-h,i=a-h,o=e-l,c=e-h;s=`M 0,${t} ${e_(h,t,h,h,180,270,!1).replace("M","L")} L ${o},${l} L ${o},${h} ${e_(c,h,h,h,180,360,!1).replace("M","L")} L ${e},${i} ${e_(c,i,h,h,0,90,!1).replace("M","L")} L ${l},${a} L ${l},${n} ${e_(h,n,h,h,0,180,!1).replace("M","L")} z M ${c},${l} ${e_(c,h,h,h,90,-180,!1).replace("M","L")} ${e_((o+c)/2,h,u,u,180,0,!1).replace("M","L")} z M ${c},${l} L ${o},${l} M ${h},${l+l} L ${h},${t} ${e_(t/2,t,u,u,180,360,!1).replace("M","L")} ${e_(h,t,h,h,0,180,!1).replace("M","L")} M ${l},${t} L ${l},${a}`}}break;case"wedgeEllipseCallout":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=-20833*t_,i=62500*t_;if(t)for(let e of t){let t=q(e,["attrs","name"]);"adj1"===t?n=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj2"===t&&(i=parseInt(q(e,["attrs","fmla"]).substring(4))*t_)}let o=1e5*t_,l=11*Math.PI/180,h=r/2,u=e/2,c=e*n/o,f=r*i/o,d=u+c,m=h+f,p=Math.atan2(f*e,c*r),$=p+l,b=p-l,g=u*Math.cos($),L=h*Math.sin($),y=u*Math.cos(b),v=h*Math.sin(b),M=u+g,w=h+L,_=u+y,k=h+v;s=`M ${M},${w} L ${d},${m} L ${_},${k} ${e_(u,h,u,h,180*b/Math.PI,180*$/Math.PI,!0).replace("M","L")}`}break;case"wedgeRectCallout":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=-20833*t_,i=62500*t_;if(t)for(let e of t){let t=q(e,["attrs","name"]);"adj1"===t?n=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj2"===t&&(i=parseInt(q(e,["attrs","fmla"]).substring(4))*t_)}let o=1e5*t_,l=r/2,h=e/2,u=e*n/o,c=r*i/o,f=h+u,d=l+c,m=Math.abs(c)-Math.abs(u*r/e),p=e*(u>0?7:2)/12,$=e*(u>0?10:5)/12,b=r*(c>0?7:2)/12,g=r*(c>0?10:5)/12,L=m>0?e:u>0?f:e,y=m>0&&c>0?d:r;s=`M 0,0 L ${p},0 L ${m>0?c>0?p:f:p},${m>0?c>0?0:d:0} L ${$},0 L ${e},0 L ${e},${b} L ${L},${m>0?b:u>0?d:b} L ${e},${g} L ${e},${r} L ${$},${r} L ${m>0&&c>0?f:p},${y} L ${p},${r} L 0,${r} L 0,${g} L ${m>0||u>0?0:f},${m>0||u>0?b:d} L 0,${b} z`}break;case"wedgeRoundRectCallout":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=-20833*t_,i=62500*t_,o=16667*t_;if(t)for(let e of t){let t=q(e,["attrs","name"]);"adj1"===t?n=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj2"===t?i=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj3"===t&&(o=parseInt(q(e,["attrs","fmla"]).substring(4))*t_)}let l=1e5*t_,h=Math.min(e,r),u=r/2,c=e/2,f=e*n/l,d=r*i/l,m=c+f,p=u+d,$=Math.abs(d)-Math.abs(f*r/e),b=e*(f>0?7:2)/12,g=e*(f>0?10:5)/12,L=r*(d>0?7:2)/12,y=r*(d>0?10:5)/12,v=$>0?e:f>0?m:e,M=$>0&&d>0?p:r,w=h*o/l,_=e-w,k=r-w;s=`M 0,${w} ${e_(w,w,w,w,180,270,!1).replace("M","L")} L ${b},0 L ${$>0?d>0?b:m:b},${$>0?d>0?0:p:0} L ${g},0 L ${_},0 ${e_(_,w,w,w,270,360,!1).replace("M","L")} L ${e},${L} L ${v},${$>0?L:f>0?p:L} L ${e},${y} L ${e},${k} ${e_(_,k,w,w,0,90,!1).replace("M","L")} L ${g},${r} L ${$>0&&d>0?m:b},${M} L ${b},${r} L ${w},${r} ${e_(w,k,w,w,90,180,!1).replace("M","L")} L 0,${y} L ${$>0||f>0?0:m},${$>0||f>0?L:p} L 0,${L} z`}break;case"accentBorderCallout1":case"accentBorderCallout2":case"accentBorderCallout3":case"borderCallout1":case"borderCallout2":case"borderCallout3":case"accentCallout1":case"accentCallout2":case"accentCallout3":case"callout1":case"callout2":case"callout3":{let n,i,o,l,h,u,c,f,d=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),m=18750*t_,p=-8333*t_,$=18750*t_,b=-16667*t_,g=1e5*t_,L=-16667*t_,y=112963*t_,v=-8333*t_;if(d)for(let t of d){let e=q(t,["attrs","name"]);"adj1"===e?m=parseInt(q(t,["attrs","fmla"]).substring(4))*t_:"adj2"===e?p=parseInt(q(t,["attrs","fmla"]).substring(4))*t_:"adj3"===e?$=parseInt(q(t,["attrs","fmla"]).substring(4))*t_:"adj4"===e?b=parseInt(q(t,["attrs","fmla"]).substring(4))*t_:"adj5"===e?g=parseInt(q(t,["attrs","fmla"]).substring(4))*t_:"adj6"===e?L=parseInt(q(t,["attrs","fmla"]).substring(4))*t_:"adj7"===e?y=parseInt(q(t,["attrs","fmla"]).substring(4))*t_:"adj8"===e&&(v=parseInt(q(t,["attrs","fmla"]).substring(4))*t_)}let M=1e5*t_,w=`M 0,0 L ${e},0 L ${e},${r} L 0,${r} z`;switch(t){case"borderCallout1":case"callout1":d||(m=18750*t_,p=-8333*t_,$=112500*t_,b=-38333*t_),i=r*m/M,n=e*p/M,l=r*$/M,o=e*b/M,s=`${w} M ${n},${i} L ${o},${l}`;break;case"borderCallout2":case"callout2":d||(m=18750*t_,p=-8333*t_,$=18750*t_,b=-16667*t_,g=112500*t_,L=-46667*t_),i=r*m/M,n=e*p/M,l=r*$/M,o=e*b/M,u=r*g/M,h=e*L/M,s=`${w} M ${n},${i} L ${o},${l} L ${h},${u}`;break;case"borderCallout3":case"callout3":d||(m=18750*t_,p=-8333*t_,$=18750*t_,b=-16667*t_,g=1e5*t_,L=-16667*t_,y=112963*t_,v=-8333*t_),i=r*m/M,n=e*p/M,l=r*$/M,o=e*b/M,u=r*g/M,h=e*L/M,f=r*y/M,c=e*v/M,s=`${w} M ${n},${i} L ${o},${l} L ${h},${u} L ${c},${f}`;break;case"accentBorderCallout1":case"accentCallout1":d||(m=18750*t_,p=-8333*t_,$=112500*t_,b=-38333*t_),i=r*m/M,n=e*p/M,l=r*$/M,o=e*b/M,s=`${w} M ${n},${i} L ${o},${l} M ${n},0 L ${n},${r}`;break;case"accentBorderCallout2":case"accentCallout2":d||(m=18750*t_,p=-8333*t_,$=18750*t_,b=-16667*t_,g=112500*t_,L=-46667*t_),i=r*m/M,n=e*p/M,l=r*$/M,o=e*b/M,u=r*g/M,h=e*L/M,s=`${w} M ${n},${i} L ${o},${l} L ${h},${u} M ${n},0 L ${n},${r}`;break;case"accentBorderCallout3":case"accentCallout3":d||(m=18750*t_,p=-8333*t_,$=18750*t_,b=-16667*t_,g=1e5*t_,L=-16667*t_,y=112963*t_,v=-8333*t_),i=r*m/M,n=e*p/M,l=r*$/M,o=e*b/M,u=r*g/M,h=e*L/M,f=r*y/M,c=e*v/M,s=`${w} M ${n},${i} L ${o},${l} L ${h},${u} L ${c},${f} M ${n},0 L ${n},${r}`}}break;case"leftRightRibbon":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=5e4*t_,i=5e4*t_,o=16667*t_;if(t)for(let e of t){let t=q(e,["attrs","name"]);"adj1"===t?n=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj2"===t?i=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj3"===t&&(o=parseInt(q(e,["attrs","fmla"]).substring(4))*t_)}let l=33333*t_,h=1e5*t_,u=2e5*t_,c=Math.min(e,r),f=e/2,d=r/2,m=o<0?0:o>l?l:o,p=h-m,$=h*(f-e/32)/c,b=c*(i<0?0:i>$?$:i)/h,g=e-b,L=r*(n<0?0:n>p?p:n)/u,y=-(r*m/u),v=d+y-L,M=d+L-y,w=v+L,_=r-w,k=2*w,x=r-(k-v),C=m*c/(4e5*t_),S=f-e/32,I=f+e/32,A=v+C,P=x-C;s=`M 0,${w} L ${b},0 L ${b},${v} L ${f},${v} ${e_(f,A,e/32,C,270,450,!1).replace("M","L")} ${e_(f,P,e/32,C,270,90,!1).replace("M","L")} L ${g},${x} L ${g},${r-k} L ${e},${_} L ${g},${r} L ${g},${M} L ${f},${M} ${e_(f,M-C,e/32,C,90,180,!1).replace("M","L")} L ${S},${k-v} L ${b},${k-v} L ${b},${k} z M ${I},${A} L ${I},${x} M ${S},${P} L ${S},${k-v}`}break;case"ribbon":case"ribbon2":{let n=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),i=16667*t_,o=5e4*t_;if(n)for(let t of n){let e=q(t,["attrs","name"]);"adj1"===e?i=parseInt(q(t,["attrs","fmla"]).substring(4))*t_:"adj2"===e&&(o=parseInt(q(t,["attrs","fmla"]).substring(4))*t_)}let l=25e3*t_,h=33333*t_,u=75e3*t_,c=1e5*t_,f=2e5*t_,d=e/2,m=e/8,p=e/32,$=i<0?0:i>h?h:i,b=e-m,g=e*(o<l?l:o>u?u:o)/f,L=d-g,y=d+g,v=L+p,M=y-p,w=L+m,_=y-m,k=w-p,x=_+p,C=r*$/(4e5*t_);if("ribbon2"===t){let t=r*$/f,a=r-t,n=r*$/c,i=r-n,o=0+n,l=(o+r)/2,h=r-C,u=a-C;s=`M 0,${r} L ${m},${l} L 0,${o} L ${L},${o} L ${L},${C} ${e_(v,C,p,C,180,270,!1).replace("M","L")} L ${M},0 ${e_(M,C,p,C,270,360,!1).replace("M","L")} L ${y},${o} L ${e},${o} L ${b},${l} L ${e},${r} L ${x},${r} ${e_(x,h,p,C,90,270,!1).replace("M","L")} L ${M},${a} ${e_(M,u,p,C,90,-90,!1).replace("M","L")} L ${v},${i} ${e_(v,u,p,C,270,90,!1).replace("M","L")} L ${k},${a} ${e_(k,h,p,C,270,450,!1).replace("M","L")} z M ${w},${i} L ${w},${h} M ${_},${h} L ${_},${i} M ${L},${u} L ${L},${o} M ${y},${o} L ${y},${u}`}else if("ribbon"===t){let t=r*$/f,a=r*$/c,n=r-a,i=n/2,o=r-C,l=a-C;s=`M 0,0 L ${k},0 ${e_(k,C,p,C,270,450,!1).replace("M","L")} L ${v},${t} ${e_(v,l,p,C,270,90,!1).replace("M","L")} L ${M},${a} ${e_(M,l,p,C,90,-90,!1).replace("M","L")} L ${x},${t} ${e_(x,C,p,C,90,270,!1).replace("M","L")} L ${e},0 L ${b},${i} L ${e},${n} L ${y},${n} L ${y},${o} ${e_(M,o,p,C,0,90,!1).replace("M","L")} L ${v},${r} ${e_(v,o,p,C,90,180,!1).replace("M","L")} L ${L},${n} L 0,${n} L ${m},${i} z M ${w},${C} L ${w},${a} M ${_},${a} L ${_},${C} M ${L},${n} L ${L},${l} M ${y},${l} L ${y},${n}`}}break;case"doubleWave":case"wave":{let n=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),i="doubleWave"===t?6250*t_:12500*t_,o=0;if(n)for(let t of n){let e=q(t,["attrs","name"]);"adj1"===e?i=parseInt(q(t,["attrs","fmla"]).substring(4))*t_:"adj2"===e&&(o=parseInt(q(t,["attrs","fmla"]).substring(4))*t_)}let l=-1e4*t_,h=5e4*t_,u=1e5*t_;if("doubleWave"===t){let t=12500*t_,a=o<l?l:o>u?u:o,n=r*(i<0?0:i>t?t:i)/u,c=10*n/3,f=n-c,d=n+c,m=r-n,p=m-c,$=m+c,b=e*a/h,g=b>0?0:b,L=0-g,y=b>0?b:0,v=e-y,M=(g+v)/6,w=(g+v)/3,_=(L+v)/2,k=_+M,x=0+y,C=e+g,S=(x+C)/2,I=S+M;s=`M ${L},${n} C ${L+M},${f} ${L+w},${d} ${_},${n} C ${k},${f} ${(k+v)/2},${d} ${v},${n} L ${C},${m} C ${(I+C)/2},${$} ${I},${p} ${S},${m} C ${x+w},${$} ${x+M},${p} ${x},${m} z`}else if("wave"===t){let t=2e4*t_,a=o<l?l:o>u?u:o,n=r*(i<0?0:i>t?t:i)/u,c=10*n/3,f=r-n,d=e*a/h,m=d>0?0:d,p=0-m,$=d>0?d:0,b=e-$,g=(m+b)/3,L=p+g,y=0+$,v=e+m,M=y+g;s=`M ${p},${n} C ${L},${n-c} ${(L+b)/2},${n+c} ${b},${n} L ${v},${f} C ${(M+v)/2},${f+c} ${M},${f-c} ${y},${f} z`}}break;case"ellipseRibbon":case"ellipseRibbon2":{let n=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),i=25e3*t_,o=5e4*t_,l=12500*t_;if(n)for(let t of n){let e=q(t,["attrs","name"]);"adj1"===e?i=parseInt(q(t,["attrs","fmla"]).substring(4))*t_:"adj2"===e?o=parseInt(q(t,["attrs","fmla"]).substring(4))*t_:"adj3"===e&&(l=parseInt(q(t,["attrs","fmla"]).substring(4))*t_)}let h=25e3*t_,u=75e3*t_,c=1e5*t_,f=e/2,d=e/8,m=i<0?0:i>c?c:i,p=c-m,$=m-p/2>0?m-p/2:0,b=f-e*(o<h?h:o>u?u:o)/(2e5*t_),g=b+d,L=e-g,y=e-b,v=e-d,M=r*(l<$?$:l>m?m:l)/c,w=4*M/e,_=g-g*g/e,k=g/2,x=e-k,C=r*m/c,S=C-M,I=w*(b-b*b/e),A=r-C,P=14*M/16,R=b/2,z=w*R,T=e-R;if("ellipseRibbon"===t){let t=w*_,r=w*k,a=I+S,n=M+S-a+M+S,i=(P+A)/2,o=I+A,l=a+A,h=z+A,u=t+S;s=`M 0,0 Q ${k},${r} ${g},${t} L ${b},${a} Q ${f},${n} ${y},${a} L ${L},${t} Q ${x},${r} ${e},0 L ${v},${i} L ${e},${A} Q ${T},${h} ${y},${o} L ${y},${l} Q ${f},${n+A} ${b},${l} L ${b},${o} Q ${R},${h} 0,${A} L ${d},${i} z M ${b},${o} L ${b},${a} M ${y},${a} L ${y},${o} M ${g},${t} L ${g},${u} M ${L},${u} L ${L},${t}`}else if("ellipseRibbon2"===t){let t=w*_,a=r-t,n=r-w*k,i=I+S,o=r-i,l=M+S-i+M+S,h=r-l,u=r-(P+A)/2,c=r-(I+A),m=r-(i+A),p=r-(z+A),$=r-(l+A),F=r-(t+S);s=`M 0,${r} L ${d},${u} L 0,${C} Q ${R},${p} ${b},${c} L ${b},${m} Q ${f},${$} ${y},${m} L ${y},${c} Q ${T},${p} ${e},${C} L ${v},${u} L ${e},${r} Q ${x},${n} ${L},${a} L ${y},${o} Q ${f},${h} ${b},${o} L ${g},${a} Q ${k},${n} 0,${r} z M ${b},${o} L ${b},${c} M ${y},${c} L ${y},${o} M ${g},${F} L ${g},${a} M ${L},${a} L ${L},${F}`}}break;case"line":case"straightConnector1":case"bentConnector4":case"bentConnector5":case"curvedConnector2":case"curvedConnector3":case"curvedConnector4":case"curvedConnector5":s=`M 0 0 L ${e} ${r}`;break;case"rightArrow":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=.25,i=.5;if(t){let a=e/r;for(let e of t){let t=q(e,["attrs","name"]);"adj1"===t?n=.5-parseInt(q(e,["attrs","fmla"]).substring(4))/2e5:"adj2"===t&&(i=1-parseInt(q(e,["attrs","fmla"]).substring(4))/1e5/a)}}s=`M ${e} ${r/2} L ${i*e} 0 L ${i*e} ${n*r} L 0 ${n*r} L 0 ${(1-n)*r} L ${i*e} ${(1-n)*r} L ${i*e} ${r} Z`}break;case"leftArrow":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=.25,i=.5;if(t){let a=e/r;for(let e of t){let t=q(e,["attrs","name"]);"adj1"===t?n=.5-parseInt(q(e,["attrs","fmla"]).substring(4))/2e5:"adj2"===t&&(i=parseInt(q(e,["attrs","fmla"]).substring(4))/1e5/a)}}s=`M 0 ${r/2} L ${i*e} ${r} L ${i*e} ${(1-n)*r} L ${e} ${(1-n)*r} L ${e} ${n*r} L ${i*e} ${n*r} L ${i*e} 0 Z`}break;case"downArrow":case"flowChartOffpageConnector":{let n=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),i=.25,o=.5;if(n){let t=r/e;for(let e of n){let r=q(e,["attrs","name"]);"adj1"===r?i=parseInt(q(e,["attrs","fmla"]).substring(4))/2e5:"adj2"===r&&(o=parseInt(q(e,["attrs","fmla"]).substring(4))/1e5/t)}}"flowChartOffpageConnector"===t&&(i=.5,o=.212),s=`M ${(.5-i)*e} 0 L ${(.5-i)*e} ${(1-o)*r} L 0 ${(1-o)*r} L ${e/2} ${r} L ${e} ${(1-o)*r} L ${(.5+i)*e} ${(1-o)*r} L ${(.5+i)*e} 0 Z`}break;case"upArrow":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=.25,i=.5;if(t){let a=r/e;for(let e of t){let t=q(e,["attrs","name"]);"adj1"===t?n=parseInt(q(e,["attrs","fmla"]).substring(4))/2e5:"adj2"===t&&(i=parseInt(q(e,["attrs","fmla"]).substring(4))/1e5/a)}}s=`M ${e/2} 0 L 0 ${i*r} L ${(.5-n)*e} ${i*r} L ${(.5-n)*e} ${r} L ${(.5+n)*e} ${r} L ${(.5+n)*e} ${i*r} L ${e} ${i*r} Z`}break;case"leftRightArrow":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=.25,i=.25;if(t){let a=e/r;for(let e of t){let t=q(e,["attrs","name"]);"adj1"===t?n=.5-parseInt(q(e,["attrs","fmla"]).substring(4))/2e5:"adj2"===t&&(i=parseInt(q(e,["attrs","fmla"]).substring(4))/1e5/a)}}s=`M 0 ${r/2} L ${i*e} ${r} L ${i*e} ${(1-n)*r} L ${(1-i)*e} ${(1-n)*r} L ${(1-i)*e} ${r} L ${e} ${r/2} L ${(1-i)*e} 0 L ${(1-i)*e} ${n*r} L ${i*e} ${n*r} L ${i*e} 0 Z`}break;case"upDownArrow":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=.25,i=.25;if(t){let a=r/e;for(let e of t){let t=q(e,["attrs","name"]);"adj1"===t?n=.5-parseInt(q(e,["attrs","fmla"]).substring(4))/2e5:"adj2"===t&&(i=parseInt(q(e,["attrs","fmla"]).substring(4))/1e5/a)}}s=`M ${e/2} 0 L 0 ${i*r} L ${n*e} ${i*r} L ${n*e} ${(1-i)*r} L 0 ${(1-i)*r} L ${e/2} ${r} L ${e} ${(1-i)*r} L ${(1-n)*e} ${(1-i)*r} L ${(1-n)*e} ${i*r} L ${e} ${i*r} Z`}break;case"quadArrow":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=22500*t_,i=22500*t_,o=22500*t_,l=5e4*t_,h=1e5*t_;if(t)for(let e of t){let t=q(e,["attrs","name"]);"adj1"===t?n=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj2"===t?i=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj3"===t&&(o=parseInt(q(e,["attrs","fmla"]).substring(4))*t_)}let u=r/2,c=e/2,f=Math.min(e,r),d=i<0?0:i>l?l:i,m=2*d,p=n<0?0:n>m?m:n,$=(h-m)/2,b=f*(o<0?0:o>$?$:o)/h,g=f*d/h,L=c-g,y=c+g,v=f*p/(2e5*t_),M=c-v,w=c+v,_=e-b,k=u-g,x=u+g,C=u-v,S=u+v,I=r-b;s=`M 0,${u} L ${b},${k} L ${b},${C} L ${M},${C} L ${M},${b} L ${L},${b} L ${c},0 L ${y},${b} L ${w},${b} L ${w},${C} L ${_},${C} L ${_},${k} L ${e},${u} L ${_},${x} L ${_},${S} L ${w},${S} L ${w},${I} L ${y},${I} L ${c},${r} L ${L},${I} L ${M},${I} L ${M},${S} L ${b},${S} L ${b},${x} z`}break;case"leftRightUpArrow":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=25e3*t_,i=25e3*t_,o=25e3*t_,l=5e4*t_,h=1e5*t_;if(t)for(let e of t){let t=q(e,["attrs","name"]);"adj1"===t?n=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj2"===t?i=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj3"===t&&(o=parseInt(q(e,["attrs","fmla"]).substring(4))*t_)}let u=e/2,c=Math.min(e,r),f=i<0?0:i>l?l:i,d=2*f,m=n<0?0:n>d?d:n,p=(h-d)/2,$=c*(o<0?0:o>p?p:o)/h,b=c*f/h,g=c*m/(2e5*t_),L=u-g,y=u+g,v=e-$,M=r-c*f/l,w=r-b,_=w-g,k=w+g;s=`M 0,${w} L ${$},${M} L ${$},${_} L ${L},${_} L ${L},${$} L ${u-b},${$} L ${u},0 L ${u+b},${$} L ${y},${$} L ${y},${_} L ${v},${_} L ${v},${M} L ${e},${w} L ${v},${r} L ${v},${k} L ${$},${k} L ${$},${r} z`}break;case"leftUpArrow":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=25e3*t_,i=25e3*t_,o=25e3*t_,l=5e4*t_,h=1e5*t_;if(t)for(let e of t){let t=q(e,["attrs","name"]);"adj1"===t?n=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj2"===t?i=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj3"===t&&(o=parseInt(q(e,["attrs","fmla"]).substring(4))*t_)}let u=Math.min(e,r),c=i<0?0:i>l?l:i,f=2*c,d=n<0?0:n>f?f:n,m=h-f,p=u*(o<0?0:o>m?m:o)/h,$=u*c/l,b=e-$,g=r-$,L=u*c/h,y=e-L,v=r-L,M=u*d/(2e5*t_),w=y-M,_=y+M,k=v-M,x=v+M;s=`M 0,${v} L ${p},${g} L ${p},${k} L ${w},${k} L ${w},${p} L ${b},${p} L ${y},0 L ${e},${p} L ${_},${p} L ${_},${x} L ${p},${x} L ${p},${r} z`}break;case"bentUpArrow":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=25e3*t_,i=25e3*t_,o=25e3*t_,l=5e4*t_,h=1e5*t_;if(t)for(let e of t){let t=q(e,["attrs","name"]);"adj1"===t?n=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj2"===t?i=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj3"===t&&(o=parseInt(q(e,["attrs","fmla"]).substring(4))*t_)}let u=Math.min(e,r),c=n<0?0:n>l?l:n,f=i<0?0:i>l?l:i,d=u*(o<0?0:o>l?l:o)/h,m=e-u*f/l,p=e-u*f/h,$=u*c/(2e5*t_),b=p-$,g=p+$,L=r-u*c/h;s=`M 0,${L} L ${b},${L} L ${b},${d} L ${m},${d} L ${p},0 L ${e},${d} L ${g},${d} L ${g},${r} L 0,${r} z`}break;case"bentArrow":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=25e3*t_,i=25e3*t_,o=25e3*t_,l=43750*t_,h=5e4*t_,u=1e5*t_;if(t)for(let e of t){let t=q(e,["attrs","name"]);"adj1"===t?n=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj2"===t?i=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj3"===t?o=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj4"===t&&(l=parseInt(q(e,["attrs","fmla"]).substring(4))*t_)}let c=Math.min(e,r),f=i<0?0:i>h?h:i,d=2*f,m=c*(n<0?0:n>d?d:n)/u,p=c*f/u,$=p-m/2,b=c*(o<0?0:o>h?h:o)/u,g=e-b,L=r-$,y=u*(g<L?g:L)/c,v=c*(l<0?0:l>y?y:l)/u,M=v-m,w=M>0?M:0,_=m+w,k=e-b,x=$+m,C=$+v,S=x+w;s=`M 0,${r} L 0,${C} ${e_(v,C,v,v,180,270,!1).replace("M","L")} L ${k},${$} L ${k},0 L ${e},${p} L ${k},${x+$} L ${k},${x} L ${_},${x} ${e_(_,S,w,w,270,180,!1).replace("M","L")} L ${m},${r} z`}break;case"uturnArrow":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=25e3*t_,i=25e3*t_,o=25e3*t_,l=43750*t_,h=75e3*t_,u=25e3*t_,c=1e5*t_;if(t)for(let e of t){let t=q(e,["attrs","name"]);"adj1"===t?n=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj2"===t?i=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj3"===t?o=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj4"===t?l=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj5"===t&&(h=parseInt(q(e,["attrs","fmla"]).substring(4))*t_)}let f=Math.min(e,r),d=i<0?0:i>u?u:i,m=2*d,p=n<0?0:n>m?m:n,$=(c-p*f/r)*r/f,b=o<0?0:o>$?$:o,g=(b+p)*f/r,L=h<g?g:h>c?c:h,y=f*p/c,v=f*d/c,M=v-y/2,w=r*L/c,_=w-f*b/c,k=e-M,x=k/2,C=c*(x<_?x:_)/f,S=f*(l<0?0:l>C?C:l)/c,I=S-y,A=I>0?I:0,P=y+A,R=e-v,z=R-v,T=z+M,F=k-S,O=T-A;s=`M 0,${r} L 0,${S} ${e_(S,S,S,S,180,270,!1).replace("M","L")} L ${F},0 ${e_(F,S,S,S,270,360,!1).replace("M","L")} L ${k},${_} L ${e},${_} L ${R},${w} L ${z},${_} L ${T},${_} L ${T},${P} ${e_(O,P,A,A,0,-90,!1).replace("M","L")} L ${P},${y} ${e_(P,P,A,A,270,180,!1).replace("M","L")} L ${y},${r} z`}break;case"stripedRightArrow":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=5e4*t_,i=5e4*t_,o=1e5*t_;if(t)for(let e of t){let t=q(e,["attrs","name"]);"adj1"===t?n=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj2"===t&&(i=parseInt(q(e,["attrs","fmla"]).substring(4))*t_)}let l=r/2,h=Math.min(e,r),u=84375*t_*e/h,c=n<0?0:n>o?o:n,f=5*h/32,d=e-h*(i<0?0:i>u?u:i)/o,m=r*c/(2e5*t_),p=l-m,$=l+m,b=h/8,g=h/16,L=h/32;s=`M 0,${p} L ${L},${p} L ${L},${$} L 0,${$} z M ${g},${p} L ${b},${p} L ${b},${$} L ${g},${$} z M ${f},${p} L ${d},${p} L ${d},0 L ${e},${l} L ${d},${r} L ${d},${$} L ${f},${$} z`}break;case"notchedRightArrow":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=5e4*t_,i=5e4*t_,o=1e5*t_;if(t)for(let e of t){let t=q(e,["attrs","name"]);"adj1"===t?n=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj2"===t&&(i=parseInt(q(e,["attrs","fmla"]).substring(4))*t_)}let l=r/2,h=Math.min(e,r),u=o*e/h,c=n<0?0:n>o?o:n,f=h*(i<0?0:i>u?u:i)/o,d=e-f,m=r*c/(2e5*t_),p=l-m,$=l+m;s=`M 0,${p} L ${d},${p} L ${d},0 L ${e},${l} L ${d},${r} L ${d},${$} L 0,${$} L ${m*f/l},${l} z`}break;case"homePlate":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),n=5e4*t_,i=1e5*t_;t&&(n=parseInt(t.substring(4))*t_);let o=r/2,l=Math.min(e,r),h=i*e/l,u=e-l*(n<0?0:n>h?h:n)/i;s=`M 0,0 L ${u},0 L ${e},${o} L ${u},${r} L 0,${r} z`}break;case"chevron":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),n=5e4*t_,i=1e5*t_;t&&(n=parseInt(t.substring(4))*t_);let o=r/2,l=Math.min(e,r),h=i*e/l,u=l*(n<0?0:n>h?h:n)/i,c=e-u;s=`M 0,0 L ${c},0 L ${e},${o} L ${c},${r} L 0,${r} L ${u},${o} z`}break;case"rightArrowCallout":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=25e3*t_,i=25e3*t_,o=25e3*t_,l=64977*t_,h=1e5*t_;if(t)for(let e of t){let t=q(e,["attrs","name"]);"adj1"===t?n=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj2"===t?i=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj3"===t?o=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj4"===t&&(l=parseInt(q(e,["attrs","fmla"]).substring(4))*t_)}let u=r/2,c=Math.min(e,r),f=5e4*t_*r/c,d=i<0?0:i>f?f:i,m=2*d,p=h*e/c,$=o<0?0:o>p?p:o,b=h-$*c/e,g=c*d/h,L=c*(n<0?0:n>m?m:n)/(2e5*t_),y=u-L,v=u+L,M=e-c*$/h,w=e*(l<0?0:l>b?b:l)/h;s=`M 0,0 L ${w},0 L ${w},${y} L ${M},${y} L ${M},${u-g} L ${e},${u} L ${M},${u+g} L ${M},${v} L ${w},${v} L ${w},${r} L 0,${r} z`}break;case"downArrowCallout":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=25e3*t_,i=25e3*t_,o=25e3*t_,l=64977*t_,h=1e5*t_;if(t)for(let e of t){let t=q(e,["attrs","name"]);"adj1"===t?n=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj2"===t?i=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj3"===t?o=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj4"===t&&(l=parseInt(q(e,["attrs","fmla"]).substring(4))*t_)}let u=e/2,c=Math.min(e,r),f=5e4*t_*e/c,d=i<0?0:i>f?f:i,m=2*d,p=h*r/c,$=o<0?0:o>p?p:o,b=h-$*c/r,g=c*d/h,L=c*(n<0?0:n>m?m:n)/(2e5*t_),y=u-L,v=u+L,M=r-c*$/h,w=r*(l<0?0:l>b?b:l)/h;s=`M 0,0 L ${e},0 L ${e},${w} L ${v},${w} L ${v},${M} L ${u+g},${M} L ${u},${r} L ${u-g},${M} L ${y},${M} L ${y},${w} L 0,${w} z`}break;case"leftArrowCallout":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=25e3*t_,i=25e3*t_,o=25e3*t_,l=64977*t_,h=1e5*t_;if(t)for(let e of t){let t=q(e,["attrs","name"]);"adj1"===t?n=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj2"===t?i=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj3"===t?o=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj4"===t&&(l=parseInt(q(e,["attrs","fmla"]).substring(4))*t_)}let u=r/2,c=Math.min(e,r),f=5e4*t_*r/c,d=i<0?0:i>f?f:i,m=2*d,p=h*e/c,$=o<0?0:o>p?p:o,b=h-$*c/e,g=c*d/h,L=c*(n<0?0:n>m?m:n)/(2e5*t_),y=u-L,v=u+L,M=c*$/h,w=e*(l<0?0:l>b?b:l)/h,_=e-w;s=`M 0,${u} L ${M},${u-g} L ${M},${y} L ${_},${y} L ${_},0 L ${e},0 L ${e},${r} L ${_},${r} L ${_},${v} L ${M},${v} L ${M},${u+g} z`}break;case"upArrowCallout":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=25e3*t_,i=25e3*t_,o=25e3*t_,l=64977*t_,h=1e5*t_;if(t)for(let e of t){let t=q(e,["attrs","name"]);"adj1"===t?n=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj2"===t?i=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj3"===t?o=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj4"===t&&(l=parseInt(q(e,["attrs","fmla"]).substring(4))*t_)}let u=e/2,c=Math.min(e,r),f=5e4*t_*e/c,d=i<0?0:i>f?f:i,m=2*d,p=h*r/c,$=o<0?0:o>p?p:o,b=h-$*c/r,g=c*d/h,L=c*(n<0?0:n>m?m:n)/(2e5*t_),y=u-L,v=u+L,M=c*$/h,w=r*(l<0?0:l>b?b:l)/h,_=r-w;s=`M 0,${_} L ${y},${_} L ${y},${M} L ${u-g},${M} L ${u},0 L ${u+g},${M} L ${v},${M} L ${v},${_} L ${e},${_} L ${e},${r} L 0,${r} z`}break;case"leftRightArrowCallout":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=25e3*t_,i=25e3*t_,o=25e3*t_,l=48123*t_,h=5e4*t_,u=1e5*t_,c=2e5*t_;if(t)for(let e of t){let t=q(e,["attrs","name"]);"adj1"===t?n=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj2"===t?i=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj3"===t?o=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj4"===t&&(l=parseInt(q(e,["attrs","fmla"]).substring(4))*t_)}let f=r/2,d=e/2,m=Math.min(e,r),p=h*r/m,$=i<0?0:i>p?p:i,b=2*$,g=h*e/m,L=o<0?0:o>g?g:o,y=u-L*m/(e/2),v=m*$/u,M=m*(n<0?0:n>b?b:n)/c,w=f-v,_=f-M,k=f+M,x=f+v,C=m*L/u,S=e-C,I=e*(l<0?0:l>y?y:l)/c,A=d-I,P=d+I;s=`M 0,${f} L ${C},${w} L ${C},${_} L ${A},${_} L ${A},0 L ${P},0 L ${P},${_} L ${S},${_} L ${S},${w} L ${e},${f} L ${S},${x} L ${S},${k} L ${P},${k} L ${P},${r} L ${A},${r} L ${A},${k} L ${C},${k} L ${C},${x} z`}break;case"quadArrowCallout":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=18515*t_,i=18515*t_,o=18515*t_,l=48123*t_,h=5e4*t_,u=1e5*t_,c=2e5*t_;if(t)for(let e of t){let t=q(e,["attrs","name"]);"adj1"===t?n=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj2"===t?i=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj3"===t?o=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj4"===t&&(l=parseInt(q(e,["attrs","fmla"]).substring(4))*t_)}let f=r/2,d=e/2,m=Math.min(e,r),p=i<0?0:i>h?h:i,$=2*p,b=n<0?0:n>$?$:n,g=h-p,L=o<0?0:o>g?g:o,y=u-2*L,v=l<b?b:l>y?y:l,M=m*p/u,w=m*b/c,_=m*L/u,k=e*v/c,x=r*v/c,C=e-_,S=d-k,I=d+k,A=d-M,P=d+M,R=d-w,z=d+w,T=r-_,F=f-x,O=f+x,B=f-M,E=f+M,j=f-w,D=f+w;s=`M 0,${f} L ${_},${B} L ${_},${j} L ${S},${j} L ${S},${F} L ${R},${F} L ${R},${_} L ${A},${_} L ${d},0 L ${P},${_} L ${z},${_} L ${z},${F} L ${I},${F} L ${I},${j} L ${C},${j} L ${C},${B} L ${e},${f} L ${C},${E} L ${C},${D} L ${I},${D} L ${I},${O} L ${z},${O} L ${z},${T} L ${P},${T} L ${d},${r} L ${A},${T} L ${R},${T} L ${R},${O} L ${S},${O} L ${S},${D} L ${_},${D} L ${_},${E} z`}break;case"curvedDownArrow":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=25e3*t_,i=5e4*t_,o=25e3*t_,l=1e5*t_;if(t)for(let e of t){let t=q(e,["attrs","name"]);"adj1"===t?n=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj2"===t?i=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj3"===t&&(o=parseInt(q(e,["attrs","fmla"]).substring(4))*t_)}let h=e/2,u=Math.min(e,r),c=5e4*t_*e/u,f=u*(n<0?0:n>l?l:n)/l,d=u*(i<0?0:i>c?c:i)/l,m=h-(f+d)/4,p=2*m,$=Math.sqrt(p*p-f*f)*r/p,b=l*$/u,g=u*(o<0?0:o>b?b:o)/l,L=m+f,y=Math.sqrt(r*r-g*g)*m/r,v=m+y,M=L+y,w=(d-f)/2,_=e-d/2,k=r-g,x=180*Math.atan(y/g)/Math.PI,C=180*Math.atan(f/2/$)/Math.PI,S=270+x,I=270-C;s=`M ${_},${r} L ${v-w},${k} L ${v},${k} ${e_(m,r,m,r,S,S+-x,!1).replace("M","L")} L ${L},0 ${e_(L,r,m,r,270,270+x,!1).replace("M","L")} L ${v+f},${k} L ${M+w},${k} z M ${L},0 ${e_(L,r,m,r,I,I+(C-90),!1).replace("M","L")} ${e_(m,r,m,r,180,180+(90+C),!1).replace("M","L")}`}break;case"curvedLeftArrow":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=25e3*t_,i=5e4*t_,o=25e3*t_,l=1e5*t_;if(t)for(let e of t){let t=q(e,["attrs","name"]);"adj1"===t?n=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj2"===t?i=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj3"===t&&(o=parseInt(q(e,["attrs","fmla"]).substring(4))*t_)}let h=r/2,u=Math.min(e,r),c=5e4*t_*r/u,f=i<0?0:i>c?c:i,d=u*(n<0?0:n>f?f:n)/l,m=u*f/l,p=h-(d+m)/4,$=2*p,b=Math.sqrt($*$-d*d)*e/$,g=l*b/u,L=u*(o<0?0:o>g?g:o)/l,y=p+d,v=Math.sqrt(e*e-L*L)*p/e,M=p+v,w=y+v,_=(m-d)/2,k=r-m/2,x=0+L,C=Math.atan(v/L),S=180*C/Math.PI,I=180*(Math.atan(d/2/b)-C)/Math.PI;s=`M ${e},${y} ${e_(0,p,e,p,0,-90,!1).replace("M","L")} L 0,0 ${e_(0,y,e,p,270,360,!1).replace("M","L")} L ${e},${y} ${e_(0,y,e,p,0,S,!1).replace("M","L")} L ${x},${w} L ${x},${w+_} L 0,${k} L ${x},${M-_} L ${x},${M} ${e_(0,p,e,p,S,S+I,!1).replace("M","L")} ${e_(0,p,e,p,0,-90,!1).replace("M","L")} ${e_(0,y,e,p,270,360,!1).replace("M","L")}`}break;case"curvedRightArrow":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=25e3*t_,i=5e4*t_,o=25e3*t_,l=1e5*t_;if(t)for(let e of t){let t=q(e,["attrs","name"]);"adj1"===t?n=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj2"===t?i=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj3"===t&&(o=parseInt(q(e,["attrs","fmla"]).substring(4))*t_)}let h=r/2,u=Math.min(e,r),c=5e4*t_*r/u,f=i<0?0:i>c?c:i,d=u*(n<0?0:n>f?f:n)/l,m=u*f/l,p=h-(d+m)/4,$=2*p,b=Math.sqrt($*$-d*d)*e/$,g=l*b/u,L=u*(o<0?0:o>g?g:o)/l,y=p+d,v=Math.sqrt(e*e-L*L)*p/e,M=p+v,w=y+v,_=(m-d)/2,k=r-m/2,x=e-L,C=Math.atan(v/L),S=180*(Math.PI-C)/Math.PI,I=-(180*C)/Math.PI,A=180*C/Math.PI,P=180*(Math.atan(d/2/b)-Math.PI/2)/Math.PI;s=`M 0,${p} ${e_(e,p,e,p,180,180+I,!1).replace("M","L")} L ${x},${M} L ${x},${M-_} L ${e},${k} L ${x},${w+_} L ${x},${w} ${e_(e,y,e,p,S,S+A,!1).replace("M","L")} L 0,${p} ${e_(e,p,e,p,180,270,!1).replace("M","L")} L ${e},${d} ${e_(e,y,e,p,270,270+P,!1).replace("M","L")}`}break;case"curvedUpArrow":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=25e3*t_,i=5e4*t_,o=25e3*t_,l=1e5*t_;if(t)for(let e of t){let t=q(e,["attrs","name"]);"adj1"===t?n=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj2"===t?i=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj3"===t&&(o=parseInt(q(e,["attrs","fmla"]).substring(4))*t_)}let h=e/2,u=Math.min(e,r),c=5e4*t_*e/u,f=u*(n<0?0:n>l?l:n)/l,d=u*(i<0?0:i>c?c:i)/l,m=h-(f+d)/4,p=2*m,$=Math.sqrt(p*p-f*f)*r/p,b=l*$/u,g=u*(o<0?0:o>b?b:o)/l,L=m+f,y=Math.sqrt(r*r-g*g)*m/r,v=m+y,M=L+y,w=(d-f)/2,_=e-d/2,k=0+g,x=Math.atan(y/g),C=Math.atan(f/2/$),S=Math.PI/2-x,I=180*(Math.PI/2-C)/Math.PI,A=180*(C-x)/Math.PI,P=180*S/Math.PI,R=180*x/Math.PI;s=`${e_(m,0,m,r,I,I+A,!1)} L ${v},${k} L ${v-w},${k} L ${_},0 L ${M+w},${k} L ${M},${k} ${e_(L,0,m,r,P,P+R,!1).replace("M","L")} L ${m},${r} ${e_(m,0,m,r,90,180,!1).replace("M","L")} L ${f},0 ${e_(L,0,m,r,180,90,!1).replace("M","L")}`}break;case"mathDivide":case"mathEqual":case"mathMinus":case"mathMultiply":case"mathNotEqual":case"mathPlus":{let n,i,o,l=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]);if(l)if(Array.isArray(l))for(let t of l){let e=q(t,["attrs","name"]);"adj1"===e?n=parseInt(q(t,["attrs","fmla"]).substring(4)):"adj2"===e?i=parseInt(q(t,["attrs","fmla"]).substring(4)):"adj3"===e&&(o=parseInt(q(t,["attrs","fmla"]).substring(4)))}else n=parseInt(q(l,["attrs","fmla"]).substring(4));let h=5e4*t_,u=1e5*t_,c=2e5*t_,f=e/2,d=r/2,m=r/2;if("mathNotEqual"===t){void 0===n&&(n=23520),void 0===i&&(i=66e5),void 0===o&&(o=11760),n*=t_,i=i/6e4*Math.PI/180,o*=t_;let t=70*Math.PI/180,a=110*Math.PI/180,l=n<0?0:n>h?h:n,p=u-2*l,$=r*l/u,b=r*(o<0?0:o>p?p:o)/c,g=73490*t_*e/c,L=f-g,y=f+g,v=d-b,M=d+b,w=v-$,_=M+$,k=(i<t?t:i>a?a:i)-Math.PI/2,x=m*Math.tan(k),C=Math.sqrt(x*x+m*m),S=C*$/m,I=f+x-S/2,A=I-x*w/m,P=I-x*v/m,R=I-x*M/m,z=I-x*_/m,T=$*m/C,F=k>0?I+T:I+S,O=k>0?I:I+S-T,B=$*x/C,E=k>0?B:0,j=k>0?0:-B,D=e-F,N=e-O,G=r-E,U=r-j;s=`M ${L},${w} L ${A},${w} L ${O},${j} L ${F},${E} L ${A+S},${w} L ${y},${w} L ${y},${v} L ${P+S},${v} L ${R+S},${M} L ${y},${M} L ${y},${_} L ${z+S},${_} L ${N},${U} L ${D},${G} L ${z},${_} L ${L},${_} L ${L},${M} L ${R},${M} L ${P},${v} L ${L},${v} z`}else if("mathDivide"===t){void 0===n&&(n=23520),void 0===i&&(i=5880),void 0===o&&(o=11760),n*=t_,i*=t_,o*=t_;let t=1e3*t_,a=36745*t_,l=73490*t_,h=n<t?t:n>a?a:n,m=(l-h)/4,p=a*e/r,$=m<p?m:p,b=o<t?t:o>$?$:o,g=l-4*b-h,L=r*h/c,y=r*(i<0?0:i>g?g:i)/u,v=r*b/u,M=e*l/c,w=d-L,_=d+L,k=w-(y+v)-v,x=r-k,C=f-M,S=f+M;s=`M ${f},${k} A ${v},${v} 0 1,0 ${f},${k+2*v} A ${v},${v} 0 1,0 ${f},${k} z M ${f},${x} A ${v},${v} 0 1,1 ${f},${x-2*v} A ${v},${v} 0 1,1 ${f},${x} z M ${C},${w} L ${S},${w} L ${S},${_} L ${C},${_} z`}else if("mathEqual"===t){void 0===n&&(n=23520),void 0===i&&(i=11760),n*=t_,i*=t_;let t=36745*t_,a=n<0?0:n>t?t:n,o=u-2*a,l=r*a/u,h=r*(i<0?0:i>o?o:i)/c,m=73490*t_*e/c,p=d-h,$=d+h,b=p-l,g=$+l,L=f-m,y=f+m;s=`M ${L},${b} L ${y},${b} L ${y},${p} L ${L},${p} z M ${L},${$} L ${y},${$} L ${y},${g} L ${L},${g} z`}else if("mathMinus"===t){void 0===n&&(n=23520);let t=r*((n*=t_)<0?0:n>u?u:n)/c,a=73490*t_*e/c,i=d-t,o=d+t,l=f-a,h=f+a;s=`M ${l},${i} L ${h},${i} L ${h},${o} L ${l},${o} z`}else if("mathMultiply"===t){void 0===n&&(n=23520),n*=t_;let t=51965*t_,a=Math.min(e,r)*(n<0?0:n>t?t:n)/u,i=Math.atan(r/e),o=Math.sin(i),l=Math.cos(i),h=Math.tan(i),c=Math.sqrt(e*e+r*r),m=c-c*t/u,p=l*m/2,$=o*m/2,b=o*a/2,g=l*a/2,L=p-b,y=$+g,v=p+b,M=$-g,w=(f-v)*h+M,_=e-v,k=e-L,x=r-y,C=r-M,S=r-w;s=`M ${L},${y} L ${v},${M} L ${f},${w} L ${_},${M} L ${k},${y} L ${k-(d-y)/h},${d} L ${k},${x} L ${_},${C} L ${f},${S} L ${v},${C} L ${L},${x} L ${L+(d-y)/h},${d} z`}else if("mathPlus"===t){void 0===n&&(n=23520),n*=t_;let t=73490*t_,a=Math.min(e,r),i=n<0?0:n>t?t:n,o=e*t/c,l=r*t/c,h=a*i/c,u=f-o,m=f-h,p=f+h,$=f+o,b=d-l,g=d-h,L=d+h,y=d+l;s=`M ${u},${g} L ${m},${g} L ${m},${b} L ${p},${b} L ${p},${g} L ${$},${g} L ${$},${L} L ${p},${L} L ${p},${y} L ${m},${y} L ${m},${L} L ${u},${L} z`}}break;case"can":case"flowChartMagneticDisk":case"flowChartMagneticDrum":{let n=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),i=25e3*t_;n&&(i=parseInt(n.substring(4))*t_),("flowChartMagneticDisk"===t||"flowChartMagneticDrum"===t)&&(i=5e4*t_);let o=Math.min(e,r),l=5e4*t_*r/o,h=o*(i<0?0:i>l?l:i)/(2e5*t_),u=r-h,c=e/2,f=`${e_(c,h,c,h,0,180,!1)} ${e_(c,h,c,h,180,360,!1).replace("M","L")} L ${e},${u} ${e_(c,u,c,h,0,180,!1).replace("M","L")} L 0,${h}`;"flowChartMagneticDrum"===t&&(f=f.replace(/([MLQC])\s*([-\d.e]+)\s*([-\d.e]+)/gi,(t,a,s,n)=>{let i=e/2-(parseFloat(n)-r/2),o=r/2+(parseFloat(s)-e/2);return`${a}${i} ${o}`}).replace(/([MLQC])\s*([-\d.e]+)\s*([-\d.e]+)\s*([-\d.e]+)\s*([-\d.e]+)/gi,(t,a,s,n,i,o)=>{let l=e/2-(parseFloat(n)-r/2),h=r/2+(parseFloat(s)-e/2),u=e/2-(parseFloat(o)-r/2),c=r/2+(parseFloat(i)-e/2);return`${a}${l} ${h} ${u} ${c}`})),s=f}break;case"swooshArrow":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=25e3*t_,i=16667*t_;if(t)for(let e of t){let t=q(e,["attrs","name"]);"adj1"===t?n=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj2"===t&&(i=parseInt(q(e,["attrs","fmla"]).substring(4))*t_)}let o=+t_,l=75e3*t_,h=1e5*t_,u=Math.min(e,r),c=u/8,f=r/6,d=7e4*t_*e/u,m=r*(n<o?o:n>l?l:n)/h,p=e-u*(i<0?0:i>d?d:i)/h,$=Math.PI/2/14,b=c*Math.tan($),g=m*Math.tan($),L=c+m,y=p+g,v=L+c,M=r/20,w=e/6,_=e/4;s=`M 0,${r} Q ${w},${f+f} ${p},${c} L ${p-b},0 L ${e},${v/2-M} L ${y+b},${v} L ${y},${L} Q ${_},${L+f/2} 0,${r} z`}break;case"circularArrow":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=12500*t_,i=19.03865*Math.PI/180,o=340.96135*Math.PI/180,l=180*Math.PI/180,h=12500*t_;if(t)for(let e of t){let t=q(e,["attrs","name"]);"adj1"===t?n=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj2"===t?i=parseInt(q(e,["attrs","fmla"]).substring(4))/6e4*Math.PI/180:"adj3"===t?o=parseInt(q(e,["attrs","fmla"]).substring(4))/6e4*Math.PI/180:"adj4"===t?l=parseInt(q(e,["attrs","fmla"]).substring(4))/6e4*Math.PI/180:"adj5"===t&&(h=parseInt(q(e,["attrs","fmla"]).substring(4))*t_)}let u=e/2,c=r/2,f=e/2,d=r/2,m=Math.min(e,r),p=25e3*t_,$=1e5*t_,b=1/6e4*Math.PI/180,g=0x14996ff/6e4*Math.PI/180,L=2*Math.PI,y=h<0?0:h>p?p:h,v=2*y,M=o<b?b:o>g?g:o,w=l<0?0:l>g?g:l,_=m*(n<0?0:n>v?v:n)/$,k=m*y/$,x=_/2,C=f+x-k,S=d+x-k,I=C-_,A=S-_,P=I+x,R=A+x,z=P*Math.sin(M),T=R*Math.cos(M),F=P*Math.cos(Math.atan2(z,T)),O=R*Math.sin(Math.atan2(z,T)),B=u+F,E=c+O,j=Math.min(I,A),D=(1+Math.sqrt(1-(F*F-j*j)*(O*O-j*j)/(F*F*O*O)))/((F*F-j*j)/F/O),N=Math.atan2(D,1)>0?Math.atan2(D,1):Math.atan2(D,1)+L,G=N-M>0?N-M:N-M+L,U=Math.abs(G-Math.PI>0?G-L:G),H=M+(i<0?0:i>U?U:i),Y=P*Math.sin(H),Z=R*Math.cos(H),W=P*Math.cos(Math.atan2(Y,Z)),K=R*Math.sin(Math.atan2(Y,Z)),V=B+k*Math.cos(H),X=E+k*Math.sin(H),Q=B-k*Math.cos(H),J=E-k*Math.sin(H),tt=Q-u,te=J-c,tr=V-u,ta=X-c,ts=Math.min(C,S),tn=tt*ts/C,ti=te*ts/S,to=tr*ts/C,tl=ta*ts/S,th=to-tn,tu=tl-ti,tc=Math.sqrt(th*th+tu*tu),tf=tn*tl-to*ti,td=Math.sqrt(Math.max(0,ts*ts*tc*tc-tf*tf)),tm=-1*tu>0?-1:1,tp=(tf*tu+tm*th*td)/(tc*tc),t$=(tf*tu-tm*th*td)/(tc*tc),tb=(-tf*th+Math.abs(tu)*td)/(tc*tc),tg=(-tf*th-Math.abs(tu)*td)/(tc*tc),tL=Math.sqrt((to-t$)**2+(tl-tg)**2)-Math.sqrt((to-tp)**2+(tl-tb)**2),ty=u+(tL>0?tp:t$)*C/ts,tv=c+(tL>0?tb:tg)*S/ts,tM=tt*j/I,tw=te*j/A,tk=tr*j/I,tx=ta*j/A,tC=tk-tM,tS=tx-tw,tI=Math.sqrt(tC*tC+tS*tS),tA=tM*tx-tk*tw,tP=Math.sqrt(Math.max(0,j*j*tI*tI-tA*tA)),tR=(tA*tS+tm*tC*tP)/(tI*tI),tz=(tA*tS-tm*tC*tP)/(tI*tI),tT=(-tA*tC+Math.abs(tS)*tP)/(tI*tI),tF=(-tA*tC-Math.abs(tS)*tP)/(tI*tI),tO=Math.sqrt((tM-tz)**2+(tw-tF)**2)-Math.sqrt((tM-tR)**2+(tw-tT)**2),tB=tO>0?tR:tz,tE=tO>0?tT:tF,tj=u+tB*I/j,tD=c+tE*A/j,tN=Math.atan2(tE*A/j,tB*I/j),tG=tN>0?tN:tN+L,tU=w-tG,tq=Math.sqrt((ty-tj)**2+(tv-tD)**2)/2-k,tH=Math.atan2(tv-c,ty-u),tY=(tH>0?tH:tH+L)-w,tZ=180*w/Math.PI,tW=tZ+180*(tY>0?tY:tY+L)/Math.PI,tK=180*tG/Math.PI,tV=tK+180*(tU>0?tU-L:tU)/Math.PI;s=`${e_(e/2,r/2,C,S,tZ,tW,!1)} L ${tq>0?ty:V},${tq>0?tv:X} L ${u+W},${c+K} L ${tq>0?tj:Q},${tq>0?tD:J} L ${tj},${tD} ${e_(e/2,r/2,I,A,tK,tV,!1).replace("M","L")} z`}break;case"leftCircularArrow":{let t=q(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=12500*t_,i=-19.03865*Math.PI/180,o=19.03865*Math.PI/180,l=180*Math.PI/180,h=12500*t_;if(t)for(let e of t){let t=q(e,["attrs","name"]);"adj1"===t?n=parseInt(q(e,["attrs","fmla"]).substring(4))*t_:"adj2"===t?i=parseInt(q(e,["attrs","fmla"]).substring(4))/6e4*Math.PI/180:"adj3"===t?o=parseInt(q(e,["attrs","fmla"]).substring(4))/6e4*Math.PI/180:"adj4"===t?l=parseInt(q(e,["attrs","fmla"]).substring(4))/6e4*Math.PI/180:"adj5"===t&&(h=parseInt(q(e,["attrs","fmla"]).substring(4))*t_)}let u=e/2,c=r/2,f=e/2,d=r/2,m=Math.min(e,r),p=25e3*t_,$=1e5*t_,b=1/6e4*Math.PI/180,g=0x14996ff/6e4*Math.PI/180,L=2*Math.PI,y=h<0?0:h>p?p:h,v=2*y,M=o<b?b:o>g?g:o,w=l<0?0:l>g?g:l,_=m*(n<0?0:n>v?v:n)/$,k=m*y/$,x=_/2,C=f+x-k,S=d+x-k,I=C-_,A=S-_,P=I+x,R=A+x,z=P*Math.cos(M),T=R*Math.sin(M),F=u+z,O=c+T,B=Math.min(I,A),E=(1+Math.sqrt(1-(z*z-B*B)*(T*T-B*B)/(z*z*T*T)))/((z*z-B*B)/z/T),j=Math.atan2(E,1)>0?Math.atan2(E,1):Math.atan2(E,1)+L,D=j-M>0?j-M:j-M+L,N=-Math.abs(D-Math.PI>0?D-L:D),G=M+(i<N?N:i>0?0:i),U=P*Math.cos(G),H=R*Math.sin(G),Y=C*Math.cos(w),Z=S*Math.sin(w),W=I*Math.cos(w),K=A*Math.sin(w),V=F+k*Math.cos(G),X=O+k*Math.sin(G),Q=F-k*Math.cos(G),J=O-k*Math.sin(G),tt=Q-u,te=J-c,tr=V-u,ta=X-c,ts=Math.min(C,S),tn=tt*ts/C,ti=te*ts/S,to=tr*ts/C,tl=ta*ts/S,th=to-tn,tu=tl-ti,tc=Math.sqrt(th*th+tu*tu),tf=tn*tl-to*ti,td=Math.sqrt(Math.max(0,ts*ts*tc*tc-tf*tf)),tm=-1*tu>0?-1:1,tp=(tf*tu+tm*th*td)/(tc*tc),t$=(tf*tu-tm*th*td)/(tc*tc),tb=(-tf*th+Math.abs(tu)*td)/(tc*tc),tg=(-tf*th-Math.abs(tu)*td)/(tc*tc),tL=Math.sqrt((to-t$)**2+(tl-tg)**2)-Math.sqrt((to-tp)**2+(tl-tb)**2),ty=u+(tL>0?tp:t$)*C/ts,tv=c+(tL>0?tb:tg)*S/ts,tM=tt*B/I,tw=te*B/A,tk=tr*B/I,tx=ta*B/A,tC=tk-tM,tS=tx-tw,tI=Math.sqrt(tC*tC+tS*tS),tA=tM*tx-tk*tw,tP=Math.sqrt(Math.max(0,B*B*tI*tI-tA*tA)),tR=(tA*tS+tm*tC*tP)/(tI*tI),tz=(tA*tS-tm*tC*tP)/(tI*tI),tT=(-tA*tC+Math.abs(tS)*tP)/(tI*tI),tF=(-tA*tC-Math.abs(tS)*tP)/(tI*tI),tO=Math.sqrt((tM-tz)**2+(tw-tF)**2)-Math.sqrt((tM-tR)**2+(tw-tT)**2),tB=tO>0?tR:tz,tE=tO>0?tT:tF,tj=u+tB*I/B,tD=c+tE*A/B,tN=Math.atan2(tE*A/B,tB*I/B),tG=tN>0?tN:tN+L,tU=w-tG,tq=tU>0?tU:tU+L,tH=Math.sqrt((ty-tj)**2+(tv-tD)**2)/2-k,tY=Math.atan2(tv-c,ty-u),tZ=(tY>0?tY:tY+L)-w,tW=180*(w+(tZ>0?tZ-L:tZ))/Math.PI,tK=180*w/Math.PI,tV=180*(tG+tq)/Math.PI,tX=tV+-(180*tq)/Math.PI;s=`M ${u+Y},${c+Z} L ${u+W},${c+K} ${e_(e/2,r/2,I,A,tV,tX,!1).replace("M","L")} L ${tH>0?tj:Q},${tH>0?tD:J} L ${u+U},${c+H} L ${tH>0?ty:V},${tH>0?tv:X} L ${ty},${tv} ${e_(e/2,r/2,C,S,tW,tK,!1).replace("M","L")} z`}}return s}function ex(t,e){if(!t||!e)return null;let r=q(t,[e,"p:transition"]);return r||(r=q(t,[e,"mc:AlternateContent","mc:Choice","p:transition"]))?r:r=q(t,[e,"mc:AlternateContent","mc:Fallback","p:transition"])}let eC=new Set(["entr","exit","emph","path","verb","mediacall"]),eS={clickEffect:"onClick",withEffect:"withPrevious",afterEffect:"afterPrevious",clickPar:"onClick",withGroup:"withPrevious",afterGroup:"afterPrevious",interactiveSeq:"onClick"};function eI(t){return null==t?[]:Array.isArray(t)?t:[t]}function eA(t){if(null==t||""===t||"indefinite"===t)return null;let e=parseInt(t,10);return Number.isFinite(e)?e:null}async function eP(t,e,r=!1){if(!e)return null;let a=`${r?"drawing:":"xml:"}${e}`;if(t.diagramFileCache[a])return t.diagramFileCache[a];let s=await h(t.zip,e);return s&&r&&(s=JSON.parse(JSON.stringify(s).replace(/dsp:/g,"p:"))),t.diagramFileCache[a]=s,s}async function eR(t,e){let r=q(t,["a:graphic","a:graphicData","dgm:relIds","attrs"])||{},a={data:null,layout:null,quickStyle:null,colors:null,drawing:null},s={},n={},i=q(e.slideResObj,[r["r:dm"],"target"]),o=q(e.slideResObj,[r["r:lo"],"target"]),l=q(e.slideResObj,[r["r:qs"],"target"]),u=q(e.slideResObj,[r["r:cs"],"target"]);i&&(a.data=await eP(e,i)),o&&(a.layout=await eP(e,o)),l&&(a.quickStyle=await eP(e,l)),u&&(a.colors=await eP(e,u));let c=a.data?function(t){let e=q(t,["dgm:dataModel","dgm:extLst","a:ext"]);if(!e)return"";for(let t of(Array.isArray(e)||(e=[e]),e)){let e=q(t,["dsp:dataModelExt","attrs","relId"]);if(e)return e}return""}(a.data):"",f=q(e.slideResObj,[c,"target"]);if(f){a.drawing=s=await eP(e,f,!0)||{};let t=f.split("/").pop(),r=f.replace(t,"_rels/"+t)+".rels",i=await h(e.zip,r);if(i){let e=i.Relationships.Relationship;if(e&&e.constructor!==Array&&(e=[e]),e)for(let r of e){let e=r.attrs.Target;e=0===(e=e.replace(/\\/g,"/")).indexOf("/ppt/")?e.substr(1):-1!==e.indexOf("../")?e.replace("../","ppt/"):f.replace(t,"")+e,n[r.attrs.Id]={type:r.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:e}}}}return{...e,digramFileContent:s,diagramResObj:n,diagramContent:a}}let ez=["http://schemas.openxmlformats.org/officeDocument/2006/relationships/","http://schemas.microsoft.com/office/2007/relationships/"];function eT(t){if(!t)return"";for(let e of ez)if(0===t.indexOf(e))return t.replace(e,"");return t}async function eF(t,e={}){let r,a=[],s={},i={},o={},l={},h={...e,imageMode:e.imageMode||"base64",videoMode:e.videoMode||"none",audioMode:e.audioMode||"none"};if(t instanceof ArrayBuffer?r=new Uint8Array(t):"u">typeof File&&t instanceof File?r=new Uint8Array(await t.arrayBuffer()):"u">typeof Buffer&&Buffer.isBuffer(t)&&(r=new Uint8Array(t)),r&&208===r[0]&&207===r[1]&&17===r[2]&&224===r[3])throw Error("ENCRYPTED_FILE");let u=await n.loadAsync(t),c=await eG(u),{width:f,height:d,defaultTextStyle:m}=await eq(u),{themeContent:p,themeColors:$}=await eH(u),b=await eU(u);for(let t of c.slides){let e=await eZ(u,t,p,m,s,i,o,h,l);e&&a.push(e)}return{slides:a,usedFonts:b,themeColors:$,size:{width:f,height:d}}}function eO(t){return t?t.constructor===Array?t:[t]:[]}function eB(t,e){return(/(\d+)\.xml/.exec(t)?.[1]||0)-(/(\d+)\.xml/.exec(e)?.[1]||0)}function eE(t){return String(t||"").replace(/\\/g,"/").replace(/^\//,"")}function ej(t,e){let r=String(e||"").replace(/\\/g,"/");if(!r)return"";if(r.startsWith("/"))return eE(r);let a=eE(t),s=a.lastIndexOf("/"),n=-1===s?"":a.slice(0,s+1),i=[];for(let t of`${n}${r}`.split("/"))t&&"."!==t&&(".."===t?i.pop():i.push(t));return i.join("/")}async function eD(t){for(let e of eO(q(await h(t,"_rels/.rels"),["Relationships","Relationship"]))){let t=q(e,["attrs","Type"]),r=q(e,["attrs","Target"]),a=q(e,["attrs","TargetMode"]);if((!a||"external"!==String(a).toLowerCase())&&"officeDocument"===eT(t)&&r){let t=ej("",r);if(t)return t}}return"ppt/presentation.xml"}async function eN(t){let e,r,a,s,n=await eD(t),i=eO(q(await h(t,(a=-1===(r=(e=eE(n)).lastIndexOf("/"))?"":e.slice(0,r+1),s=-1===r?e:e.slice(r+1),`${a}_rels/${s}.rels`)),["Relationships","Relationship"])),o={},l=[];for(let t of i){let e=q(t,["attrs","Id"]),r=q(t,["attrs","Type"]),a=q(t,["attrs","Target"]),s=q(t,["attrs","TargetMode"]);if(!e||!a||s&&"external"===String(s).toLowerCase())continue;let i=ej(n,a);i&&(o[e]=i,"slide"===eT(r)&&l.push(i))}let u=eO(q(await h(t,n),["p:presentation","p:sldIdLst","p:sldId"])),c=[];for(let t of u){var f;let e=(f=t?.attrs)&&(f["r:id"]||f.rId)||"";e&&o[e]&&c.push(o[e])}return c.length?c:l}async function eG(t){let e=eO(q(await h(t,"[Content_Types].xml"),["Types","Override"])),r=[],a=[];for(let t of e){let e=t?.attrs?.ContentType,s=t?.attrs?.PartName;if(!e||!s)continue;let n=String(s).replace(/^\//,"");switch(e){case"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":r.push(n);break;case"application/vnd.openxmlformats-officedocument.presentationml.slideLayout+xml":a.push(n)}}a=a.sort(eB);let s=await eN(t);return s.length||(s=r.sort(eB)),{slides:s,slideLayouts:a}}async function eU(t){let e=q(await h(t,"ppt/presentation.xml"),["p:presentation","p:embeddedFontLst","p:embeddedFont"]),r=[];if(!e)return r;let a=e.constructor===Array?e:[e],s=await h(t,"ppt/_rels/presentation.xml.rels"),n={};if(s){let t=q(s,["Relationships","Relationship"]);if(t)for(let e of(t.constructor!==Array&&(t=[t]),t)){let t=q(e,["attrs","Id"]),r=q(e,["attrs","Target"]);t&&r&&(n[t]=r)}}let i=["p:regular","p:bold","p:italic","p:boldItalic"];for(let e of a){let a=q(e,["p:font","attrs","typeface"]);if(!a)continue;let s="";for(let r of i){let a=e[r];if(!a)continue;let i=q(a,["attrs","r:id"]);if(!i)continue;let o=n[i];if(!o)continue;let l=o;if(l=l.startsWith("../")?l.substring(3):"ppt/"+l,s=await ey(t,l))break}r.push({name:a,fontFamily:function(t){if(!t)return"";if(ev[t])return ev[t];let e=t.toLowerCase();for(let[t,r]of Object.entries(ev))if(t.toLowerCase()===e)return r;for(let[r,a]of Object.entries(ev))if(e.startsWith(r.toLowerCase()))return`${t}, ${a}`;return function(t){let e=t.toLowerCase();return e.includes("mono")||e.includes("code")||e.includes("console")||e.includes("courier")||e.includes("terminal")||e.includes("fixed")?`${t}, monospace`:e.includes("serif")||e.includes("roman")||e.includes("mincho")||e.includes("song")||e.includes("sung")||e.includes("ming")||e.includes("times")||e.includes("georgia")?`${t}, serif`:e.includes("script")||e.includes("cursive")||e.includes("hand")||e.includes("writing")||e.includes("kai")||e.includes("shu")?`${t}, cursive`:`${t}, sans-serif`}(t)}(a),blob:s})}return r}async function eq(t){let e=await h(t,"ppt/presentation.xml"),r=e["p:presentation"]["p:sldSz"].attrs,a=e["p:presentation"]["p:defaultTextStyle"];return{width:parseInt(r.cx)*t_,height:parseInt(r.cy)*t_,defaultTextStyle:a}}async function eH(t){let e,r=null,a=(await h(t,"ppt/_rels/presentation.xml.rels")).Relationships.Relationship;if(a.constructor===Array){for(let t of a)if("http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme"===t.attrs.Type){e=t.attrs.Target;break}}else"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme"===a.attrs.Type&&(e=a.attrs.Target);if(!e){let r=await h(t,"ppt/slideMasters/_rels/slideMaster1.xml.rels");if(r){let t=r.Relationships.Relationship;if(t.constructor===Array){for(let r of t)if("http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme"===r.attrs.Type){e=r.attrs.Target;break}}else"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme"===t.attrs.Type&&(e=t.attrs.Target)}}if(e){(e=e.replace(/\\/g,"/")).startsWith("../")&&(e=e.substring(3));let a=0===e.indexOf("/ppt/")?e.substr(1):"ppt/"+e;r=await h(t,a)}let s=[];if(r){let t=q(r,["a:theme","a:themeElements","a:clrScheme"]);if(t)for(let e=1;e<=6&&void 0!==t[`a:accent${e}`];e++){let r=q(t,[`a:accent${e}`,"a:srgbClr","attrs","val"]);r&&s.push("#"+r)}}return{themeContent:r,themeColors:s}}async function eY(t,e,r){if(!e)return null;if(Object.prototype.hasOwnProperty.call(r,e))return r[e];let a=await h(t,e);return r[e]=a,a}async function eZ(t,e,r,a,s,n,i,o,l){let u,c=e.replace("slides/slide","slides/_rels/slide")+".rels",f=await h(t,c);if(!f)return null;let d=f.Relationships.Relationship;d.constructor!==Array&&(d=[d]);let m="",p="",$="",b="",g={},L={},y={},v={};for(let t of d){let e=eT(t.attrs.Type),r=t.attrs.Target;"External"!==t.attrs.TargetMode&&(r=0===(r=r.replace(/\\/g,"/")).indexOf("/ppt/")?r.substr(1):-1!==r.indexOf("../")?r.replace("../","ppt/"):"ppt/slides/"+r),"slideLayout"===e?p=r:"notesSlide"===e&&(m=r),g[t.attrs.Id]={type:e,target:r}}let M=function(t){let e="",r=q(t,["p:notes","p:cSld","p:spTree","p:sp"]);if(!r)return"";for(let t of(r.constructor!==Array&&(r=[r]),r)){if("body"!==q(t,["p:nvSpPr","p:nvPr","p:ph","attrs","type"]))continue;let r=q(t,["p:txBody"]);if(!r)continue;let a=r["a:p"];if(!a)continue;a.constructor!==Array&&(a=[a]);let s=[];for(let t of a){let r=t["a:pPr"],a=q(r,["attrs","algn"]),n="left";if(a)switch(a){case"r":n="right";break;case"ctr":n="center";break;case"just":case"dist":n="justify"}let i="";r&&(r["a:buChar"]?i="ul":r["a:buAutoNum"]&&(i="ol"));let o=q(r,["attrs","lvl"]),l=void 0!==o?parseInt(o):0;if(i){for(;s.length>l+1;)e+=`</${s.pop()}>`;void 0===s[l]?(e+=`<${i}>`,s[l]=i):s[l]!==i&&(e+=`</${s[l]}>`,e+=`<${i}>`,s[l]=i),e+=`<li><p style="text-align:${n};">`}else{for(;s.length>0;)e+=`</${s.pop()}>`;e+=`<p style="text-align:${n};">`}let h=t["a:r"];if(h)for(let t of(h.constructor!==Array&&(h=[h]),h)){let r=ep(q(t,["a:t"]));r&&"string"==typeof r&&(e+=r)}i?e+="</p></li>":e+="</p>"}for(;s.length>0;)e+=`</${s.pop()}>`}return e}(await h(t,m)),w=await eY(t,p,l),_=eV(w),k=p.replace("slideLayouts/slideLayout","slideLayouts/_rels/slideLayout")+".rels",x=await eY(t,k,l);if(x&&(d=x.Relationships.Relationship))for(let t of(d.constructor!==Array&&(d=[d]),d)){let e=eT(t.attrs.Type),r=t.attrs.Target;r=0===(r=r.replace(/\\/g,"/")).indexOf("/ppt/")?r.substr(1):-1!==r.indexOf("../")?r.replace("../","ppt/"):"ppt/slideLayouts/"+r,"slideMaster"===e?$=r:L[t.attrs.Id]={type:e,target:r}}let C=await eY(t,$,l),S=q(C,["p:sldMaster","p:txStyles"]),I=eV(C),A=$.replace("slideMasters/slideMaster","slideMasters/_rels/slideMaster")+".rels",P=await eY(t,A,l);if(P&&(d=P.Relationships.Relationship))for(let t of(d.constructor!==Array&&(d=[d]),d)){let e=eT(t.attrs.Type),r=t.attrs.Target;r=0===(r=r.replace(/\\/g,"/")).indexOf("/ppt/")?r.substr(1):-1!==r.indexOf("../")?r.replace("../","ppt/"):"ppt/slideMasters/"+r,"theme"===e?b=r:y[t.attrs.Id]={type:e,target:r}}let R=r;if(b){R=await eY(t,b,l)||R;let e=b.split("/").pop(),r=b.replace(e,"_rels/"+e)+".rels",a=await h(t,r);if(a&&(d=a.Relationships.Relationship))for(let t of(d.constructor!==Array&&(d=[d]),d)){let e=t.attrs.Target;e=0===(e=e.replace(/\\/g,"/")).indexOf("/ppt/")?e.substr(1):e.replace("../","ppt/"),v[t.attrs.Id]={type:eT(t.attrs.Type),target:e}}}let z=await eY(t,"ppt/tableStyles.xml",l),T=await h(t,e);if(!T)return null;let F=T["p:sld"]["p:cSld"]["p:spTree"],O={zip:t,loadedImages:s,loadedVideos:n,loadedAudios:i,options:o,slideLayoutContent:w,slideLayoutTables:_,slideMasterContent:C,slideMasterTables:I,slideContent:T,tableStyles:z,slideResObj:g,slideMasterTextStyles:S,layoutResObj:L,masterResObj:y,themeContent:R,themeResObj:v,diagramFileCache:{},defaultTextStyle:a},B=await eK(O),E=await tm(O),j=[];for(let t in F)for(let e of(F[t].constructor!==Array&&(F[t]=[F[t]]),F[t])){let r=await eX(t,e,O,"slide");r&&j.push(r)}let D=ex(T,"p:sld");D||(D=ex(w,"p:sldLayout")),D||(D=ex(C,"p:sldMaster"));let N=function(t){if(!t)return null;let e={type:"none",duration:1e3,direction:null},r=t.attrs||{},a=!1,s=/^p\d{2}:dur$/;for(let t in r)if(s.test(t)&&!isNaN(parseInt(r[t],10))){e.duration=parseInt(r[t],10),a=!0;break}if(!a&&r.spd)switch(r.spd){case"slow":default:e.duration=1e3;break;case"med":e.duration=800;break;case"fast":e.duration=500}"0"===r.advClick&&r.advTm&&(e.autoNextAfter=parseInt(r.advTm,10));let n=/^(p|p\d{2}):/;for(let r in t)if("attrs"!==r&&n.test(r)){let s=t[r];if(e.type=r.substring(r.indexOf(":")+1),s&&s.attrs){let t=s.attrs;!t.dur||isNaN(parseInt(t.dur,10))||a||(e.duration=parseInt(t.dur,10)),t.dir&&(e.direction=t.dir)}break}return e}(D),{animations:G,builds:U}=(u=T?q(T,["p:sld","p:timing"])||q(T,["p:sld","mc:AlternateContent","mc:Choice","p:timing"])||q(T,["p:sld","mc:AlternateContent","mc:Fallback","p:timing"]):null)?{animations:function t(e,r="onClick",a=0,s=[]){if(!e||"object"!=typeof e)return s;let n=e.attrs||{},i=eS[n.nodeType]||r,o=function(t,e=0){let r=eA(t?.attrs?.delay);if(null!=r&&r>=0)return r;let a=t?.["p:stCondLst"];for(let t of eI(a?.["p:cond"]||a)){let e=eA(t?.attrs?.delay);if(null!=e&&e>=0)return e}return e}(e,a);if(n.presetClass&&eC.has(n.presetClass)){let t,r,a,l,h=[...new Set(function t(e,r=[]){if(!e||"object"!=typeof e)return r;let a=e.attrs?.spid;for(let s of(null!=a&&""!==a&&r.push(String(a)),Object.keys(e)))if("attrs"!==s&&"value"!==s)for(let a of eI(e[s]))t(a,r);return r}(e))],u=(t=null,(r=e=>{if(!e||"object"!=typeof e)return;let a=eA(e.attrs?.dur);for(let s of(null!=a&&a>=0&&(t=a),Object.keys(e)))if("attrs"!==s&&"value"!==s)for(let t of eI(e[s]))r(t)})(e),t),c=(a="",(l=t=>{if(t&&"object"==typeof t){for(let e of(t.attrs?.filter&&(a=t.attrs.filter),Object.keys(t)))if("attrs"!==e&&"value"!==e)for(let r of eI(t[e]))l(r)}})(e),a),f=eS[n.nodeType]||i;for(let t of h){let e={spid:t,trigger:f,class:n.presetClass,presetId:parseInt(n.presetID||"0",10)||0,presetSubtype:parseInt(n.presetSubtype||"0",10)||0,duration:null!=u?u:1e3,delay:o};c&&(e.filter=c),s.push(e)}return s}for(let r of Object.keys(e))if("attrs"!==r&&"value"!==r)for(let a of eI(e[r]))t(a,i,o,s);return s}(u),builds:function(t){let e=t?.["p:bldLst"];if(!e)return[];let r=[];for(let[t,a]of[["p:bldP","paragraph"],["p:bldDgm","diagram"],["p:bldGraphic","graphic"],["p:bldOleChart","oleChart"]])for(let s of eI(e[t])){let t=s?.attrs?.spid;if(null==t||""===t)continue;let e={spid:String(t),type:a};(s.attrs?.animBg==="1"||s.attrs?.animBg==="true")&&(e.animBg=!0),r.push(e)}return r}(u)}:{animations:[],builds:[]},H=q(T,["p:sld","attrs","showMasterSp"]);return{fill:E,elements:j,layoutElements:B,note:M,transition:N,hideBackground:"0"===H||"false"===H,animations:G,builds:U}}function eW(t,e){let r=q(t,["a:hlinkClick","attrs"]);if(!r)return null;let a=r["r:id"];if(!a)return null;let s=e.slideResObj[a];if(!s||"hyperlink"!==s.type)return null;let n=s.target;return n&&/^https?:\/\//.test(n)?n:null}async function eK(t){let e=[],r=t.slideLayoutContent,a=t.slideMasterContent,s=q(r,["p:sldLayout","p:cSld","p:spTree"]),n=q(a,["p:sldMaster","p:cSld","p:spTree"]),i=q(r,["p:sldLayout","attrs","showMasterSp"]);if(s){for(let r in s)if(s[r].constructor===Array){for(let a=0;a<s[r].length;a++)if(!q(s[r][a],["p:nvSpPr","p:nvPr","p:ph"])){let n=await eX(r,s[r][a],t,"slideLayoutBg");n&&e.push(n)}}else if(!q(s[r],["p:nvSpPr","p:nvPr","p:ph"])){let a=await eX(r,s[r],t,"slideLayoutBg");a&&e.push(a)}}if(n&&"0"!==i){for(let r in n)if(n[r].constructor===Array){for(let a=0;a<n[r].length;a++)if(!q(n[r][a],["p:nvSpPr","p:nvPr","p:ph"])){let s=await eX(r,n[r][a],t,"slideMasterBg");s&&e.push(s)}}else if(!q(n[r],["p:nvSpPr","p:nvPr","p:ph"])){let a=await eX(r,n[r],t,"slideMasterBg");a&&e.push(a)}}return e}function eV(t){if(!t)return{idTable:{},idxTable:{},typeTable:{}};let e=Object.keys(t),r=t[e[0]]?.["p:cSld"]?.["p:spTree"];if(!r)return{idTable:{},idxTable:{},typeTable:{}};let a={},s={},n={};for(let t in r){if("p:nvGrpSpPr"===t||"p:grpSpPr"===t)continue;let e=r[t];if(e.constructor===Array)for(let t of e){let e=t["p:nvSpPr"],r=q(e,["p:cNvPr","attrs","id"]),i=q(e,["p:nvPr","p:ph","attrs","idx"]),o=q(e,["p:nvPr","p:ph","attrs","type"]);r&&(a[r]=t),i&&(s[i]=t),o&&!n[o]&&(n[o]=t)}else{let t=e["p:nvSpPr"],r=q(t,["p:cNvPr","attrs","id"]),i=q(t,["p:nvPr","p:ph","attrs","idx"]),o=q(t,["p:nvPr","p:ph","attrs","type"]);r&&(a[r]=e),i&&(s[i]=e),o&&!n[o]&&(n[o]=e)}}return{idTable:a,idxTable:s,typeTable:n}}async function eX(t,e,r,a,s=[]){let n;switch(t){case"p:sp":n=await e0(e,r,a,s);break;case"p:cxnSp":n=await e1(e,r,a);break;case"p:pic":n=await e8(e,r,a);break;case"p:graphicFrame":n=await e5(e,r,a);break;case"p:grpSp":n=await eJ(e,r,a,s);break;case"mc:AlternateContent":q(e,["mc:Fallback","p:grpSpPr","a:xfrm"])?n=await eJ(q(e,["mc:Fallback"]),r,a,s):q(e,["mc:Choice"])&&(n=await eQ(e,r,a))}if(n&&"object"==typeof n&&!n.id){let t=q(e,["p:nvSpPr","p:cNvPr","attrs","id"])||q(e,["p:nvPicPr","p:cNvPr","attrs","id"])||q(e,["p:nvCxnSpPr","p:cNvPr","attrs","id"])||q(e,["p:nvGrpSpPr","p:cNvPr","attrs","id"])||q(e,["p:nvGraphicFramePr","p:cNvPr","attrs","id"])||q(e,["mc:Choice","p:sp","p:nvSpPr","p:cNvPr","attrs","id"])||q(e,["mc:Fallback","p:sp","p:nvSpPr","p:cNvPr","attrs","id"])||q(e,["mc:Fallback","p:nvGrpSpPr","p:cNvPr","attrs","id"]);n.id=t||""}return n}async function eQ(t,e,r){let a=q(t,["mc:Choice"]),s=q(t,["mc:Fallback"]),n=t.attrs.order,i=q(a,["p:sp","p:spPr","a:xfrm"]),{top:o,left:l}=tT(i,void 0,void 0),{width:h,height:u}=tF(i,void 0,void 0),c=function t(e){let r=[];return"object"!=typeof e||(e["m:oMath"]&&(r=r.concat(e["m:oMath"])),Object.values(e).forEach(e=>{(Array.isArray(e)||"object"==typeof e)&&(r=r.concat(t(e)))})),r}(a)[0];if(!c)return null;let f=t7(c),d=q(s,["p:sp","p:spPr","a:blipFill"]),m=await tl(r,d,e),p="";if(q(a,["p:sp","p:txBody","a:p","a:r"])){let t=q(a,["p:sp"]);p=e$(t["p:txBody"],t,void 0,void 0,void 0,e)}return{type:"math",top:o,left:l,width:h,height:u,latex:f,picRef:m.ref,picBase64:m.base64,picBlob:m.blob,text:p,order:n}}async function eJ(t,e,r,a=[]){let s=t.attrs.order,n=q(t,["p:grpSpPr","a:xfrm"]);if(!n)return null;let i=parseInt(n["a:off"].attrs.x)*t_,o=parseInt(n["a:off"].attrs.y)*t_,l=parseInt(n["a:chOff"].attrs.x)*t_,h=parseInt(n["a:chOff"].attrs.y)*t_,u=parseInt(n["a:ext"].attrs.cx)*t_,c=parseInt(n["a:ext"].attrs.cy)*t_,f=parseInt(n["a:chExt"].attrs.cx)*t_,d=parseInt(n["a:chExt"].attrs.cy)*t_,m=N(q(n,["attrs","flipV"])),p=N(q(n,["attrs","flipH"])),$=q(n,["attrs","rot"])||0;$&&($=H($));let b=0===f?0:u/f,g=0===d?0:c/d,L=[...a,t],y=[];for(let a in t)if(t[a].constructor===Array)for(let s of t[a]){let t=await eX(a,s,e,r,L);t&&y.push(t)}else{let s=await eX(a,t[a],e,r,L);s&&y.push(s)}let v=(t,e=0,r=0)=>{let a=((t.rotate||0)%360+360)%360,s=1e-6>Math.abs(b-g),n=90===a||270===a,i=t.left+t.width/2,o=t.top+t.height/2,l=t.width*(n&&!s?g:b),h=t.height*(n&&!s?b:g);return{...t,left:W((i-e)*b-l/2),top:W((o-r)*g-h/2),width:W(l),height:W(h)}},M=y.map(t=>({...v(t,l,h),..."group"===t.type&&t.elements?{elements:function t(e,r=0){return r>10?e:e.map(e=>{let a=v(e);return"group"===e.type&&e.elements&&(a.elements=t(e.elements,r+1)),a})}(t.elements)}:{}}));return{type:"group",top:W(o),left:W(i),width:W(u),height:W(c),rotate:$,order:s,isFlipV:m,isFlipH:p,elements:M}}async function e0(t,e,r,a=[]){let s,n,i=q(t,["p:nvSpPr","p:cNvPr"]),o=q(i,["attrs","name"]),l=q(t,["p:nvSpPr","p:nvPr","p:ph","attrs","idx"]),h=q(t,["p:nvSpPr","p:nvPr","p:ph","attrs","type"]),u=q(t,["attrs","order"]);h?l?(s=e.slideLayoutTables.idxTable[l],n=e.slideMasterTables.idxTable[l],s||(s=e.slideLayoutTables.typeTable[h]),n||(n=e.slideMasterTables.typeTable[h])):(s=e.slideLayoutTables.typeTable[h],n=e.slideMasterTables.typeTable[h]):l&&(s=e.slideLayoutTables.idxTable[l],n=e.slideMasterTables.idxTable[l]),!h&&N(q(t,["p:nvSpPr","p:cNvSpPr","attrs","txBox"]))&&(h="text"),h||(h=q(s,["p:nvSpPr","p:nvPr","p:ph","attrs","type"])),h||(h=q(n,["p:nvSpPr","p:nvPr","p:ph","attrs","type"])),n||"ctrTitle"!==h||(n=e.slideMasterTables.typeTable.title),h||(h="diagramBg"===r?"diagram":"obj");let c=eW(i,e);return await e2(t,s,n,o,h,u,e,r,c,a)}async function e1(t,e,r){let a=q(t,["p:nvCxnSpPr","p:cNvPr"]),s=q(a,["attrs","name"]),n=void 0===t["p:nvCxnSpPr"]["p:nvPr"]["p:ph"]?void 0:t["p:nvCxnSpPr"]["p:nvPr"]["p:ph"].attrs.type,i=t.attrs.order,o=eW(a,e);return await e2(t,void 0,void 0,s,n,i,e,r,o)}async function e2(t,e,r,a,s,n,i,o,l,h=[]){let u,c,f,d=["p:spPr","a:xfrm"],m=q(t,d),p=q(e,d),$=q(r,d),b=q(t,["p:spPr","a:prstGeom","attrs","prst"]),g=q(t,["p:spPr","a:custGeom"]),L={};if(b){let e=q(t,["p:spPr","a:prstGeom","a:avLst","a:gd"]);if(e)for(let t of Array.isArray(e)?e:[e]){let e=q(t,["attrs","name"]),r=q(t,["attrs","fmla"]);e&&r&&r.startsWith("val ")&&(L[e]=parseInt(r.substring(4))/5e4)}}let{top:y,left:v}=tT(m,p,$),{width:M,height:w}=tF(m,p,$),_={x:0,y:0,width:M,height:w},k=N(q(m,["attrs","flipV"])),x=N(q(m,["attrs","flipH"])),C=H(q(m,["attrs","rot"])),S=q(t,["p:txXfrm"]);if(S){let t=q(S,["attrs","rot"]);t&&(u=H(t)+90)}else u=C;let I="";t["p:txBody"]&&(I=e$(t["p:txBody"],t,e,r,s,i));let{borderColor:A,borderWidth:P,borderType:R,strokeDasharray:z,headEnd:T,tailEnd:F}=ty(t,s,i),O=await t$(t,i,o,{groupHierarchy:h,slideLayoutSpNode:e,slideMasterSpNode:r}),B=q(t,["p:spPr","a:effectLst","a:outerShdw"]);B&&(c=ea(B,i));let E=((f=q(t,["p:txBody","a:bodyPr","attrs","anchor"]))||!(f=q(e,["p:txBody","a:bodyPr","attrs","anchor"]))&&((f=q(r,["p:txBody","a:bodyPr","attrs","anchor"]))||(f="t")),"ctr"===f?"mid":"b"===f?"down":"up"),j="horz"!==function(t,e,r){for(let a of[t,e,r]){let t=q(a,["p:txBody","a:bodyPr","attrs","vert"]);if(t)return t}return"horz"}(t,e,r),D="none"!==q(t,["p:txBody","a:bodyPr","attrs","wrap"]),G=function(t,e,r){function a(t){if(!t)return null;if(t["a:noAutofit"])return{result:null};if(t["a:spAutoFit"])return{result:{type:"shape",wrapText:"none"!==q(t,["attrs","wrap"])}};if(t["a:normAutofit"]){let e=q(t["a:normAutofit"],["attrs","fontScale"]);return e?{result:{type:"text",fontScale:parseInt(e)/1e3}}:{result:{type:"text"}}}return null}let s=a(q(t,["p:txBody","a:bodyPr"]));if(s)return s.result;let n=a(q(e,["p:txBody","a:bodyPr"]));if(n)return n.result;let i=a(q(r,["p:txBody","a:bodyPr"]));return i?i.result:null}(t,e,r),U=function(t,e,r){let a=q(t,["p:txBody","a:bodyPr"]),s=q(e,["p:txBody","a:bodyPr"]),n=q(r,["p:txBody","a:bodyPr"]);if(!a&&!s&&!n)return null;let i=tR(t,e,r,"lIns");(null==i||""===i)&&(i=91440);let o=tR(t,e,r,"tIns");(null==o||""===o)&&(o=45720);let l=tR(t,e,r,"rIns");(null==l||""===l)&&(l=91440);let h=tR(t,e,r,"bIns");(null==h||""===h)&&(h=45720);let u=tz(i);null===u&&(u=0);let c=tz(o);null===c&&(c=0);let f=tz(l);null===f&&(f=0);let d=tz(h);return null===d&&(d=0),{l:u,t:c,r:f,b:d}}(t,e,r),Y={left:v,top:y,width:M,height:w,borderColor:A,borderWidth:P,borderType:R,borderStrokeDasharray:z,fill:O,content:I,isFlipV:k,isFlipH:x,rotate:C,vAlign:E,wrap:D,name:a,order:n};c&&(Y.shadow=c),G&&(Y.autoFit=G),l&&(Y.link=l),U&&(Y.textInset=U),T&&(Y.headEnd=T),F&&(Y.tailEnd=F);let Z=Y.content&&function(t){if("u"<typeof DOMParser)return""!==t.replace(/<[^>]+>/g,"").replace(/\s+/g," ").trim();let e=new DOMParser().parseFromString(t,"text/html");return""!==(e.body.textContent||e.body.innerText).trim()}(Y.content);if(g&&"diagram"!==s){let t=eg(g,M,w);Z||(Y.content="");let e={...Y,type:"shape",isVertical:j,shapType:"custom",path:t,pathViewBox:_};return function(t){let e=q(t,["a:pathLst","a:path"]);if(!e)return!1;let r=Array.isArray(e)?e:[e];return 1===r.length&&"none"===q(r[0],["attrs","fill"])}(g)&&(e.strokeOnly=!0),e}let W="";b&&(W=ek(b,M,w,t));let K=["arc","leftBrace","rightBrace","bracePair","leftBracket","rightBracket","bracketPair"].includes(b);if(b&&("obj"===s||!s||"rect"!==b)){Z||(Y.content="");let t={...Y,type:"shape",isVertical:j,shapType:b,path:W,pathViewBox:_,keypoints:L};return K&&(t.strokeOnly=!0),t}if(b&&!Z&&(O||P)){let t={...Y,type:"shape",isVertical:j,content:"",shapType:b,path:W,pathViewBox:_,keypoints:L};return K&&(t.strokeOnly=!0),t}return{...Y,type:"text",isVertical:j,rotate:u}}async function e8(t,e,r){let a,s,n,i,o,l;a="slideMasterBg"===r?e.masterResObj:"slideLayoutBg"===r?e.layoutResObj:e.slideResObj;let h=eW(q(t,["p:nvPicPr","p:cNvPr"]),e),u=t.attrs.order,c=t["p:blipFill"]["a:blip"].attrs["r:embed"];if(!c||!a[c])return null;let f=a[c].target,d=t["p:spPr"]["a:xfrm"];if(!d){let r=q(t,["p:nvPicPr","p:nvPr","p:ph","attrs","idx"]);r&&(d=q(e.slideLayoutTables,["idxTable",r,"p:spPr","a:xfrm"]))}let{top:m,left:p}=tT(d,void 0,void 0),{width:$,height:b}=tF(d,void 0,void 0),g=await tn(f,e),L=N(q(d,["attrs","flipV"])),y=N(q(d,["attrs","flipH"])),v=0,M=q(t,["p:spPr","a:xfrm","attrs","rot"]);M&&(v=H(M));let w=q(t,["p:nvPicPr","p:nvPr","a:videoFile"]),_={ref:"",blob:""},k=!1;if(w){var x;(x=s=a[w.attrs["r:link"]].target,/^(https?|ftp):\/\/([a-zA-Z0-9.-]+(:[a-zA-Z0-9.&%$-]+)*@)*((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,})(:[0-9]+)*(\/($|[a-zA-Z0-9.,?'\\+&%$#=~_-]+))*$/.test(x))?(s=Y(s),k=!0):_="mp4"===(n=G(s).toLowerCase())||"webm"===n||"ogg"===n?await ti(s,e):{ref:s,blob:""},k&&(_={ref:s,blob:""})}let C=q(t,["p:nvPicPr","p:nvPr","a:audioFile"]),S={ref:"",blob:""};if(C&&(S="mp3"===(o=G(i=a[C.attrs["r:link"]].target).toLowerCase())||"wav"===o||"ogg"===o?await to(i,e):{ref:i,blob:""}),w&&!k||w&&k)return{type:"video",top:m,left:p,width:$,height:b,rotate:v,ref:_.ref,blob:_.blob,order:u};if(C)return{type:"audio",top:m,left:p,width:$,height:b,rotate:v,ref:S.ref,blob:S.blob,order:u};let I=q(t,["p:blipFill","a:srcRect","attrs"]);I&&(I.t||I.b||I.l||I.r)&&(l={},I.t&&(l.t=I.t/1e3),I.b&&(l.b=I.b/1e3),I.l&&(l.l=I.l/1e3),I.r&&(l.r=I.r/1e3));let A=q(t,["p:spPr","a:prstGeom","attrs","prst"]),P=q(t,["p:spPr","a:custGeom"]),{borderColor:R,borderWidth:z,borderType:T,strokeDasharray:F}=ty(t,void 0,e),O=function(t){if(!t)return null;let e=t["a:blip"];if(!e)return null;let r={},a=e["a:extLst"];if(a&&a["a:ext"])for(let t of Array.isArray(a["a:ext"])?a["a:ext"]:[a["a:ext"]]){if(!t["a14:imgProps"]||!t["a14:imgProps"]["a14:imgLayer"])continue;let e=t["a14:imgProps"]["a14:imgLayer"]["a14:imgEffect"];if(e)for(let t of Array.isArray(e)?e:[e]){if(t["a14:saturation"]){let e=q(t,["a14:saturation","attrs","sat"]);e&&(r.saturation=parseInt(e)/1e5)}if(t["a14:brightnessContrast"]){let e=q(t,["a14:brightnessContrast","attrs","bright"]),a=q(t,["a14:brightnessContrast","attrs","contrast"]);e&&(r.brightness=parseInt(e)/1e5),a&&(r.contrast=parseInt(a)/1e5)}if(t["a14:sharpenSoften"]){let e=q(t,["a14:sharpenSoften","attrs","amount"]);if(e){let t=parseInt(e)/1e5;t>0?r.sharpen=t:r.soften=Math.abs(t)}}if(t["a14:colorTemperature"]){let e=q(t,["a14:colorTemperature","attrs","colorTemp"]);e&&(r.colorTemperature=parseInt(e))}}}return Object.keys(r).length>0?r:null}(t["p:blipFill"]),B=th(t["p:blipFill"]);if(A||P){let e,r;if(P){let t=function(t){var e,r,a;let s,n=t["a:pathLst"];if(!n||!n["a:path"])return"custom";let i=n["a:path"],o=parseInt(i.attrs?.w)||0,l=parseInt(i.attrs?.h)||0,h=function(t){let e=[];if(t["a:moveTo"]){let r=t["a:moveTo"]["a:pt"];r&&e.push({type:"moveTo",points:[{x:parseInt(r.attrs?.x)||0,y:parseInt(r.attrs?.y)||0}]})}return eL(t["a:lnTo"]).forEach(t=>{let r=t["a:pt"];r&&e.push({type:"lineTo",points:[{x:parseInt(r.attrs?.x)||0,y:parseInt(r.attrs?.y)||0}]})}),eL(t["a:cubicBezTo"]).forEach(t=>{let r=eL(t["a:pt"]).map(t=>({x:parseInt(t.attrs?.x)||0,y:parseInt(t.attrs?.y)||0}));3===r.length&&e.push({type:"cubicBezTo",points:r})}),eL(t["a:arcTo"]).forEach(t=>{e.push({type:"arcTo",wR:parseInt(t.attrs?.wR)||0,hR:parseInt(t.attrs?.hR)||0,stAng:parseInt(t.attrs?.stAng)||0,swAng:parseInt(t.attrs?.swAng)||0})}),eL(t["a:quadBezTo"]).forEach(t=>{let r=eL(t["a:pt"]).map(t=>({x:parseInt(t.attrs?.x)||0,y:parseInt(t.attrs?.y)||0}));e.push({type:"quadBezTo",points:r})}),t["a:close"]&&e.push({type:"close"}),e}(i);return 0===h.length?"custom":function(t){let{lineCount:e,curveCount:r,isClosed:a,vertices:s,hasCurves:n,isCircular:i,pathWidth:o,pathHeight:l}=t;if(i||t.arcCount>=2&&a&&0===e)return"ellipse";if(!n&&a&&s.length>=3){let t;var h=s;let e=(t=[],h.forEach(e=>{t.some(t=>100>Math.abs(t.x-e.x)&&100>Math.abs(t.y-e.y))||t.push(e)}),t),r=e.length;switch(r){case 3:return"triangle";case 4:return function(t){var e,r,a;let s,n,i,o,l,h,u,c,f,d,m,p;if(4!==t.length)return"custom";let $=[];for(let e=0;e<4;e++){let r=t[e],a=t[(e+1)%4];$.push({dx:a.x-r.x,dy:a.y-r.y,length:Math.sqrt((a.x-r.x)**2+(a.y-r.y)**2)})}return!function(t){let e=Math.abs(t[0].length-t[2].length)/Math.max(t[0].length,t[2].length)<.1,r=Math.abs(t[1].length-t[3].length)/Math.max(t[1].length,t[3].length)<.1;if(!e||!r)return!1;for(let e=0;e<4;e++){let r=t[e],a=t[(e+1)%4];if(Math.abs((r.dx*a.dx+r.dy*a.dy)/(r.length*a.length))>.1)return!1}return!0}($)?(s=(e=$).reduce((t,e)=>t+e.length,0)/4,e.every(t=>Math.abs(t.length-s)/s<.1))?"rhombus":(n=0!==(r=$)[0].dx?r[0].dy/r[0].dx:1/0,i=0!==r[2].dx?r[2].dy/r[2].dx:1/0,o=0!==r[1].dx?r[1].dy/r[1].dx:1/0,h=.15>Math.abs(o-(l=0!==r[3].dx?r[3].dy/r[3].dx:1/0))||Math.abs(o)>1e3&&Math.abs(l)>1e3,(.15>Math.abs(n-i)||Math.abs(n)>1e3&&Math.abs(i)>1e3)&&h)?"parallelogram":(u=0!==(a=$)[0].dx?a[0].dy/a[0].dx:1/0,c=0!==a[2].dx?a[2].dy/a[2].dx:1/0,f=0!==a[1].dx?a[1].dy/a[1].dx:1/0,d=0!==a[3].dx?a[3].dy/a[3].dx:1/0,m=.15>Math.abs(u-c)||Math.abs(u)>1e3&&Math.abs(c)>1e3,p=.15>Math.abs(f-d)||Math.abs(f)>1e3&&Math.abs(d)>1e3,m&&!p||!m&&p)?"trapezoid":"custom":"roundRect"}(e);case 5:return"pentagon";case 6:return"hexagon";case 7:return"heptagon";case 8:return"octagon";default:if(r>8)return"ellipse";return"custom"}}if(4===e&&4===r&&a)return"roundRect";if(e>=3&&r>0&&r<=e&&a){let t=function(t){switch(t){case 3:return"triangle";case 4:return"rectangle";case 5:return"pentagon";case 6:return"hexagon";case 7:return"heptagon";case 8:return"octagon";default:return"custom"}}(e);if("custom"!==t)return"rectangle"===t?"roundRect":t}return"custom"}((e=h,r=o,s={lineCount:0,curveCount:0,arcCount:0,isClosed:!1,vertices:[],aspectRatio:0!==(a=l)?r/a:1,pathWidth:r,pathHeight:a,hasCurves:!1,isCircular:!1,commands:e},e.forEach(t=>{switch(t.type){case"moveTo":s.vertices.push(t.points[0]);break;case"lineTo":s.lineCount++,s.vertices.push(t.points[0]);break;case"cubicBezTo":s.curveCount++,s.hasCurves=!0,3===t.points.length&&s.vertices.push(t.points[2]);break;case"quadBezTo":s.curveCount++,s.hasCurves=!0,t.points.length>=2&&s.vertices.push(t.points[t.points.length-1]);break;case"arcTo":s.arcCount++,s.hasCurves=!0;break;case"close":s.isClosed=!0}}),4===s.curveCount&&0===s.lineCount&&s.isClosed&&(s.isCircular=function(t,e,r){let a=t.filter(t=>"cubicBezTo"===t.type);if(4!==a.length)return!1;let s=a.map(t=>t.points[2]),n=s.some(t=>Math.abs(t.y)<.1*r),i=s.some(t=>Math.abs(t.y-r)<.1*r),o=s.some(t=>Math.abs(t.x)<.1*e),l=s.some(t=>Math.abs(t.x-e)<.1*e);return(n||i)&&(o||l)}(e,r,a)),s))}(P);e="custom"!==t?`custom:${t}`:"custom",r=eg(P,$,b)}else e=A,r=ek(A,$,b,t)||"";let a={type:"shape",shapType:e,path:r,top:m,left:p,width:$,height:b,rotate:v,isFlipV:L,isFlipH:y,order:u,fill:{type:"image",value:{ref:g.ref,base64:g.base64,blob:g.blob,opacity:B,rect:l}},content:"",borderColor:R,borderWidth:z,borderType:T,borderStrokeDasharray:F};return O&&(a.filters=O),h&&(a.link=h),a}let E={type:"image",top:m,left:p,width:$,height:b,rotate:v,ref:g.ref,base64:g.base64,blob:g.blob,isFlipV:L,isFlipH:y,order:u,rect:l,geom:"rect",borderColor:R,borderWidth:z,borderType:T,borderStrokeDasharray:F,opacity:B};return O&&(E.filters=O),h&&(E.link=h),E}async function e5(t,e,r){let a;switch(q(t,["a:graphic","a:graphicData","attrs","uri"])){case"http://schemas.openxmlformats.org/drawingml/2006/table":a=await e3(t,e);break;case"http://schemas.openxmlformats.org/drawingml/2006/chart":a=await e6(t,e);break;case"http://schemas.openxmlformats.org/drawingml/2006/diagram":a=await e4(t,e);break;case"http://schemas.openxmlformats.org/presentationml/2006/ole":let s=q(t,["a:graphic","a:graphicData","mc:AlternateContent","mc:Fallback","p:oleObj"]);s||(s=q(t,["a:graphic","a:graphicData","p:oleObj"])),s&&(a=await eJ(s,e,r))}return a}async function e3(t,e){let r,a,s=t.attrs.order,n=q(t,["a:graphic","a:graphicData","a:tbl"]),i=q(t,["p:xfrm"]),{top:o,left:l}=tT(i,void 0,void 0),{width:h,height:u}=tF(i,void 0,void 0),c=q(t,["a:graphic","a:graphicData","a:tbl","a:tblPr"]),f=q(t,["a:graphic","a:graphicData","a:tbl","a:tblGrid","a:gridCol"]);f.constructor!==Array&&(f=[f]);let d=[];if(f)for(let t of f){let e=parseInt(q(t,["attrs","w"])||0)*t_;d.push(e)}let m=c.attrs?c.attrs.firstRow:void 0,p=c.attrs?c.attrs.firstCol:void 0,$=c.attrs?c.attrs.lastRow:void 0,b=c.attrs?c.attrs.lastCol:void 0,g=c.attrs?c.attrs.bandRow:void 0,L=c.attrs?c.attrs.bandCol:void 0,y={isFrstRowAttr:+!!N(m),isFrstColAttr:+!!N(p),isLstRowAttr:+!!N($),isLstColAttr:+!!N(b),isBandRowAttr:+!!N(g),isBandColAttr:+!!N(L)},v=c["a:tableStyleId"];if(v){let t=e.tableStyles["a:tblStyleLst"]["a:tblStyle"];if(t)if(t.constructor===Array)for(let e=0;e<t.length;e++)t[e].attrs.styleId===v&&(r=t[e]);else t.attrs.styleId===v&&(r=t)}r&&(r.tblStylAttrObj=y);let M={},w=q(r,["a:wholeTbl","a:tcStyle"]),_=q(w,["a:tcBdr"]);_&&(a={},_["a:bottom"]&&(a.bottom=ty({"p:spPr":{"a:ln":_["a:bottom"]["a:ln"]}},void 0,e)),_["a:top"]&&(a.top=ty({"p:spPr":{"a:ln":_["a:top"]["a:ln"]}},void 0,e)),_["a:right"]&&(a.right=ty({"p:spPr":{"a:ln":_["a:right"]["a:ln"]}},void 0,e)),_["a:left"]&&(a.left=ty({"p:spPr":{"a:ln":_["a:left"]["a:ln"]}},void 0,e)),M=a);let k="",x=q(r,["a:tblBg","a:fillRef"]);x&&(k=tg(x,void 0,void 0,e)),void 0===x&&(k=tg(x=q(r,["a:wholeTbl","a:tcStyle","a:fill","a:solidFill"]),void 0,void 0,e));let C=n["a:tr"];C.constructor!==Array&&(C=[C]);let S=[],I=[];for(let t=0;t<C.length;t++){let a=C[t],s=parseInt(q(C[t],["attrs","h"])||0)*t_;I.push(s);let{fillColor:n,fontColor:i,fontBold:o}=function(t,e,r,a,s){let n,i,o;if(a&&a["a:wholeTbl"]){let t=q(a,["a:wholeTbl","a:tcStyle","a:fill","a:solidFill"]);if(t){let e=tg(t,void 0,void 0,s);e&&(n=e)}let e=q(a,["a:wholeTbl","a:tcTxStyle"]);if(e){let t=eM(e,s);t&&(i=t),"on"===q(e,["attrs","b"])&&(o=!0)}}if(0===e&&1===r.isFrstRowAttr&&a){let t=q(a,["a:firstRow","a:tcStyle","a:fill","a:solidFill"]);if(t){let e=tg(t,void 0,void 0,s);e&&(n=e)}let e=q(a,["a:firstRow","a:tcTxStyle"]);if(e){let t=eM(e,s);t&&(i=t),"on"===q(e,["attrs","b"])&&(o=!0)}}else if(e>0&&1===r.isBandRowAttr&&a){if(n="",e%2==0&&a["a:band2H"]){let t=q(a,["a:band2H","a:tcStyle","a:fill","a:solidFill"]);if(t){let e=tg(t,void 0,void 0,s);e&&(n=e)}let e=q(a,["a:band2H","a:tcTxStyle"]);if(e){let t=eM(e,s);t&&(i=t)}"on"===q(e,["attrs","b"])&&(o=!0)}if(e%2!=0&&a["a:band1H"]){let t=q(a,["a:band1H","a:tcStyle","a:fill","a:solidFill"]);if(t){let e=tg(t,void 0,void 0,s);e&&(n=e)}let e=q(a,["a:band1H","a:tcTxStyle"]);if(e){let t=eM(e,s);t&&(i=t),"on"===q(e,["attrs","b"])&&(o=!0)}}}if(e===t.length-1&&1===r.isLstRowAttr&&a){let t=q(a,["a:lastRow","a:tcStyle","a:fill","a:solidFill"]);if(t){let e=tg(t,void 0,void 0,s);e&&(n=e)}let e=q(a,["a:lastRow","a:tcTxStyle"]);if(e){let t=eM(e,s);t&&(i=t),"on"===q(e,["attrs","b"])&&(o=!0)}}return{fillColor:n,fontColor:i,fontBold:o}}(C,t,y,r,e),l=a["a:tc"],h=[];if(l.constructor===Array)for(let a=0;a<l.length;a++){let s,u=l[a];if(0===a&&1===y.isFrstColAttr)s="a:firstCol",1===y.isLstRowAttr&&t===C.length-1&&q(r,["a:seCell"])?s="a:seCell":1===y.isFrstRowAttr&&0===t&&q(r,["a:neCell"])&&(s="a:neCell");else if(a>0&&1===y.isBandColAttr&&(1!==y.isFrstColAttr||0!==t)&&(1!==y.isLstRowAttr||t!==C.length-1)&&a!==l.length-1&&a%2!=0){let t=q(r,["a:band2V"]);void 0===t?(t=q(r,["a:band1V"]))&&(s="a:band2V"):s="a:band2V"}a===l.length-1&&1===y.isLstColAttr&&(s="a:lastCol",1===y.isLstRowAttr&&t===C.length-1&&q(r,["a:swCell"])?s="a:swCell":1===y.isFrstRowAttr&&0===t&&q(r,["a:nwCell"])&&(s="a:nwCell"));let c=e$(u["a:txBody"],u,void 0,void 0,void 0,e),f=await ew(u,r,s,e),d={text:c};f.rowSpan&&(d.rowSpan=f.rowSpan),f.colSpan&&(d.colSpan=f.colSpan),f.vMerge&&(d.vMerge=f.vMerge),f.hMerge&&(d.hMerge=f.hMerge),f.vAlign&&(d.vAlign=f.vAlign),(f.fontBold||o)&&(d.fontBold=f.fontBold||o),(f.fontColor||i)&&(d.fontColor=f.fontColor||i),(f.fillColor||n||k)&&(d.fillColor=f.fillColor||n||k),f.borders&&(d.borders=f.borders),h.push(d)}else{let t;if(1===y.isFrstColAttr&&1!==y.isLstRowAttr)t="a:firstCol";else if(1===y.isBandColAttr&&1!==y.isLstRowAttr){let e=q(r,["a:band2V"]);e?t="a:band2V":(e=q(r,["a:band1V"]))&&(t="a:band2V")}1===y.isLstColAttr&&1!==y.isLstRowAttr&&(t="a:lastCol");let a=e$(l["a:txBody"],l,void 0,void 0,void 0,e),s=await ew(l,r,t,e),u={text:a};s.rowSpan&&(u.rowSpan=s.rowSpan),s.colSpan&&(u.colSpan=s.colSpan),s.vMerge&&(u.vMerge=s.vMerge),s.hMerge&&(u.hMerge=s.hMerge),s.vAlign&&(u.vAlign=s.vAlign),(s.fontBold||o)&&(u.fontBold=s.fontBold||o),(s.fontColor||i)&&(u.fontColor=s.fontColor||i),(s.fillColor||n||k)&&(u.fillColor=s.fillColor||n||k),s.borders&&(u.borders=s.borders),h.push(u)}S.push(h)}let A=d.reduce((t,e)=>t+e,0);return A&&(A=W(A)),{type:"table",top:o,left:l,width:A||h,height:u,data:S,order:s,borders:M,rowHeights:I,colWidths:d}}async function e6(t,e){let r=t.attrs.order,a=q(t,["p:xfrm"]),{top:s,left:n}=tT(a,void 0,void 0),{width:i,height:o}=tF(a,void 0,void 0),l=t["a:graphic"]["a:graphicData"]["c:chart"].attrs["r:id"],u=q(e.slideResObj,[l,"target"]);if(u||(u=q(e.layoutResObj,[l,"target"])),u||(u=q(e.masterResObj,[l,"target"])),!u)return null;let c=function(t,e){let r=null;for(let a in t)if(t[a]["c:ser"])switch(a){case"c:lineChart":r={type:"lineChart",data:tM(t[a]["c:ser"]),colors:tv(t[a]["c:ser"],e),grouping:q(t[a],["c:grouping","attrs","val"]),marker:!!t[a]["c:marker"]};break;case"c:line3DChart":r={type:"line3DChart",data:tM(t[a]["c:ser"]),colors:tv(t[a]["c:ser"],e),grouping:q(t[a],["c:grouping","attrs","val"])};break;case"c:barChart":r={type:"barChart",data:tM(t[a]["c:ser"]),colors:tv(t[a]["c:ser"],e),grouping:q(t[a],["c:grouping","attrs","val"]),barDir:q(t[a],["c:barDir","attrs","val"])};break;case"c:bar3DChart":r={type:"bar3DChart",data:tM(t[a]["c:ser"]),colors:tv(t[a]["c:ser"],e),grouping:q(t[a],["c:grouping","attrs","val"]),barDir:q(t[a],["c:barDir","attrs","val"])};break;case"c:pieChart":r={type:"pieChart",data:tM(t[a]["c:ser"]),colors:tv(t[a]["c:ser"]["c:dPt"],e)};break;case"c:pie3DChart":r={type:"pie3DChart",data:tM(t[a]["c:ser"]),colors:tv(t[a]["c:ser"]["c:dPt"],e)};break;case"c:doughnutChart":r={type:"doughnutChart",data:tM(t[a]["c:ser"]),colors:tv(t[a]["c:ser"]["c:dPt"],e),holeSize:q(t[a],["c:holeSize","attrs","val"])};break;case"c:areaChart":r={type:"areaChart",data:tM(t[a]["c:ser"]),colors:tv(t[a]["c:ser"],e),grouping:q(t[a],["c:grouping","attrs","val"])};break;case"c:area3DChart":r={type:"area3DChart",data:tM(t[a]["c:ser"]),colors:tv(t[a]["c:ser"],e),grouping:q(t[a],["c:grouping","attrs","val"])};break;case"c:scatterChart":r={type:"scatterChart",data:tw(t[a]["c:ser"]),colors:tv(t[a]["c:ser"],e),style:q(t[a],["c:scatterStyle","attrs","val"])};break;case"c:bubbleChart":r={type:"bubbleChart",data:tw(t[a]["c:ser"]),colors:tv(t[a]["c:ser"],e)};break;case"c:radarChart":r={type:"radarChart",data:tM(t[a]["c:ser"]),colors:tv(t[a]["c:ser"],e),style:q(t[a],["c:radarStyle","attrs","val"])};break;case"c:surfaceChart":r={type:"surfaceChart",data:tM(t[a]["c:ser"]),colors:tv(t[a]["c:ser"],e)};break;case"c:surface3DChart":r={type:"surface3DChart",data:tM(t[a]["c:ser"]),colors:tv(t[a]["c:ser"],e)};break;case"c:stockChart":r={type:"stockChart",data:tM(t[a]["c:ser"]),colors:[]}}return r}(q(await h(e.zip,u),["c:chartSpace","c:chart","c:plotArea"]),e);if(!c)return null;let f={type:"chart",top:s,left:n,width:i,height:o,data:c.data,colors:c.colors,chartType:c.type,order:r};return void 0!==c.marker&&(f.marker=c.marker),void 0!==c.barDir&&(f.barDir=c.barDir),void 0!==c.holeSize&&(f.holeSize=c.holeSize),void 0!==c.grouping&&(f.grouping=c.grouping),void 0!==c.style&&(f.style=c.style),f}async function e4(t,e){let r=t.attrs.order,a=q(t,["p:xfrm"]),{left:s,top:n}=tT(a,void 0,void 0),{width:i,height:o}=tF(a,void 0,void 0),l=await eR(t,e),h=q(l.digramFileContent,["p:drawing","p:spTree","p:sp"]),u=[],c=[];if(h)for(let t of Array.isArray(h)?h:[h]){let e=await e0(t,l,"diagramBg");e&&u.push(e)}return l.diagramContent&&l.diagramContent.data&&(c=function(t){let e=[],r=q(t,["dgm:dataModel","dgm:ptLst","dgm:pt"]);if(!r)return e;for(let t of(Array.isArray(r)||(r=[r]),r)){let r=q(t,["dgm:t"]);if(r){let t="",a=q(r,["a:p"]);a&&(Array.isArray(a)||(a=[a]),a.forEach(e=>{let r=q(e,["a:r"]);r&&(Array.isArray(r)||(r=[r]),r.forEach(e=>{let r=ep(q(e,["a:t"]));r&&"string"==typeof r&&(t+=r)})),t.length>0&&(t+="\n")}));let s=t.trim();s&&e.push(s)}}return e}(l.diagramContent.data)),{type:"diagram",left:s,top:n,width:i,height:o,elements:u,textList:c,order:r}}})(),a})());
2
+ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.pptxtojson=e():t.pptxtojson=e()}(globalThis,()=>(()=>{var t={710(t,e,r){t.exports=(function t(e,a,s){function n(o,l){if(!a[o]){if(!e[o]){var h=r(363);if(!l&&h)return h(o,!0);if(i)return i(o,!0);var u=Error("Cannot find module '"+o+"'");throw u.code="MODULE_NOT_FOUND",u}var c=a[o]={exports:{}};e[o][0].call(c.exports,function(t){return n(e[o][1][t]||t)},c,c.exports,t,e,a,s)}return a[o].exports}for(var i=r(363),o=0;o<s.length;o++)n(s[o]);return n})({1:[function(t,e,r){"use strict";var a=t("./utils"),s=t("./support"),n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.encode=function(t){for(var e,r,s,i,o,l,h,u=[],c=0,f=t.length,d=f,m="string"!==a.getTypeOf(t);c<t.length;)d=f-c,s=m?(e=t[c++],r=c<f?t[c++]:0,c<f?t[c++]:0):(e=t.charCodeAt(c++),r=c<f?t.charCodeAt(c++):0,c<f?t.charCodeAt(c++):0),i=e>>2,o=(3&e)<<4|r>>4,l=1<d?(15&r)<<2|s>>6:64,h=2<d?63&s:64,u.push(n.charAt(i)+n.charAt(o)+n.charAt(l)+n.charAt(h));return u.join("")},r.decode=function(t){var e,r,a,i,o,l,h=0,u=0,c="data:";if(t.substr(0,c.length)===c)throw Error("Invalid base64 input, it looks like a data url.");var f,d=3*(t=t.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(t.charAt(t.length-1)===n.charAt(64)&&d--,t.charAt(t.length-2)===n.charAt(64)&&d--,d%1!=0)throw Error("Invalid base64 input, bad content length.");for(f=s.uint8array?new Uint8Array(0|d):Array(0|d);h<t.length;)e=n.indexOf(t.charAt(h++))<<2|(i=n.indexOf(t.charAt(h++)))>>4,r=(15&i)<<4|(o=n.indexOf(t.charAt(h++)))>>2,a=(3&o)<<6|(l=n.indexOf(t.charAt(h++))),f[u++]=e,64!==o&&(f[u++]=r),64!==l&&(f[u++]=a);return f}},{"./support":30,"./utils":32}],2:[function(t,e,r){"use strict";var a=t("./external"),s=t("./stream/DataWorker"),n=t("./stream/Crc32Probe"),i=t("./stream/DataLengthProbe");function o(t,e,r,a,s){this.compressedSize=t,this.uncompressedSize=e,this.crc32=r,this.compression=a,this.compressedContent=s}o.prototype={getContentWorker:function(){var t=new s(a.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 Error("Bug : uncompressed data size mismatch")}),t},getCompressedWorker:function(){return new s(a.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},o.createWorkerFrom=function(t,e,r){return t.pipe(new n).pipe(new i("uncompressedSize")).pipe(e.compressWorker(r)).pipe(new i("compressedSize")).withStreamInfo("compression",e)},e.exports=o},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(t,e,r){"use strict";var a=t("./stream/GenericWorker");r.STORE={magic:"\0\0",compressWorker:function(){return new a("STORE compression")},uncompressWorker:function(){return new a("STORE decompression")}},r.DEFLATE=t("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(t,e,r){"use strict";var a=t("./utils"),s=function(){for(var t,e=[],r=0;r<256;r++){t=r;for(var a=0;a<8;a++)t=1&t?0xedb88320^t>>>1:t>>>1;e[r]=t}return e}();e.exports=function(t,e){return void 0!==t&&t.length?"string"!==a.getTypeOf(t)?function(t,e,r){var a=0+r;t^=-1;for(var n=0;n<a;n++)t=t>>>8^s[255&(t^e[n])];return -1^t}(0|e,t,t.length):function(t,e,r){var a=0+r;t^=-1;for(var n=0;n<a;n++)t=t>>>8^s[255&(t^e.charCodeAt(n))];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";e.exports={Promise:"u">typeof Promise?Promise:t("lie")}},{lie:37}],7:[function(t,e,r){"use strict";var a="u">typeof Uint8Array&&"u">typeof Uint16Array&&"u">typeof Uint32Array,s=t("pako"),n=t("./utils"),i=t("./stream/GenericWorker"),o=a?"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",n.inherits(l,i),l.prototype.processChunk=function(t){this.meta=t.meta,null===this._pako&&this._createPako(),this._pako.push(n.transformTo(o,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 s[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var t=this;this._pako.onData=function(e){t.push({data:e,meta:t.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 a(t,e){var r,a="";for(r=0;r<e;r++)a+=String.fromCharCode(255&t),t>>>=8;return a}function s(t,e,r,s,i,u){var c,f,d,m,p=t.file,$=t.compression,b=u!==o.utf8encode,g=n.transformTo("string",u(p.name)),L=n.transformTo("string",o.utf8encode(p.name)),y=p.comment,v=n.transformTo("string",u(y)),M=n.transformTo("string",o.utf8encode(y)),_=L.length!==p.name.length,w=M.length!==y.length,k="",x="",C="",S=p.dir,I=p.date,A={crc32:0,compressedSize:0,uncompressedSize:0};e&&!r||(A.crc32=t.crc32,A.compressedSize=t.compressedSize,A.uncompressedSize=t.uncompressedSize);var P=0;e&&(P|=8),!b&&(_||w)&&(P|=2048);var R=0,E=0;S&&(R|=16),"UNIX"===i?(E=798,R|=(c=p.unixPermissions,f=c,c||(f=S?16893:33204),(65535&f)<<16)):(E=20,R|=63&(p.dosPermissions||0)),d=(I.getUTCHours()<<6|I.getUTCMinutes())<<5|I.getUTCSeconds()/2,m=(I.getUTCFullYear()-1980<<4|I.getUTCMonth()+1)<<5|I.getUTCDate(),_&&(x=a(1,1)+a(l(g),4)+L,k+="up"+a(x.length,2)+x),w&&(C=a(1,1)+a(l(v),4)+M,k+="uc"+a(C.length,2)+C);var z="";return z+="\n\0",z+=a(P,2),z+=$.magic,z+=a(d,2),z+=a(m,2),z+=a(A.crc32,4),z+=a(A.compressedSize,4),z+=a(A.uncompressedSize,4),z+=a(g.length,2),z+=a(k.length,2),{fileRecord:h.LOCAL_FILE_HEADER+z+g+k,dirRecord:h.CENTRAL_FILE_HEADER+a(E,2)+z+a(v.length,2)+"\0\0\0\0"+a(R,4)+a(s,4)+g+k+v}}var n=t("../utils"),i=t("../stream/GenericWorker"),o=t("../utf8"),l=t("../crc32"),h=t("../signature");function u(t,e,r,a){i.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=e,this.zipPlatform=r,this.encodeFileName=a,this.streamFiles=t,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}n.inherits(u,i),u.prototype.push=function(t){var e=t.meta.percent||0,r=this.entriesCount,a=this._sources.length;this.accumulate?this.contentBuffer.push(t):(this.bytesWritten+=t.data.length,i.prototype.push.call(this,{data:t.data,meta:{currentFile:this.currentFile,percent:r?(e+100*(r-a-1))/r:100}}))},u.prototype.openedSource=function(t){this.currentSourceOffset=this.bytesWritten,this.currentFile=t.file.name;var e=this.streamFiles&&!t.file.dir;if(e){var r=s(t,e,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},u.prototype.closedSource=function(t){this.accumulate=!1;var e=this.streamFiles&&!t.file.dir,r=s(t,e,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),e)this.push({data:h.DATA_DESCRIPTOR+a(t.crc32,4)+a(t.compressedSize,4)+a(t.uncompressedSize,4),meta:{percent:100}});else for(this.push({data:r.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},u.prototype.flush=function(){for(var t,e,r,s,i=this.bytesWritten,o=0;o<this.dirRecords.length;o++)this.push({data:this.dirRecords[o],meta:{percent:100}});var l=this.bytesWritten-i,u=(t=this.dirRecords.length,e=this.zipComment,r=this.encodeFileName,s=n.transformTo("string",r(e)),h.CENTRAL_DIRECTORY_END+"\0\0\0\0"+a(t,2)+a(t,2)+a(l,4)+a(i,4)+a(s.length,2)+s);this.push({data:u,meta:{percent:100}})},u.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},u.prototype.registerPrevious=function(t){this._sources.push(t);var e=this;return t.on("data",function(t){e.processChunk(t)}),t.on("end",function(){e.closedSource(e.previous.streamInfo),e._sources.length?e.prepareNextSource():e.end()}),t.on("error",function(t){e.error(t)}),this},u.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},u.prototype.error=function(t){var e=this._sources;if(!i.prototype.error.call(this,t))return!1;for(var r=0;r<e.length;r++)try{e[r].error(t)}catch(t){}return!0},u.prototype.lock=function(){i.prototype.lock.call(this);for(var t=this._sources,e=0;e<t.length;e++)t[e].lock()},e.exports=u},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(t,e,r){"use strict";var a=t("../compressions"),s=t("./ZipFileWorker");r.generateWorker=function(t,e,r){var n=new s(e.streamFiles,r,e.platform,e.encodeFileName),i=0;try{t.forEach(function(t,r){i++;var s=function(t,e){var r=t||e,s=a[r];if(!s)throw Error(r+" is not a valid compression method !");return s}(r.options.compression,e.compression),o=r.options.compressionOptions||e.compressionOptions||{},l=r.dir,h=r.date;r._compressWorker(s,o).withStreamInfo("file",{name:t,dir:l,date:h,comment:r.comment||"",unixPermissions:r.unixPermissions,dosPermissions:r.dosPermissions}).pipe(n)}),n.entriesCount=i}catch(t){n.error(t)}return n}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(t,e,r){"use strict";function a(){if(!(this instanceof a))return new a;if(arguments.length)throw Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var t=new a;for(var e in this)"function"!=typeof this[e]&&(t[e]=this[e]);return t}}(a.prototype=t("./object")).loadAsync=t("./load"),a.support=t("./support"),a.defaults=t("./defaults"),a.version="3.10.1",a.loadAsync=function(t,e){return(new a).loadAsync(t,e)},a.external=t("./external"),e.exports=a},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(t,e,r){"use strict";var a=t("./utils"),s=t("./external"),n=t("./utf8"),i=t("./zipEntries"),o=t("./stream/Crc32Probe"),l=t("./nodejsUtils");e.exports=function(t,e){var r=this;return e=a.extend(e||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:n.utf8decode}),l.isNode&&l.isStream(t)?s.Promise.reject(Error("JSZip can't accept a stream when loading a zip file.")):a.prepareContent("the loaded zip file",t,!0,e.optimizedBinaryString,e.base64).then(function(t){var r=new i(e);return r.load(t),r}).then(function(t){var r=[s.Promise.resolve(t)],a=t.files;if(e.checkCRC32)for(var n=0;n<a.length;n++)r.push(function(t){return new s.Promise(function(e,r){var a=t.decompressed.getContentWorker().pipe(new o);a.on("error",function(t){r(t)}).on("end",function(){a.streamInfo.crc32!==t.decompressed.crc32?r(Error("Corrupted zip : CRC32 mismatch")):e()}).resume()})}(a[n]));return s.Promise.all(r)}).then(function(t){for(var s=t.shift(),n=s.files,i=0;i<n.length;i++){var o=n[i],l=o.fileNameStr,h=a.resolve(o.fileNameStr);r.file(h,o.decompressed,{binary:!0,optimizedBinaryString:!0,date:o.date,dir:o.dir,comment:o.fileCommentStr.length?o.fileCommentStr:null,unixPermissions:o.unixPermissions,dosPermissions:o.dosPermissions,createFolders:e.createFolders}),o.dir||(r.file(h).unsafeOriginalName=l)}return s.zipComment.length&&(r.comment=s.zipComment),r})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(t,e,r){"use strict";var a=t("../utils"),s=t("../stream/GenericWorker");function n(t,e){s.call(this,"Nodejs stream input adapter for "+t),this._upstreamEnded=!1,this._bindStream(e)}a.inherits(n,s),n.prototype._bindStream=function(t){var e=this;(this._stream=t).pause(),t.on("data",function(t){e.push({data:t,meta:{percent:0}})}).on("error",function(t){e.isPaused?this.generatedError=t:e.error(t)}).on("end",function(){e.isPaused?e._upstreamEnded=!0:e.end()})},n.prototype.pause=function(){return!!s.prototype.pause.call(this)&&(this._stream.pause(),!0)},n.prototype.resume=function(){return!!s.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},e.exports=n},{"../stream/GenericWorker":28,"../utils":32}],13:[function(t,e,r){"use strict";var a=t("readable-stream").Readable;function s(t,e,r){a.call(this,e),this._helper=t;var s=this;t.on("data",function(t,e){s.push(t)||s._helper.pause(),r&&r(e)}).on("error",function(t){s.emit("error",t)}).on("end",function(){s.push(null)})}t("../utils").inherits(s,a),s.prototype._read=function(){this._helper.resume()},e.exports=s},{"../utils":32,"readable-stream":16}],14:[function(t,e,r){"use strict";e.exports={isNode:"u">typeof Buffer,newBufferFrom:function(t,e){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(t,e);if("number"==typeof t)throw Error('The "data" argument must not be a number');return new Buffer(t,e)},allocBuffer:function(t){if(Buffer.alloc)return Buffer.alloc(t);var e=new Buffer(t);return e.fill(0),e},isBuffer:function(t){return Buffer.isBuffer(t)},isStream:function(t){return t&&"function"==typeof t.on&&"function"==typeof t.pause&&"function"==typeof t.resume}}},{}],15:[function(t,e,r){"use strict";function a(t,e,r){var a,s=n.getTypeOf(e),o=n.extend(r||{},l);o.date=o.date||new Date,null!==o.compression&&(o.compression=o.compression.toUpperCase()),"string"==typeof o.unixPermissions&&(o.unixPermissions=parseInt(o.unixPermissions,8)),o.unixPermissions&&16384&o.unixPermissions&&(o.dir=!0),o.dosPermissions&&16&o.dosPermissions&&(o.dir=!0),o.dir&&(t=p(t)),o.createFolders&&(a=m(t))&&$.call(this,a,!0);var c="string"===s&&!1===o.binary&&!1===o.base64;r&&void 0!==r.binary||(o.binary=!c),(e instanceof h&&0===e.uncompressedSize||o.dir||!e||0===e.length)&&(o.base64=!1,o.binary=!0,e="",o.compression="STORE",s="string");var b=null;b=e instanceof h||e instanceof i?e:f.isNode&&f.isStream(e)?new d(t,e):n.prepareContent(t,e,o.binary,o.optimizedBinaryString,o.base64);var g=new u(t,b,o);this.files[t]=g}var s=t("./utf8"),n=t("./utils"),i=t("./stream/GenericWorker"),o=t("./stream/StreamHelper"),l=t("./defaults"),h=t("./compressedObject"),u=t("./zipObject"),c=t("./generate"),f=t("./nodejsUtils"),d=t("./nodejs/NodejsStreamInputAdapter"),m=function(t){"/"===t.slice(-1)&&(t=t.substring(0,t.length-1));var e=t.lastIndexOf("/");return 0<e?t.substring(0,e):""},p=function(t){return"/"!==t.slice(-1)&&(t+="/"),t},$=function(t,e){return e=void 0!==e?e:l.createFolders,t=p(t),this.files[t]||a.call(this,t,null,{dir:!0,createFolders:e}),this.files[t]};function b(t){return"[object RegExp]"===Object.prototype.toString.call(t)}e.exports={load:function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(t){var e,r,a;for(e in this.files)a=this.files[e],(r=e.slice(this.root.length,e.length))&&e.slice(0,this.root.length)===this.root&&t(r,a)},filter:function(t){var e=[];return this.forEach(function(r,a){t(r,a)&&e.push(a)}),e},file:function(t,e,r){if(1!=arguments.length)return t=this.root+t,a.call(this,t,e,r),this;if(b(t)){var s=t;return this.filter(function(t,e){return!e.dir&&s.test(t)})}var n=this.files[this.root+t];return n&&!n.dir?n:null},folder:function(t){if(!t)return this;if(b(t))return this.filter(function(e,r){return r.dir&&t.test(e)});var e=this.root+t,r=$.call(this,e),a=this.clone();return a.root=r.name,a},remove:function(t){t=this.root+t;var e=this.files[t];if(e||("/"!==t.slice(-1)&&(t+="/"),e=this.files[t]),e&&!e.dir)delete this.files[t];else for(var r=this.filter(function(e,r){return r.name.slice(0,t.length)===t}),a=0;a<r.length;a++)delete this.files[r[a].name];return this},generate:function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(t){var e,r={};try{if((r=n.extend(t||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:s.utf8encode})).type=r.type.toLowerCase(),r.compression=r.compression.toUpperCase(),"binarystring"===r.type&&(r.type="string"),!r.type)throw Error("No output type specified.");n.checkSupport(r.type),"darwin"!==r.platform&&"freebsd"!==r.platform&&"linux"!==r.platform&&"sunos"!==r.platform||(r.platform="UNIX"),"win32"===r.platform&&(r.platform="DOS");var a=r.comment||this.comment||"";e=c.generateWorker(this,r,a)}catch(t){(e=new i("error")).error(t)}return new o(e,r.type||"string",r.mimeType)},generateAsync:function(t,e){return this.generateInternalStream(t).accumulate(e)},generateNodeStream:function(t,e){return(t=t||{}).type||(t.type="nodebuffer"),this.generateInternalStream(t).toNodejsStream(e)}}},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(t,e,r){"use strict";e.exports=t("stream")},{stream:void 0}],17:[function(t,e,r){"use strict";var a=t("./DataReader");function s(t){a.call(this,t);for(var e=0;e<this.data.length;e++)t[e]=255&t[e]}t("../utils").inherits(s,a),s.prototype.byteAt=function(t){return this.data[this.zero+t]},s.prototype.lastIndexOfSignature=function(t){for(var e=t.charCodeAt(0),r=t.charCodeAt(1),a=t.charCodeAt(2),s=t.charCodeAt(3),n=this.length-4;0<=n;--n)if(this.data[n]===e&&this.data[n+1]===r&&this.data[n+2]===a&&this.data[n+3]===s)return n-this.zero;return -1},s.prototype.readAndCheckSignature=function(t){var e=t.charCodeAt(0),r=t.charCodeAt(1),a=t.charCodeAt(2),s=t.charCodeAt(3),n=this.readData(4);return e===n[0]&&r===n[1]&&a===n[2]&&s===n[3]},s.prototype.readData=function(t){if(this.checkOffset(t),0===t)return[];var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=s},{"../utils":32,"./DataReader":18}],18:[function(t,e,r){"use strict";var a=t("../utils");function s(t){this.data=t,this.length=t.length,this.index=0,this.zero=0}s.prototype={checkOffset:function(t){this.checkIndex(this.index+t)},checkIndex:function(t){if(this.length<this.zero+t||t<0)throw Error("End of data reached (data length = "+this.length+", asked index = "+t+"). Corrupted zip ?")},setIndex:function(t){this.checkIndex(t),this.index=t},skip:function(t){this.setIndex(this.index+t)},byteAt:function(){},readInt:function(t){var e,r=0;for(this.checkOffset(t),e=this.index+t-1;e>=this.index;e--)r=(r<<8)+this.byteAt(e);return this.index+=t,r},readString:function(t){return a.transformTo("string",this.readData(t))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},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=s},{"../utils":32}],19:[function(t,e,r){"use strict";var a=t("./Uint8ArrayReader");function s(t){a.call(this,t)}t("../utils").inherits(s,a),s.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=s},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(t,e,r){"use strict";var a=t("./DataReader");function s(t){a.call(this,t)}t("../utils").inherits(s,a),s.prototype.byteAt=function(t){return this.data.charCodeAt(this.zero+t)},s.prototype.lastIndexOfSignature=function(t){return this.data.lastIndexOf(t)-this.zero},s.prototype.readAndCheckSignature=function(t){return t===this.readData(4)},s.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=s},{"../utils":32,"./DataReader":18}],21:[function(t,e,r){"use strict";var a=t("./ArrayReader");function s(t){a.call(this,t)}t("../utils").inherits(s,a),s.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=s},{"../utils":32,"./ArrayReader":17}],22:[function(t,e,r){"use strict";var a=t("../utils"),s=t("../support"),n=t("./ArrayReader"),i=t("./StringReader"),o=t("./NodeBufferReader"),l=t("./Uint8ArrayReader");e.exports=function(t){var e=a.getTypeOf(t);return a.checkSupport(e),"string"!==e||s.uint8array?"nodebuffer"===e?new o(t):s.uint8array?new l(a.transformTo("uint8array",t)):new n(a.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\x03\x04",r.CENTRAL_FILE_HEADER="PK\x01\x02",r.CENTRAL_DIRECTORY_END="PK\x05\x06",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x06\x07",r.ZIP64_CENTRAL_DIRECTORY_END="PK\x06\x06",r.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(t,e,r){"use strict";var a=t("./GenericWorker"),s=t("../utils");function n(t){a.call(this,"ConvertWorker to "+t),this.destType=t}s.inherits(n,a),n.prototype.processChunk=function(t){this.push({data:s.transformTo(this.destType,t.data),meta:t.meta})},e.exports=n},{"../utils":32,"./GenericWorker":28}],25:[function(t,e,r){"use strict";var a=t("./GenericWorker"),s=t("../crc32");function n(){a.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}t("../utils").inherits(n,a),n.prototype.processChunk=function(t){this.streamInfo.crc32=s(t.data,this.streamInfo.crc32||0),this.push(t)},e.exports=n},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(t,e,r){"use strict";var a=t("../utils"),s=t("./GenericWorker");function n(t){s.call(this,"DataLengthProbe for "+t),this.propName=t,this.withStreamInfo(t,0)}a.inherits(n,s),n.prototype.processChunk=function(t){if(t){var e=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=e+t.data.length}s.prototype.processChunk.call(this,t)},e.exports=n},{"../utils":32,"./GenericWorker":28}],27:[function(t,e,r){"use strict";var a=t("../utils"),s=t("./GenericWorker");function n(t){s.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=a.getTypeOf(t),e.isPaused||e._tickAndRepeat()},function(t){e.error(t)})}a.inherits(n,s),n.prototype.cleanUp=function(){s.prototype.cleanUp.call(this),this.data=null},n.prototype.resume=function(){return!!s.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,a.delay(this._tickAndRepeat,[],this)),!0)},n.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(a.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},n.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=n},{"../utils":32,"./GenericWorker":28}],28:[function(t,e,r){"use strict";function a(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}a.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<this._listeners[t].length;r++)this._listeners[t][r].call(this,e)},pipe:function(t){return t.registerPrevious(this)},registerPrevious:function(t){if(this.isLocked)throw Error("The stream '"+this+"' has already been used.");this.streamInfo=t.streamInfo,this.mergeStreamInfo(),this.previous=t;var e=this;return t.on("data",function(t){e.processChunk(t)}),t.on("end",function(){e.end()}),t.on("error",function(t){e.error(t)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var t=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),t=!0),this.previous&&this.previous.resume(),!t},flush:function(){},processChunk:function(t){this.push(t)},withStreamInfo:function(t,e){return this.extraStreamInfo[t]=e,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var t in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,t)&&(this.streamInfo[t]=this.extraStreamInfo[t])},lock:function(){if(this.isLocked)throw Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var t="Worker "+this.name;return this.previous?this.previous+" -> "+t:t}},e.exports=a},{}],29:[function(t,e,r){"use strict";var a=t("../utils"),s=t("./ConvertWorker"),n=t("./GenericWorker"),i=t("../base64"),o=t("../support"),l=t("../external"),h=null;if(o.nodestream)try{h=t("../nodejs/NodejsStreamOutputAdapter")}catch(t){}function u(t,e,r){var i=e;switch(e){case"blob":case"arraybuffer":i="uint8array";break;case"base64":i="string"}try{this._internalType=i,this._outputType=e,this._mimeType=r,a.checkSupport(i),this._worker=t.pipe(new s(i)),t.lock()}catch(t){this._worker=new n("error"),this._worker.error(t)}}u.prototype={accumulate:function(t){var e;return e=this,new l.Promise(function(r,s){var n=[],o=e._internalType,l=e._outputType,h=e._mimeType;e.on("data",function(e,r){n.push(e),t&&t(r)}).on("error",function(t){n=[],s(t)}).on("end",function(){try{var t=function(t,e,r){switch(t){case"blob":return a.newBlob(a.transformTo("arraybuffer",e),r);case"base64":return i.encode(e);default:return a.transformTo(t,e)}}(l,function(t,e){var r,a=0,s=null,n=0;for(r=0;r<e.length;r++)n+=e[r].length;switch(t){case"string":return e.join("");case"array":return Array.prototype.concat.apply([],e);case"uint8array":for(s=new Uint8Array(n),r=0;r<e.length;r++)s.set(e[r],a),a+=e[r].length;return s;case"nodebuffer":return Buffer.concat(e);default:throw Error("concat : unsupported type '"+t+"'")}}(o,n),h);r(t)}catch(t){s(t)}n=[]}).resume()})},on:function(t,e){var r=this;return"data"===t?this._worker.on(t,function(t){e.call(r,t.data,t.meta)}):this._worker.on(t,function(){a.delay(e,arguments,r)}),this},resume:function(){return a.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(t){if(a.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw Error(this._outputType+" is not supported by this method");return new h(this,{objectMode:"nodebuffer"!==this._outputType},t)}},e.exports=u},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(t,e,r){"use strict";if(r.base64=!0,r.array=!0,r.string=!0,r.arraybuffer="u">typeof ArrayBuffer&&"u">typeof Uint8Array,r.nodebuffer="u">typeof Buffer,r.uint8array="u">typeof Uint8Array,"u"<typeof ArrayBuffer)r.blob=!1;else{var a=new ArrayBuffer(0);try{r.blob=0===new Blob([a],{type:"application/zip"}).size}catch(t){try{var s=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);s.append(a),r.blob=0===s.getBlob("application/zip").size}catch(t){r.blob=!1}}}try{r.nodestream=!!t("readable-stream").Readable}catch(t){r.nodestream=!1}},{"readable-stream":16}],31:[function(t,e,r){"use strict";for(var a=t("./utils"),s=t("./support"),n=t("./nodejsUtils"),i=t("./stream/GenericWorker"),o=Array(256),l=0;l<256;l++)o[l]=252<=l?6:248<=l?5:240<=l?4:224<=l?3:192<=l?2:1;function h(){i.call(this,"utf-8 decode"),this.leftOver=null}function u(){i.call(this,"utf-8 encode")}o[254]=o[254]=1,r.utf8encode=function(t){return s.nodebuffer?n.newBufferFrom(t,"utf-8"):function(t){var e,r,a,n,i,o=t.length,l=0;for(n=0;n<o;n++)55296==(64512&(r=t.charCodeAt(n)))&&n+1<o&&56320==(64512&(a=t.charCodeAt(n+1)))&&(r=65536+(r-55296<<10)+(a-56320),n++),l+=r<128?1:r<2048?2:r<65536?3:4;for(e=s.uint8array?new Uint8Array(l):Array(l),n=i=0;i<l;n++)55296==(64512&(r=t.charCodeAt(n)))&&n+1<o&&56320==(64512&(a=t.charCodeAt(n+1)))&&(r=65536+(r-55296<<10)+(a-56320),n++),r<128?e[i++]=r:(r<2048?e[i++]=192|r>>>6:(r<65536?e[i++]=224|r>>>12:(e[i++]=240|r>>>18,e[i++]=128|r>>>12&63),e[i++]=128|r>>>6&63),e[i++]=128|63&r);return e}(t)},r.utf8decode=function(t){return s.nodebuffer?a.transformTo("nodebuffer",t).toString("utf-8"):function(t){var e,r,s,n,i=t.length,l=Array(2*i);for(e=r=0;e<i;)if((s=t[e++])<128)l[r++]=s;else if(4<(n=o[s]))l[r++]=65533,e+=n-1;else{for(s&=2===n?31:3===n?15:7;1<n&&e<i;)s=s<<6|63&t[e++],n--;1<n?l[r++]=65533:s<65536?l[r++]=s:(s-=65536,l[r++]=55296|s>>10&1023,l[r++]=56320|1023&s)}return l.length!==r&&(l.subarray?l=l.subarray(0,r):l.length=r),a.applyFromCharCode(l)}(t=a.transformTo(s.uint8array?"uint8array":"array",t))},a.inherits(h,i),h.prototype.processChunk=function(t){var e=a.transformTo(s.uint8array?"uint8array":"array",t.data);if(this.leftOver&&this.leftOver.length){if(s.uint8array){var n=e;(e=new Uint8Array(n.length+this.leftOver.length)).set(this.leftOver,0),e.set(n,this.leftOver.length)}else e=this.leftOver.concat(e);this.leftOver=null}var i=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||0===r?e:r+o[t[r]]>e?r:e}(e),l=e;i!==e.length&&(s.uint8array?(l=e.subarray(0,i),this.leftOver=e.subarray(i,e.length)):(l=e.slice(0,i),this.leftOver=e.slice(i,e.length))),this.push({data:r.utf8decode(l),meta:t.meta})},h.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:r.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},r.Utf8DecodeWorker=h,a.inherits(u,i),u.prototype.processChunk=function(t){this.push({data:r.utf8encode(t.data),meta:t.meta})},r.Utf8EncodeWorker=u},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(t,e,r){"use strict";var a=t("./support"),s=t("./base64"),n=t("./nodejsUtils"),i=t("./external");function o(t){return t}function l(t,e){for(var r=0;r<t.length;++r)e[r]=255&t.charCodeAt(r);return e}t("setimmediate"),r.newBlob=function(t,e){r.checkSupport("blob");try{return new Blob([t],{type:e})}catch(r){try{var a=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return a.append(t),a.getBlob(e)}catch(t){throw Error("Bug : can't construct the Blob.")}}};var h={stringifyByChunk:function(t,e,r){var a=[],s=0,n=t.length;if(n<=r)return String.fromCharCode.apply(null,t);for(;s<n;)"array"===e||"nodebuffer"===e?a.push(String.fromCharCode.apply(null,t.slice(s,Math.min(s+r,n)))):a.push(String.fromCharCode.apply(null,t.subarray(s,Math.min(s+r,n)))),s+=r;return a.join("")},stringifyByChar:function(t){for(var e="",r=0;r<t.length;r++)e+=String.fromCharCode(t[r]);return e},applyCanBeUsed:{uint8array:function(){try{return a.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(t){return!1}}(),nodebuffer:function(){try{return a.nodebuffer&&1===String.fromCharCode.apply(null,n.allocBuffer(1)).length}catch(t){return!1}}()}};function u(t){var e=65536,a=r.getTypeOf(t),s=!0;if("uint8array"===a?s=h.applyCanBeUsed.uint8array:"nodebuffer"===a&&(s=h.applyCanBeUsed.nodebuffer),s)for(;1<e;)try{return h.stringifyByChunk(t,a,e)}catch(t){e=Math.floor(e/2)}return h.stringifyByChar(t)}function c(t,e){for(var r=0;r<t.length;r++)e[r]=t[r];return e}r.applyFromCharCode=u;var f={};f.string={string:o,array:function(t){return l(t,Array(t.length))},arraybuffer:function(t){return f.string.uint8array(t).buffer},uint8array:function(t){return l(t,new Uint8Array(t.length))},nodebuffer:function(t){return l(t,n.allocBuffer(t.length))}},f.array={string:u,array:o,arraybuffer:function(t){return new Uint8Array(t).buffer},uint8array:function(t){return new Uint8Array(t)},nodebuffer:function(t){return n.newBufferFrom(t)}},f.arraybuffer={string:function(t){return u(new Uint8Array(t))},array:function(t){return c(new Uint8Array(t),Array(t.byteLength))},arraybuffer:o,uint8array:function(t){return new Uint8Array(t)},nodebuffer:function(t){return n.newBufferFrom(new Uint8Array(t))}},f.uint8array={string:u,array:function(t){return c(t,Array(t.length))},arraybuffer:function(t){return t.buffer},uint8array:o,nodebuffer:function(t){return n.newBufferFrom(t)}},f.nodebuffer={string:u,array:function(t){return c(t,Array(t.length))},arraybuffer:function(t){return f.nodebuffer.uint8array(t).buffer},uint8array:function(t){return c(t,new Uint8Array(t.length))},nodebuffer:o},r.transformTo=function(t,e){return(e=e||"",t)?(r.checkSupport(t),f[r.getTypeOf(e)][t](e)):e},r.resolve=function(t){for(var e=t.split("/"),r=[],a=0;a<e.length;a++){var s=e[a];"."===s||""===s&&0!==a&&a!==e.length-1||(".."===s?r.pop():r.push(s))}return r.join("/")},r.getTypeOf=function(t){return"string"==typeof t?"string":"[object Array]"===Object.prototype.toString.call(t)?"array":a.nodebuffer&&n.isBuffer(t)?"nodebuffer":a.uint8array&&t instanceof Uint8Array?"uint8array":a.arraybuffer&&t instanceof ArrayBuffer?"arraybuffer":void 0},r.checkSupport=function(t){if(!a[t.toLowerCase()])throw Error(t+" is not supported by this platform")},r.MAX_VALUE_16BITS=65535,r.MAX_VALUE_32BITS=-1,r.pretty=function(t){var e,r,a="";for(r=0;r<(t||"").length;r++)a+="\\x"+((e=t.charCodeAt(r))<16?"0":"")+e.toString(16).toUpperCase();return a},r.delay=function(t,e,r){setImmediate(function(){t.apply(r||null,e||[])})},r.inherits=function(t,e){function r(){}r.prototype=e.prototype,t.prototype=new r},r.extend=function(){var t,e,r={};for(t=0;t<arguments.length;t++)for(e in arguments[t])Object.prototype.hasOwnProperty.call(arguments[t],e)&&void 0===r[e]&&(r[e]=arguments[t][e]);return r},r.prepareContent=function(t,e,n,o,h){return i.Promise.resolve(e).then(function(t){return a.blob&&(t instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(t)))&&"u">typeof FileReader?new i.Promise(function(e,r){var a=new FileReader;a.onload=function(t){e(t.target.result)},a.onerror=function(t){r(t.target.error)},a.readAsArrayBuffer(t)}):t}).then(function(e){var u,c=r.getTypeOf(e);return c?("arraybuffer"===c?e=r.transformTo("uint8array",e):"string"===c&&(h?e=s.decode(e):n&&!0!==o&&(e=l(u=e,a.uint8array?new Uint8Array(u.length):Array(u.length)))),e):i.Promise.reject(Error("Can't read the data of '"+t+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(t,e,r){"use strict";var a=t("./reader/readerFor"),s=t("./utils"),n=t("./signature"),i=t("./zipEntry"),o=t("./support");function l(t){this.files=[],this.loadOptions=t}l.prototype={checkSignature:function(t){if(!this.reader.readAndCheckSignature(t)){this.reader.index-=4;var e=this.reader.readString(4);throw Error("Corrupted zip or bug: unexpected signature ("+s.pretty(e)+", expected "+s.pretty(t)+")")}},isSignature:function(t,e){var r=this.reader.index;this.reader.setIndex(t);var a=this.reader.readString(4)===e;return this.reader.setIndex(r),a},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var t=this.reader.readData(this.zipCommentLength),e=o.uint8array?"uint8array":"array",r=s.transformTo(e,t);this.zipComment=this.loadOptions.decodeFileName(r)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var t,e,r,a=this.zip64EndOfCentralSize-44;0<a;)t=this.reader.readInt(2),e=this.reader.readInt(4),r=this.reader.readData(e),this.zip64ExtensibleData[t]={id:t,length:e,value:r}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var t,e;for(t=0;t<this.files.length;t++)e=this.files[t],this.reader.setIndex(e.localHeaderOffset),this.checkSignature(n.LOCAL_FILE_HEADER),e.readLocalPart(this.reader),e.handleUTF8(),e.processAttributes()},readCentralDir:function(){var t;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(n.CENTRAL_FILE_HEADER);)(t=new i({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(t);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var t=this.reader.lastIndexOfSignature(n.CENTRAL_DIRECTORY_END);if(t<0)throw this.isSignature(0,n.LOCAL_FILE_HEADER)?Error("Corrupted zip: can't find end of central directory"):Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(t);var e=t;if(this.checkSignature(n.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===s.MAX_VALUE_16BITS||this.diskWithCentralDirStart===s.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===s.MAX_VALUE_16BITS||this.centralDirRecords===s.MAX_VALUE_16BITS||this.centralDirSize===s.MAX_VALUE_32BITS||this.centralDirOffset===s.MAX_VALUE_32BITS){if(this.zip64=!0,(t=this.reader.lastIndexOfSignature(n.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(t),this.checkSignature(n.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,n.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(n.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(n.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var r=this.centralDirOffset+this.centralDirSize;this.zip64&&(r+=20,r+=12+this.zip64EndOfCentralSize);var a=e-r;if(0<a)this.isSignature(e,n.CENTRAL_FILE_HEADER)||(this.reader.zero=a);else if(a<0)throw Error("Corrupted zip: missing "+Math.abs(a)+" bytes.")},prepareReader:function(t){this.reader=a(t)},load:function(t){this.prepareReader(t),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},e.exports=l},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(t,e,r){"use strict";var a=t("./reader/readerFor"),s=t("./utils"),n=t("./compressedObject"),i=t("./crc32"),o=t("./utf8"),l=t("./compressions"),h=t("./support");function u(t,e){this.options=t,this.loadOptions=e}u.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},readLocalPart:function(t){var e,r;if(t.skip(22),this.fileNameLength=t.readInt(2),r=t.readInt(2),this.fileName=t.readData(this.fileNameLength),t.skip(r),-1===this.compressedSize||-1===this.uncompressedSize)throw Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(e=function(t){for(var e in l)if(Object.prototype.hasOwnProperty.call(l,e)&&l[e].magic===t)return l[e];return null}(this.compressionMethod)))throw Error("Corrupted zip : compression "+s.pretty(this.compressionMethod)+" unknown (inner file : "+s.transformTo("string",this.fileName)+")");this.decompressed=new n(this.compressedSize,this.uncompressedSize,this.crc32,e,t.readData(this.compressedSize))},readCentralPart:function(t){this.versionMadeBy=t.readInt(2),t.skip(2),this.bitFlag=t.readInt(2),this.compressionMethod=t.readString(2),this.date=t.readDate(),this.crc32=t.readInt(4),this.compressedSize=t.readInt(4),this.uncompressedSize=t.readInt(4);var e=t.readInt(2);if(this.extraFieldsLength=t.readInt(2),this.fileCommentLength=t.readInt(2),this.diskNumberStart=t.readInt(2),this.internalFileAttributes=t.readInt(2),this.externalFileAttributes=t.readInt(4),this.localHeaderOffset=t.readInt(4),this.isEncrypted())throw Error("Encrypted zip are not supported");t.skip(e),this.readExtraFields(t),this.parseZIP64ExtraField(t),this.fileComment=t.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var t=this.versionMadeBy>>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(){if(this.extraFields[1]){var t=a(this.extraFields[1].value);this.uncompressedSize===s.MAX_VALUE_32BITS&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===s.MAX_VALUE_32BITS&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===s.MAX_VALUE_32BITS&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===s.MAX_VALUE_32BITS&&(this.diskNumberStart=t.readInt(4))}},readExtraFields:function(t){var e,r,a,s=t.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});t.index+4<s;)e=t.readInt(2),r=t.readInt(2),a=t.readData(r),this.extraFields[e]={id:e,length:r,value:a};t.setIndex(s)},handleUTF8:function(){var t=h.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=o.utf8decode(this.fileName),this.fileCommentStr=o.utf8decode(this.fileComment);else{var e=this.findExtraFieldUnicodePath();if(null!==e)this.fileNameStr=e;else{var r=s.transformTo(t,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(r)}var a=this.findExtraFieldUnicodeComment();if(null!==a)this.fileCommentStr=a;else{var n=s.transformTo(t,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(n)}}},findExtraFieldUnicodePath:function(){var t=this.extraFields[28789];if(t){var e=a(t.value);return 1!==e.readInt(1)||i(this.fileName)!==e.readInt(4)?null:o.utf8decode(e.readData(t.length-5))}return null},findExtraFieldUnicodeComment:function(){var t=this.extraFields[25461];if(t){var e=a(t.value);return 1!==e.readInt(1)||i(this.fileComment)!==e.readInt(4)?null:o.utf8decode(e.readData(t.length-5))}return null}},e.exports=u},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(t,e,r){"use strict";function a(t,e,r){this.name=t,this.dir=r.dir,this.date=r.date,this.comment=r.comment,this.unixPermissions=r.unixPermissions,this.dosPermissions=r.dosPermissions,this._data=e,this._dataBinary=r.binary,this.options={compression:r.compression,compressionOptions:r.compressionOptions}}var s=t("./stream/StreamHelper"),n=t("./stream/DataWorker"),i=t("./utf8"),o=t("./compressedObject"),l=t("./stream/GenericWorker");a.prototype={internalStream:function(t){var e=null,r="string";try{if(!t)throw Error("No output type specified.");var a="string"===(r=t.toLowerCase())||"text"===r;"binarystring"!==r&&"text"!==r||(r="string"),e=this._decompressWorker();var n=!this._dataBinary;n&&!a&&(e=e.pipe(new i.Utf8EncodeWorker)),!n&&a&&(e=e.pipe(new i.Utf8DecodeWorker))}catch(t){(e=new l("error")).error(t)}return new s(e,r,"")},async:function(t,e){return this.internalStream(t).accumulate(e)},nodeStream:function(t,e){return this.internalStream(t||"nodebuffer").toNodejsStream(e)},_compressWorker:function(t,e){if(this._data instanceof o&&this._data.compression.magic===t.magic)return this._data.getCompressedWorker();var r=this._decompressWorker();return this._dataBinary||(r=r.pipe(new i.Utf8EncodeWorker)),o.createWorkerFrom(r,t,e)},_decompressWorker:function(){return this._data instanceof o?this._data.getContentWorker():this._data instanceof l?this._data:new n(this._data)}};for(var h=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],u=function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},c=0;c<h.length;c++)a.prototype[h[c]]=u;e.exports=a},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(t,e,a){(function(t){"use strict";var r,a,s=t.MutationObserver||t.WebKitMutationObserver;if(s){var n=0,i=new s(u),o=t.document.createTextNode("");i.observe(o,{characterData:!0}),r=function(){o.data=n=++n%2}}else if(t.setImmediate||void 0===t.MessageChannel)r="document"in t&&"onreadystatechange"in t.document.createElement("script")?function(){var e=t.document.createElement("script");e.onreadystatechange=function(){u(),e.onreadystatechange=null,e.parentNode.removeChild(e),e=null},t.document.documentElement.appendChild(e)}:function(){setTimeout(u,0)};else{var l=new t.MessageChannel;l.port1.onmessage=u,r=function(){l.port2.postMessage(0)}}var h=[];function u(){var t,e;a=!0;for(var r=h.length;r;){for(e=h,h=[],t=-1;++t<r;)e[t]();r=h.length}a=!1}e.exports=function(t){1!==h.push(t)||a||r()}}).call(this,void 0!==r.g?r.g:"u">typeof self?self:"u">typeof window?window:{})},{}],37:[function(t,e,r){"use strict";var a=t("immediate");function s(){}var n={},i=["REJECTED"],o=["FULFILLED"],l=["PENDING"];function h(t){if("function"!=typeof t)throw TypeError("resolver must be a function");this.state=l,this.queue=[],this.outcome=void 0,t!==s&&d(this,t)}function u(t,e,r){this.promise=t,"function"==typeof e&&(this.onFulfilled=e,this.callFulfilled=this.otherCallFulfilled),"function"==typeof r&&(this.onRejected=r,this.callRejected=this.otherCallRejected)}function c(t,e,r){a(function(){var a;try{a=e(r)}catch(e){return n.reject(t,e)}a===t?n.reject(t,TypeError("Cannot resolve promise with itself")):n.resolve(t,a)})}function f(t){var e=t&&t.then;if(t&&("object"==typeof t||"function"==typeof t)&&"function"==typeof e)return function(){e.apply(t,arguments)}}function d(t,e){var r=!1;function a(e){r||(r=!0,n.reject(t,e))}function s(e){r||(r=!0,n.resolve(t,e))}var i=m(function(){e(s,a)});"error"===i.status&&a(i.value)}function m(t,e){var r={};try{r.value=t(e),r.status="success"}catch(t){r.status="error",r.value=t}return r}(e.exports=h).prototype.finally=function(t){if("function"!=typeof t)return this;var e=this.constructor;return this.then(function(r){return e.resolve(t()).then(function(){return r})},function(r){return e.resolve(t()).then(function(){throw r})})},h.prototype.catch=function(t){return this.then(null,t)},h.prototype.then=function(t,e){if("function"!=typeof t&&this.state===o||"function"!=typeof e&&this.state===i)return this;var r=new this.constructor(s);return this.state!==l?c(r,this.state===o?t:e,this.outcome):this.queue.push(new u(r,t,e)),r},u.prototype.callFulfilled=function(t){n.resolve(this.promise,t)},u.prototype.otherCallFulfilled=function(t){c(this.promise,this.onFulfilled,t)},u.prototype.callRejected=function(t){n.reject(this.promise,t)},u.prototype.otherCallRejected=function(t){c(this.promise,this.onRejected,t)},n.resolve=function(t,e){var r=m(f,e);if("error"===r.status)return n.reject(t,r.value);var a=r.value;if(a)d(t,a);else{t.state=o,t.outcome=e;for(var s=-1,i=t.queue.length;++s<i;)t.queue[s].callFulfilled(e)}return t},n.reject=function(t,e){t.state=i,t.outcome=e;for(var r=-1,a=t.queue.length;++r<a;)t.queue[r].callRejected(e);return t},h.resolve=function(t){return t instanceof this?t:n.resolve(new this(s),t)},h.reject=function(t){var e=new this(s);return n.reject(e,t)},h.all=function(t){var e=this;if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(TypeError("must be an array"));var r=t.length,a=!1;if(!r)return this.resolve([]);for(var i=Array(r),o=0,l=-1,h=new this(s);++l<r;)!function(t,s){e.resolve(t).then(function(t){i[s]=t,++o!==r||a||(a=!0,n.resolve(h,i))},function(t){a||(a=!0,n.reject(h,t))})}(t[l],l);return h},h.race=function(t){if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(TypeError("must be an array"));var e,r=t.length,a=!1;if(!r)return this.resolve([]);for(var i=-1,o=new this(s);++i<r;)e=t[i],this.resolve(e).then(function(t){a||(a=!0,n.resolve(o,t))},function(t){a||(a=!0,n.reject(o,t))});return o}},{immediate:36}],38:[function(t,e,r){"use strict";var a={};(0,t("./lib/utils/common").assign)(a,t("./lib/deflate"),t("./lib/inflate"),t("./lib/zlib/constants")),e.exports=a},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(t,e,r){"use strict";var a=t("./zlib/deflate"),s=t("./utils/common"),n=t("./utils/strings"),i=t("./zlib/messages"),o=t("./zlib/zstream"),l=Object.prototype.toString;function h(t){if(!(this instanceof h))return new h(t);this.options=s.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},t||{});var e,r=this.options;r.raw&&0<r.windowBits?r.windowBits=-r.windowBits:r.gzip&&0<r.windowBits&&r.windowBits<16&&(r.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new o,this.strm.avail_out=0;var u=a.deflateInit2(this.strm,r.level,r.method,r.windowBits,r.memLevel,r.strategy);if(0!==u)throw Error(i[u]);if(r.header&&a.deflateSetHeader(this.strm,r.header),r.dictionary){if(e="string"==typeof r.dictionary?n.string2buf(r.dictionary):"[object ArrayBuffer]"===l.call(r.dictionary)?new Uint8Array(r.dictionary):r.dictionary,0!==(u=a.deflateSetDictionary(this.strm,e)))throw Error(i[u]);this._dict_set=!0}}function u(t,e){var r=new h(e);if(r.push(t,!0),r.err)throw r.msg||i[r.err];return r.result}h.prototype.push=function(t,e){var r,i,o=this.strm,h=this.options.chunkSize;if(this.ended)return!1;i=e===~~e?e:4*(!0===e),"string"==typeof t?o.input=n.string2buf(t):"[object ArrayBuffer]"===l.call(t)?o.input=new Uint8Array(t):o.input=t,o.next_in=0,o.avail_in=o.input.length;do{if(0===o.avail_out&&(o.output=new s.Buf8(h),o.next_out=0,o.avail_out=h),1!==(r=a.deflate(o,i))&&0!==r)return this.onEnd(r),this.ended=!0,!1;0!==o.avail_out&&(0!==o.avail_in||4!==i&&2!==i)||("string"===this.options.to?this.onData(n.buf2binstring(s.shrinkBuf(o.output,o.next_out))):this.onData(s.shrinkBuf(o.output,o.next_out)))}while((0<o.avail_in||0===o.avail_out)&&1!==r)return 4===i?(r=a.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,0===r):2!==i||(this.onEnd(0),o.avail_out=0,!0)},h.prototype.onData=function(t){this.chunks.push(t)},h.prototype.onEnd=function(t){0===t&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=s.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},r.Deflate=h,r.deflate=u,r.deflateRaw=function(t,e){return(e=e||{}).raw=!0,u(t,e)},r.gzip=function(t,e){return(e=e||{}).gzip=!0,u(t,e)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(t,e,r){"use strict";var a=t("./zlib/inflate"),s=t("./utils/common"),n=t("./utils/strings"),i=t("./zlib/constants"),o=t("./zlib/messages"),l=t("./zlib/zstream"),h=t("./zlib/gzheader"),u=Object.prototype.toString;function c(t){if(!(this instanceof c))return new c(t);this.options=s.assign({chunkSize:16384,windowBits:0,to:""},t||{});var e=this.options;e.raw&&0<=e.windowBits&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(0<=e.windowBits&&e.windowBits<16)||t&&t.windowBits||(e.windowBits+=32),15<e.windowBits&&e.windowBits<48&&0==(15&e.windowBits)&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0;var r=a.inflateInit2(this.strm,e.windowBits);if(r!==i.Z_OK)throw Error(o[r]);this.header=new h,a.inflateGetHeader(this.strm,this.header)}function f(t,e){var r=new c(e);if(r.push(t,!0),r.err)throw r.msg||o[r.err];return r.result}c.prototype.push=function(t,e){var r,o,l,h,c,f,d=this.strm,m=this.options.chunkSize,p=this.options.dictionary,$=!1;if(this.ended)return!1;o=e===~~e?e:!0===e?i.Z_FINISH:i.Z_NO_FLUSH,"string"==typeof t?d.input=n.binstring2buf(t):"[object ArrayBuffer]"===u.call(t)?d.input=new Uint8Array(t):d.input=t,d.next_in=0,d.avail_in=d.input.length;do{if(0===d.avail_out&&(d.output=new s.Buf8(m),d.next_out=0,d.avail_out=m),(r=a.inflate(d,i.Z_NO_FLUSH))===i.Z_NEED_DICT&&p&&(f="string"==typeof p?n.string2buf(p):"[object ArrayBuffer]"===u.call(p)?new Uint8Array(p):p,r=a.inflateSetDictionary(this.strm,f)),r===i.Z_BUF_ERROR&&!0===$&&(r=i.Z_OK,$=!1),r!==i.Z_STREAM_END&&r!==i.Z_OK)return this.onEnd(r),this.ended=!0,!1;d.next_out&&(0!==d.avail_out&&r!==i.Z_STREAM_END&&(0!==d.avail_in||o!==i.Z_FINISH&&o!==i.Z_SYNC_FLUSH)||("string"===this.options.to?(l=n.utf8border(d.output,d.next_out),h=d.next_out-l,c=n.buf2string(d.output,l),d.next_out=h,d.avail_out=m-h,h&&s.arraySet(d.output,d.output,l,h,0),this.onData(c)):this.onData(s.shrinkBuf(d.output,d.next_out)))),0===d.avail_in&&0===d.avail_out&&($=!0)}while((0<d.avail_in||0===d.avail_out)&&r!==i.Z_STREAM_END)return r===i.Z_STREAM_END&&(o=i.Z_FINISH),o===i.Z_FINISH?(r=a.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===i.Z_OK):o!==i.Z_SYNC_FLUSH||(this.onEnd(i.Z_OK),d.avail_out=0,!0)},c.prototype.onData=function(t){this.chunks.push(t)},c.prototype.onEnd=function(t){t===i.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=s.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},r.Inflate=c,r.inflate=f,r.inflateRaw=function(t,e){return(e=e||{}).raw=!0,f(t,e)},r.ungzip=f},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(t,e,r){"use strict";var a="u">typeof Uint8Array&&"u">typeof Uint16Array&&"u">typeof Int32Array;r.assign=function(t){for(var e=Array.prototype.slice.call(arguments,1);e.length;){var r=e.shift();if(r){if("object"!=typeof r)throw TypeError(r+"must be non-object");for(var a in r)r.hasOwnProperty(a)&&(t[a]=r[a])}}return t},r.shrinkBuf=function(t,e){return t.length===e?t:t.subarray?t.subarray(0,e):(t.length=e,t)};var s={arraySet:function(t,e,r,a,s){if(e.subarray&&t.subarray)t.set(e.subarray(r,r+a),s);else for(var n=0;n<a;n++)t[s+n]=e[r+n]},flattenChunks:function(t){var e,r,a,s,n,i;for(e=a=0,r=t.length;e<r;e++)a+=t[e].length;for(i=new Uint8Array(a),e=s=0,r=t.length;e<r;e++)n=t[e],i.set(n,s),s+=n.length;return i}},n={arraySet:function(t,e,r,a,s){for(var n=0;n<a;n++)t[s+n]=e[r+n]},flattenChunks:function(t){return[].concat.apply([],t)}};r.setTyped=function(t){t?(r.Buf8=Uint8Array,r.Buf16=Uint16Array,r.Buf32=Int32Array,r.assign(r,s)):(r.Buf8=Array,r.Buf16=Array,r.Buf32=Array,r.assign(r,n))},r.setTyped(a)},{}],42:[function(t,e,r){"use strict";var a=t("./common"),s=!0,n=!0;try{String.fromCharCode.apply(null,[0])}catch(t){s=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){n=!1}for(var i=new a.Buf8(256),o=0;o<256;o++)i[o]=252<=o?6:248<=o?5:240<=o?4:224<=o?3:192<=o?2:1;function l(t,e){if(e<65537&&(t.subarray&&n||!t.subarray&&s))return String.fromCharCode.apply(null,a.shrinkBuf(t,e));for(var r="",i=0;i<e;i++)r+=String.fromCharCode(t[i]);return r}i[254]=i[254]=1,r.string2buf=function(t){var e,r,s,n,i,o=t.length,l=0;for(n=0;n<o;n++)55296==(64512&(r=t.charCodeAt(n)))&&n+1<o&&56320==(64512&(s=t.charCodeAt(n+1)))&&(r=65536+(r-55296<<10)+(s-56320),n++),l+=r<128?1:r<2048?2:r<65536?3:4;for(e=new a.Buf8(l),n=i=0;i<l;n++)55296==(64512&(r=t.charCodeAt(n)))&&n+1<o&&56320==(64512&(s=t.charCodeAt(n+1)))&&(r=65536+(r-55296<<10)+(s-56320),n++),r<128?e[i++]=r:(r<2048?e[i++]=192|r>>>6:(r<65536?e[i++]=224|r>>>12:(e[i++]=240|r>>>18,e[i++]=128|r>>>12&63),e[i++]=128|r>>>6&63),e[i++]=128|63&r);return e},r.buf2binstring=function(t){return l(t,t.length)},r.binstring2buf=function(t){for(var e=new a.Buf8(t.length),r=0,s=e.length;r<s;r++)e[r]=t.charCodeAt(r);return e},r.buf2string=function(t,e){var r,a,s,n,o=e||t.length,h=Array(2*o);for(r=a=0;r<o;)if((s=t[r++])<128)h[a++]=s;else if(4<(n=i[s]))h[a++]=65533,r+=n-1;else{for(s&=2===n?31:3===n?15:7;1<n&&r<o;)s=s<<6|63&t[r++],n--;1<n?h[a++]=65533:s<65536?h[a++]=s:(s-=65536,h[a++]=55296|s>>10&1023,h[a++]=56320|1023&s)}return l(h,a)},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||0===r?e:r+i[t[r]]>e?r:e}},{"./common":41}],43:[function(t,e,r){"use strict";e.exports=function(t,e,r,a){for(var s=65535&t,n=t>>>16&65535,i=0;0!==r;){for(r-=i=2e3<r?2e3:r;n=n+(s=s+e[a++]|0)|0,--i;);s%=65521,n%=65521}return s|n<<16}},{}],44:[function(t,e,r){"use strict";e.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(t,e,r){"use strict";var a=function(){for(var t,e=[],r=0;r<256;r++){t=r;for(var a=0;a<8;a++)t=1&t?0xedb88320^t>>>1:t>>>1;e[r]=t}return e}();e.exports=function(t,e,r,s){var n=s+r;t^=-1;for(var i=s;i<n;i++)t=t>>>8^a[255&(t^e[i])];return -1^t}},{}],46:[function(t,e,r){"use strict";var a,s=t("../utils/common"),n=t("./trees"),i=t("./adler32"),o=t("./crc32"),l=t("./messages");function h(t,e){return t.msg=l[e],e}function u(t){return(t<<1)-9*(4<t)}function c(t){for(var e=t.length;0<=--e;)t[e]=0}function f(t){var e=t.state,r=e.pending;r>t.avail_out&&(r=t.avail_out),0!==r&&(s.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 d(t,e){n._tr_flush_block(t,0<=t.block_start?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,f(t.strm)}function m(t,e){t.pending_buf[t.pending++]=e}function p(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function $(t,e){var r,a,s=t.max_chain_length,n=t.strstart,i=t.prev_length,o=t.nice_match,l=t.strstart>t.w_size-262?t.strstart-(t.w_size-262):0,h=t.window,u=t.w_mask,c=t.prev,f=t.strstart+258,d=h[n+i-1],m=h[n+i];t.prev_length>=t.good_match&&(s>>=2),o>t.lookahead&&(o=t.lookahead);do if(h[(r=e)+i]===m&&h[r+i-1]===d&&h[r]===h[n]&&h[++r]===h[n+1]){n+=2,r++;do;while(h[++n]===h[++r]&&h[++n]===h[++r]&&h[++n]===h[++r]&&h[++n]===h[++r]&&h[++n]===h[++r]&&h[++n]===h[++r]&&h[++n]===h[++r]&&h[++n]===h[++r]&&n<f)if(a=258-(f-n),n=f-258,i<a){if(t.match_start=e,o<=(i=a))break;d=h[n+i-1],m=h[n+i]}}while((e=c[e&u])>l&&0!=--s)return i<=t.lookahead?i:t.lookahead}function b(t){var e,r,a,n,l,h,u,c,f,d,m=t.w_size;do{if(n=t.window_size-t.lookahead-t.strstart,t.strstart>=m+(m-262)){for(s.arraySet(t.window,t.window,m,m,0),t.match_start-=m,t.strstart-=m,t.block_start-=m,e=r=t.hash_size;a=t.head[--e],t.head[e]=m<=a?a-m:0,--r;);for(e=r=m;a=t.prev[--e],t.prev[e]=m<=a?a-m:0,--r;);n+=m}if(0===t.strm.avail_in)break;if(h=t.strm,u=t.window,c=t.strstart+t.lookahead,d=void 0,(f=n)<(d=h.avail_in)&&(d=f),r=0===d?0:(h.avail_in-=d,s.arraySet(u,h.input,h.next_in,d,c),1===h.state.wrap?h.adler=i(h.adler,u,d,c):2===h.state.wrap&&(h.adler=o(h.adler,u,d,c)),h.next_in+=d,h.total_in+=d,d),t.lookahead+=r,t.lookahead+t.insert>=3)for(l=t.strstart-t.insert,t.ins_h=t.window[l],t.ins_h=(t.ins_h<<t.hash_shift^t.window[l+1])&t.hash_mask;t.insert&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[l+3-1])&t.hash_mask,t.prev[l&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=l,l++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<262&&0!==t.strm.avail_in)}function g(t,e){for(var r,a;;){if(t.lookahead<262){if(b(t),t.lookahead<262&&0===e)return 1;if(0===t.lookahead)break}if(r=0,t.lookahead>=3&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==r&&t.strstart-r<=t.w_size-262&&(t.match_length=$(t,r)),t.match_length>=3)if(a=n._tr_tally(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){for(t.match_length--;t.strstart++,t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart,0!=--t.match_length;);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+1])&t.hash_mask;else a=n._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(a&&(d(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,4===e?(d(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(d(t,!1),0===t.strm.avail_out)?1:2}function L(t,e){for(var r,a,s;;){if(t.lookahead<262){if(b(t),t.lookahead<262&&0===e)return 1;if(0===t.lookahead)break}if(r=0,t.lookahead>=3&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==r&&t.prev_length<t.max_lazy_match&&t.strstart-r<=t.w_size-262&&(t.match_length=$(t,r),t.match_length<=5&&(1===t.strategy||3===t.match_length&&4096<t.strstart-t.match_start)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){for(s=t.strstart+t.lookahead-3,a=n._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;++t.strstart<=s&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!=--t.prev_length;);if(t.match_available=0,t.match_length=2,t.strstart++,a&&(d(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((a=n._tr_tally(t,0,t.window[t.strstart-1]))&&d(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(a=n._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,4===e?(d(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(d(t,!1),0===t.strm.avail_out)?1:2}function y(t,e,r,a,s){this.good_length=t,this.max_lazy=e,this.nice_length=r,this.max_chain=a,this.func=s}function v(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new s.Buf16(1146),this.dyn_dtree=new s.Buf16(122),this.bl_tree=new s.Buf16(78),c(this.dyn_ltree),c(this.dyn_dtree),c(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new s.Buf16(16),this.heap=new s.Buf16(573),c(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new s.Buf16(573),c(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function M(t){var e;return t&&t.state?(t.total_in=t.total_out=0,t.data_type=2,(e=t.state).pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?42:113,t.adler=+(2!==e.wrap),e.last_flush=0,n._tr_init(e),0):h(t,-2)}function _(t){var e,r=M(t);return 0===r&&((e=t.state).window_size=2*e.w_size,c(e.head),e.max_lazy_match=a[e.level].max_lazy,e.good_match=a[e.level].good_length,e.nice_match=a[e.level].nice_length,e.max_chain_length=a[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=2,e.match_available=0,e.ins_h=0),r}function w(t,e,r,a,n,i){if(!t)return -2;var o=1;if(-1===e&&(e=6),a<0?(o=0,a=-a):15<a&&(o=2,a-=16),n<1||9<n||8!==r||a<8||15<a||e<0||9<e||i<0||4<i)return h(t,-2);8===a&&(a=9);var l=new v;return(t.state=l).strm=t,l.wrap=o,l.gzhead=null,l.w_bits=a,l.w_size=1<<l.w_bits,l.w_mask=l.w_size-1,l.hash_bits=n+7,l.hash_size=1<<l.hash_bits,l.hash_mask=l.hash_size-1,l.hash_shift=~~((l.hash_bits+3-1)/3),l.window=new s.Buf8(2*l.w_size),l.head=new s.Buf16(l.hash_size),l.prev=new s.Buf16(l.w_size),l.lit_bufsize=1<<n+6,l.pending_buf_size=4*l.lit_bufsize,l.pending_buf=new s.Buf8(l.pending_buf_size),l.d_buf=+l.lit_bufsize,l.l_buf=3*l.lit_bufsize,l.level=e,l.strategy=i,l.method=r,_(t)}a=[new y(0,0,0,0,function(t,e){var r=65535;for(65535>t.pending_buf_size-5&&(r=t.pending_buf_size-5);;){if(t.lookahead<=1){if(b(t),0===t.lookahead&&0===e)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var a=t.block_start+r;if((0===t.strstart||t.strstart>=a)&&(t.lookahead=t.strstart-a,t.strstart=a,d(t,!1),0===t.strm.avail_out)||t.strstart-t.block_start>=t.w_size-262&&(d(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(d(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(d(t,!1),t.strm.avail_out),1)}),new y(4,4,8,4,g),new y(4,5,16,8,g),new y(4,6,32,32,g),new y(4,4,16,16,L),new y(8,16,32,32,L),new y(8,16,128,128,L),new y(8,32,128,256,L),new y(32,128,258,1024,L),new y(32,258,258,4096,L)],r.deflateInit=function(t,e){return w(t,e,8,15,8,0)},r.deflateInit2=w,r.deflateReset=_,r.deflateResetKeep=M,r.deflateSetHeader=function(t,e){return t&&t.state?2!==t.state.wrap?-2:(t.state.gzhead=e,0):-2},r.deflate=function(t,e){var r,s,i,l;if(!t||!t.state||5<e||e<0)return t?h(t,-2):-2;if(s=t.state,!t.output||!t.input&&0!==t.avail_in||666===s.status&&4!==e)return h(t,0===t.avail_out?-5:-2);if(s.strm=t,r=s.last_flush,s.last_flush=e,42===s.status)if(2===s.wrap)t.adler=0,m(s,31),m(s,139),m(s,8),s.gzhead?(m(s,+!!s.gzhead.text+2*!!s.gzhead.hcrc+4*!!s.gzhead.extra+8*!!s.gzhead.name+16*!!s.gzhead.comment),m(s,255&s.gzhead.time),m(s,s.gzhead.time>>8&255),m(s,s.gzhead.time>>16&255),m(s,s.gzhead.time>>24&255),m(s,9===s.level?2:4*(2<=s.strategy||s.level<2)),m(s,255&s.gzhead.os),s.gzhead.extra&&s.gzhead.extra.length&&(m(s,255&s.gzhead.extra.length),m(s,s.gzhead.extra.length>>8&255)),s.gzhead.hcrc&&(t.adler=o(t.adler,s.pending_buf,s.pending,0)),s.gzindex=0,s.status=69):(m(s,0),m(s,0),m(s,0),m(s,0),m(s,0),m(s,9===s.level?2:4*(2<=s.strategy||s.level<2)),m(s,3),s.status=113);else{var $=8+(s.w_bits-8<<4)<<8;$|=(2<=s.strategy||s.level<2?0:s.level<6?1:6===s.level?2:3)<<6,0!==s.strstart&&($|=32),$+=31-$%31,s.status=113,p(s,$),0!==s.strstart&&(p(s,t.adler>>>16),p(s,65535&t.adler)),t.adler=1}if(69===s.status)if(s.gzhead.extra){for(i=s.pending;s.gzindex<(65535&s.gzhead.extra.length)&&(s.pending!==s.pending_buf_size||(s.gzhead.hcrc&&s.pending>i&&(t.adler=o(t.adler,s.pending_buf,s.pending-i,i)),f(t),i=s.pending,s.pending!==s.pending_buf_size));)m(s,255&s.gzhead.extra[s.gzindex]),s.gzindex++;s.gzhead.hcrc&&s.pending>i&&(t.adler=o(t.adler,s.pending_buf,s.pending-i,i)),s.gzindex===s.gzhead.extra.length&&(s.gzindex=0,s.status=73)}else s.status=73;if(73===s.status)if(s.gzhead.name){i=s.pending;do{if(s.pending===s.pending_buf_size&&(s.gzhead.hcrc&&s.pending>i&&(t.adler=o(t.adler,s.pending_buf,s.pending-i,i)),f(t),i=s.pending,s.pending===s.pending_buf_size)){l=1;break}l=s.gzindex<s.gzhead.name.length?255&s.gzhead.name.charCodeAt(s.gzindex++):0,m(s,l)}while(0!==l)s.gzhead.hcrc&&s.pending>i&&(t.adler=o(t.adler,s.pending_buf,s.pending-i,i)),0===l&&(s.gzindex=0,s.status=91)}else s.status=91;if(91===s.status)if(s.gzhead.comment){i=s.pending;do{if(s.pending===s.pending_buf_size&&(s.gzhead.hcrc&&s.pending>i&&(t.adler=o(t.adler,s.pending_buf,s.pending-i,i)),f(t),i=s.pending,s.pending===s.pending_buf_size)){l=1;break}l=s.gzindex<s.gzhead.comment.length?255&s.gzhead.comment.charCodeAt(s.gzindex++):0,m(s,l)}while(0!==l)s.gzhead.hcrc&&s.pending>i&&(t.adler=o(t.adler,s.pending_buf,s.pending-i,i)),0===l&&(s.status=103)}else s.status=103;if(103===s.status&&(s.gzhead.hcrc?(s.pending+2>s.pending_buf_size&&f(t),s.pending+2<=s.pending_buf_size&&(m(s,255&t.adler),m(s,t.adler>>8&255),t.adler=0,s.status=113)):s.status=113),0!==s.pending){if(f(t),0===t.avail_out)return s.last_flush=-1,0}else if(0===t.avail_in&&u(e)<=u(r)&&4!==e)return h(t,-5);if(666===s.status&&0!==t.avail_in)return h(t,-5);if(0!==t.avail_in||0!==s.lookahead||0!==e&&666!==s.status){var g=2===s.strategy?function(t,e){for(var r;;){if(0===t.lookahead&&(b(t),0===t.lookahead)){if(0===e)return 1;break}if(t.match_length=0,r=n._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,r&&(d(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(d(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(d(t,!1),0===t.strm.avail_out)?1:2}(s,e):3===s.strategy?function(t,e){for(var r,a,s,i,o=t.window;;){if(t.lookahead<=258){if(b(t),t.lookahead<=258&&0===e)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&0<t.strstart&&(a=o[s=t.strstart-1])===o[++s]&&a===o[++s]&&a===o[++s]){i=t.strstart+258;do;while(a===o[++s]&&a===o[++s]&&a===o[++s]&&a===o[++s]&&a===o[++s]&&a===o[++s]&&a===o[++s]&&a===o[++s]&&s<i)t.match_length=258-(i-s),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(r=n._tr_tally(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(r=n._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),r&&(d(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(d(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(d(t,!1),0===t.strm.avail_out)?1:2}(s,e):a[s.level].func(s,e);if(3!==g&&4!==g||(s.status=666),1===g||3===g)return 0===t.avail_out&&(s.last_flush=-1),0;if(2===g&&(1===e?n._tr_align(s):5!==e&&(n._tr_stored_block(s,0,0,!1),3===e&&(c(s.head),0===s.lookahead&&(s.strstart=0,s.block_start=0,s.insert=0))),f(t),0===t.avail_out))return s.last_flush=-1,0}return 4!==e?0:s.wrap<=0?1:(2===s.wrap?(m(s,255&t.adler),m(s,t.adler>>8&255),m(s,t.adler>>16&255),m(s,t.adler>>24&255),m(s,255&t.total_in),m(s,t.total_in>>8&255),m(s,t.total_in>>16&255),m(s,t.total_in>>24&255)):(p(s,t.adler>>>16),p(s,65535&t.adler)),f(t),0<s.wrap&&(s.wrap=-s.wrap),+(0===s.pending))},r.deflateEnd=function(t){var e;return t&&t.state?42!==(e=t.state.status)&&69!==e&&73!==e&&91!==e&&103!==e&&113!==e&&666!==e?h(t,-2):(t.state=null,113===e?h(t,-3):0):-2},r.deflateSetDictionary=function(t,e){var r,a,n,o,l,h,u,f,d=e.length;if(!t||!t.state||2===(o=(r=t.state).wrap)||1===o&&42!==r.status||r.lookahead)return -2;for(1===o&&(t.adler=i(t.adler,e,d,0)),r.wrap=0,d>=r.w_size&&(0===o&&(c(r.head),r.strstart=0,r.block_start=0,r.insert=0),f=new s.Buf8(r.w_size),s.arraySet(f,e,d-r.w_size,r.w_size,0),e=f,d=r.w_size),l=t.avail_in,h=t.next_in,u=t.input,t.avail_in=d,t.next_in=0,t.input=e,b(r);r.lookahead>=3;){for(a=r.strstart,n=r.lookahead-2;r.ins_h=(r.ins_h<<r.hash_shift^r.window[a+3-1])&r.hash_mask,r.prev[a&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=a,a++,--n;);r.strstart=a,r.lookahead=2,b(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=2,r.match_available=0,t.next_in=h,t.input=u,t.avail_in=l,r.wrap=o,0},r.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(t,e,r){"use strict";e.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(t,e,r){"use strict";e.exports=function(t,e){var r,a,s,n,i,o,l,h,u,c,f,d,m,p,$,b,g,L,y,v,M,_,w,k,x;r=t.state,a=t.next_in,k=t.input,s=a+(t.avail_in-5),n=t.next_out,x=t.output,i=n-(e-t.avail_out),o=n+(t.avail_out-257),l=r.dmax,h=r.wsize,u=r.whave,c=r.wnext,f=r.window,d=r.hold,m=r.bits,p=r.lencode,$=r.distcode,b=(1<<r.lenbits)-1,g=(1<<r.distbits)-1;t:do for(m<15&&(d+=k[a++]<<m,m+=8,d+=k[a++]<<m,m+=8),L=p[d&b];;){if(d>>>=y=L>>>24,m-=y,0==(y=L>>>16&255))x[n++]=65535&L;else{if(!(16&y)){if(0==(64&y)){L=p[(65535&L)+(d&(1<<y)-1)];continue}if(32&y){r.mode=12;break t}t.msg="invalid literal/length code",r.mode=30;break t}for(v=65535&L,(y&=15)&&(m<y&&(d+=k[a++]<<m,m+=8),v+=d&(1<<y)-1,d>>>=y,m-=y),m<15&&(d+=k[a++]<<m,m+=8,d+=k[a++]<<m,m+=8),L=$[d&g];;){if(d>>>=y=L>>>24,m-=y,!(16&(y=L>>>16&255))){if(0==(64&y)){L=$[(65535&L)+(d&(1<<y)-1)];continue}t.msg="invalid distance code",r.mode=30;break t}if(M=65535&L,m<(y&=15)&&(d+=k[a++]<<m,(m+=8)<y&&(d+=k[a++]<<m,m+=8)),l<(M+=d&(1<<y)-1)){t.msg="invalid distance too far back",r.mode=30;break t}if(d>>>=y,m-=y,(y=n-i)<M){if(u<(y=M-y)&&r.sane){t.msg="invalid distance too far back",r.mode=30;break t}if(w=f,(_=0)===c){if(_+=h-y,y<v){for(v-=y;x[n++]=f[_++],--y;);_=n-M,w=x}}else if(c<y){if(_+=h+c-y,(y-=c)<v){for(v-=y;x[n++]=f[_++],--y;);if(_=0,c<v){for(v-=y=c;x[n++]=f[_++],--y;);_=n-M,w=x}}}else if(_+=c-y,y<v){for(v-=y;x[n++]=f[_++],--y;);_=n-M,w=x}for(;2<v;)x[n++]=w[_++],x[n++]=w[_++],x[n++]=w[_++],v-=3;v&&(x[n++]=w[_++],1<v&&(x[n++]=w[_++]))}else{for(_=n-M;x[n++]=x[_++],x[n++]=x[_++],x[n++]=x[_++],2<(v-=3););v&&(x[n++]=x[_++],1<v&&(x[n++]=x[_++]))}break}}break}while(a<s&&n<o)a-=v=m>>3,d&=(1<<(m-=v<<3))-1,t.next_in=a,t.next_out=n,t.avail_in=a<s?s-a+5:5-(a-s),t.avail_out=n<o?o-n+257:257-(n-o),r.hold=d,r.bits=m}},{}],49:[function(t,e,r){"use strict";var a=t("../utils/common"),s=t("./adler32"),n=t("./crc32"),i=t("./inffast"),o=t("./inftrees");function l(t){return(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function h(){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 a.Buf16(320),this.work=new a.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function u(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=1,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new a.Buf32(852),e.distcode=e.distdyn=new a.Buf32(592),e.sane=1,e.back=-1,0):-2}function c(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,u(t)):-2}function f(t,e){var r,a;return t&&t.state?(a=t.state,e<0?(r=0,e=-e):(r=1+(e>>4),e<48&&(e&=15)),e&&(e<8||15<e)?-2:(null!==a.window&&a.wbits!==e&&(a.window=null),a.wrap=r,a.wbits=e,c(t))):-2}function d(t,e){var r;return t?((t.state=new h).window=null,0!==(r=f(t,e))&&(t.state=null),r):-2}var m,p,$=!0;function b(t,e,r,s){var n,i=t.state;return null===i.window&&(i.wsize=1<<i.wbits,i.wnext=0,i.whave=0,i.window=new a.Buf8(i.wsize)),s>=i.wsize?(a.arraySet(i.window,e,r-i.wsize,i.wsize,0),i.wnext=0,i.whave=i.wsize):(s<(n=i.wsize-i.wnext)&&(n=s),a.arraySet(i.window,e,r-s,n,i.wnext),(s-=n)?(a.arraySet(i.window,e,r-s,s,0),i.wnext=s,i.whave=i.wsize):(i.wnext+=n,i.wnext===i.wsize&&(i.wnext=0),i.whave<i.wsize&&(i.whave+=n))),0}r.inflateReset=c,r.inflateReset2=f,r.inflateResetKeep=u,r.inflateInit=function(t){return d(t,15)},r.inflateInit2=d,r.inflate=function(t,e){var r,h,u,c,f,d,g,L,y,v,M,_,w,k,x,C,S,I,A,P,R,E,z,T,F=0,O=new a.Buf8(4),B=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!t||!t.state||!t.output||!t.input&&0!==t.avail_in)return -2;12===(r=t.state).mode&&(r.mode=13),f=t.next_out,u=t.output,g=t.avail_out,c=t.next_in,h=t.input,d=t.avail_in,L=r.hold,y=r.bits,v=d,M=g,E=0;t:for(;;)switch(r.mode){case 1:if(0===r.wrap){r.mode=13;break}for(;y<16;){if(0===d)break t;d--,L+=h[c++]<<y,y+=8}if(2&r.wrap&&35615===L){O[r.check=0]=255&L,O[1]=L>>>8&255,r.check=n(r.check,O,2,0),y=L=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&L)<<8)+(L>>8))%31){t.msg="incorrect header check",r.mode=30;break}if(8!=(15&L)){t.msg="unknown compression method",r.mode=30;break}if(y-=4,R=8+(15&(L>>>=4)),0===r.wbits)r.wbits=R;else if(R>r.wbits){t.msg="invalid window size",r.mode=30;break}r.dmax=1<<R,t.adler=r.check=1,r.mode=512&L?10:12,y=L=0;break;case 2:for(;y<16;){if(0===d)break t;d--,L+=h[c++]<<y,y+=8}if(r.flags=L,8!=(255&r.flags)){t.msg="unknown compression method",r.mode=30;break}if(57344&r.flags){t.msg="unknown header flags set",r.mode=30;break}r.head&&(r.head.text=L>>8&1),512&r.flags&&(O[0]=255&L,O[1]=L>>>8&255,r.check=n(r.check,O,2,0)),y=L=0,r.mode=3;case 3:for(;y<32;){if(0===d)break t;d--,L+=h[c++]<<y,y+=8}r.head&&(r.head.time=L),512&r.flags&&(O[0]=255&L,O[1]=L>>>8&255,O[2]=L>>>16&255,O[3]=L>>>24&255,r.check=n(r.check,O,4,0)),y=L=0,r.mode=4;case 4:for(;y<16;){if(0===d)break t;d--,L+=h[c++]<<y,y+=8}r.head&&(r.head.xflags=255&L,r.head.os=L>>8),512&r.flags&&(O[0]=255&L,O[1]=L>>>8&255,r.check=n(r.check,O,2,0)),y=L=0,r.mode=5;case 5:if(1024&r.flags){for(;y<16;){if(0===d)break t;d--,L+=h[c++]<<y,y+=8}r.length=L,r.head&&(r.head.extra_len=L),512&r.flags&&(O[0]=255&L,O[1]=L>>>8&255,r.check=n(r.check,O,2,0)),y=L=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&(d<(_=r.length)&&(_=d),_&&(r.head&&(R=r.head.extra_len-r.length,r.head.extra||(r.head.extra=Array(r.head.extra_len)),a.arraySet(r.head.extra,h,c,_,R)),512&r.flags&&(r.check=n(r.check,h,_,c)),d-=_,c+=_,r.length-=_),r.length))break t;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===d)break t;for(_=0;R=h[c+_++],r.head&&R&&r.length<65536&&(r.head.name+=String.fromCharCode(R)),R&&_<d;);if(512&r.flags&&(r.check=n(r.check,h,_,c)),d-=_,c+=_,R)break t}else r.head&&(r.head.name=null);r.length=0,r.mode=8;case 8:if(4096&r.flags){if(0===d)break t;for(_=0;R=h[c+_++],r.head&&R&&r.length<65536&&(r.head.comment+=String.fromCharCode(R)),R&&_<d;);if(512&r.flags&&(r.check=n(r.check,h,_,c)),d-=_,c+=_,R)break t}else r.head&&(r.head.comment=null);r.mode=9;case 9:if(512&r.flags){for(;y<16;){if(0===d)break t;d--,L+=h[c++]<<y,y+=8}if(L!==(65535&r.check)){t.msg="header crc mismatch",r.mode=30;break}y=L=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),t.adler=r.check=0,r.mode=12;break;case 10:for(;y<32;){if(0===d)break t;d--,L+=h[c++]<<y,y+=8}t.adler=r.check=l(L),y=L=0,r.mode=11;case 11:if(0===r.havedict)return t.next_out=f,t.avail_out=g,t.next_in=c,t.avail_in=d,r.hold=L,r.bits=y,2;t.adler=r.check=1,r.mode=12;case 12:if(5===e||6===e)break t;case 13:if(r.last){L>>>=7&y,y-=7&y,r.mode=27;break}for(;y<3;){if(0===d)break t;d--,L+=h[c++]<<y,y+=8}switch(r.last=1&L,y-=1,3&(L>>>=1)){case 0:r.mode=14;break;case 1:if(function(t){if($){var e;for(m=new a.Buf32(512),p=new a.Buf32(32),e=0;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(o(1,t.lens,0,288,m,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;o(2,t.lens,0,32,p,0,t.work,{bits:5}),$=!1}t.lencode=m,t.lenbits=9,t.distcode=p,t.distbits=5}(r),r.mode=20,6!==e)break;L>>>=2,y-=2;break t;case 2:r.mode=17;break;case 3:t.msg="invalid block type",r.mode=30}L>>>=2,y-=2;break;case 14:for(L>>>=7&y,y-=7&y;y<32;){if(0===d)break t;d--,L+=h[c++]<<y,y+=8}if((65535&L)!=(L>>>16^65535)){t.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&L,y=L=0,r.mode=15,6===e)break t;case 15:r.mode=16;case 16:if(_=r.length){if(d<_&&(_=d),g<_&&(_=g),0===_)break t;a.arraySet(u,h,c,_,f),d-=_,c+=_,g-=_,f+=_,r.length-=_;break}r.mode=12;break;case 17:for(;y<14;){if(0===d)break t;d--,L+=h[c++]<<y,y+=8}if(r.nlen=257+(31&L),y-=5,r.ndist=1+(31&(L>>>=5)),y-=5,r.ncode=4+(15&(L>>>=5)),L>>>=4,y-=4,286<r.nlen||30<r.ndist){t.msg="too many length or distance symbols",r.mode=30;break}r.have=0,r.mode=18;case 18:for(;r.have<r.ncode;){for(;y<3;){if(0===d)break t;d--,L+=h[c++]<<y,y+=8}r.lens[B[r.have++]]=7&L,L>>>=3,y-=3}for(;r.have<19;)r.lens[B[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,z={bits:r.lenbits},E=o(0,r.lens,0,19,r.lencode,0,r.work,z),r.lenbits=z.bits,E){t.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have<r.nlen+r.ndist;){for(;C=(F=r.lencode[L&(1<<r.lenbits)-1])>>>16&255,S=65535&F,!((x=F>>>24)<=y);){if(0===d)break t;d--,L+=h[c++]<<y,y+=8}if(S<16)L>>>=x,y-=x,r.lens[r.have++]=S;else{if(16===S){for(T=x+2;y<T;){if(0===d)break t;d--,L+=h[c++]<<y,y+=8}if(L>>>=x,y-=x,0===r.have){t.msg="invalid bit length repeat",r.mode=30;break}R=r.lens[r.have-1],_=3+(3&L),L>>>=2,y-=2}else if(17===S){for(T=x+3;y<T;){if(0===d)break t;d--,L+=h[c++]<<y,y+=8}y-=x,R=0,_=3+(7&(L>>>=x)),L>>>=3,y-=3}else{for(T=x+7;y<T;){if(0===d)break t;d--,L+=h[c++]<<y,y+=8}y-=x,R=0,_=11+(127&(L>>>=x)),L>>>=7,y-=7}if(r.have+_>r.nlen+r.ndist){t.msg="invalid bit length repeat",r.mode=30;break}for(;_--;)r.lens[r.have++]=R}}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,z={bits:r.lenbits},E=o(1,r.lens,0,r.nlen,r.lencode,0,r.work,z),r.lenbits=z.bits,E){t.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,z={bits:r.distbits},E=o(2,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,z),r.distbits=z.bits,E){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<=d&&258<=g){t.next_out=f,t.avail_out=g,t.next_in=c,t.avail_in=d,r.hold=L,r.bits=y,i(t,M),f=t.next_out,u=t.output,g=t.avail_out,c=t.next_in,h=t.input,d=t.avail_in,L=r.hold,y=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;C=(F=r.lencode[L&(1<<r.lenbits)-1])>>>16&255,S=65535&F,!((x=F>>>24)<=y);){if(0===d)break t;d--,L+=h[c++]<<y,y+=8}if(C&&0==(240&C)){for(I=x,A=C,P=S;C=(F=r.lencode[P+((L&(1<<I+A)-1)>>I)])>>>16&255,S=65535&F,!(I+(x=F>>>24)<=y);){if(0===d)break t;d--,L+=h[c++]<<y,y+=8}L>>>=I,y-=I,r.back+=I}if(L>>>=x,y-=x,r.back+=x,r.length=S,0===C){r.mode=26;break}if(32&C){r.back=-1,r.mode=12;break}if(64&C){t.msg="invalid literal/length code",r.mode=30;break}r.extra=15&C,r.mode=22;case 22:if(r.extra){for(T=r.extra;y<T;){if(0===d)break t;d--,L+=h[c++]<<y,y+=8}r.length+=L&(1<<r.extra)-1,L>>>=r.extra,y-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;C=(F=r.distcode[L&(1<<r.distbits)-1])>>>16&255,S=65535&F,!((x=F>>>24)<=y);){if(0===d)break t;d--,L+=h[c++]<<y,y+=8}if(0==(240&C)){for(I=x,A=C,P=S;C=(F=r.distcode[P+((L&(1<<I+A)-1)>>I)])>>>16&255,S=65535&F,!(I+(x=F>>>24)<=y);){if(0===d)break t;d--,L+=h[c++]<<y,y+=8}L>>>=I,y-=I,r.back+=I}if(L>>>=x,y-=x,r.back+=x,64&C){t.msg="invalid distance code",r.mode=30;break}r.offset=S,r.extra=15&C,r.mode=24;case 24:if(r.extra){for(T=r.extra;y<T;){if(0===d)break t;d--,L+=h[c++]<<y,y+=8}r.offset+=L&(1<<r.extra)-1,L>>>=r.extra,y-=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===g)break t;if(_=M-g,r.offset>_){if((_=r.offset-_)>r.whave&&r.sane){t.msg="invalid distance too far back",r.mode=30;break}w=_>r.wnext?(_-=r.wnext,r.wsize-_):r.wnext-_,_>r.length&&(_=r.length),k=r.window}else k=u,w=f-r.offset,_=r.length;for(g<_&&(_=g),g-=_,r.length-=_;u[f++]=k[w++],--_;);0===r.length&&(r.mode=21);break;case 26:if(0===g)break t;u[f++]=r.length,g--,r.mode=21;break;case 27:if(r.wrap){for(;y<32;){if(0===d)break t;d--,L|=h[c++]<<y,y+=8}if(M-=g,t.total_out+=M,r.total+=M,M&&(t.adler=r.check=r.flags?n(r.check,u,M,f-M):s(r.check,u,M,f-M)),M=g,(r.flags?L:l(L))!==r.check){t.msg="incorrect data check",r.mode=30;break}y=L=0}r.mode=28;case 28:if(r.wrap&&r.flags){for(;y<32;){if(0===d)break t;d--,L+=h[c++]<<y,y+=8}if(L!==(0|r.total)){t.msg="incorrect length check",r.mode=30;break}y=L=0}r.mode=29;case 29:E=1;break t;case 30:E=-3;break t;case 31:return -4;default:return -2}return t.next_out=f,t.avail_out=g,t.next_in=c,t.avail_in=d,r.hold=L,r.bits=y,(r.wsize||M!==t.avail_out&&r.mode<30&&(r.mode<27||4!==e))&&b(t,t.output,t.next_out,M-t.avail_out)?(r.mode=31,-4):(v-=t.avail_in,M-=t.avail_out,t.total_in+=v,t.total_out+=M,r.total+=M,r.wrap&&M&&(t.adler=r.check=r.flags?n(r.check,u,M,t.next_out-M):s(r.check,u,M,t.next_out-M)),t.data_type=r.bits+64*!!r.last+128*(12===r.mode)+256*(20===r.mode||15===r.mode),(0==v&&0===M||4===e)&&0===E&&(E=-5),E)},r.inflateEnd=function(t){if(!t||!t.state)return -2;var e=t.state;return e.window&&(e.window=null),t.state=null,0},r.inflateGetHeader=function(t,e){var r;return t&&t.state?0==(2&(r=t.state).wrap)?-2:((r.head=e).done=!1,0):-2},r.inflateSetDictionary=function(t,e){var r,a=e.length;return t&&t.state?0!==(r=t.state).wrap&&11!==r.mode?-2:11===r.mode&&s(1,e,a,0)!==r.check?-3:b(t,e,a,a)?(r.mode=31,-4):(r.havedict=1,0):-2},r.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(t,e,r){"use strict";var a=t("../utils/common"),s=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],n=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],i=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],o=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];e.exports=function(t,e,r,l,h,u,c,f){var d,m,p,$,b,g,L,y,v,M=f.bits,_=0,w=0,k=0,x=0,C=0,S=0,I=0,A=0,P=0,R=0,E=null,z=0,T=new a.Buf16(16),F=new a.Buf16(16),O=null,B=0;for(_=0;_<=15;_++)T[_]=0;for(w=0;w<l;w++)T[e[r+w]]++;for(C=M,x=15;1<=x&&0===T[x];x--);if(x<C&&(C=x),0===x)return h[u++]=0x1400000,h[u++]=0x1400000,f.bits=1,0;for(k=1;k<x&&0===T[k];k++);for(C<k&&(C=k),_=A=1;_<=15;_++)if(A<<=1,(A-=T[_])<0)return -1;if(0<A&&(0===t||1!==x))return -1;for(F[1]=0,_=1;_<15;_++)F[_+1]=F[_]+T[_];for(w=0;w<l;w++)0!==e[r+w]&&(c[F[e[r+w]]++]=w);if(g=0===t?(E=O=c,19):1===t?(E=s,z-=257,O=n,B-=257,256):(E=i,O=o,-1),_=k,b=u,I=w=R=0,p=-1,$=(P=1<<(S=C))-1,1===t&&852<P||2===t&&592<P)return 1;for(;;){for(L=_-I,v=c[w]<g?(y=0,c[w]):c[w]>g?(y=O[B+c[w]],E[z+c[w]]):(y=96,0),d=1<<_-I,k=m=1<<S;h[b+(R>>I)+(m-=d)]=L<<24|y<<16|v,0!==m;);for(d=1<<_-1;R&d;)d>>=1;if(0!==d?(R&=d-1,R+=d):R=0,w++,0==--T[_]){if(_===x)break;_=e[r+c[w]]}if(C<_&&(R&$)!==p){for(0===I&&(I=C),b+=k,A=1<<(S=_-I);S+I<x&&!((A-=T[S+I])<=0);)S++,A<<=1;if(P+=1<<S,1===t&&852<P||2===t&&592<P)return 1;h[p=R&$]=C<<24|S<<16|b-u}}return 0!==R&&(h[b+R]=_-I<<24|4194304),f.bits=C,0}},{"../utils/common":41}],51:[function(t,e,r){"use strict";e.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(t,e,r){"use strict";var a=t("../utils/common");function s(t){for(var e=t.length;0<=--e;)t[e]=0}var n=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],i=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],l=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],h=Array(576);s(h);var u=Array(60);s(u);var c=Array(512);s(c);var f=Array(256);s(f);var d=Array(29);s(d);var m,p,$,b=Array(30);function g(t,e,r,a,s){this.static_tree=t,this.extra_bits=e,this.extra_base=r,this.elems=a,this.max_length=s,this.has_stree=t&&t.length}function L(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}function y(t){return t<256?c[t]:c[256+(t>>>7)]}function v(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function M(t,e,r){t.bi_valid>16-r?(t.bi_buf|=e<<t.bi_valid&65535,v(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=r-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=r)}function _(t,e,r){M(t,r[2*e],r[2*e+1])}function w(t,e){for(var r=0;r|=1&t,t>>>=1,r<<=1,0<--e;);return r>>>1}function k(t,e,r){var a,s,n=Array(16),i=0;for(a=1;a<=15;a++)n[a]=i=i+r[a-1]<<1;for(s=0;s<=e;s++){var o=t[2*s+1];0!==o&&(t[2*s]=w(n[o]++,o))}}function x(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 C(t){8<t.bi_valid?v(t,t.bi_buf):0<t.bi_valid&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0}function S(t,e,r,a){var s=2*e,n=2*r;return t[s]<t[n]||t[s]===t[n]&&a[e]<=a[r]}function I(t,e,r){for(var a=t.heap[r],s=r<<1;s<=t.heap_len&&(s<t.heap_len&&S(e,t.heap[s+1],t.heap[s],t.depth)&&s++,!S(e,a,t.heap[s],t.depth));)t.heap[r]=t.heap[s],r=s,s<<=1;t.heap[r]=a}function A(t,e,r){var a,s,o,l,h=0;if(0!==t.last_lit)for(;a=t.pending_buf[t.d_buf+2*h]<<8|t.pending_buf[t.d_buf+2*h+1],s=t.pending_buf[t.l_buf+h],h++,0===a?_(t,s,e):(_(t,(o=f[s])+256+1,e),0!==(l=n[o])&&M(t,s-=d[o],l),_(t,o=y(--a),r),0!==(l=i[o])&&M(t,a-=b[o],l)),h<t.last_lit;);_(t,256,e)}function P(t,e){var r,a,s,n=e.dyn_tree,i=e.stat_desc.static_tree,o=e.stat_desc.has_stree,l=e.stat_desc.elems,h=-1;for(t.heap_len=0,t.heap_max=573,r=0;r<l;r++)0!==n[2*r]?(t.heap[++t.heap_len]=h=r,t.depth[r]=0):n[2*r+1]=0;for(;t.heap_len<2;)n[2*(s=t.heap[++t.heap_len]=h<2?++h:0)]=1,t.depth[s]=0,t.opt_len--,o&&(t.static_len-=i[2*s+1]);for(e.max_code=h,r=t.heap_len>>1;1<=r;r--)I(t,n,r);for(s=l;r=t.heap[1],t.heap[1]=t.heap[t.heap_len--],I(t,n,1),a=t.heap[1],t.heap[--t.heap_max]=r,t.heap[--t.heap_max]=a,n[2*s]=n[2*r]+n[2*a],t.depth[s]=(t.depth[r]>=t.depth[a]?t.depth[r]:t.depth[a])+1,n[2*r+1]=n[2*a+1]=s,t.heap[1]=s++,I(t,n,1),2<=t.heap_len;);t.heap[--t.heap_max]=t.heap[1],function(t,e){var r,a,s,n,i,o,l=e.dyn_tree,h=e.max_code,u=e.stat_desc.static_tree,c=e.stat_desc.has_stree,f=e.stat_desc.extra_bits,d=e.stat_desc.extra_base,m=e.stat_desc.max_length,p=0;for(n=0;n<=15;n++)t.bl_count[n]=0;for(l[2*t.heap[t.heap_max]+1]=0,r=t.heap_max+1;r<573;r++)m<(n=l[2*l[2*(a=t.heap[r])+1]+1]+1)&&(n=m,p++),l[2*a+1]=n,h<a||(t.bl_count[n]++,i=0,d<=a&&(i=f[a-d]),o=l[2*a],t.opt_len+=o*(n+i),c&&(t.static_len+=o*(u[2*a+1]+i)));if(0!==p){do{for(n=m-1;0===t.bl_count[n];)n--;t.bl_count[n]--,t.bl_count[n+1]+=2,t.bl_count[m]--,p-=2}while(0<p)for(n=m;0!==n;n--)for(a=t.bl_count[n];0!==a;)h<(s=t.heap[--r])||(l[2*s+1]!==n&&(t.opt_len+=(n-l[2*s+1])*l[2*s],l[2*s+1]=n),a--)}}(t,e),k(n,h,t.bl_count)}function R(t,e,r){var a,s,n=-1,i=e[1],o=0,l=7,h=4;for(0===i&&(l=138,h=3),e[2*(r+1)+1]=65535,a=0;a<=r;a++)s=i,i=e[2*(a+1)+1],++o<l&&s===i||(o<h?t.bl_tree[2*s]+=o:0!==s?(s!==n&&t.bl_tree[2*s]++,t.bl_tree[32]++):o<=10?t.bl_tree[34]++:t.bl_tree[36]++,n=s,h=(o=0)===i?(l=138,3):s===i?(l=6,3):(l=7,4))}function E(t,e,r){var a,s,n=-1,i=e[1],o=0,l=7,h=4;for(0===i&&(l=138,h=3),a=0;a<=r;a++)if(s=i,i=e[2*(a+1)+1],!(++o<l&&s===i)){if(o<h)for(;_(t,s,t.bl_tree),0!=--o;);else 0!==s?(s!==n&&(_(t,s,t.bl_tree),o--),_(t,16,t.bl_tree),M(t,o-3,2)):o<=10?(_(t,17,t.bl_tree),M(t,o-3,3)):(_(t,18,t.bl_tree),M(t,o-11,7));n=s,h=(o=0)===i?(l=138,3):s===i?(l=6,3):(l=7,4)}}s(b);var z=!1;function T(t,e,r,s){M(t,0+ +!!s,3),C(t),v(t,r),v(t,~r),a.arraySet(t.pending_buf,t.window,e,r,t.pending),t.pending+=r}r._tr_init=function(t){z||(function(){var t,e,r,a,s,l=Array(16);for(a=r=0;a<28;a++)for(d[a]=r,t=0;t<1<<n[a];t++)f[r++]=a;for(f[r-1]=a,a=s=0;a<16;a++)for(b[a]=s,t=0;t<1<<i[a];t++)c[s++]=a;for(s>>=7;a<30;a++)for(b[a]=s<<7,t=0;t<1<<i[a]-7;t++)c[256+s++]=a;for(e=0;e<=15;e++)l[e]=0;for(t=0;t<=143;)h[2*t+1]=8,t++,l[8]++;for(;t<=255;)h[2*t+1]=9,t++,l[9]++;for(;t<=279;)h[2*t+1]=7,t++,l[7]++;for(;t<=287;)h[2*t+1]=8,t++,l[8]++;for(k(h,287,l),t=0;t<30;t++)u[2*t+1]=5,u[2*t]=w(t,5);m=new g(h,n,257,286,15),p=new g(u,i,0,30,15),$=new g([],o,0,19,7)}(),z=!0),t.l_desc=new L(t.dyn_ltree,m),t.d_desc=new L(t.dyn_dtree,p),t.bl_desc=new L(t.bl_tree,$),t.bi_buf=0,t.bi_valid=0,x(t)},r._tr_stored_block=T,r._tr_flush_block=function(t,e,r,a){var s,n,i=0;0<t.level?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,r=0xf3ffc07f;for(e=0;e<=31;e++,r>>>=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)),P(t,t.l_desc),P(t,t.d_desc),i=function(t){var e;for(R(t,t.dyn_ltree,t.l_desc.max_code),R(t,t.dyn_dtree,t.d_desc.max_code),P(t,t.bl_desc),e=18;3<=e&&0===t.bl_tree[2*l[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),s=t.opt_len+3+7>>>3,(n=t.static_len+3+7>>>3)<=s&&(s=n)):s=n=r+5,r+4<=s&&-1!==e?T(t,e,r,a):4===t.strategy||n===s?(M(t,2+ +!!a,3),A(t,h,u)):(M(t,4+ +!!a,3),function(t,e,r,a){var s;for(M(t,e-257,5),M(t,r-1,5),M(t,a-4,4),s=0;s<a;s++)M(t,t.bl_tree[2*l[s]+1],3);E(t,t.dyn_ltree,e-1),E(t,t.dyn_dtree,r-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,i+1),A(t,t.dyn_ltree,t.dyn_dtree)),x(t),a&&C(t)},r._tr_tally=function(t,e,r){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>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*(f[r]+256+1)]++,t.dyn_dtree[2*y(e)]++),t.last_lit===t.lit_bufsize-1},r._tr_align=function(t){M(t,2,3),_(t,256,h),16===t.bi_valid?(v(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):8<=t.bi_valid&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.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,a){(function(t){!function(t){"use strict";if(!t.setImmediate){var e,r,a,s,n=1,i={},o=!1,l=t.document,h=Object.getPrototypeOf&&Object.getPrototypeOf(t);h=h&&h.setTimeout?h:t,e="[object process]"===({}).toString.call(t.process)?function(t){process.nextTick(function(){c(t)})}:!function(){if(t.postMessage&&!t.importScripts){var e=!0,r=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=r,e}}()?t.MessageChannel?((a=new MessageChannel).port1.onmessage=function(t){c(t.data)},function(t){a.port2.postMessage(t)}):l&&"onreadystatechange"in l.createElement("script")?(r=l.documentElement,function(t){var e=l.createElement("script");e.onreadystatechange=function(){c(t),e.onreadystatechange=null,r.removeChild(e),e=null},r.appendChild(e)}):function(t){setTimeout(c,0,t)}:(s="setImmediate$"+Math.random()+"$",t.addEventListener?t.addEventListener("message",f,!1):t.attachEvent("onmessage",f),function(e){t.postMessage(s+e,"*")}),h.setImmediate=function(t){"function"!=typeof t&&(t=Function(""+t));for(var r=Array(arguments.length-1),a=0;a<r.length;a++)r[a]=arguments[a+1];var s={callback:t,args:r};return i[n]=s,e(n),n++},h.clearImmediate=u}function u(t){delete i[t]}function c(t){if(o)setTimeout(c,0,t);else{var e=i[t];if(e){o=!0;try{var r=e.callback,a=e.args;switch(a.length){case 0:r();break;case 1:r(a[0]);break;case 2:r(a[0],a[1]);break;case 3:r(a[0],a[1],a[2]);break;default:r.apply(void 0,a)}}finally{u(t),o=!1}}}}function f(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(s)&&c(+e.data.slice(s.length))}}("u"<typeof self?void 0===t?this:t:self)}).call(this,void 0!==r.g?r.g:"u">typeof self?self:"u">typeof window?window:{})},{}]},{},[10])(10)},363(t){function e(t){var e=Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}e.keys=()=>[],e.resolve=e,e.id=363,t.exports=e}},e={};function r(a){var s=e[a];if(void 0!==s)return s.exports;var n=e[a]={exports:{}};return t[a](n,n.exports,r),n.exports}r.d=(t,e,a)=>{var s=(e,a)=>{for(var s in e)r.o(e,s)&&!r.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,[a]:e[s]})};s(e,"get"),s(a,"value")},r.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(t){if("object"==typeof window)return window}})(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var a={};return(()=>{"use strict";let t,e;r.r(a),r.d(a,{parse:()=>eJ});var s,n,i,o,l,h,u,c,f,d,m,p=r(710);function $(t){return t.replace(/&(#x[0-9a-fA-F]+|#\d+|amp|lt|gt|quot|apos);/g,function(t,e){if("amp"===e)return"&";if("lt"===e)return"<";if("gt"===e)return">";if("quot"===e)return'"';if("apos"===e)return"'";if("#"===e[0]){var r="x"===e[1]||"X"===e[1],a=parseInt(e.slice(r?2:1),r?16:10);if(!Number.isNaN(a)&&a>=0&&a<=1114111)try{return String.fromCodePoint(a)}catch(t){}}return t})}let b=0,g=new Set(["m:oMath","m:oMathPara"]);async function L(t,e){try{let r=t.file(e);if(!r)return null;let a=await r.async("string");return function t(e,r={}){let a={};if(!e.length)return a;if(1===e.length&&"string"==typeof e[0])return Object.keys(r).length?{attrs:{order:b++,...r},value:e[0]}:e[0];for(let r of e){if("string"==typeof r&&""===r.trim())continue;if("object"!=typeof r)return;if("?xml"===r.tagName)continue;a[r.tagName]||(a[r.tagName]=[]);let e=t(r.children||[],r.attributes);"object"==typeof e&&(e.attrs?e.attrs.order=b++:e.attrs={order:b++},g.has(r.tagName)&&Object.defineProperty(e,"__rawNode",{value:r,enumerable:!1})),Object.keys(r.attributes||{}).length&&(e.attrs={...e.attrs,...r.attributes}),a[r.tagName].push(e)}for(let t in a)1===a[t].length&&(a[t]=a[t][0]);return a}(function t(e,r){var a=(r=r||{}).pos||0,s=!!r.keepComments,n=!!r.keepWhitespace,i=!!r.decodeEntities;function o(t){for(var r=[];e[a];)if(60==e.charCodeAt(a)){if(47===e.charCodeAt(a+1)){var o=a+2;if(a=e.indexOf(">",a),-1==e.substring(o,a).indexOf(t)){var l=e.substring(0,a).split("\n");throw Error("Unexpected close tag\nLine: "+(l.length-1)+"\nColumn: "+(l[l.length-1].length+1)+"\nChar: "+e[a])}return a+1&&(a+=1),r}if(33===e.charCodeAt(a+1)){if(45==e.charCodeAt(a+2)){let t=a;for(;-1!==a&&(62!==e.charCodeAt(a)||45!=e.charCodeAt(a-1)||45!=e.charCodeAt(a-2)||-1==a);)a=e.indexOf(">",a+1);-1===a&&(a=e.length),s&&r.push(e.substring(t,a+1))}else{if(91===e.charCodeAt(a+2)&&91===e.charCodeAt(a+8)&&"cdata"===e.substr(a+3,5).toLowerCase()){var h=e.indexOf("]]>",a);-1==h?(r.push(e.substr(a+9)),a=e.length):(r.push(e.substring(a+9,h)),a=h+3);continue}{let t=a+1;a+=2;for(var u=!1;(62!==e.charCodeAt(a)||!0===u)&&e[a];)91===e.charCodeAt(a)?u=!0:!0===u&&93===e.charCodeAt(a)&&(u=!1),a++;r.push(e.substring(t,a))}}a++;continue}var c=f();r.push(c)}else{var d=function(){var t=a;-2==(a=e.indexOf("<",a)-1)&&(a=e.length);var r=e.slice(t,a+1);return i?$(r):r}();if(n)d.length>0&&r.push(d);else{var m=d.trim();m.length>0&&r.push(m)}a++}return r}var l="\r\n >/= ";function h(){for(var t=a;-1===l.indexOf(e[a])&&e[a];)a++;return e.slice(t,a)}var u,c=r.selfClosingTags||r.noChildNodes||["img","br","input","meta","link","hr"];function f(){a++;let t=h(),r="?"===t[0],s=a,n={},u=[];for(;e[a]&&62!==e.charCodeAt(a)&&(!r||63!==e.charCodeAt(a)||62!==e.charCodeAt(a+1));){var f=e.charCodeAt(a);if(f>64&&f<91||f>96&&f<123){for(var d=h(),m=null;32===e.charCodeAt(a)||9===e.charCodeAt(a)||10===e.charCodeAt(a)||13===e.charCodeAt(a);)a++;if(61===e.charCodeAt(a)){for(a++;32===e.charCodeAt(a)||9===e.charCodeAt(a)||10===e.charCodeAt(a)||13===e.charCodeAt(a);)a++;var p=e.charCodeAt(a);if(39===p||34===p){if(m=function(){var t=e[a],r=a+1;a=e.indexOf(t,r);var s=e.slice(r,a);return i?$(s):s}(),-1===a)return{tagName:t,attributes:n,children:u}}else if(p&&62!==p){for(var b=a;e[a]&&-1===l.indexOf(e[a]);)a++;m=e.slice(b,a),i&&(m=$(m))}}n[d]=m}else a++}if(r){var g=e.slice(s,a).trim();return g.length>0&&0===Object.keys(n).length&&(u=[g]),63===e.charCodeAt(a)&&62===e.charCodeAt(a+1)?a+=2:62===e.charCodeAt(a)&&(a+=1),{tagName:t,attributes:n,children:u}}if(47!==e.charCodeAt(a-1)&&63!==e.charCodeAt(a-1))if("script"==t){var L=a+1;a=e.indexOf("<\/script>",a),u=[e.slice(L,a)],a+=9}else"style"==t?(L=a+1,a=e.indexOf("</style>",a),u=[e.slice(L,a)],a+=8):-1===c.indexOf(t)?(a++,u=o(t)):a++;else a++;return{tagName:t,attributes:n,children:u}}if(void 0!==r.attrValue)for(r.attrName=r.attrName||"id",u=[];-1!==(a=function(){if(!r||!r.attrName||!r.attrValue)return -1;var t=RegExp("\\s"+r.attrName+"\\s*=['\"]"+r.attrValue+"['\"]").exec(e);return t?t.index:-1}());)-1!==(a=e.lastIndexOf("<",a))&&u.push(f()),e=e.substr(a),a=0;else u=r.parseNode?f():o("");return(r.filter&&Array.isArray(u)&&(u=function t(e,r,a=0,s=""){var n=[];return e.forEach(function(e,i){if("object"==typeof e&&r(e,i,a,s)&&n.push(e),"object"==typeof e&&e.children){var o=t(e.children,r,a+1,(s?s+".":"")+i+"."+e.tagName);n=n.concat(o)}}),n}(u,r.filter)),r.simplify)?function e(r){if("string"==typeof r)return e(t(r));if(!Array.isArray(r))throw TypeError("simplify() expects parsed node array or XML string");var a={};if(!r.length)return"";if(1===r.length&&"string"==typeof r[0])return r[0];for(var s in r.forEach(function(t){if("object"==typeof t){a[t.tagName]||(a[t.tagName]=[]);var r=e(t.children);a[t.tagName].push(r),Object.keys(t.attributes).length&&"object"==typeof r&&!Array.isArray(r)&&(r._attributes=t.attributes)}}),a)1==a[s].length&&(a[s]=a[s][0]);return a}(Array.isArray(u)?u:[u]):(r.setPos&&"object"==typeof u&&!Array.isArray(u)&&(u.pos=a),u)}(a,{keepWhitespace:!0,decodeEntities:!0}))}catch{return null}}function y(t){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var v=/^\s+/,M=/\s+$/;function _(t,e){if(e=e||{},(t=t||"")instanceof _)return t;if(!(this instanceof _))return new _(t,e);var r,a,s,n,i,o,l,h,u,c,f,d,m,p,$,b,g,L,w,k,x=(a={r:0,g:0,b:0},s=1,n=null,i=null,o=null,l=!1,h=!1,"string"==typeof(r=t)&&(r=function(t){t=t.replace(v,"").replace(M,"").toLowerCase();var e,r=!1;if(j[t])t=j[t],r=!0;else if("transparent"==t)return{r:0,g:0,b:0,a:0,format:"name"};return(e=K.rgb.exec(t))?{r:e[1],g:e[2],b:e[3]}:(e=K.rgba.exec(t))?{r:e[1],g:e[2],b:e[3],a:e[4]}:(e=K.hsl.exec(t))?{h:e[1],s:e[2],l:e[3]}:(e=K.hsla.exec(t))?{h:e[1],s:e[2],l:e[3],a:e[4]}:(e=K.hsv.exec(t))?{h:e[1],s:e[2],v:e[3]}:(e=K.hsva.exec(t))?{h:e[1],s:e[2],v:e[3],a:e[4]}:(e=K.hex8.exec(t))?{r:q(e[1]),g:q(e[2]),b:q(e[3]),a:q(e[4])/255,format:r?"name":"hex8"}:(e=K.hex6.exec(t))?{r:q(e[1]),g:q(e[2]),b:q(e[3]),format:r?"name":"hex"}:(e=K.hex4.exec(t))?{r:q(e[1]+""+e[1]),g:q(e[2]+""+e[2]),b:q(e[3]+""+e[3]),a:q(e[4]+""+e[4])/255,format:r?"name":"hex8"}:!!(e=K.hex3.exec(t))&&{r:q(e[1]+""+e[1]),g:q(e[2]+""+e[2]),b:q(e[3]+""+e[3]),format:r?"name":"hex"}}(r)),"object"==y(r)&&(V(r.r)&&V(r.g)&&V(r.b)?(u=r.r,c=r.g,f=r.b,a={r:255*U(u,255),g:255*U(c,255),b:255*U(f,255)},l=!0,h="%"===String(r.r).substr(-1)?"prgb":"rgb"):V(r.h)&&V(r.s)&&V(r.v)?(n=Z(r.s),i=Z(r.v),d=r.h,m=n,p=i,d=6*U(d,360),m=U(m,100),p=U(p,100),$=Math.floor(d),b=d-$,g=p*(1-m),L=p*(1-b*m),w=p*(1-(1-b)*m),a={r:255*[p,L,g,g,w,p][k=$%6],g:255*[w,p,p,L,g,g][k],b:255*[g,g,w,p,p,L][k]},l=!0,h="hsv"):V(r.h)&&V(r.s)&&V(r.l)&&(n=Z(r.s),o=Z(r.l),a=function(t,e,r){var a,s,n;function i(t,e,r){return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?t+(e-t)*6*r:r<.5?e:r<2/3?t+(e-t)*(2/3-r)*6:t}if(t=U(t,360),e=U(e,100),r=U(r,100),0===e)a=s=n=r;else{var o=r<.5?r*(1+e):r+e-r*e,l=2*r-o;a=i(l,o,t+1/3),s=i(l,o,t),n=i(l,o,t-1/3)}return{r:255*a,g:255*s,b:255*n}}(r.h,n,o),l=!0,h="hsl"),r.hasOwnProperty("a")&&(s=r.a)),s=G(s),{ok:l,format:r.format||h,r:Math.min(255,Math.max(a.r,0)),g:Math.min(255,Math.max(a.g,0)),b:Math.min(255,Math.max(a.b,0)),a:s});this._originalInput=t,this._r=x.r,this._g=x.g,this._b=x.b,this._a=x.a,this._roundA=Math.round(100*this._a)/100,this._format=e.format||x.format,this._gradientType=e.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=x.ok}function w(t,e,r){t=U(t,255);var a,s,n=Math.max(t,e=U(e,255),r=U(r,255)),i=Math.min(t,e,r),o=(n+i)/2;if(n==i)a=s=0;else{var l=n-i;switch(s=o>.5?l/(2-n-i):l/(n+i),n){case t:a=(e-r)/l+6*(e<r);break;case e:a=(r-t)/l+2;break;case r:a=(t-e)/l+4}a/=6}return{h:a,s:s,l:o}}function k(t,e,r){t=U(t,255);var a,s=Math.max(t,e=U(e,255),r=U(r,255)),n=Math.min(t,e,r),i=s-n;if(s==n)a=0;else{switch(s){case t:a=(e-r)/i+6*(e<r);break;case e:a=(r-t)/i+2;break;case r:a=(t-e)/i+4}a/=6}return{h:a,s:0===s?0:i/s,v:s}}function x(t,e,r,a){var s=[Y(Math.round(t).toString(16)),Y(Math.round(e).toString(16)),Y(Math.round(r).toString(16))];return a&&s[0].charAt(0)==s[0].charAt(1)&&s[1].charAt(0)==s[1].charAt(1)&&s[2].charAt(0)==s[2].charAt(1)?s[0].charAt(0)+s[1].charAt(0)+s[2].charAt(0):s.join("")}function C(t,e,r,a){return[Y(W(a)),Y(Math.round(t).toString(16)),Y(Math.round(e).toString(16)),Y(Math.round(r).toString(16))].join("")}function S(t,e){e=0===e?0:e||10;var r=_(t).toHsl();return r.s-=e/100,r.s=H(r.s),_(r)}function I(t,e){e=0===e?0:e||10;var r=_(t).toHsl();return r.s+=e/100,r.s=H(r.s),_(r)}function A(t){return _(t).desaturate(100)}function P(t,e){e=0===e?0:e||10;var r=_(t).toHsl();return r.l+=e/100,r.l=H(r.l),_(r)}function R(t,e){e=0===e?0:e||10;var r=_(t).toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(-(e/100*255)))),r.g=Math.max(0,Math.min(255,r.g-Math.round(-(e/100*255)))),r.b=Math.max(0,Math.min(255,r.b-Math.round(-(e/100*255)))),_(r)}function E(t,e){e=0===e?0:e||10;var r=_(t).toHsl();return r.l-=e/100,r.l=H(r.l),_(r)}function z(t,e){var r=_(t).toHsl(),a=(r.h+e)%360;return r.h=a<0?360+a:a,_(r)}function T(t){var e=_(t).toHsl();return e.h=(e.h+180)%360,_(e)}function F(t,e){if(isNaN(e)||e<=0)throw Error("Argument to polyad must be a positive number");for(var r=_(t).toHsl(),a=[_(t)],s=360/e,n=1;n<e;n++)a.push(_({h:(r.h+n*s)%360,s:r.s,l:r.l}));return a}function O(t){var e=_(t).toHsl(),r=e.h;return[_(t),_({h:(r+72)%360,s:e.s,l:e.l}),_({h:(r+216)%360,s:e.s,l:e.l})]}function B(t,e,r){e=e||6,r=r||30;var a=_(t).toHsl(),s=360/r,n=[_(t)];for(a.h=(a.h-(s*e>>1)+720)%360;--e;)a.h=(a.h+s)%360,n.push(_(a));return n}function N(t,e){e=e||6;for(var r=_(t).toHsv(),a=r.h,s=r.s,n=r.v,i=[],o=1/e;e--;)i.push(_({h:a,s:s,v:n})),n=(n+o)%1;return i}_.prototype={isDark:function(){return 128>this.getBrightness()},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var t=this.toRgb();return(299*t.r+587*t.g+114*t.b)/1e3},getLuminance:function(){var t,e,r,a=this.toRgb();return t=a.r/255,e=a.g/255,.2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.0722*((r=a.b/255)<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))},setAlpha:function(t){return this._a=G(t),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var t=k(this._r,this._g,this._b);return{h:360*t.h,s:t.s,v:t.v,a:this._a}},toHsvString:function(){var t=k(this._r,this._g,this._b),e=Math.round(360*t.h),r=Math.round(100*t.s),a=Math.round(100*t.v);return 1==this._a?"hsv("+e+", "+r+"%, "+a+"%)":"hsva("+e+", "+r+"%, "+a+"%, "+this._roundA+")"},toHsl:function(){var t=w(this._r,this._g,this._b);return{h:360*t.h,s:t.s,l:t.l,a:this._a}},toHslString:function(){var t=w(this._r,this._g,this._b),e=Math.round(360*t.h),r=Math.round(100*t.s),a=Math.round(100*t.l);return 1==this._a?"hsl("+e+", "+r+"%, "+a+"%)":"hsla("+e+", "+r+"%, "+a+"%, "+this._roundA+")"},toHex:function(t){return x(this._r,this._g,this._b,t)},toHexString:function(t){return"#"+this.toHex(t)},toHex8:function(t){var e,r,a,s,n,i;return e=this._r,r=this._g,a=this._b,s=this._a,n=t,i=[Y(Math.round(e).toString(16)),Y(Math.round(r).toString(16)),Y(Math.round(a).toString(16)),Y(W(s))],n&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0):i.join("")},toHex8String:function(t){return"#"+this.toHex8(t)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*U(this._r,255))+"%",g:Math.round(100*U(this._g,255))+"%",b:Math.round(100*U(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+Math.round(100*U(this._r,255))+"%, "+Math.round(100*U(this._g,255))+"%, "+Math.round(100*U(this._b,255))+"%)":"rgba("+Math.round(100*U(this._r,255))+"%, "+Math.round(100*U(this._g,255))+"%, "+Math.round(100*U(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(D[x(this._r,this._g,this._b,!0)]||!1)},toFilter:function(t){var e="#"+C(this._r,this._g,this._b,this._a),r=e,a=this._gradientType?"GradientType = 1, ":"";if(t){var s=_(t);r="#"+C(s._r,s._g,s._b,s._a)}return"progid:DXImageTransform.Microsoft.gradient("+a+"startColorstr="+e+",endColorstr="+r+")"},toString:function(t){var e=!!t;t=t||this._format;var r=!1,a=this._a<1&&this._a>=0;return!e&&a&&("hex"===t||"hex6"===t||"hex3"===t||"hex4"===t||"hex8"===t||"name"===t)?"name"===t&&0===this._a?this.toName():this.toRgbString():("rgb"===t&&(r=this.toRgbString()),"prgb"===t&&(r=this.toPercentageRgbString()),("hex"===t||"hex6"===t)&&(r=this.toHexString()),"hex3"===t&&(r=this.toHexString(!0)),"hex4"===t&&(r=this.toHex8String(!0)),"hex8"===t&&(r=this.toHex8String()),"name"===t&&(r=this.toName()),"hsl"===t&&(r=this.toHslString()),"hsv"===t&&(r=this.toHsvString()),r||this.toHexString())},clone:function(){return _(this.toString())},_applyModification:function(t,e){var r=t.apply(null,[this].concat([].slice.call(e)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(P,arguments)},brighten:function(){return this._applyModification(R,arguments)},darken:function(){return this._applyModification(E,arguments)},desaturate:function(){return this._applyModification(S,arguments)},saturate:function(){return this._applyModification(I,arguments)},greyscale:function(){return this._applyModification(A,arguments)},spin:function(){return this._applyModification(z,arguments)},_applyCombination:function(t,e){return t.apply(null,[this].concat([].slice.call(e)))},analogous:function(){return this._applyCombination(B,arguments)},complement:function(){return this._applyCombination(T,arguments)},monochromatic:function(){return this._applyCombination(N,arguments)},splitcomplement:function(){return this._applyCombination(O,arguments)},triad:function(){return this._applyCombination(F,[3])},tetrad:function(){return this._applyCombination(F,[4])}},_.fromRatio=function(t,e){if("object"==y(t)){var r={};for(var a in t)t.hasOwnProperty(a)&&("a"===a?r[a]=t[a]:r[a]=Z(t[a]));t=r}return _(t,e)},_.equals=function(t,e){return!!t&&!!e&&_(t).toRgbString()==_(e).toRgbString()},_.random=function(){return _.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},_.mix=function(t,e,r){r=0===r?0:r||50;var a=_(t).toRgb(),s=_(e).toRgb(),n=r/100;return _({r:(s.r-a.r)*n+a.r,g:(s.g-a.g)*n+a.g,b:(s.b-a.b)*n+a.b,a:(s.a-a.a)*n+a.a})},_.readability=function(t,e){var r=_(t),a=_(e);return(Math.max(r.getLuminance(),a.getLuminance())+.05)/(Math.min(r.getLuminance(),a.getLuminance())+.05)},_.isReadable=function(t,e,r){var a,s,n,i,o,l=_.readability(t,e);switch(o=!1,(s=((a=(a=r)||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(a.size||"small").toLowerCase(),"AA"!==s&&"AAA"!==s&&(s="AA"),"small"!==n&&"large"!==n&&(n="small"),i={level:s,size:n}).level+i.size){case"AAsmall":case"AAAlarge":o=l>=4.5;break;case"AAlarge":o=l>=3;break;case"AAAsmall":o=l>=7}return o},_.mostReadable=function(t,e,r){var a,s,n,i,o=null,l=0;s=(r=r||{}).includeFallbackColors,n=r.level,i=r.size;for(var h=0;h<e.length;h++)(a=_.readability(t,e[h]))>l&&(l=a,o=_(e[h]));return _.isReadable(t,o,{level:n,size:i})||!s?o:(r.includeFallbackColors=!1,_.mostReadable(t,["#fff","#000"],r))};var j=_.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},D=_.hexNames=function(t){var e={};for(var r in t)t.hasOwnProperty(r)&&(e[t[r]]=r);return e}(j);function G(t){return(isNaN(t=parseFloat(t))||t<0||t>1)&&(t=1),t}function U(t,e){"string"==typeof(r=t)&&-1!=r.indexOf(".")&&1===parseFloat(r)&&(t="100%");var r,a,s="string"==typeof(a=t)&&-1!=a.indexOf("%");return(t=Math.min(e,Math.max(0,parseFloat(t))),s&&(t=parseInt(t*e,10)/100),1e-6>Math.abs(t-e))?1:t%e/parseFloat(e)}function H(t){return Math.min(1,Math.max(0,t))}function q(t){return parseInt(t,16)}function Y(t){return 1==t.length?"0"+t:""+t}function Z(t){return t<=1&&(t=100*t+"%"),t}function W(t){return Math.round(255*parseFloat(t)).toString(16)}var K=(n="[\\s|\\(]+("+(s="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+s+")[,|\\s]+("+s+")\\s*\\)?",i="[\\s|\\(]+("+s+")[,|\\s]+("+s+")[,|\\s]+("+s+")[,|\\s]+("+s+")\\s*\\)?",{CSS_UNIT:new RegExp(s),rgb:RegExp("rgb"+n),rgba:RegExp("rgba"+i),hsl:RegExp("hsl"+n),hsla:RegExp("hsla"+i),hsv:RegExp("hsv"+n),hsva:RegExp("hsva"+i),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function V(t){return!!K.CSS_UNIT.exec(t)}function J(t){return"1"===t||"true"===t}function Q(t){return t.substr((~-t.lastIndexOf(".")>>>0)+2)}function X(t,e){if(!t)return t;let r="";if(t.constructor===Array)for(let a=0;a<t.length;a++)r+=e(t[a],a);else r+=e(t,0);return r}function tt(t,e){if(!t)return t;for(let r of e)if(!(t=t[r]))break;return t}function te(t){return t?Math.round(t/6e4):0}function tr(t){let e={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#039;"};return t.replace(/[&<>"']/g,t=>e[t])}function ta(t){let e=t.toString(16);for(;e.length<2;)e="0"+e;return e}function ts(t,e=4){return parseFloat(t.toFixed(e))}function tn(t,e,r,a){let s,n;if(r)n=r;else{let t=tt(e.slideContent,["p:sld","p:clrMapOvr","a:overrideClrMapping","attrs"]);n=t||(t=tt(e.slideLayoutContent,["p:sldLayout","p:clrMapOvr","a:overrideClrMapping","attrs"]))?t:tt(e.slideMasterContent,["p:sldMaster","p:clrMap","attrs"])}let i=t.substr(2);if("phClr"===i&&a)s=a;else{if(n)switch(i){case"tx1":case"tx2":case"bg1":case"bg2":t="a:"+n[i]}else switch(i){case"tx1":t="a:dk1";break;case"tx2":t="a:dk2";break;case"bg1":t="a:lt1";break;case"bg2":t="a:lt2"}let r=tt(e.themeContent,["a:theme","a:themeElements","a:clrScheme",t]);(s=tt(r,["a:srgbClr","attrs","val"]))||!r||(s=tt(r,["a:sysClr","attrs","lastClr"]))}return s}function ti(t,e,r){return(r<0&&(r+=6),r>=6&&(r-=6),r<1)?(e-t)*r+t:r<3?e:r<4?(e-t)*(4-r)+t:t}function to(t,e,r){let a=_(t).toHsl();e>=1&&(e=1);let s=a.l*e+(1-e);return r?_({h:a.h,s:a.s,l:s,a:a.a}).toHex8():_({h:a.h,s:a.s,l:s,a:a.a}).toHex()}function tl(t){let e="";return t["a:noFill"]&&(e="NO_FILL"),t["a:solidFill"]&&(e="SOLID_FILL"),t["a:gradFill"]&&(e="GRADIENT_FILL"),t["a:pattFill"]&&(e="PATTERN_FILL"),t["a:blipFill"]&&(e="PIC_FILL"),t["a:grpFill"]&&(e="GROUP_FILL"),e}function th(t=""){return{ref:t,base64:"",blob:"",align:{t:0,b:0,l:0,r:0},alignType:"stretch"}}function tu(t=""){return{ref:t,blob:""}}async function tc(t,e,r,a="base64"){let s;if(!t||"base64"!==a&&"blob"!==a)return"";let n=tr(t),i=(s=e[r]||{},e[r]=s,s),o=i[n]||{base64:"",blob:""};if(i[n]=o,o[a])return o[a];let l=n.split(".").pop().toLowerCase();if("xml"===l)return"";let h=e.zip.file(n);if(!h)return"";let u=await h.async("arraybuffer"),c=function(t){let e="";switch(t.toLowerCase()){case"jpg":case"jpeg":e="image/jpeg";break;case"png":e="image/png";break;case"gif":e="image/gif";break;case"emf":e="image/x-emf";break;case"wmf":e="image/x-wmf";break;case"svg":e="image/svg+xml";break;case"mp4":e="video/mp4";break;case"webm":e="video/webm";break;case"ogg":e="video/ogg";break;case"avi":e="video/avi";break;case"mpg":e="video/mpg";break;case"wmv":e="video/wmv";break;case"mp3":e="audio/mpeg";break;case"wav":e="audio/wav";break;case"tif":case"tiff":e="image/tiff"}return e}(l);if("emf"===l){let t=function(t){if("u"<typeof document)return"";let e=function(t){if(!t||t.length<44)return null;let e=new DataView(t.buffer,t.byteOffset,t.byteLength);if(0x464d4520!==e.getUint32(40,!0))return null;let r=0;for(;r+8<=t.length;){let a=e.getUint32(r,!0),s=e.getUint32(r+4,!0);if(s<8||r+s>t.length||14===a)break;if(81===a&&s>80){let a=function(t,e,r){if(r+80>t.length)return null;let a=e.getUint32(r+48,!0),s=e.getUint32(r+52,!0),n=e.getUint32(r+56,!0),i=e.getUint32(r+60,!0);if(0===s||0===i)return null;let o=r+a;if(o+40>t.length)return null;let l=e.getInt32(o+4,!0),h=e.getInt32(o+8,!0),u=e.getUint16(o+14,!0);if(0!==e.getUint32(o+16,!0)||24!==u&&32!==u)return null;let c=Math.abs(l),f=Math.abs(h);if(0===c||0===f||c>8192||f>8192)return null;let d=r+n;if(d+i>t.length)return null;let m=t.subarray(d,d+i),p=h<0,$=new Uint8ClampedArray(c*f*4),b=u/8,g=4*Math.ceil(c*b/4);for(let t=0;t<f;t++){let e=(p?t:f-1-t)*g,r=t*c*4;for(let t=0;t<c;t++){let a=e+t*b;if(a+b>m.length)break;$[r+4*t+0]=m[a+2],$[r+4*t+1]=m[a+1],$[r+4*t+2]=m[a+0],$[r+4*t+3]=32===u?m[a+3]:255}}return{width:c,height:f,data:$}}(t,e,r);if(a)return a}r+=s}return null}(t);if(!e)return"";let r=document.createElement("canvas");r.width=e.width,r.height=e.height;let a=r.getContext("2d");return a?(a.putImageData(new ImageData(e.data,e.width,e.height),0,0),r.toDataURL("image/png")):""}(new Uint8Array(u));if(t){if("base64"===a)o.base64=t;else{let e=Uint8Array.from(atob(t.split(",")[1]),t=>t.charCodeAt(0));o.blob=URL.createObjectURL(new Blob([e],{type:"image/png"}))}return o[a]}}return"base64"===a?o.base64=`data:${c};base64,${function(t){let e,r,a,s,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=new Uint8Array(t),o=i.byteLength,l=o%3,h=o-l,u="";for(let t=0;t<h;t+=3)e=(0xfc0000&(s=i[t]<<16|i[t+1]<<8|i[t+2]))>>18,u+=n[e]+n[r=(258048&s)>>12]+n[a=(4032&s)>>6]+n[63&s];return 1===l?(e=(252&(s=i[h]))>>2,u+=n[e]+n[r=(3&s)<<4]+"=="):2===l&&(e=(64512&(s=i[h]<<8|i[h+1]))>>10,u+=n[e]+n[r=(1008&s)>>4]+n[a=(15&s)<<2]+"="),u}(u)}`:"blob"===a&&(o.blob=URL.createObjectURL(new Blob([u],c?{type:c}:void 0))),o[a]}async function tf(t,e,r="base64"){return await tc(t,e,"loadedImages",r)}async function td(t,e,r="blob"){return"blob"!==r?"":await tc(t,e,"loadedVideos","blob")}async function tm(t,e,r="blob"){return"blob"!==r?"":await tc(t,e,"loadedAudios","blob")}async function tp(t,e){let r,a=th(t||"");if(!t)return a;let s="blob"===(r=tt(e,["options","imageMode"]))||"both"===r||"none"===r?r:"base64";return("base64"===s||"both"===s)&&(a.base64=await tf(t,e,"base64")),("blob"===s||"both"===s)&&(a.blob=await tf(t,e,"blob")),a}async function t$(t,e){let r=tu(t||"");return t?("blob"==("blob"===tt(e,["options","videoMode"])?"blob":"none")&&(r.blob=await td(t,e,"blob")),r):r}async function tb(t,e){let r=tu(t||"");return t?("blob"==("blob"===tt(e,["options","audioMode"])?"blob":"none")&&(r.blob=await tm(t,e,"blob")),r):r}async function tg(t,e,r){let a;if(!e)return th();let s=tt(e,["a:blip","attrs","r:embed"]);if("slideBg"===t||"slide"===t?a=tt(r,["slideResObj",s,"target"]):"slideLayoutBg"===t?a=tt(r,["layoutResObj",s,"target"]):"slideMasterBg"===t?a=tt(r,["masterResObj",s,"target"]):"themeBg"===t?a=tt(r,["themeResObj",s,"target"]):"diagramBg"===t&&(a=tt(r,["diagramResObj",s,"target"])),!a)return th();let n=await tp(a,r),i={t:0,b:0,l:0,r:0},o="stretch";if(e["a:stretch"]){o="stretch";let t=tt(e,["a:stretch","a:fillRect","attrs"]);t&&(t.t&&(i.t=parseInt(t.t)/1e3),t.b&&(i.b=parseInt(t.b)/1e3),t.l&&(i.l=parseInt(t.l)/1e3),t.r&&(i.r=parseInt(t.r)/1e3))}else if(e["a:tile"]){o="tile";let t=tt(e,["a:tile","attrs"]);t&&(t.t&&(i.t=parseInt(t.t)/1e3),t.b&&(i.b=parseInt(t.b)/1e3),t.l&&(i.l=parseInt(t.l)/1e3),t.r&&(i.r=parseInt(t.r)/1e3))}else e["a:scale"]&&(o="scale");return n.align=i,n.alignType=o,n}function tL(t){let e=tt(t["a:blip"],["a:alphaModFix","attrs"]),r=1;return e&&e.amt&&""!==e.amt&&(r=parseInt(e.amt)/1e5),r}async function ty(t,e,r){let a=await tg(e,t["a:blipFill"],r),s=tt(t["a:blipFill"]["a:blip"],["a:alphaModFix","attrs"]),n=1;return s&&s.amt&&""!==s.amt&&(n=parseInt(s.amt)/1e5),{ref:a.ref,base64:a.base64,blob:a.blob,opacity:n}}function tv(t,e){if(!t["a:gsLst"])return null;let r=t["a:gsLst"]["a:gs"],a=[];for(let t=0;t<r.length;t++){let s=tS(r[t],void 0,void 0,e),n=tt(r[t],["attrs","pos"]);a[t]={pos:n?n/1e3+"%":"",color:s}}let s=t["a:lin"],n=0,i="line";if(s)n=te(s.attrs.ang);else{let e=t["a:path"];e&&e.attrs&&e.attrs.path&&(i=e.attrs.path)}return{rot:n,path:i,colors:a.sort((t,e)=>parseInt(t.pos)-parseInt(e.pos))}}function tM(t,e){if(!t)return null;let r=t["a:pattFill"];if(!r)return null;let a=tt(r,["attrs","prst"]),s=r["a:fgClr"],n=r["a:bgClr"],i="#000000",o="#FFFFFF";return s&&(i=tS(s,void 0,void 0,e)),n&&(o=tS(n,void 0,void 0,e)),{type:a,foregroundColor:i,backgroundColor:o}}function t_(t,e,r,a){if(t){let s=t["a:gradFill"],n=s["a:gsLst"]["a:gs"],i=[];for(let t=0;t<n.length;t++){let s=tS(n[t],r["p:sldMaster"]["p:clrMap"].attrs,e,a),o=tt(n[t],["attrs","pos"]);i[t]={pos:o?o/1e3+"%":"",color:s}}let o=s["a:lin"],l=0,h="line";if(o)l=te(o.attrs.ang)+0;else{let t=s["a:path"];t&&t.attrs&&t.attrs.path&&(h=t.attrs.path)}return{rot:l,path:h,colors:i.sort((t,e)=>parseInt(t.pos)-parseInt(e.pos))}}return e?-1===e.indexOf("#")?`#${e}`:e:null}async function tw(t){let e=t.slideContent,r=t.slideLayoutContent,a=t.slideMasterContent,s=tt(e,["p:sld","p:cSld","p:bg","p:bgPr"]),n=tt(e,["p:sld","p:cSld","p:bg","p:bgRef"]),i="#fff",o="color";if(s){let n=tl(s);if("SOLID_FILL"===n){let n,o=s["a:solidFill"],l=tt(e,["p:sld","p:clrMapOvr","a:overrideClrMapping","attrs"]);if(l)n=l;else{let t=tt(r,["p:sldLayout","p:clrMapOvr","a:overrideClrMapping","attrs"]);n=t||tt(a,["p:sldMaster","p:clrMap","attrs"])}i=tS(o,n,void 0,t)}else if("GRADIENT_FILL"===n){let e=t_(s,void 0,a,t);"string"==typeof e?i=e:e&&(i=e,o="gradient")}else if("PIC_FILL"===n)i=await ty(s,"slideBg",t),o="image";else if("PATTERN_FILL"===n){let e=tM(s,t);e&&(i=e,o="pattern")}}else if(n){let s,l=tt(e,["p:sld","p:clrMapOvr","a:overrideClrMapping","attrs"]);if(l)s=l;else{let t=tt(r,["p:sldLayout","p:clrMapOvr","a:overrideClrMapping","attrs"]);s=t||tt(a,["p:sldMaster","p:clrMap","attrs"])}let h=tS(n,s,void 0,t),u=Number(n.attrs.idx);if(u>1e3){let e=t.themeContent["a:theme"]["a:themeElements"]["a:fmtScheme"]["a:bgFillStyleLst"],r=[];Object.keys(e).forEach(t=>{let a=e[t];if("attrs"!==t)if(a.constructor===Array)for(let e=0;e<a.length;e++){let s={};s[t]=a[e],a[e].attrs&&(s.idex=a[e].attrs.order,s.attrs={order:a[e].attrs.order}),r.push(s)}else{let e={};e[t]=a,a.attrs&&(e.idex=a.attrs.order,e.attrs={order:a.attrs.order}),r.push(e)}});let n=r.slice(0);n.sort((t,e)=>t.idex-e.idex);let l=n[u-1e3-1],c=tl(l);if("SOLID_FILL"===c)i=tS(l["a:solidFill"],s,h,t);else if("GRADIENT_FILL"===c){let e=t_(l,h,a,t);"string"==typeof e?i=e:e&&(i=e,o="gradient")}}}else{let e;s=tt(r,["p:sldLayout","p:cSld","p:bg","p:bgPr"]),n=tt(r,["p:sldLayout","p:cSld","p:bg","p:bgRef"]);let l=tt(r,["p:sldLayout","p:clrMapOvr","a:overrideClrMapping","attrs"]);if(e=l||tt(a,["p:sldMaster","p:clrMap","attrs"]),s){let r=tl(s);if("SOLID_FILL"===r)i=tS(s["a:solidFill"],e,void 0,t);else if("GRADIENT_FILL"===r){let e=t_(s,void 0,a,t);"string"==typeof e?i=e:e&&(i=e,o="gradient")}else if("PIC_FILL"===r)i=await ty(s,"slideLayoutBg",t),o="image";else if("PATTERN_FILL"===r){let e=tM(s,t);e&&(i=e,o="pattern")}}else if(n){let r=tS(n,e,void 0,t),s=Number(n.attrs.idx);if(s>1e3){let n=t.themeContent["a:theme"]["a:themeElements"]["a:fmtScheme"]["a:bgFillStyleLst"],l=[];Object.keys(n).forEach(t=>{let e=n[t];if("attrs"!==t)if(e.constructor===Array)for(let r=0;r<e.length;r++){let a={};a[t]=e[r],e[r].attrs&&(a.idex=e[r].attrs.order,a.attrs={order:e[r].attrs.order}),l.push(a)}else{let r={};r[t]=e,e.attrs&&(r.idex=e.attrs.order,r.attrs={order:e.attrs.order}),l.push(r)}});let h=l.slice(0);h.sort((t,e)=>t.idex-e.idex);let u=h[s-1e3-1],c=tl(u);if("SOLID_FILL"===c)i=tS(u["a:solidFill"],e,r,t);else if("GRADIENT_FILL"===c){let e=t_(u,r,a,t);"string"==typeof e?i=e:e&&(i=e,o="gradient")}else if("PIC_FILL"===c)i=await ty(u,"themeBg",t),o="image";else if("PATTERN_FILL"===c){let e=tM(u,t);e&&(i=e,o="pattern")}}}else{s=tt(a,["p:sldMaster","p:cSld","p:bg","p:bgPr"]),n=tt(a,["p:sldMaster","p:cSld","p:bg","p:bgRef"]);let r=tt(a,["p:sldMaster","p:clrMap","attrs"]);if(s){let e=tl(s);if("SOLID_FILL"===e)i=tS(s["a:solidFill"],r,void 0,t);else if("GRADIENT_FILL"===e){let e=t_(s,void 0,a,t);"string"==typeof e?i=e:e&&(i=e,o="gradient")}else if("PIC_FILL"===e)i=await ty(s,"slideMasterBg",t),o="image";else if("PATTERN_FILL"===e){let e=tM(s,t);e&&(i=e,o="pattern")}}else if(n){let s=tS(n,r,void 0,t),l=Number(n.attrs.idx);if(l>1e3){let r=t.themeContent["a:theme"]["a:themeElements"]["a:fmtScheme"]["a:bgFillStyleLst"],n=[];Object.keys(r).forEach(t=>{let e=r[t];if("attrs"!==t)if(e.constructor===Array)for(let r=0;r<e.length;r++){let a={};a[t]=e[r],e[r].attrs&&(a.idex=e[r].attrs.order,a.attrs={order:e[r].attrs.order}),n.push(a)}else{let r={};r[t]=e,e.attrs&&(r.idex=e.attrs.order,r.attrs={order:e.attrs.order}),n.push(r)}});let h=n.slice(0);h.sort((t,e)=>t.idex-e.idex);let u=h[l-1e3-1],c=tl(u);if("SOLID_FILL"===c)i=tS(u["a:solidFill"],e,s,t);else if("GRADIENT_FILL"===c){let e=t_(u,s,a,t);"string"==typeof e?i=e:e&&(i=e,o="gradient")}else if("PIC_FILL"===c)i=await ty(u,"themeBg",t),o="image";else if("PATTERN_FILL"===c){let e=tM(u,t);e&&(i=e,o="pattern")}}}}}return{type:o,value:i}}async function tk(t,e,r,a){if(!t)return{state:"missing"};let s=tt(t,["p:spPr"]),n=s?tl(s):"",i="color",o="";if("NO_FILL"===n)return{state:"none"};if("SOLID_FILL"===n)o=tS(s["a:solidFill"],void 0,void 0,e),i="color";else if("GRADIENT_FILL"===n)o=tv(s["a:gradFill"],e),i="gradient";else if("PIC_FILL"===n){let t=s["a:blipFill"],a=await tg(r,t,e),n=tL(t);o={ref:a.ref,base64:a.base64,blob:a.blob,opacity:n,align:a.align,alignType:a.alignType},i="image"}else if("PATTERN_FILL"===n)o=tM({"a:pattFill":s["a:pattFill"]},e),i="pattern";else if("GROUP_FILL"===n){let t=await tC(a,e,r);return t?{state:"found",fill:t}:{state:"none"}}if(!o){let r=tt(t,["attrs","useBgFill"]);if("1"===r||"true"===r){let t=await tw(e);return t?{state:"found",fill:t}:{state:"none"}}let a=tt(t,["p:style","a:fillRef"]);if(a&&0===Number(tt(a,["attrs","idx"])))return{state:"none"};o=tS(a,void 0,void 0,e),i="color"}return o?{state:"found",fill:{type:i,value:o}}:{state:"missing"}}async function tx(t,e,r,a={}){let s,{groupHierarchy:n=[],slideLayoutSpNode:i,slideMasterSpNode:o}=a;for(let a of(s=[{node:t,source:r}],i&&s.push({node:i,source:"slideLayoutBg"}),o&&s.push({node:o,source:"slideMasterBg"}),s)){let t=await tk(a.node,e,a.source,n);if("none"===t.state)break;if("found"===t.state)return t.fill}return null}async function tC(t,e,r){for(let a of t){if(!a||!a["p:grpSpPr"])continue;let t=a["p:grpSpPr"],s=tl(t);if("SOLID_FILL"===s){let r=tS(t["a:solidFill"],void 0,void 0,e);if(r)return{type:"color",value:r}}else if("GRADIENT_FILL"===s){let r=tv(t["a:gradFill"],e);if(r)return{type:"gradient",value:r}}else if("PIC_FILL"===s){let a=t["a:blipFill"],s=await tg(r,a,e),n=tL(a);if(s.ref||s.base64||s.blob)return{type:"image",value:{ref:s.ref,base64:s.base64,blob:s.blob,opacity:n,align:s.align,alignType:s.alignType}}}else if("PATTERN_FILL"===s){let r=tM({"a:pattFill":t["a:pattFill"]},e);if(r)return{type:"pattern",value:r}}else if("GROUP_FILL"===s)continue;else if("NO_FILL"===s)return null}return{type:"slide-background"}}function tS(t,e,r,a){var s,n,i,o,l,h,u,c,f,d,m,p,$;let b,g,L,y,v,M,w,k,x,C,S;if(!t)return"";let I="";if(t["a:srgbClr"])I=tt(b=t["a:srgbClr"],["attrs","val"]);else if(t["a:schemeClr"])I=tn("a:"+tt(b=t["a:schemeClr"],["attrs","val"]),a,e,r)||"";else if(t["a:scrgbClr"]){let e=(b=t["a:scrgbClr"]).attrs,r=-1!==e.r.indexOf("%")?e.r.split("%").shift():e.r,a=-1!==e.g.indexOf("%")?e.g.split("%").shift():e.g,s=-1!==e.b.indexOf("%")?e.b.split("%").shift():e.b;I=ta(255*(Number(r)/100))+ta(255*(Number(a)/100))+ta(255*(Number(s)/100))}else if(t["a:prstClr"]){let e,r,a;r=tt(b=t["a:prstClr"],["attrs","val"]).toLowerCase(),-1!==(a=["AliceBlue","AntiqueWhite","Aqua","Aquamarine","Azure","Beige","Bisque","black","BlanchedAlmond","Blue","BlueViolet","Brown","BurlyWood","CadetBlue","Chartreuse","Chocolate","Coral","CornflowerBlue","Cornsilk","Crimson","Cyan","DarkBlue","DarkCyan","DarkGoldenRod","DarkGray","DarkGrey","DarkGreen","DarkKhaki","DarkMagenta","DarkOliveGreen","DarkOrange","DarkOrchid","DarkRed","DarkSalmon","DarkSeaGreen","DarkSlateBlue","DarkSlateGray","DarkSlateGrey","DarkTurquoise","DarkViolet","DeepPink","DeepSkyBlue","DimGray","DimGrey","DodgerBlue","FireBrick","FloralWhite","ForestGreen","Fuchsia","Gainsboro","GhostWhite","Gold","GoldenRod","Gray","Grey","Green","GreenYellow","HoneyDew","HotPink","IndianRed","Indigo","Ivory","Khaki","Lavender","LavenderBlush","LawnGreen","LemonChiffon","LightBlue","LightCoral","LightCyan","LightGoldenRodYellow","LightGray","LightGrey","LightGreen","LightPink","LightSalmon","LightSeaGreen","LightSkyBlue","LightSlateGray","LightSlateGrey","LightSteelBlue","LightYellow","Lime","LimeGreen","Linen","Magenta","Maroon","MediumAquaMarine","MediumBlue","MediumOrchid","MediumPurple","MediumSeaGreen","MediumSlateBlue","MediumSpringGreen","MediumTurquoise","MediumVioletRed","MidnightBlue","MintCream","MistyRose","Moccasin","NavajoWhite","Navy","OldLace","Olive","OliveDrab","Orange","OrangeRed","Orchid","PaleGoldenRod","PaleGreen","PaleTurquoise","PaleVioletRed","PapayaWhip","PeachPuff","Peru","Pink","Plum","PowderBlue","Purple","RebeccaPurple","Red","RosyBrown","RoyalBlue","SaddleBrown","Salmon","SandyBrown","SeaGreen","SeaShell","Sienna","Silver","SkyBlue","SlateBlue","SlateGray","SlateGrey","Snow","SpringGreen","SteelBlue","Tan","Teal","Thistle","Tomato","Turquoise","Violet","Wheat","White","WhiteSmoke","Yellow","YellowGreen"].findIndex(t=>t.toLowerCase()===r))&&(e=["f0f8ff","faebd7","00ffff","7fffd4","f0ffff","f5f5dc","ffe4c4","000000","ffebcd","0000ff","8a2be2","a52a2a","deb887","5f9ea0","7fff00","d2691e","ff7f50","6495ed","fff8dc","dc143c","00ffff","00008b","008b8b","b8860b","a9a9a9","a9a9a9","006400","bdb76b","8b008b","556b2f","ff8c00","9932cc","8b0000","e9967a","8fbc8f","483d8b","2f4f4f","2f4f4f","00ced1","9400d3","ff1493","00bfff","696969","696969","1e90ff","b22222","fffaf0","228b22","ff00ff","dcdcdc","f8f8ff","ffd700","daa520","808080","808080","008000","adff2f","f0fff0","ff69b4","cd5c5c","4b0082","fffff0","f0e68c","e6e6fa","fff0f5","7cfc00","fffacd","add8e6","f08080","e0ffff","fafad2","d3d3d3","d3d3d3","90ee90","ffb6c1","ffa07a","20b2aa","87cefa","778899","778899","b0c4de","ffffe0","00ff00","32cd32","faf0e6","ff00ff","800000","66cdaa","0000cd","ba55d3","9370db","3cb371","7b68ee","00fa9a","48d1cc","c71585","191970","f5fffa","ffe4e1","ffe4b5","ffdead","000080","fdf5e6","808000","6b8e23","ffa500","ff4500","da70d6","eee8aa","98fb98","afeeee","db7093","ffefd5","ffdab9","cd853f","ffc0cb","dda0dd","b0e0e6","800080","663399","ff0000","bc8f8f","4169e1","8b4513","fa8072","f4a460","2e8b57","fff5ee","a0522d","c0c0c0","87ceeb","6a5acd","708090","708090","fffafa","00ff7f","4682b4","d2b48c","008080","d8bfd8","ff6347","40e0d0","ee82ee","f5deb3","ffffff","f5f5f5","ffff00","9acd32"][a]),I=e}else if(t["a:hslClr"]){let e,r,a,n=(b=t["a:hslClr"]).attrs,i=Number(n.hue)/1e5,o=Number(-1!==n.sat.indexOf("%")?n.sat.split("%").shift():n.sat)/100,l=Number(-1!==n.lum.indexOf("%")?n.lum.split("%").shift():n.lum)/100,h=(s=i/60,e=l<=.5?l*(o+1):l+o-l*o,a=255*ti(r=2*l-e,e,s+2),{r:a,g:255*ti(r,e,s),b:255*ti(r,e,s-2)});I=ta(h.r)+ta(h.g)+ta(h.b)}else if(t["a:sysClr"]){let e=tt(b=t["a:sysClr"],["attrs","lastClr"]);e&&(I=e)}let A=!1,P=parseInt(tt(b,["a:alpha","attrs","val"]))/1e5;if(!isNaN(P)){let t=_(I);t.setAlpha(P),I=t.toHex8(),A=!0}let R=parseInt(tt(b,["a:hueMod","attrs","val"]))/1e5;isNaN(R)||(n=I,i=A,(L=(g=_(n).toHsl()).h*R)>=360&&(L-=360),I=i?_({h:L,s:g.s,l:g.l,a:g.a}).toHex8():_({h:L,s:g.s,l:g.l,a:g.a}).toHex());let E=parseInt(tt(b,["a:lumMod","attrs","val"]))/1e5;isNaN(E)||(o=I,l=A,(v=(y=_(o).toHsl()).l*E)>=1&&(v=1),I=l?_({h:y.h,s:y.s,l:v,a:y.a}).toHex8():_({h:y.h,s:y.s,l:v,a:y.a}).toHex());let z=parseInt(tt(b,["a:lumOff","attrs","val"]))/1e5;isNaN(z)||(m=I,p=z,$=A,I=(S=p+(C=_(m).toHsl()).l)>=1?$?_({h:C.h,s:C.s,l:1,a:C.a}).toHex8():_({h:C.h,s:C.s,l:1,a:C.a}).toHex():$?_({h:C.h,s:C.s,l:S,a:C.a}).toHex8():_({h:C.h,s:C.s,l:S,a:C.a}).toHex());let T=parseInt(tt(b,["a:satMod","attrs","val"]))/1e5;isNaN(T)||(h=I,u=A,(w=(M=_(h).toHsl()).s*T)>=1&&(w=1),I=u?_({h:M.h,s:w,l:M.l,a:M.a}).toHex8():_({h:M.h,s:w,l:M.l,a:M.a}).toHex());let F=parseInt(tt(b,["a:shade","attrs","val"]))/1e5;isNaN(F)||(c=I,f=F,d=A,k=_(c).toHsl(),f>=1&&(f=1),x=Math.min(k.l*f,1),I=d?_({h:k.h,s:k.s,l:x,a:k.a}).toHex8():_({h:k.h,s:k.s,l:x,a:k.a}).toHex());let O=parseInt(tt(b,["a:tint","attrs","val"]))/1e5;return isNaN(O)||(I=to(I,O,A)),I&&-1===I.indexOf("#")&&(I="#"+I),I}function tI(t){let e=tt(t,["attrs"]);if(!e)return;let r={type:e.type||"none"};return e.w&&(r.width=e.w),e.len&&(r.length=e.len),r}function tA(t,e,r){let a=tt(t,["p:spPr","a:ln"]),s=tt(t,["p:style","a:lnRef"]),n=a;if(!n&&s){let t=tt(s,["attrs","idx"]);n=r.themeContent["a:theme"]["a:themeElements"]["a:fmtScheme"]["a:lnStyleLst"]["a:ln"][Number(t)-1]}n||(n=t);let i=tt(n,["a:noFill"]),o=n["a:solidFill"]||n["a:gradFill"],l=void 0!==tt(n,["attrs","w"]),h=i?0:parseInt(tt(n,["attrs","w"]))/12700;isNaN(h)&&(h=n&&n!==t&&(o||l)?.75:0);let u=null;if(n["a:solidFill"]){let t=tS(n["a:solidFill"],void 0,void 0,r);t&&(u={type:"color",value:t})}if(!u&&!a&&s){let t=tS(s,void 0,void 0,r);t&&(u={type:"color",value:t})}if(!u&&n["a:gradFill"]){let t=tv(n["a:gradFill"],r);t&&t.colors&&t.colors.length>0&&(u={type:"gradient",value:t})}u||(u={type:"color",value:"transparent"});let c=tt(n,["a:prstDash","attrs","val"]),f="solid",d="0";switch(c){case"solid":f="solid",d="0";break;case"dash":f="dashed",d="5";break;case"dashDot":f="dashed",d="5, 5, 1, 5";break;case"dot":f="dotted",d="1, 5";break;case"lgDash":f="dashed",d="10, 5";break;case"lgDashDotDot":f="dotted",d="10, 5, 1, 5, 1, 5";break;case"sysDash":f="dashed",d="5, 2";break;case"sysDashDot":f="dotted",d="5, 2, 1, 5";break;case"sysDashDotDot":f="dotted",d="5, 2, 1, 5, 1, 5";break;case"sysDot":f="dotted",d="2, 5"}return{borderColor:u,borderWidth:h,borderType:f,strokeDasharray:d,headEnd:tI(tt(n,["a:headEnd"])),tailEnd:tI(tt(n,["a:tailEnd"]))}}function tP(t,e){if(!t)return[];t.constructor!==Array&&(t=[t]);let r=[];for(let a of t){let t=tt(a,["c:spPr","a:solidFill","a:schemeClr"]);t||(t=tt(a,["c:spPr","a:ln","a:solidFill","a:schemeClr"])),t||(t=tt(a,["c:marker","c:spPr","a:ln","a:solidFill","a:schemeClr"]));let s=tt(t,["attrs","val"]);if(s){s=tt(e.themeContent,["a:theme","a:themeElements","a:clrScheme",`a:${s}`,"a:srgbClr","attrs","val"]);let r=tt(t,["a:tint","attrs","val"])/1e5;s&&!isNaN(r)&&(s=to(s,r))}else s=tt(a,["c:spPr","a:solidFill","a:srgbClr","attrs","val"]);s&&(s="#"+s),r.push(s)}return r}function tR(t){let e=[];return t&&X(t,(t,r)=>{let a=[],s=tt(t,["c:tx","c:strRef","c:strCache","c:pt","c:v"])||r,n={};return tt(t,["c:cat","c:strRef","c:strCache","c:pt"])?X(t["c:cat"]["c:strRef"]["c:strCache"]["c:pt"],t=>(n[t.attrs.idx]=t["c:v"],"")):tt(t,["c:cat","c:numRef","c:numCache","c:pt"])&&X(t["c:cat"]["c:numRef"]["c:numCache"]["c:pt"],t=>(n[t.attrs.idx]=t["c:v"],"")),tt(t,["c:val","c:numRef","c:numCache","c:pt"])&&X(t["c:val"]["c:numRef"]["c:numCache"]["c:pt"],t=>(a.push({x:t.attrs.idx,y:parseFloat(t["c:v"])}),"")),e.push({key:s,values:a,xlabels:n}),""}),e}function tE(t){let e=[];if(!t)return e;let r=t.constructor===Array?t:[t],a=r[0],s=[];for(let t of(X(a["c:xVal"]["c:numRef"]["c:numCache"]["c:pt"],t=>(s.push(parseFloat(t["c:v"])),"")),e.push(s),r)){let r=[];X(t["c:yVal"]["c:numRef"]["c:numCache"]["c:pt"],t=>(r.push(parseFloat(t["c:v"])),"")),e.push(r)}return e}let tz=72/914400;function tT(t){let e=1,r=tt(t,["a:pPr","attrs","lvl"]);return void 0!==r&&(e=parseInt(r)+1),e}function tF(t,e){if(!t)return"";let r=tt(t,["p:txBody","a:lstStyle",e,"attrs","algn"]);return r||(r=tt(t,["p:txBody","a:p","a:pPr","attrs","algn"])),r||""}function tO(t,e){e&&t.push(e)}function tB(t,e,r){e&&(tO(t,tt(e,["p:txBody","a:lstStyle",`a:lvl${r}pPr`])),tO(t,tt(e,["p:txBody","a:p","a:pPr"])))}function tN(t,e,r,a,s,n,i){var o;if(!t)return null;let l=t["a:pPr"],h=tT(t),u=[];return tO(u,l),e&&tO(u,tt(e,["a:lstStyle",`a:lvl${h}pPr`])),tB(u,r,h),tB(u,a,h),!function(t,e,r,a){if(!a)return;let s=`a:lvl${r}pPr`;"title"===e||"ctrTitle"===e||"subTitle"===e?(tO(t,tt(a,["p:titleStyle",s])),"subTitle"===e&&tO(t,tt(a,["p:bodyStyle",s]))):"body"===e?tO(t,tt(a,["p:bodyStyle",s])):tO(t,tt(a,["p:otherStyle",s]))}(u,s,h,n),o=tt(i,["defaultTextStyle"]),o&&(tO(u,tt(o,[`a:lvl${h}pPr`])),tO(u,tt(o,["a:defPPr"]))),u}function tj(t){let e=tt(t,["a:spcPct","attrs","val"]),r=tt(t,["a:spcPts","attrs","val"]);return e?parseInt(e)/1e5+"em":r?parseInt(r)/100+"pt":void 0}function tD(t,e){let r=tt(t,["attrs",e]);if(void 0!==r&&""!==r)return ts(parseInt(r)*tz)+"pt"}function tG(t,e,r,a){let s=tt(t,["p:txBody","a:bodyPr","attrs",a]);return null!=s&&""!==s||null!=(s=tt(e,["p:txBody","a:bodyPr","attrs",a]))&&""!==s?s:tt(r,["p:txBody","a:bodyPr","attrs",a])}function tU(t){if(null==t||""===t)return null;let e=parseInt(t,10);return Number.isFinite(e)?ts(e*tz):null}function tH(t,e,r){let a;return(t?a=t["a:off"].attrs:e?a=e["a:off"].attrs:r&&(a=r["a:off"].attrs),a)?{top:ts(parseInt(a.y)*tz),left:ts(parseInt(a.x)*tz)}:{top:0,left:0}}function tq(t,e,r){let a;return(t?a=t["a:ext"].attrs:e?a=e["a:ext"].attrs:r&&(a=r["a:ext"].attrs),a)?{width:ts(parseInt(a.cx)*tz),height:ts(parseInt(a.cy)*tz)}:{width:0,height:0}}let tY=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),tZ=function(t){let e=atob(t),r=-2&e.length,a=new Uint16Array(r/2);for(let t=0,s=0;t<r;t+=2){let r=e.charCodeAt(t),n=e.charCodeAt(t+1);a[s++]=r|n<<8}return a}("AAJhZ2xxBwARABMAFQBtAg0AAAAAAA8AcAAmYG8AcwAnYHQAPmB0ADxg9SFvdCJg");function tW(t){return t>=f.ZERO&&t<=f.NINE}(o=c||(c={}))[o.VALUE_LENGTH=49152]="VALUE_LENGTH",o[o.FLAG13=8192]="FLAG13",o[o.BRANCH_LENGTH=8064]="BRANCH_LENGTH",o[o.JUMP_TABLE=127]="JUMP_TABLE",(l=f||(f={}))[l.NUM=35]="NUM",l[l.SEMI=59]="SEMI",l[l.EQUALS=61]="EQUALS",l[l.ZERO=48]="ZERO",l[l.NINE=57]="NINE",l[l.LOWER_A=97]="LOWER_A",l[l.LOWER_F=102]="LOWER_F",l[l.LOWER_X=120]="LOWER_X",l[l.LOWER_Z=122]="LOWER_Z",l[l.UPPER_A=65]="UPPER_A",l[l.UPPER_F=70]="UPPER_F",l[l.UPPER_Z=90]="UPPER_Z",(h=d||(d={}))[h.EntityStart=0]="EntityStart",h[h.NumericStart=1]="NumericStart",h[h.NumericDecimal=2]="NumericDecimal",h[h.NumericHex=3]="NumericHex",h[h.NamedEntity=4]="NamedEntity",(u=m||(m={}))[u.Legacy=0]="Legacy",u[u.Strict=1]="Strict",u[u.Attribute=2]="Attribute";class tK{decodeTree;emitCodePoint;errors;constructor(t,e,r){this.decodeTree=t,this.emitCodePoint=e,this.errors=r}state=d.EntityStart;consumed=1;result=0;treeIndex=0;excess=1;decodeMode=m.Strict;runConsumed=0;startEntity(t){this.decodeMode=t,this.state=d.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1,this.runConsumed=0}write(t,e){switch(this.state){case d.EntityStart:if(t.charCodeAt(e)===f.NUM)return this.state=d.NumericStart,this.consumed+=1,this.stateNumericStart(t,e+1);return this.state=d.NamedEntity,this.stateNamedEntity(t,e);case d.NumericStart:return this.stateNumericStart(t,e);case d.NumericDecimal:return this.stateNumericDecimal(t,e);case d.NumericHex:return this.stateNumericHex(t,e);case d.NamedEntity:return this.stateNamedEntity(t,e)}}stateNumericStart(t,e){return e>=t.length?-1:(32|t.charCodeAt(e))===f.LOWER_X?(this.state=d.NumericHex,this.consumed+=1,this.stateNumericHex(t,e+1)):(this.state=d.NumericDecimal,this.stateNumericDecimal(t,e))}stateNumericHex(t,e){for(;e<t.length;){var r;let a=t.charCodeAt(e);if(!tW(a)&&(!((r=a)>=f.UPPER_A)||!(r<=f.UPPER_F))&&(!(r>=f.LOWER_A)||!(r<=f.LOWER_F)))return this.emitNumericEntity(a,3);{let t=a<=f.NINE?a-f.ZERO:(32|a)-f.LOWER_A+10;this.result=16*this.result+t,this.consumed++,e++}}return -1}stateNumericDecimal(t,e){for(;e<t.length;){let r=t.charCodeAt(e);if(!tW(r))return this.emitNumericEntity(r,2);this.result=10*this.result+(r-f.ZERO),this.consumed++,e++}return -1}emitNumericEntity(t,e){var r;if(this.consumed<=e)return this.errors?.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===f.SEMI)this.consumed+=1;else if(this.decodeMode===m.Strict)return 0;return this.emitCodePoint((r=this.result)>=55296&&r<=57343||r>1114111?65533:tY.get(r)??r,this.consumed),this.errors&&(t!==f.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,e){let{decodeTree:r}=this,a=r[this.treeIndex],s=(a&c.VALUE_LENGTH)>>14;for(;e<t.length;){if(0===s&&(a&c.FLAG13)!=0){let n=(a&c.BRANCH_LENGTH)>>7;if(0===this.runConsumed){let r=a&c.JUMP_TABLE;if(t.charCodeAt(e)!==r)return 0===this.result?0:this.emitNotTerminatedNamedEntity();e++,this.excess++,this.runConsumed++}for(;this.runConsumed<n;){if(e>=t.length)return -1;let a=this.runConsumed-1,s=r[this.treeIndex+1+(a>>1)],n=a%2==0?255&s:s>>8&255;if(t.charCodeAt(e)!==n)return this.runConsumed=0,0===this.result?0:this.emitNotTerminatedNamedEntity();e++,this.excess++,this.runConsumed++}this.runConsumed=0,this.treeIndex+=1+(n>>1),s=((a=r[this.treeIndex])&c.VALUE_LENGTH)>>14}if(e>=t.length)break;let n=t.charCodeAt(e);if(n===f.SEMI&&0!==s&&(a&c.FLAG13)!=0)return this.emitNamedEntityData(this.treeIndex,s,this.consumed+this.excess);if(this.treeIndex=function(t,e,r,a){let s=(e&c.BRANCH_LENGTH)>>7,n=e&c.JUMP_TABLE;if(0===s)return 0!==n&&a===n?r:-1;if(n){let e=a-n;return e<0||e>=s?-1:t[r+e]-1}let i=s+1>>1,o=0,l=s-1;for(;o<=l;){let e=o+l>>>1,s=t[r+(e>>1)]>>(1&e)*8&255;if(s<a)o=e+1;else{if(!(s>a))return t[r+i+e];l=e-1}}return -1}(r,a,this.treeIndex+Math.max(1,s),n),this.treeIndex<0)return 0===this.result||this.decodeMode===m.Attribute&&(0===s||function(t){var e;return t===f.EQUALS||(e=t)>=f.UPPER_A&&e<=f.UPPER_Z||e>=f.LOWER_A&&e<=f.LOWER_Z||tW(e)}(n))?0:this.emitNotTerminatedNamedEntity();if(0!=(s=((a=r[this.treeIndex])&c.VALUE_LENGTH)>>14)){if(n===f.SEMI)return this.emitNamedEntityData(this.treeIndex,s,this.consumed+this.excess);this.decodeMode!==m.Strict&&(a&c.FLAG13)==0&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}e++,this.excess++}return -1}emitNotTerminatedNamedEntity(){let{result:t,decodeTree:e}=this,r=(e[t]&c.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),this.errors?.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,e,r){let{decodeTree:a}=this;return this.emitCodePoint(1===e?a[t]&~(c.VALUE_LENGTH|c.FLAG13):a[t+1],r),3===e&&this.emitCodePoint(a[t+2],r),r}end(){switch(this.state){case d.NamedEntity:return 0!==this.result&&(this.decodeMode!==m.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case d.NumericDecimal:return this.emitNumericEntity(0,2);case d.NumericHex:return this.emitNumericEntity(0,3);case d.NumericStart:return this.errors?.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case d.EntityStart:return 0}}}let tV=(t="",e=new tK(tZ,e=>t+=String.fromCodePoint(e)),function(r,a){let s=0,n=0;for(;(n=r.indexOf("&",n))>=0;){t+=r.slice(s,n),e.startEntity(a);let i=e.write(r,n+1);if(i<0){s=n+e.end();break}s=n+i,n=0===i?s+1:s}let i=t+r.slice(s);return t="",i});function tJ(t){return tV(t,m.Strict)}let tQ={34:"''",35:"\\#",36:"\\$",37:"\\%",38:"\\&",60:"\\ensuremath{<}",62:"\\ensuremath{>}",92:"\\textbackslash",94:"\\textasciicircum",95:"\\_",123:"\\{",125:"\\}",126:"\\textasciitilde",160:"~",161:"\\textexclamdown",162:"\\textcent",163:"\\textsterling",164:"\\textcurrency",165:"\\textyen",166:"\\textbrokenbar",167:"\\textsection",168:"\\textasciidieresis",169:"\\textcopyright",170:"\\textordfeminine",171:"\\guillemotleft",172:"\\textlnot",173:"\\-",174:"\\textregistered",175:"\\textasciimacron",176:"\\textdegree",177:"\\ensuremath{\\pm}",178:"\\texttwosuperior",179:"\\textthreesuperior",180:"\\textasciiacute",181:"\\textmu",182:"\\textparagraph",183:"\\textperiodcentered",185:"\\textonesuperior",186:"\\textordmasculine",187:"\\guillemotright",188:"\\textonequarter",189:"\\textonehalf",190:"\\textthreequarters",191:"\\textquestiondown",192:"\\`A",193:"\\'A",194:"\\^A",195:"\\~A",196:'\\"A',197:"\\r{A}",198:"\\AE",199:"\\c{C}",200:"\\`E",201:"\\'E",202:"\\^E",203:'\\"E',204:"\\`I",205:"\\'I",206:"\\^I",207:'\\"I',208:"\\DH",209:"\\~N",210:"\\`O",211:"\\'O",212:"\\^O",213:"\\~O",214:'\\"O',215:"\\texttimes",216:"\\O",217:"\\`U",218:"\\'U",219:"\\^U",220:'\\"U',221:"\\'Y",222:"\\TH",223:"\\ss",224:"\\`a",225:"\\'a",226:"\\^a",227:"\\~a",228:'\\"a',229:"\\r{a}",230:"\\ae",231:"\\c{c}",232:"\\`e",233:"\\'e",234:"\\^e",235:'\\"e',236:"\\`\\i",237:"\\'\\i",238:"\\^\\i",239:'\\"\\i',240:"\\dh",241:"\\~n",242:"\\`o",243:"\\'o",244:"\\^o",245:"\\~o",246:'\\"o',247:"\\textdiv",248:"\\o",249:"\\`u",250:"\\'u",251:"\\^u",252:'\\"u',253:"\\'y",254:"\\th",255:'\\"y',256:"\\={A}",257:"\\={a}",258:"\\u{A}",259:"\\u{a}",260:"\\k{A}",261:"\\k{a}",262:"\\'C",263:"\\'c",264:"\\^{C}",265:"\\^{c}",266:"\\.{C}",267:"\\.{c}",268:"\\v{C}",269:"\\v{c}",270:"\\v{D}",271:"\\v{d}",272:"\\DJ",273:"\\dj",274:"\\={E}",275:"\\={e}",276:"\\u{E}",277:"\\u{e}",278:"\\.{E}",279:"\\.{e}",280:"\\k{E}",281:"\\k{e}",282:"\\v{E}",283:"\\v{e}",284:"\\^{G}",285:"\\^{g}",286:"\\u{G}",287:"\\u{g}",288:"\\.{G}",289:"\\.{g}",290:"\\c{G}",291:"\\c{g}",292:"\\^{H}",293:"\\^{h}",294:"\\={H}",295:"\\={h}",296:"\\~{I}",297:"\\~{i}",298:"\\={I}",299:"\\={i}",300:"\\u{I}",301:"\\u{i}",302:"\\k{I}",303:"\\k{i}",304:"\\.I",305:"\\i",306:"\\IJ",307:"\\ij",308:"\\^{J}",309:"\\^{j}",310:"\\c{K}",311:"\\c{k}",312:"\\textsc{k}",313:"\\'L",314:"\\'l",315:"\\c{L}",316:"\\c{l}",317:"\\v{L}",318:"\\v{l}",319:"\\.{L}",320:"\\.{l}",321:"\\L",322:"\\l",323:"\\'N",324:"\\'n",325:"\\c{N}",326:"\\c{n}",327:"\\v{N}",328:"\\v{n}",329:"\\nument{149}",330:"\\NG",331:"\\ng",332:"\\={O}",333:"\\={o}",334:"\\u{O}",335:"\\u{o}",336:"\\H{O}",337:"\\H{o}",338:"\\OE",339:"\\oe",340:"\\'R",341:"\\'r",342:"\\c{R}",343:"\\c{r}",344:"\\v{R}",345:"\\v{r}",346:"\\'S",347:"\\'s",348:"\\^{S}",349:"\\^{s}",350:"\\c{S}",351:"\\c{s}",352:"\\v{S}",353:"\\v{s}",354:"\\c{T}",355:"\\c{t}",356:"\\v{T}",357:"\\v{t}",358:"\\={T}",359:"\\={t}",360:"\\~{U}",361:"\\~{u}",362:"\\={U}",363:"\\={u}",364:"\\u{U}",365:"\\u{u}",366:"\\r{U}",367:"\\r{u}",368:"\\'{U}",369:"\\'{u}",370:"\\k{U}",371:"\\k{u}",372:"\\^{W}",373:"\\^{w}",374:"\\^{Y}",375:"\\^{y}",376:'\\"Y',377:"\\'Z",378:"\\'z",379:"\\.Z",380:"\\.z",381:"\\v{Z}",382:"\\v{z}",402:"\\textflorin",405:"\\texthvlig",414:"\\textnrleg",501:"\\'{g}",552:"\\c{E}",553:"\\c{e}",601:"\\textschwa",603:"\\varepsilon",632:"\\textphi",660:"\\textglotstop",670:"\\textturnk",695:"\\textsuperscript{w}",700:"'",710:"\\textasciicircum",711:"\\textasciicaron",728:"\\textasciibreve",729:"\\textperiodcentered",730:"\\r{}",731:"\\k{}",732:"\\textasciitilde",733:"\\textacutedbl",775:"\\ensuremath{\\dot{}}",776:"\\ensuremath{\\ddot{}}",902:"\\'{}A",904:"\\'{}E",905:"\\'{}H",906:"\\'{}I",908:"\\'{}O",910:"\\'{}Y",911:"\\'{}\\ensuremath{\\Omega}",912:"\\acute{\\ddot{\\iota}}",913:"A",914:"B",915:"\\ensuremath{\\Gamma}",916:"\\ensuremath{\\Delta}",917:"E",918:"Z",919:"H",920:"\\ensuremath{\\Theta}",921:"I",922:"K",923:"\\ensuremath{\\Lambda}",924:"M",925:"N",926:"\\ensuremath{\\Xi}",927:"O",928:"\\ensuremath{\\Pi}",929:"P",931:"\\ensuremath{\\Sigma}",932:"T",933:"\\ensuremath{\\Upsilon}",934:"\\ensuremath{\\Phi}",935:"X",936:"\\ensuremath{\\Psi}",937:"\\ensuremath{\\Omega}",938:"\\ensuremath{\\ddot{I}}",939:"\\ensuremath{\\ddot{Y}}",940:"\\ensuremath{\\acute\\alpha}",941:"\\ensuremath{\\acute\\epsilon}",942:"\\ensuremath{\\acute\\eta}",943:"\\ensuremath{\\acute\\iota}",944:"\\ensuremath{\\acute{\\ddot{\\upsilon}}}",945:"\\ensuremath{\\alpha}",946:"\\ensuremath{\\beta}",947:"\\ensuremath{\\gamma}",948:"\\ensuremath{\\delta}",949:"\\ensuremath{\\varepsilon}",950:"\\ensuremath{\\zeta}",951:"\\ensuremath{\\eta}",952:"\\ensuremath{\\theta}",953:"\\ensuremath{\\iota}",954:"\\ensuremath{\\kappa}",955:"\\ensuremath{\\lambda}",956:"\\ensuremath{\\mu}",957:"\\ensuremath{\\nu}",958:"\\ensuremath{\\xi}",959:"o",960:"\\ensuremath{\\pi}",961:"\\ensuremath{\\rho}",962:"\\ensuremath{\\varsigma}",963:"\\ensuremath{\\sigma}",964:"\\ensuremath{\\tau}",965:"\\ensuremath{\\upsilon}",966:"\\ensuremath{\\varphi}",967:"\\ensuremath{\\chi}",968:"\\ensuremath{\\psi}",969:"\\ensuremath{\\omega}",970:"\\ensuremath{\\ddot\\iota}",971:"\\ensuremath{\\ddot{\\upsilon}}",972:"\\'{o}",973:"\\ensuremath{\\acute\\upsilon}",974:"\\ensuremath{\\acute\\omega}",977:"\\ensuremath{\\vartheta}",978:"\\Upsilon",981:"\\ensuremath{\\phi}",982:"\\ensuremath{\\varpi}",1008:"\\ensuremath{\\varkappa}",1009:"\\ensuremath{\\varrho}",1013:"\\ensuremath{\\epsilon}",1014:"\\ensuremath{\\backepsilon}",1024:"\\`\\CYRE",1025:"\\CYRYO",1026:"\\CYRDJE",1027:"\\`\\CYRG",1028:"\\CYRIE",1029:"\\CYRDZE",1030:"\\CYRII",1031:"\\CYRYI",1032:"\\CYRJE",1033:"\\CYRLJE",1034:"\\CYRNJE",1035:"\\CYRTSHE",1036:"\\`\\CYRK",1037:"\\`\\CYRI",1038:"\\CYRUSHRT",1039:"\\CYRDZHE",1040:"\\CYRA",1041:"\\CYRB",1042:"\\CYRV",1043:"\\CYRG",1044:"\\CYRD",1045:"\\CYRE",1046:"\\CYRZH",1047:"\\CYRZ",1048:"\\CYRI",1049:"\\CYRISHRT",1050:"\\CYRK",1051:"\\CYRL",1052:"\\CYRM",1053:"\\CYRN",1054:"\\CYRO",1055:"\\CYRP",1056:"\\CYRR",1057:"\\CYRS",1058:"\\CYRT",1059:"\\CYRU",1060:"\\CYRF",1061:"\\CYRH",1062:"\\CYRC",1063:"\\CYRCH",1064:"\\CYRSH",1065:"\\CYRSHCH",1066:"\\CYRHRDSN",1067:"\\CYRERY",1068:"\\CYRSFTSN",1069:"\\CYREREV",1070:"\\CYRYU",1071:"\\CYRYA",1072:"\\cyra",1073:"\\cyrb",1074:"\\cyrv",1075:"\\cyrg",1076:"\\cyrd",1077:"\\cyre",1078:"\\cyrzh",1079:"\\cyrz",1080:"\\cyri",1081:"\\cyrishrt",1082:"\\cyrk",1083:"\\cyrl",1084:"\\cyrm",1085:"\\cyrn",1086:"\\cyro",1087:"\\cyrp",1088:"\\cyrr",1089:"\\cyrs",1090:"\\cyrt",1091:"\\cyru",1092:"\\cyrf",1093:"\\cyrh",1094:"\\cyrc",1095:"\\cyrch",1096:"\\cyrsh",1097:"\\cyrshch",1098:"\\cyrhrdsn",1099:"\\cyrery",1100:"\\cyrsftsn",1101:"\\cyrerev",1102:"\\cyryu",1103:"\\cyrya",1104:"\\`\\cyre",1105:"\\cyryo",1106:"\\cyrdje",1107:"\\`\\cyrg",1108:"\\cyrie",1109:"\\cyrdze",1110:"\\cyrii",1111:"\\cyryi",1112:"\\cyrje",1113:"\\cyrlje",1114:"\\cyrnje",1115:"\\cyrtshe",1116:"\\`\\cyrk",1117:"\\`\\cyri",1118:"\\cyrushrt",1119:"\\cyrdzhe",1120:"\\cyrchar\\CYROMEGA",1121:"\\cyrchar\\cyromega",1122:"\\CYRYAT",1123:"\\cyryat",1124:"\\cyrchar\\CYRIOTE",1125:"\\cyrchar\\cyriote",1126:"\\cyrchar\\CYRLYUS",1127:"\\cyrchar\\cyrlyus",1128:"\\cyrchar\\CYRIOTLYUS",1129:"\\cyrchar\\cyriotlyus",1130:"\\CYRBYUS",1131:"\\cyrbyus",1132:"\\cyrchar\\CYRIOTBYUS",1133:"\\cyrchar\\cyriotbyus",1134:"\\cyrchar\\CYRKSI",1135:"\\cyrchar\\cyrksi",1136:"\\cyrchar\\CYRPSI",1137:"\\cyrchar\\cyrpsi",1138:"\\CYRFITA",1139:"\\cyrfita",1140:"\\CYRIZH",1141:"\\cyrizh",1142:"\\C\\CYRIZH",1143:"\\C\\cyrizh",1144:"\\cyrchar\\CYRUK",1145:"\\cyrchar\\cyruk",1146:"\\cyrchar\\CYROMEGARND",1147:"\\cyrchar\\cyromegarnd",1148:"\\cyrchar\\CYROMEGATITLO",1149:"\\cyrchar\\cyromegatitlo",1150:"\\cyrchar\\CYROT",1151:"\\cyrchar\\cyrot",1152:"\\cyrchar\\CYRKOPPA",1153:"\\cyrchar\\cyrkoppa",1154:"\\cyrchar\\cyrthousands",1160:"\\cyrchar\\cyrhundredthousands",1161:"\\cyrchar\\cyrmillions",1164:"\\CYRSEMISFTSN",1165:"\\cyrsemisftsn",1166:"\\CYRRTICK",1167:"\\cyrrtick",1168:"\\CYRGUP",1169:"\\cyrgup",1170:"\\CYRGHCRS",1171:"\\cyrghcrs",1172:"\\CYRGHK",1173:"\\cyrghk",1174:"\\CYRZHDSC",1175:"\\cyrzhdsc",1176:"\\CYRZDSC",1177:"\\cyrzdsc",1178:"\\CYRKDSC",1179:"\\cyrkdsc",1180:"\\CYRKVCRS",1181:"\\cyrkvcrs",1182:"\\CYRKHCRS",1183:"\\cyrkhcrs",1184:"\\CYRKBEAK",1185:"\\cyrkbeak",1186:"\\CYRNDSC",1187:"\\cyrndsc",1188:"\\CYRNG",1189:"\\cyrng",1190:"\\CYRPHK",1191:"\\cyrphk",1192:"\\CYRABHHA",1193:"\\cyrabhha",1194:"\\CYRSDSC",1195:"\\cyrsdsc",1196:"\\CYRTDSC",1197:"\\cyrtdsc",1198:"\\CYRY",1199:"\\cyry",1200:"\\CYRYHCRS",1201:"\\cyryhcrs",1202:"\\CYRHDSC",1203:"\\cyrhdsc",1204:"\\CYRTETSE",1205:"\\cyrtetse",1206:"\\CYRCHRDSC",1207:"\\cyrchrdsc",1208:"\\CYRCHVCRS",1209:"\\cyrchvcrs",1210:"\\CYRSHHA",1211:"\\cyrshha",1212:"\\CYRABHCH",1213:"\\cyrabhch",1214:"\\CYRABHCHDSC",1215:"\\cyrabhchdsc",1216:"\\CYRpalochka",1217:"\\U\\CYRZH",1218:"\\U\\cyrzh",1219:"\\CYRKHK",1220:"\\cyrkhk",1221:"\\CYRLDSC",1222:"\\cyrldsc",1223:"\\CYRNHK",1224:"\\cyrnhk",1227:"\\CYRCHLDSC",1228:"\\cyrchldsc",1229:"\\CYRMDSC",1230:"\\cyrmdsc",1232:"\\U\\CYRA",1233:"\\U\\cyra",1234:'\\"\\CYRA',1235:'\\"\\cyra',1236:"\\CYRAE",1237:"\\cyrae",1238:"\\U\\CYRE",1239:"\\U\\cyre",1240:"\\CYRSCHWA",1241:"\\cyrschwa",1242:'\\"\\CYRSCHWA',1243:'\\"\\cyrschwa',1244:'\\"\\CYRZH',1245:'\\"\\cyrzh',1246:'\\"\\CYRZ',1247:'\\"\\cyrz',1248:"\\CYRABHDZE",1249:"\\cyrabhdze",1250:"\\=\\CYRI",1251:"\\=\\cyri",1252:'\\"\\CYRI',1253:'\\"\\cyri',1254:'\\"\\CYRO',1255:'\\"\\cyro',1256:"\\CYROTLD",1257:"\\cyrotld",1260:'\\"\\CYREREV',1261:'\\"\\cyrerev',1262:"\\=\\CYRU",1263:"\\=\\cyru",1264:'\\"\\CYRU',1265:'\\"\\cyru',1266:"\\H\\CYRU",1267:"\\H\\cyru",1268:'\\"\\CYRCH',1269:'\\"\\cyrch',1270:"\\CYRGDSC",1271:"\\cyrgdsc",1272:'\\"\\CYRERY',1273:'\\"\\cyrery',1274:"\\CYRGDSCHCRS",1275:"\\cyrgdschcrs",1276:"\\CYRHHK",1277:"\\cyrhhk",1278:"\\CYRHHCRS",1279:"\\cyrhhcrs",3647:"\\textbaht",8192:"\\enskip",8193:"\\quad",8194:"\\enskip",8195:"\\quad",8196:"\\hspace{0.33em}",8197:"\\hspace{0.25em}",8198:"\\hspace{0.167em}",8199:"~",8200:"\\;",8201:"\\,",8202:"\\hspace{1pt}",8204:"\\textcompwordmark",8208:"-",8209:"\\nobreakdash-",8210:"-",8211:"\\textendash",8212:"\\textemdash",8213:"\\textemdash",8214:"\\ensuremath{\\Vert}",8216:"\\textquoteleft",8217:"\\textquoteright",8218:"\\quotesinglbase",8220:"\\textquotedblleft",8221:"\\textquotedblright",8222:"\\quotedblbase",8224:"\\textdagger",8225:"\\textdaggerdbl",8226:"\\textbullet",8228:".",8229:"..",8230:"\\textellipsis",8240:"\\textperthousand",8241:"\\textpertenthousand",8242:"'",8243:"''",8244:"'''",8245:"\\ensuremath{\\backprime}",8249:"\\guilsinglleft",8250:"\\guilsinglright",8251:"\\textreferencemark",8253:"\\textinterrobang",8260:"\\textfractionsolidus",8270:"\\textasteriskcentered",8274:"\\textdiscount",8279:"''''",8287:"\\hspace{0.22em}",8288:"\\nolinebreak",8289:"",8353:"\\textcolonmonetary",8356:"\\textlira",8358:"\\textnaira",8361:"\\textwon",8363:"\\textdong",8364:"\\texteuro",8369:"\\textpeso",8450:"\\ensuremath{\\mathbb{C}}",8451:"\\textcelsius",8457:"\\ensuremath{^\\circ}F",8458:"\\ensuremath{g}",8459:"\\ensuremath{\\mathscr{H}}",8460:"\\ensuremath{\\mathfrak{H}}",8461:"\\ensuremath{\\mathbb{H}}",8462:"\\ensuremath{h}",8463:"\\ensuremath{\\hbar}",8464:"\\ensuremath{\\mathscr{I}}",8465:"\\ensuremath{\\mathfrak{I}}",8466:"\\ensuremath{\\mathscr{L}}",8467:"\\ensuremath{\\ell}",8469:"\\ensuremath{\\mathbb{N}}",8470:"\\textnumero",8471:"\\textcircledP",8472:"\\ensuremath{\\wp}",8473:"\\ensuremath{\\mathbb{P}}",8474:"\\ensuremath{\\mathbb{Q}}",8475:"\\ensuremath{\\mathscr{R}}",8476:"\\ensuremath{\\mathfrak{R}}",8477:"\\ensuremath{\\mathbb{R}}",8478:"\\textrecipe",8480:"\\textservicemark",8482:"\\texttrademark",8484:"\\ensuremath{\\mathbb{Z}}",8486:"\\textohm",8487:"\\textmho",8488:"\\ensuremath{\\mathfrak{Z}}",8490:"K",8491:"\\r{A}",8492:"\\ensuremath{\\mathscr{B}}",8493:"\\ensuremath{\\mathfrak{C}}",8494:"\\textestimated",8495:"\\ensuremath{e}",8496:"\\ensuremath{\\mathscr{E}}",8497:"\\ensuremath{\\mathscr{F}}",8499:"\\ensuremath{\\mathscr{M}}",8500:"\\ensuremath{o}",8501:"\\ensuremath{\\aleph}",8502:"\\ensuremath{\\beth}",8503:"\\ensuremath{\\gimel}",8504:"\\ensuremath{\\daleth}",8531:"\\textfrac{1}{3}",8532:"\\textfrac{2}{3}",8533:"\\textfrac{1}{5}",8534:"\\textfrac{2}{5}",8535:"\\textfrac{3}{5}",8536:"\\textfrac{4}{5}",8537:"\\textfrac{1}{6}",8538:"\\textfrac{5}{6}",8539:"\\textfrac{1}{8}",8540:"\\textfrac{3}{8}",8541:"\\textfrac{5}{8}",8542:"\\textfrac{7}{8}",8592:"\\textleftarrow",8593:"\\textuparrow",8594:"\\textrightarrow",8595:"\\textdownarrow",8596:"\\ensuremath{\\leftrightarrow}",8597:"\\ensuremath{\\updownarrow}",8598:"\\ensuremath{\\nwarrow}",8599:"\\ensuremath{\\nearrow}",8600:"\\ensuremath{\\searrow}",8601:"\\ensuremath{\\swarrow}",8602:"\\ensuremath{\\nleftarrow}",8603:"\\ensuremath{\\nrightarrow}",8604:"\\ensuremath{\\arrowwaveleft}",8605:"\\ensuremath{\\arrowwaveright}",8606:"\\ensuremath{\\twoheadleftarrow}",8608:"\\ensuremath{\\twoheadrightarrow}",8610:"\\ensuremath{\\leftarrowtail}",8611:"\\ensuremath{\\rightarrowtail}",8614:"\\ensuremath{\\mapsto}",8617:"\\ensuremath{\\hookleftarrow}",8618:"\\ensuremath{\\hookrightarrow}",8619:"\\ensuremath{\\looparrowleft}",8620:"\\ensuremath{\\looparrowright}",8621:"\\ensuremath{\\leftrightsquigarrow}",8622:"\\ensuremath{\\nleftrightarrow}",8624:"\\ensuremath{\\Lsh}",8625:"\\ensuremath{\\Rsh}",8630:"\\ensuremath{\\curvearrowleft}",8631:"\\ensuremath{\\curvearrowright}",8634:"\\ensuremath{\\circlearrowleft}",8635:"\\ensuremath{\\circlearrowright}",8636:"\\ensuremath{\\leftharpoonup}",8637:"\\ensuremath{\\leftharpoondown}",8638:"\\ensuremath{\\upharpoonright}",8639:"\\ensuremath{\\upharpoonleft}",8640:"\\ensuremath{\\rightharpoonup}",8641:"\\ensuremath{\\rightharpoondown}",8642:"\\ensuremath{\\downharpoonright}",8643:"\\ensuremath{\\downharpoonleft}",8644:"\\ensuremath{\\rightleftarrows}",8645:"\\ensuremath{\\dblarrowupdown}",8646:"\\ensuremath{\\leftrightarrows}",8647:"\\ensuremath{\\leftleftarrows}",8648:"\\ensuremath{\\upuparrows}",8649:"\\ensuremath{\\rightrightarrows}",8650:"\\ensuremath{\\downdownarrows}",8651:"\\ensuremath{\\leftrightharpoons}",8652:"\\ensuremath{\\rightleftharpoons}",8653:"\\ensuremath{\\nLeftarrow}",8654:"\\ensuremath{\\nLeftrightarrow}",8655:"\\ensuremath{\\nRightarrow}",8656:"\\ensuremath{\\Leftarrow}",8657:"\\ensuremath{\\Uparrow}",8658:"\\ensuremath{\\Rightarrow}",8659:"\\ensuremath{\\Downarrow}",8660:"\\ensuremath{\\Leftrightarrow}",8661:"\\ensuremath{\\Updownarrow}",8666:"\\ensuremath{\\Lleftarrow}",8667:"\\ensuremath{\\Rrightarrow}",8669:"\\ensuremath{\\rightsquigarrow}",8693:"\\ensuremath{\\DownArrowUpArrow}",8704:"\\ensuremath{\\forall}",8705:"\\ensuremath{\\complement}",8706:"\\ensuremath{\\partial}",8707:"\\ensuremath{\\exists}",8708:"\\ensuremath{\\nexists}",8709:"\\ensuremath{\\varnothing}",8710:"\\ensuremath{\\Delta}",8711:"\\ensuremath{\\nabla}",8712:"\\ensuremath{\\in}",8713:"\\ensuremath{\\notin}",8714:"\\ensuremath{\\in}",8715:"\\ensuremath{\\ni}",8716:"\\ensuremath{\\not\\ni}",8717:"\\ensuremath{\\ni}",8718:"\\ensuremath{\\blacksquare}",8719:"\\ensuremath{\\prod}",8720:"\\ensuremath{\\coprod}",8721:"\\ensuremath{\\sum}",8722:"\\ensuremath{-}",8723:"\\ensuremath{\\mp}",8724:"\\ensuremath{\\dotplus}",8725:"\\ensuremath{/}",8726:"\\ensuremath{\\smallsetminus}",8727:"\\ensuremath{*}",8728:"\\ensuremath{\\circ}",8729:"\\ensuremath{\\bullet}",8730:"\\ensuremath{\\sqrt{}}",8731:"\\ensuremath{\\sqrt[3]{}}",8732:"\\ensuremath{\\sqrt[4]{}}",8733:"\\ensuremath{\\propto}",8734:"\\ensuremath{\\infty}",8735:"\\ensuremath{\\rightangle}",8736:"\\ensuremath{\\angle}",8737:"\\ensuremath{\\measuredangle}",8738:"\\ensuremath{\\sphericalangle}",8739:"\\ensuremath{\\mid}",8740:"\\ensuremath{\\nmid}",8741:"\\ensuremath{\\parallel}",8742:"\\ensuremath{\\nparallel}",8743:"\\ensuremath{\\wedge}",8744:"\\ensuremath{\\vee}",8745:"\\ensuremath{\\cap}",8746:"\\ensuremath{\\cup}",8747:"\\ensuremath{\\int}",8748:"\\ensuremath{\\iint}",8749:"\\ensuremath{\\iiint}",8750:"\\ensuremath{\\oint}",8751:"\\ensuremath{\\surfintegral}",8752:"\\ensuremath{\\volintegral}",8753:"\\ensuremath{\\clwintegral}",8756:"\\ensuremath{\\therefore}",8757:"\\ensuremath{\\because}",8758:"\\ensuremath{:}",8759:"\\ensuremath{::}",8762:"\\ensuremath{\\mathbin{{:}\\!\\!{-}\\!\\!{:}}}",8763:"\\ensuremath{\\homothetic}",8764:"\\ensuremath{\\sim}",8765:"\\ensuremath{\\backsim}",8766:"\\ensuremath{\\lazysinv}",8768:"\\ensuremath{\\wr}",8769:"\\ensuremath{\\not\\sim}",8771:"\\ensuremath{\\simeq}",8772:"\\ensuremath{\\not\\simeq}",8773:"\\ensuremath{\\cong}",8774:"\\ensuremath{\\approxnotequal}",8775:"\\ensuremath{\\not\\cong}",8776:"\\ensuremath{\\approx}",8777:"\\ensuremath{\\not\\approx}",8778:"\\ensuremath{\\approxeq}",8779:"\\ensuremath{\\tildetrpl}",8780:"\\ensuremath{\\allequal}",8781:"\\ensuremath{\\asymp}",8782:"\\ensuremath{\\Bumpeq}",8783:"\\ensuremath{\\bumpeq}",8784:"\\ensuremath{\\doteq}",8785:"\\ensuremath{\\doteqdot}",8786:"\\ensuremath{\\fallingdotseq}",8787:"\\ensuremath{\\risingdotseq}",8788:"\\ensuremath{:=}",8789:"\\ensuremath{=:}",8790:"\\ensuremath{\\eqcirc}",8791:"\\ensuremath{\\circeq}",8793:"\\ensuremath{\\estimates}",8795:"\\ensuremath{\\starequal}",8796:"\\ensuremath{\\triangleq}",8800:"\\ensuremath{\\neq}",8801:"\\ensuremath{\\equiv}",8802:"\\ensuremath{\\not\\equiv}",8804:"\\ensuremath{\\leq}",8805:"\\ensuremath{\\geq}",8806:"\\ensuremath{\\leqq}",8807:"\\ensuremath{\\geqq}",8808:"\\ensuremath{\\lneqq}",8809:"\\ensuremath{\\gneqq}",8810:"\\ensuremath{\\ll}",8811:"\\ensuremath{\\gg}",8812:"\\ensuremath{\\between}",8813:"\\ensuremath{\\not\\kern-0.3em\\times}",8814:"\\ensuremath{\\nless}",8815:"\\ensuremath{\\ngtr}",8816:"\\ensuremath{\\nleq}",8817:"\\ensuremath{\\ngeq}",8818:"\\ensuremath{\\lesssim}",8819:"\\ensuremath{\\gtrsim}",8820:"\\ensuremath{\\not\\lesssim}",8821:"\\ensuremath{\\not\\gtrsim}",8822:"\\ensuremath{\\lessgtr}",8823:"\\ensuremath{\\gtrless}",8824:"\\ensuremath{\\notlessgreater}",8825:"\\ensuremath{\\notgreaterless}",8826:"\\ensuremath{\\prec}",8827:"\\ensuremath{\\succ}",8828:"\\ensuremath{\\preceq}",8829:"\\ensuremath{\\succeq}",8830:"\\ensuremath{\\precsim}",8831:"\\ensuremath{\\succsim}",8832:"\\ensuremath{\\nprec}",8833:"\\ensuremath{\\nsucc}",8834:"\\ensuremath{\\subset}",8835:"\\ensuremath{\\supset}",8836:"\\ensuremath{\\not\\subset}",8837:"\\ensuremath{\\not\\supset}",8838:"\\ensuremath{\\subseteq}",8839:"\\ensuremath{\\supseteq}",8840:"\\ensuremath{\\nsubseteq}",8841:"\\ensuremath{\\nsupseteq}",8842:"\\ensuremath{\\subsetneq}",8843:"\\ensuremath{\\supsetneq}",8846:"\\ensuremath{\\uplus}",8847:"\\ensuremath{\\sqsubset}",8848:"\\ensuremath{\\sqsupset}",8849:"\\ensuremath{\\sqsubseteq}",8850:"\\ensuremath{\\sqsupseteq}",8851:"\\ensuremath{\\sqcap}",8852:"\\ensuremath{\\sqcup}",8853:"\\ensuremath{\\oplus}",8854:"\\ensuremath{\\ominus}",8855:"\\ensuremath{\\otimes}",8856:"\\ensuremath{\\oslash}",8857:"\\ensuremath{\\odot}",8858:"\\ensuremath{\\circledcirc}",8859:"\\ensuremath{\\circledast}",8861:"\\ensuremath{\\circleddash}",8862:"\\ensuremath{\\boxplus}",8863:"\\ensuremath{\\boxminus}",8864:"\\ensuremath{\\boxtimes}",8865:"\\ensuremath{\\boxdot}",8866:"\\ensuremath{\\vdash}",8867:"\\ensuremath{\\dashv}",8868:"\\ensuremath{\\top}",8869:"\\ensuremath{\\perp}",8871:"\\ensuremath{\\truestate}",8872:"\\ensuremath{\\forcesextra}",8873:"\\ensuremath{\\Vdash}",8874:"\\ensuremath{\\Vvdash}",8875:"\\ensuremath{\\VDash}",8876:"\\ensuremath{\\nvdash}",8877:"\\ensuremath{\\nvDash}",8878:"\\ensuremath{\\nVdash}",8879:"\\ensuremath{\\nVDash}",8882:"\\ensuremath{\\vartriangleleft}",8883:"\\ensuremath{\\vartriangleright}",8884:"\\ensuremath{\\trianglelefteq}",8885:"\\ensuremath{\\trianglerighteq}",8886:"\\ensuremath{\\original}",8887:"\\ensuremath{\\image}",8888:"\\ensuremath{\\multimap}",8889:"\\ensuremath{\\hermitconjmatrix}",8890:"\\ensuremath{\\intercal}",8891:"\\ensuremath{\\veebar}",8894:"\\ensuremath{\\rightanglearc}",8896:"\\ensuremath{\\bigwedge}",8897:"\\ensuremath{\\bigvee}",8898:"\\ensuremath{\\bigcap}",8899:"\\ensuremath{\\bigcup}",8900:"\\ensuremath{\\diamond}",8901:"\\ensuremath{\\cdot}",8902:"\\ensuremath{\\star}",8903:"\\ensuremath{\\divideontimes}",8904:"\\ensuremath{\\bowtie}",8905:"\\ensuremath{\\ltimes}",8906:"\\ensuremath{\\rtimes}",8907:"\\ensuremath{\\leftthreetimes}",8908:"\\ensuremath{\\rightthreetimes}",8909:"\\ensuremath{\\backsimeq}",8910:"\\ensuremath{\\curlyvee}",8911:"\\ensuremath{\\curlywedge}",8912:"\\ensuremath{\\Subset}",8913:"\\ensuremath{\\Supset}",8914:"\\ensuremath{\\Cap}",8915:"\\ensuremath{\\Cup}",8916:"\\ensuremath{\\pitchfork}",8918:"\\ensuremath{\\lessdot}",8919:"\\ensuremath{\\gtrdot}",8920:"\\ensuremath{\\verymuchless}",8921:"\\ensuremath{\\verymuchgreater}",8922:"\\ensuremath{\\lesseqgtr}",8923:"\\ensuremath{\\gtreqless}",8926:"\\ensuremath{\\curlyeqprec}",8927:"\\ensuremath{\\curlyeqsucc}",8930:"\\ensuremath{\\not\\sqsubseteq}",8931:"\\ensuremath{\\not\\sqsupseteq}",8934:"\\ensuremath{\\lnsim}",8935:"\\ensuremath{\\gnsim}",8936:"\\ensuremath{\\precedesnotsimilar}",8937:"\\ensuremath{\\succnsim}",8938:"\\ensuremath{\\ntriangleleft}",8939:"\\ensuremath{\\ntriangleright}",8940:"\\ensuremath{\\ntrianglelefteq}",8941:"\\ensuremath{\\ntrianglerighteq}",8942:"\\ensuremath{\\vdots}",8943:"\\ensuremath{\\cdots}",8944:"\\ensuremath{\\udots}",8945:"\\ensuremath{\\ddots}",8965:"\\ensuremath{\\barwedge}",8966:"\\ensuremath{\\varperspcorrespond}",8968:"\\ensuremath{\\lceil}",8969:"\\ensuremath{\\rceil}",8970:"\\ensuremath{\\lfloor}",8971:"\\ensuremath{\\rfloor}",8981:"\\ensuremath{\\recorder}",8982:'\\ensuremath{\\mathchar"2208}',8988:"\\ensuremath{\\ulcorner}",8989:"\\ensuremath{\\urcorner}",8990:"\\ensuremath{\\llcorner}",8991:"\\ensuremath{\\lrcorner}",8994:"\\ensuremath{\\frown}",8995:"\\ensuremath{\\smile}",9001:"\\textlangle",9002:"\\textrangle",9136:"\\ensuremath{\\lmoustache}",9137:"\\ensuremath{\\rmoustache}",9250:"\\textblank",9251:"\\textvisiblespace",9632:"\\ensuremath{\\blacksquare}",9633:"\\ensuremath{\\square}",9642:"{\\small\\ensuremath{\\blacksquare}}",9645:"\\fbox{~~}",9651:"\\ensuremath{\\bigtriangleup}",9652:"\\ensuremath{\\blacktriangle}",9653:"\\ensuremath{\\vartriangle}",9656:"\\ensuremath{\\blacktriangleright}",9657:"\\ensuremath{\\triangleright}",9661:"\\ensuremath{\\bigtriangledown}",9662:"\\ensuremath{\\blacktriangledown}",9663:"\\ensuremath{\\triangledown}",9666:"\\ensuremath{\\blacktriangleleft}",9667:"\\ensuremath{\\triangleleft}",9674:"\\ensuremath{\\lozenge}",9675:"\\ensuremath{\\bigcirc}",9702:"\\textopenbullet",9711:"\\textbigcircle",9826:"\\ensuremath{\\diamond}",9833:"\\quarternote",9834:"\\textmusicalnote",9837:"\\flat",9838:"\\natural",9839:"\\sharp",10216:"\\ensuremath{\\langle}",10217:"\\ensuremath{\\rangle}",10229:"\\ensuremath{\\longleftarrow}",10230:"\\ensuremath{\\longrightarrow}",10231:"\\ensuremath{\\longleftrightarrow}",10232:"\\ensuremath{\\Longleftarrow}",10233:"\\ensuremath{\\Longrightarrow}",10234:"\\ensuremath{\\Longleftrightarrow}",10236:"\\ensuremath{\\longmapsto}",10239:"\\ensuremath{\\sim\\joinrel\\leadsto}",10643:"\\ensuremath{<\\kern-0.58em(}",10731:"\\ensuremath{\\blacklozenge}",10767:"\\ensuremath{\\clockoint}",10774:"\\ensuremath{\\sqrint}",10815:"\\ensuremath{\\amalg}",10862:"\\ensuremath{\\stackrel{*}{=}}",10869:"==",10877:"\\ensuremath{\\leqslant}",10878:"\\ensuremath{\\geqslant}",10885:"\\ensuremath{\\lessapprox}",10886:"\\ensuremath{\\gtrapprox}",10887:"\\ensuremath{\\lneq}",10888:"\\ensuremath{\\gneq}",10889:"\\ensuremath{\\lnapprox}",10890:"\\ensuremath{\\gnapprox}",10891:"\\ensuremath{\\lesseqqgtr}",10892:"\\ensuremath{\\gtreqqless}",10901:"\\ensuremath{\\eqslantless}",10902:"\\ensuremath{\\eqslantgtr}",10927:"\\ensuremath{\\preceq}",10928:"\\ensuremath{\\succeq}",10933:"\\ensuremath{\\precneqq}",10934:"\\ensuremath{\\succneqq}",10935:"\\ensuremath{\\precapprox}",10936:"\\ensuremath{\\succapprox}",10937:"\\ensuremath{\\precnapprox}",10938:"\\ensuremath{\\succnapprox}",10949:"\\ensuremath{\\subseteqq}",10950:"\\ensuremath{\\supseteqq}",10955:"\\ensuremath{\\subsetneqq}",10956:"\\ensuremath{\\supsetneqq}",11005:"\\ensuremath{{{/}\\!\\!{/}}}",12296:"\\ensuremath{\\langle}",12297:"\\ensuremath{\\rangle}",64256:"ff",64257:"fi",64258:"fl",64259:"ffi",64260:"ffl",119808:"\\ensuremath{\\mathbf{A}}",119809:"\\ensuremath{\\mathbf{B}}",119810:"\\ensuremath{\\mathbf{C}}",119811:"\\ensuremath{\\mathbf{D}}",119812:"\\ensuremath{\\mathbf{E}}",119813:"\\ensuremath{\\mathbf{F}}",119814:"\\ensuremath{\\mathbf{G}}",119815:"\\ensuremath{\\mathbf{H}}",119816:"\\ensuremath{\\mathbf{I}}",119817:"\\ensuremath{\\mathbf{J}}",119818:"\\ensuremath{\\mathbf{K}}",119819:"\\ensuremath{\\mathbf{L}}",119820:"\\ensuremath{\\mathbf{M}}",119821:"\\ensuremath{\\mathbf{N}}",119822:"\\ensuremath{\\mathbf{O}}",119823:"\\ensuremath{\\mathbf{P}}",119824:"\\ensuremath{\\mathbf{Q}}",119825:"\\ensuremath{\\mathbf{R}}",119826:"\\ensuremath{\\mathbf{S}}",119827:"\\ensuremath{\\mathbf{T}}",119828:"\\ensuremath{\\mathbf{U}}",119829:"\\ensuremath{\\mathbf{V}}",119830:"\\ensuremath{\\mathbf{W}}",119831:"\\ensuremath{\\mathbf{X}}",119832:"\\ensuremath{\\mathbf{Y}}",119833:"\\ensuremath{\\mathbf{Z}}",119834:"\\ensuremath{\\mathbf{a}}",119835:"\\ensuremath{\\mathbf{b}}",119836:"\\ensuremath{\\mathbf{c}}",119837:"\\ensuremath{\\mathbf{d}}",119838:"\\ensuremath{\\mathbf{e}}",119839:"\\ensuremath{\\mathbf{f}}",119840:"\\ensuremath{\\mathbf{g}}",119841:"\\ensuremath{\\mathbf{h}}",119842:"\\ensuremath{\\mathbf{i}}",119843:"\\ensuremath{\\mathbf{j}}",119844:"\\ensuremath{\\mathbf{k}}",119845:"\\ensuremath{\\mathbf{l}}",119846:"\\ensuremath{\\mathbf{m}}",119847:"\\ensuremath{\\mathbf{n}}",119848:"\\ensuremath{\\mathbf{o}}",119849:"\\ensuremath{\\mathbf{p}}",119850:"\\ensuremath{\\mathbf{q}}",119851:"\\ensuremath{\\mathbf{r}}",119852:"\\ensuremath{\\mathbf{s}}",119853:"\\ensuremath{\\mathbf{t}}",119854:"\\ensuremath{\\mathbf{u}}",119855:"\\ensuremath{\\mathbf{v}}",119856:"\\ensuremath{\\mathbf{w}}",119857:"\\ensuremath{\\mathbf{x}}",119858:"\\ensuremath{\\mathbf{y}}",119859:"\\ensuremath{\\mathbf{z}}",119860:"\\ensuremath{\\mathit{A}}",119861:"\\ensuremath{\\mathit{B}}",119862:"\\ensuremath{\\mathit{C}}",119863:"\\ensuremath{\\mathit{D}}",119864:"\\ensuremath{\\mathit{E}}",119865:"\\ensuremath{\\mathit{F}}",119866:"\\ensuremath{\\mathit{G}}",119867:"\\ensuremath{\\mathit{H}}",119868:"\\ensuremath{\\mathit{I}}",119869:"\\ensuremath{\\mathit{J}}",119870:"\\ensuremath{\\mathit{K}}",119871:"\\ensuremath{\\mathit{L}}",119872:"\\ensuremath{\\mathit{M}}",119873:"\\ensuremath{\\mathit{N}}",119874:"\\ensuremath{\\mathit{O}}",119875:"\\ensuremath{\\mathit{P}}",119876:"\\ensuremath{\\mathit{Q}}",119877:"\\ensuremath{\\mathit{R}}",119878:"\\ensuremath{\\mathit{S}}",119879:"\\ensuremath{\\mathit{T}}",119880:"\\ensuremath{\\mathit{U}}",119881:"\\ensuremath{\\mathit{V}}",119882:"\\ensuremath{\\mathit{W}}",119883:"\\ensuremath{\\mathit{X}}",119884:"\\ensuremath{\\mathit{Y}}",119885:"\\ensuremath{\\mathit{Z}}",119886:"\\ensuremath{\\mathit{a}}",119887:"\\ensuremath{\\mathit{b}}",119888:"\\ensuremath{\\mathit{c}}",119889:"\\ensuremath{\\mathit{d}}",119890:"\\ensuremath{\\mathit{e}}",119891:"\\ensuremath{\\mathit{f}}",119892:"\\ensuremath{\\mathit{g}}",119893:"\\ensuremath{\\mathit{h}}",119894:"\\ensuremath{\\mathit{i}}",119895:"\\ensuremath{\\mathit{j}}",119896:"\\ensuremath{\\mathit{k}}",119897:"\\ensuremath{\\mathit{l}}",119898:"\\ensuremath{\\mathit{m}}",119899:"\\ensuremath{\\mathit{n}}",119900:"\\ensuremath{\\mathit{o}}",119901:"\\ensuremath{\\mathit{p}}",119902:"\\ensuremath{\\mathit{q}}",119903:"\\ensuremath{\\mathit{r}}",119904:"\\ensuremath{\\mathit{s}}",119905:"\\ensuremath{\\mathit{t}}",119906:"\\ensuremath{\\mathit{u}}",119907:"\\ensuremath{\\mathit{v}}",119908:"\\ensuremath{\\mathit{w}}",119909:"\\ensuremath{\\mathit{x}}",119910:"\\ensuremath{\\mathit{y}}",119911:"\\ensuremath{\\mathit{z}}",119912:"\\ensuremath{\\boldsymbol{\\mathit{A}}}",119913:"\\ensuremath{\\boldsymbol{\\mathit{B}}}",119914:"\\ensuremath{\\boldsymbol{\\mathit{C}}}",119915:"\\ensuremath{\\boldsymbol{\\mathit{D}}}",119916:"\\ensuremath{\\boldsymbol{\\mathit{E}}}",119917:"\\ensuremath{\\boldsymbol{\\mathit{F}}}",119918:"\\ensuremath{\\boldsymbol{\\mathit{G}}}",119919:"\\ensuremath{\\boldsymbol{\\mathit{H}}}",119920:"\\ensuremath{\\boldsymbol{\\mathit{I}}}",119921:"\\ensuremath{\\boldsymbol{\\mathit{J}}}",119922:"\\ensuremath{\\boldsymbol{\\mathit{K}}}",119923:"\\ensuremath{\\boldsymbol{\\mathit{L}}}",119924:"\\ensuremath{\\boldsymbol{\\mathit{M}}}",119925:"\\ensuremath{\\boldsymbol{\\mathit{N}}}",119926:"\\ensuremath{\\boldsymbol{\\mathit{O}}}",119927:"\\ensuremath{\\boldsymbol{\\mathit{P}}}",119928:"\\ensuremath{\\boldsymbol{\\mathit{Q}}}",119929:"\\ensuremath{\\boldsymbol{\\mathit{R}}}",119930:"\\ensuremath{\\boldsymbol{\\mathit{S}}}",119931:"\\ensuremath{\\boldsymbol{\\mathit{T}}}",119932:"\\ensuremath{\\boldsymbol{\\mathit{U}}}",119933:"\\ensuremath{\\boldsymbol{\\mathit{V}}}",119934:"\\ensuremath{\\boldsymbol{\\mathit{W}}}",119935:"\\ensuremath{\\boldsymbol{\\mathit{X}}}",119936:"\\ensuremath{\\boldsymbol{\\mathit{Y}}}",119937:"\\ensuremath{\\boldsymbol{\\mathit{Z}}}",119938:"\\ensuremath{\\boldsymbol{\\mathit{a}}}",119939:"\\ensuremath{\\boldsymbol{\\mathit{b}}}",119940:"\\ensuremath{\\boldsymbol{\\mathit{c}}}",119941:"\\ensuremath{\\boldsymbol{\\mathit{d}}}",119942:"\\ensuremath{\\boldsymbol{\\mathit{e}}}",119943:"\\ensuremath{\\boldsymbol{\\mathit{f}}}",119944:"\\ensuremath{\\boldsymbol{\\mathit{g}}}",119945:"\\ensuremath{\\boldsymbol{\\mathit{h}}}",119946:"\\ensuremath{\\boldsymbol{\\mathit{i}}}",119947:"\\ensuremath{\\boldsymbol{\\mathit{j}}}",119948:"\\ensuremath{\\boldsymbol{\\mathit{k}}}",119949:"\\ensuremath{\\boldsymbol{\\mathit{l}}}",119950:"\\ensuremath{\\boldsymbol{\\mathit{m}}}",119951:"\\ensuremath{\\boldsymbol{\\mathit{n}}}",119952:"\\ensuremath{\\boldsymbol{\\mathit{o}}}",119953:"\\ensuremath{\\boldsymbol{\\mathit{p}}}",119954:"\\ensuremath{\\boldsymbol{\\mathit{q}}}",119955:"\\ensuremath{\\boldsymbol{\\mathit{r}}}",119956:"\\ensuremath{\\boldsymbol{\\mathit{s}}}",119957:"\\ensuremath{\\boldsymbol{\\mathit{t}}}",119958:"\\ensuremath{\\boldsymbol{\\mathit{u}}}",119959:"\\ensuremath{\\boldsymbol{\\mathit{v}}}",119960:"\\ensuremath{\\boldsymbol{\\mathit{w}}}",119961:"\\ensuremath{\\boldsymbol{\\mathit{x}}}",119962:"\\ensuremath{\\boldsymbol{\\mathit{y}}}",119963:"\\ensuremath{\\boldsymbol{\\mathit{z}}}",119964:"\\ensuremath{\\mathscr{A}}",119965:"\\ensuremath{\\mathscr{B}}",119966:"\\ensuremath{\\mathscr{C}}",119967:"\\ensuremath{\\mathscr{D}}",119968:"\\ensuremath{\\mathscr{E}}",119969:"\\ensuremath{\\mathscr{F}}",119970:"\\ensuremath{\\mathscr{G}}",119971:"\\ensuremath{\\mathscr{H}}",119972:"\\ensuremath{\\mathscr{I}}",119973:"\\ensuremath{\\mathscr{J}}",119974:"\\ensuremath{\\mathscr{K}}",119975:"\\ensuremath{\\mathscr{L}}",119976:"\\ensuremath{\\mathscr{M}}",119977:"\\ensuremath{\\mathscr{N}}",119978:"\\ensuremath{\\mathscr{O}}",119979:"\\ensuremath{\\mathscr{P}}",119980:"\\ensuremath{\\mathscr{Q}}",119981:"\\ensuremath{\\mathscr{R}}",119982:"\\ensuremath{\\mathscr{S}}",119983:"\\ensuremath{\\mathscr{T}}",119984:"\\ensuremath{\\mathscr{U}}",119985:"\\ensuremath{\\mathscr{V}}",119986:"\\ensuremath{\\mathscr{W}}",119987:"\\ensuremath{\\mathscr{X}}",119988:"\\ensuremath{\\mathscr{Y}}",119989:"\\ensuremath{\\mathscr{Z}}",119990:"\\ensuremath{\\mathscr{a}}",119991:"\\ensuremath{\\mathscr{b}}",119992:"\\ensuremath{\\mathscr{c}}",119993:"\\ensuremath{\\mathscr{d}}",119995:"\\ensuremath{\\mathscr{f}}",119997:"\\ensuremath{\\mathscr{h}}",119998:"\\ensuremath{\\mathscr{i}}",119999:"\\ensuremath{\\mathscr{j}}",12e4:"\\ensuremath{\\mathscr{k}}",120001:"\\ensuremath{\\mathscr{l}}",120002:"\\ensuremath{\\mathscr{m}}",120003:"\\ensuremath{\\mathscr{n}}",120005:"\\ensuremath{\\mathscr{p}}",120006:"\\ensuremath{\\mathscr{q}}",120007:"\\ensuremath{\\mathscr{r}}",120008:"\\ensuremath{\\mathscr{s}}",120009:"\\ensuremath{\\mathscr{t}}",120010:"\\ensuremath{\\mathscr{u}}",120011:"\\ensuremath{\\mathscr{v}}",120012:"\\ensuremath{\\mathscr{w}}",120013:"\\ensuremath{\\mathscr{x}}",120014:"\\ensuremath{\\mathscr{y}}",120015:"\\ensuremath{\\mathscr{z}}",120068:"\\ensuremath{\\mathfrak{A}}",120069:"\\ensuremath{\\mathfrak{B}}",120070:"\\ensuremath{\\mathfrak{C}}",120071:"\\ensuremath{\\mathfrak{D}}",120072:"\\ensuremath{\\mathfrak{E}}",120073:"\\ensuremath{\\mathfrak{F}}",120074:"\\ensuremath{\\mathfrak{G}}",120075:"\\ensuremath{\\mathfrak{H}}",120076:"\\ensuremath{\\mathfrak{I}}",120077:"\\ensuremath{\\mathfrak{J}}",120078:"\\ensuremath{\\mathfrak{K}}",120079:"\\ensuremath{\\mathfrak{L}}",120080:"\\ensuremath{\\mathfrak{M}}",120081:"\\ensuremath{\\mathfrak{N}}",120082:"\\ensuremath{\\mathfrak{O}}",120083:"\\ensuremath{\\mathfrak{P}}",120084:"\\ensuremath{\\mathfrak{Q}}",120085:"\\ensuremath{\\mathfrak{R}}",120086:"\\ensuremath{\\mathfrak{S}}",120087:"\\ensuremath{\\mathfrak{T}}",120088:"\\ensuremath{\\mathfrak{U}}",120089:"\\ensuremath{\\mathfrak{V}}",120090:"\\ensuremath{\\mathfrak{W}}",120091:"\\ensuremath{\\mathfrak{X}}",120092:"\\ensuremath{\\mathfrak{Y}}",120093:"\\ensuremath{\\mathfrak{Z}}",120094:"\\ensuremath{\\mathfrak{a}}",120095:"\\ensuremath{\\mathfrak{b}}",120096:"\\ensuremath{\\mathfrak{c}}",120097:"\\ensuremath{\\mathfrak{d}}",120098:"\\ensuremath{\\mathfrak{e}}",120099:"\\ensuremath{\\mathfrak{f}}",120100:"\\ensuremath{\\mathfrak{g}}",120101:"\\ensuremath{\\mathfrak{h}}",120102:"\\ensuremath{\\mathfrak{i}}",120103:"\\ensuremath{\\mathfrak{j}}",120104:"\\ensuremath{\\mathfrak{k}}",120105:"\\ensuremath{\\mathfrak{l}}",120106:"\\ensuremath{\\mathfrak{m}}",120107:"\\ensuremath{\\mathfrak{n}}",120108:"\\ensuremath{\\mathfrak{o}}",120109:"\\ensuremath{\\mathfrak{p}}",120110:"\\ensuremath{\\mathfrak{q}}",120111:"\\ensuremath{\\mathfrak{r}}",120112:"\\ensuremath{\\mathfrak{s}}",120113:"\\ensuremath{\\mathfrak{t}}",120114:"\\ensuremath{\\mathfrak{u}}",120115:"\\ensuremath{\\mathfrak{v}}",120116:"\\ensuremath{\\mathfrak{w}}",120117:"\\ensuremath{\\mathfrak{x}}",120118:"\\ensuremath{\\mathfrak{y}}",120119:"\\ensuremath{\\mathfrak{z}}",120120:"\\ensuremath{\\mathbb{A}}",120121:"\\ensuremath{\\mathbb{B}}",120122:"\\ensuremath{\\mathbb{C}}",120123:"\\ensuremath{\\mathbb{D}}",120124:"\\ensuremath{\\mathbb{E}}",120125:"\\ensuremath{\\mathbb{F}}",120126:"\\ensuremath{\\mathbb{G}}",120127:"\\ensuremath{\\mathbb{H}}",120128:"\\ensuremath{\\mathbb{I}}",120129:"\\ensuremath{\\mathbb{J}}",120130:"\\ensuremath{\\mathbb{K}}",120131:"\\ensuremath{\\mathbb{L}}",120132:"\\ensuremath{\\mathbb{M}}",120133:"\\ensuremath{\\mathbb{N}}",120134:"\\ensuremath{\\mathbb{O}}",120135:"\\ensuremath{\\mathbb{P}}",120136:"\\ensuremath{\\mathbb{Q}}",120137:"\\ensuremath{\\mathbb{R}}",120138:"\\ensuremath{\\mathbb{S}}",120139:"\\ensuremath{\\mathbb{T}}",120140:"\\ensuremath{\\mathbb{U}}",120141:"\\ensuremath{\\mathbb{V}}",120142:"\\ensuremath{\\mathbb{W}}",120143:"\\ensuremath{\\mathbb{X}}",120144:"\\ensuremath{\\mathbb{Y}}",120145:"\\ensuremath{\\mathbb{Z}}",120146:"\\ensuremath{\\mathbb{a}}",120147:"\\ensuremath{\\mathbb{b}}",120148:"\\ensuremath{\\mathbb{c}}",120149:"\\ensuremath{\\mathbb{d}}",120150:"\\ensuremath{\\mathbb{e}}",120151:"\\ensuremath{\\mathbb{f}}",120152:"\\ensuremath{\\mathbb{g}}",120153:"\\ensuremath{\\mathbb{h}}",120154:"\\ensuremath{\\mathbb{i}}",120155:"\\ensuremath{\\mathbb{j}}",120156:"\\ensuremath{\\mathbb{k}}",120157:"\\ensuremath{\\mathbb{l}}",120158:"\\ensuremath{\\mathbb{m}}",120159:"\\ensuremath{\\mathbb{n}}",120160:"\\ensuremath{\\mathbb{o}}",120161:"\\ensuremath{\\mathbb{p}}",120162:"\\ensuremath{\\mathbb{q}}",120163:"\\ensuremath{\\mathbb{r}}",120164:"\\ensuremath{\\mathbb{s}}",120165:"\\ensuremath{\\mathbb{t}}",120166:"\\ensuremath{\\mathbb{u}}",120167:"\\ensuremath{\\mathbb{v}}",120168:"\\ensuremath{\\mathbb{w}}",120169:"\\ensuremath{\\mathbb{x}}",120170:"\\ensuremath{\\mathbb{y}}",120171:"\\ensuremath{\\mathbb{z}}",120224:"\\ensuremath{\\mathsf{A}}",120225:"\\ensuremath{\\mathsf{B}}",120226:"\\ensuremath{\\mathsf{C}}",120227:"\\ensuremath{\\mathsf{D}}",120228:"\\ensuremath{\\mathsf{E}}",120229:"\\ensuremath{\\mathsf{F}}",120230:"\\ensuremath{\\mathsf{G}}",120231:"\\ensuremath{\\mathsf{H}}",120232:"\\ensuremath{\\mathsf{I}}",120233:"\\ensuremath{\\mathsf{J}}",120234:"\\ensuremath{\\mathsf{K}}",120235:"\\ensuremath{\\mathsf{L}}",120236:"\\ensuremath{\\mathsf{M}}",120237:"\\ensuremath{\\mathsf{N}}",120238:"\\ensuremath{\\mathsf{O}}",120239:"\\ensuremath{\\mathsf{P}}",120240:"\\ensuremath{\\mathsf{Q}}",120241:"\\ensuremath{\\mathsf{R}}",120242:"\\ensuremath{\\mathsf{S}}",120243:"\\ensuremath{\\mathsf{T}}",120244:"\\ensuremath{\\mathsf{U}}",120245:"\\ensuremath{\\mathsf{V}}",120246:"\\ensuremath{\\mathsf{W}}",120247:"\\ensuremath{\\mathsf{X}}",120248:"\\ensuremath{\\mathsf{Y}}",120249:"\\ensuremath{\\mathsf{Z}}",120250:"\\ensuremath{\\mathsf{a}}",120251:"\\ensuremath{\\mathsf{b}}",120252:"\\ensuremath{\\mathsf{c}}",120253:"\\ensuremath{\\mathsf{d}}",120254:"\\ensuremath{\\mathsf{e}}",120255:"\\ensuremath{\\mathsf{f}}",120256:"\\ensuremath{\\mathsf{g}}",120257:"\\ensuremath{\\mathsf{h}}",120258:"\\ensuremath{\\mathsf{i}}",120259:"\\ensuremath{\\mathsf{j}}",120260:"\\ensuremath{\\mathsf{k}}",120261:"\\ensuremath{\\mathsf{l}}",120262:"\\ensuremath{\\mathsf{m}}",120263:"\\ensuremath{\\mathsf{n}}",120264:"\\ensuremath{\\mathsf{o}}",120265:"\\ensuremath{\\mathsf{p}}",120266:"\\ensuremath{\\mathsf{q}}",120267:"\\ensuremath{\\mathsf{r}}",120268:"\\ensuremath{\\mathsf{s}}",120269:"\\ensuremath{\\mathsf{t}}",120270:"\\ensuremath{\\mathsf{u}}",120271:"\\ensuremath{\\mathsf{v}}",120272:"\\ensuremath{\\mathsf{w}}",120273:"\\ensuremath{\\mathsf{x}}",120274:"\\ensuremath{\\mathsf{y}}",120275:"\\ensuremath{\\mathsf{z}}",120432:"\\ensuremath{\\mathtt{A}}",120433:"\\ensuremath{\\mathtt{B}}",120434:"\\ensuremath{\\mathtt{C}}",120435:"\\ensuremath{\\mathtt{D}}",120436:"\\ensuremath{\\mathtt{E}}",120437:"\\ensuremath{\\mathtt{F}}",120438:"\\ensuremath{\\mathtt{G}}",120439:"\\ensuremath{\\mathtt{H}}",120440:"\\ensuremath{\\mathtt{I}}",120441:"\\ensuremath{\\mathtt{J}}",120442:"\\ensuremath{\\mathtt{K}}",120443:"\\ensuremath{\\mathtt{L}}",120444:"\\ensuremath{\\mathtt{M}}",120445:"\\ensuremath{\\mathtt{N}}",120446:"\\ensuremath{\\mathtt{O}}",120447:"\\ensuremath{\\mathtt{P}}",120448:"\\ensuremath{\\mathtt{Q}}",120449:"\\ensuremath{\\mathtt{R}}",120450:"\\ensuremath{\\mathtt{S}}",120451:"\\ensuremath{\\mathtt{T}}",120452:"\\ensuremath{\\mathtt{U}}",120453:"\\ensuremath{\\mathtt{V}}",120454:"\\ensuremath{\\mathtt{W}}",120455:"\\ensuremath{\\mathtt{X}}",120456:"\\ensuremath{\\mathtt{Y}}",120457:"\\ensuremath{\\mathtt{Z}}",120458:"\\ensuremath{\\mathtt{a}}",120459:"\\ensuremath{\\mathtt{b}}",120460:"\\ensuremath{\\mathtt{c}}",120461:"\\ensuremath{\\mathtt{d}}",120462:"\\ensuremath{\\mathtt{e}}",120463:"\\ensuremath{\\mathtt{f}}",120464:"\\ensuremath{\\mathtt{g}}",120465:"\\ensuremath{\\mathtt{h}}",120466:"\\ensuremath{\\mathtt{i}}",120467:"\\ensuremath{\\mathtt{j}}",120468:"\\ensuremath{\\mathtt{k}}",120469:"\\ensuremath{\\mathtt{l}}",120470:"\\ensuremath{\\mathtt{m}}",120471:"\\ensuremath{\\mathtt{n}}",120472:"\\ensuremath{\\mathtt{o}}",120473:"\\ensuremath{\\mathtt{p}}",120474:"\\ensuremath{\\mathtt{q}}",120475:"\\ensuremath{\\mathtt{r}}",120476:"\\ensuremath{\\mathtt{s}}",120477:"\\ensuremath{\\mathtt{t}}",120478:"\\ensuremath{\\mathtt{u}}",120479:"\\ensuremath{\\mathtt{v}}",120480:"\\ensuremath{\\mathtt{w}}",120481:"\\ensuremath{\\mathtt{x}}",120482:"\\ensuremath{\\mathtt{y}}",120483:"\\ensuremath{\\mathtt{z}}",120782:"\\ensuremath{\\mathbf{0}}",120783:"\\ensuremath{\\mathbf{1}}",120784:"\\ensuremath{\\mathbf{2}}",120785:"\\ensuremath{\\mathbf{3}}",120786:"\\ensuremath{\\mathbf{4}}",120787:"\\ensuremath{\\mathbf{5}}",120788:"\\ensuremath{\\mathbf{6}}",120789:"\\ensuremath{\\mathbf{7}}",120790:"\\ensuremath{\\mathbf{8}}",120791:"\\ensuremath{\\mathbf{9}}",120792:"\\ensuremath{\\mathbb{0}}",120793:"\\ensuremath{\\mathbb{1}}",120794:"\\ensuremath{\\mathbb{2}}",120795:"\\ensuremath{\\mathbb{3}}",120796:"\\ensuremath{\\mathbb{4}}",120797:"\\ensuremath{\\mathbb{5}}",120798:"\\ensuremath{\\mathbb{6}}",120799:"\\ensuremath{\\mathbb{7}}",120800:"\\ensuremath{\\mathbb{8}}",120801:"\\ensuremath{\\mathbb{9}}",120802:"\\ensuremath{\\mathsf{0}}",120803:"\\ensuremath{\\mathsf{1}}",120804:"\\ensuremath{\\mathsf{2}}",120805:"\\ensuremath{\\mathsf{3}}",120806:"\\ensuremath{\\mathsf{4}}",120807:"\\ensuremath{\\mathsf{5}}",120808:"\\ensuremath{\\mathsf{6}}",120809:"\\ensuremath{\\mathsf{7}}",120810:"\\ensuremath{\\mathsf{8}}",120811:"\\ensuremath{\\mathsf{9}}",120822:"\\ensuremath{\\mathtt{0}}",120823:"\\ensuremath{\\mathtt{1}}",120824:"\\ensuremath{\\mathtt{2}}",120825:"\\ensuremath{\\mathtt{3}}",120826:"\\ensuremath{\\mathtt{4}}",120827:"\\ensuremath{\\mathtt{5}}",120828:"\\ensuremath{\\mathtt{6}}",120829:"\\ensuremath{\\mathtt{7}}",120830:"\\ensuremath{\\mathtt{8}}",120831:"\\ensuremath{\\mathtt{9}}"},tX=["{","}","_","^","#","&","$","%","~"],t0={"̀":"\\grave{{{0}}}","́":"\\acute{{{0}}}","̂":"\\hat{{{0}}}","̃":"\\tilde{{{0}}}","̄":"\\bar{{{0}}}","̅":"\\overbar{{{0}}}","̆":"\\breve{{{0}}}","̇":"\\dot{{{0}}}","̈":"\\ddot{{{0}}}","̉":"\\ovhook{{{0}}}","̊":"\\ocirc{{{0}}}}","̌":"\\check{{{0}}}}","̐":"\\candra{{{0}}}","̒":"\\oturnedcomma{{{0}}}","̕":"\\ocommatopright{{{0}}}","̚":"\\droang{{{0}}}","̸":"\\not{{{0}}}","⃝":"\\enclosecircle{{{0}}}","⃞":"\\enclosesquare{{{0}}}","⃟":"\\enclosediamond{{{0}}}","⃤":"\\enclosetriangle{{{0}}}","⃐":"\\leftharpoonup{{{0}}}","⃑":"\\rightharpoonup{{{0}}}","⃒":"\\vertoverlay{{{0}}}","⃖":"\\LVec{{{0}}}","⃗":"\\vec{{{0}}}","⃛":"\\dddot{{{0}}}","⃜":"\\ddddot{{{0}}}","⃡":"\\overleftrightarrow{{{0}}}","⃧":"\\annuity{{{0}}}","⃩":"\\widebridgeabove{{{0}}}","⃰":"\\asteraccent{{{0}}}","̰":"\\wideutilde{{{0}}}","̱":"\\underbar{{{0}}}","⃨":"\\threeunderdot{{{0}}}","⃬":"\\underrightharpoondown{{{0}}}","⃭":"\\underleftharpoondown{{{0}}}","⃮":"\\underleftarrow{{{0}}}","⃯":"\\underrightarrow{{{0}}}","⎴":"\\overbracket{{{0}}}","⏜":"\\overparen{{{0}}}","⏞":"\\overbrace{{{0}}}","⎵":"\\underbracket{{{0}}}","⏝":"\\underparen{{{0}}}","⏟":"\\underbrace{{{0}}}"},t1={"⅀":"\\Bbbsum","∏":"\\prod","∐":"\\coprod","∑":"\\sum","∫":"\\int","∬":"\\iint","∭":"\\iiint","⨌":"\\iiiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint","⨍":"\\fint","⨖":"\\sqint","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨅":"\\bigsqcap","⨆":"\\bigsqcup","⨉":"\\varprod"},t2={"→":"\\rightarrow ",𝛼:"\\alpha ",𝛽:"\\beta ",𝛾:"\\gamma ",𝛿:"\\delta ",𝜀:"\\epsilon ",𝜁:"\\zeta ",𝜂:"\\eta ",𝜃:"\\theta ",𝜄:"\\iota ",𝜅:"\\kappa ",𝜆:"\\lambda ",𝜇:"\\mu ",𝜈:"\\nu ",𝜉:"\\xi ",𝜊:"\\omicron ",𝜋:"\\pi ",𝜌:"\\rho ",𝜍:"\\varsigma ",𝜎:"\\sigma ",𝜏:"\\tau ",𝜐:"\\upsilon ",𝜑:"\\phi ",𝜒:"\\chi ",𝜓:"\\psi ",𝜔:"\\omega ","𝜕":"\\partial ",𝜖:"\\varepsilon ",𝜗:"\\vartheta ",𝜘:"\\varkappa ",𝜙:"\\varphi ",𝜚:"\\varrho ",𝜛:"\\varpi ","←":"\\leftarrow ","↑":"\\uparrow ","↓":"\\downarrow ","↔":"\\leftrightarrow ","↕":"\\updownarrow ","↖":"\\nwarrow ","↗":"\\nearrow ","↘":"\\searrow ","↙":"\\swarrow ","⋮":"\\vdots ","⋯":"\\cdots ","⋰":"\\adots ","⋱":"\\ddots ","⇐":"\\Leftarrow ","⇒":"\\Rightarrow ","⇔":"\\Leftrightarrow ","⇑":"\\Uparrow ","⇓":"\\Downarrow ","⇕":"\\Updownarrow ","↦":"\\mapsto ","⟨":"\\langle ","⟩":"\\rangle ","⌈":"\\lceil ","⌉":"\\rceil ","⌊":"\\lfloor ","⌋":"\\rfloor ","‖":"\\Vert ","∥":"\\parallel ","≠":"\\ne ","≤":"\\leq ","≥":"\\geq ","≦":"\\leqq ","≧":"\\geqq ","≨":"\\lneqq ","≩":"\\gneqq ","≪":"\\ll ","≫":"\\gg ","∈":"\\in ","∉":"\\notin ","∋":"\\ni ","∌":"\\nni ","∞":"\\infty ","±":"\\pm ","∓":"\\mp ","·":"\\cdot ","⋅":"\\cdot ","×":"\\times ","÷":"\\div ","∗":"\\ast ","∘":"\\circ ","∙":"\\bullet ","−":"-","<":"<",">":">","=":"=","≈":"\\approx ","≡":"\\equiv ","≅":"\\cong ","∼":"\\sim ","≃":"\\simeq ","≐":"\\doteq ","∝":"\\propto ","∴":"\\therefore ","∵":"\\because ","∀":"\\forall ","∃":"\\exists ","∄":"\\nexists ","∅":"\\emptyset ","∇":"\\nabla ","∧":"\\wedge ","∨":"\\vee ","¬":"\\neg ","∩":"\\cap ","∪":"\\cup ","⊂":"\\subset ","⊃":"\\supset ","⊆":"\\subseteq ","⊇":"\\supseteq ","⊕":"\\oplus ","⊗":"\\otimes ","⊥":"\\perp ","°":"\\degree ","′":"\\prime ","″":"\\prime\\prime ","…":"\\ldots ",α:"\\alpha ",β:"\\beta ",γ:"\\gamma ",δ:"\\delta ",ε:"\\epsilon ",ζ:"\\zeta ",η:"\\eta ",θ:"\\theta ",ι:"\\iota ",κ:"\\kappa ",λ:"\\lambda ",μ:"\\mu ",ν:"\\nu ",ξ:"\\xi ",ο:"\\omicron ",π:"\\pi ",ρ:"\\rho ",ς:"\\varsigma ",σ:"\\sigma ",τ:"\\tau ",υ:"\\upsilon ",φ:"\\phi ",χ:"\\chi ",ψ:"\\psi ",ω:"\\omega ","∂":"\\partial ",ϵ:"\\epsilon ",ϑ:"\\vartheta ",ϰ:"\\varkappa ",ϕ:"\\phi ",ϱ:"\\varrho ",ϖ:"\\varpi ",𝐴:"A",𝐵:"B",𝐶:"C",𝐷:"D",𝐸:"E",𝐹:"F",𝐺:"G",𝐻:"H",𝐼:"I",𝐽:"J",𝐾:"K",𝐿:"L",𝑀:"M",𝑁:"N",𝑂:"O",𝑃:"P",𝑄:"Q",𝑅:"R",𝑆:"S",𝑇:"T",𝑈:"U",𝑉:"V",𝑊:"W",𝑋:"X",𝑌:"Y",𝑍:"Z",𝑎:"a",𝑏:"b",𝑐:"c",𝑑:"d",𝑒:"e",𝑓:"f",𝑔:"g",𝑖:"i",𝑗:"j",𝑘:"k",𝑙:"l",𝑚:"m",𝑛:"n",𝑜:"o",𝑝:"p",𝑞:"q",𝑟:"r",𝑠:"s",𝑡:"t",𝑢:"u",𝑣:"v",𝑤:"w",𝑥:"x",𝑦:"y",𝑧:"z",𝒉:"h",𝛢:"A",𝛣:"B",𝛤:"\\Gamma ",𝛥:"\\Delta ",𝛦:"E",𝛧:"Z",𝛨:"H",𝛩:"\\Theta ",𝛪:"I",𝛫:"K",𝛬:"\\Lambda ",𝛭:"M",𝛮:"N",𝛯:"\\Xi ",𝛰:"O",𝛱:"\\Pi ",𝛲:"P",𝛴:"\\Sigma ",𝛵:"T",𝛶:"\\Upsilon ",𝛷:"\\Phi ",𝛸:"X",𝛹:"\\Psi ",𝛺:"\\Omega "},t8={sin:"\\sin({fe})",cos:"\\cos({fe})",tan:"\\tan({fe})",cot:"\\cot({fe})",sec:"\\sec({fe})",csc:"\\csc({fe})",arcsin:"\\arcsin({fe})",arccos:"\\arccos({fe})",arctan:"\\arctan({fe})",arccot:"\\arccot({fe})",arcsec:"\\arcsec({fe})",arccsc:"\\arccsc({fe})",sinh:"\\sinh({fe})",cosh:"\\cosh({fe})",tanh:"\\tanh({fe})",coth:"\\coth({fe})",sech:"\\sech({fe})",csch:"\\csch({fe})",arcsinh:"\\arcsinh({fe})",arccosh:"\\arccosh({fe})",arctanh:"\\arctanh({fe})",arccoth:"\\arccoth({fe})",arcsech:"\\arcsech({fe})",arccsch:"\\arccsch({fe})",log:"\\log{{fe}}",ln:"\\ln{{fe}}",lg:"\\lg{{fe}}",exp:"\\exp({fe})",arg:"\\arg({fe})",deg:"\\deg({fe})",det:"\\det({fe})",dim:"\\dim({fe})",gcd:"\\gcd({fe})",hom:"\\hom({fe})",ker:"\\ker({fe})",mod:"\\bmod({fe})",Pr:"\\Pr({fe})"},t5={top:"\\overline{{{0}}}",bot:"\\underline{{{0}}}"},t3={bar:"\\frac{{{num}}}{{{den}}}",skw:"^{{{num}}}/_{{{den}}}",noBar:"\\genfrac{{}}{{}}{{0pt}}{{}}{{{num}}}{{{den}}}",lin:"{{{num}}}/{{{den}}}"},t4="\\frac{{{num}}}{{{den}}}",t6={left:"\\begin{{array}}{{l}}{text}\\end{{array}}",right:"\\begin{{array}}{{r}}{text}\\end{{array}}",center:"\\begin{{matrix}}{text}\\end{{matrix}}"},t9={lim:"\\lim_{{{lim}}}",max:"\\max_{{{lim}}}",min:"\\min_{{{lim}}}",sup:"\\sup_{{{lim}}}",inf:"\\inf_{{{lim}}}",limsup:"\\limsup_{{{lim}}}",liminf:"\\liminf_{{{lim}}}",injlim:"\\injlim_{{{lim}}}",projlim:"\\projlim_{{{lim}}}"},t7=["\\rightarrow","\\to"];function et(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ee(t){let e=t.indexOf(":");return -1===e?t:t.slice(e+1)}function er(t){return"string"!=typeof t}function ea(t){let e="";for(let r of t.children)e+="string"==typeof r?tJ(r):ea(r);return e}function es(t,e=[],r={}){let a="",s=0,n=t.length;for(;s<n;){let n=t[s];if("{"===n){if("{"===t[s+1]){a+="{",s+=2;continue}let i=t.indexOf("}",s+1);if(-1===i){a+=n,s+=1;continue}let o=t.slice(s+1,i);/^\d+$/.test(o)?a+=e[Number(o)]??"":a+=r[o]??"",s=i+1;continue}if("}"===n&&"}"===t[s+1]){a+="}",s+=2;continue}a+=n,s+=1}return a}function en(t){let e=t.split("\\\\").join("\\"),r="",a=null;for(let t of e)tX.includes(t)&&"\\"!==a?r+="\\"+t:r+=t,a=t;return r}function ei(t,e,r){return void 0!==t?r&&void 0!==r[t]?r[t]:t:e}function eo(t,e=!1){if(void 0===t)return e;let r=t.toLowerCase();return"on"===r||"1"===r||"true"===r}let el=new Set(["chr","pos","begChr","endChr","sepChr","type","show","smallFrac","limLoc","intLim","naryLim","mcJc","degHide"]);class eh{get(t){return this.attrs[t]}constructor(t,e){for(const e of(et(this,"text",""),et(this,"attrs",{}),t.children)){if(!er(e))continue;const t=ee(e.tagName);"brk"===t?(this.attrs.brk="\\\\",this.text+="\\\\"):el.has(t)&&(this.attrs[t]=eu(e,"val"))}}}function eu(t,e){for(let r of Object.keys(t.attributes))if(ee(r)===e){let e=t.attributes[r];return null==e?void 0:e}}let ec=new Set(["box","sSub","sSup","sSubSup","num","den","deg","e","oMath","oMathPara"]);class ef{convert(t){let e=this.oMath(t);for(let t of this.unsupported)this.options.onUnsupported?.(t);return e}noteUnsupported(t){this.unsupported.add(t)}oMath(t){return this.processChildren(t)}processChildrenList(t,e){let r=[];for(let a of t.children){if(!er(a))continue;let t=ee(a.tagName);if(e&&!e.has(t))continue;let s=this.dispatch(t,a);(null!=s||null!=(s=this.processUnknown(t,a)))&&r.push({stag:t,value:s,node:a})}return r}processChildrenDict(t,e){let r={};for(let{stag:a,value:s}of this.processChildrenList(t,e))r[a]=s;return r}processChildren(t,e){let r="";for(let{value:a}of this.processChildrenList(t,e))r+=a instanceof eh?a.text:String(a);return r}dispatch(t,e){switch(t){case"acc":return this.doAcc(e);case"r":return this.doR(e);case"bar":return this.doBar(e);case"sub":return this.doSub(e);case"sup":return this.doSup(e);case"f":return this.doF(e);case"func":return this.doFunc(e);case"fName":return this.doFName(e);case"groupChr":return this.doGroupChr(e);case"d":return this.doD(e);case"rad":return this.doRad(e);case"eqArr":return this.doEqArr(e);case"limLow":return this.doLimLow(e);case"limUpp":return this.doLimUpp(e);case"lim":return this.doLim(e);case"m":return this.doM(e);case"mr":return this.doMr(e);case"nary":return this.doNary(e);case"borderBox":return this.doBorderBox(e);case"phant":return this.doPhant(e);case"sPre":return this.doSPre(e);default:return null}}processUnknown(t,e){return ec.has(t)?this.processChildren(e):t.endsWith("Pr")?new eh(e,this):(this.noteUnsupported(t),ea(e))}doAcc(t){let e=this.processChildrenDict(t),r=e.accPr;return es(ei(r?.get("chr"),"\\hat{{{0}}}",t0)??"",[e.e??""])}doBar(t){let e=this.processChildrenDict(t),r=e.barPr,a=ei(r?.get("pos"),"\\overline{{{0}}}",t5)??"",s=e.e??"";return(r?.text??"")+es(a,[s])}doD(t){let e=this.processChildrenDict(t).dPr,r=ei(e?.get("begChr"),"(",t2),a=ei(e?.get("endChr"),")",t2),s=ei(e?.get("sepChr"),"|",t2),n=this.processChildrenList(t,new Set(["e"])).map(t=>String(t.value)),i=s?en(s):"",o=n.join(i);return(e?.text??"")+es("\\left{left}{text}\\right{right}",[],{left:r?en(r):".",text:o,right:a?en(a):"."})}doSub(t){return es(ed,[this.processChildren(t)])}doSup(t){return es(em,[this.processChildren(t)])}doF(t){let e=this.processChildrenDict(t),r=e.fPr,a=ei(r?.get("type"),t4,t3)??"";a===t4&&eo(r?.get("smallFrac"))&&(a="\\tfrac{{{num}}}{{{den}}}");let s=e.num??"",n=e.den??"";return(r?.text??"")+es(a,[],{num:s,den:n})}doFunc(t){let e=this.processChildrenDict(t),r=e.fName??"",a=e.e??"";return r.split("{fe}").join(a)}doFName(t){let e=[];for(let{stag:r,value:a}of this.processChildrenList(t))if("r"===r){let t=String(a).trim();void 0!==t8[t]?e.push(t8[t]):(this.noteUnsupported("fName:"+t),e.push(String(a)))}else e.push(String(a));let r=e.join("");return r.includes("{fe}")?r:r+"{fe}"}doGroupChr(t){let e=this.processChildrenDict(t),r=e.groupChrPr,a=ei(r?.get("chr"),void 0,t0)??"",s=e.e??"";return(r?.text??"")+es(a,[s])}doRad(t){let e=this.processChildrenDict(t),r=e.e??"",a=e.deg;return a?es("\\sqrt[{deg}]{{{text}}}",[],{deg:a,text:r}):es("\\sqrt{{{text}}}",[],{text:r})}doEqArr(t){return es("\\begin{{array}}{{c}}{text}\\end{{array}}",[],{text:this.processChildrenList(t,new Set(["e"])).map(t=>String(t.value)).join("\\\\")})}doLimLow(t){let e=this.processChildrenDict(t,new Set(["e","lim"])),r=e.e??"",a=e.lim??"",s=t9[r];return s?es(s,[],{lim:a}):(this.noteUnsupported("limLow:"+r),r+a)}doLimUpp(t){let e=this.processChildrenDict(t,new Set(["e","lim"]));return es("\\overset{{{lim}}}{{{text}}}",[],{lim:e.lim??"",text:e.e??""})}doLim(t){return this.processChildren(t).split(t7["0"]).join(t7["1"])}doM(t){let e=[],r="\\begin{{matrix}}{text}\\end{{matrix}}";for(let{stag:a,value:s,node:n}of this.processChildrenList(t)){if("mPr"===a){let t=function t(e,r,a){for(let s of e.children){if(!er(s))continue;if(ee(s.tagName)===r){let t=eu(s,a);if(void 0!==t)return t}let e=t(s,r,a);if(void 0!==e)return e}}(n,"mcJc","val");t&&t6[t]&&(r=t6[t]);continue}"mr"===a&&e.push(String(s))}return es(r,[],{text:e.join("\\\\")})}doMr(t){return this.processChildrenList(t,new Set(["e"])).map(t=>String(t.value)).join("&")}doNary(t){let e=[],r="",a="";for(let{stag:s,value:n}of this.processChildrenList(t))"naryPr"===s?(r=ei(n.get("chr"),void 0,t1)??"",a=n.get("naryLim")??n.get("limLoc")??n.get("intLim")??""):e.push(String(n));return r+("undOvr"===a?"\\limits":"")+e.join("")}doBorderBox(t){return es("\\boxed{{{0}}}",[this.processChildrenDict(t).e??""])}doPhant(t){let e=this.processChildrenDict(t),r=e.phantPr,a=e.e??"";return eo(r?.get("show"),!0)?a:es("\\phantom{{{0}}}",[a])}doSPre(t){let e=this.processChildrenDict(t),r=e.e??"",a=e.sub??"",s=e.sup??"";return`{}${a}${s}{${r}}`}processUnicode(t){let e="";for(let r of t.normalize("NFC")){let t=t2[r];void 0!==t?e+=t:tX.includes(r)?e+=r:e+=function(t){let e=String(t).normalize("NFC"),r="";for(let t of e){let e=tQ[t.codePointAt(0)];void 0!==e?r+="{"+e+"}":r+=t}return r}(r)}return e}doR(t){let e=[],r=[];for(let a of t.children){if(!er(a)||"t"!==ee(a.tagName))continue;let t=ea(a);e.push(this.processUnicode(t)),r.push(t)}let a=en(e.join("")),s=r.join("");return!s.includes("{")&&a.includes("\\{")&&(a=a.split("\\{").join("{")),!s.includes("}")&&a.includes("\\}")&&(a=a.split("\\}").join("}")),a}constructor(t={}){et(this,"options",void 0),et(this,"unsupported",void 0),this.options=t,this.unsupported=new Set}}let ed="_{{{0}}}",em="^{{{0}}}";function ep(t){let e=t&&t.__rawNode;return e?tJ(function(t,e={}){let r=ee(t.tagName);if("oMathPara"===r||"m"===r){let r=function t(e,r,a=[]){for(let s of(ee(e.tagName)===r&&a.push(e),e.children))"string"!=typeof s&&t(s,r,a);return a}(t,"oMath");if(r.length)return r.map(t=>new ef(e).convert(t)).join("").trim()}return new ef(e).convert(t)}(function t(e){if(!e||"object"!=typeof e)return null;if("oMath"===function(t){if(!t)return"";let e=t.indexOf(":");return e>=0?t.slice(e+1):t}(e.tagName))return e;for(let r of e.children||[])if("object"==typeof r){let e=t(r);if(e)return e}return null}(e)||e)).trim():""}let e$=t=>t?Array.isArray(t)?t:[t]:[];function eb(t){let e=e$(t&&t["m:oMath"]);if(e.length)return e;let r=[];for(let e of e$(t&&t["m:oMathPara"])){let t=e$(e["m:oMath"]);t.length?r.push(...t):r.push(e)}return r}let eg=(t,e)=>{if(!t||"object"!=typeof t)return null;if(t["a:rPr"]){let e=t["a:rPr"];return Array.isArray(e)?e[0]:e}for(let[r,a]of Object.entries(t))if("attrs"!==r&&(!e||"m:ctrlPr"!==r))for(let t of e$(a)){let r=eg(t,e);if(r)return r}return null};function eL(t,e){let r=tS(t,void 0,void 0,e),a=t.attrs,s=a.dir?parseInt(a.dir)/6e4:0,n=a.dist?parseInt(a.dist)*tz:0,i=a.blurRad?parseInt(a.blurRad)*tz:"",o=n*Math.sin(s*Math.PI/180);return{h:n*Math.cos(s*Math.PI/180),v:o,blur:i,color:r}}function ey(t,e){e&&t.push(e)}function ev(t){return`a:lvl${t}pPr`}function eM(t,e,r){e&&(ey(t,tt(e,["p:txBody","a:lstStyle",ev(r),"a:defRPr"])),ey(t,tt(e,["p:txBody","a:p","a:pPr","a:defRPr"])))}function e_(t,e,r,a){if(!a)return;let s=ev(r);"title"===e||"ctrTitle"===e||"subTitle"===e?(ey(t,tt(a,["p:titleStyle",s,"a:defRPr"])),"subTitle"===e&&ey(t,tt(a,["p:bodyStyle",s,"a:defRPr"]))):"body"===e?ey(t,tt(a,["p:bodyStyle",s,"a:defRPr"])):ey(t,tt(a,["p:otherStyle",s,"a:defRPr"]))}function ew(t,e,r,a,s,n){let i=[],o=tt(t,["a:rPr"]);return ey(i,o),o||ey(i,tt(e,["a:endParaRPr"])),ey(i,tt(e,["a:pPr","a:defRPr"])),r&&ey(i,tt(r,["a:lstStyle",ev(n),"a:defRPr"])),eM(i,a,n),eM(i,s,n),i}function ek(t,e,r,a,s,n,i,o){let l=ew(t,e,r,a,s,o);return e_(l,n,o,i),l}function ex(t,e){for(let r of t){let t=tt(r,["attrs",e]);if(void 0!==t&&""!==t)return t}return""}function eC(t){return/[\u2E80-\u9FFF\uF900-\uFAFF\uFF00-\uFF60\uFFE0-\uFFE6\u3000-\u303F]/.test(t)}function eS(t,e){for(let r of t){let t=function(t,e){if(!t)return"";let r=tl(t);return"SOLID_FILL"===r?tS(t["a:solidFill"],void 0,void 0,e):"GRADIENT_FILL"===r?tv(t["a:gradFill"],e):""}(r,e);if(t)return t}return""}function eI(t,e,r,a,s,n,i,o,l,h){let u=tt(t,["a:rPr"]);if(u&&"NO_FILL"===tl(u))return"transparent";let c=ew(t,e,r,a,s,o),f=eS(c,h);if(!f){if(l&&(f=tS(l,void 0,void 0,h)),!f){let t=tt(a,["p:style","a:fontRef"]);t&&(f=tS(t,void 0,void 0,h))}if(!f){let t=tt(s,["p:style","a:fontRef"]);t&&(f=tS(t,void 0,void 0,h))}}return f||(e_(c,n,o,i),f=eS(c,h)),f||""}function eA(t,e,r,a,s,n,i,o,l){let h=ek(t,e,r,a,s,n,i,o);l&&(ey(h,tt(l,[ev(o),"a:defRPr"])),ey(h,tt(l,["a:defPPr","a:defRPr"])));let u=ex(h,"sz"),c=u?parseInt(u)/100:void 0;return(isNaN(c)||!c)&&("dt"===n||"sldNum"===n)&&(c=12),(c=isNaN(c)||!c?18:c)+"pt"}function eP(t){return"string"==typeof t?t:t&&"string"==typeof t.value?t.value:void 0}function eR(t,e,r,a,s,n){if(!t)return"";let i="",o=tt(e,["p:style","a:fontRef"]),l=e&&e["a:tcPr"]?void 0:n.slideMasterTextStyles,h=e&&e["a:tcPr"]?n.defaultTextStyle:void 0,u=t["a:p"],c=u.constructor===Array?u:[u],f=[];for(let u of c){let c=u["a:r"],d=u["a:fld"],m=u["a:br"];c&&(c=c.constructor===Array?c:[c],d&&(d=d.constructor===Array?d:[d],c=c.concat(d)),m&&((m=m.constructor===Array?m:[m]).forEach(t=>t.type="br"),m.length>1&&m.shift(),(c=c.concat(m)).sort((t,e)=>!t.attrs||!e.attrs||t.attrs.order-e.attrs.order)));let p=function(t){let e=[],r=(t,r)=>{let a=ep(t);a&&e.push({type:"math",latex:a,node:t,attrs:{order:r}})};for(let e of e$(t["a14:m"])){let t=e&&e.attrs&&e.attrs.order||0;for(let a of eb(e))r(a,t)}for(let e of eb(t))r(e,e&&e.attrs&&e.attrs.order||0);return e}(u);p.length&&(c=(c||[]).concat(p)).sort((t,e)=>(t.attrs&&t.attrs.order||0)-(e.attrs&&e.attrs.order||0));let $=function(t,e,r,a,s,n){let i=tt(t,["a:pPr","attrs","algn"]);if(i||(i=tt(e,["p:txBody","a:p","a:pPr","attrs","algn"])),!i){let e="a:lvl"+tT(t)+"pPr";(i=tF(a,e))||(i=tF(s,e)),i||"title"!==r&&"ctrTitle"!==r&&"subTitle"!==r?i||"body"!==r?i||(i=tt(n,["slideMasterTextStyles","p:otherStyle",e,"attrs","algn"])):i=tt(n,["slideMasterTextStyles","p:bodyStyle",e,"attrs","algn"]):(i=tt(n,["slideMasterTextStyles","p:titleStyle",e,"attrs","algn"]))||"subTitle"!==r||(i=tt(n,["slideMasterTextStyles","p:bodyStyle",e,"attrs","algn"]))}let o="left";if(i)switch(i){case"l":o="left";break;case"r":o="right";break;case"ctr":o="center";break;case"just":o="justify";break;case"dist":o="distribute";break;default:o="inherit"}return o}(u,e,s,r,a,n),b=function(t,e,r,a,s,n,i){let o=tN(t,e,r,a,s,n,i);if(!o)return null;let l={};for(let t of o){if(void 0===l.lineSpacing){let e=function(t){let e=tt(t,["a:spcPct","attrs","val"]),r=tt(t,["a:spcPts","attrs","val"]);return e?Math.round(parseInt(e)/1e3/100*120)/100:r?parseInt(r)/100+"pt":void 0}(t["a:lnSpc"]);void 0!==e&&(l.lineSpacing=e)}if(void 0===l.spaceBefore){let e=tj(t["a:spcBef"]);void 0!==e&&(l.spaceBefore=e)}if(void 0===l.spaceAfter){let e=tj(t["a:spcAft"]);void 0!==e&&(l.spaceAfter=e)}}let h=function(t,e,r){for(let a of[t,e&&e["p:txBody"],r&&r["p:txBody"]]){let t=tt(a,["a:bodyPr","a:normAutofit","attrs","lnSpcReduction"]);if(void 0!==t)return parseInt(t)}}(e,r,a);if(void 0!==h){let t=h/1e5;void 0!==l.lineSpacing?"number"==typeof l.lineSpacing&&(l.lineSpacing=Math.round(l.lineSpacing*(1-t)*100)/100):l.lineSpacing=Math.round((1-t)*100)/100}return Object.keys(l).length>0?l:null}(u,t,r,a,s,l,n),g=function(t,e,r,a,s,n,i){let o=tN(t,e,r,a,s,n,i);if(!o)return null;let l={};for(let t of o){if(void 0===l.marginLeft){let e=tD(t,"marL");void 0!==e&&(l.marginLeft=e)}if(void 0===l.textIndent){let e=tD(t,"indent");void 0!==e&&(l.textIndent=e)}}return Object.keys(l).length>0?l:null}(u,t,r,a,s,l,n),L=function(t,e,r,a,s,n,i){if(!(t["a:r"]||t["a:br"]||t["a:fld"]))return"";let o=tN(t,e,r,a,s,n,i);if(!o)return"";for(let t of o){if(t["a:buNone"])break;if(t["a:buChar"]||t["a:buBlip"])return"ul";if(t["a:buAutoNum"])return"ol"}return""}(u,t,r,a,s,l,n),y=function(t){let e=t["a:pPr"];if(!e)return 0;let r=tt(e,["attrs","lvl"]);return void 0!==r?parseInt(r):0}(u),v=$;"distribute"===$&&(v="justify");let M=`text-align: ${v};`;if("distribute"===$&&(M+="text-align-last: justify;text-justify: distribute;"),b?(b.lineSpacing?M+=`line-height: ${b.lineSpacing};`:M+="line-height: 1.2;",b.spaceBefore&&(M+=`margin-top: ${b.spaceBefore};`),b.spaceAfter&&(M+=`margin-bottom: ${b.spaceAfter};`)):M+="line-height: 1.2;",g&&(!L&&g.marginLeft&&(M+=`margin-left: ${g.marginLeft};`),!L&&g.textIndent&&(M+=`text-indent: ${g.textIndent};`)),L){for(;f.length>y+1;){let t=f.pop();i+=`</${t}>`}void 0===f[y]?(i+=`<${L}>`,f[y]=L):f[y]!==L&&(i+=`</${f[y]}>`,i+=`<${L}>`,f[y]=L),i+=`<li><p style="${M}">`}else{for(;f.length>0;){let t=f.pop();i+=`</${t}>`}i+=`<p style="${M}">`}if(c){let e=null,f="",d=c.find(t=>!t.type),m=null;for(let p of c){if("math"===p.type){if(f&&e){let t=f.replace(/\t/g,"&nbsp;&nbsp;&nbsp;&nbsp;").replace(/\s/g,"&nbsp;");i+=`<span style="${e.styleText}">${t}</span>`}f="",e=null;let c=tr(p.latex),$=function(t,e,r,a,s,n,i,o,l,h,u){let c,f,d,m,p=1,$=tt(r,["a:pPr","attrs","lvl"]);void 0!==$&&(p=parseInt($)+1);let b=(f=eg(c=t&&t.node,!0)||eg(c,!1))?{"a:rPr":f}:{},g=(d=b&&b["a:rPr"])&&d.attrs&&d.attrs.sz||!e?b:e,L=(m=b&&b["a:rPr"])&&(m["a:solidFill"]||m["a:gradFill"]||m["a:pattFill"])||!e?b:e,y=eA(g,r,a,n,i,o,l,p,h),v=eI(L,r,a,n,i,o,l,p,s,u),M="";return y&&(M+=`font-size: ${y};`),v&&"string"==typeof v&&(M+=`color: ${v};`),M}(p,m||d,u,t,o,r,a,s,l,h,n);i+=`<span class="omml-math" data-latex="${c}"${$?` style="${$}"`:""}>${c}</span>`;continue}p.type||(m=p);let c=eE(p,u,t,o,r,a,s,l,h,n);if(!e||e.styleText!==c.styleText||e.hasLink!==c.hasLink||c.hasLink){if(f){let t=f.replace(/\t/g,"&nbsp;&nbsp;&nbsp;&nbsp;").replace(/\s/g,"&nbsp;");i+=`<span style="${e.styleText}">${t}</span>`,f=""}if(c.hasLink){let t=c.text.replace(/\t/g,"&nbsp;&nbsp;&nbsp;&nbsp;").replace(/\s/g,"&nbsp;");i+=`<span style="${c.styleText}"><a href="${c.linkURL}" target="_blank">${t}</a></span>`,e=null}else e=c,f=c.text}else f+=c.text}if(f&&e){let t=f.replace(/\t/g,"&nbsp;&nbsp;&nbsp;&nbsp;").replace(/\s/g,"&nbsp;");i+=`<span style="${e.styleText}">${t}</span>`}}else i+=function(t,e,r,a,s,n,i,o,l,h){let{styleText:u,text:c,hasLink:f,linkURL:d}=eE(t,e,r,a,s,n,i,o,l,h),m=c.replace(/\t/g,"&nbsp;&nbsp;&nbsp;&nbsp;").replace(/\s/g,"&nbsp;");return f?`<span style="${u}"><a href="${d}" target="_blank">${m}</a></span>`:`<span style="${u}">${m}</span>`}(u,e,t,o,r,a,s,l,h,n);L?i+="</p></li>":i+="</p>"}for(;f.length>0;){let t=f.pop();i+=`</${t}>`}return i}function eE(t,e,r,a,s,n,i,o,l,h){let u,c,f=1,d=tt(e["a:pPr"],["attrs","lvl"]);void 0!==d&&(f=parseInt(d)+1);let m=eP(t["a:t"]);"string"!=typeof m&&(m=eP(tt(t,["a:fld","a:t"]))),"string"!=typeof m&&(m="&nbsp;");let p="",$=eI(t,e,r,s,n,i,o,f,a,h),b=eA(t,e,r,s,n,i,o,f,l),g=function(t,e,r,a,s,n,i,o,l,h){let u=eC(h),c=function(t,e){let r=eC(e);for(let e of t){let t=tt(e,["a:latin","attrs","typeface"]),a=tt(e,["a:ea","attrs","typeface"]),s=tt(e,["a:cs","attrs","typeface"]),n=tt(e,["a:sym","attrs","typeface"]);if(r&&a)return a;if(t)return t;if(a)return a;if(s)return s;if(n)return n}return""}(ek(t,e,r,a,s,n,i,o),h);if(!c||c.startsWith("+")){let t=tt(l.themeContent,["a:theme","a:themeElements","a:fontScheme"]);if(t&&c&&c.startsWith("+"))switch(c){case"+mj-lt":return tt(t,["a:majorFont","a:latin","attrs","typeface"]);case"+mn-lt":return tt(t,["a:minorFont","a:latin","attrs","typeface"]);case"+mj-ea":return tt(t,["a:majorFont","a:ea","attrs","typeface"]);case"+mn-ea":return tt(t,["a:minorFont","a:ea","attrs","typeface"]);case"+mj-cs":return tt(t,["a:majorFont","a:cs","attrs","typeface"]);case"+mn-cs":return tt(t,["a:minorFont","a:cs","attrs","typeface"]);default:return c.replace(/^\+/,"")}c="title"===n||"subTitle"===n||"ctrTitle"===n?(u?tt(t,["a:majorFont","a:ea","attrs","typeface"]):"")||tt(t,["a:majorFont","a:latin","attrs","typeface"])||tt(t,["a:majorFont","a:ea","attrs","typeface"]):(u?tt(t,["a:minorFont","a:ea","attrs","typeface"]):"")||tt(t,["a:minorFont","a:latin","attrs","typeface"])||tt(t,["a:minorFont","a:ea","attrs","typeface"])}return c||""}(t,e,r,s,n,i,o,f,h,m),L=J(ex(ek(t,e,r,s,n,i,o,f),"b"))?"bold":"",y=J(ex(ek(t,e,r,s,n,i,o,f),"i"))?"italic":"",v="sng"===ex(ek(t,e,r,s,n,i,o,f),"u")?"underline":"",M="sngStrike"===ex(ek(t,e,r,s,n,i,o,f),"strike")?"line-through":"",_=(u=ex(ek(t,e,r,s,n,i,o,f),"spc"))&&0!==parseInt(u)?parseInt(u)/100+"pt":"",w=function(t,e,r,a,s,n,i,o,l){let h=function(t,e){for(let r of t){let t=tt(r,["a:effectLst","a:outerShdw"]);if(!t)continue;let a=eL(t,e);if(a)return a}return null}(ek(t,e,r,a,s,n,i,o),l);if(h){let{h:t,v:e,blur:r,color:a}=h;if(!isNaN(e)&&!isNaN(t))return t+"pt "+e+"pt "+(r?r+"pt":"")+" "+a}return""}(t,e,r,s,n,i,o,f,h),k=(c=ex(ek(t,e,r,s,n,i,o,f),"baseline"))&&0!==parseInt(c)?parseInt(c)>0?"super":"sub":"";if($){if("string"==typeof $)p+=`color: ${$};`;else if($.colors){let{colors:t,rot:e}=$,r=t.map(t=>`${t.color} ${t.pos}`).join(", "),a=`linear-gradient(${e+90}deg, ${r})`;p+=`background: ${a}; background-clip: text; color: transparent;`}}b&&(p+=`font-size: ${b};`),g&&(p+=`font-family: ${g};`),L&&(p+=`font-weight: ${L};`),y&&(p+=`font-style: ${y};`),v&&(p+=`text-decoration: ${v};`),M&&(p+=`text-decoration-line: ${M};`),_&&(p+=`letter-spacing: ${_};`),k&&(p+=`vertical-align: ${k};`),w&&(p+=`text-shadow: ${w};`);let x=tt(t,["a:rPr","a:hlinkClick","attrs","r:id"]),C=x&&h.slideResObj[x];return C&&(p=function(t,e,r){let a=t,s=tt(e,["a:rPr"]),n=s?tl(s):"";if("SOLID_FILL"!==n&&"GRADIENT_FILL"!==n){var i;let t=((i=tn("a:hlink",r))?i.startsWith("#")?i:`#${i}`:"")||"#0563C1";/color\s*:/.test(a)?a=a.replace(/color\s*:\s*[^;]+;/,`color: ${t};`):a+=`color: ${t};`}return"none"===tt(e,["a:rPr","attrs","u"])||/text-decoration\s*:\s*underline/.test(a)||(a+="text-decoration: underline;"),a}(p,t,h)),{styleText:p,text:m,hasLink:C,linkURL:C?h.slideResObj[x].target:null}}function ez(t,e,r){let a=tt(t,["a:pathLst"]),s=tt(a,["a:path"]);Array.isArray(s)&&(s=s.shift());let n=parseInt(s.attrs.w)||0,i=parseInt(s.attrs.h)||0,o=0===n?0:1/n*e,l=0===i?0:1/i*r,h="",u=tt(s,["a:moveTo"]),c=s["a:lnTo"],f=s["a:cubicBezTo"],d=s["a:quadBezTo"],m=s["a:arcTo"],p=tt(s,["a:close"]);Array.isArray(u)||(u=[u]);let $=[];if(u.length>0){if(Object.keys(u).forEach(t=>{if(!u[t])return;let e=u[t]["a:pt"];e&&Object.keys(e).forEach(t=>{let r=e[t],a=r.x,s=r.y,n=r.order;$.push({type:"movto",x:a,y:s,order:n})})}),c&&(Array.isArray(c)||(c=[c]),Object.keys(c).forEach(t=>{if(!c[t])return;let e=c[t]["a:pt"];e&&Object.keys(e).forEach(t=>{let r=e[t],a=r.x,s=r.y,n=r.order;$.push({type:"lnto",x:a,y:s,order:n})})})),f){let t=[];Array.isArray(f)||(f=[f]),Object.keys(f).forEach(e=>{f[e]&&f[e]["a:pt"]&&t.push(f[e]["a:pt"])}),t.forEach(t=>{let e=[];t.forEach(t=>{let r={x:t.attrs.x,y:t.attrs.y};e.push(r)});let r=t[0].attrs.order;$.push({type:"cubicBezTo",cubBzPt:e,order:r})})}if(d){let t=[];Array.isArray(d)||(d=[d]),Object.keys(d).forEach(e=>{d[e]&&d[e]["a:pt"]&&t.push(d[e]["a:pt"])}),t.forEach(t=>{let e=[];t.forEach(t=>{let r={x:t.attrs.x,y:t.attrs.y};e.push(r)});let r=t[0].attrs.order;$.push({type:"quadBezTo",quadBzPt:e,order:r})})}m&&(Array.isArray(m)?m:[m]).forEach(t=>{let e=t.attrs,r=e.order,a=e.hR,s=e.wR,n=e.stAng,i=e.swAng,o=0,l=0,h=tt(t,["a:pt","attrs"]);h&&(o=h.x,l=h.y),$.push({type:"arcTo",hR:a,wR:s,stAng:n,swAng:i,shftX:o,shftY:l,order:r})}),p&&(Array.isArray(p)||(p=[p]),Object.keys(p).forEach(()=>{$.push({type:"close",order:1/0})})),$.sort((t,e)=>t.order-e.order);let t=0;for(;t<$.length;){if("movto"===$[t].type)h+=" M"+parseInt($[t].x)*o+","+parseInt($[t].y)*l;else if("lnto"===$[t].type)h+=" L"+parseInt($[t].x)*o+","+parseInt($[t].y)*l;else if("cubicBezTo"===$[t].type)h+=" C"+parseInt($[t].cubBzPt[0].x)*o+","+parseInt($[t].cubBzPt[0].y)*l+" "+parseInt($[t].cubBzPt[1].x)*o+","+parseInt($[t].cubBzPt[1].y)*l+" "+parseInt($[t].cubBzPt[2].x)*o+","+parseInt($[t].cubBzPt[2].y)*l;else if("quadBezTo"===$[t].type)h+=" Q"+parseInt($[t].quadBzPt[0].x)*o+","+parseInt($[t].quadBzPt[0].y)*l+" "+parseInt($[t].quadBzPt[1].x)*o+","+parseInt($[t].quadBzPt[1].y)*l;else if("arcTo"===$[t].type){let e=parseInt($[t].hR)*o,r=parseInt($[t].wR)*l,a=parseInt($[t].stAng)/6e4,s=a+parseInt($[t].swAng)/6e4;h+=function(t,e,r,a,s,n,i){let o,l=s;if(n>=s)for(;l<=n;){let n=Math.PI/180*l,i=t+Math.cos(n)*r,h=e+Math.sin(n)*a;l===s&&(o=" M"+i+" "+h),o+=" L"+i+" "+h,l++}else for(;l>n;){let n=Math.PI/180*l,i=t+Math.cos(n)*r,h=e+Math.sin(n)*a;l===s&&(o=" M "+i+" "+h),o+=" L "+i+" "+h,l--}return o+(i?" z":"")}(r,e,r,e,a,s,!1)}else"close"===$[t].type&&(h+="z");t++}}return h}function eT(t){return t?Array.isArray(t)?t:[t]:[]}async function eF(t,e){let r=e.split("/").pop();try{let a=t.file(e);if(!a||!r.toLowerCase().endsWith(".fntdata")&&!r.toLowerCase().endsWith(".eot"))return"";let s=await a.async("arraybuffer"),n=function(t){let e=new DataView(t),r=new Uint8Array(t);try{let t=e.getUint32(0,!0),a=e.getUint32(4,!0),s=e.getUint32(8,!0),n=e.getUint16(34,!0);if(20556!==n||65536!==s&&131073!==s&&131074!==s)return null;let i=t-a;if(i<0||i>=t)return null;let o=r.slice(i,t);if(o.length>=4){let t=o[0]<<24|o[1]<<16|o[2]<<8|o[3];if(65536!==t&&0x4f54544f!==t)return null}return o}catch(t){return null}}(s);if(!n)return"";let i=new Blob([n],{type:"font/ttf"});return URL.createObjectURL(i)}catch(t){return""}}let eO={微软雅黑:"Microsoft YaHei, PingFang SC, Noto Sans CJK SC, sans-serif","Microsoft YaHei":"Microsoft YaHei, PingFang SC, Noto Sans CJK SC, sans-serif","Microsoft YaHei UI":"Microsoft YaHei UI, Microsoft YaHei, PingFang SC, sans-serif","微软雅黑 UI":"Microsoft YaHei UI, Microsoft YaHei, PingFang SC, sans-serif",宋体:"SimSun, STSong, serif",SimSun:"SimSun, STSong, serif",新宋体:"NSimSun, SimSun, STSong, serif",NSimSun:"NSimSun, SimSun, serif",黑体:"SimHei, STHeiti, Heiti SC, sans-serif",SimHei:"SimHei, STHeiti, sans-serif",仿宋:"FangSong, STFangSong, serif",FangSong:"FangSong, STFangSong, serif",楷体:"KaiTi, STKaiti, serif",KaiTi:"KaiTi, STKaiti, serif",仿宋_GB2312:"FangSong_GB2312, FangSong, serif",楷体_GB2312:"KaiTi_GB2312, KaiTi, serif",方正舒体:"FZShuTi, STSong, serif",方正姚体:"FZYaoti, STSong, serif",华文细黑:"STXihei, Microsoft YaHei, sans-serif",华文楷体:"STKaiti, KaiTi, serif",华文宋体:"STSong, SimSun, serif",STSong:"STSong, SimSun, serif",华文中宋:"STZhongsong, SimSun, serif",华文仿宋:"STFangSong, FangSong, serif",华文彩云:"STCaiyun, STSong, serif",华文琥珀:"STHupo, STSong, serif",华文隶书:"STLiti, serif",华文行楷:"STXingkai, serif",华文新魏:"STXinwei, serif",STHeiti:"STHeiti, SimHei, sans-serif",苹方:"PingFang SC, Helvetica Neue, sans-serif","PingFang SC":"PingFang SC, Helvetica Neue, sans-serif","PingFang TC":"PingFang TC, PingFang SC, sans-serif","PingFang HK":"PingFang HK, PingFang SC, sans-serif",冬青黑体:"Hiragino Sans GB, Microsoft YaHei, sans-serif","Hiragino Sans GB":"Hiragino Sans GB, Microsoft YaHei, sans-serif",幼圆:"YouYuan, SimSun, sans-serif",YouYuan:"YouYuan, SimSun, sans-serif",隶书:"LiSu, STLiti, serif",LiSu:"LiSu, STLiti, serif","Noto Sans CJK SC":"Noto Sans CJK SC, Microsoft YaHei, sans-serif","Noto Serif CJK SC":"Noto Serif CJK SC, SimSun, serif","Source Han Sans CN":"Source Han Sans CN, Microsoft YaHei, sans-serif","Source Han Serif CN":"Source Han Serif CN, SimSun, serif",Meiryo:"Meiryo, Microsoft YaHei, sans-serif","Meiryo UI":"Meiryo UI, Meiryo, sans-serif","MS Gothic":"MS Gothic, monospace","MS PGothic":"MS PGothic, sans-serif","MS Mincho":"MS Mincho, serif","Yu Gothic":"Yu Gothic, Meiryo, sans-serif","Yu Mincho":"Yu Mincho, serif","Malgun Gothic":"Malgun Gothic, Apple SD Gothic Neo, sans-serif",Batang:"Batang, serif",Gulim:"Gulim, sans-serif",Dotum:"Dotum, sans-serif",Calibri:"Calibri, Carlito, Helvetica Neue, Arial, sans-serif",Cambria:"Cambria, Georgia, serif","Cambria Math":"Cambria Math, Cambria, Georgia, serif",Candara:"Candara, Optima, sans-serif",Consolas:"Consolas, Menlo, monospace",Constantia:"Constantia, Palatino, serif",Corbel:"Corbel, Skia, sans-serif","Franklin Gothic Medium":"Franklin Gothic Medium, Arial Narrow, sans-serif","Gill Sans MT":"Gill Sans MT, Gill Sans, sans-serif","Gill Sans":"Gill Sans, Optima, sans-serif",Verdana:"Verdana, Geneva, Tahoma, sans-serif",Tahoma:"Tahoma, Verdana, sans-serif",Arial:"Arial, Helvetica, sans-serif","Arial Black":"Arial Black, Gadget, sans-serif","Arial Narrow":"Arial Narrow, Arial, sans-serif","Arial Unicode MS":"Arial Unicode MS, Arial, sans-serif","Times New Roman":"Times New Roman, Times, serif","Courier New":"Courier New, Courier, monospace",Georgia:"Georgia, Times New Roman, serif","Palatino Linotype":"Palatino Linotype, Palatino, Book Antiqua, serif","Book Antiqua":"Book Antiqua, Palatino, serif",Garamond:"Garamond, Hoefler Text, serif",Century:"Century, Times New Roman, serif","Century Gothic":"Century Gothic, Futura, sans-serif","Comic Sans MS":"Comic Sans MS, Chalkboard, cursive",Impact:"Impact, Charcoal, sans-serif","Lucida Console":"Lucida Console, Monaco, monospace","Lucida Sans Unicode":"Lucida Sans Unicode, Lucida Grande, sans-serif",Symbol:"Symbol, serif",Wingdings:"Wingdings, Zapf Dingbats, sans-serif","Wingdings 2":"Wingdings 2, sans-serif","Wingdings 3":"Wingdings 3, sans-serif",Webdings:"Webdings, sans-serif","Segoe UI":"Segoe UI, Helvetica Neue, Arial, sans-serif","Segoe UI Light":"Segoe UI Light, Segoe UI, sans-serif","Segoe UI Semibold":"Segoe UI Semibold, Segoe UI, sans-serif","Segoe UI Black":"Segoe UI Black, Segoe UI, sans-serif","Segoe Print":"Segoe Print, Comic Sans MS, cursive","Segoe Script":"Segoe Script, Comic Sans MS, cursive","Trebuchet MS":"Trebuchet MS, Helvetica, sans-serif",Palatino:"Palatino, Palatino Linotype, serif",Helvetica:"Helvetica, Arial, sans-serif","Helvetica Neue":"Helvetica Neue, Helvetica, Arial, sans-serif",Futura:"Futura, Century Gothic, sans-serif",Optima:"Optima, Segoe UI, sans-serif",Monaco:"Monaco, Consolas, monospace",Menlo:"Menlo, Consolas, monospace",Roboto:"Roboto, Helvetica Neue, Arial, sans-serif","Open Sans":"Open Sans, Helvetica Neue, Arial, sans-serif",Lato:"Lato, Helvetica Neue, Arial, sans-serif",Oswald:"Oswald, Impact, sans-serif",Raleway:"Raleway, Helvetica Neue, Arial, sans-serif",Nunito:"Nunito, Helvetica Neue, Arial, sans-serif","Hiragino Mincho Pro":"Hiragino Mincho Pro, STSong, serif","Hiragino Kaku Gothic Pro":"Hiragino Kaku Gothic Pro, Microsoft YaHei, sans-serif","Hiragino Kaku Gothic ProN":"Hiragino Kaku Gothic ProN, sans-serif","Apple LiGothic":"Apple LiGothic, Microsoft YaHei, sans-serif","Apple LiSung":"Apple LiSung, STSong, serif","LiHei Pro":"LiHei Pro, Microsoft YaHei, sans-serif","LiSong Pro":"LiSong Pro, STSong, serif"};function eB(t,e){if(t)return tS(t["a:solidFill"]||t,void 0,void 0,e)}async function eN(t,e,r,a){let s,n,i,o,l=tt(t,["attrs","rowSpan"]),h=tt(t,["attrs","gridSpan"]),u=tt(t,["attrs","vMerge"]),c=tt(t,["attrs","hMerge"]),f=tt(t,["a:tcPr","attrs","anchor"]),d=tt(t,["a:tcPr"]);if(d){let t=await tx({"p:spPr":d},a,"slide");t&&"color"===t.type&&t.value&&(s=t.value)}if(!s){let t;r&&(t=tt(e,[r,"a:tcStyle","a:fill","a:solidFill"])),t&&(s=tS(t,void 0,void 0,a))}r&&(o=tt(e,[r,"a:tcTxStyle"])),o&&(n=eB(o,a),"on"===tt(o,["attrs","b"])&&(i=!0));let m=tt(t,["a:tcPr","a:lnB"]);!m&&(r&&(m=tt(e&&e[r],["a:tcStyle","a:tcBdr","a:bottom","a:ln"])),m||(m=tt(e,["a:wholeTbl","a:tcStyle","a:tcBdr","a:bottom","a:ln"])));let p=tt(t,["a:tcPr","a:lnT"]);!p&&(r&&(p=tt(e&&e[r],["a:tcStyle","a:tcBdr","a:top","a:ln"])),p||(p=tt(e,["a:wholeTbl","a:tcStyle","a:tcBdr","a:top","a:ln"])));let $=tt(t,["a:tcPr","a:lnL"]);!$&&(r&&($=tt(e&&e[r],["a:tcStyle","a:tcBdr","a:left","a:ln"])),$||($=tt(e,["a:wholeTbl","a:tcStyle","a:tcBdr","a:left","a:ln"])));let b=tt(t,["a:tcPr","a:lnR"]);!b&&(r&&(b=tt(e&&e[r],["a:tcStyle","a:tcBdr","a:right","a:ln"])),b||(b=tt(e,["a:wholeTbl","a:tcStyle","a:tcBdr","a:right","a:ln"])));let g={};return m&&(g.bottom=tA(m,void 0,a)),p&&(g.top=tA(p,void 0,a)),$&&(g.left=tA($,void 0,a)),b&&(g.right=tA(b,void 0,a)),{fillColor:s,fontColor:n,fontBold:i,borders:g,vAlign:"ctr"===f?"mid":"b"===f?"down":"up",rowSpan:l?+l:void 0,colSpan:h?+h:void 0,vMerge:u?+u:void 0,hMerge:c?+c:void 0}}function ej(t,e,r,a,s,n,i){let o="",l=n>=s?1:-1,h=s,u=t=>l>0?t<=n:t>=n;for(;u(h);){let n=Math.PI/180*h,i=t+Math.cos(n)*r,u=e+Math.sin(n)*a;h===s&&(o=` M${i} ${u}`),o+=` L${i} ${u}`,h+=l}return i&&(o+=" z"),o}function eD(t,e,r,a){let s="";switch(t){case"rect":case"actionButtonBlank":case"leftRightCircularArrow":case"chartPlus":case"chartStar":case"chartX":case"cornerTabs":case"flowChartOfflineStorage":case"folderCorner":case"funnel":case"lineInv":case"nonIsoscelesTrapezoid":case"plaqueTabs":case"squareTabs":case"upDownArrowCallout":default:s=`M 0 0 L ${e} 0 L ${e} ${r} L 0 ${r} Z`;break;case"flowChartPredefinedProcess":s=`M 0 0 L ${e} 0 L ${e} ${r} L 0 ${r} Z M ${1/8*e} 0 L ${1/8*e} ${r} M ${7/8*e} 0 L ${7/8*e} ${r}`;break;case"flowChartInternalStorage":s=`M 0 0 L ${e} 0 L ${e} ${r} L 0 ${r} Z M ${1/8*e} 0 L ${1/8*e} ${r} M 0 ${1/8*r} L ${e} ${1/8*r}`;break;case"flowChartCollate":s=`M 0,0 L ${e},0 L 0,${r} L ${e},${r} z`;break;case"flowChartDocument":{let t=10800*e/21600,a=17322*r/21600,n=20172*r/21600,i=23922*r/21600;s=`M 0,0 L ${e},0 L ${e},${a} C ${t},${a} ${t},${i} 0,${n} z`}break;case"flowChartMultidocument":{let t=18022*r/21600,a=3675*r/21600,n=23542*r/21600,i=1815*r/21600,o=16252*r/21600,l=16352*r/21600,h=14392*r/21600,u=20782*r/21600,c=14467*r/21600,f=1532*e/21600,d=2e4*e/21600,m=9298*e/21600,p=19298*e/21600,$=18595*e/21600,b=2972*e/21600,g=20800*e/21600;s=`M 0,${a} L ${$},${a} L ${$},${t} C ${m},${t} ${m},${n} 0,${u} z M ${f},${a} L ${f},${i} L ${d},${i} L ${d},${o} C ${p},${o} ${$},${l} ${$},${l} M ${b},${i} L ${b},0 L ${e},0 L ${e},${h} C ${g},${h} ${d},${c} ${d},${c}`}break;case"actionButtonBackPrevious":{let t=e/2,a=r/2,n=3*Math.min(e,r)/8,i=t+n;s=`M 0,0 L ${e},0 L ${e},${r} L 0,${r} z M ${t-n},${a} L ${i},${a-n} L ${i},${a+n} z`}break;case"actionButtonBeginning":{let t=e/2,a=r/2,n=Math.min(e,r),i=3*n/8,o=a-i,l=a+i,h=t-i,u=t+i,c=3*n/4,f=h+c/8;s=`M 0,0 L ${e},0 L ${e},${r} L 0,${r} z M ${h+c/4},${a} L ${u},${o} L ${u},${l} z M ${f},${o} L ${h},${o} L ${h},${l} L ${f},${l} z`}break;case"actionButtonDocument":{let t=e/2,a=r/2,n=Math.min(e,r),i=3*n/8,o=a-i,l=a+i,h=9*n/32,u=t-h,c=t+h,f=3*n/16,d=c-f,m=o+f;s=`M 0,0 L ${e},0 L ${e},${r} L 0,${r} z M ${u},${o} L ${d},${o} L ${c},${m} L ${c},${l} L ${u},${l} z M ${d},${o} L ${d},${m} L ${c},${m} z`}break;case"actionButtonEnd":{let t=e/2,a=r/2,n=Math.min(e,r),i=3*n/8,o=a-i,l=a+i,h=t-i,u=t+i,c=3*n/4,f=h+7*c/8;s=`M 0,${r} L ${e},${r} L ${e},0 L 0,0 z M ${f},${o} L ${u},${o} L ${u},${l} L ${f},${l} z M ${h+3*c/4},${a} L ${h},${o} L ${h},${l} z`}break;case"actionButtonForwardNext":{let t=e/2,a=r/2,n=3*Math.min(e,r)/8,i=t-n;s=`M 0,${r} L ${e},${r} L ${e},0 L 0,0 z M ${t+n},${a} L ${i},${a-n} L ${i},${a+n} z`}break;case"actionButtonHelp":{let t=e/2,a=r/2,n=Math.min(e,r),i=3*n/8,o=a-i,l=t-i,h=3*n/4,u=h/7,c=3*h/14,f=2*h/7,d=o+f,m=o+17*h/28,p=o+21*h/28,$=o+11*h/14,b=l+c,g=l+3*h/7,L=l+4*h/7,y=h/14,v=3*h/28,M=b+f,_=g+u,w=$+v,k=(L+g+f)/2;s=`M 0,0 L ${e},0 L ${e},${r} L 0,${r} z M ${b},${d} ${ej(M,d,f,f,180,360,!1).replace("M","L")} ${ej(k,d,u,c,0,90,!1).replace("M","L")} ${ej(k,m,y,v,270,180,!1).replace("M","L")} L ${L},${p} L ${g},${p} L ${g},${m} ${ej(_,m,u,c,180,270,!1).replace("M","L")} ${ej(L,d,y,v,90,0,!1).replace("M","L")} ${ej(M,d,u,u,0,-180,!1).replace("M","L")} z M ${t},${$} ${ej(t,w,v,v,270,630,!1).replace("M","L")} z`}break;case"actionButtonHome":{let t=e/2,a=r/2,n=Math.min(e,r),i=3*n/8,o=a-i,l=a+i,h=t-i,u=3*n/4,c=o+u/16,f=o+3*u/4,d=h+u/8,m=h+7*u/16,p=h+9*u/16,$=h+11*u/16,b=h+13*u/16,g=h+7*u/8;s=`M 0,0 L ${e},0 L ${e},${r} L 0,${r} z M ${t},${o} L ${h},${a} L ${d},${a} L ${d},${l} L ${g},${l} L ${g},${a} L ${t+i},${a} L ${b},${o+5*u/16} L ${b},${c} L ${$},${c} L ${$},${o+3*u/16} z M ${m},${f} L ${p},${f} L ${p},${l} L ${m},${l} z`}break;case"actionButtonInformation":{let t=e/2,a=r/2,n=Math.min(e,r),i=3*n/8,o=a-i,l=t-i,h=3*n/4,u=5*h/16,c=o+h/32,f=o+u,d=o+3*h/8,m=o+13*h/16,p=o+7*h/8,$=l+u,b=l+13*h/32,g=l+19*h/32,L=l+11*h/16,y=3*h/32,v=o+i,M=c+y;s=`M 0,0 L ${e},0 L ${e},${r} L 0,${r} z M ${t},${o} ${ej(t,v,i,i,270,630,!1).replace("M","L")} z M ${t},${c} ${ej(t,M,y,y,270,630,!1).replace("M","L")} M ${$},${f} L ${g},${f} L ${g},${m} L ${L},${m} L ${L},${p} L ${$},${p} L ${$},${m} L ${b},${m} L ${b},${d} L ${$},${d} z`}break;case"actionButtonMovie":{let t=e/2,a=r/2,n=Math.min(e,r),i=t-3*n/8,o=a-3*n/8,l=t+3*n/8,h=3*n/4,u=i+1455*h/21600,c=i+1905*h/21600,f=i+2325*h/21600,d=i+17010*h/21600,m=i+20595*h/21600,p=o+5280*h/21600,$=o+5730*h/21600,b=o+6630*h/21600,g=o+7492*h/21600,L=o+9067*h/21600,y=o+9555*h/21600,v=o+13342*h/21600,M=o+14580*h/21600,_=o+15592*h/21600;s=`M 0,${r} L ${e},${r} L ${e},0 L 0,0 z M ${i},${p} L ${i},${y} L ${u},${y} L ${c},${L} L ${f},${L} L ${f},${_} L ${d},${_} L ${d},${v} L ${i+19335*h/21600},${v} L ${m},${M} L ${l},${M} L ${l},${b} L ${m},${b} L ${i+19725*h/21600},${g} L ${d},${g} L ${d},${b} L ${i+16155*h/21600},${$} L ${c},${$} L ${u},${p} z`}break;case"actionButtonReturn":{let t=e/2,a=r/2,n=Math.min(e,r),i=3*n/8,o=a-i,l=a+i,h=t-i,u=t+i,c=3*n/4,f=3*c/4,d=5*c/8,m=3*c/8,p=c/4,$=o+f,b=o+d,g=o+p,L=h+d,y=h+m,v=c/8,M=L-v,_=$-v,w=h+m,k=l-m;s=`M 0,${r} L ${e},${r} L ${e},0 L 0,0 z M ${u},${g} L ${h+f},${o} L ${t},${g} L ${L},${g} L ${L},${b} ${ej(M,b,v,v,0,90,!1).replace("M","L")} L ${y},${$} ${ej(y,_,v,v,90,180,!1).replace("M","L")} L ${h+p},${g} L ${h},${g} L ${h},${b} ${ej(w,b,m,m,180,90,!1).replace("M","L")} L ${t},${l} ${ej(t,k,m,m,90,0,!1).replace("M","L")} L ${h+7*c/8},${g} z`}break;case"actionButtonSound":{let t=e/2,a=r/2,n=Math.min(e,r),i=3*n/8,o=a-i,l=t-i,h=t+i,u=3*n/4,c=5*u/16,f=o+c,d=o+11*u/16,m=l+c,p=l+5*u/8,$=l+3*u/4;s=`M 0,0 L ${e},0 L ${e},${r} L 0,${r} z M ${l},${f} L ${m},${f} L ${p},${o} L ${p},${a+i} L ${m},${d} L ${l},${d} z M ${$},${f} L ${h},${o+u/8} M ${$},${a} L ${h},${a} M ${$},${d} L ${h},${o+7*u/8}`}break;case"irregularSeal1":s=`M ${10800*e/21600},${5800*r/21600} L ${14522*e/21600},0 L ${14155*e/21600},${5325*r/21600} L ${18380*e/21600},${4457*r/21600} L ${16702*e/21600},${7315*r/21600} L ${21097*e/21600},${8137*r/21600} L ${17607*e/21600},${10475*r/21600} L ${e},${13290*r/21600} L ${16837*e/21600},${12942*r/21600} L ${18145*e/21600},${18095*r/21600} L ${14020*e/21600},${14457*r/21600} L ${13247*e/21600},${19737*r/21600} L ${10532*e/21600},${14935*r/21600} L ${8485*e/21600},${r} L ${7715*e/21600},${15627*r/21600} L ${4762*e/21600},${17617*r/21600} L ${5667*e/21600},${13937*r/21600} L ${135*e/21600},${14587*r/21600} L ${3722*e/21600},${11775*r/21600} L 0,${8615*r/21600} L ${4627*e/21600},${7617*r/21600} L ${370*e/21600},${2295*r/21600} L ${7312*e/21600},${6320*r/21600} L ${8352*e/21600},${2295*r/21600} z`;break;case"irregularSeal2":s=`M ${11462*e/21600},${4342*r/21600} L ${14790*e/21600},0 L ${14525*e/21600},${5777*r/21600} L ${18007*e/21600},${3172*r/21600} L ${16380*e/21600},${6532*r/21600} L ${e},${6645*r/21600} L ${16985*e/21600},${9402*r/21600} L ${18270*e/21600},${11290*r/21600} L ${16380*e/21600},${12310*r/21600} L ${18877*e/21600},${15632*r/21600} L ${14640*e/21600},${14350*r/21600} L ${14942*e/21600},${17370*r/21600} L ${12180*e/21600},${15935*r/21600} L ${11612*e/21600},${18842*r/21600} L ${9872*e/21600},${17370*r/21600} L ${8700*e/21600},${19712*r/21600} L ${7527*e/21600},${18125*r/21600} L ${4917*e/21600},${r} L ${4805*e/21600},${18240*r/21600} L ${1285*e/21600},${17825*r/21600} L ${3330*e/21600},${15370*r/21600} L 0,${12877*r/21600} L ${3935*e/21600},${11592*r/21600} L ${1172*e/21600},${8270*r/21600} L ${5372*e/21600},${7817*r/21600} L ${4502*e/21600},${3625*r/21600} L ${8550*e/21600},${6382*r/21600} L ${9722*e/21600},${1887*r/21600} z`;break;case"flowChartTerminator":{let t=3475*e/21600,a=18125*e/21600,n=10800*r/21600;s=`M ${t},0 L ${a},0 ${ej(a,r/2,t,n,270,450,!1).replace("M","L")} L ${t},${r} ${ej(t,r/2,t,n,90,270,!1).replace("M","L")} z`}break;case"flowChartPunchedTape":{let t=5*e/20,a=2*r/20,n=18*r/20;s=`M 0,${a} ${ej(t,a,t,a,180,0,!1).replace("M","L")} ${ej(.75*e,a,t,a,180,360,!1).replace("M","L")} L ${e},${n} ${ej(.75*e,n,t,a,0,-180,!1).replace("M","L")} ${ej(t,n,t,a,0,180,!1).replace("M","L")} z`}break;case"flowChartOnlineStorage":{let t=e/6,a=3*r/6;s=`M ${t},0 L ${e},0 ${ej(e,r/2,t,a,270,90,!1).replace("M","L")} L ${t},${r} ${ej(t,r/2,t,a,90,270,!1).replace("M","L")} z`}break;case"flowChartDisplay":{let t=e/6,a=5*e/6,n=3*r/6;s=`M 0,${n} L ${t},0 L ${a},0 ${ej(e,r/2,t,n,270,450,!1).replace("M","L")} L ${t},${r} z`}break;case"flowChartDelay":{let t=e/2,a=r/2;s=`M 0,0 L ${t},0 ${ej(t,a,t,a,270,450,!1).replace("M","L")} L 0,${r} z`}break;case"flowChartMagneticTape":{let t=e/2,a=r/2,n=a*Math.sin(Math.PI/4),i=a+n,o=180*Math.atan(r/e)/Math.PI;s=`M ${t},${r} ${ej(t,a,t,a,90,180,!1).replace("M","L")} ${ej(t,a,t,a,180,270,!1).replace("M","L")} ${ej(t,a,t,a,270,360,!1).replace("M","L")} ${ej(t,a,t,a,0,o,!1).replace("M","L")} L ${e},${i} L ${e},${r} z`}break;case"ellipse":case"flowChartConnector":case"flowChartSummingJunction":case"flowChartOr":{let a=e/2,n=r/2,i=e/2,o=r/2;if(s=`M ${a-i},${n} A ${i},${o} 0 1,0 ${a+i},${n} A ${i},${o} 0 1,0 ${a-i},${n} Z`,"flowChartOr"===t)s+=` M ${e/2} 0 L ${e/2} ${r} M 0 ${r/2} L ${e} ${r/2}`;else if("flowChartSummingJunction"===t){let t=Math.PI/4,i=e/2*Math.cos(t),o=r/2*Math.sin(t),l=a-i,h=a+i,u=n-o,c=n+o;s+=` M ${l} ${u} L ${h} ${c} M ${h} ${u} L ${l} ${c}`}}break;case"roundRect":case"round1Rect":case"round2DiagRect":case"round2SameRect":case"snip1Rect":case"snip2DiagRect":case"snip2SameRect":case"flowChartAlternateProcess":case"flowChartPunchedCard":{let n,i,o,l,h=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]);if(h&&Array.isArray(h))for(let t of h){let e=tt(t,["attrs","name"]);"adj1"===e?n=parseInt(tt(t,["attrs","fmla"]).substring(4))/5e4:"adj2"===e&&(i=parseInt(tt(t,["attrs","fmla"]).substring(4))/5e4)}else h&&(n=parseInt(tt(h,["attrs","fmla"]).substring(4))/5e4,i=0);switch(t){case"roundRect":case"flowChartAlternateProcess":o="round",l="cornrAll",void 0===n&&(n=.33334),i=0;break;case"round1Rect":o="round",l="cornr1",void 0===n&&(n=.33334),i=0;break;case"round2DiagRect":o="round",l="diag",void 0===n&&(n=.33334),void 0===i&&(i=0);break;case"round2SameRect":o="round",l="cornr2",void 0===n&&(n=.33334),void 0===i&&(i=0);break;case"snip1Rect":o="snip",l="cornr1",void 0===n&&(n=.33334),i=0;break;case"flowChartPunchedCard":o="snip",l="cornrTL",void 0===n&&(n=.33334),i=0;break;case"snip2DiagRect":o="snip",l="diag",void 0===n&&(n=0),void 0===i&&(i=.33334);break;case"snip2SameRect":o="snip",l="cornr2",void 0===n&&(n=.33334),void 0===i&&(i=0)}s=function(t,e,r,a,s,n){let i,o,l,h;switch(n){case"cornr1":i=0,o=0,l=0,h=r;break;case"cornr2":i=r,o=a,l=a,h=r;break;case"cornrAll":i=r,o=r,l=r,h=r;break;case"diag":i=r,o=a,l=r,h=a;break;case"cornrTL":i=r,o=0,l=0,h=0;break;default:i=o=l=h=0}let u=Math.min(t,e)/2*i,c=Math.min(t,e)/2*o,f=Math.min(t,e)/2*l,d=Math.min(t,e)/2*h;return"round"===s?`M0,${e-c} Q0,${e} ${c},${e} L${t-f},${e} Q${t},${e} ${t},${e-f} L${t},${d} Q${t},0 ${t-d},0 L${u},0 Q0,0 0,${u} z`:"snip"===s?`M0,${u} L0,${e-c} L${c},${e} L${t-f},${e} L${t},${e-f} L${t},${d} L${t-d},0 L${u},0 z`:""}(e,r,n,i,o,l)}break;case"snipRoundRect":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=.33334,i=.33334;if(t)for(let e of t){let t=tt(e,["attrs","name"]);"adj1"===t?n=parseInt(tt(e,["attrs","fmla"]).substring(4))/5e4:"adj2"===t&&(i=parseInt(tt(e,["attrs","fmla"]).substring(4))/5e4)}s=`M0,${r} L${e},${r} L${e},${r/2*i} L${e/2+e/2*(1-i)},0 L${e/2*n},0 Q0,0 0,${r/2*n} z`}break;case"bentConnector2":s=`M ${e} 0 L ${e} ${r} L 0 ${r}`;break;case"rtTriangle":s=`M 0 0 L 0 ${r} L ${e} ${r} Z`;break;case"triangle":case"flowChartExtract":case"flowChartMerge":{let n=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),i=.5;n&&(i=parseInt(n.substring(4))*tz);let o=e*i,l=0,h=0,u=r,c=e,f=r;"flowChartMerge"===t&&([o,l]=[e-o,r-l],[h,u]=[e-h,r-u],[c,f]=[e-c,r-f]),s=`M ${o} ${l} L ${h} ${u} L ${c} ${f} Z`}break;case"diamond":case"flowChartDecision":case"flowChartSort":s=`M ${e/2} 0 L 0 ${r/2} L ${e/2} ${r} L ${e} ${r/2} Z`,"flowChartSort"===t&&(s+=` M 0 ${r/2} L ${e} ${r/2}`);break;case"trapezoid":case"flowChartManualOperation":case"flowChartManualInput":{let n=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),i=.2;if(n){let t=Math.min(e,r),a=Math.max(0,Math.min(parseInt(n.substring(4)),5e4*e/t));i=t*a/1e5/e}let o=e*i,l=0,h=0,u=r,c=e,f=r,d=(1-i)*e,m=0;"flowChartManualInput"===t&&(i=0,l=r/5,o=e*i,d=(1-i)*e),"flowChartManualOperation"===t&&([o,l]=[e-o,r-l],[h,u]=[e-h,r-u],[c,f]=[e-c,r-f],[d,m]=[e-d,r-m]),s=`M ${o} ${l} L ${h} ${u} L ${c} ${f} L ${d} ${m} Z`}break;case"parallelogram":case"flowChartInputOutput":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),n=.25;if(t){let a=Math.min(e,r),s=Math.max(0,Math.min(parseInt(t.substring(4)),1e5*e/a));n=a*s/2e5/e}s=`M ${n*e} 0 L 0 ${r} L ${(1-n)*e} ${r} L ${e} 0 Z`}break;case"pentagon":s=`M ${.5*e} 0 L 0 ${.375*r} L ${.15*e} ${r} L ${.85*e} ${r} L ${e} ${.375*r} Z`;break;case"hexagon":case"flowChartPreparation":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),n=25e3*tz;t&&(n=parseInt(t.substring(4))*tz);let i=1e5*tz,o=Math.min(e,r),l=5e4*tz*e/o,h=o*(n<0?0:n>l?l:n)/i,u=e-h,c=115470*tz*(r/2)/i*Math.sin(60*Math.PI/180),f=r/2,d=f-c,m=f+c;s=`M 0,${f} L ${h},${d} L ${u},${d} L ${e},${f} L ${u},${m} L ${h},${m} z`}break;case"heptagon":s=`M ${.5*e} 0 L ${e/8} ${r/4} L 0 ${5/8*r} L ${e/4} ${r} L ${.75*e} ${r} L ${e} ${5/8*r} L ${7/8*e} ${r/4} Z`;break;case"octagon":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),n=.25;t&&(n=parseInt(t.substring(4))/1e5);let i=1-n;s=`M ${n*e} 0 L 0 ${n*r} L 0 ${i*r} L ${n*e} ${r} L ${i*e} ${r} L ${e} ${i*r} L ${e} ${n*r} L ${i*e} 0 Z`}break;case"decagon":s=`M ${3/8*e} 0 L ${e/8} ${r/8} L 0 ${r/2} L ${e/8} ${7/8*r} L ${3/8*e} ${r} L ${5/8*e} ${r} L ${7/8*e} ${7/8*r} L ${e} ${r/2} L ${7/8*e} ${r/8} L ${5/8*e} 0 Z`;break;case"dodecagon":s=`M ${3/8*e} 0 L ${e/8} ${r/8} L 0 ${3/8*r} L 0 ${5/8*r} L ${e/8} ${7/8*r} L ${3/8*e} ${r} L ${5/8*e} ${r} L ${7/8*e} ${7/8*r} L ${e} ${5/8*r} L ${e} ${3/8*r} L ${7/8*e} ${r/8} L ${5/8*e} 0 Z`;break;case"star4":{let t=e/2,n=r/2,i=e/2,o=r/2,l=19098*tz,h=5e4*tz,u=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]);u&&"adj"===u.attrs.name&&(l=parseInt(u.attrs.fmla.substring(4))*tz);let c=l<0?0:l>h?h:l,f=i*c/h*.7071067811847432,d=o*c/h*.7071067811883519,m=t-f,p=t+f,$=n-d,b=n+d;s=`M 0,${n} L ${m},${$} L ${t},0 L ${p},${$} L ${e},${n} L ${p},${b} L ${t},${r} L ${m},${b} z`}break;case"star5":{let t=e/2,n=r/2,i=e/2,o=r/2,l=19098*tz,h=105146*tz,u=110557*tz,c=5e4*tz,f=1e5*tz,d=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]);d&&Object.keys(d).forEach(t=>{let e=d[t].attrs.name;"adj"===e?l=parseInt(d[t].attrs.fmla.substring(4))*tz:"hf"===e?h=parseInt(d[t].attrs.fmla.substring(4))*tz:"vf"===e&&(u=parseInt(d[t].attrs.fmla.substring(4))*tz)});let m=l<0?0:l>c?c:l,p=i*h/f,$=o*u/f,b=n*u/f,g=.9510565162948381*p,L=.5877852522903303*p,y=b-.3090169943759181*$,v=b- -.8090169943765043*$,M=p*m/c,_=$*m/c,w=.9510565162887857*M,k=.5877852522899959*M,x=b-.8090169943767472*_,C=b- -.3090169943945457*_;s=`M ${t-g},${y} L ${t-k},${x} L ${t},0 L ${t+k},${x} L ${t+g},${y} L ${t+w},${C} L ${t+L},${v} L ${t},${b+_} L ${t-L},${v} L ${t-w},${C} z`}break;case"star6":{let t=e/2,n=r/2,i=e/2,o=r/2,l=r/4,h=28868*tz,u=115470*tz,c=5e4*tz,f=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]);f&&Object.keys(f).forEach(t=>{let e=f[t].attrs.name;"adj"===e?h=parseInt(f[t].attrs.fmla.substring(4))*tz:"hf"===e&&(u=parseInt(f[t].attrs.fmla.substring(4))*tz)});let d=h<0?0:h>c?c:h,m=i*u/(1e5*tz),p=.866025403783588*m,$=t-p,b=t+p,g=n+l,L=m*d/c,y=L/2,v=t-y,M=t+y,_=o*d/c*.8660254037861398,w=n-_,k=n+_;s=`M ${$},${l} L ${v},${w} L ${t},0 L ${M},${w} L ${b},${l} L ${t+L},${n} L ${b},${g} L ${M},${k} L ${t},${r} L ${v},${k} L ${$},${g} L ${t-L},${n} z`}break;case"star7":{let t=e/2,n=r/2,i=e/2,o=r/2,l=34601*tz,h=102572*tz,u=105210*tz,c=5e4*tz,f=1e5*tz,d=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]);d&&Object.keys(d).forEach(t=>{let e=d[t].attrs.name;"adj"===e?l=parseInt(d[t].attrs.fmla.substring(4))*tz:"hf"===e?h=parseInt(d[t].attrs.fmla.substring(4))*tz:"vf"===e&&(u=parseInt(d[t].attrs.fmla.substring(4))*tz)});let m=l<0?0:l>c?c:l,p=i*h/f,$=o*u/f,b=n*u/f,g=97493*p/1e5,L=78183*p/1e5,y=43388*p/1e5,v=b-62349*$/1e5,M=b+22252*$/1e5,_=b+90097*$/1e5,w=p*m/c,k=$*m/c,x=97493*w/1e5,C=78183*w/1e5,S=43388*w/1e5,I=b-90097*k/1e5,A=b-22252*k/1e5,P=b+62349*k/1e5;s=`M ${t-g},${M} L ${t-x},${A} L ${t-L},${v} L ${t-S},${I} L ${t},0 L ${t+S},${I} L ${t+L},${v} L ${t+x},${A} L ${t+g},${M} L ${t+C},${P} L ${t+y},${_} L ${t},${b+k} L ${t-y},${_} L ${t-C},${P} z`}break;case"star8":{let t=e/2,n=r/2,i=e/2,o=r/2,l=37500*tz,h=5e4*tz,u=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]);u&&"adj"===u.attrs.name&&(l=parseInt(u.attrs.fmla.substring(4))*tz);let c=l<0?0:l>h?h:l,f=.7071067811847432*i,d=t-f,m=t+f,p=.7071067811883519*o,$=n-p,b=n+p,g=i*c/h,L=o*c/h,y=92388*g/1e5,v=38268*g/1e5,M=92388*L/1e5,_=38268*L/1e5,w=t-y,k=t-v,x=t+v,C=t+y,S=n-M,I=n-_,A=n+_,P=n+M;s=`M 0,${n} L ${w},${I} L ${d},${$} L ${k},${S} L ${t},0 L ${x},${S} L ${m},${$} L ${C},${I} L ${e},${n} L ${C},${A} L ${m},${b} L ${x},${P} L ${t},${r} L ${k},${P} L ${d},${b} L ${w},${A} z`}break;case"star10":{let t=e/2,n=r/2,i=e/2,o=r/2,l=42533*tz,h=105146*tz,u=5e4*tz,c=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]);c&&Object.keys(c).forEach(t=>{let e=c[t].attrs.name;"adj"===e?l=parseInt(c[t].attrs.fmla.substring(4))*tz:"hf"===e&&(h=parseInt(c[t].attrs.fmla.substring(4))*tz)});let f=l<0?0:l>u?u:l,d=i*h/(1e5*tz),m=95106*d/1e5,p=58779*d/1e5,$=t-m,b=t-p,g=t+p,L=t+m,y=80902*o/1e5,v=30902*o/1e5,M=n-y,_=n-v,w=n+v,k=n+y,x=d*f/u,C=o*f/u,S=80902*x/1e5,I=30902*x/1e5,A=95106*C/1e5,P=58779*C/1e5,R=t-S,E=t-I,z=t+I,T=t+S,F=n-A,O=n-P,B=n+P,N=n+A;s=`M ${$},${_} L ${R},${O} L ${b},${M} L ${E},${F} L ${t},0 L ${z},${F} L ${g},${M} L ${T},${O} L ${L},${_} L ${t+x},${n} L ${L},${w} L ${T},${B} L ${g},${k} L ${z},${N} L ${t},${r} L ${E},${N} L ${b},${k} L ${R},${B} L ${$},${w} L ${t-x},${n} z`}break;case"star12":{let t=e/2,n=r/2,i=e/2,o=r/2,l=r/4,h=e/4,u=37500*tz,c=5e4*tz,f=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]);f&&"adj"===f.attrs.name&&(u=parseInt(f.attrs.fmla.substring(4))*tz);let d=u<0?0:u>c?c:u,m=.866025403783588*i,p=.8660254037861398*o,$=t-m,b=3*e/4,g=t+m,L=n-p,y=3*r/4,v=n+p,M=i*d/c,_=o*d/c,w=.9659258262888482*M,k=.7071067811847432*M,x=.2588190450984128*M,C=.965925826290169*_,S=.7071067811883519*_,I=.25881904510334236*_,A=t-w,P=t-k,R=t-x,E=t+x,z=t+k,T=t+w,F=n-C,O=n-S,B=n-I,N=n+I,j=n+S,D=n+C;s=`M 0,${n} L ${A},${B} L ${$},${l} L ${P},${O} L ${h},${L} L ${R},${F} L ${t},0 L ${E},${F} L ${b},${L} L ${z},${O} L ${g},${l} L ${T},${B} L ${e},${n} L ${T},${N} L ${g},${y} L ${z},${j} L ${b},${v} L ${E},${D} L ${t},${r} L ${R},${D} L ${h},${v} L ${P},${j} L ${$},${y} L ${A},${N} z`}break;case"star16":{let t=e/2,n=r/2,i=e/2,o=r/2,l=37500*tz,h=5e4*tz,u=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]);u&&"adj"===u.attrs.name&&(l=parseInt(u.attrs.fmla.substring(4))*tz);let c=l<0?0:l>h?h:l,f=92388*i/1e5,d=70711*i/1e5,m=38268*i/1e5,p=92388*o/1e5,$=70711*o/1e5,b=38268*o/1e5,g=t-f,L=t-d,y=t-m,v=t+m,M=t+d,_=t+f,w=n-p,k=n-$,x=n-b,C=n+b,S=n+$,I=n+p,A=i*c/h,P=o*c/h,R=98079*A/1e5,E=83147*A/1e5,z=55557*A/1e5,T=19509*A/1e5,F=98079*P/1e5,O=83147*P/1e5,B=55557*P/1e5,N=19509*P/1e5,j=t-R,D=t-E,G=t-z,U=t-T,H=t+T,q=t+z,Y=t+E,Z=t+R,W=n-F,K=n-O,V=n-B,J=n-N,Q=n+N,X=n+B,te=n+O,tr=n+F;s=`M 0,${n} L ${j},${J} L ${g},${x} L ${D},${V} L ${L},${k} L ${G},${K} L ${y},${w} L ${U},${W} L ${t},0 L ${H},${W} L ${v},${w} L ${q},${K} L ${M},${k} L ${Y},${V} L ${_},${x} L ${Z},${J} L ${e},${n} L ${Z},${Q} L ${_},${C} L ${Y},${X} L ${M},${S} L ${q},${te} L ${v},${I} L ${H},${tr} L ${t},${r} L ${U},${tr} L ${y},${I} L ${G},${te} L ${L},${S} L ${D},${X} L ${g},${C} L ${j},${Q} z`}break;case"star24":{let t=e/2,n=r/2,i=e/2,o=r/2,l=r/4,h=e/4,u=37500*tz,c=5e4*tz,f=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]);f&&"adj"===f.attrs.name&&(u=parseInt(f.attrs.fmla.substring(4))*tz);let d=u<0?0:u>c?c:u,m=.9659258262888482*i,p=.866025403783588*i,$=.7071067811847432*i,b=.2588190450984128*i,g=.965925826290169*o,L=.8660254037861398*o,y=.7071067811883519*o,v=.25881904510334236*o,M=t-m,_=t-p,w=t-$,k=t-h,x=t-b,C=t+b,S=t+h,I=t+$,A=t+p,P=t+m,R=n-g,E=n-L,z=n-y,T=n-l,F=n-v,O=n+v,B=n+l,N=n+y,j=n+L,D=n+g,G=i*d/c,U=o*d/c,H=99144*G/1e5,q=92388*G/1e5,Y=79335*G/1e5,Z=60876*G/1e5,W=38268*G/1e5,K=13053*G/1e5,V=99144*U/1e5,J=92388*U/1e5,Q=79335*U/1e5,X=60876*U/1e5,te=38268*U/1e5,tr=13053*U/1e5,ta=t-H,ts=t-q,tn=t-Y,ti=t-Z,to=t-W,tl=t-K,th=t+K,tu=t+W,tc=t+Z,tf=t+Y,td=t+q,tm=t+H,tp=n-V,t$=n-J,tb=n-Q,tg=n-X,tL=n-te,ty=n-tr,tv=n+tr,tM=n+te,t_=n+X,tw=n+Q,tk=n+J,tx=n+V;s=`M 0,${n} L ${ta},${ty} L ${M},${F} L ${ts},${tL} L ${_},${T} L ${tn},${tg} L ${w},${z} L ${ti},${tb} L ${k},${E} L ${to},${t$} L ${x},${R} L ${tl},${tp} L ${t},0 L ${th},${tp} L ${C},${R} L ${tu},${t$} L ${S},${E} L ${tc},${tb} L ${I},${z} L ${tf},${tg} L ${A},${T} L ${td},${tL} L ${P},${F} L ${tm},${ty} L ${e},${n} L ${tm},${tv} L ${P},${O} L ${td},${tM} L ${A},${B} L ${tf},${t_} L ${I},${N} L ${tc},${tw} L ${S},${j} L ${tu},${tk} L ${C},${D} L ${th},${tx} L ${t},${r} L ${tl},${tx} L ${x},${D} L ${to},${tk} L ${k},${j} L ${ti},${tw} L ${w},${N} L ${tn},${t_} L ${_},${B} L ${ts},${tM} L ${M},${O} L ${ta},${tv} z`}break;case"star32":{let t=e/2,n=r/2,i=e/2,o=r/2,l=37500*tz,h=5e4*tz,u=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]);u&&"adj"===u.attrs.name&&(l=parseInt(u.attrs.fmla.substring(4))*tz);let c=l<0?0:l>h?h:l,f=98079*i/1e5,d=92388*i/1e5,m=83147*i/1e5,p=.7071067811847432*i,$=55557*i/1e5,b=38268*i/1e5,g=19509*i/1e5,L=98079*o/1e5,y=92388*o/1e5,v=83147*o/1e5,M=.7071067811883519*o,_=55557*o/1e5,w=38268*o/1e5,k=19509*o/1e5,x=t-f,C=t-d,S=t-m,I=t-p,A=t-$,P=t-b,R=t-g,E=t+g,z=t+b,T=t+$,F=t+p,O=t+m,B=t+d,N=t+f,j=n-L,D=n-y,G=n-v,U=n-M,H=n-_,q=n-w,Y=n-k,Z=n+k,W=n+w,K=n+_,V=n+M,J=n+v,Q=n+y,X=n+L,te=i*c/h,tr=o*c/h,ta=99518*te/1e5,ts=95694*te/1e5,tn=88192*te/1e5,ti=77301*te/1e5,to=63439*te/1e5,tl=47140*te/1e5,th=29028*te/1e5,tu=9802*te/1e5,tc=99518*tr/1e5,tf=95694*tr/1e5,td=88192*tr/1e5,tm=77301*tr/1e5,tp=63439*tr/1e5,t$=47140*tr/1e5,tb=29028*tr/1e5,tg=9802*tr/1e5,tL=t-ta,ty=t-ts,tv=t-tn,tM=t-ti,t_=t-to,tw=t-tl,tk=t-th,tx=t-tu,tC=t+tu,tS=t+th,tI=t+tl,tA=t+to,tP=t+ti,tR=t+tn,tE=t+ts,tT=t+ta,tF=n-tc,tO=n-tf,tB=n-td,tN=n-tm,tj=n-tp,tD=n-t$,tG=n-tb,tU=n-tg,tH=n+tg,tq=n+tb,tY=n+t$,tZ=n+tp,tW=n+tm,tK=n+td,tV=n+tf,tJ=n+tc;s=`M 0,${n} L ${tL},${tU} L ${x},${Y} L ${ty},${tG} L ${C},${q} L ${tv},${tD} L ${S},${H} L ${tM},${tj} L ${I},${U} L ${t_},${tN} L ${A},${G} L ${tw},${tB} L ${P},${D} L ${tk},${tO} L ${R},${j} L ${tx},${tF} L ${t},0 L ${tC},${tF} L ${E},${j} L ${tS},${tO} L ${z},${D} L ${tI},${tB} L ${T},${G} L ${tA},${tN} L ${F},${U} L ${tP},${tj} L ${O},${H} L ${tR},${tD} L ${B},${q} L ${tE},${tG} L ${N},${Y} L ${tT},${tU} L ${e},${n} L ${tT},${tH} L ${N},${Z} L ${tE},${tq} L ${B},${W} L ${tR},${tY} L ${O},${K} L ${tP},${tZ} L ${F},${V} L ${tA},${tW} L ${T},${J} L ${tI},${tK} L ${z},${Q} L ${tS},${tV} L ${E},${X} L ${tC},${tJ} L ${t},${r} L ${tx},${tJ} L ${R},${X} L ${tk},${tV} L ${P},${Q} L ${tw},${tK} L ${A},${J} L ${t_},${tW} L ${I},${V} L ${tM},${tZ} L ${S},${K} L ${tv},${tY} L ${C},${W} L ${ty},${tq} L ${x},${Z} L ${tL},${tH} z`}break;case"pie":case"pieWedge":case"arc":{var n,i,o,l;let h,u,c,f,d,m,p,$,b,g,L,y,v,M,_,w,k,x=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]);if("pie"===t?(h=0,u=270,c=r,f=!0):"pieWedge"===t?(h=180,u=270,c=2*r,f=!0):"arc"===t&&(h=270,u=0,c=r,f=!1),x)for(let t of Array.isArray(x)?x:[x]){let e=tt(t,["attrs","name"]),r=tt(t,["attrs","fmla"]);e&&r&&("adj1"===e?h=parseInt(r.substring(4))/6e4:"adj2"===e&&(u=parseInt(r.substring(4))/6e4))}n=c,i=h,o=u,l=f,p=parseFloat(o),$=parseFloat(i),b=parseFloat(n)/2,g=e/2,(L=p-$)<0&&(L=360+L),y=$*Math.PI/180,v=($+(L=Math.min(Math.max(L,0),360)))*Math.PI/180,M=g+Math.cos(y)*g,_=b+Math.sin(y)*b,w=g+Math.cos(v)*g,k=b+Math.sin(v)*b,l?(d=L<=180?0:1,m=`M${g},${b} L${M},${_} A${g},${b} 0 ${d},1 ${w},${k} z`):(d=L<=180?0:1,m=`M${M},${_} A${g},${b} 0 ${d},1 ${w},${k}`),s=m}break;case"chord":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=45,i=270;if(t)for(let e of t){let t=tt(e,["attrs","name"]);"adj1"===t?n=parseInt(tt(e,["attrs","fmla"]).substring(4))/6e4:"adj2"===t&&(i=parseInt(tt(e,["attrs","fmla"]).substring(4))/6e4)}let o=r/2,l=e/2;s=ej(l,o,l,o,n,i,!0)}break;case"frame":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),n=12500*tz,i=5e4*tz;t&&(n=parseInt(t.substring(4))*tz);let o=Math.min(e,r)*(n<0?0:n>i?i:n)/(1e5*tz),l=e-o,h=r-o;s=`M 0,0 L ${e},0 L ${e},${r} L 0,${r} z M ${o},${o} L ${o},${h} L ${l},${h} L ${l},${o} z`}break;case"donut":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),n=25e3*tz,i=5e4*tz;t&&(n=parseInt(t.substring(4))*tz);let o=Math.min(e,r)*(n<0?0:n>i?i:n)/(1e5*tz),l=e/2-o,h=r/2-o,u=`M ${e/2-e/2},${r/2} A ${e/2},${r/2} 0 1,0 ${e/2+e/2},${r/2} A ${e/2},${r/2} 0 1,0 ${e/2-e/2},${r/2} Z`,c=`M ${e/2+l},${r/2} A ${l},${h} 0 1,0 ${e/2-l},${r/2} A ${l},${h} 0 1,0 ${e/2+l},${r/2} Z`;s=`${u} ${c}`}break;case"noSmoking":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),n=18750*tz,i=5e4*tz;t&&(n=parseInt(t.substring(4))*tz);let o=Math.min(e,r)*(n<0?0:n>i?i:n)/(1e5*tz),l=e/2-o,h=r/2-o,u=Math.atan(r/e),c=h*Math.cos(u),f=l*Math.sin(u),d=Math.atan(o/2/(l*h/Math.sqrt(c*c+f*f))),m=-Math.PI+2*d,p=u-d,$=p-Math.PI,b=h*Math.cos(p),g=l*Math.sin(p),L=l*h/Math.sqrt(b*b+g*g),y=L*Math.cos(p),v=L*Math.sin(p),M=e/2+y,_=r/2+v,w=e/2-y,k=r/2-v,x=180*p/Math.PI,C=180*$/Math.PI,S=180*m/Math.PI,I=`M ${e/2-e/2},${r/2} A ${e/2},${r/2} 0 1,0 ${e/2+e/2},${r/2} A ${e/2},${r/2} 0 1,0 ${e/2-e/2},${r/2} Z`,A=`M ${M},${_} ${ej(e/2,r/2,l,h,x,x+S,!1).replace("M","L")} z`,P=`M ${w},${k} ${ej(e/2,r/2,l,h,C,C+S,!1).replace("M","L")} z`;s=`${I} ${A} ${P}`}break;case"halfFrame":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=3.5,i=3.5,o=1e5*tz;if(t)for(let e of t){let t=tt(e,["attrs","name"]);"adj1"===t?n=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj2"===t&&(i=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz)}let l=Math.min(e,r),h=o*e/l,u=l*(i<0?0:i>h?h:i)/o,c=o*(r-r*u/e)/l,f=l*(n<0?0:n>c?c:n)/o,d=e-f*e/r,m=r-u*r/e;s=`M 0,0 L ${e},0 L ${d},${f} L ${u},${f} L ${u},${m} L 0,${r} z`}break;case"blockArc":{let t,n,i,o,l=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),h=180,u=0,c=25e3*tz,f=5e4*tz;if(l)for(let t of l){let e=tt(t,["attrs","name"]);"adj1"===e?h=parseInt(tt(t,["attrs","fmla"]).substring(4))/6e4:"adj2"===e?u=parseInt(tt(t,["attrs","fmla"]).substring(4))/6e4:"adj3"===e&&(c=parseInt(tt(t,["attrs","fmla"]).substring(4))*tz)}let d=h<0?0:h>360?360:h,m=u<0?0:u>360?360:u,p=c<0?0:c>f?f:c,$=m-d,b=$>0?$:$+360,g=d+b,L=d*Math.PI/180,y=m*Math.PI/180,v=e/2,M=r/2,_=e/2,w=r/2;if(d>90&&d<270){let e=v*Math.sin(Math.PI/2-L),r=M*Math.cos(Math.PI/2-L),a=v*Math.cos(Math.atan(r/e)),s=M*Math.sin(Math.atan(r/e));t=_-a,n=w-s}else{let e=v*Math.sin(L),r=M*Math.cos(L),a=v*Math.cos(Math.atan(e/r)),s=M*Math.sin(Math.atan(e/r));t=_+a,n=w+s}let k=Math.min(e,r)*p/(1e5*tz),x=v-k,C=M-k;if(g<=450&&g>270||g>=630&&g<720){let t=x*Math.sin(y),e=C*Math.cos(y),r=x*Math.cos(Math.atan(t/e)),a=C*Math.sin(Math.atan(t/e));i=_+r,o=w+a}else{let t=x*Math.sin(Math.PI/2-y),e=C*Math.cos(Math.PI/2-y),r=x*Math.cos(Math.atan(e/t)),a=C*Math.sin(Math.atan(e/t));i=_-r,o=w-a}s=`M ${t},${n} ${ej(v,M,v,M,d,g,!1).replace("M","L")} L ${i},${o} ${ej(v,M,x,C,m,m+-b,!1).replace("M","L")} z`}break;case"bracePair":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),n=8333*tz,i=25e3*tz;t&&(n=parseInt(t.substring(4))*tz);let o=r/2,l=n<0?0:n>i?i:n,h=Math.min(e,r),u=h*l/(1e5*tz),c=h*l/(5e4*tz),f=e-c,d=e-u,m=o-u,p=o+u,$=r-u;s=`M ${c},${r} ${ej(c,$,u,u,90,180,!1).replace("M","L")} L ${u},${p} ${ej(0,p,u,u,0,-90,!1).replace("M","L")} ${ej(0,m,u,u,90,0,!1).replace("M","L")} L ${u},${u} ${ej(c,u,u,u,180,270,!1).replace("M","L")} M ${f},0 ${ej(f,u,u,u,270,360,!1).replace("M","L")} L ${d},${m} ${ej(e,m,u,u,180,90,!1).replace("M","L")} ${ej(e,p,u,u,270,180,!1).replace("M","L")} L ${d},${$} ${ej(f,$,u,u,0,90,!1).replace("M","L")}`}break;case"leftBrace":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=8333*tz,i=5e4*tz,o=1e5*tz;if(t)for(let e of t){let t=tt(e,["attrs","name"]);"adj1"===t?n=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj2"===t&&(i=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz)}let l=i<0?0:i>o?o:i,h=Math.min(e,r),u=o-l,c=(u<l?u:l)/2*r/h,f=h*(n<0?0:n>c?c:n)/o,d=r*l/o,m=d-f,p=d+f;s=`M ${e},${r} ${ej(e,r-f,e/2,f,90,180,!1).replace("M","L")} L ${e/2},${p} ${ej(0,p,e/2,f,0,-90,!1).replace("M","L")} ${ej(0,m,e/2,f,90,0,!1).replace("M","L")} L ${e/2},${f} ${ej(e,f,e/2,f,180,270,!1).replace("M","L")}`}break;case"rightBrace":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=8333*tz,i=5e4*tz,o=1e5*tz;if(t)for(let e of t){let t=tt(e,["attrs","name"]);"adj1"===t?n=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj2"===t&&(i=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz)}let l=i<0?0:i>o?o:i,h=Math.min(e,r),u=o-l,c=(u<l?u:l)/2*r/h,f=h*(n<0?0:n>c?c:n)/o,d=r*l/o,m=d-f,p=r-f;s=`M 0,0 ${ej(0,f,e/2,f,270,360,!1).replace("M","L")} L ${e/2},${m} ${ej(e,m,e/2,f,180,90,!1).replace("M","L")} ${ej(e,d+f,e/2,f,270,180,!1).replace("M","L")} L ${e/2},${p} ${ej(0,p,e/2,f,0,90,!1).replace("M","L")}`}break;case"bracketPair":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),n=16667*tz,i=5e4*tz;t&&(n=parseInt(t.substring(4))*tz);let o=Math.min(e,r)*(n<0?0:n>i?i:n)/(1e5*tz),l=e-o,h=r-o;s=`${ej(o,o,o,o,270,180,!1)} ${ej(o,h,o,o,180,90,!1).replace("M","L")} ${ej(l,o,o,o,270,360,!1)} ${ej(l,h,o,o,0,90,!1).replace("M","L")}`}break;case"leftBracket":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),n=8333*tz,i=5e4*tz*r/Math.min(e,r);t&&(n=parseInt(t.substring(4))*tz);let o=Math.min(e,r)*(n<0?0:n>i?i:n)/(1e5*tz);o>e&&(o=e);let l=r-o;s=`M ${e},${r} ${ej(o,l,o,o,90,180,!1).replace("M","L")} L 0,${o} ${ej(o,o,o,o,180,270,!1).replace("M","L")} L ${e},0`}break;case"rightBracket":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),n=8333*tz,i=5e4*tz*r/Math.min(e,r);t&&(n=parseInt(t.substring(4))*tz);let o=Math.min(e,r)*(n<0?0:n>i?i:n)/(1e5*tz),l=r-o,h=e-o;s=`M 0,${r} ${ej(h,l,o,o,90,0,!1).replace("M","L")} L ${e},${r/2} ${ej(h,o,o,o,360,270,!1).replace("M","L")} L 0,0`}break;case"moon":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),n=.5;t&&(n=parseInt(t.substring(4))/1e5);let i=r/2,o=(1-n)*e;s=`M ${e},${r} ${ej(e,i,e,i,90,270,!1).replace("M","L")} ${ej(e,i,o,i,270,90,!1).replace("M","L")} z`}break;case"corner":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=5e4*tz,i=5e4*tz,o=1e5*tz;if(t)for(let e of t){let t=tt(e,["attrs","name"]);"adj1"===t?n=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj2"===t&&(i=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz)}let l=Math.min(e,r),h=o*r/l,u=o*e/l,c=l*(i<0?0:i>u?u:i)/o,f=r-l*(n<0?0:n>h?h:n)/o;s=`M 0,0 L ${c},0 L ${c},${f} L ${e},${f} L ${e},${r} L 0,${r} z`}break;case"diagStripe":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),n=5e4*tz,i=1e5*tz;t&&(n=parseInt(t.substring(4))*tz);let o=n<0?0:n>i?i:n,l=e*o/i,h=r*o/i;s=`M 0,${h} L ${l},0 L ${e},0 L 0,${r} z`}break;case"gear6":case"gear9":s=function(t,e){let r=1.5*t,a=2*Math.PI,s=a/(2*e),n=35*s*.005,i=50*s*.005,o=s,l=!1,h=" M"+(r+r*Math.cos(i))+" "+(r+r*Math.sin(i));for(;o<=a+s;o+=s)l?h+=" L"+(r+t*Math.cos(o-n))+","+(r+t*Math.sin(o-n))+(" L"+(r+r*Math.cos(o+i))+",")+(r+r*Math.sin(o+i)):h+=" L"+(r+r*Math.cos(o-i))+","+(r+r*Math.sin(o-i))+(" L"+(r+t*Math.cos(o+n))+",")+(r+t*Math.sin(o+n)),l=!l;return h+" "}(e,r/3.5,parseInt(t.substring(4)));break;case"bentConnector3":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),n=.5;t&&(n=parseInt(t.substring(4))/1e5),s=`M 0 0 L ${n*e} 0 L ${n*e} ${r} L ${e} ${r}`}break;case"plus":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),n=.25;t&&(n=parseInt(t.substring(4))/1e5);let i=1-n;s=`M ${n*e} 0 L ${n*e} ${n*r} L 0 ${n*r} L 0 ${i*r} L ${n*e} ${i*r} L ${n*e} ${r} L ${i*e} ${r} L ${i*e} ${i*r} L ${e} ${i*r} L ${e} ${n*r} L ${i*e} ${n*r} L ${i*e} 0 Z`}break;case"teardrop":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),n=1e5*tz,i=n,o=2e5*tz;t&&(n=parseInt(t.substring(4))*tz);let l=n<0?0:n>o?o:n,h=Math.sqrt(2),u=e/2*h,c=r/2*h,f=45*Math.PI/180,d=e/2+u*l/i*Math.cos(f),m=r/2-c*l/i*Math.cos(f),p=(e/2+d)/2,$=(r/2+m)/2;s=`${ej(e/2,r/2,e/2,r/2,180,270,!1)} Q ${p},0 ${d},${m} Q ${e},${$} ${e},${r/2} ${ej(e/2,r/2,e/2,r/2,0,90,!1).replace("M","L")} ${ej(e/2,r/2,e/2,r/2,90,180,!1).replace("M","L")} z`}break;case"plaque":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),n=16667*tz,i=5e4*tz;t&&(n=parseInt(t.substring(4))*tz);let o=(n<0?0:n>i?i:n)*Math.min(e,r)/(1e5*tz),l=e-o,h=r-o;s=`M 0,${o} ${ej(0,0,o,o,90,0,!1).replace("M","L")} L ${l},0 ${ej(e,0,o,o,180,90,!1).replace("M","L")} L ${e},${h} ${ej(e,r,o,o,270,180,!1).replace("M","L")} L ${o},${r} ${ej(0,r,o,o,0,-90,!1).replace("M","L")} z`}break;case"sun":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),n=25e3*tz,i=12500*tz,o=46875*tz;t&&(n=parseInt(t.substring(4))*tz);let l=n<i?i:n>o?o:n,h=5e4*tz,u=1e5*tz,c=h-l,f=3*(h-30274*c/32768)/4,d=3*(h-12540*c/32768)/4,m=f+3662*tz,p=d+36620*tz,$=d+12500*tz,b=u-f,g=u-m,L=u-p,y=u-$,v=18436*e/21600,M=3163*r/21600,_=3163*e/21600,w=18436*r/21600,k=e*f/u,x=e*m/u,C=e*p/u,S=e*$/u,I=e*b/u,A=e*g/u,P=e*L/u,R=e*y/u,E=e*l/u,z=e*c/u,T=r*c/u,F=r*f/u,O=r*m/u,B=r*p/u,N=r*$/u,j=r*b/u,D=r*g/u,G=r*L/u,U=r*y/u;s=`M ${e},${r/2} L ${I},${U} L ${I},${N} z M ${v},${M} L ${A},${G} L ${C},${O} z M ${e/2},0 L ${R},${F} L ${S},${F} z M ${_},${M} L ${P},${O} L ${x},${G} z M 0,${r/2} L ${k},${N} L ${k},${U} z M ${_},${w} L ${x},${B} L ${P},${D} z M ${e/2},${r} L ${S},${j} L ${R},${j} z M ${v},${w} L ${C},${D} L ${A},${B} z M ${E},${r/2} ${ej(e/2,r/2,z,T,180,540,!1).replace("M","L")} z`}break;case"heart":{let t=49*e/48,a=10*e/48,n=e/2-t,i=e/2-a,o=e/2+a,l=e/2+t,h=-r/3;s=`M ${e/2},${r/4} C ${o},${h} ${l},${r/4} ${e/2},${r} C ${n},${r/4} ${i},${h} ${e/2},${r/4} z`}break;case"lightningBolt":{let t=5022*e/21600,a=11050*e/21600,n=8472*e/21600,i=10012*e/21600,o=14767*e/21600,l=12222*e/21600,h=12860*e/21600,u=7602*e/21600,c=16577*e/21600,f=3890*r/21600,d=6080*r/21600,m=6797*r/21600,p=12877*r/21600,$=9705*r/21600,b=12007*r/21600,g=13987*r/21600,L=8382*r/21600,y=14915*r/21600;s=`M ${n},0 L ${h},${d} L ${a},${m} L ${c},${b} L ${o},${p} L ${e},${r} L ${i},${y} L ${l},${g} L ${t},${$} L ${u},${L} L 0,${f} z`}break;case"cube":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),n=25e3*tz;t&&(n=parseInt(t.substring(4))*tz);let i=1e5*tz,o=Math.min(e,r)*(n<0?0:n>i?i:n)/i,l=r-o,h=e-o;s=`M 0,${o} L ${o},0 L ${e},0 L ${e},${l} L ${h},${r} L 0,${r} z M 0,${o} L ${h},${o} M ${h},${o} L ${e},0 M ${h},${o} L ${h},${r}`}break;case"bevel":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),n=12500*tz;t&&(n=parseInt(t.substring(4))*tz);let i=5e4*tz,o=Math.min(e,r)*(n<0?0:n>i?i:n)/(1e5*tz),l=e-o,h=r-o;s=`M 0,0 L ${e},0 L ${e},${r} L 0,${r} z M ${o},${o} L ${l},${o} L ${l},${h} L ${o},${h} z M 0,0 L ${o},${o} M 0,${r} L ${o},${h} M ${e},0 L ${l},${o} M ${e},${r} L ${l},${h}`}break;case"foldedCorner":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),n=16667*tz;t&&(n=parseInt(t.substring(4))*tz);let i=5e4*tz,o=Math.min(e,r)*(n<0?0:n>i?i:n)/(1e5*tz),l=o/5,h=e-o,u=r-o;s=`M ${h},${r} L ${h+l},${u+l} L ${e},${u} L ${h},${r} L 0,${r} L 0,0 L ${e},0 L ${e},${u}`}break;case"cloud":case"cloudCallout":{let n=3900*e/43200,i=14370*r/43200,o=6753*e/43200,l=9190*r/43200,h=5333*e/43200,u=7267*r/43200,c=5945*r/43200,f=(t,e,r,a,s,n)=>ej(t-r*Math.cos(s*Math.PI/180),e-a*Math.sin(s*Math.PI/180),r,a,s,s+n,!1).replace("M","L"),d=`M ${n},${i}`,m=[n,i];for(let t of[[o,l,-0xae6581/6e4,7426832/6e4],[h,u,-8646143/6e4,5396714/6e4],[4365*e/43200,c,-8748475/6e4,5983381/6e4],[4857*e/43200,6595*r/43200,-7859164/6e4,7034504/6e4],[h,7273*r/43200,-4722533/6e4,6541615/6e4],[6775*e/43200,9220*r/43200,-46.26725,130.269],[5785*e/43200,7867*r/43200,37501/6e4,6842e3/6e4],[6752*e/43200,9215*r/43200,22.4516,115.17255],[7720*e/43200,10543*r/43200,3974558/6e4,4542661/6e4],[4360*e/43200,5918*r/43200,-0xfbb78d/6e4,8804134/6e4],[4345*e/43200,c,-246.8285,152.51885]]){let e=f(m[0],m[1],...t);d+=e;let r=e.lastIndexOf("L"),a=e.substring(r+1).split(" ");m=[parseFloat(a[0]),parseFloat(a[1])]}if(d+=" z","cloudCallout"===t){let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),s=-20833*tz,n=62500*tz;if(t)for(let e of t){let t=tt(e,["attrs","name"]);"adj1"===t?s=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj2"===t&&(n=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz)}let i=1e5*tz,o=Math.min(e,r),l=e/2,h=r/2,u=e*s/i,c=r*n/i,f=l+u,m=h+c,p=h*Math.cos(Math.atan(c/u)),$=l*Math.sin(Math.atan(c/u)),b=l*Math.cos(Math.atan($/p)),g=h*Math.sin(Math.atan($/p)),L=(s>=0?l+b:l-b)-f,y=(s>=0?h+g:h-g)-m,v=Math.sqrt(L*L+y*y),M=(v-6600*o/21600)/3,_=1800*o/21600,w=M+_,k=w*y/v+m,x=4800*o/21600+2*M,C=x*y/v+m,S=1200*o/21600,I=600*o/21600,A=f+I,P=w*L/v+f+S,R=x*L/v+f+_;d+=`${ej(A-I,m,I,I,0,360,!0)} M ${P},${k} ${ej(P-S,k,S,S,0,360,!0).replace("M","L")} M ${R},${C} ${ej(R-_,C,_,_,0,360,!0).replace("M","L")}`}s=d}break;case"smileyFace":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),n=4653*tz;t&&(n=parseInt(t.substring(4))*tz);let i=4653*tz,o=e/2,l=r/2,h=n<-i?-i:n>i?i:n,u=6215*e/21600,c=13135*e/21600,f=16640*e/21600,d=7570*r/21600,m=16515*r/21600,p=r*h/(1e5*tz),$=m-p,b=m+p+r*h/(5e4*tz),g=1125*e/21600,L=1125*r/21600,y=4969*e/21699;s=`${ej(u,d,g,L,0,360,!0)} ${ej(c,d,g,L,0,360,!0)} M ${y},${$} Q ${o},${b} ${f},${$} Q ${o},${b} ${y},${$} M 0,${l} ${ej(o,l,o,l,180,540,!1).replace("M","L")} z`}break;case"verticalScroll":case"horizontalScroll":{let n=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),i=12500*tz;n&&(i=parseInt(n.substring(4))*tz);let o=25e3*tz,l=Math.min(e,r)*(i<0?0:i>o?o:i)/(1e5*tz),h=l/2,u=l/4;if("verticalScroll"===t){let t=l+h,a=e-l,n=e-h,i=a-h,o=r-l,c=r-h;s=`M ${l},${o} L ${l},${h} ${ej(t,h,h,h,180,270,!1).replace("M","L")} L ${n},0 ${ej(n,h,h,h,270,450,!1).replace("M","L")} L ${a},${l} L ${a},${c} ${ej(i,c,h,h,0,90,!1).replace("M","L")} L ${h},${r} ${ej(h,c,h,h,90,270,!1).replace("M","L")} z M ${t},0 ${ej(t,h,h,h,270,450,!1).replace("M","L")} ${ej(t,t/2,u,u,90,270,!1).replace("M","L")} L ${l+l},${h} M ${a},${l} L ${t},${l} M ${l},${c} ${ej(h,c,h,h,0,270,!1).replace("M","L")} ${ej(h,(c+o)/2,u,u,270,450,!1).replace("M","L")} z M ${l},${c} L ${l},${o}`}else if("horizontalScroll"===t){let t=l+h,a=r-l,n=r-h,i=a-h,o=e-l,c=e-h;s=`M 0,${t} ${ej(h,t,h,h,180,270,!1).replace("M","L")} L ${o},${l} L ${o},${h} ${ej(c,h,h,h,180,360,!1).replace("M","L")} L ${e},${i} ${ej(c,i,h,h,0,90,!1).replace("M","L")} L ${l},${a} L ${l},${n} ${ej(h,n,h,h,0,180,!1).replace("M","L")} z M ${c},${l} ${ej(c,h,h,h,90,-180,!1).replace("M","L")} ${ej((o+c)/2,h,u,u,180,0,!1).replace("M","L")} z M ${c},${l} L ${o},${l} M ${h},${l+l} L ${h},${t} ${ej(t/2,t,u,u,180,360,!1).replace("M","L")} ${ej(h,t,h,h,0,180,!1).replace("M","L")} M ${l},${t} L ${l},${a}`}}break;case"wedgeEllipseCallout":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=-20833*tz,i=62500*tz;if(t)for(let e of t){let t=tt(e,["attrs","name"]);"adj1"===t?n=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj2"===t&&(i=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz)}let o=1e5*tz,l=11*Math.PI/180,h=r/2,u=e/2,c=e*n/o,f=r*i/o,d=u+c,m=h+f,p=Math.atan2(f*e,c*r),$=p+l,b=p-l,g=u*Math.cos($),L=h*Math.sin($),y=u*Math.cos(b),v=h*Math.sin(b),M=u+g,_=h+L,w=u+y,k=h+v;s=`M ${M},${_} L ${d},${m} L ${w},${k} ${ej(u,h,u,h,180*b/Math.PI,180*$/Math.PI,!0).replace("M","L")}`}break;case"wedgeRectCallout":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=-20833*tz,i=62500*tz;if(t)for(let e of t){let t=tt(e,["attrs","name"]);"adj1"===t?n=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj2"===t&&(i=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz)}let o=1e5*tz,l=r/2,h=e/2,u=e*n/o,c=r*i/o,f=h+u,d=l+c,m=Math.abs(c)-Math.abs(u*r/e),p=e*(u>0?7:2)/12,$=e*(u>0?10:5)/12,b=r*(c>0?7:2)/12,g=r*(c>0?10:5)/12,L=m>0?e:u>0?f:e,y=m>0&&c>0?d:r;s=`M 0,0 L ${p},0 L ${m>0?c>0?p:f:p},${m>0?c>0?0:d:0} L ${$},0 L ${e},0 L ${e},${b} L ${L},${m>0?b:u>0?d:b} L ${e},${g} L ${e},${r} L ${$},${r} L ${m>0&&c>0?f:p},${y} L ${p},${r} L 0,${r} L 0,${g} L ${m>0||u>0?0:f},${m>0||u>0?b:d} L 0,${b} z`}break;case"wedgeRoundRectCallout":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=-20833*tz,i=62500*tz,o=16667*tz;if(t)for(let e of t){let t=tt(e,["attrs","name"]);"adj1"===t?n=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj2"===t?i=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj3"===t&&(o=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz)}let l=1e5*tz,h=Math.min(e,r),u=r/2,c=e/2,f=e*n/l,d=r*i/l,m=c+f,p=u+d,$=Math.abs(d)-Math.abs(f*r/e),b=e*(f>0?7:2)/12,g=e*(f>0?10:5)/12,L=r*(d>0?7:2)/12,y=r*(d>0?10:5)/12,v=$>0?e:f>0?m:e,M=$>0&&d>0?p:r,_=h*o/l,w=e-_,k=r-_;s=`M 0,${_} ${ej(_,_,_,_,180,270,!1).replace("M","L")} L ${b},0 L ${$>0?d>0?b:m:b},${$>0?d>0?0:p:0} L ${g},0 L ${w},0 ${ej(w,_,_,_,270,360,!1).replace("M","L")} L ${e},${L} L ${v},${$>0?L:f>0?p:L} L ${e},${y} L ${e},${k} ${ej(w,k,_,_,0,90,!1).replace("M","L")} L ${g},${r} L ${$>0&&d>0?m:b},${M} L ${b},${r} L ${_},${r} ${ej(_,k,_,_,90,180,!1).replace("M","L")} L 0,${y} L ${$>0||f>0?0:m},${$>0||f>0?L:p} L 0,${L} z`}break;case"accentBorderCallout1":case"accentBorderCallout2":case"accentBorderCallout3":case"borderCallout1":case"borderCallout2":case"borderCallout3":case"accentCallout1":case"accentCallout2":case"accentCallout3":case"callout1":case"callout2":case"callout3":{let n,i,o,l,h,u,c,f,d=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),m=18750*tz,p=-8333*tz,$=18750*tz,b=-16667*tz,g=1e5*tz,L=-16667*tz,y=112963*tz,v=-8333*tz;if(d)for(let t of d){let e=tt(t,["attrs","name"]);"adj1"===e?m=parseInt(tt(t,["attrs","fmla"]).substring(4))*tz:"adj2"===e?p=parseInt(tt(t,["attrs","fmla"]).substring(4))*tz:"adj3"===e?$=parseInt(tt(t,["attrs","fmla"]).substring(4))*tz:"adj4"===e?b=parseInt(tt(t,["attrs","fmla"]).substring(4))*tz:"adj5"===e?g=parseInt(tt(t,["attrs","fmla"]).substring(4))*tz:"adj6"===e?L=parseInt(tt(t,["attrs","fmla"]).substring(4))*tz:"adj7"===e?y=parseInt(tt(t,["attrs","fmla"]).substring(4))*tz:"adj8"===e&&(v=parseInt(tt(t,["attrs","fmla"]).substring(4))*tz)}let M=1e5*tz,_=`M 0,0 L ${e},0 L ${e},${r} L 0,${r} z`;switch(t){case"borderCallout1":case"callout1":d||(m=18750*tz,p=-8333*tz,$=112500*tz,b=-38333*tz),i=r*m/M,n=e*p/M,l=r*$/M,o=e*b/M,s=`${_} M ${n},${i} L ${o},${l}`;break;case"borderCallout2":case"callout2":d||(m=18750*tz,p=-8333*tz,$=18750*tz,b=-16667*tz,g=112500*tz,L=-46667*tz),i=r*m/M,n=e*p/M,l=r*$/M,o=e*b/M,u=r*g/M,h=e*L/M,s=`${_} M ${n},${i} L ${o},${l} L ${h},${u}`;break;case"borderCallout3":case"callout3":d||(m=18750*tz,p=-8333*tz,$=18750*tz,b=-16667*tz,g=1e5*tz,L=-16667*tz,y=112963*tz,v=-8333*tz),i=r*m/M,n=e*p/M,l=r*$/M,o=e*b/M,u=r*g/M,h=e*L/M,f=r*y/M,c=e*v/M,s=`${_} M ${n},${i} L ${o},${l} L ${h},${u} L ${c},${f}`;break;case"accentBorderCallout1":case"accentCallout1":d||(m=18750*tz,p=-8333*tz,$=112500*tz,b=-38333*tz),i=r*m/M,n=e*p/M,l=r*$/M,o=e*b/M,s=`${_} M ${n},${i} L ${o},${l} M ${n},0 L ${n},${r}`;break;case"accentBorderCallout2":case"accentCallout2":d||(m=18750*tz,p=-8333*tz,$=18750*tz,b=-16667*tz,g=112500*tz,L=-46667*tz),i=r*m/M,n=e*p/M,l=r*$/M,o=e*b/M,u=r*g/M,h=e*L/M,s=`${_} M ${n},${i} L ${o},${l} L ${h},${u} M ${n},0 L ${n},${r}`;break;case"accentBorderCallout3":case"accentCallout3":d||(m=18750*tz,p=-8333*tz,$=18750*tz,b=-16667*tz,g=1e5*tz,L=-16667*tz,y=112963*tz,v=-8333*tz),i=r*m/M,n=e*p/M,l=r*$/M,o=e*b/M,u=r*g/M,h=e*L/M,f=r*y/M,c=e*v/M,s=`${_} M ${n},${i} L ${o},${l} L ${h},${u} L ${c},${f} M ${n},0 L ${n},${r}`}}break;case"leftRightRibbon":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=5e4*tz,i=5e4*tz,o=16667*tz;if(t)for(let e of t){let t=tt(e,["attrs","name"]);"adj1"===t?n=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj2"===t?i=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj3"===t&&(o=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz)}let l=33333*tz,h=1e5*tz,u=2e5*tz,c=Math.min(e,r),f=e/2,d=r/2,m=o<0?0:o>l?l:o,p=h-m,$=h*(f-e/32)/c,b=c*(i<0?0:i>$?$:i)/h,g=e-b,L=r*(n<0?0:n>p?p:n)/u,y=-(r*m/u),v=d+y-L,M=d+L-y,_=v+L,w=r-_,k=2*_,x=r-(k-v),C=m*c/(4e5*tz),S=f-e/32,I=f+e/32,A=v+C,P=x-C;s=`M 0,${_} L ${b},0 L ${b},${v} L ${f},${v} ${ej(f,A,e/32,C,270,450,!1).replace("M","L")} ${ej(f,P,e/32,C,270,90,!1).replace("M","L")} L ${g},${x} L ${g},${r-k} L ${e},${w} L ${g},${r} L ${g},${M} L ${f},${M} ${ej(f,M-C,e/32,C,90,180,!1).replace("M","L")} L ${S},${k-v} L ${b},${k-v} L ${b},${k} z M ${I},${A} L ${I},${x} M ${S},${P} L ${S},${k-v}`}break;case"ribbon":case"ribbon2":{let n=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),i=16667*tz,o=5e4*tz;if(n)for(let t of n){let e=tt(t,["attrs","name"]);"adj1"===e?i=parseInt(tt(t,["attrs","fmla"]).substring(4))*tz:"adj2"===e&&(o=parseInt(tt(t,["attrs","fmla"]).substring(4))*tz)}let l=25e3*tz,h=33333*tz,u=75e3*tz,c=1e5*tz,f=2e5*tz,d=e/2,m=e/8,p=e/32,$=i<0?0:i>h?h:i,b=e-m,g=e*(o<l?l:o>u?u:o)/f,L=d-g,y=d+g,v=L+p,M=y-p,_=L+m,w=y-m,k=_-p,x=w+p,C=r*$/(4e5*tz);if("ribbon2"===t){let t=r*$/f,a=r-t,n=r*$/c,i=r-n,o=0+n,l=(o+r)/2,h=r-C,u=a-C;s=`M 0,${r} L ${m},${l} L 0,${o} L ${L},${o} L ${L},${C} ${ej(v,C,p,C,180,270,!1).replace("M","L")} L ${M},0 ${ej(M,C,p,C,270,360,!1).replace("M","L")} L ${y},${o} L ${e},${o} L ${b},${l} L ${e},${r} L ${x},${r} ${ej(x,h,p,C,90,270,!1).replace("M","L")} L ${M},${a} ${ej(M,u,p,C,90,-90,!1).replace("M","L")} L ${v},${i} ${ej(v,u,p,C,270,90,!1).replace("M","L")} L ${k},${a} ${ej(k,h,p,C,270,450,!1).replace("M","L")} z M ${_},${i} L ${_},${h} M ${w},${h} L ${w},${i} M ${L},${u} L ${L},${o} M ${y},${o} L ${y},${u}`}else if("ribbon"===t){let t=r*$/f,a=r*$/c,n=r-a,i=n/2,o=r-C,l=a-C;s=`M 0,0 L ${k},0 ${ej(k,C,p,C,270,450,!1).replace("M","L")} L ${v},${t} ${ej(v,l,p,C,270,90,!1).replace("M","L")} L ${M},${a} ${ej(M,l,p,C,90,-90,!1).replace("M","L")} L ${x},${t} ${ej(x,C,p,C,90,270,!1).replace("M","L")} L ${e},0 L ${b},${i} L ${e},${n} L ${y},${n} L ${y},${o} ${ej(M,o,p,C,0,90,!1).replace("M","L")} L ${v},${r} ${ej(v,o,p,C,90,180,!1).replace("M","L")} L ${L},${n} L 0,${n} L ${m},${i} z M ${_},${C} L ${_},${a} M ${w},${a} L ${w},${C} M ${L},${n} L ${L},${l} M ${y},${l} L ${y},${n}`}}break;case"doubleWave":case"wave":{let n=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),i="doubleWave"===t?6250*tz:12500*tz,o=0;if(n)for(let t of n){let e=tt(t,["attrs","name"]);"adj1"===e?i=parseInt(tt(t,["attrs","fmla"]).substring(4))*tz:"adj2"===e&&(o=parseInt(tt(t,["attrs","fmla"]).substring(4))*tz)}let l=-1e4*tz,h=5e4*tz,u=1e5*tz;if("doubleWave"===t){let t=12500*tz,a=o<l?l:o>u?u:o,n=r*(i<0?0:i>t?t:i)/u,c=10*n/3,f=n-c,d=n+c,m=r-n,p=m-c,$=m+c,b=e*a/h,g=b>0?0:b,L=0-g,y=b>0?b:0,v=e-y,M=(g+v)/6,_=(g+v)/3,w=(L+v)/2,k=w+M,x=0+y,C=e+g,S=(x+C)/2,I=S+M;s=`M ${L},${n} C ${L+M},${f} ${L+_},${d} ${w},${n} C ${k},${f} ${(k+v)/2},${d} ${v},${n} L ${C},${m} C ${(I+C)/2},${$} ${I},${p} ${S},${m} C ${x+_},${$} ${x+M},${p} ${x},${m} z`}else if("wave"===t){let t=2e4*tz,a=o<l?l:o>u?u:o,n=r*(i<0?0:i>t?t:i)/u,c=10*n/3,f=r-n,d=e*a/h,m=d>0?0:d,p=0-m,$=d>0?d:0,b=e-$,g=(m+b)/3,L=p+g,y=0+$,v=e+m,M=y+g;s=`M ${p},${n} C ${L},${n-c} ${(L+b)/2},${n+c} ${b},${n} L ${v},${f} C ${(M+v)/2},${f+c} ${M},${f-c} ${y},${f} z`}}break;case"ellipseRibbon":case"ellipseRibbon2":{let n=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),i=25e3*tz,o=5e4*tz,l=12500*tz;if(n)for(let t of n){let e=tt(t,["attrs","name"]);"adj1"===e?i=parseInt(tt(t,["attrs","fmla"]).substring(4))*tz:"adj2"===e?o=parseInt(tt(t,["attrs","fmla"]).substring(4))*tz:"adj3"===e&&(l=parseInt(tt(t,["attrs","fmla"]).substring(4))*tz)}let h=25e3*tz,u=75e3*tz,c=1e5*tz,f=e/2,d=e/8,m=i<0?0:i>c?c:i,p=c-m,$=m-p/2>0?m-p/2:0,b=f-e*(o<h?h:o>u?u:o)/(2e5*tz),g=b+d,L=e-g,y=e-b,v=e-d,M=r*(l<$?$:l>m?m:l)/c,_=4*M/e,w=g-g*g/e,k=g/2,x=e-k,C=r*m/c,S=C-M,I=_*(b-b*b/e),A=r-C,P=14*M/16,R=b/2,E=_*R,z=e-R;if("ellipseRibbon"===t){let t=_*w,r=_*k,a=I+S,n=M+S-a+M+S,i=(P+A)/2,o=I+A,l=a+A,h=E+A,u=t+S;s=`M 0,0 Q ${k},${r} ${g},${t} L ${b},${a} Q ${f},${n} ${y},${a} L ${L},${t} Q ${x},${r} ${e},0 L ${v},${i} L ${e},${A} Q ${z},${h} ${y},${o} L ${y},${l} Q ${f},${n+A} ${b},${l} L ${b},${o} Q ${R},${h} 0,${A} L ${d},${i} z M ${b},${o} L ${b},${a} M ${y},${a} L ${y},${o} M ${g},${t} L ${g},${u} M ${L},${u} L ${L},${t}`}else if("ellipseRibbon2"===t){let t=_*w,a=r-t,n=r-_*k,i=I+S,o=r-i,l=M+S-i+M+S,h=r-l,u=r-(P+A)/2,c=r-(I+A),m=r-(i+A),p=r-(E+A),$=r-(l+A),T=r-(t+S);s=`M 0,${r} L ${d},${u} L 0,${C} Q ${R},${p} ${b},${c} L ${b},${m} Q ${f},${$} ${y},${m} L ${y},${c} Q ${z},${p} ${e},${C} L ${v},${u} L ${e},${r} Q ${x},${n} ${L},${a} L ${y},${o} Q ${f},${h} ${b},${o} L ${g},${a} Q ${k},${n} 0,${r} z M ${b},${o} L ${b},${c} M ${y},${c} L ${y},${o} M ${g},${T} L ${g},${a} M ${L},${a} L ${L},${T}`}}break;case"line":case"straightConnector1":case"bentConnector4":case"bentConnector5":case"curvedConnector2":case"curvedConnector3":case"curvedConnector4":case"curvedConnector5":s=`M 0 0 L ${e} ${r}`;break;case"rightArrow":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=.25,i=.5;if(t){let a=e/r;for(let e of t){let t=tt(e,["attrs","name"]);"adj1"===t?n=.5-parseInt(tt(e,["attrs","fmla"]).substring(4))/2e5:"adj2"===t&&(i=1-parseInt(tt(e,["attrs","fmla"]).substring(4))/1e5/a)}}s=`M ${e} ${r/2} L ${i*e} 0 L ${i*e} ${n*r} L 0 ${n*r} L 0 ${(1-n)*r} L ${i*e} ${(1-n)*r} L ${i*e} ${r} Z`}break;case"leftArrow":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=.25,i=.5;if(t){let a=e/r;for(let e of t){let t=tt(e,["attrs","name"]);"adj1"===t?n=.5-parseInt(tt(e,["attrs","fmla"]).substring(4))/2e5:"adj2"===t&&(i=parseInt(tt(e,["attrs","fmla"]).substring(4))/1e5/a)}}s=`M 0 ${r/2} L ${i*e} ${r} L ${i*e} ${(1-n)*r} L ${e} ${(1-n)*r} L ${e} ${n*r} L ${i*e} ${n*r} L ${i*e} 0 Z`}break;case"downArrow":case"flowChartOffpageConnector":{let n=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),i=.25,o=.5;if(n){let t=r/e;for(let e of n){let r=tt(e,["attrs","name"]);"adj1"===r?i=parseInt(tt(e,["attrs","fmla"]).substring(4))/2e5:"adj2"===r&&(o=parseInt(tt(e,["attrs","fmla"]).substring(4))/1e5/t)}}"flowChartOffpageConnector"===t&&(i=.5,o=.212),s=`M ${(.5-i)*e} 0 L ${(.5-i)*e} ${(1-o)*r} L 0 ${(1-o)*r} L ${e/2} ${r} L ${e} ${(1-o)*r} L ${(.5+i)*e} ${(1-o)*r} L ${(.5+i)*e} 0 Z`}break;case"upArrow":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=.25,i=.5;if(t){let a=r/e;for(let e of t){let t=tt(e,["attrs","name"]);"adj1"===t?n=parseInt(tt(e,["attrs","fmla"]).substring(4))/2e5:"adj2"===t&&(i=parseInt(tt(e,["attrs","fmla"]).substring(4))/1e5/a)}}s=`M ${e/2} 0 L 0 ${i*r} L ${(.5-n)*e} ${i*r} L ${(.5-n)*e} ${r} L ${(.5+n)*e} ${r} L ${(.5+n)*e} ${i*r} L ${e} ${i*r} Z`}break;case"leftRightArrow":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=.25,i=.25;if(t){let a=e/r;for(let e of t){let t=tt(e,["attrs","name"]);"adj1"===t?n=.5-parseInt(tt(e,["attrs","fmla"]).substring(4))/2e5:"adj2"===t&&(i=parseInt(tt(e,["attrs","fmla"]).substring(4))/1e5/a)}}s=`M 0 ${r/2} L ${i*e} ${r} L ${i*e} ${(1-n)*r} L ${(1-i)*e} ${(1-n)*r} L ${(1-i)*e} ${r} L ${e} ${r/2} L ${(1-i)*e} 0 L ${(1-i)*e} ${n*r} L ${i*e} ${n*r} L ${i*e} 0 Z`}break;case"upDownArrow":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=.25,i=.25;if(t){let a=r/e;for(let e of t){let t=tt(e,["attrs","name"]);"adj1"===t?n=.5-parseInt(tt(e,["attrs","fmla"]).substring(4))/2e5:"adj2"===t&&(i=parseInt(tt(e,["attrs","fmla"]).substring(4))/1e5/a)}}s=`M ${e/2} 0 L 0 ${i*r} L ${n*e} ${i*r} L ${n*e} ${(1-i)*r} L 0 ${(1-i)*r} L ${e/2} ${r} L ${e} ${(1-i)*r} L ${(1-n)*e} ${(1-i)*r} L ${(1-n)*e} ${i*r} L ${e} ${i*r} Z`}break;case"quadArrow":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=22500*tz,i=22500*tz,o=22500*tz,l=5e4*tz,h=1e5*tz;if(t)for(let e of t){let t=tt(e,["attrs","name"]);"adj1"===t?n=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj2"===t?i=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj3"===t&&(o=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz)}let u=r/2,c=e/2,f=Math.min(e,r),d=i<0?0:i>l?l:i,m=2*d,p=n<0?0:n>m?m:n,$=(h-m)/2,b=f*(o<0?0:o>$?$:o)/h,g=f*d/h,L=c-g,y=c+g,v=f*p/(2e5*tz),M=c-v,_=c+v,w=e-b,k=u-g,x=u+g,C=u-v,S=u+v,I=r-b;s=`M 0,${u} L ${b},${k} L ${b},${C} L ${M},${C} L ${M},${b} L ${L},${b} L ${c},0 L ${y},${b} L ${_},${b} L ${_},${C} L ${w},${C} L ${w},${k} L ${e},${u} L ${w},${x} L ${w},${S} L ${_},${S} L ${_},${I} L ${y},${I} L ${c},${r} L ${L},${I} L ${M},${I} L ${M},${S} L ${b},${S} L ${b},${x} z`}break;case"leftRightUpArrow":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=25e3*tz,i=25e3*tz,o=25e3*tz,l=5e4*tz,h=1e5*tz;if(t)for(let e of t){let t=tt(e,["attrs","name"]);"adj1"===t?n=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj2"===t?i=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj3"===t&&(o=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz)}let u=e/2,c=Math.min(e,r),f=i<0?0:i>l?l:i,d=2*f,m=n<0?0:n>d?d:n,p=(h-d)/2,$=c*(o<0?0:o>p?p:o)/h,b=c*f/h,g=c*m/(2e5*tz),L=u-g,y=u+g,v=e-$,M=r-c*f/l,_=r-b,w=_-g,k=_+g;s=`M 0,${_} L ${$},${M} L ${$},${w} L ${L},${w} L ${L},${$} L ${u-b},${$} L ${u},0 L ${u+b},${$} L ${y},${$} L ${y},${w} L ${v},${w} L ${v},${M} L ${e},${_} L ${v},${r} L ${v},${k} L ${$},${k} L ${$},${r} z`}break;case"leftUpArrow":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=25e3*tz,i=25e3*tz,o=25e3*tz,l=5e4*tz,h=1e5*tz;if(t)for(let e of t){let t=tt(e,["attrs","name"]);"adj1"===t?n=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj2"===t?i=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj3"===t&&(o=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz)}let u=Math.min(e,r),c=i<0?0:i>l?l:i,f=2*c,d=n<0?0:n>f?f:n,m=h-f,p=u*(o<0?0:o>m?m:o)/h,$=u*c/l,b=e-$,g=r-$,L=u*c/h,y=e-L,v=r-L,M=u*d/(2e5*tz),_=y-M,w=y+M,k=v-M,x=v+M;s=`M 0,${v} L ${p},${g} L ${p},${k} L ${_},${k} L ${_},${p} L ${b},${p} L ${y},0 L ${e},${p} L ${w},${p} L ${w},${x} L ${p},${x} L ${p},${r} z`}break;case"bentUpArrow":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=25e3*tz,i=25e3*tz,o=25e3*tz,l=5e4*tz,h=1e5*tz;if(t)for(let e of t){let t=tt(e,["attrs","name"]);"adj1"===t?n=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj2"===t?i=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj3"===t&&(o=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz)}let u=Math.min(e,r),c=n<0?0:n>l?l:n,f=i<0?0:i>l?l:i,d=u*(o<0?0:o>l?l:o)/h,m=e-u*f/l,p=e-u*f/h,$=u*c/(2e5*tz),b=p-$,g=p+$,L=r-u*c/h;s=`M 0,${L} L ${b},${L} L ${b},${d} L ${m},${d} L ${p},0 L ${e},${d} L ${g},${d} L ${g},${r} L 0,${r} z`}break;case"bentArrow":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=25e3*tz,i=25e3*tz,o=25e3*tz,l=43750*tz,h=5e4*tz,u=1e5*tz;if(t)for(let e of t){let t=tt(e,["attrs","name"]);"adj1"===t?n=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj2"===t?i=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj3"===t?o=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj4"===t&&(l=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz)}let c=Math.min(e,r),f=i<0?0:i>h?h:i,d=2*f,m=c*(n<0?0:n>d?d:n)/u,p=c*f/u,$=p-m/2,b=c*(o<0?0:o>h?h:o)/u,g=e-b,L=r-$,y=u*(g<L?g:L)/c,v=c*(l<0?0:l>y?y:l)/u,M=v-m,_=M>0?M:0,w=m+_,k=e-b,x=$+m,C=$+v,S=x+_;s=`M 0,${r} L 0,${C} ${ej(v,C,v,v,180,270,!1).replace("M","L")} L ${k},${$} L ${k},0 L ${e},${p} L ${k},${x+$} L ${k},${x} L ${w},${x} ${ej(w,S,_,_,270,180,!1).replace("M","L")} L ${m},${r} z`}break;case"uturnArrow":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=25e3*tz,i=25e3*tz,o=25e3*tz,l=43750*tz,h=75e3*tz,u=25e3*tz,c=1e5*tz;if(t)for(let e of t){let t=tt(e,["attrs","name"]);"adj1"===t?n=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj2"===t?i=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj3"===t?o=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj4"===t?l=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj5"===t&&(h=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz)}let f=Math.min(e,r),d=i<0?0:i>u?u:i,m=2*d,p=n<0?0:n>m?m:n,$=(c-p*f/r)*r/f,b=o<0?0:o>$?$:o,g=(b+p)*f/r,L=h<g?g:h>c?c:h,y=f*p/c,v=f*d/c,M=v-y/2,_=r*L/c,w=_-f*b/c,k=e-M,x=k/2,C=c*(x<w?x:w)/f,S=f*(l<0?0:l>C?C:l)/c,I=S-y,A=I>0?I:0,P=y+A,R=e-v,E=R-v,z=E+M,T=k-S,F=z-A;s=`M 0,${r} L 0,${S} ${ej(S,S,S,S,180,270,!1).replace("M","L")} L ${T},0 ${ej(T,S,S,S,270,360,!1).replace("M","L")} L ${k},${w} L ${e},${w} L ${R},${_} L ${E},${w} L ${z},${w} L ${z},${P} ${ej(F,P,A,A,0,-90,!1).replace("M","L")} L ${P},${y} ${ej(P,P,A,A,270,180,!1).replace("M","L")} L ${y},${r} z`}break;case"stripedRightArrow":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=5e4*tz,i=5e4*tz,o=1e5*tz;if(t)for(let e of t){let t=tt(e,["attrs","name"]);"adj1"===t?n=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj2"===t&&(i=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz)}let l=r/2,h=Math.min(e,r),u=84375*tz*e/h,c=n<0?0:n>o?o:n,f=5*h/32,d=e-h*(i<0?0:i>u?u:i)/o,m=r*c/(2e5*tz),p=l-m,$=l+m,b=h/8,g=h/16,L=h/32;s=`M 0,${p} L ${L},${p} L ${L},${$} L 0,${$} z M ${g},${p} L ${b},${p} L ${b},${$} L ${g},${$} z M ${f},${p} L ${d},${p} L ${d},0 L ${e},${l} L ${d},${r} L ${d},${$} L ${f},${$} z`}break;case"notchedRightArrow":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=5e4*tz,i=5e4*tz,o=1e5*tz;if(t)for(let e of t){let t=tt(e,["attrs","name"]);"adj1"===t?n=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj2"===t&&(i=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz)}let l=r/2,h=Math.min(e,r),u=o*e/h,c=n<0?0:n>o?o:n,f=h*(i<0?0:i>u?u:i)/o,d=e-f,m=r*c/(2e5*tz),p=l-m,$=l+m;s=`M 0,${p} L ${d},${p} L ${d},0 L ${e},${l} L ${d},${r} L ${d},${$} L 0,${$} L ${m*f/l},${l} z`}break;case"homePlate":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),n=5e4*tz,i=1e5*tz;t&&(n=parseInt(t.substring(4))*tz);let o=r/2,l=Math.min(e,r),h=i*e/l,u=e-l*(n<0?0:n>h?h:n)/i;s=`M 0,0 L ${u},0 L ${e},${o} L ${u},${r} L 0,${r} z`}break;case"chevron":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),n=5e4*tz,i=1e5*tz;t&&(n=parseInt(t.substring(4))*tz);let o=r/2,l=Math.min(e,r),h=i*e/l,u=l*(n<0?0:n>h?h:n)/i,c=e-u;s=`M 0,0 L ${c},0 L ${e},${o} L ${c},${r} L 0,${r} L ${u},${o} z`}break;case"rightArrowCallout":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=25e3*tz,i=25e3*tz,o=25e3*tz,l=64977*tz,h=1e5*tz;if(t)for(let e of t){let t=tt(e,["attrs","name"]);"adj1"===t?n=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj2"===t?i=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj3"===t?o=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj4"===t&&(l=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz)}let u=r/2,c=Math.min(e,r),f=5e4*tz*r/c,d=i<0?0:i>f?f:i,m=2*d,p=h*e/c,$=o<0?0:o>p?p:o,b=h-$*c/e,g=c*d/h,L=c*(n<0?0:n>m?m:n)/(2e5*tz),y=u-L,v=u+L,M=e-c*$/h,_=e*(l<0?0:l>b?b:l)/h;s=`M 0,0 L ${_},0 L ${_},${y} L ${M},${y} L ${M},${u-g} L ${e},${u} L ${M},${u+g} L ${M},${v} L ${_},${v} L ${_},${r} L 0,${r} z`}break;case"downArrowCallout":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=25e3*tz,i=25e3*tz,o=25e3*tz,l=64977*tz,h=1e5*tz;if(t)for(let e of t){let t=tt(e,["attrs","name"]);"adj1"===t?n=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj2"===t?i=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj3"===t?o=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj4"===t&&(l=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz)}let u=e/2,c=Math.min(e,r),f=5e4*tz*e/c,d=i<0?0:i>f?f:i,m=2*d,p=h*r/c,$=o<0?0:o>p?p:o,b=h-$*c/r,g=c*d/h,L=c*(n<0?0:n>m?m:n)/(2e5*tz),y=u-L,v=u+L,M=r-c*$/h,_=r*(l<0?0:l>b?b:l)/h;s=`M 0,0 L ${e},0 L ${e},${_} L ${v},${_} L ${v},${M} L ${u+g},${M} L ${u},${r} L ${u-g},${M} L ${y},${M} L ${y},${_} L 0,${_} z`}break;case"leftArrowCallout":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=25e3*tz,i=25e3*tz,o=25e3*tz,l=64977*tz,h=1e5*tz;if(t)for(let e of t){let t=tt(e,["attrs","name"]);"adj1"===t?n=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj2"===t?i=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj3"===t?o=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj4"===t&&(l=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz)}let u=r/2,c=Math.min(e,r),f=5e4*tz*r/c,d=i<0?0:i>f?f:i,m=2*d,p=h*e/c,$=o<0?0:o>p?p:o,b=h-$*c/e,g=c*d/h,L=c*(n<0?0:n>m?m:n)/(2e5*tz),y=u-L,v=u+L,M=c*$/h,_=e*(l<0?0:l>b?b:l)/h,w=e-_;s=`M 0,${u} L ${M},${u-g} L ${M},${y} L ${w},${y} L ${w},0 L ${e},0 L ${e},${r} L ${w},${r} L ${w},${v} L ${M},${v} L ${M},${u+g} z`}break;case"upArrowCallout":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=25e3*tz,i=25e3*tz,o=25e3*tz,l=64977*tz,h=1e5*tz;if(t)for(let e of t){let t=tt(e,["attrs","name"]);"adj1"===t?n=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj2"===t?i=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj3"===t?o=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj4"===t&&(l=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz)}let u=e/2,c=Math.min(e,r),f=5e4*tz*e/c,d=i<0?0:i>f?f:i,m=2*d,p=h*r/c,$=o<0?0:o>p?p:o,b=h-$*c/r,g=c*d/h,L=c*(n<0?0:n>m?m:n)/(2e5*tz),y=u-L,v=u+L,M=c*$/h,_=r*(l<0?0:l>b?b:l)/h,w=r-_;s=`M 0,${w} L ${y},${w} L ${y},${M} L ${u-g},${M} L ${u},0 L ${u+g},${M} L ${v},${M} L ${v},${w} L ${e},${w} L ${e},${r} L 0,${r} z`}break;case"leftRightArrowCallout":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=25e3*tz,i=25e3*tz,o=25e3*tz,l=48123*tz,h=5e4*tz,u=1e5*tz,c=2e5*tz;if(t)for(let e of t){let t=tt(e,["attrs","name"]);"adj1"===t?n=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj2"===t?i=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj3"===t?o=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj4"===t&&(l=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz)}let f=r/2,d=e/2,m=Math.min(e,r),p=h*r/m,$=i<0?0:i>p?p:i,b=2*$,g=h*e/m,L=o<0?0:o>g?g:o,y=u-L*m/(e/2),v=m*$/u,M=m*(n<0?0:n>b?b:n)/c,_=f-v,w=f-M,k=f+M,x=f+v,C=m*L/u,S=e-C,I=e*(l<0?0:l>y?y:l)/c,A=d-I,P=d+I;s=`M 0,${f} L ${C},${_} L ${C},${w} L ${A},${w} L ${A},0 L ${P},0 L ${P},${w} L ${S},${w} L ${S},${_} L ${e},${f} L ${S},${x} L ${S},${k} L ${P},${k} L ${P},${r} L ${A},${r} L ${A},${k} L ${C},${k} L ${C},${x} z`}break;case"quadArrowCallout":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=18515*tz,i=18515*tz,o=18515*tz,l=48123*tz,h=5e4*tz,u=1e5*tz,c=2e5*tz;if(t)for(let e of t){let t=tt(e,["attrs","name"]);"adj1"===t?n=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj2"===t?i=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj3"===t?o=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj4"===t&&(l=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz)}let f=r/2,d=e/2,m=Math.min(e,r),p=i<0?0:i>h?h:i,$=2*p,b=n<0?0:n>$?$:n,g=h-p,L=o<0?0:o>g?g:o,y=u-2*L,v=l<b?b:l>y?y:l,M=m*p/u,_=m*b/c,w=m*L/u,k=e*v/c,x=r*v/c,C=e-w,S=d-k,I=d+k,A=d-M,P=d+M,R=d-_,E=d+_,z=r-w,T=f-x,F=f+x,O=f-M,B=f+M,N=f-_,j=f+_;s=`M 0,${f} L ${w},${O} L ${w},${N} L ${S},${N} L ${S},${T} L ${R},${T} L ${R},${w} L ${A},${w} L ${d},0 L ${P},${w} L ${E},${w} L ${E},${T} L ${I},${T} L ${I},${N} L ${C},${N} L ${C},${O} L ${e},${f} L ${C},${B} L ${C},${j} L ${I},${j} L ${I},${F} L ${E},${F} L ${E},${z} L ${P},${z} L ${d},${r} L ${A},${z} L ${R},${z} L ${R},${F} L ${S},${F} L ${S},${j} L ${w},${j} L ${w},${B} z`}break;case"curvedDownArrow":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=25e3*tz,i=5e4*tz,o=25e3*tz,l=1e5*tz;if(t)for(let e of t){let t=tt(e,["attrs","name"]);"adj1"===t?n=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj2"===t?i=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj3"===t&&(o=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz)}let h=e/2,u=Math.min(e,r),c=5e4*tz*e/u,f=u*(n<0?0:n>l?l:n)/l,d=u*(i<0?0:i>c?c:i)/l,m=h-(f+d)/4,p=2*m,$=Math.sqrt(p*p-f*f)*r/p,b=l*$/u,g=u*(o<0?0:o>b?b:o)/l,L=m+f,y=Math.sqrt(r*r-g*g)*m/r,v=m+y,M=L+y,_=(d-f)/2,w=e-d/2,k=r-g,x=180*Math.atan(y/g)/Math.PI,C=180*Math.atan(f/2/$)/Math.PI,S=270+x,I=270-C;s=`M ${w},${r} L ${v-_},${k} L ${v},${k} ${ej(m,r,m,r,S,S+-x,!1).replace("M","L")} L ${L},0 ${ej(L,r,m,r,270,270+x,!1).replace("M","L")} L ${v+f},${k} L ${M+_},${k} z M ${L},0 ${ej(L,r,m,r,I,I+(C-90),!1).replace("M","L")} ${ej(m,r,m,r,180,180+(90+C),!1).replace("M","L")}`}break;case"curvedLeftArrow":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=25e3*tz,i=5e4*tz,o=25e3*tz,l=1e5*tz;if(t)for(let e of t){let t=tt(e,["attrs","name"]);"adj1"===t?n=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj2"===t?i=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj3"===t&&(o=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz)}let h=r/2,u=Math.min(e,r),c=5e4*tz*r/u,f=i<0?0:i>c?c:i,d=u*(n<0?0:n>f?f:n)/l,m=u*f/l,p=h-(d+m)/4,$=2*p,b=Math.sqrt($*$-d*d)*e/$,g=l*b/u,L=u*(o<0?0:o>g?g:o)/l,y=p+d,v=Math.sqrt(e*e-L*L)*p/e,M=p+v,_=y+v,w=(m-d)/2,k=r-m/2,x=0+L,C=Math.atan(v/L),S=180*C/Math.PI,I=180*(Math.atan(d/2/b)-C)/Math.PI;s=`M ${e},${y} ${ej(0,p,e,p,0,-90,!1).replace("M","L")} L 0,0 ${ej(0,y,e,p,270,360,!1).replace("M","L")} L ${e},${y} ${ej(0,y,e,p,0,S,!1).replace("M","L")} L ${x},${_} L ${x},${_+w} L 0,${k} L ${x},${M-w} L ${x},${M} ${ej(0,p,e,p,S,S+I,!1).replace("M","L")} ${ej(0,p,e,p,0,-90,!1).replace("M","L")} ${ej(0,y,e,p,270,360,!1).replace("M","L")}`}break;case"curvedRightArrow":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=25e3*tz,i=5e4*tz,o=25e3*tz,l=1e5*tz;if(t)for(let e of t){let t=tt(e,["attrs","name"]);"adj1"===t?n=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj2"===t?i=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj3"===t&&(o=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz)}let h=r/2,u=Math.min(e,r),c=5e4*tz*r/u,f=i<0?0:i>c?c:i,d=u*(n<0?0:n>f?f:n)/l,m=u*f/l,p=h-(d+m)/4,$=2*p,b=Math.sqrt($*$-d*d)*e/$,g=l*b/u,L=u*(o<0?0:o>g?g:o)/l,y=p+d,v=Math.sqrt(e*e-L*L)*p/e,M=p+v,_=y+v,w=(m-d)/2,k=r-m/2,x=e-L,C=Math.atan(v/L),S=180*(Math.PI-C)/Math.PI,I=-(180*C)/Math.PI,A=180*C/Math.PI,P=180*(Math.atan(d/2/b)-Math.PI/2)/Math.PI;s=`M 0,${p} ${ej(e,p,e,p,180,180+I,!1).replace("M","L")} L ${x},${M} L ${x},${M-w} L ${e},${k} L ${x},${_+w} L ${x},${_} ${ej(e,y,e,p,S,S+A,!1).replace("M","L")} L 0,${p} ${ej(e,p,e,p,180,270,!1).replace("M","L")} L ${e},${d} ${ej(e,y,e,p,270,270+P,!1).replace("M","L")}`}break;case"curvedUpArrow":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=25e3*tz,i=5e4*tz,o=25e3*tz,l=1e5*tz;if(t)for(let e of t){let t=tt(e,["attrs","name"]);"adj1"===t?n=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj2"===t?i=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj3"===t&&(o=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz)}let h=e/2,u=Math.min(e,r),c=5e4*tz*e/u,f=u*(n<0?0:n>l?l:n)/l,d=u*(i<0?0:i>c?c:i)/l,m=h-(f+d)/4,p=2*m,$=Math.sqrt(p*p-f*f)*r/p,b=l*$/u,g=u*(o<0?0:o>b?b:o)/l,L=m+f,y=Math.sqrt(r*r-g*g)*m/r,v=m+y,M=L+y,_=(d-f)/2,w=e-d/2,k=0+g,x=Math.atan(y/g),C=Math.atan(f/2/$),S=Math.PI/2-x,I=180*(Math.PI/2-C)/Math.PI,A=180*(C-x)/Math.PI,P=180*S/Math.PI,R=180*x/Math.PI;s=`${ej(m,0,m,r,I,I+A,!1)} L ${v},${k} L ${v-_},${k} L ${w},0 L ${M+_},${k} L ${M},${k} ${ej(L,0,m,r,P,P+R,!1).replace("M","L")} L ${m},${r} ${ej(m,0,m,r,90,180,!1).replace("M","L")} L ${f},0 ${ej(L,0,m,r,180,90,!1).replace("M","L")}`}break;case"mathDivide":case"mathEqual":case"mathMinus":case"mathMultiply":case"mathNotEqual":case"mathPlus":{let n,i,o,l=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]);if(l)if(Array.isArray(l))for(let t of l){let e=tt(t,["attrs","name"]);"adj1"===e?n=parseInt(tt(t,["attrs","fmla"]).substring(4)):"adj2"===e?i=parseInt(tt(t,["attrs","fmla"]).substring(4)):"adj3"===e&&(o=parseInt(tt(t,["attrs","fmla"]).substring(4)))}else n=parseInt(tt(l,["attrs","fmla"]).substring(4));let h=5e4*tz,u=1e5*tz,c=2e5*tz,f=e/2,d=r/2,m=r/2;if("mathNotEqual"===t){void 0===n&&(n=23520),void 0===i&&(i=66e5),void 0===o&&(o=11760),n*=tz,i=i/6e4*Math.PI/180,o*=tz;let t=70*Math.PI/180,a=110*Math.PI/180,l=n<0?0:n>h?h:n,p=u-2*l,$=r*l/u,b=r*(o<0?0:o>p?p:o)/c,g=73490*tz*e/c,L=f-g,y=f+g,v=d-b,M=d+b,_=v-$,w=M+$,k=(i<t?t:i>a?a:i)-Math.PI/2,x=m*Math.tan(k),C=Math.sqrt(x*x+m*m),S=C*$/m,I=f+x-S/2,A=I-x*_/m,P=I-x*v/m,R=I-x*M/m,E=I-x*w/m,z=$*m/C,T=k>0?I+z:I+S,F=k>0?I:I+S-z,O=$*x/C,B=k>0?O:0,N=k>0?0:-O,j=e-T,D=e-F,G=r-B,U=r-N;s=`M ${L},${_} L ${A},${_} L ${F},${N} L ${T},${B} L ${A+S},${_} L ${y},${_} L ${y},${v} L ${P+S},${v} L ${R+S},${M} L ${y},${M} L ${y},${w} L ${E+S},${w} L ${D},${U} L ${j},${G} L ${E},${w} L ${L},${w} L ${L},${M} L ${R},${M} L ${P},${v} L ${L},${v} z`}else if("mathDivide"===t){void 0===n&&(n=23520),void 0===i&&(i=5880),void 0===o&&(o=11760),n*=tz,i*=tz,o*=tz;let t=1e3*tz,a=36745*tz,l=73490*tz,h=n<t?t:n>a?a:n,m=(l-h)/4,p=a*e/r,$=m<p?m:p,b=o<t?t:o>$?$:o,g=l-4*b-h,L=r*h/c,y=r*(i<0?0:i>g?g:i)/u,v=r*b/u,M=e*l/c,_=d-L,w=d+L,k=_-(y+v)-v,x=r-k,C=f-M,S=f+M;s=`M ${f},${k} A ${v},${v} 0 1,0 ${f},${k+2*v} A ${v},${v} 0 1,0 ${f},${k} z M ${f},${x} A ${v},${v} 0 1,1 ${f},${x-2*v} A ${v},${v} 0 1,1 ${f},${x} z M ${C},${_} L ${S},${_} L ${S},${w} L ${C},${w} z`}else if("mathEqual"===t){void 0===n&&(n=23520),void 0===i&&(i=11760),n*=tz,i*=tz;let t=36745*tz,a=n<0?0:n>t?t:n,o=u-2*a,l=r*a/u,h=r*(i<0?0:i>o?o:i)/c,m=73490*tz*e/c,p=d-h,$=d+h,b=p-l,g=$+l,L=f-m,y=f+m;s=`M ${L},${b} L ${y},${b} L ${y},${p} L ${L},${p} z M ${L},${$} L ${y},${$} L ${y},${g} L ${L},${g} z`}else if("mathMinus"===t){void 0===n&&(n=23520);let t=r*((n*=tz)<0?0:n>u?u:n)/c,a=73490*tz*e/c,i=d-t,o=d+t,l=f-a,h=f+a;s=`M ${l},${i} L ${h},${i} L ${h},${o} L ${l},${o} z`}else if("mathMultiply"===t){void 0===n&&(n=23520),n*=tz;let t=51965*tz,a=Math.min(e,r)*(n<0?0:n>t?t:n)/u,i=Math.atan(r/e),o=Math.sin(i),l=Math.cos(i),h=Math.tan(i),c=Math.sqrt(e*e+r*r),m=c-c*t/u,p=l*m/2,$=o*m/2,b=o*a/2,g=l*a/2,L=p-b,y=$+g,v=p+b,M=$-g,_=(f-v)*h+M,w=e-v,k=e-L,x=r-y,C=r-M,S=r-_;s=`M ${L},${y} L ${v},${M} L ${f},${_} L ${w},${M} L ${k},${y} L ${k-(d-y)/h},${d} L ${k},${x} L ${w},${C} L ${f},${S} L ${v},${C} L ${L},${x} L ${L+(d-y)/h},${d} z`}else if("mathPlus"===t){void 0===n&&(n=23520),n*=tz;let t=73490*tz,a=Math.min(e,r),i=n<0?0:n>t?t:n,o=e*t/c,l=r*t/c,h=a*i/c,u=f-o,m=f-h,p=f+h,$=f+o,b=d-l,g=d-h,L=d+h,y=d+l;s=`M ${u},${g} L ${m},${g} L ${m},${b} L ${p},${b} L ${p},${g} L ${$},${g} L ${$},${L} L ${p},${L} L ${p},${y} L ${m},${y} L ${m},${L} L ${u},${L} z`}}break;case"can":case"flowChartMagneticDisk":case"flowChartMagneticDrum":{let n=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd","attrs","fmla"]),i=25e3*tz;n&&(i=parseInt(n.substring(4))*tz),("flowChartMagneticDisk"===t||"flowChartMagneticDrum"===t)&&(i=5e4*tz);let o=Math.min(e,r),l=5e4*tz*r/o,h=o*(i<0?0:i>l?l:i)/(2e5*tz),u=r-h,c=e/2,f=`${ej(c,h,c,h,0,180,!1)} ${ej(c,h,c,h,180,360,!1).replace("M","L")} L ${e},${u} ${ej(c,u,c,h,0,180,!1).replace("M","L")} L 0,${h}`;"flowChartMagneticDrum"===t&&(f=f.replace(/([MLQC])\s*([-\d.e]+)\s*([-\d.e]+)/gi,(t,a,s,n)=>{let i=e/2-(parseFloat(n)-r/2),o=r/2+(parseFloat(s)-e/2);return`${a}${i} ${o}`}).replace(/([MLQC])\s*([-\d.e]+)\s*([-\d.e]+)\s*([-\d.e]+)\s*([-\d.e]+)/gi,(t,a,s,n,i,o)=>{let l=e/2-(parseFloat(n)-r/2),h=r/2+(parseFloat(s)-e/2),u=e/2-(parseFloat(o)-r/2),c=r/2+(parseFloat(i)-e/2);return`${a}${l} ${h} ${u} ${c}`})),s=f}break;case"swooshArrow":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=25e3*tz,i=16667*tz;if(t)for(let e of t){let t=tt(e,["attrs","name"]);"adj1"===t?n=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj2"===t&&(i=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz)}let o=+tz,l=75e3*tz,h=1e5*tz,u=Math.min(e,r),c=u/8,f=r/6,d=7e4*tz*e/u,m=r*(n<o?o:n>l?l:n)/h,p=e-u*(i<0?0:i>d?d:i)/h,$=Math.PI/2/14,b=c*Math.tan($),g=m*Math.tan($),L=c+m,y=p+g,v=L+c,M=r/20,_=e/6,w=e/4;s=`M 0,${r} Q ${_},${f+f} ${p},${c} L ${p-b},0 L ${e},${v/2-M} L ${y+b},${v} L ${y},${L} Q ${w},${L+f/2} 0,${r} z`}break;case"circularArrow":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=12500*tz,i=19.03865*Math.PI/180,o=340.96135*Math.PI/180,l=180*Math.PI/180,h=12500*tz;if(t)for(let e of t){let t=tt(e,["attrs","name"]);"adj1"===t?n=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj2"===t?i=parseInt(tt(e,["attrs","fmla"]).substring(4))/6e4*Math.PI/180:"adj3"===t?o=parseInt(tt(e,["attrs","fmla"]).substring(4))/6e4*Math.PI/180:"adj4"===t?l=parseInt(tt(e,["attrs","fmla"]).substring(4))/6e4*Math.PI/180:"adj5"===t&&(h=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz)}let u=e/2,c=r/2,f=e/2,d=r/2,m=Math.min(e,r),p=25e3*tz,$=1e5*tz,b=1/6e4*Math.PI/180,g=0x14996ff/6e4*Math.PI/180,L=2*Math.PI,y=h<0?0:h>p?p:h,v=2*y,M=o<b?b:o>g?g:o,_=l<0?0:l>g?g:l,w=m*(n<0?0:n>v?v:n)/$,k=m*y/$,x=w/2,C=f+x-k,S=d+x-k,I=C-w,A=S-w,P=I+x,R=A+x,E=P*Math.sin(M),z=R*Math.cos(M),T=P*Math.cos(Math.atan2(E,z)),F=R*Math.sin(Math.atan2(E,z)),O=u+T,B=c+F,N=Math.min(I,A),j=(1+Math.sqrt(1-(T*T-N*N)*(F*F-N*N)/(T*T*F*F)))/((T*T-N*N)/T/F),D=Math.atan2(j,1)>0?Math.atan2(j,1):Math.atan2(j,1)+L,G=D-M>0?D-M:D-M+L,U=Math.abs(G-Math.PI>0?G-L:G),H=M+(i<0?0:i>U?U:i),q=P*Math.sin(H),Y=R*Math.cos(H),Z=P*Math.cos(Math.atan2(q,Y)),W=R*Math.sin(Math.atan2(q,Y)),K=O+k*Math.cos(H),V=B+k*Math.sin(H),J=O-k*Math.cos(H),Q=B-k*Math.sin(H),X=J-u,te=Q-c,tr=K-u,ta=V-c,ts=Math.min(C,S),tn=X*ts/C,ti=te*ts/S,to=tr*ts/C,tl=ta*ts/S,th=to-tn,tu=tl-ti,tc=Math.sqrt(th*th+tu*tu),tf=tn*tl-to*ti,td=Math.sqrt(Math.max(0,ts*ts*tc*tc-tf*tf)),tm=-1*tu>0?-1:1,tp=(tf*tu+tm*th*td)/(tc*tc),t$=(tf*tu-tm*th*td)/(tc*tc),tb=(-tf*th+Math.abs(tu)*td)/(tc*tc),tg=(-tf*th-Math.abs(tu)*td)/(tc*tc),tL=Math.sqrt((to-t$)**2+(tl-tg)**2)-Math.sqrt((to-tp)**2+(tl-tb)**2),ty=u+(tL>0?tp:t$)*C/ts,tv=c+(tL>0?tb:tg)*S/ts,tM=X*N/I,t_=te*N/A,tw=tr*N/I,tk=ta*N/A,tx=tw-tM,tC=tk-t_,tS=Math.sqrt(tx*tx+tC*tC),tI=tM*tk-tw*t_,tA=Math.sqrt(Math.max(0,N*N*tS*tS-tI*tI)),tP=(tI*tC+tm*tx*tA)/(tS*tS),tR=(tI*tC-tm*tx*tA)/(tS*tS),tE=(-tI*tx+Math.abs(tC)*tA)/(tS*tS),tT=(-tI*tx-Math.abs(tC)*tA)/(tS*tS),tF=Math.sqrt((tM-tR)**2+(t_-tT)**2)-Math.sqrt((tM-tP)**2+(t_-tE)**2),tO=tF>0?tP:tR,tB=tF>0?tE:tT,tN=u+tO*I/N,tj=c+tB*A/N,tD=Math.atan2(tB*A/N,tO*I/N),tG=tD>0?tD:tD+L,tU=_-tG,tH=Math.sqrt((ty-tN)**2+(tv-tj)**2)/2-k,tq=Math.atan2(tv-c,ty-u),tY=(tq>0?tq:tq+L)-_,tZ=180*_/Math.PI,tW=tZ+180*(tY>0?tY:tY+L)/Math.PI,tK=180*tG/Math.PI,tV=tK+180*(tU>0?tU-L:tU)/Math.PI;s=`${ej(e/2,r/2,C,S,tZ,tW,!1)} L ${tH>0?ty:K},${tH>0?tv:V} L ${u+Z},${c+W} L ${tH>0?tN:J},${tH>0?tj:Q} L ${tN},${tj} ${ej(e/2,r/2,I,A,tK,tV,!1).replace("M","L")} z`}break;case"leftCircularArrow":{let t=tt(a,["p:spPr","a:prstGeom","a:avLst","a:gd"]),n=12500*tz,i=-19.03865*Math.PI/180,o=19.03865*Math.PI/180,l=180*Math.PI/180,h=12500*tz;if(t)for(let e of t){let t=tt(e,["attrs","name"]);"adj1"===t?n=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz:"adj2"===t?i=parseInt(tt(e,["attrs","fmla"]).substring(4))/6e4*Math.PI/180:"adj3"===t?o=parseInt(tt(e,["attrs","fmla"]).substring(4))/6e4*Math.PI/180:"adj4"===t?l=parseInt(tt(e,["attrs","fmla"]).substring(4))/6e4*Math.PI/180:"adj5"===t&&(h=parseInt(tt(e,["attrs","fmla"]).substring(4))*tz)}let u=e/2,c=r/2,f=e/2,d=r/2,m=Math.min(e,r),p=25e3*tz,$=1e5*tz,b=1/6e4*Math.PI/180,g=0x14996ff/6e4*Math.PI/180,L=2*Math.PI,y=h<0?0:h>p?p:h,v=2*y,M=o<b?b:o>g?g:o,_=l<0?0:l>g?g:l,w=m*(n<0?0:n>v?v:n)/$,k=m*y/$,x=w/2,C=f+x-k,S=d+x-k,I=C-w,A=S-w,P=I+x,R=A+x,E=P*Math.cos(M),z=R*Math.sin(M),T=u+E,F=c+z,O=Math.min(I,A),B=(1+Math.sqrt(1-(E*E-O*O)*(z*z-O*O)/(E*E*z*z)))/((E*E-O*O)/E/z),N=Math.atan2(B,1)>0?Math.atan2(B,1):Math.atan2(B,1)+L,j=N-M>0?N-M:N-M+L,D=-Math.abs(j-Math.PI>0?j-L:j),G=M+(i<D?D:i>0?0:i),U=P*Math.cos(G),H=R*Math.sin(G),q=C*Math.cos(_),Y=S*Math.sin(_),Z=I*Math.cos(_),W=A*Math.sin(_),K=T+k*Math.cos(G),V=F+k*Math.sin(G),J=T-k*Math.cos(G),Q=F-k*Math.sin(G),X=J-u,te=Q-c,tr=K-u,ta=V-c,ts=Math.min(C,S),tn=X*ts/C,ti=te*ts/S,to=tr*ts/C,tl=ta*ts/S,th=to-tn,tu=tl-ti,tc=Math.sqrt(th*th+tu*tu),tf=tn*tl-to*ti,td=Math.sqrt(Math.max(0,ts*ts*tc*tc-tf*tf)),tm=-1*tu>0?-1:1,tp=(tf*tu+tm*th*td)/(tc*tc),t$=(tf*tu-tm*th*td)/(tc*tc),tb=(-tf*th+Math.abs(tu)*td)/(tc*tc),tg=(-tf*th-Math.abs(tu)*td)/(tc*tc),tL=Math.sqrt((to-t$)**2+(tl-tg)**2)-Math.sqrt((to-tp)**2+(tl-tb)**2),ty=u+(tL>0?tp:t$)*C/ts,tv=c+(tL>0?tb:tg)*S/ts,tM=X*O/I,t_=te*O/A,tw=tr*O/I,tk=ta*O/A,tx=tw-tM,tC=tk-t_,tS=Math.sqrt(tx*tx+tC*tC),tI=tM*tk-tw*t_,tA=Math.sqrt(Math.max(0,O*O*tS*tS-tI*tI)),tP=(tI*tC+tm*tx*tA)/(tS*tS),tR=(tI*tC-tm*tx*tA)/(tS*tS),tE=(-tI*tx+Math.abs(tC)*tA)/(tS*tS),tT=(-tI*tx-Math.abs(tC)*tA)/(tS*tS),tF=Math.sqrt((tM-tR)**2+(t_-tT)**2)-Math.sqrt((tM-tP)**2+(t_-tE)**2),tO=tF>0?tP:tR,tB=tF>0?tE:tT,tN=u+tO*I/O,tj=c+tB*A/O,tD=Math.atan2(tB*A/O,tO*I/O),tG=tD>0?tD:tD+L,tU=_-tG,tH=tU>0?tU:tU+L,tq=Math.sqrt((ty-tN)**2+(tv-tj)**2)/2-k,tY=Math.atan2(tv-c,ty-u),tZ=(tY>0?tY:tY+L)-_,tW=180*(_+(tZ>0?tZ-L:tZ))/Math.PI,tK=180*_/Math.PI,tV=180*(tG+tH)/Math.PI,tJ=tV+-(180*tH)/Math.PI;s=`M ${u+q},${c+Y} L ${u+Z},${c+W} ${ej(e/2,r/2,I,A,tV,tJ,!1).replace("M","L")} L ${tq>0?tN:J},${tq>0?tj:Q} L ${u+U},${c+H} L ${tq>0?ty:K},${tq>0?tv:V} L ${ty},${tv} ${ej(e/2,r/2,C,S,tW,tK,!1).replace("M","L")} z`}}return s}function eG(t,e){if(!t||!e)return null;let r=tt(t,[e,"p:transition"]);return r||(r=tt(t,[e,"mc:AlternateContent","mc:Choice","p:transition"]))?r:r=tt(t,[e,"mc:AlternateContent","mc:Fallback","p:transition"])}let eU=new Set(["entr","exit","emph","path","verb","mediacall"]),eH={clickEffect:"onClick",withEffect:"withPrevious",afterEffect:"afterPrevious",clickPar:"onClick",withGroup:"withPrevious",afterGroup:"afterPrevious",interactiveSeq:"onClick"};function eq(t){return null==t?[]:Array.isArray(t)?t:[t]}function eY(t){if(null==t||""===t||"indefinite"===t)return null;let e=parseInt(t,10);return Number.isFinite(e)?e:null}async function eZ(t,e,r=!1){if(!e)return null;let a=`${r?"drawing:":"xml:"}${e}`;if(t.diagramFileCache[a])return t.diagramFileCache[a];let s=await L(t.zip,e);return s&&r&&(s=JSON.parse(JSON.stringify(s).replace(/dsp:/g,"p:"))),t.diagramFileCache[a]=s,s}async function eW(t,e){let r=tt(t,["a:graphic","a:graphicData","dgm:relIds","attrs"])||{},a={data:null,layout:null,quickStyle:null,colors:null,drawing:null},s={},n={},i=tt(e.slideResObj,[r["r:dm"],"target"]),o=tt(e.slideResObj,[r["r:lo"],"target"]),l=tt(e.slideResObj,[r["r:qs"],"target"]),h=tt(e.slideResObj,[r["r:cs"],"target"]);i&&(a.data=await eZ(e,i)),o&&(a.layout=await eZ(e,o)),l&&(a.quickStyle=await eZ(e,l)),h&&(a.colors=await eZ(e,h));let u=a.data?function(t){let e=tt(t,["dgm:dataModel","dgm:extLst","a:ext"]);if(!e)return"";for(let t of(Array.isArray(e)||(e=[e]),e)){let e=tt(t,["dsp:dataModelExt","attrs","relId"]);if(e)return e}return""}(a.data):"",c=tt(e.slideResObj,[u,"target"]);if(c){a.drawing=s=await eZ(e,c,!0)||{};let t=c.split("/").pop(),r=c.replace(t,"_rels/"+t)+".rels",i=await L(e.zip,r);if(i){let e=i.Relationships.Relationship;if(e&&e.constructor!==Array&&(e=[e]),e)for(let r of e){let e=r.attrs.Target;e=0===(e=e.replace(/\\/g,"/")).indexOf("/ppt/")?e.substr(1):-1!==e.indexOf("../")?e.replace("../","ppt/"):c.replace(t,"")+e,n[r.attrs.Id]={type:r.attrs.Type.replace("http://schemas.openxmlformats.org/officeDocument/2006/relationships/",""),target:e}}}}return{...e,digramFileContent:s,diagramResObj:n,diagramContent:a}}let eK=["http://schemas.openxmlformats.org/officeDocument/2006/relationships/","http://schemas.microsoft.com/office/2007/relationships/"];function eV(t){if(!t)return"";for(let e of eK)if(0===t.indexOf(e))return t.replace(e,"");return t}async function eJ(t,e={}){let r,a=[],s={},n={},i={},o={},l={...e,imageMode:e.imageMode||"base64",videoMode:e.videoMode||"none",audioMode:e.audioMode||"none"};if(t instanceof ArrayBuffer?r=new Uint8Array(t):"u">typeof File&&t instanceof File?r=new Uint8Array(await t.arrayBuffer()):"u">typeof Buffer&&Buffer.isBuffer(t)&&(r=new Uint8Array(t)),r&&208===r[0]&&207===r[1]&&17===r[2]&&224===r[3])throw Error("ENCRYPTED_FILE");let h=await p.loadAsync(t),u=await e5(h),{width:c,height:f,defaultTextStyle:d}=await e4(h),{themeContent:m,themeColors:$}=await e6(h),b=await e3(h);for(let t of u.slides){let e=await e7(h,t,m,d,s,n,i,l,o);e&&a.push(e)}return{slides:a,usedFonts:b,themeColors:$,size:{width:c,height:f}}}function eQ(t){return t?t.constructor===Array?t:[t]:[]}function eX(t,e){return(/(\d+)\.xml/.exec(t)?.[1]||0)-(/(\d+)\.xml/.exec(e)?.[1]||0)}function e0(t){return String(t||"").replace(/\\/g,"/").replace(/^\//,"")}function e1(t,e){let r=String(e||"").replace(/\\/g,"/");if(!r)return"";if(r.startsWith("/"))return e0(r);let a=e0(t),s=a.lastIndexOf("/"),n=-1===s?"":a.slice(0,s+1),i=[];for(let t of`${n}${r}`.split("/"))t&&"."!==t&&(".."===t?i.pop():i.push(t));return i.join("/")}async function e2(t){for(let e of eQ(tt(await L(t,"_rels/.rels"),["Relationships","Relationship"]))){let t=tt(e,["attrs","Type"]),r=tt(e,["attrs","Target"]),a=tt(e,["attrs","TargetMode"]);if((!a||"external"!==String(a).toLowerCase())&&"officeDocument"===eV(t)&&r){let t=e1("",r);if(t)return t}}return"ppt/presentation.xml"}async function e8(t){let e,r,a,s,n=await e2(t),i=eQ(tt(await L(t,(a=-1===(r=(e=e0(n)).lastIndexOf("/"))?"":e.slice(0,r+1),s=-1===r?e:e.slice(r+1),`${a}_rels/${s}.rels`)),["Relationships","Relationship"])),o={},l=[];for(let t of i){let e=tt(t,["attrs","Id"]),r=tt(t,["attrs","Type"]),a=tt(t,["attrs","Target"]),s=tt(t,["attrs","TargetMode"]);if(!e||!a||s&&"external"===String(s).toLowerCase())continue;let i=e1(n,a);i&&(o[e]=i,"slide"===eV(r)&&l.push(i))}let h=eQ(tt(await L(t,n),["p:presentation","p:sldIdLst","p:sldId"])),u=[];for(let t of h){var c;let e=(c=t?.attrs)&&(c["r:id"]||c.rId)||"";e&&o[e]&&u.push(o[e])}return u.length?u:l}async function e5(t){let e=eQ(tt(await L(t,"[Content_Types].xml"),["Types","Override"])),r=[],a=[];for(let t of e){let e=t?.attrs?.ContentType,s=t?.attrs?.PartName;if(!e||!s)continue;let n=String(s).replace(/^\//,"");switch(e){case"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":r.push(n);break;case"application/vnd.openxmlformats-officedocument.presentationml.slideLayout+xml":a.push(n)}}a=a.sort(eX);let s=await e8(t);return s.length||(s=r.sort(eX)),{slides:s,slideLayouts:a}}async function e3(t){let e=tt(await L(t,"ppt/presentation.xml"),["p:presentation","p:embeddedFontLst","p:embeddedFont"]),r=[];if(!e)return r;let a=e.constructor===Array?e:[e],s=await L(t,"ppt/_rels/presentation.xml.rels"),n={};if(s){let t=tt(s,["Relationships","Relationship"]);if(t)for(let e of(t.constructor!==Array&&(t=[t]),t)){let t=tt(e,["attrs","Id"]),r=tt(e,["attrs","Target"]);t&&r&&(n[t]=r)}}let i=["p:regular","p:bold","p:italic","p:boldItalic"];for(let e of a){let a=tt(e,["p:font","attrs","typeface"]);if(!a)continue;let s="";for(let r of i){let a=e[r];if(!a)continue;let i=tt(a,["attrs","r:id"]);if(!i)continue;let o=n[i];if(!o)continue;let l=o;if(l=l.startsWith("../")?l.substring(3):"ppt/"+l,s=await eF(t,l))break}r.push({name:a,fontFamily:function(t){if(!t)return"";if(eO[t])return eO[t];let e=t.toLowerCase();for(let[t,r]of Object.entries(eO))if(t.toLowerCase()===e)return r;for(let[r,a]of Object.entries(eO))if(e.startsWith(r.toLowerCase()))return`${t}, ${a}`;return function(t){let e=t.toLowerCase();return e.includes("mono")||e.includes("code")||e.includes("console")||e.includes("courier")||e.includes("terminal")||e.includes("fixed")?`${t}, monospace`:e.includes("serif")||e.includes("roman")||e.includes("mincho")||e.includes("song")||e.includes("sung")||e.includes("ming")||e.includes("times")||e.includes("georgia")?`${t}, serif`:e.includes("script")||e.includes("cursive")||e.includes("hand")||e.includes("writing")||e.includes("kai")||e.includes("shu")?`${t}, cursive`:`${t}, sans-serif`}(t)}(a),blob:s})}return r}async function e4(t){let e=await L(t,"ppt/presentation.xml"),r=e["p:presentation"]["p:sldSz"].attrs,a=e["p:presentation"]["p:defaultTextStyle"];return{width:parseInt(r.cx)*tz,height:parseInt(r.cy)*tz,defaultTextStyle:a}}async function e6(t){let e,r=null,a=(await L(t,"ppt/_rels/presentation.xml.rels")).Relationships.Relationship;if(a.constructor===Array){for(let t of a)if("http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme"===t.attrs.Type){e=t.attrs.Target;break}}else"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme"===a.attrs.Type&&(e=a.attrs.Target);if(!e){let r=await L(t,"ppt/slideMasters/_rels/slideMaster1.xml.rels");if(r){let t=r.Relationships.Relationship;if(t.constructor===Array){for(let r of t)if("http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme"===r.attrs.Type){e=r.attrs.Target;break}}else"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme"===t.attrs.Type&&(e=t.attrs.Target)}}if(e){(e=e.replace(/\\/g,"/")).startsWith("../")&&(e=e.substring(3));let a=0===e.indexOf("/ppt/")?e.substr(1):"ppt/"+e;r=await L(t,a)}let s=[];if(r){let t=tt(r,["a:theme","a:themeElements","a:clrScheme"]);if(t)for(let e=1;e<=6&&void 0!==t[`a:accent${e}`];e++){let r=tt(t,[`a:accent${e}`,"a:srgbClr","attrs","val"]);r&&s.push("#"+r)}}return{themeContent:r,themeColors:s}}async function e9(t,e,r){if(!e)return null;if(Object.prototype.hasOwnProperty.call(r,e))return r[e];let a=await L(t,e);return r[e]=a,a}async function e7(t,e,r,a,s,n,i,o,l){let h,u=e.replace("slides/slide","slides/_rels/slide")+".rels",c=await L(t,u);if(!c)return null;let f=c.Relationships.Relationship;f.constructor!==Array&&(f=[f]);let d="",m="",p="",$="",b={},g={},y={},v={};for(let t of f){let e=eV(t.attrs.Type),r=t.attrs.Target;"External"!==t.attrs.TargetMode&&(r=0===(r=r.replace(/\\/g,"/")).indexOf("/ppt/")?r.substr(1):-1!==r.indexOf("../")?r.replace("../","ppt/"):"ppt/slides/"+r),"slideLayout"===e?m=r:"notesSlide"===e&&(d=r),b[t.attrs.Id]={type:e,target:r}}let M=function(t){let e="",r=tt(t,["p:notes","p:cSld","p:spTree","p:sp"]);if(!r)return"";for(let t of(r.constructor!==Array&&(r=[r]),r)){if("body"!==tt(t,["p:nvSpPr","p:nvPr","p:ph","attrs","type"]))continue;let r=tt(t,["p:txBody"]);if(!r)continue;let a=r["a:p"];if(!a)continue;a.constructor!==Array&&(a=[a]);let s=[];for(let t of a){let r=t["a:pPr"],a=tt(r,["attrs","algn"]),n="left";if(a)switch(a){case"r":n="right";break;case"ctr":n="center";break;case"just":case"dist":n="justify"}let i="";r&&(r["a:buChar"]?i="ul":r["a:buAutoNum"]&&(i="ol"));let o=tt(r,["attrs","lvl"]),l=void 0!==o?parseInt(o):0;if(i){for(;s.length>l+1;)e+=`</${s.pop()}>`;void 0===s[l]?(e+=`<${i}>`,s[l]=i):s[l]!==i&&(e+=`</${s[l]}>`,e+=`<${i}>`,s[l]=i),e+=`<li><p style="text-align:${n};">`}else{for(;s.length>0;)e+=`</${s.pop()}>`;e+=`<p style="text-align:${n};">`}let h=t["a:r"];if(h)for(let t of(h.constructor!==Array&&(h=[h]),h)){let r=eP(tt(t,["a:t"]));r&&"string"==typeof r&&(e+=r)}i?e+="</p></li>":e+="</p>"}for(;s.length>0;)e+=`</${s.pop()}>`}return e}(await L(t,d)),_=await e9(t,m,l),w=rr(_),k=m.replace("slideLayouts/slideLayout","slideLayouts/_rels/slideLayout")+".rels",x=await e9(t,k,l);if(x&&(f=x.Relationships.Relationship))for(let t of(f.constructor!==Array&&(f=[f]),f)){let e=eV(t.attrs.Type),r=t.attrs.Target;r=0===(r=r.replace(/\\/g,"/")).indexOf("/ppt/")?r.substr(1):-1!==r.indexOf("../")?r.replace("../","ppt/"):"ppt/slideLayouts/"+r,"slideMaster"===e?p=r:g[t.attrs.Id]={type:e,target:r}}let C=await e9(t,p,l),S=tt(C,["p:sldMaster","p:txStyles"]),I=rr(C),A=p.replace("slideMasters/slideMaster","slideMasters/_rels/slideMaster")+".rels",P=await e9(t,A,l);if(P&&(f=P.Relationships.Relationship))for(let t of(f.constructor!==Array&&(f=[f]),f)){let e=eV(t.attrs.Type),r=t.attrs.Target;r=0===(r=r.replace(/\\/g,"/")).indexOf("/ppt/")?r.substr(1):-1!==r.indexOf("../")?r.replace("../","ppt/"):"ppt/slideMasters/"+r,"theme"===e?$=r:y[t.attrs.Id]={type:e,target:r}}let R=r;if($){R=await e9(t,$,l)||R;let e=$.split("/").pop(),r=$.replace(e,"_rels/"+e)+".rels",a=await L(t,r);if(a&&(f=a.Relationships.Relationship))for(let t of(f.constructor!==Array&&(f=[f]),f)){let e=t.attrs.Target;e=0===(e=e.replace(/\\/g,"/")).indexOf("/ppt/")?e.substr(1):e.replace("../","ppt/"),v[t.attrs.Id]={type:eV(t.attrs.Type),target:e}}}let E=await e9(t,"ppt/tableStyles.xml",l),z=await L(t,e);if(!z)return null;let T=z["p:sld"]["p:cSld"]["p:spTree"],F={zip:t,loadedImages:s,loadedVideos:n,loadedAudios:i,options:o,slideLayoutContent:_,slideLayoutTables:w,slideMasterContent:C,slideMasterTables:I,slideContent:z,tableStyles:E,slideResObj:b,slideMasterTextStyles:S,layoutResObj:g,masterResObj:y,themeContent:R,themeResObj:v,diagramFileCache:{},defaultTextStyle:a},O=await re(F),B=await tw(F),N=[];for(let t in T)for(let e of(T[t].constructor!==Array&&(T[t]=[T[t]]),T[t])){let r=await ra(t,e,F,"slide");r&&N.push(r)}let j=eG(z,"p:sld");j||(j=eG(_,"p:sldLayout")),j||(j=eG(C,"p:sldMaster"));let D=function(t){if(!t)return null;let e={type:"none",duration:1e3,direction:null},r=t.attrs||{},a=!1,s=/^p\d{2}:dur$/;for(let t in r)if(s.test(t)&&!isNaN(parseInt(r[t],10))){e.duration=parseInt(r[t],10),a=!0;break}if(!a&&r.spd)switch(r.spd){case"slow":default:e.duration=1e3;break;case"med":e.duration=800;break;case"fast":e.duration=500}"0"===r.advClick&&r.advTm&&(e.autoNextAfter=parseInt(r.advTm,10));let n=/^(p|p\d{2}):/;for(let r in t)if("attrs"!==r&&n.test(r)){let s=t[r];if(e.type=r.substring(r.indexOf(":")+1),s&&s.attrs){let t=s.attrs;!t.dur||isNaN(parseInt(t.dur,10))||a||(e.duration=parseInt(t.dur,10)),t.dir&&(e.direction=t.dir)}break}return e}(j),{animations:G,builds:U}=(h=z?tt(z,["p:sld","p:timing"])||tt(z,["p:sld","mc:AlternateContent","mc:Choice","p:timing"])||tt(z,["p:sld","mc:AlternateContent","mc:Fallback","p:timing"]):null)?{animations:function t(e,r="onClick",a=0,s=[]){if(!e||"object"!=typeof e)return s;let n=e.attrs||{},i=eH[n.nodeType]||r,o=function(t,e=0){let r=eY(t?.attrs?.delay);if(null!=r&&r>=0)return r;let a=t?.["p:stCondLst"];for(let t of eq(a?.["p:cond"]||a)){let e=eY(t?.attrs?.delay);if(null!=e&&e>=0)return e}return e}(e,a);if(n.presetClass&&eU.has(n.presetClass)){let t,r,a,l,h=[...new Set(function t(e,r=[]){if(!e||"object"!=typeof e)return r;let a=e.attrs?.spid;for(let s of(null!=a&&""!==a&&r.push(String(a)),Object.keys(e)))if("attrs"!==s&&"value"!==s)for(let a of eq(e[s]))t(a,r);return r}(e))],u=(t=null,(r=e=>{if(!e||"object"!=typeof e)return;let a=eY(e.attrs?.dur);for(let s of(null!=a&&a>=0&&(t=a),Object.keys(e)))if("attrs"!==s&&"value"!==s)for(let t of eq(e[s]))r(t)})(e),t),c=(a="",(l=t=>{if(t&&"object"==typeof t){for(let e of(t.attrs?.filter&&(a=t.attrs.filter),Object.keys(t)))if("attrs"!==e&&"value"!==e)for(let r of eq(t[e]))l(r)}})(e),a),f=eH[n.nodeType]||i;for(let t of h){let e={spid:t,trigger:f,class:n.presetClass,presetId:parseInt(n.presetID||"0",10)||0,presetSubtype:parseInt(n.presetSubtype||"0",10)||0,duration:null!=u?u:1e3,delay:o};c&&(e.filter=c),s.push(e)}return s}for(let r of Object.keys(e))if("attrs"!==r&&"value"!==r)for(let a of eq(e[r]))t(a,i,o,s);return s}(h),builds:function(t){let e=t?.["p:bldLst"];if(!e)return[];let r=[];for(let[t,a]of[["p:bldP","paragraph"],["p:bldDgm","diagram"],["p:bldGraphic","graphic"],["p:bldOleChart","oleChart"]])for(let s of eq(e[t])){let t=s?.attrs?.spid;if(null==t||""===t)continue;let e={spid:String(t),type:a};(s.attrs?.animBg==="1"||s.attrs?.animBg==="true")&&(e.animBg=!0),r.push(e)}return r}(h)}:{animations:[],builds:[]},H=tt(z,["p:sld","attrs","showMasterSp"]);return{fill:B,elements:N,layoutElements:O,note:M,transition:D,hideBackground:"0"===H||"false"===H,animations:G,builds:U}}function rt(t,e){let r=tt(t,["a:hlinkClick","attrs"]);if(!r)return null;let a=r["r:id"];if(!a)return null;let s=e.slideResObj[a];if(!s||"hyperlink"!==s.type)return null;let n=s.target;return n&&/^https?:\/\//.test(n)?n:null}async function re(t){let e=[],r=t.slideLayoutContent,a=t.slideMasterContent,s=tt(r,["p:sldLayout","p:cSld","p:spTree"]),n=tt(a,["p:sldMaster","p:cSld","p:spTree"]),i=tt(r,["p:sldLayout","attrs","showMasterSp"]);if(s){for(let r in s)if(s[r].constructor===Array){for(let a=0;a<s[r].length;a++)if(!tt(s[r][a],["p:nvSpPr","p:nvPr","p:ph"])){let n=await ra(r,s[r][a],t,"slideLayoutBg");n&&e.push(n)}}else if(!tt(s[r],["p:nvSpPr","p:nvPr","p:ph"])){let a=await ra(r,s[r],t,"slideLayoutBg");a&&e.push(a)}}if(n&&"0"!==i){for(let r in n)if(n[r].constructor===Array){for(let a=0;a<n[r].length;a++)if(!tt(n[r][a],["p:nvSpPr","p:nvPr","p:ph"])){let s=await ra(r,n[r][a],t,"slideMasterBg");s&&e.push(s)}}else if(!tt(n[r],["p:nvSpPr","p:nvPr","p:ph"])){let a=await ra(r,n[r],t,"slideMasterBg");a&&e.push(a)}}return e}function rr(t){if(!t)return{idTable:{},idxTable:{},typeTable:{}};let e=Object.keys(t),r=t[e[0]]?.["p:cSld"]?.["p:spTree"];if(!r)return{idTable:{},idxTable:{},typeTable:{}};let a={},s={},n={};for(let t in r){if("p:nvGrpSpPr"===t||"p:grpSpPr"===t)continue;let e=r[t];if(e.constructor===Array)for(let t of e){let e=t["p:nvSpPr"],r=tt(e,["p:cNvPr","attrs","id"]),i=tt(e,["p:nvPr","p:ph","attrs","idx"]),o=tt(e,["p:nvPr","p:ph","attrs","type"]);r&&(a[r]=t),i&&(s[i]=t),o&&!n[o]&&(n[o]=t)}else{let t=e["p:nvSpPr"],r=tt(t,["p:cNvPr","attrs","id"]),i=tt(t,["p:nvPr","p:ph","attrs","idx"]),o=tt(t,["p:nvPr","p:ph","attrs","type"]);r&&(a[r]=e),i&&(s[i]=e),o&&!n[o]&&(n[o]=e)}}return{idTable:a,idxTable:s,typeTable:n}}async function ra(t,e,r,a,s=[]){let n;switch(t){case"p:sp":n=await ri(e,r,a,s);break;case"p:cxnSp":n=await ro(e,r,a);break;case"p:pic":n=await rh(e,r,a);break;case"p:graphicFrame":n=await ru(e,r,a);break;case"p:grpSp":n=await rn(e,r,a,s);break;case"mc:AlternateContent":tt(e,["mc:Fallback","p:grpSpPr","a:xfrm"])?n=await rn(tt(e,["mc:Fallback"]),r,a,s):tt(e,["mc:Choice"])&&(n=await rs(e,r,a))}if(n&&"object"==typeof n&&!n.id){let t=tt(e,["p:nvSpPr","p:cNvPr","attrs","id"])||tt(e,["p:nvPicPr","p:cNvPr","attrs","id"])||tt(e,["p:nvCxnSpPr","p:cNvPr","attrs","id"])||tt(e,["p:nvGrpSpPr","p:cNvPr","attrs","id"])||tt(e,["p:nvGraphicFramePr","p:cNvPr","attrs","id"])||tt(e,["mc:Choice","p:sp","p:nvSpPr","p:cNvPr","attrs","id"])||tt(e,["mc:Fallback","p:sp","p:nvSpPr","p:cNvPr","attrs","id"])||tt(e,["mc:Fallback","p:nvGrpSpPr","p:cNvPr","attrs","id"]);n.id=t||""}return n}async function rs(t,e,r){let a=tt(t,["mc:Choice"]),s=tt(t,["mc:Fallback"]),n=t.attrs.order,i=tt(a,["p:sp","p:spPr","a:xfrm"]),{top:o,left:l}=tH(i,void 0,void 0),{width:h,height:u}=tq(i,void 0,void 0),c=function t(e){let r=[];return"object"!=typeof e||(e["m:oMath"]&&(r=r.concat(e["m:oMath"])),Object.values(e).forEach(e=>{(Array.isArray(e)||"object"==typeof e)&&(r=r.concat(t(e)))})),r}(a)[0];if(!c)return null;let f=ep(c),d=tt(s,["p:sp","p:spPr","a:blipFill"]),m=await tg(r,d,e),p="";if(tt(a,["p:sp","p:txBody","a:p","a:r"])){let t=tt(a,["p:sp"]);p=eR(t["p:txBody"],t,void 0,void 0,void 0,e)}return{type:"math",top:o,left:l,width:h,height:u,latex:f,picRef:m.ref,picBase64:m.base64,picBlob:m.blob,text:p,order:n}}async function rn(t,e,r,a=[]){let s=t.attrs.order,n=tt(t,["p:grpSpPr","a:xfrm"]);if(!n)return null;let i=parseInt(n["a:off"].attrs.x)*tz,o=parseInt(n["a:off"].attrs.y)*tz,l=parseInt(n["a:chOff"].attrs.x)*tz,h=parseInt(n["a:chOff"].attrs.y)*tz,u=parseInt(n["a:ext"].attrs.cx)*tz,c=parseInt(n["a:ext"].attrs.cy)*tz,f=parseInt(n["a:chExt"].attrs.cx)*tz,d=parseInt(n["a:chExt"].attrs.cy)*tz,m=J(tt(n,["attrs","flipV"])),p=J(tt(n,["attrs","flipH"])),$=tt(n,["attrs","rot"])||0;$&&($=te($));let b=0===f?0:u/f,g=0===d?0:c/d,L=[...a,t],y=[];for(let a in t)if(t[a].constructor===Array)for(let s of t[a]){let t=await ra(a,s,e,r,L);t&&y.push(t)}else{let s=await ra(a,t[a],e,r,L);s&&y.push(s)}let v=(t,e=0,r=0)=>{let a=((t.rotate||0)%360+360)%360,s=1e-6>Math.abs(b-g),n=90===a||270===a,i=t.left+t.width/2,o=t.top+t.height/2,l=t.width*(n&&!s?g:b),h=t.height*(n&&!s?b:g);return{...t,left:ts((i-e)*b-l/2),top:ts((o-r)*g-h/2),width:ts(l),height:ts(h)}},M=y.map(t=>({...v(t,l,h),..."group"===t.type&&t.elements?{elements:function t(e,r=0){return r>10?e:e.map(e=>{let a=v(e);return"group"===e.type&&e.elements&&(a.elements=t(e.elements,r+1)),a})}(t.elements)}:{}}));return{type:"group",top:ts(o),left:ts(i),width:ts(u),height:ts(c),rotate:$,order:s,isFlipV:m,isFlipH:p,elements:M}}async function ri(t,e,r,a=[]){let s,n,i=tt(t,["p:nvSpPr","p:cNvPr"]),o=tt(i,["attrs","name"]),l=tt(t,["p:nvSpPr","p:nvPr","p:ph","attrs","idx"]),h=tt(t,["p:nvSpPr","p:nvPr","p:ph","attrs","type"]),u=tt(t,["attrs","order"]);h?l?(s=e.slideLayoutTables.idxTable[l],n=e.slideMasterTables.idxTable[l],s||(s=e.slideLayoutTables.typeTable[h]),n||(n=e.slideMasterTables.typeTable[h])):(s=e.slideLayoutTables.typeTable[h],n=e.slideMasterTables.typeTable[h]):l&&(s=e.slideLayoutTables.idxTable[l],n=e.slideMasterTables.idxTable[l]),!h&&J(tt(t,["p:nvSpPr","p:cNvSpPr","attrs","txBox"]))&&(h="text"),h||(h=tt(s,["p:nvSpPr","p:nvPr","p:ph","attrs","type"])),h||(h=tt(n,["p:nvSpPr","p:nvPr","p:ph","attrs","type"])),n||"ctrTitle"!==h||(n=e.slideMasterTables.typeTable.title),h||(h="diagramBg"===r?"diagram":"obj");let c=rt(i,e);return await rl(t,s,n,o,h,u,e,r,c,a)}async function ro(t,e,r){let a=tt(t,["p:nvCxnSpPr","p:cNvPr"]),s=tt(a,["attrs","name"]),n=void 0===t["p:nvCxnSpPr"]["p:nvPr"]["p:ph"]?void 0:t["p:nvCxnSpPr"]["p:nvPr"]["p:ph"].attrs.type,i=t.attrs.order,o=rt(a,e);return await rl(t,void 0,void 0,s,n,i,e,r,o)}async function rl(t,e,r,a,s,n,i,o,l,h=[]){let u,c,f,d=["p:spPr","a:xfrm"],m=tt(t,d),p=tt(e,d),$=tt(r,d),b=tt(t,["p:spPr","a:prstGeom","attrs","prst"]),g=tt(t,["p:spPr","a:custGeom"]),L={};if(b){let e=tt(t,["p:spPr","a:prstGeom","a:avLst","a:gd"]);if(e)for(let t of Array.isArray(e)?e:[e]){let e=tt(t,["attrs","name"]),r=tt(t,["attrs","fmla"]);e&&r&&r.startsWith("val ")&&(L[e]=parseInt(r.substring(4))/5e4)}}let{top:y,left:v}=tH(m,p,$),{width:M,height:_}=tq(m,p,$),w={x:0,y:0,width:M,height:_},k=J(tt(m,["attrs","flipV"])),x=J(tt(m,["attrs","flipH"])),C=te(tt(m,["attrs","rot"])),S=tt(t,["p:txXfrm"]);if(S){let t=tt(S,["attrs","rot"]);t&&(u=te(t)+90)}else u=C;let I="";t["p:txBody"]&&(I=eR(t["p:txBody"],t,e,r,s,i));let{borderColor:A,borderWidth:P,borderType:R,strokeDasharray:E,headEnd:z,tailEnd:T}=tA(t,s,i),F=await tx(t,i,o,{groupHierarchy:h,slideLayoutSpNode:e,slideMasterSpNode:r}),O=tt(t,["p:spPr","a:effectLst","a:outerShdw"]);O&&(c=eL(O,i));let B=((f=tt(t,["p:txBody","a:bodyPr","attrs","anchor"]))||!(f=tt(e,["p:txBody","a:bodyPr","attrs","anchor"]))&&((f=tt(r,["p:txBody","a:bodyPr","attrs","anchor"]))||(f="t")),"ctr"===f?"mid":"b"===f?"down":"up"),N="horz"!==function(t,e,r){for(let a of[t,e,r]){let t=tt(a,["p:txBody","a:bodyPr","attrs","vert"]);if(t)return t}return"horz"}(t,e,r),j="none"!==tt(t,["p:txBody","a:bodyPr","attrs","wrap"]),D=function(t,e,r){function a(t){if(!t)return null;if(t["a:noAutofit"])return{result:null};if(t["a:spAutoFit"])return{result:{type:"shape",wrapText:"none"!==tt(t,["attrs","wrap"])}};if(t["a:normAutofit"]){let e=tt(t["a:normAutofit"],["attrs","fontScale"]);return e?{result:{type:"text",fontScale:parseInt(e)/1e3}}:{result:{type:"text"}}}return null}let s=a(tt(t,["p:txBody","a:bodyPr"]));if(s)return s.result;let n=a(tt(e,["p:txBody","a:bodyPr"]));if(n)return n.result;let i=a(tt(r,["p:txBody","a:bodyPr"]));return i?i.result:null}(t,e,r),G=function(t,e,r){let a=tt(t,["p:txBody","a:bodyPr"]),s=tt(e,["p:txBody","a:bodyPr"]),n=tt(r,["p:txBody","a:bodyPr"]);if(!a&&!s&&!n)return null;let i=tG(t,e,r,"lIns");(null==i||""===i)&&(i=91440);let o=tG(t,e,r,"tIns");(null==o||""===o)&&(o=45720);let l=tG(t,e,r,"rIns");(null==l||""===l)&&(l=91440);let h=tG(t,e,r,"bIns");(null==h||""===h)&&(h=45720);let u=tU(i);null===u&&(u=0);let c=tU(o);null===c&&(c=0);let f=tU(l);null===f&&(f=0);let d=tU(h);return null===d&&(d=0),{l:u,t:c,r:f,b:d}}(t,e,r),U={left:v,top:y,width:M,height:_,borderColor:A,borderWidth:P,borderType:R,borderStrokeDasharray:E,fill:F,content:I,isFlipV:k,isFlipH:x,rotate:C,vAlign:B,wrap:j,name:a,order:n};c&&(U.shadow=c),D&&(U.autoFit=D),l&&(U.link=l),G&&(U.textInset=G),z&&(U.headEnd=z),T&&(U.tailEnd=T);let H=U.content&&function(t){if("u"<typeof DOMParser)return""!==t.replace(/<[^>]+>/g,"").replace(/\s+/g," ").trim();let e=new DOMParser().parseFromString(t,"text/html");return""!==(e.body.textContent||e.body.innerText).trim()}(U.content);if(g&&"diagram"!==s){let t=ez(g,M,_);H||(U.content="");let e={...U,type:"shape",isVertical:N,shapType:"custom",path:t,pathViewBox:w};return function(t){let e=tt(t,["a:pathLst","a:path"]);if(!e)return!1;let r=Array.isArray(e)?e:[e];return 1===r.length&&"none"===tt(r[0],["attrs","fill"])}(g)&&(e.strokeOnly=!0),e}let q="";b&&(q=eD(b,M,_,t));let Y=["arc","leftBrace","rightBrace","bracePair","leftBracket","rightBracket","bracketPair"].includes(b);if(b&&("obj"===s||!s||"rect"!==b)){H||(U.content="");let t={...U,type:"shape",isVertical:N,shapType:b,path:q,pathViewBox:w,keypoints:L};return Y&&(t.strokeOnly=!0),t}if(b&&!H&&(F||P)){let t={...U,type:"shape",isVertical:N,content:"",shapType:b,path:q,pathViewBox:w,keypoints:L};return Y&&(t.strokeOnly=!0),t}return{...U,type:"text",isVertical:N,rotate:u}}async function rh(t,e,r){let a,s,n,i,o,l;a="slideMasterBg"===r?e.masterResObj:"slideLayoutBg"===r?e.layoutResObj:e.slideResObj;let h=rt(tt(t,["p:nvPicPr","p:cNvPr"]),e),u=t.attrs.order,c=t["p:blipFill"]["a:blip"].attrs["r:embed"];if(!c||!a[c])return null;let f=a[c].target,d=t["p:spPr"]["a:xfrm"];if(!d){let r=tt(t,["p:nvPicPr","p:nvPr","p:ph","attrs","idx"]);r&&(d=tt(e.slideLayoutTables,["idxTable",r,"p:spPr","a:xfrm"]))}let{top:m,left:p}=tH(d,void 0,void 0),{width:$,height:b}=tq(d,void 0,void 0),g=await tp(f,e),L=J(tt(d,["attrs","flipV"])),y=J(tt(d,["attrs","flipH"])),v=0,M=tt(t,["p:spPr","a:xfrm","attrs","rot"]);M&&(v=te(M));let _=tt(t,["p:nvPicPr","p:nvPr","a:videoFile"]),w={ref:"",blob:""},k=!1;if(_){var x;(x=s=a[_.attrs["r:link"]].target,/^(https?|ftp):\/\/([a-zA-Z0-9.-]+(:[a-zA-Z0-9.&%$-]+)*@)*((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,})(:[0-9]+)*(\/($|[a-zA-Z0-9.,?'\\+&%$#=~_-]+))*$/.test(x))?(s=tr(s),k=!0):w="mp4"===(n=Q(s).toLowerCase())||"webm"===n||"ogg"===n?await t$(s,e):{ref:s,blob:""},k&&(w={ref:s,blob:""})}let C=tt(t,["p:nvPicPr","p:nvPr","a:audioFile"]),S={ref:"",blob:""};if(C&&(S="mp3"===(o=Q(i=a[C.attrs["r:link"]].target).toLowerCase())||"wav"===o||"ogg"===o?await tb(i,e):{ref:i,blob:""}),_&&!k||_&&k)return{type:"video",top:m,left:p,width:$,height:b,rotate:v,ref:w.ref,blob:w.blob,order:u};if(C)return{type:"audio",top:m,left:p,width:$,height:b,rotate:v,ref:S.ref,blob:S.blob,order:u};let I=tt(t,["p:blipFill","a:srcRect","attrs"]);I&&(I.t||I.b||I.l||I.r)&&(l={},I.t&&(l.t=I.t/1e3),I.b&&(l.b=I.b/1e3),I.l&&(l.l=I.l/1e3),I.r&&(l.r=I.r/1e3));let A=tt(t,["p:spPr","a:prstGeom","attrs","prst"]),P=tt(t,["p:spPr","a:custGeom"]),{borderColor:R,borderWidth:E,borderType:z,strokeDasharray:T}=tA(t,void 0,e),F=function(t){if(!t)return null;let e=t["a:blip"];if(!e)return null;let r={},a=e["a:extLst"];if(a&&a["a:ext"])for(let t of Array.isArray(a["a:ext"])?a["a:ext"]:[a["a:ext"]]){if(!t["a14:imgProps"]||!t["a14:imgProps"]["a14:imgLayer"])continue;let e=t["a14:imgProps"]["a14:imgLayer"]["a14:imgEffect"];if(e)for(let t of Array.isArray(e)?e:[e]){if(t["a14:saturation"]){let e=tt(t,["a14:saturation","attrs","sat"]);e&&(r.saturation=parseInt(e)/1e5)}if(t["a14:brightnessContrast"]){let e=tt(t,["a14:brightnessContrast","attrs","bright"]),a=tt(t,["a14:brightnessContrast","attrs","contrast"]);e&&(r.brightness=parseInt(e)/1e5),a&&(r.contrast=parseInt(a)/1e5)}if(t["a14:sharpenSoften"]){let e=tt(t,["a14:sharpenSoften","attrs","amount"]);if(e){let t=parseInt(e)/1e5;t>0?r.sharpen=t:r.soften=Math.abs(t)}}if(t["a14:colorTemperature"]){let e=tt(t,["a14:colorTemperature","attrs","colorTemp"]);e&&(r.colorTemperature=parseInt(e))}}}return Object.keys(r).length>0?r:null}(t["p:blipFill"]),O=tL(t["p:blipFill"]);if(A||P){let e,r;if(P){let t=function(t){var e,r,a;let s,n=t["a:pathLst"];if(!n||!n["a:path"])return"custom";let i=n["a:path"],o=parseInt(i.attrs?.w)||0,l=parseInt(i.attrs?.h)||0,h=function(t){let e=[];if(t["a:moveTo"]){let r=t["a:moveTo"]["a:pt"];r&&e.push({type:"moveTo",points:[{x:parseInt(r.attrs?.x)||0,y:parseInt(r.attrs?.y)||0}]})}return eT(t["a:lnTo"]).forEach(t=>{let r=t["a:pt"];r&&e.push({type:"lineTo",points:[{x:parseInt(r.attrs?.x)||0,y:parseInt(r.attrs?.y)||0}]})}),eT(t["a:cubicBezTo"]).forEach(t=>{let r=eT(t["a:pt"]).map(t=>({x:parseInt(t.attrs?.x)||0,y:parseInt(t.attrs?.y)||0}));3===r.length&&e.push({type:"cubicBezTo",points:r})}),eT(t["a:arcTo"]).forEach(t=>{e.push({type:"arcTo",wR:parseInt(t.attrs?.wR)||0,hR:parseInt(t.attrs?.hR)||0,stAng:parseInt(t.attrs?.stAng)||0,swAng:parseInt(t.attrs?.swAng)||0})}),eT(t["a:quadBezTo"]).forEach(t=>{let r=eT(t["a:pt"]).map(t=>({x:parseInt(t.attrs?.x)||0,y:parseInt(t.attrs?.y)||0}));e.push({type:"quadBezTo",points:r})}),t["a:close"]&&e.push({type:"close"}),e}(i);return 0===h.length?"custom":function(t){let{lineCount:e,curveCount:r,isClosed:a,vertices:s,hasCurves:n,isCircular:i,pathWidth:o,pathHeight:l}=t;if(i||t.arcCount>=2&&a&&0===e)return"ellipse";if(!n&&a&&s.length>=3){let t;var h=s;let e=(t=[],h.forEach(e=>{t.some(t=>100>Math.abs(t.x-e.x)&&100>Math.abs(t.y-e.y))||t.push(e)}),t),r=e.length;switch(r){case 3:return"triangle";case 4:return function(t){var e,r,a;let s,n,i,o,l,h,u,c,f,d,m,p;if(4!==t.length)return"custom";let $=[];for(let e=0;e<4;e++){let r=t[e],a=t[(e+1)%4];$.push({dx:a.x-r.x,dy:a.y-r.y,length:Math.sqrt((a.x-r.x)**2+(a.y-r.y)**2)})}return!function(t){let e=Math.abs(t[0].length-t[2].length)/Math.max(t[0].length,t[2].length)<.1,r=Math.abs(t[1].length-t[3].length)/Math.max(t[1].length,t[3].length)<.1;if(!e||!r)return!1;for(let e=0;e<4;e++){let r=t[e],a=t[(e+1)%4];if(Math.abs((r.dx*a.dx+r.dy*a.dy)/(r.length*a.length))>.1)return!1}return!0}($)?(s=(e=$).reduce((t,e)=>t+e.length,0)/4,e.every(t=>Math.abs(t.length-s)/s<.1))?"rhombus":(n=0!==(r=$)[0].dx?r[0].dy/r[0].dx:1/0,i=0!==r[2].dx?r[2].dy/r[2].dx:1/0,o=0!==r[1].dx?r[1].dy/r[1].dx:1/0,h=.15>Math.abs(o-(l=0!==r[3].dx?r[3].dy/r[3].dx:1/0))||Math.abs(o)>1e3&&Math.abs(l)>1e3,(.15>Math.abs(n-i)||Math.abs(n)>1e3&&Math.abs(i)>1e3)&&h)?"parallelogram":(u=0!==(a=$)[0].dx?a[0].dy/a[0].dx:1/0,c=0!==a[2].dx?a[2].dy/a[2].dx:1/0,f=0!==a[1].dx?a[1].dy/a[1].dx:1/0,d=0!==a[3].dx?a[3].dy/a[3].dx:1/0,m=.15>Math.abs(u-c)||Math.abs(u)>1e3&&Math.abs(c)>1e3,p=.15>Math.abs(f-d)||Math.abs(f)>1e3&&Math.abs(d)>1e3,m&&!p||!m&&p)?"trapezoid":"custom":"roundRect"}(e);case 5:return"pentagon";case 6:return"hexagon";case 7:return"heptagon";case 8:return"octagon";default:if(r>8)return"ellipse";return"custom"}}if(4===e&&4===r&&a)return"roundRect";if(e>=3&&r>0&&r<=e&&a){let t=function(t){switch(t){case 3:return"triangle";case 4:return"rectangle";case 5:return"pentagon";case 6:return"hexagon";case 7:return"heptagon";case 8:return"octagon";default:return"custom"}}(e);if("custom"!==t)return"rectangle"===t?"roundRect":t}return"custom"}((e=h,r=o,s={lineCount:0,curveCount:0,arcCount:0,isClosed:!1,vertices:[],aspectRatio:0!==(a=l)?r/a:1,pathWidth:r,pathHeight:a,hasCurves:!1,isCircular:!1,commands:e},e.forEach(t=>{switch(t.type){case"moveTo":s.vertices.push(t.points[0]);break;case"lineTo":s.lineCount++,s.vertices.push(t.points[0]);break;case"cubicBezTo":s.curveCount++,s.hasCurves=!0,3===t.points.length&&s.vertices.push(t.points[2]);break;case"quadBezTo":s.curveCount++,s.hasCurves=!0,t.points.length>=2&&s.vertices.push(t.points[t.points.length-1]);break;case"arcTo":s.arcCount++,s.hasCurves=!0;break;case"close":s.isClosed=!0}}),4===s.curveCount&&0===s.lineCount&&s.isClosed&&(s.isCircular=function(t,e,r){let a=t.filter(t=>"cubicBezTo"===t.type);if(4!==a.length)return!1;let s=a.map(t=>t.points[2]),n=s.some(t=>Math.abs(t.y)<.1*r),i=s.some(t=>Math.abs(t.y-r)<.1*r),o=s.some(t=>Math.abs(t.x)<.1*e),l=s.some(t=>Math.abs(t.x-e)<.1*e);return(n||i)&&(o||l)}(e,r,a)),s))}(P);e="custom"!==t?`custom:${t}`:"custom",r=ez(P,$,b)}else e=A,r=eD(A,$,b,t)||"";let a={type:"shape",shapType:e,path:r,top:m,left:p,width:$,height:b,rotate:v,isFlipV:L,isFlipH:y,order:u,fill:{type:"image",value:{ref:g.ref,base64:g.base64,blob:g.blob,opacity:O,rect:l}},content:"",borderColor:R,borderWidth:E,borderType:z,borderStrokeDasharray:T};return F&&(a.filters=F),h&&(a.link=h),a}let B={type:"image",top:m,left:p,width:$,height:b,rotate:v,ref:g.ref,base64:g.base64,blob:g.blob,isFlipV:L,isFlipH:y,order:u,rect:l,geom:"rect",borderColor:R,borderWidth:E,borderType:z,borderStrokeDasharray:T,opacity:O};return F&&(B.filters=F),h&&(B.link=h),B}async function ru(t,e,r){let a;switch(tt(t,["a:graphic","a:graphicData","attrs","uri"])){case"http://schemas.openxmlformats.org/drawingml/2006/table":a=await rc(t,e);break;case"http://schemas.openxmlformats.org/drawingml/2006/chart":a=await rf(t,e);break;case"http://schemas.openxmlformats.org/drawingml/2006/diagram":a=await rd(t,e);break;case"http://schemas.openxmlformats.org/presentationml/2006/ole":let s=tt(t,["a:graphic","a:graphicData","mc:AlternateContent","mc:Fallback","p:oleObj"]);s||(s=tt(t,["a:graphic","a:graphicData","p:oleObj"])),s&&(a=await rn(s,e,r))}return a}async function rc(t,e){let r,a,s=t.attrs.order,n=tt(t,["a:graphic","a:graphicData","a:tbl"]),i=tt(t,["p:xfrm"]),{top:o,left:l}=tH(i,void 0,void 0),{width:h,height:u}=tq(i,void 0,void 0),c=tt(t,["a:graphic","a:graphicData","a:tbl","a:tblPr"]),f=tt(t,["a:graphic","a:graphicData","a:tbl","a:tblGrid","a:gridCol"]);f.constructor!==Array&&(f=[f]);let d=[];if(f)for(let t of f){let e=parseInt(tt(t,["attrs","w"])||0)*tz;d.push(e)}let m=c.attrs?c.attrs.firstRow:void 0,p=c.attrs?c.attrs.firstCol:void 0,$=c.attrs?c.attrs.lastRow:void 0,b=c.attrs?c.attrs.lastCol:void 0,g=c.attrs?c.attrs.bandRow:void 0,L=c.attrs?c.attrs.bandCol:void 0,y={isFrstRowAttr:+!!J(m),isFrstColAttr:+!!J(p),isLstRowAttr:+!!J($),isLstColAttr:+!!J(b),isBandRowAttr:+!!J(g),isBandColAttr:+!!J(L)},v=c["a:tableStyleId"];if(v){let t=e.tableStyles["a:tblStyleLst"]["a:tblStyle"];if(t)if(t.constructor===Array)for(let e=0;e<t.length;e++)t[e].attrs.styleId===v&&(r=t[e]);else t.attrs.styleId===v&&(r=t)}r&&(r.tblStylAttrObj=y);let M={},_=tt(r,["a:wholeTbl","a:tcStyle"]),w=tt(_,["a:tcBdr"]);w&&(a={},w["a:bottom"]&&(a.bottom=tA({"p:spPr":{"a:ln":w["a:bottom"]["a:ln"]}},void 0,e)),w["a:top"]&&(a.top=tA({"p:spPr":{"a:ln":w["a:top"]["a:ln"]}},void 0,e)),w["a:right"]&&(a.right=tA({"p:spPr":{"a:ln":w["a:right"]["a:ln"]}},void 0,e)),w["a:left"]&&(a.left=tA({"p:spPr":{"a:ln":w["a:left"]["a:ln"]}},void 0,e)),M=a);let k="",x=tt(r,["a:tblBg","a:fillRef"]);x&&(k=tS(x,void 0,void 0,e)),void 0===x&&(k=tS(x=tt(r,["a:wholeTbl","a:tcStyle","a:fill","a:solidFill"]),void 0,void 0,e));let C=n["a:tr"];C.constructor!==Array&&(C=[C]);let S=[],I=[];for(let t=0;t<C.length;t++){let a=C[t],s=parseInt(tt(C[t],["attrs","h"])||0)*tz;I.push(s);let{fillColor:n,fontColor:i,fontBold:o}=function(t,e,r,a,s){let n,i,o;if(a&&a["a:wholeTbl"]){let t=tt(a,["a:wholeTbl","a:tcStyle","a:fill","a:solidFill"]);if(t){let e=tS(t,void 0,void 0,s);e&&(n=e)}let e=tt(a,["a:wholeTbl","a:tcTxStyle"]);if(e){let t=eB(e,s);t&&(i=t),"on"===tt(e,["attrs","b"])&&(o=!0)}}if(0===e&&1===r.isFrstRowAttr&&a){let t=tt(a,["a:firstRow","a:tcStyle","a:fill","a:solidFill"]);if(t){let e=tS(t,void 0,void 0,s);e&&(n=e)}let e=tt(a,["a:firstRow","a:tcTxStyle"]);if(e){let t=eB(e,s);t&&(i=t),"on"===tt(e,["attrs","b"])&&(o=!0)}}else if(e>0&&1===r.isBandRowAttr&&a){if(n="",e%2==0&&a["a:band2H"]){let t=tt(a,["a:band2H","a:tcStyle","a:fill","a:solidFill"]);if(t){let e=tS(t,void 0,void 0,s);e&&(n=e)}let e=tt(a,["a:band2H","a:tcTxStyle"]);if(e){let t=eB(e,s);t&&(i=t)}"on"===tt(e,["attrs","b"])&&(o=!0)}if(e%2!=0&&a["a:band1H"]){let t=tt(a,["a:band1H","a:tcStyle","a:fill","a:solidFill"]);if(t){let e=tS(t,void 0,void 0,s);e&&(n=e)}let e=tt(a,["a:band1H","a:tcTxStyle"]);if(e){let t=eB(e,s);t&&(i=t),"on"===tt(e,["attrs","b"])&&(o=!0)}}}if(e===t.length-1&&1===r.isLstRowAttr&&a){let t=tt(a,["a:lastRow","a:tcStyle","a:fill","a:solidFill"]);if(t){let e=tS(t,void 0,void 0,s);e&&(n=e)}let e=tt(a,["a:lastRow","a:tcTxStyle"]);if(e){let t=eB(e,s);t&&(i=t),"on"===tt(e,["attrs","b"])&&(o=!0)}}return{fillColor:n,fontColor:i,fontBold:o}}(C,t,y,r,e),l=a["a:tc"],h=[];if(l.constructor===Array)for(let a=0;a<l.length;a++){let s,u=l[a];if(0===a&&1===y.isFrstColAttr)s="a:firstCol",1===y.isLstRowAttr&&t===C.length-1&&tt(r,["a:seCell"])?s="a:seCell":1===y.isFrstRowAttr&&0===t&&tt(r,["a:neCell"])&&(s="a:neCell");else if(a>0&&1===y.isBandColAttr&&(1!==y.isFrstColAttr||0!==t)&&(1!==y.isLstRowAttr||t!==C.length-1)&&a!==l.length-1&&a%2!=0){let t=tt(r,["a:band2V"]);void 0===t?(t=tt(r,["a:band1V"]))&&(s="a:band2V"):s="a:band2V"}a===l.length-1&&1===y.isLstColAttr&&(s="a:lastCol",1===y.isLstRowAttr&&t===C.length-1&&tt(r,["a:swCell"])?s="a:swCell":1===y.isFrstRowAttr&&0===t&&tt(r,["a:nwCell"])&&(s="a:nwCell"));let c=eR(u["a:txBody"],u,void 0,void 0,void 0,e),f=await eN(u,r,s,e),d={text:c};f.rowSpan&&(d.rowSpan=f.rowSpan),f.colSpan&&(d.colSpan=f.colSpan),f.vMerge&&(d.vMerge=f.vMerge),f.hMerge&&(d.hMerge=f.hMerge),f.vAlign&&(d.vAlign=f.vAlign),(f.fontBold||o)&&(d.fontBold=f.fontBold||o),(f.fontColor||i)&&(d.fontColor=f.fontColor||i),(f.fillColor||n||k)&&(d.fillColor=f.fillColor||n||k),f.borders&&(d.borders=f.borders),h.push(d)}else{let t;if(1===y.isFrstColAttr&&1!==y.isLstRowAttr)t="a:firstCol";else if(1===y.isBandColAttr&&1!==y.isLstRowAttr){let e=tt(r,["a:band2V"]);e?t="a:band2V":(e=tt(r,["a:band1V"]))&&(t="a:band2V")}1===y.isLstColAttr&&1!==y.isLstRowAttr&&(t="a:lastCol");let a=eR(l["a:txBody"],l,void 0,void 0,void 0,e),s=await eN(l,r,t,e),u={text:a};s.rowSpan&&(u.rowSpan=s.rowSpan),s.colSpan&&(u.colSpan=s.colSpan),s.vMerge&&(u.vMerge=s.vMerge),s.hMerge&&(u.hMerge=s.hMerge),s.vAlign&&(u.vAlign=s.vAlign),(s.fontBold||o)&&(u.fontBold=s.fontBold||o),(s.fontColor||i)&&(u.fontColor=s.fontColor||i),(s.fillColor||n||k)&&(u.fillColor=s.fillColor||n||k),s.borders&&(u.borders=s.borders),h.push(u)}S.push(h)}let A=d.reduce((t,e)=>t+e,0);return A&&(A=ts(A)),{type:"table",top:o,left:l,width:A||h,height:u,data:S,order:s,borders:M,rowHeights:I,colWidths:d}}async function rf(t,e){let r=t.attrs.order,a=tt(t,["p:xfrm"]),{top:s,left:n}=tH(a,void 0,void 0),{width:i,height:o}=tq(a,void 0,void 0),l=t["a:graphic"]["a:graphicData"]["c:chart"].attrs["r:id"],h=tt(e.slideResObj,[l,"target"]);if(h||(h=tt(e.layoutResObj,[l,"target"])),h||(h=tt(e.masterResObj,[l,"target"])),!h)return null;let u=function(t,e){let r=null;for(let a in t)if(t[a]["c:ser"])switch(a){case"c:lineChart":r={type:"lineChart",data:tR(t[a]["c:ser"]),colors:tP(t[a]["c:ser"],e),grouping:tt(t[a],["c:grouping","attrs","val"]),marker:!!t[a]["c:marker"]};break;case"c:line3DChart":r={type:"line3DChart",data:tR(t[a]["c:ser"]),colors:tP(t[a]["c:ser"],e),grouping:tt(t[a],["c:grouping","attrs","val"])};break;case"c:barChart":r={type:"barChart",data:tR(t[a]["c:ser"]),colors:tP(t[a]["c:ser"],e),grouping:tt(t[a],["c:grouping","attrs","val"]),barDir:tt(t[a],["c:barDir","attrs","val"])};break;case"c:bar3DChart":r={type:"bar3DChart",data:tR(t[a]["c:ser"]),colors:tP(t[a]["c:ser"],e),grouping:tt(t[a],["c:grouping","attrs","val"]),barDir:tt(t[a],["c:barDir","attrs","val"])};break;case"c:pieChart":r={type:"pieChart",data:tR(t[a]["c:ser"]),colors:tP(t[a]["c:ser"]["c:dPt"],e)};break;case"c:pie3DChart":r={type:"pie3DChart",data:tR(t[a]["c:ser"]),colors:tP(t[a]["c:ser"]["c:dPt"],e)};break;case"c:doughnutChart":r={type:"doughnutChart",data:tR(t[a]["c:ser"]),colors:tP(t[a]["c:ser"]["c:dPt"],e),holeSize:tt(t[a],["c:holeSize","attrs","val"])};break;case"c:areaChart":r={type:"areaChart",data:tR(t[a]["c:ser"]),colors:tP(t[a]["c:ser"],e),grouping:tt(t[a],["c:grouping","attrs","val"])};break;case"c:area3DChart":r={type:"area3DChart",data:tR(t[a]["c:ser"]),colors:tP(t[a]["c:ser"],e),grouping:tt(t[a],["c:grouping","attrs","val"])};break;case"c:scatterChart":r={type:"scatterChart",data:tE(t[a]["c:ser"]),colors:tP(t[a]["c:ser"],e),style:tt(t[a],["c:scatterStyle","attrs","val"])};break;case"c:bubbleChart":r={type:"bubbleChart",data:tE(t[a]["c:ser"]),colors:tP(t[a]["c:ser"],e)};break;case"c:radarChart":r={type:"radarChart",data:tR(t[a]["c:ser"]),colors:tP(t[a]["c:ser"],e),style:tt(t[a],["c:radarStyle","attrs","val"])};break;case"c:surfaceChart":r={type:"surfaceChart",data:tR(t[a]["c:ser"]),colors:tP(t[a]["c:ser"],e)};break;case"c:surface3DChart":r={type:"surface3DChart",data:tR(t[a]["c:ser"]),colors:tP(t[a]["c:ser"],e)};break;case"c:stockChart":r={type:"stockChart",data:tR(t[a]["c:ser"]),colors:[]}}return r}(tt(await L(e.zip,h),["c:chartSpace","c:chart","c:plotArea"]),e);if(!u)return null;let c={type:"chart",top:s,left:n,width:i,height:o,data:u.data,colors:u.colors,chartType:u.type,order:r};return void 0!==u.marker&&(c.marker=u.marker),void 0!==u.barDir&&(c.barDir=u.barDir),void 0!==u.holeSize&&(c.holeSize=u.holeSize),void 0!==u.grouping&&(c.grouping=u.grouping),void 0!==u.style&&(c.style=u.style),c}async function rd(t,e){let r=t.attrs.order,a=tt(t,["p:xfrm"]),{left:s,top:n}=tH(a,void 0,void 0),{width:i,height:o}=tq(a,void 0,void 0),l=await eW(t,e),h=tt(l.digramFileContent,["p:drawing","p:spTree","p:sp"]),u=[],c=[];if(h)for(let t of Array.isArray(h)?h:[h]){let e=await ri(t,l,"diagramBg");e&&u.push(e)}return l.diagramContent&&l.diagramContent.data&&(c=function(t){let e=[],r=tt(t,["dgm:dataModel","dgm:ptLst","dgm:pt"]);if(!r)return e;for(let t of(Array.isArray(r)||(r=[r]),r)){let r=tt(t,["dgm:t"]);if(r){let t="",a=tt(r,["a:p"]);a&&(Array.isArray(a)||(a=[a]),a.forEach(e=>{let r=tt(e,["a:r"]);r&&(Array.isArray(r)||(r=[r]),r.forEach(e=>{let r=eP(tt(e,["a:t"]));r&&"string"==typeof r&&(t+=r)})),t.length>0&&(t+="\n")}));let s=t.trim();s&&e.push(s)}}return e}(l.diagramContent.data)),{type:"diagram",left:s,top:n,width:i,height:o,elements:u,textList:c,order:r}}})(),a})());
3
3
  //# sourceMappingURL=index.umd.js.map