!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.CanvasCaptureLib=e():t.CanvasCaptureLib=e()}(self,()=>(()=>{var r={76:(t,e,r)=>{r(72);const n=r(681)["devDependencies"];t.exports={corePath:`https://unpkg.com/@ffmpeg/core@${n["@ffmpeg/core"].substring(1)}/dist/ffmpeg-core.js`}},339:(t,e,r)=>{const i=r(72);t.exports=async t=>{let e=t;if(void 0===t)return new Uint8Array;if("string"==typeof t)if(/data:_data\/([a-zA-Z]*);base64,([^"]*)/.test(t))e=atob(t.split(",")[1]).split("").map(t=>t.charCodeAt(0));else{const r=await fetch(i(t));e=await r.arrayBuffer()}else(t instanceof File||t instanceof Blob)&&(e=(n=t,await new Promise((t,e)=>{const r=new FileReader;r.onload=()=>{t(r.result)},r.onerror=({target:{error:{code:t}}})=>{e(Error("File could not be read! Code="+t))},r.readAsArrayBuffer(n)})));var n;return new Uint8Array(e)}},440:(t,e,r)=>{const a=r(72),s=r(888)["log"],l=async(t,e)=>{s("info","fetch "+t);var r=await(await fetch(t)).arrayBuffer();s("info",`${t} file size = ${r.byteLength} bytes`);e=new Blob([r],{type:e}),e=URL.createObjectURL(e);return s("info",t+" blob URL = "+e),e};t.exports=async({corePath:t})=>{if("string"!=typeof t)throw Error("corePath should be a string!");const e=a(t),n=await l(e,"application/javascript"),i=await l(e.replace("ffmpeg-core.js","ffmpeg-core.wasm"),"application/wasm"),o=await l(e.replace("ffmpeg-core.js","ffmpeg-core.worker.js"),"application/javascript");return"undefined"==typeof createFFmpegCore?new Promise(t=>{const e=document.createElement("script"),r=()=>{e.removeEventListener("load",r),s("info","ffmpeg-core.js script loaded"),t({createFFmpegCore:createFFmpegCore,corePath:n,wasmPath:i,workerPath:o})};e.src=n,e.type="text/javascript",e.addEventListener("load",r),document.getElementsByTagName("head")[0].appendChild(e)}):(s("info","ffmpeg-core.js script is loaded already"),Promise.resolve({createFFmpegCore:createFFmpegCore,corePath:n,wasmPath:i,workerPath:o}))}},451:(t,e,r)=>{var n=r(76),i=r(440),r=r(339);t.exports={defaultOptions:n,getCreateFFmpegCore:i,fetchFile:r}},617:t=>{t.exports={defaultArgs:["./ffmpeg","-nostdin","-y"],baseOptions:{log:!1,logger:()=>{},progress:()=>{},corePath:""}}},648:(t,e,r)=>{const{defaultArgs:d,baseOptions:f}=r(617),{setLogging:p,setCustomLogger:m,log:g}=r(888),w=r(405),b=r(10),{defaultOptions:y,getCreateFFmpegCore:v}=r(451),_=r(681)["version"],k=Error("ffmpeg.wasm is not ready, make sure you have completed load().");t.exports=(t={})=>{const{log:e,logger:r,progress:n,...i}={...f,...y,...t};let o=null,a=null,s=null,l=!1,h=n;const c=t=>{"FFMPEG_END"===t&&null!==s&&(s(),s=null,l=!1)},u=({type:t,message:e})=>{g(t,e),w(e,h),c(e)};return p(e),m(r),g("info","use ffmpeg.wasm v"+_),{setProgress:t=>{h=t},setLogger:t=>{m(t)},setLogging:p,load:async()=>{if(g("info","load ffmpeg-core"),null!==o)throw Error("ffmpeg.wasm was loaded, you should not load it again, use ffmpeg.isLoaded() to check next time.");{g("info","loading ffmpeg-core");const{createFFmpegCore:t,corePath:e,workerPath:r,wasmPath:n}=await v(i);o=await t({mainScriptUrlOrBlob:e,printErr:t=>u({type:"fferr",message:t}),print:t=>u({type:"ffout",message:t}),locateFile:(t,e)=>{if("undefined"!=typeof window){if(void 0!==n&&t.endsWith("ffmpeg-core.wasm"))return n;if(void 0!==r&&t.endsWith("ffmpeg-core.worker.js"))return r}return e+t}}),a=o.cwrap("proxy_main","number",["number","number"]),g("info","ffmpeg-core loaded")}},isLoaded:()=>null!==o,run:(...r)=>{if(g("info","run ffmpeg command: "+r.join(" ")),null===o)throw k;if(l)throw Error("ffmpeg.wasm can only run one command at a time");return l=!0,new Promise(t=>{var e=[...d,...r].filter(t=>0!==t.length);s=t,a(...b(o,e))})},exit:()=>{if(null===o)throw k;l=!1,o.exit(1),o=null,a=null,s=null},FS:(e,...r)=>{if(g("info",`run FS.${e} `+r.map(t=>"string"==typeof t?t:`<${t.length} bytes binary file>`).join(" ")),null===o)throw k;{let t=null;try{t=o.FS[e](...r)}catch(t){throw"readdir"===e?Error(`ffmpeg.FS('readdir', '${r[0]}') error. Check if the path exists, ex: ffmpeg.FS('readdir', '/')`):"readFile"===e?Error(`ffmpeg.FS('readFile', '${r[0]}') error. Check if the path exists`):Error("Oops, something went wrong in FS operation.")}return t}}}}},888:t=>{let r=!1,n=()=>{};t.exports={logging:r,setLogging:t=>{r=t},setCustomLogger:t=>{n=t},log:(t,e)=>{n({type:t,message:e}),r&&console.log(`[${t}] `+e)}}},10:t=>{t.exports=(n,t)=>{const i=n._malloc(t.length*Uint32Array.BYTES_PER_ELEMENT);return t.forEach((t,e)=>{var r=n._malloc(t.length+1);n.writeAsciiToMemory(t,r),n.setValue(i+Uint32Array.BYTES_PER_ELEMENT*e,r,"i32")}),[t.length,i]}},405:t=>{let n=0,i=0;const o=t=>{var[e,r,t]=t.split(":");return 60*parseFloat(e)*60+60*parseFloat(r)+parseFloat(t)};t.exports=(t,e)=>{var r;"string"==typeof t&&(t.startsWith(" Duration")?(r=t.split(", ")[0].split(": ")[1],e({duration:r=o(r),ratio:i}),(0===n||n>r)&&(n=r)):t.startsWith("frame")||t.startsWith("size")?(r=t.split("time=")[1].split(" ")[0],r=o(r),i=r/n,e({ratio:i,time:r})):t.startsWith("video:")&&(e({ratio:1}),n=0))}},809:(t,e)=>{"use strict";function a(t){var e=-1;n=n||function(){for(var t=new Int32Array(256),e=0;e<256;e++){for(var r=e,n=0;n<8;n++)r=1&r?3988292384^r>>>1:r>>>1;t[e]=r}return t}();for(var r=0;r>>8;return-1^e}Object.defineProperty(e,"__esModule",{value:!0}),e.changeDpiBlob=function(i,o){var e=i.slice(0,33);return new Promise(function(r,t){var n=new FileReader;n.onload=function(){var t=new Uint8Array(n.result),e=i.slice(33),t=g(t,o,i.type);r(new Blob([t,e],{type:i.type}))},n.readAsArrayBuffer(e)})},e.changeDpiDataUrl=function(t,e){var r=t.split(","),n=r[0],i=r[1],o=void 0,t=void 0,r=!1;-1!==n.indexOf(c)&&(o=c,0<=(a=function(t){var e=t.indexOf(d);-1===e&&(e=t.indexOf(f));-1===e&&(e=t.indexOf(p));return e}(i))?(t=4*Math.ceil((a+28)/3),r=!0):t=44);-1!==n.indexOf(u)&&(o=u,t=24);for(var a=i.substring(0,t),t=i.substring(t),s=atob(a),l=new Uint8Array(s.length),h=0;h>8,t[15]=255&e,t[16]=e>>8,t[17]=255&e,t;if(r===c){var i=new Uint8Array(13);e*=39.3701,i[0]=s,i[1]=l,i[2]=h,i[3]=m,i[4]=e>>>24,i[5]=e>>>16,i[6]=e>>>8,i[7]=255&e,i[8]=i[4],i[9]=i[5],i[10]=i[6],i[11]=i[7],i[12]=1;r=a(i),e=new Uint8Array(4);if(e[0]=r>>>24,e[1]=r>>>16,e[2]=r>>>8,e[3]=255&r,n){var o=function(t){for(var e=t.length-1;4<=e;e--)if(9===t[e-4]&&t[e-3]===s&&t[e-2]===l&&t[e-1]===h&&t[e]===m)return e-3}(t);return t.set(i,o),t.set(e,o+13),t}n=new Uint8Array(4);n[0]=0,n[1]=0,n[2]=0,n[3]=9;o=new Uint8Array(54);return o.set(t,0),o.set(n,33),o.set(i,37),o.set(e,50),o}}},162:function(t,e,r){var n;void 0===(n="function"==typeof(n=function(){"use strict";function i(t,e){return"undefined"==typeof e?e={autoBom:!1}:"object"!=typeof e&&(console.warn("Deprecated: Expected third argument to be a object"),e={autoBom:!e}),e.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob(["\ufeff",t],{type:t.type}):t}function c(t,e,r){var n=new XMLHttpRequest;n.open("GET",t),n.responseType="blob",n.onload=function(){s(n.response,e,r)},n.onerror=function(){console.error("could not download file")},n.send()}function o(t){var e=new XMLHttpRequest;e.open("HEAD",t,!1);try{e.send()}catch(t){}return 200<=e.status&&299>=e.status}function a(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(t){var r=document.createEvent("MouseEvents");r.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(r)}}var u="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof r.g&&r.g.global===r.g?r.g:void 0,d=u.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),s=u.saveAs||("object"!=typeof window||window!==u?function(){}:"download"in HTMLAnchorElement.prototype&&!d?function(t,e,r){var n=u.URL||u.webkitURL,i=document.createElement("a");e=e||t.name||"download",i.download=e,i.rel="noopener","string"==typeof t?(i.href=t,i.origin===location.origin?a(i):o(i.href)?c(t,e,r):a(i,i.target="_blank")):(i.href=n.createObjectURL(t),setTimeout(function(){n.revokeObjectURL(i.href)},4e4),setTimeout(function(){a(i)},0))}:"msSaveOrOpenBlob"in navigator?function(t,e,r){if(e=e||t.name||"download","string"!=typeof t)navigator.msSaveOrOpenBlob(i(t,r),e);else if(o(t))c(t,e,r);else{var n=document.createElement("a");n.href=t,n.target="_blank",setTimeout(function(){a(n)})}}:function(t,e,r,n){if(n=n||open("","_blank"),n&&(n.document.title=n.document.body.innerText="downloading..."),"string"==typeof t)return c(t,e,r);var i="application/octet-stream"===t.type,o=/constructor/i.test(u.HTMLElement)||u.safari,a=/CriOS\/[\d]+/.test(navigator.userAgent);if((a||i&&o||d)&&"undefined"!=typeof FileReader){var s=new FileReader;s.onloadend=function(){var t=s.result;t=a?t:t.replace(/^data:[^;]*;/,"data:attachment/file;"),n?n.location.href=t:location=t,n=null},s.readAsDataURL(t)}else{var l=u.URL||u.webkitURL,h=l.createObjectURL(t);n?n.location=h:location.href=h,n=null,setTimeout(function(){l.revokeObjectURL(h)},4e4)}});u.saveAs=s.saveAs=s,true&&(t.exports=s)})?n.apply(e,[]):n)||(t.exports=n)},733:(t,e,r)=>{ /*! JSZip v3.7.1 - A JavaScript class for generating and reading zip files (c) 2009-2016 Stuart Knightley Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/master/LICENSE.markdown. JSZip uses the library pako released under the MIT license : https://github.com/nodeca/pako/blob/master/LICENSE */ t.exports=function n(i,o,a){function s(e,t){if(!o[e]){if(!i[e]){if(0,l)return l(e,!0);var r=new Error("Cannot find module '"+e+"'");throw r.code="MODULE_NOT_FOUND",r}r=o[e]={exports:{}};i[e][0].call(r.exports,function(t){return s(i[e][1][t]||t)},r,r.exports,n,i,o,a)}return o[e].exports}for(var l=void 0,t=0;t>4,i=1>6:64,o=2>2)+d.charAt(n)+d.charAt(i)+d.charAt(o));return s.join("")},r.decode=function(t){var e,r,n,i,o,a=0,s=0;if("data:"===t.substr(0,"data:".length))throw new Error("Invalid base64 input, it looks like a data url.");var l,h=3*(t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"")).length/4;if(t.charAt(t.length-1)===d.charAt(64)&&h--,t.charAt(t.length-2)===d.charAt(64)&&h--,h%1!=0)throw new Error("Invalid base64 input, bad content length.");for(l=new(c.uint8array?Uint8Array:Array)(0|h);a>4,r=(15&n)<<4|(i=d.indexOf(t.charAt(a++)))>>2,n=(3&i)<<6|(o=d.indexOf(t.charAt(a++))),l[s++]=e,64!==i&&(l[s++]=r),64!==o&&(l[s++]=n);return l}},{"./support":30,"./utils":32}],2:[function(t,e,r){"use strict";var n=t("./external"),i=t("./stream/DataWorker"),o=t("./stream/Crc32Probe"),a=t("./stream/DataLengthProbe");function s(t,e,r,n,i){this.compressedSize=t,this.uncompressedSize=e,this.crc32=r,this.compression=n,this.compressedContent=i}s.prototype={getContentWorker:function(){var t=new i(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new a("data_length")),e=this;return t.on("end",function(){if(this.streamInfo.data_length!==e.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),t},getCompressedWorker:function(){return new i(n.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},s.createWorkerFrom=function(t,e,r){return t.pipe(new o).pipe(new a("uncompressedSize")).pipe(e.compressWorker(r)).pipe(new a("compressedSize")).withStreamInfo("compression",e)},e.exports=s},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(t,e,r){"use strict";var n=t("./stream/GenericWorker");r.STORE={magic:"\0\0",compressWorker:function(t){return new n("STORE compression")},uncompressWorker:function(){return new n("STORE decompression")}},r.DEFLATE=t("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(t,e,r){"use strict";var n=t("./utils"),a=function(){for(var t=[],e=0;e<256;e++){for(var r=e,n=0;n<8;n++)r=1&r?3988292384^r>>>1:r>>>1;t[e]=r}return t}();e.exports=function(t,e){return void 0!==t&&t.length?("string"!==n.getTypeOf(t)?function(t,e,r){var n=a,i=0+r;t^=-1;for(var o=0;o>>8^n[255&(t^e[o])];return-1^t}:function(t,e,r){var n=a,i=0+r;t^=-1;for(var o=0;o>>8^n[255&(t^e.charCodeAt(o))];return-1^t})(0|e,t,t.length):0}},{"./utils":32}],5:[function(t,e,r){"use strict";r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!0,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],6:[function(t,e,r){"use strict";var n="undefined"!=typeof Promise?Promise:t("lie");e.exports={Promise:n}},{lie:37}],7:[function(t,e,r){"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,i=t("pako"),o=t("./utils"),a=t("./stream/GenericWorker"),s=n?"uint8array":"array";function l(t,e){a.call(this,"FlateWorker/"+t),this._pako=null,this._pakoAction=t,this._pakoOptions=e,this.meta={}}r.magic="\b\0",o.inherits(l,a),l.prototype.processChunk=function(t){this.meta=t.meta,null===this._pako&&this._createPako(),this._pako.push(o.transformTo(s,t.data),!1)},l.prototype.flush=function(){a.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},l.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this._pako=null},l.prototype._createPako=function(){this._pako=new i[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},r.compressWorker=function(t){return new l("Deflate",t)},r.uncompressWorker=function(){return new l("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(t,e,r){"use strict";function v(t,e){for(var r="",n=0;n>>=8;return r}function n(t,e,r,n,i,o){var a,s=t.file,l=t.compression,h=o!==k.utf8encode,c=_.transformTo("string",o(s.name)),u=_.transformTo("string",k.utf8encode(s.name)),d=s.comment,f=_.transformTo("string",o(d)),p=_.transformTo("string",k.utf8encode(d)),m=u.length!==s.name.length,g=p.length!==d.length,w="",b=s.dir,o=s.date,d={crc32:0,compressedSize:0,uncompressedSize:0};e&&!r||(d.crc32=t.crc32,d.compressedSize=t.compressedSize,d.uncompressedSize=t.uncompressedSize);t=0;e&&(t|=8),h||!m&&!g||(t|=2048);e=0,h=0;b&&(e|=16),"UNIX"===i?(h=798,e|=(65535&((i=s.unixPermissions)?i:b?16893:33204))<<16):(h=20,e|=63&(s.dosPermissions||0)),b=o.getUTCHours(),b<<=6,b|=o.getUTCMinutes(),b<<=5,b|=o.getUTCSeconds()/2,s=o.getUTCFullYear()-1980,s<<=4,s|=o.getUTCMonth()+1,s<<=5,s|=o.getUTCDate(),m&&(a=v(1,1)+v(x(c),4)+u,w+="up"+v(a.length,2)+a),g&&(y=v(1,1)+v(x(f),4)+p,w+="uc"+v(y.length,2)+y);var y="";return y+="\n\0",y+=v(t,2),y+=l.magic,y+=v(b,2),y+=v(s,2),y+=v(d.crc32,4),y+=v(d.compressedSize,4),y+=v(d.uncompressedSize,4),y+=v(c.length,2),y+=v(w.length,2),{fileRecord:E.LOCAL_FILE_HEADER+y+c+w,dirRecord:E.CENTRAL_FILE_HEADER+v(h,2)+y+v(f.length,2)+"\0\0\0\0"+v(e,4)+v(n,4)+c+w+f}}var _=t("../utils"),i=t("../stream/GenericWorker"),k=t("../utf8"),x=t("../crc32"),E=t("../signature");function o(t,e,r,n){i.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=e,this.zipPlatform=r,this.encodeFileName=n,this.streamFiles=t,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}_.inherits(o,i),o.prototype.push=function(t){var e=t.meta.percent||0,r=this.entriesCount,n=this._sources.length;this.accumulate?this.contentBuffer.push(t):(this.bytesWritten+=t.data.length,i.prototype.push.call(this,{data:t.data,meta:{currentFile:this.currentFile,percent:r?(e+100*(r-n-1))/r:100}}))},o.prototype.openedSource=function(t){this.currentSourceOffset=this.bytesWritten,this.currentFile=t.file.name;var e=this.streamFiles&&!t.file.dir;e?(e=n(t,e,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName),this.push({data:e.fileRecord,meta:{percent:0}})):this.accumulate=!0},o.prototype.closedSource=function(t){this.accumulate=!1;var e=this.streamFiles&&!t.file.dir,r=n(t,e,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),e)this.push({data:(t=t,E.DATA_DESCRIPTOR+v(t.crc32,4)+v(t.compressedSize,4)+v(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},o.prototype.flush=function(){for(var t=this.bytesWritten,e=0;e=this.index;e--)r=(r<<8)+this.byteAt(e);return this.index+=t,r},readString:function(t){return n.transformTo("string",this.readData(t))},readData:function(t){},lastIndexOfSignature:function(t){},readAndCheckSignature:function(t){},readDate:function(){var t=this.readInt(4);return new Date(Date.UTC(1980+(t>>25&127),(t>>21&15)-1,t>>16&31,t>>11&31,t>>5&63,(31&t)<<1))}},e.exports=i},{"../utils":32}],19:[function(t,e,r){"use strict";var n=t("./Uint8ArrayReader");function i(t){n.call(this,t)}t("../utils").inherits(i,n),i.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=i},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(t,e,r){"use strict";var n=t("./DataReader");function i(t){n.call(this,t)}t("../utils").inherits(i,n),i.prototype.byteAt=function(t){return this.data.charCodeAt(this.zero+t)},i.prototype.lastIndexOfSignature=function(t){return this.data.lastIndexOf(t)-this.zero},i.prototype.readAndCheckSignature=function(t){return t===this.readData(4)},i.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=i},{"../utils":32,"./DataReader":18}],21:[function(t,e,r){"use strict";var n=t("./ArrayReader");function i(t){n.call(this,t)}t("../utils").inherits(i,n),i.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=i},{"../utils":32,"./ArrayReader":17}],22:[function(t,e,r){"use strict";var n=t("../utils"),i=t("../support"),o=t("./ArrayReader"),a=t("./StringReader"),s=t("./NodeBufferReader"),l=t("./Uint8ArrayReader");e.exports=function(t){var e=n.getTypeOf(t);return n.checkSupport(e),"string"!==e||i.uint8array?"nodebuffer"===e?new s(t):i.uint8array?new l(n.transformTo("uint8array",t)):new o(n.transformTo("array",t)):new a(t)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(t,e,r){"use strict";r.LOCAL_FILE_HEADER="PK",r.CENTRAL_FILE_HEADER="PK",r.CENTRAL_DIRECTORY_END="PK",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",r.ZIP64_CENTRAL_DIRECTORY_END="PK",r.DATA_DESCRIPTOR="PK\b"},{}],24:[function(t,e,r){"use strict";var n=t("./GenericWorker"),i=t("../utils");function o(t){n.call(this,"ConvertWorker to "+t),this.destType=t}i.inherits(o,n),o.prototype.processChunk=function(t){this.push({data:i.transformTo(this.destType,t.data),meta:t.meta})},e.exports=o},{"../utils":32,"./GenericWorker":28}],25:[function(t,e,r){"use strict";var n=t("./GenericWorker"),i=t("../crc32");function o(){n.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}t("../utils").inherits(o,n),o.prototype.processChunk=function(t){this.streamInfo.crc32=i(t.data,this.streamInfo.crc32||0),this.push(t)},e.exports=o},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(t,e,r){"use strict";var n=t("../utils"),i=t("./GenericWorker");function o(t){i.call(this,"DataLengthProbe for "+t),this.propName=t,this.withStreamInfo(t,0)}n.inherits(o,i),o.prototype.processChunk=function(t){var e;t&&(e=this.streamInfo[this.propName]||0,this.streamInfo[this.propName]=e+t.data.length),i.prototype.processChunk.call(this,t)},e.exports=o},{"../utils":32,"./GenericWorker":28}],27:[function(t,e,r){"use strict";var n=t("../utils"),i=t("./GenericWorker");function o(t){i.call(this,"DataWorker");var e=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,t.then(function(t){e.dataIsReady=!0,e.data=t,e.max=t&&t.length||0,e.type=n.getTypeOf(t),e.isPaused||e._tickAndRepeat()},function(t){e.error(t)})}n.inherits(o,i),o.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this.data=null},o.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,n.delay(this._tickAndRepeat,[],this)),!0)},o.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(n.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},o.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var t=null,e=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":t=this.data.substring(this.index,e);break;case"uint8array":t=this.data.subarray(this.index,e);break;case"array":case"nodebuffer":t=this.data.slice(this.index,e)}return this.index=e,this.push({data:t,meta:{percent:this.max?this.index/this.max*100:0}})},e.exports=o},{"../utils":32,"./GenericWorker":28}],28:[function(t,e,r){"use strict";function n(t){this.name=t||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}n.prototype={push:function(t){this.emit("data",t)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(t){this.emit("error",t)}return!0},error:function(t){return!this.isFinished&&(this.isPaused?this.generatedError=t:(this.isFinished=!0,this.emit("error",t),this.previous&&this.previous.error(t),this.cleanUp()),!0)},on:function(t,e){return this._listeners[t].push(e),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(t,e){if(this._listeners[t])for(var r=0;r "+t:t}},e.exports=n},{}],29:[function(t,e,r){"use strict";var h=t("../utils"),i=t("./ConvertWorker"),o=t("./GenericWorker"),c=t("../base64"),n=t("../support"),a=t("../external"),s=null;if(n.nodestream)try{s=t("../nodejs/NodejsStreamOutputAdapter")}catch(t){}function l(t,e,r){var n=e;switch(e){case"blob":case"arraybuffer":n="uint8array";break;case"base64":n="string"}try{this._internalType=n,this._outputType=e,this._mimeType=r,h.checkSupport(n),this._worker=t.pipe(new i(n)),t.lock()}catch(t){this._worker=new o("error"),this._worker.error(t)}}l.prototype={accumulate:function(t){return s=this,l=t,new a.Promise(function(e,r){var n=[],i=s._internalType,o=s._outputType,a=s._mimeType;s.on("data",function(t,e){n.push(t),l&&l(e)}).on("error",function(t){n=[],r(t)}).on("end",function(){try{var t=function(t,e,r){switch(t){case"blob":return h.newBlob(h.transformTo("arraybuffer",e),r);case"base64":return c.encode(e);default:return h.transformTo(t,e)}}(o,function(t,e){for(var r=0,n=null,i=0,o=0;o>>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)},i.utf8decode=function(t){return l.nodebuffer?s.transformTo("nodebuffer",t).toString("utf-8"):function(t){for(var e,r,n,i=t.length,o=new Array(2*i),a=e=0;a>10&1023,o[e++]=56320|1023&r)}return o.length!==e&&(o.subarray?o=o.subarray(0,e):o.length=e),s.applyFromCharCode(o)}(t=s.transformTo(l.uint8array?"uint8array":"array",t))},s.inherits(a,n),a.prototype.processChunk=function(t){var e=s.transformTo(l.uint8array?"uint8array":"array",t.data);this.leftOver&&this.leftOver.length&&(l.uint8array?(n=e,(e=new Uint8Array(n.length+this.leftOver.length)).set(this.leftOver,0),e.set(n,this.leftOver.length)):e=this.leftOver.concat(e),this.leftOver=null);var r=function(t,e){for(var r=(e=(e=e||t.length)>t.length?t.length:e)-1;0<=r&&128==(192&t[r]);)r--;return!(r<0)&&0!==r&&r+h[t[r]]>e?r:e}(e),n=e;r!==e.length&&(l.uint8array?(n=e.subarray(0,r),this.leftOver=e.subarray(r,e.length)):(n=e.slice(0,r),this.leftOver=e.slice(r,e.length))),this.push({data:i.utf8decode(n),meta:t.meta})},a.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:i.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},i.Utf8DecodeWorker=a,s.inherits(c,n),c.prototype.processChunk=function(t){this.push({data:i.utf8encode(t.data),meta:t.meta})},i.Utf8EncodeWorker=c},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(t,e,a){"use strict";var s=t("./support"),l=t("./base64"),r=t("./nodejsUtils"),n=t("set-immediate-shim"),h=t("./external");function i(t){return t}function c(t,e){for(var r=0;r>8;this.dir=!!(16&this.externalFileAttributes),0==t&&(this.dosPermissions=63&this.externalFileAttributes),3==t&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(t){var e;this.extraFields[1]&&(e=n(this.extraFields[1].value),this.uncompressedSize===i.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===i.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===i.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===i.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4)))},readExtraFields:function(t){var e,r,n,i=t.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});t.index+4>>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 c(t,t.length)},r.binstring2buf=function(t){for(var e=new l.Buf8(t.length),r=0,n=e.length;r>10&1023,a[r++]=56320|1023&n)}return c(a,r)},r.utf8border=function(t,e){for(var r=(e=(e=e||t.length)>t.length?t.length:e)-1;0<=r&&128==(192&t[r]);)r--;return!(r<0)&&0!==r&&r+h[t[r]]>e?r:e}},{"./common":41}],43:[function(t,e,r){"use strict";e.exports=function(t,e,r,n){for(var i=65535&t|0,o=t>>>16&65535|0,a=0;0!==r;){for(r-=a=2e3>>1:r>>>1;t[e]=r}return t}();e.exports=function(t,e,r,n){var i=s,o=n+r;t^=-1;for(var a=n;a>>8^i[255&(t^e[a])];return-1^t}},{}],46:[function(t,e,r){"use strict";var s,u=t("../utils/common"),l=t("./trees"),d=t("./adler32"),f=t("./crc32"),n=t("./messages"),h=0,c=0,p=-2,i=2,m=8,o=286,a=30,g=19,w=2*o+1,b=15,y=3,v=258,_=v+y+1,k=42,x=113;function E(t,e){return t.msg=n[e],e}function S(t){return(t<<1)-(4t.avail_out?t.avail_out:r)&&(u.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 B(t,e){l._tr_flush_block(t,0<=t.block_start?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,C(t.strm)}function z(t,e){t.pending_buf[t.pending++]=e}function F(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function P(t,e){var r,n,i=t.max_chain_length,o=t.strstart,a=t.prev_length,s=t.nice_match,l=t.strstart>t.w_size-_?t.strstart-(t.w_size-_):0,h=t.window,c=t.w_mask,u=t.prev,d=t.strstart+v,f=h[o+a-1],p=h[o+a];t.prev_length>=t.good_match&&(i>>=2),s>t.lookahead&&(s=t.lookahead);do{if(h[(r=e)+a]===p&&h[r+a-1]===f&&h[r]===h[o]&&h[++r]===h[o+1]){for(o+=2,r++;h[++o]===h[++r]&&h[++o]===h[++r]&&h[++o]===h[++r]&&h[++o]===h[++r]&&h[++o]===h[++r]&&h[++o]===h[++r]&&h[++o]===h[++r]&&h[++o]===h[++r]&&ol&&0!=--i);return a<=t.lookahead?a:t.lookahead}function T(t){var e,r,n,i,o,a,s,l,h,c=t.w_size;do{if(l=t.window_size-t.lookahead-t.strstart,t.strstart>=c+(c-_)){for(u.arraySet(t.window,t.window,c,c,0),t.match_start-=c,t.strstart-=c,t.block_start-=c,e=r=t.hash_size;n=t.head[--e],t.head[e]=c<=n?n-c:0,--r;);for(e=r=c;n=t.prev[--e],t.prev[e]=c<=n?n-c:0,--r;);l+=c}if(0===t.strm.avail_in)break;if(o=t.strm,a=t.window,s=t.strstart+t.lookahead,h=void 0,r=0===(h=(l=l)<(h=o.avail_in)?l:h)?0:(o.avail_in-=h,u.arraySet(a,o.input,o.next_in,h,s),1===o.state.wrap?o.adler=d(o.adler,a,h,s):2===o.state.wrap&&(o.adler=f(o.adler,a,h,s)),o.next_in+=h,o.total_in+=h,h),t.lookahead+=r,t.lookahead+t.insert>=y)for(i=t.strstart-t.insert,t.ins_h=t.window[i],t.ins_h=(t.ins_h<=y&&(t.ins_h=(t.ins_h<=y)if(n=l._tr_tally(t,t.strstart-t.match_start,t.match_length-y),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=y){for(t.match_length--;t.strstart++,t.ins_h=(t.ins_h<=y&&(t.ins_h=(t.ins_h<=y&&t.match_length<=t.prev_length){for(i=t.strstart+t.lookahead-y,n=l._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-y),t.lookahead-=t.prev_length-1,t.prev_length-=2;++t.strstart<=i&&(t.ins_h=(t.ins_h<t.pending_buf_size-5&&(r=t.pending_buf_size-5);;){if(t.lookahead<=1){if(T(t),0===t.lookahead&&e===h)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+r;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,B(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-_&&(B(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(B(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(B(t,!1),t.strm.avail_out),1)}),new R(4,4,8,4,I),new R(4,5,16,8,I),new R(4,6,32,32,I),new R(4,4,16,16,O),new R(8,16,32,32,O),new R(8,16,128,128,O),new R(8,32,128,256,O),new R(32,128,258,1024,O),new R(32,258,258,4096,O)],r.deflateInit=function(t,e){return U(t,e,m,15,8,0)},r.deflateInit2=U,r.deflateReset=M,r.deflateResetKeep=L,r.deflateSetHeader=function(t,e){return!t||!t.state||2!==t.state.wrap?p:(t.state.gzhead=e,c)},r.deflate=function(t,e){var r,n,i,o;if(!t||!t.state||5>8&255),z(r,r.gzhead.time>>16&255),z(r,r.gzhead.time>>24&255),z(r,9===r.level?2:2<=r.strategy||r.level<2?4:0),z(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(z(r,255&r.gzhead.extra.length),z(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(t.adler=f(t.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(z(r,0),z(r,0),z(r,0),z(r,0),z(r,0),z(r,9===r.level?2:2<=r.strategy||r.level<2?4:0),z(r,3),r.status=x)):(o=m+(r.w_bits-8<<4)<<8,o|=(2<=r.strategy||r.level<2?0:r.level<6?1:6===r.level?2:3)<<6,0!==r.strstart&&(o|=32),o+=31-o%31,r.status=x,F(r,o),0!==r.strstart&&(F(r,t.adler>>>16),F(r,65535&t.adler)),t.adler=1)),69===r.status)if(r.gzhead.extra){for(n=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>n&&(t.adler=f(t.adler,r.pending_buf,r.pending-n,n)),C(t),n=r.pending,r.pending!==r.pending_buf_size));)z(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>n&&(t.adler=f(t.adler,r.pending_buf,r.pending-n,n)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73;if(73===r.status)if(r.gzhead.name){n=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>n&&(t.adler=f(t.adler,r.pending_buf,r.pending-n,n)),C(t),n=r.pending,r.pending===r.pending_buf_size)){i=1;break}}while(i=r.gzindexn&&(t.adler=f(t.adler,r.pending_buf,r.pending-n,n)),0===i&&(r.gzindex=0,r.status=91)}else r.status=91;if(91===r.status)if(r.gzhead.comment){n=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>n&&(t.adler=f(t.adler,r.pending_buf,r.pending-n,n)),C(t),n=r.pending,r.pending===r.pending_buf_size)){i=1;break}}while(i=r.gzindexn&&(t.adler=f(t.adler,r.pending_buf,r.pending-n,n)),0===i&&(r.status=103)}else r.status=103;if(103===r.status&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&C(t),r.pending+2<=r.pending_buf_size&&(z(r,255&t.adler),z(r,t.adler>>8&255),t.adler=0,r.status=x)):r.status=x),0!==r.pending){if(C(t),0===t.avail_out)return r.last_flush=-1,c}else if(0===t.avail_in&&S(e)<=S(a)&&4!==e)return E(t,-5);if(666===r.status&&0!==t.avail_in)return E(t,-5);if(0!==t.avail_in||0!==r.lookahead||e!==h&&666!==r.status){var a=2===r.strategy?function(t,e){for(var r;;){if(0===t.lookahead&&(T(t),0===t.lookahead)){if(e===h)return 1;break}if(t.match_length=0,r=l._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,r&&(B(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(B(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(B(t,!1),0===t.strm.avail_out)?1:2}(r,e):3===r.strategy?function(t,e){for(var r,n,i,o,a=t.window;;){if(t.lookahead<=v){if(T(t),t.lookahead<=v&&e===h)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=y&&0t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=y?(r=l._tr_tally(t,1,t.match_length-y),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(r=l._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),r&&(B(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(B(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(B(t,!1),0===t.strm.avail_out)?1:2}(r,e):s[r.level].func(r,e);if(3!==a&&4!==a||(r.status=666),1===a||3===a)return 0===t.avail_out&&(r.last_flush=-1),c;if(2===a&&(1===e?l._tr_align(r):5!==e&&(l._tr_stored_block(r,0,0,!1),3===e&&(A(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),C(t),0===t.avail_out))return r.last_flush=-1,c}return 4!==e?c:r.wrap<=0?1:(2===r.wrap?(z(r,255&t.adler),z(r,t.adler>>8&255),z(r,t.adler>>16&255),z(r,t.adler>>24&255),z(r,255&t.total_in),z(r,t.total_in>>8&255),z(r,t.total_in>>16&255),z(r,t.total_in>>24&255)):(F(r,t.adler>>>16),F(r,65535&t.adler)),C(t),0=r.w_size&&(0===o&&(A(r.head),r.strstart=0,r.block_start=0,r.insert=0),l=new u.Buf8(r.w_size),u.arraySet(l,e,h-r.w_size,r.w_size,0),e=l,h=r.w_size),a=t.avail_in,s=t.next_in,l=t.input,t.avail_in=h,t.next_in=0,t.input=e,T(r);r.lookahead>=y;){for(n=r.strstart,i=r.lookahead-(y-1);r.ins_h=(r.ins_h<>>=n=r>>>24,k-=n,0==(n=r>>>16&255))f[d++]=65535&r;else{if(!(16&n)){if(0==(64&n)){r=x[(65535&r)+(_&(1<>>=n,k-=n),k<15&&(_+=c[h++]<>>=n=r>>>24,k-=n,!(16&(n=r>>>16&255))){if(0==(64&n)){r=E[(65535&r)+(_&(1<>>=n,k-=n,(n=d-p)>3,_&=(1<<(k-=i<<3))-1,t.next_in=h,t.next_out=d,t.avail_in=h>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function o(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new z.Buf16(320),this.work=new z.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function a(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=D,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new z.Buf32(n),e.distcode=e.distdyn=new z.Buf32(i),e.sane=1,e.back=-1,O):R}function s(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,a(t)):R}function l(t,e){var r,n;return t&&t.state?(n=t.state,e<0?(r=0,e=-e):(r=1+(e>>4),e<48&&(e&=15)),e&&(e<8||15=i.wsize?(z.arraySet(i.window,e,r-i.wsize,i.wsize,0),i.wnext=0,i.whave=i.wsize):(n<(t=i.wsize-i.wnext)&&(t=n),z.arraySet(i.window,e,r-n,t,i.wnext),(n-=t)?(z.arraySet(i.window,e,r-n,n,0),i.wnext=n,i.whave=i.wsize):(i.wnext+=t,i.wnext===i.wsize&&(i.wnext=0),i.whave>>8&255,r.check=P(r.check,C,2,0),c=h=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&h)<<8)+(h>>8))%31){t.msg="incorrect header check",r.mode=30;break}if(8!=(15&h)){t.msg="unknown compression method",r.mode=30;break}if(c-=4,k=8+(15&(h>>>=4)),0===r.wbits)r.wbits=k;else if(k>r.wbits){t.msg="invalid window size",r.mode=30;break}r.dmax=1<>8&1),512&r.flags&&(C[0]=255&h,C[1]=h>>>8&255,r.check=P(r.check,C,2,0)),c=h=0,r.mode=3;case 3:for(;c<32;){if(0===s)break t;s--,h+=n[o++]<>>8&255,C[2]=h>>>16&255,C[3]=h>>>24&255,r.check=P(r.check,C,4,0)),c=h=0,r.mode=4;case 4:for(;c<16;){if(0===s)break t;s--,h+=n[o++]<>8),512&r.flags&&(C[0]=255&h,C[1]=h>>>8&255,r.check=P(r.check,C,2,0)),c=h=0,r.mode=5;case 5:if(1024&r.flags){for(;c<16;){if(0===s)break t;s--,h+=n[o++]<>>8&255,r.check=P(r.check,C,2,0)),c=h=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&((f=s<(f=r.length)?s:f)&&(r.head&&(k=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),z.arraySet(r.head.extra,n,o,f,k)),512&r.flags&&(r.check=P(r.check,n,f,o)),s-=f,o+=f,r.length-=f),r.length))break t;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===s)break t;for(f=0;k=n[o+f++],r.head&&k&&r.length<65536&&(r.head.name+=String.fromCharCode(k)),k&&f>9&1,r.head.done=!0),t.adler=r.check=0,r.mode=12;break;case 10:for(;c<32;){if(0===s)break t;s--,h+=n[o++]<>>=7&c,c-=7&c,r.mode=27;break}for(;c<3;){if(0===s)break t;s--,h+=n[o++]<>>=1)){case 0:r.mode=14;break;case 1:if(function(t){if(j){var e;for(M=new z.Buf32(512),U=new z.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(I(1,t.lens,0,288,M,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;I(2,t.lens,0,32,U,0,t.work,{bits:5}),j=!1}t.lencode=M,t.lenbits=9,t.distcode=U,t.distbits=5}(r),r.mode=20,6!==e)break;h>>>=2,c-=2;break t;case 2:r.mode=17;break;case 3:t.msg="invalid block type",r.mode=30}h>>>=2,c-=2;break;case 14:for(h>>>=7&c,c-=7&c;c<32;){if(0===s)break t;s--,h+=n[o++]<>>16^65535)){t.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&h,c=h=0,r.mode=15,6===e)break t;case 15:r.mode=16;case 16:if(f=r.length){if(0===(f=l<(f=s>>=5,c-=5,r.ndist=1+(31&h),h>>>=5,c-=5,r.ncode=4+(15&h),h>>>=4,c-=4,286>>=3,c-=3}for(;r.have<19;)r.lens[B[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,E={bits:r.lenbits},x=I(0,r.lens,0,19,r.lencode,0,r.work,E),r.lenbits=E.bits,x){t.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have>>16&255,b=65535&A,!((g=A>>>24)<=c);){if(0===s)break t;s--,h+=n[o++]<>>=g,c-=g,r.lens[r.have++]=b;else{if(16===b){for(S=g+2;c>>=g,c-=g,0===r.have){t.msg="invalid bit length repeat",r.mode=30;break}k=r.lens[r.have-1],f=3+(3&h),h>>>=2,c-=2}else if(17===b){for(S=g+3;c>>=g)),h>>>=3,c-=3}else{for(S=g+7;c>>=g)),h>>>=7,c-=7}if(r.have+f>r.nlen+r.ndist){t.msg="invalid bit length repeat",r.mode=30;break}for(;f--;)r.lens[r.have++]=k}}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,E={bits:r.lenbits},x=I(1,r.lens,0,r.nlen,r.lencode,0,r.work,E),r.lenbits=E.bits,x){t.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,E={bits:r.distbits},x=I(2,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,E),r.distbits=E.bits,x){t.msg="invalid distances set",r.mode=30;break}if(r.mode=20,6===e)break t;case 20:r.mode=21;case 21:if(6<=s&&258<=l){t.next_out=a,t.avail_out=l,t.next_in=o,t.avail_in=s,r.hold=h,r.bits=c,T(t,d),a=t.next_out,i=t.output,l=t.avail_out,o=t.next_in,n=t.input,s=t.avail_in,h=r.hold,c=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;w=(A=r.lencode[h&(1<>>16&255,b=65535&A,!((g=A>>>24)<=c);){if(0===s)break t;s--,h+=n[o++]<>y)])>>>16&255,b=65535&A,!(y+(g=A>>>24)<=c);){if(0===s)break t;s--,h+=n[o++]<>>=y,c-=y,r.back+=y}if(h>>>=g,c-=g,r.back+=g,r.length=b,0===w){r.mode=26;break}if(32&w){r.back=-1,r.mode=12;break}if(64&w){t.msg="invalid literal/length code",r.mode=30;break}r.extra=15&w,r.mode=22;case 22:if(r.extra){for(S=r.extra;c>>=r.extra,c-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;w=(A=r.distcode[h&(1<>>16&255,b=65535&A,!((g=A>>>24)<=c);){if(0===s)break t;s--,h+=n[o++]<>y)])>>>16&255,b=65535&A,!(y+(g=A>>>24)<=c);){if(0===s)break t;s--,h+=n[o++]<>>=y,c-=y,r.back+=y}if(h>>>=g,c-=g,r.back+=g,64&w){t.msg="invalid distance code",r.mode=30;break}r.offset=b,r.extra=15&w,r.mode=24;case 24:if(r.extra){for(S=r.extra;c>>=r.extra,c-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){t.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(0===l)break t;if(r.offset>(f=d-l)){if((f=r.offset-f)>r.whave&&r.sane){t.msg="invalid distance too far back",r.mode=30;break}p=f>r.wnext?(f-=r.wnext,r.wsize-f):r.wnext-f,f>r.length&&(f=r.length),m=r.window}else m=i,p=a-r.offset,f=r.length;for(l-=f=lf?(m=T[I+a[y]],B[z+a[y]]):(m=96,0),l=1<<(p=b-E),v=h=1<>E)+(h-=l)]=p<<24|m<<16|g|0,0!==h;);for(l=1<>=1;if(0!==l?(C&=l-1,C+=l):C=0,y++,0==--F[b]){if(b===_)break;b=e[r+a[y]]}if(k>>7)]}function k(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function x(t,e,r){t.bi_valid>o-r?(t.bi_buf|=e<>o-t.bi_valid,t.bi_valid+=r-o):(t.bi_buf|=e<>>=1,r<<=1,0<--e;);return r>>>1}function A(t,e,r){for(var n,i=new Array(16),o=0,a=1;a<=15;a++)i[a]=o=o+r[a-1]<<1;for(n=0;n<=e;n++){var s=t[2*n+1];0!==s&&(t[2*n]=S(i[s]++,s))}}function C(t){for(var 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 B(t){8>1;1<=e;e--)F(t,i,e);for(n=s;e=t.heap[1],t.heap[1]=t.heap[t.heap_len--],F(t,i,1),r=t.heap[1],t.heap[--t.heap_max]=e,t.heap[--t.heap_max]=r,i[2*n]=i[2*e]+i[2*r],t.depth[n]=(t.depth[e]>=t.depth[r]?t.depth[e]:t.depth[r])+1,i[2*e+1]=i[2*r+1]=n,t.heap[1]=n++,F(t,i,1),2<=t.heap_len;);t.heap[--t.heap_max]=t.heap[1],function(t){for(var e,r,n,i,o,a=m.dyn_tree,s=m.max_code,l=m.stat_desc.static_tree,h=m.stat_desc.has_stree,c=m.stat_desc.extra_bits,u=m.stat_desc.extra_base,d=m.stat_desc.max_length,f=0,p=0;p<=15;p++)t.bl_count[p]=0;for(a[2*t.heap[t.heap_max]+1]=0,e=t.heap_max+1;e<573;e++)d<(p=a[2*a[2*(r=t.heap[e])+1]+1]+1)&&(p=d,f++),a[2*r+1]=p,s>=7;o<30;o++)for(b[o]=n<<7,t=0;t<1<>>=1)if(1&e&&0!==t.dyn_ltree[2*r])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(r=32;r<256;r++)if(0!==t.dyn_ltree[2*r])return 1;return 0}(t)),T(t,t.l_desc),T(t,t.d_desc),a=function(t){var e;for(I(t,t.dyn_ltree,t.l_desc.max_code),I(t,t.dyn_dtree,t.d_desc.max_code),T(t,t.bl_desc),e=18;3<=e&&0===t.bl_tree[2*s[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),i=t.opt_len+3+7>>>3,(o=t.static_len+3+7>>>3)<=i&&(i=o)):i=o=r+5,r+4<=i&&-1!==e?D(t,e,r,n):4===t.strategy||o===i?(x(t,2+(n?1:0),3),P(t,c,u)):(x(t,4+(n?1:0),3),function(t,e,r,n){var i;for(x(t,e-257,5),x(t,r-1,5),x(t,n-4,4),i=0;i>>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*_(e)]++),t.last_lit===t.lit_bufsize-1},r._tr_align=function(t){x(t,2,3),E(t,256,c),16===(t=t).bi_valid?(k(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,r){"use strict";e.exports="function"==typeof setImmediate?setImmediate:function(){var t=[].slice.apply(arguments);t.splice(1,0,0),setTimeout.apply(null,t)}},{}]},{},[10])(10)},560:()=>{HTMLCanvasElement.prototype.toBlob||(HTMLCanvasElement.prototype.toBlob=function(i,o,t){var a=this.toDataURL(o,t).split(",")[1];setTimeout(function(){for(var t=atob(a),e=t.length,r=new Uint8Array(e),n=0;n{"use strict";function n(t,e){for(var r=0;rt.length)&&(e=t.length);for(var r=0,n=new Array(e);ra});var o,s,l,h,c,e=(o=["a[href]","area[href]",'input:not([disabled]):not([type="hidden"]):not([aria-hidden])',"select:not([disabled]):not([aria-hidden])","textarea:not([disabled]):not([aria-hidden])","button:not([disabled]):not([aria-hidden])","iframe","object","embed","[contenteditable]",'[tabindex]:not([tabindex^="-"])'],s=function(){function d(t){var e=t.targetModal,r=t.triggers,n=void 0===r?[]:r,i=t.onShow,o=void 0===i?function(){}:i,a=t.onClose,s=void 0===a?function(){}:a,l=t.openTrigger,h=void 0===l?"data-micromodal-trigger":l,c=t.closeTrigger,u=void 0===c?"data-micromodal-close":c,r=t.openClass,i=void 0===r?"is-open":r,a=t.disableScroll,l=void 0!==a&&a,c=t.disableFocus,r=void 0!==c&&c,a=t.awaitCloseAnimation,c=void 0!==a&&a,a=t.awaitOpenAnimation,a=void 0!==a&&a,t=t.debugMode,t=void 0!==t&&t;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,d),this.modal=document.getElementById(e),this.config={debugMode:t,disableScroll:l,openTrigger:h,closeTrigger:u,openClass:i,onShow:o,onClose:s,awaitCloseAnimation:c,awaitOpenAnimation:a,disableFocus:r},0')),!1},c=function(t){if(t.length<=0)return console.warn("MicroModal: ❗Please specify at least one %c'micromodal-trigger'","background-color: #f8f9fa;color: #50596c;font-weight: bold;","data attribute."),console.warn("%cExample:","background-color: #f8f9fa;color: #50596c;font-weight: bold;",''),!1},{init:function(t){var r,n,e=Object.assign({},{openTrigger:"data-micromodal-trigger"},t),t=f(document.querySelectorAll("[".concat(e.openTrigger,"]"))),i=(r=e.openTrigger,n=[],t.forEach(function(t){var e=t.attributes[r].value;void 0===n[e]&&(n[e]=[]),n[e].push(t)}),n);if(!0!==e.debugMode||!1!==function(t,e){if(c(t),!e)return!0;for(var r in e)h(r);return!0}(t,i))for(var o in i){var a=i[o];e.targetModal=o,e.triggers=f(a),l=new s(e)}},show:function(t,e){e=e||{};e.targetModal=t,!0===e.debugMode&&!1===h(t)||(l&&l.removeEventListeners(),(l=new s(e)).showModal())},close:function(t){t?l.closeModalById(t):l.closeModal()}});const a=window.MicroModal=e},57:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>n});const n="(function(b){function a(b,d){if({}.hasOwnProperty.call(a.cache,b))return a.cache[b];var e=a.resolve(b);if(!e)throw new Error('Failed to resolve module '+b);var c={id:b,require:a,filename:b,exports:{},loaded:!1,parent:d,children:[]};d&&d.children.push(c);var f=b.slice(0,b.lastIndexOf('/')+1);return a.cache[b]=c.exports,e.call(c.exports,c,c.exports,f,b),c.loaded=!0,a.cache[b]=c.exports}a.modules={},a.cache={},a.resolve=function(b){return{}.hasOwnProperty.call(a.modules,b)?a.modules[b]:void 0},a.define=function(b,c){a.modules[b]=c},a.define('/gif.worker.coffee',function(d,e,f,g){var b,c;b=a('/GIFEncoder.js',d),c=function(a){var c,e,d,f;return c=new b(a.width,a.height),a.index===0?c.writeHeader():c.firstFrame=!1,c.setTransparent(a.transparent),c.setRepeat(a.repeat),c.setDelay(a.delay),c.setQuality(a.quality),c.addFrame(a.data),a.last&&c.finish(),d=c.stream(),a.data=d.pages,a.cursor=d.cursor,a.pageSize=d.constructor.pageSize,a.canTransfer?(f=function(c){for(var b=0,d=a.data.length;b=c.pageSize&&this.newPage(),this.pages[this.page][this.cursor++]=a},c.prototype.writeUTFBytes=function(b){for(var c=b.length,a=0;a=0&&(this.dispose=a)},b.prototype.setRepeat=function(a){this.repeat=a},b.prototype.setTransparent=function(a){this.transparent=a},b.prototype.addFrame=function(a){this.image=a,this.getImagePixels(),this.analyzePixels(),this.firstFrame&&(this.writeLSD(),this.writePalette(),this.repeat>=0&&this.writeNetscapeExt()),this.writeGraphicCtrlExt(),this.writeImageDesc(),this.firstFrame||this.writePalette(),this.writePixels(),this.firstFrame=!1},b.prototype.finish=function(){this.out.writeByte(59)},b.prototype.setQuality=function(a){a<1&&(a=1),this.sample=a},b.prototype.writeHeader=function(){this.out.writeUTFBytes('GIF89a')},b.prototype.analyzePixels=function(){var g=this.pixels.length,d=g/3;this.indexedPixels=new Uint8Array(d);var a=new f(this.pixels,this.sample);a.buildColormap(),this.colorTab=a.getColormap();var b=0;for(var c=0;c>16,l=(e&65280)>>8,m=e&255,c=0,d=16777216,j=this.colorTab.length;for(var a=0;a=0&&(a=dispose&7),a<<=2,this.out.writeByte(0|a|0|b),this.writeShort(this.delay),this.out.writeByte(this.transIndex),this.out.writeByte(0)},b.prototype.writeImageDesc=function(){this.out.writeByte(44),this.writeShort(0),this.writeShort(0),this.writeShort(this.width),this.writeShort(this.height),this.firstFrame?this.out.writeByte(0):this.out.writeByte(128|this.palSize)},b.prototype.writeLSD=function(){this.writeShort(this.width),this.writeShort(this.height),this.out.writeByte(240|this.palSize),this.out.writeByte(0),this.out.writeByte(0)},b.prototype.writeNetscapeExt=function(){this.out.writeByte(33),this.out.writeByte(255),this.out.writeByte(11),this.out.writeUTFBytes('NETSCAPE2.0'),this.out.writeByte(3),this.out.writeByte(1),this.writeShort(this.repeat),this.out.writeByte(0)},b.prototype.writePalette=function(){this.out.writeBytes(this.colorTab);var b=768-this.colorTab.length;for(var a=0;a>8&255)},b.prototype.writePixels=function(){var a=new g(this.width,this.height,this.indexedPixels,this.colorDepth);a.encode(this.out)},b.prototype.stream=function(){return this.out},e.exports=b}),a.define('/LZWEncoder.js',function(e,g,h,i){function f(y,D,C,B){function w(a,b){r[f++]=a,f>=254&&t(b)}function x(b){u(a),k=i+2,j=!0,l(i,b)}function u(b){for(var a=0;a=0){y=w-d,d===0&&(y=1);do if((d-=y)<0&&(d+=w),h[d]===g){e=n[d];continue a}while(h[d]>=0)}l(e,r),e=t,k<1<0&&(a.writeByte(f),a.writeBytes(r,0,f),f=0)}function p(a){return(1<0?g|=a<=8)w(g&255,c),g>>=8,e-=8;if((k>m||j)&&(j?(m=p(n_bits=q),j=!1):(++n_bits,n_bits==b?m=1<0)w(g&255,c),g>>=8,e-=8;t(c)}}var s=Math.max(2,B),r=new Uint8Array(256),h=new Int32Array(a),n=new Int32Array(a),g,e=0,f,k=0,m,j=!1,q,i,o;this.encode=z}var c=-1,b=12,a=5003,d=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535];e.exports=f}),a.define('/TypedNeuQuant.js',function(A,F,E,D){function C(A,B){function I(){o=[],q=new Int32Array(256),t=new Int32Array(a),y=new Int32Array(a),z=new Int32Array(a>>3);var c,d;for(c=0;c>=b,o[c][1]>>=b,o[c][2]>>=b,o[c][3]=c}function K(b,a,c,e,f){o[a][0]-=b*(o[a][0]-c)/d,o[a][1]-=b*(o[a][1]-e)/d,o[a][2]-=b*(o[a][2]-f)/d}function L(j,e,n,l,k){var h=Math.abs(e-j),i=Math.min(e+j,a),g=e+1,f=e-1,m=1,b,d;while(gh)d=z[m++],gh&&(b=o[f--],b[0]-=d*(b[0]-n)/c,b[1]-=d*(b[1]-l)/c,b[2]-=d*(b[2]-k)/c)}function C(p,s,q){var h=2147483647,k=h,d=-1,m=d,c,j,e,n,l;for(c=0;c>i-b),n>g,y[c]-=l,t[c]+=l<>1,b=f+1;b>1,b=f+1;b<256;b++)q[b]=n}function E(j,i,k){var b,d,c,e=1e3,h=-1,f=q[i],g=f-1;while(f=0)f=e?f=a:(f++,c<0&&(c=-c),b=d[0]-j,b<0&&(b=-b),c+=b,c=0&&(d=o[g],c=i-d[1],c>=e?g=-1:(g--,c<0&&(c=-c),b=d[0]-j,b<0&&(b=-b),c+=b,c>h;for(a<=1&&(a=0),c=0;c=f&&(g-=f),c++,q===0&&(q=1),c%q===0)for(n-=n/D,o-=o/v,a=o>>h,a<=1&&(a=0),e=0;e>g,r=e<>3,h=6,t=1<a[0]&&e[1]{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.css=void 0,e.css='\n/************************** Basic Modal Styles\n**************************/\n\n.modal {\n font-family: -apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica neue,helvetica,ubuntu,roboto,noto,segoe ui,arial,sans-serif;\n}\n\n.modal__overlay {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background: rgba(0,0,0,0.6);\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.modal__container {\n background-color: #fff;\n padding: 30px;\n max-width: 500px;\n max-height: 100vh;\n overflow-y: auto;\n box-sizing: border-box;\n}\n\n.modal__header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n\n.modal__title {\n margin-top: 0;\n margin-bottom: 0;\n font-weight: 600;\n font-size: 1.25rem;\n line-height: 1.25;\n color: #222;\n box-sizing: border-box;\n}\n\n.modal__footer {\n text-align: right;\n}\n\n.modal__footer>.modal__btn {\n margin-right: 8px;\n}\n\n.modal__close {\n background: transparent;\n border: 0;\n}\n\n.modal__header .modal__close:before { content: "✕"; }\n\n.modal__content {\n margin-top: 2rem;\n margin-bottom: 2rem;\n line-height: 1.5;\n color: rgba(0,0,0,.8);\n}\n\n.modal__btn {\n font-size: .875rem;\n padding-left: 1rem;\n padding-right: 1rem;\n padding-top: .5rem;\n padding-bottom: .5rem;\n background-color: #e6e6e6;\n color: rgba(0,0,0,.8);\n border-radius: .25rem;\n border-style: none;\n border-width: 0;\n cursor: pointer;\n -webkit-appearance: button;\n text-transform: none;\n overflow: visible;\n line-height: 1.15;\n margin: 0;\n will-change: transform;\n -moz-osx-font-smoothing: grayscale;\n -webkit-backface-visibility: hidden;\n backface-visibility: hidden;\n -webkit-transform: translateZ(0);\n transform: translateZ(0);\n transition: -webkit-transform .25s ease-out;\n transition: transform .25s ease-out;\n transition: transform .25s ease-out,-webkit-transform .25s ease-out;\n}\n\n.modal__btn:focus, .modal__btn:hover {\n -webkit-transform: scale(1.05);\n transform: scale(1.05);\n}\n\n.modal__btn-primary {\n background-color: #333;\n color: #fff;\n}\n\n\n\n/************************** Demo Animation Style\n**************************/\n@keyframes mmfadeIn {\n from { opacity: 0; }\n to { opacity: 1; }\n}\n\n@keyframes mmfadeOut {\n from { opacity: 1; }\n to { opacity: 0; }\n}\n\n@keyframes mmslideIn {\n from { transform: translateY(15%); }\n to { transform: translateY(0); }\n}\n\n@keyframes mmslideOut {\n from { transform: translateY(0); }\n to { transform: translateY(-10%); }\n}\n\n.micromodal-slide {\n display: none;\n}\n\n.micromodal-slide.is-open {\n display: block;\n}\n\n.micromodal-slide[aria-hidden="false"] .modal__overlay {\n animation: mmfadeIn .3s cubic-bezier(0.0, 0.0, 0.2, 1);\n}\n\n.micromodal-slide[aria-hidden="false"] .modal__container {\n animation: mmslideIn .3s cubic-bezier(0, 0, .2, 1);\n}\n\n.micromodal-slide[aria-hidden="true"] .modal__overlay {\n animation: mmfadeOut .3s cubic-bezier(0.0, 0.0, 0.2, 1);\n}\n\n.micromodal-slide[aria-hidden="true"] .modal__container {\n animation: mmslideOut .3s cubic-bezier(0, 0, .2, 1);\n}\n\n.micromodal-slide .modal__container,\n.micromodal-slide .modal__overlay {\n will-change: transform;\n}\n'},330:function(t,e,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(t){for(var e,r=1,n=arguments.length;r