text: /*! For license information please see 6309.f249455446042f0d8ae6.chunk.js.LICENSE.txt */
  (self.webpackChunkgeonode_mapstore_client=self.webpackChunkgeonode_mapstore_client||[]).push([[6309],{72163:(e,t,r)=>{var n=r(44194);e.exports.$=function(e,t){var r=[],i=0;function s(e){if(t&&!1===t.noDuplicateMembers||!e.__duplicateProperties__||r.push({message:"An object contained duplicate members, making parsing ambigous: "+e.__duplicateProperties__.join(", "),line:e.__line__}),!o(e,"type","string"))if(d[e.type])e&&d[e.type](e);else{var n=p[e.type.toLowerCase()];void 0!==n?r.push({message:"Expected "+n+" but got "+e.type+" (case sensitive)",line:e.__line__}):r.push({message:"The type "+e.type+" is unknown",line:e.__line__})}}function a(e,t){return e.every((function(e){return null!==e&&typeof e===t}))}function o(e,t,n){if(void 0===e[t])return r.push({message:'"'+t+'" member required',line:e.__line__});if("array"===n){if(!Array.isArray(e[t]))return r.push({message:'"'+t+'" member should be an array, but is an '+typeof e[t]+" instead",line:e.__line__})}else{if("object"===n&&e[t]&&"Object"!==e[t].constructor.name)return r.push({message:'"'+t+'" member should be '+n+", but is an "+e[t].constructor.name+" instead",line:e.__line__});if(n&&typeof e[t]!==n)return r.push({message:'"'+t+'" member should be '+n+", but is an "+typeof e[t]+" instead",line:e.__line__})}}function u(e,n){if(!Array.isArray(e))return r.push({message:"position should be an array, is a "+typeof e+" instead",line:e.__line__||n});if(e.length<2)return r.push({message:"position must have 2 or more elements",line:e.__line__||n});if(e.length>3)return r.push({message:"position should not have more than 3 elements",level:"message",line:e.__line__||n});if(!a(e,"number"))return r.push({message:"each element in a position must be a number",line:e.__line__||n});if(t&&t.precisionWarning){if(10===i)return i+=1,r.push({message:"truncated warnings: we've encountered coordinate precision warning 10 times, no more warnings will be reported",level:"message",line:e.__line__||n});i<10&&e.forEach((function(t){var s=0,a=String(t).split(".")[1];if(void 0!==a&&(s=a.length),s>6)return i+=1,r.push({message:"precision of coordinates should be reduced",level:"message",line:e.__line__||n})}))}}function l(e,t,n,i){if(void 0===i&&void 0!==e.__line__&&(i=e.__line__),0===n)return u(e,i);if(1===n&&t)if("LinearRing"===t){if(!Array.isArray(e[e.length-1]))return r.push({message:"a number was found where a coordinate array should have been found: this needs to be nested more deeply",line:i}),!0;if(e.length<4&&r.push({message:"a LinearRing of coordinates needs to have four or more positions",line:i}),e.length&&(e[e.length-1].length!==e[0].length||!e[e.length-1].every((function(t,r){return e[0][r]===t}))))return r.push({message:"the first and last positions in a LinearRing of coordinates must be the same",line:i}),!0}else if("Line"===t&&e.length<2)return r.push({message:"a line needs to have two or more coordinates to be valid",line:i});if(Array.isArray(e))return e.map((function(e){return l(e,t,n-1,e.__line__||i)})).some((function(e){return e}));r.push({message:"a number was found where a coordinate array should have been found: this needs to be nested more deeply",line:i})}function h(e){e.crs&&("object"==typeof e.crs&&e.crs.properties&&"urn:ogc:def:crs:OGC:1.3:CRS84"===e.crs.properties.name?r.push({message:"old-style crs member is not recommended, this object is equivalent to the default and should be removed",line:e.__line__}):r.push({message:"old-style crs member is not recommended",line:e.__line__}))}function c(e){if(e.bbox)return Array.isArray(e.bbox)?(a(e.bbox,"number")||r.push({message:"each element in a bbox member must be a number",line:e.bbox.__line__}),4!==e.bbox.length&&6!==e.bbox.length&&r.push({message:"bbox must contain 4 elements (for 2D) or 6 elements (for 3D)",line:e.bbox.__line__}),r.length):void r.push({message:"bbox member must be an array of numbers, but is a "+typeof e.bbox,line:e.__line__})}function f(e){h(e),c(e),void 0!==e.id&&"string"!=typeof e.id&&"number"!=typeof e.id&&r.push({message:'Feature "id" member must have a string or number value',line:e.__line__}),void 0!==e.features&&r.push({message:'Feature object cannot contain a "features" member',line:e.__line__}),void 0!==e.coordinates&&r.push({message:'Feature object cannot contain a "coordinates" member',line:e.__line__}),"Feature"!==e.type&&r.push({message:"GeoJSON features must have a type=feature member",line:e.__line__}),o(e,"properties","object"),o(e,"geometry","object")||e.geometry&&s(e.geometry)}var d={Point:function(e){var t;h(e),c(e),void 0!==(t=e).properties&&r.push({message:'geometry object cannot contain a "properties" member',line:t.__line__}),void 0!==t.geometry&&r.push({message:'geometry object cannot contain a "geometry" member',line:t.__line__}),void 0!==t.features&&r.push({message:'geometry object cannot contain a "features" member',line:t.__line__}),o(e,"coordinates","array")||u(e.coordinates)},Feature:f,MultiPoint:function(e){h(e),c(e),o(e,"coordinates","array")||l(e.coordinates,"",1)},LineString:function(e){h(e),c(e),o(e,"coordinates","array")||l(e.coordinates,"Line",1)},MultiLineString:function(e){h(e),c(e),o(e,"coordinates","array")||l(e.coordinates,"Line",2)},FeatureCollection:function(e){if(h(e),c(e),void 0!==e.properties&&r.push({message:'FeatureCollection object cannot contain a "properties" member',line:e.__line__}),void 0!==e.coordinates&&r.push({message:'FeatureCollection object cannot contain a "coordinates" member',line:e.__line__}),!o(e,"features","array")){if(!a(e.features,"object"))return r.push({message:"Every feature must be an object",line:e.__line__});e.features.forEach(f)}},GeometryCollection:function(e){h(e),c(e),o(e,"geometries","array")||(a(e.geometries,"object")||r.push({message:"The geometries array in a GeometryCollection must contain only geometry objects",line:e.__line__}),1===e.geometries.length&&r.push({message:"GeometryCollection with a single geometry should be avoided in favor of single part or a single object of multi-part type",line:e.geometries.__line__}),e.geometries.forEach((function(t){t&&("GeometryCollection"===t.type&&r.push({message:"GeometryCollection should avoid nested geometry collections",line:e.geometries.__line__}),s(t))})))},Polygon:function(e){h(e),c(e),o(e,"coordinates","array")||l(e.coordinates,"LinearRing",2)||n(e,r)},MultiPolygon:function(e){h(e),c(e),o(e,"coordinates","array")||l(e.coordinates,"LinearRing",3)||n(e,r)}},p=Object.keys(d).reduce((function(e,t){return e[t.toLowerCase()]=t,e}),{});return"object"!=typeof e||null==e?(r.push({message:"The root of a GeoJSON object must be an object.",line:0}),r):(s(e),r.forEach((function(e){({}).hasOwnProperty.call(e,"line")&&void 0===e.line&&delete e.line})),r)}},44194:e=>{function t(e){return e*Math.PI/180}function r(e){var r=0;if(e.length>2)for(var n,i,s=0;s<e.length-1;s++)n=e[s],r+=t((i=e[s+1])[0]-n[0])*(2+Math.sin(t(n[1]))+Math.sin(t(i[1])));return r>=0}function n(e){if(e&&e.length>0){if(r(e[0]))return!1;if(!e.slice(1,e.length).every(r))return!1}return!0}e.exports=function(e,t){(function(e){return"Polygon"===e.type?n(e.coordinates):"MultiPolygon"===e.type?e.coordinates.every(n):void 0})(e)||t.push({message:"Polygons and MultiPolygons should follow the right-hand rule",level:"message",line:e.__line__})}},89597:(e,t,r)=>{var n=function(){"use strict";var e,t=/\s*/g,n=/^\s*|\s*$/g,i=/\s+/;function s(e){if(!e||!e.length)return 0;for(var t=0,r=0;t<e.length;t++)r=(r<<5)-r+e.charCodeAt(t)|0;return r}function a(e,t){return e.getElementsByTagName(t)}function o(e,t){return e.getAttribute(t)}function u(e,t){return parseFloat(o(e,t))}function l(e,t){var r=a(e,t);return r.length?r[0]:null}function h(e){for(var t=0,r=[];t<e.length;t++)r[t]=parseFloat(e[t]);return r}function c(e){var t;return e&&(t=e).normalize&&t.normalize(),e&&e.textContent||""}function f(e,t){var r,n,i={};for(n=0;n<t.length;n++)(r=l(e,t[n]))&&(i[t[n]]=c(r));return i}function d(e,t){for(var r in t)e[r]=t[r]}function p(e){return h(e.replace(t,"").split(","))}function m(e){for(var t=e.replace(n,"").split(i),r=[],s=0;s<t.length;s++)r.push(p(t[s]));return r}function g(e){var t,r=[u(e,"lon"),u(e,"lat")],n=l(e,"ele"),i=l(e,"gpxtpx:hr")||l(e,"hr"),s=l(e,"time");return n&&(t=parseFloat(c(n)),isNaN(t)||r.push(t)),{coordinates:r,time:s?c(s):null,heartRate:i?parseFloat(c(i)):null}}function _(t){return void 0!==t.xml?t.xml:e.serializeToString(t)}return"undefined"!=typeof XMLSerializer?e=new XMLSerializer:"object"!=typeof process||process.browser||(e=new(r(86799).XMLSerializer)),{kml:function(e){for(var t={type:"FeatureCollection",features:[]},r={},n={},i={},u=["Polygon","LineString","Point","Track","gx:Track"],f=a(e,"Placemark"),d=a(e,"Style"),g=a(e,"StyleMap"),y=0;y<d.length;y++){var v=s(_(d[y])).toString(16);r["#"+o(d[y],"id")]=v,n[v]=d[y]}for(var b=0;b<g.length;b++){r["#"+o(g[b],"id")]=s(_(g[b])).toString(16);for(var w=a(g[b],"Pair"),x={},k=0;k<w.length;k++)x[c(l(w[k],"key"))]=c(l(w[k],"styleUrl"));i["#"+o(g[b],"id")]=x}for(var C=0;C<f.length;C++)t.features=t.features.concat(I(f[C]));function S(e){var t,r;return"#"===(e=e||"").substr(0,1)&&(e=e.substr(1)),6!==e.length&&3!==e.length||(t=e),8===e.length&&(r=parseInt(e.substr(0,2),16)/255,t="#"+e.substr(6,2)+e.substr(4,2)+e.substr(2,2)),[t,isNaN(r)?void 0:r]}function E(e){var t=a(e,"coord"),r=[],n=[];0===t.length&&(t=a(e,"gx:coord"));for(var i=0;i<t.length;i++)r.push(h(c(t[i]).split(" ")));for(var s=a(e,"when"),o=0;o<s.length;o++)n.push(c(s[o]));return{coords:r,times:n}}function A(e){var t,r,n,i,s,o=[],h=[];if(l(e,"MultiGeometry"))return A(l(e,"MultiGeometry"));if(l(e,"MultiTrack"))return A(l(e,"MultiTrack"));if(l(e,"gx:MultiTrack"))return A(l(e,"gx:MultiTrack"));for(n=0;n<u.length;n++)if(r=a(e,u[n]))for(i=0;i<r.length;i++)if(t=r[i],"Point"===u[n])o.push({type:"Point",coordinates:p(c(l(t,"coordinates")))});else if("LineString"===u[n])o.push({type:"LineString",coordinates:m(c(l(t,"coordinates")))});else if("Polygon"===u[n]){var f=a(t,"LinearRing"),d=[];for(s=0;s<f.length;s++)d.push(m(c(l(f[s],"coordinates"))));o.push({type:"Polygon",coordinates:d})}else if("Track"===u[n]||"gx:Track"===u[n]){var g=E(t);o.push({type:"LineString",coordinates:g.coords}),g.times.length&&h.push(g.times)}return{geoms:o,coordTimes:h}}function I(e){var t,s=A(e),u={},h=c(l(e,"name")),f=c(l(e,"address")),d=c(l(e,"styleUrl")),p=c(l(e,"description")),m=l(e,"TimeSpan"),g=l(e,"TimeStamp"),_=l(e,"ExtendedData"),y=l(e,"LineStyle"),v=l(e,"PolyStyle"),b=l(e,"visibility");if(!s.geoms.length)return[];if(h&&(u.name=h),f&&(u.address=f),d){"#"!==d[0]&&(d="#"+d),u.styleUrl=d,r[d]&&(u.styleHash=r[d]),i[d]&&(u.styleMapHash=i[d],u.styleHash=r[i[d].normal]);var w=n[u.styleHash];w&&(y||(y=l(w,"LineStyle")),v||(v=l(w,"PolyStyle")))}if(p&&(u.description=p),m){var x=c(l(m,"begin")),k=c(l(m,"end"));u.timespan={begin:x,end:k}}if(g&&(u.timestamp=c(l(g,"when"))),y){var C=S(c(l(y,"color"))),E=C[0],I=C[1],O=parseFloat(c(l(y,"width")));E&&(u.stroke=E),isNaN(I)||(u["stroke-opacity"]=I),isNaN(O)||(u["stroke-width"]=O)}if(v){var T=S(c(l(v,"color"))),z=T[0],B=T[1],L=c(l(v,"fill")),R=c(l(v,"outline"));z&&(u.fill=z),isNaN(B)||(u["fill-opacity"]=B),L&&(u["fill-opacity"]="1"===L?u["fill-opacity"]||1:0),R&&(u["stroke-opacity"]="1"===R?u["stroke-opacity"]||1:0)}if(_){var D=a(_,"Data"),F=a(_,"SimpleData");for(t=0;t<D.length;t++)u[D[t].getAttribute("name")]=c(l(D[t],"value"));for(t=0;t<F.length;t++)u[F[t].getAttribute("name")]=c(F[t])}b&&(u.visibility=c(b)),s.coordTimes.length&&(u.coordTimes=1===s.coordTimes.length?s.coordTimes[0]:s.coordTimes);var P={type:"Feature",geometry:1===s.geoms.length?s.geoms[0]:{type:"GeometryCollection",geometries:s.geoms},properties:u};return o(e,"id")&&(P.id=o(e,"id")),[P]}return t},gpx:function(e){var t,r,n,i,s=a(e,"trk"),u=a(e,"rte"),h=a(e,"wpt"),p={type:"FeatureCollection",features:[]};for(t=0;t<s.length;t++)(r=_(s[t]))&&p.features.push(r);for(t=0;t<u.length;t++)(r=y(u[t]))&&p.features.push(r);for(t=0;t<h.length;t++)p.features.push((n=h[t],i=void 0,d(i=b(n),f(n,["sym"])),{type:"Feature",properties:i,geometry:{type:"Point",coordinates:g(n).coordinates}}));function m(e,t){var r=a(e,t),n=[],i=[],s=[],o=r.length;if(o<2)return{};for(var u=0;u<o;u++){var l=g(r[u]);n.push(l.coordinates),l.time&&i.push(l.time),l.heartRate&&s.push(l.heartRate)}return{line:n,times:i,heartRates:s}}function _(e){for(var t,r=a(e,"trkseg"),n=[],i=[],s=[],o=0;o<r.length;o++)(t=m(r[o],"trkpt"))&&(t.line&&n.push(t.line),t.times&&t.times.length&&i.push(t.times),t.heartRates&&t.heartRates.length&&s.push(t.heartRates));if(0!==n.length){var u=b(e);return d(u,v(l(e,"extensions"))),i.length&&(u.coordTimes=1===n.length?i[0]:i),s.length&&(u.heartRates=1===n.length?s[0]:s),{type:"Feature",properties:u,geometry:{type:1===n.length?"LineString":"MultiLineString",coordinates:1===n.length?n[0]:n}}}}function y(e){var t=m(e,"rtept");if(t.line){var r=b(e);return d(r,v(l(e,"extensions"))),{type:"Feature",properties:r,geometry:{type:"LineString",coordinates:t.line}}}}function v(e){var t={};if(e){var r=l(e,"line");if(r){var n=c(l(r,"color")),i=parseFloat(c(l(r,"opacity"))),s=parseFloat(c(l(r,"width")));n&&(t.stroke=n),isNaN(i)||(t["stroke-opacity"]=i),isNaN(s)||(t["stroke-width"]=96*s/25.4)}}return t}function b(e){var t=f(e,["name","cmt","desc","type","time","keywords"]),r=a(e,"link");r.length&&(t.links=[]);for(var n,i=0;i<r.length;i++)d(n={href:o(r[i],"href")},f(r[i],["text","type"])),t.links.push(n);return t}return p}}}();e.exports=n},97995:e=>{e.exports=function(e){for(var t=e.split(",")[0].split(":")[1].split(";")[0],r=atob(e.split(",")[1]),n=r.length,i=new window.ArrayBuffer(n),s=new window.Uint8Array(i),a=0;a<n;a++)s[a]=r.charCodeAt(a);return new Blob([s],{type:t})},e.exports.supported=void 0!==window.HTMLCanvasElement&&void 0!==window.atob&&void 0!==window.Blob&&void 0!==window.ArrayBuffer&&void 0!==window.Uint8Array,e.exports.init=function(){if(e.exports.supported){var t=window.HTMLCanvasElement.prototype;!t.toBlob&&t.toDataURL&&(t.toBlob=function(t,r,n){t(e.exports(this.toDataURL(r,n)))})}}},78598:function(e,t,r){var n,i=i||function(e){"use strict";if(!(void 0===e||"undefined"!=typeof navigator&&/MSIE [1-9]\./.test(navigator.userAgent))){var t=e.document,r=function(){return e.URL||e.webkitURL||e},n=t.createElementNS("http://www.w3.org/1999/xhtml","a"),i="download"in n,s=/constructor/i.test(e.HTMLElement)||e.safari,a=/CriOS\/[\d]+/.test(navigator.userAgent),o=function(t){(e.setImmediate||e.setTimeout)((function(){throw t}),0)},u=function(e){setTimeout((function(){"string"==typeof e?r().revokeObjectURL(e):e.remove()}),4e4)},l=function(e){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([String.fromCharCode(65279),e],{type:e.type}):e},h=function(t,h,c){c||(t=l(t));var f,d=this,p="application/octet-stream"===t.type,m=function(){!function(e,t,r){for(var n=(t=[].concat(t)).length;n--;){var i=e["on"+t[n]];if("function"==typeof i)try{i.call(e,e)}catch(e){o(e)}}}(d,"writestart progress write writeend".split(" "))};if(d.readyState=d.INIT,i)return f=r().createObjectURL(t),void setTimeout((function(){var e,t;n.href=f,n.download=h,e=n,t=new MouseEvent("click"),e.dispatchEvent(t),m(),u(f),d.readyState=d.DONE}));!function(){if((a||p&&s)&&e.FileReader){var n=new FileReader;return n.onloadend=function(){var t=a?n.result:n.result.replace(/^data:[^;]*;/,"data:attachment/file;");e.open(t,"_blank")||(e.location.href=t),t=void 0,d.readyState=d.DONE,m()},n.readAsDataURL(t),void(d.readyState=d.INIT)}f||(f=r().createObjectURL(t)),p?e.location.href=f:e.open(f,"_blank")||(e.location.href=f),d.readyState=d.DONE,m(),u(f)}()},c=h.prototype;return"undefined"!=typeof navigator&&navigator.msSaveOrOpenBlob?function(e,t,r){return t=t||e.name||"download",r||(e=l(e)),navigator.msSaveOrOpenBlob(e,t)}:(c.abort=function(){},c.readyState=c.INIT=0,c.WRITING=1,c.DONE=2,c.error=c.onwritestart=c.onprogress=c.onwrite=c.onabort=c.onerror=c.onwriteend=null,function(e,t,r){return new h(e,t||e.name||"download",r)})}}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||this.content);e.exports?e.exports.saveAs=i:null!==r.amdD&&null!==r.amdO&&(void 0===(n=function(){return i}.call(t,r,t,e))||(e.exports=n))},25705:(e,t,r)=>{"use strict";var n,i,s=r.g.MutationObserver||r.g.WebKitMutationObserver;if(s){var a=0,o=new s(c),u=r.g.document.createTextNode("");o.observe(u,{characterData:!0}),n=function(){u.data=a=++a%2}}else if(r.g.setImmediate||void 0===r.g.MessageChannel)n="document"in r.g&&"onreadystatechange"in r.g.document.createElement("script")?function(){var e=r.g.document.createElement("script");e.onreadystatechange=function(){c(),e.onreadystatechange=null,e.parentNode.removeChild(e),e=null},r.g.document.documentElement.appendChild(e)}:function(){setTimeout(c,0)};else{var l=new r.g.MessageChannel;l.port1.onmessage=c,n=function(){l.port2.postMessage(0)}}var h=[];function c(){var e,t;i=!0;for(var r=h.length;r;){for(t=h,h=[],e=-1;++e<r;)t[e]();r=h.length}i=!1}e.exports=function(e){1!==h.push(e)||i||n()}},78458:(e,t,r)=>{"use strict";var n=r(58910),i=r(53790),s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";t.encode=function(e){for(var t,r,i,a,o,u,l,h=[],c=0,f=e.length,d=f,p="string"!==n.getTypeOf(e);c<e.length;)d=f-c,p?(t=e[c++],r=c<f?e[c++]:0,i=c<f?e[c++]:0):(t=e.charCodeAt(c++),r=c<f?e.charCodeAt(c++):0,i=c<f?e.charCodeAt(c++):0),a=t>>2,o=(3&t)<<4|r>>4,u=d>1?(15&r)<<2|i>>6:64,l=d>2?63&i:64,h.push(s.charAt(a)+s.charAt(o)+s.charAt(u)+s.charAt(l));return h.join("")},t.decode=function(e){var t,r,n,a,o,u,l=0,h=0,c="data:";if(e.substr(0,c.length)===c)throw new Error("Invalid base64 input, it looks like a data url.");var f,d=3*(e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"")).length/4;if(e.charAt(e.length-1)===s.charAt(64)&&d--,e.charAt(e.length-2)===s.charAt(64)&&d--,d%1!=0)throw new Error("Invalid base64 input, bad content length.");for(f=i.uint8array?new Uint8Array(0|d):new Array(0|d);l<e.length;)t=s.indexOf(e.charAt(l++))<<2|(a=s.indexOf(e.charAt(l++)))>>4,r=(15&a)<<4|(o=s.indexOf(e.charAt(l++)))>>2,n=(3&o)<<6|(u=s.indexOf(e.charAt(l++))),f[h++]=t,64!==o&&(f[h++]=r),64!==u&&(f[h++]=n);return f}},37326:(e,t,r)=>{"use strict";var n=r(38565),i=r(5301),s=r(95977),a=r(22541);function o(e,t,r,n,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=r,this.compression=n,this.compressedContent=i}s=r(95977),o.prototype={getContentWorker:function(){var e=new i(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new s("data_length")),t=this;return e.on("end",(function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),e},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)}},o.createWorkerFrom=function(e,t,r){return e.pipe(new a).pipe(new s("uncompressedSize")).pipe(t.compressWorker(r)).pipe(new s("compressedSize")).withStreamInfo("compression",t)},e.exports=o},61678:(e,t,r)=>{"use strict";var n=r(43718);t.STORE={magic:"\0\0",compressWorker:function(e){return new n("STORE compression")},uncompressWorker:function(){return new n("STORE decompression")}},t.DEFLATE=r(51033)},86988:(e,t,r)=>{"use strict";var n=r(58910),i=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();e.exports=function(e,t){return void 0!==e&&e.length?"string"!==n.getTypeOf(e)?function(e,t,r,n){var s=i,a=0+r;e^=-1;for(var o=0;o<a;o++)e=e>>>8^s[255&(e^t[o])];return-1^e}(0|t,e,e.length):function(e,t,r,n){var s=i,a=0+r;e^=-1;for(var o=0;o<a;o++)e=e>>>8^s[255&(e^t.charCodeAt(o))];return-1^e}(0|t,e,e.length):0}},26032:(e,t)=>{"use strict";t.base64=!1,t.binary=!1,t.dir=!1,t.createFolders=!0,t.date=null,t.compression=null,t.compressionOptions=null,t.comment=null,t.unixPermissions=null,t.dosPermissions=null},38565:(e,t,r)=>{"use strict";var n;n="undefined"!=typeof Promise?Promise:r(61883),e.exports={Promise:n}},51033:(e,t,r)=>{"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,i=r(99591),s=r(58910),a=r(43718),o=n?"uint8array":"array";function u(e,t){a.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}t.magic="\b\0",s.inherits(u,a),u.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(s.transformTo(o,e.data),!1)},u.prototype.flush=function(){a.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},u.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this._pako=null},u.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})}},t.compressWorker=function(e){return new u("Deflate",e)},t.uncompressWorker=function(){return new u("Inflate",{})}},4979:(e,t,r)=>{"use strict";var n=r(58910),i=r(43718),s=r(83600),a=r(86988),o=r(71141),u=function(e,t){var r,n="";for(r=0;r<t;r++)n+=String.fromCharCode(255&e),e>>>=8;return n},l=function(e,t,r,i,l,h){var c,f,d=e.file,p=e.compression,m=h!==s.utf8encode,g=n.transformTo("string",h(d.name)),_=n.transformTo("string",s.utf8encode(d.name)),y=d.comment,v=n.transformTo("string",h(y)),b=n.transformTo("string",s.utf8encode(y)),w=_.length!==d.name.length,x=b.length!==y.length,k="",C="",S="",E=d.dir,A=d.date,I={crc32:0,compressedSize:0,uncompressedSize:0};t&&!r||(I.crc32=e.crc32,I.compressedSize=e.compressedSize,I.uncompressedSize=e.uncompressedSize);var O=0;t&&(O|=8),m||!w&&!x||(O|=2048);var T,z,B=0,L=0;E&&(B|=16),"UNIX"===l?(L=798,B|=(z=T=d.unixPermissions,T||(z=E?16893:33204),(65535&z)<<16)):(L=20,B|=63&(d.dosPermissions||0)),c=A.getUTCHours(),c<<=6,c|=A.getUTCMinutes(),c<<=5,c|=A.getUTCSeconds()/2,f=A.getUTCFullYear()-1980,f<<=4,f|=A.getUTCMonth()+1,f<<=5,f|=A.getUTCDate(),w&&(C=u(1,1)+u(a(g),4)+_,k+="up"+u(C.length,2)+C),x&&(S=u(1,1)+u(a(v),4)+b,k+="uc"+u(S.length,2)+S);var R="";return R+="\n\0",R+=u(O,2),R+=p.magic,R+=u(c,2),R+=u(f,2),R+=u(I.crc32,4),R+=u(I.compressedSize,4),R+=u(I.uncompressedSize,4),R+=u(g.length,2),R+=u(k.length,2),{fileRecord:o.LOCAL_FILE_HEADER+R+g+k,dirRecord:o.CENTRAL_FILE_HEADER+u(L,2)+R+u(v.length,2)+"\0\0\0\0"+u(B,4)+u(i,4)+g+k+v}},h=function(e){return o.DATA_DESCRIPTOR+u(e.crc32,4)+u(e.compressedSize,4)+u(e.uncompressedSize,4)};function c(e,t,r,n){i.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=r,this.encodeFileName=n,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}n.inherits(c,i),c.prototype.push=function(e){var t=e.meta.percent||0,r=this.entriesCount,n=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,i.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:r?(t+100*(r-n-1))/r:100}}))},c.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var r=l(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},c.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,r=l(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),t)this.push({data:h(e),meta:{percent:100}});else for(this.push({data:r.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},c.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});var r=this.bytesWritten-e,i=function(e,t,r,i,s){var a=n.transformTo("string",s(i));return o.CENTRAL_DIRECTORY_END+"\0\0\0\0"+u(e,2)+u(e,2)+u(t,4)+u(r,4)+u(a.length,2)+a}(this.dirRecords.length,r,e,this.zipComment,this.encodeFileName);this.push({data:i,meta:{percent:100}})},c.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},c.prototype.registerPrevious=function(e){this._sources.push(e);var t=this;return e.on("data",(function(e){t.processChunk(e)})),e.on("end",(function(){t.closedSource(t.previous.streamInfo),t._sources.length?t.prepareNextSource():t.end()})),e.on("error",(function(e){t.error(e)})),this},c.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))},c.prototype.error=function(e){var t=this._sources;if(!i.prototype.error.call(this,e))return!1;for(var r=0;r<t.length;r++)try{t[r].error(e)}catch(e){}return!0},c.prototype.lock=function(){i.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()},e.exports=c},37834:(e,t,r)=>{"use strict";var n=r(61678),i=r(4979);t.generateWorker=function(e,t,r){var s=new i(t.streamFiles,r,t.platform,t.encodeFileName),a=0;try{e.forEach((function(e,r){a++;var i=function(e,t){var r=e||t,i=n[r];if(!i)throw new Error(r+" is not a valid compression method !");return i}(r.options.compression,t.compression),o=r.options.compressionOptions||t.compressionOptions||{},u=r.dir,l=r.date;r._compressWorker(i,o).withStreamInfo("file",{name:e,dir:u,date:l,comment:r.comment||"",unixPermissions:r.unixPermissions,dosPermissions:r.dosPermissions}).pipe(s)})),s.entriesCount=a}catch(e){s.error(e)}return s}},66085:(e,t,r)=>{"use strict";function n(){if(!(this instanceof n))return new n;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files={},this.comment=null,this.root="",this.clone=function(){var e=new n;for(var t in this)"function"!=typeof this[t]&&(e[t]=this[t]);return e}}n.prototype=r(17132),n.prototype.loadAsync=r(81062),n.support=r(53790),n.defaults=r(26032),n.version="3.1.5",n.loadAsync=function(e,t){return(new n).loadAsync(e,t)},n.external=r(38565),e.exports=n},81062:(e,t,r)=>{"use strict";var n=r(58910),i=r(38565),s=r(83600),a=(n=r(58910),r(6624)),o=r(22541),u=r(72182);function l(e){return new i.Promise((function(t,r){var n=e.decompressed.getContentWorker().pipe(new o);n.on("error",(function(e){r(e)})).on("end",(function(){n.streamInfo.crc32!==e.decompressed.crc32?r(new Error("Corrupted zip : CRC32 mismatch")):t()})).resume()}))}e.exports=function(e,t){var r=this;return t=n.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:s.utf8decode}),u.isNode&&u.isStream(e)?i.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):n.prepareContent("the loaded zip file",e,!0,t.optimizedBinaryString,t.base64).then((function(e){var r=new a(t);return r.load(e),r})).then((function(e){var r=[i.Promise.resolve(e)],n=e.files;if(t.checkCRC32)for(var s=0;s<n.length;s++)r.push(l(n[s]));return i.Promise.all(r)})).then((function(e){for(var n=e.shift(),i=n.files,s=0;s<i.length;s++){var a=i[s];r.file(a.fileNameStr,a.decompressed,{binary:!0,optimizedBinaryString:!0,date:a.date,dir:a.dir,comment:a.fileCommentStr.length?a.fileCommentStr:null,unixPermissions:a.unixPermissions,dosPermissions:a.dosPermissions,createFolders:t.createFolders})}return n.zipComment.length&&(r.comment=n.zipComment),r}))}},660:(e,t,r)=>{"use strict";var n=r(58910),i=r(43718);function s(e,t){i.call(this,"Nodejs stream input adapter for "+e),this._upstreamEnded=!1,this._bindStream(t)}n.inherits(s,i),s.prototype._bindStream=function(e){var t=this;this._stream=e,e.pause(),e.on("data",(function(e){t.push({data:e,meta:{percent:0}})})).on("error",(function(e){t.isPaused?this.generatedError=e:t.error(e)})).on("end",(function(){t.isPaused?t._upstreamEnded=!0:t.end()}))},s.prototype.pause=function(){return!!i.prototype.pause.call(this)&&(this._stream.pause(),!0)},s.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},e.exports=s},31220:(e,t,r)=>{"use strict";var n=r(10749).Readable;function i(e,t,r){n.call(this,t),this._helper=e;var i=this;e.on("data",(function(e,t){i.push(e)||i._helper.pause(),r&&r(t)})).on("error",(function(e){i.emit("error",e)})).on("end",(function(){i.push(null)}))}r(58910).inherits(i,n),i.prototype._read=function(){this._helper.resume()},e.exports=i},72182:(e,t,r)=>{"use strict";var n=r(48764).Buffer;e.exports={isNode:void 0!==n,newBufferFrom:function(e,t){return new n(e,t)},allocBuffer:function(e){return n.alloc?n.alloc(e):new n(e)},isBuffer:function(e){return n.isBuffer(e)},isStream:function(e){return e&&"function"==typeof e.on&&"function"==typeof e.pause&&"function"==typeof e.resume}}},17132:(e,t,r)=>{"use strict";var n=r(83600),i=r(58910),s=r(43718),a=r(35758),o=r(26032),u=r(37326),l=r(46859),h=r(37834),c=r(72182),f=r(660),d=function(e,t,r){var n,a=i.getTypeOf(t),h=i.extend(r||{},o);h.date=h.date||new Date,null!==h.compression&&(h.compression=h.compression.toUpperCase()),"string"==typeof h.unixPermissions&&(h.unixPermissions=parseInt(h.unixPermissions,8)),h.unixPermissions&&16384&h.unixPermissions&&(h.dir=!0),h.dosPermissions&&16&h.dosPermissions&&(h.dir=!0),h.dir&&(e=m(e)),h.createFolders&&(n=p(e))&&g.call(this,n,!0);var d="string"===a&&!1===h.binary&&!1===h.base64;r&&void 0!==r.binary||(h.binary=!d),(t instanceof u&&0===t.uncompressedSize||h.dir||!t||0===t.length)&&(h.base64=!1,h.binary=!0,t="",h.compression="STORE",a="string");var _;_=t instanceof u||t instanceof s?t:c.isNode&&c.isStream(t)?new f(e,t):i.prepareContent(e,t,h.binary,h.optimizedBinaryString,h.base64);var y=new l(e,_,h);this.files[e]=y},p=function(e){"/"===e.slice(-1)&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return t>0?e.substring(0,t):""},m=function(e){return"/"!==e.slice(-1)&&(e+="/"),e},g=function(e,t){return t=void 0!==t?t:o.createFolders,e=m(e),this.files[e]||d.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function _(e){return"[object RegExp]"===Object.prototype.toString.call(e)}var y={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(e){var t,r,n;for(t in this.files)this.files.hasOwnProperty(t)&&(n=this.files[t],(r=t.slice(this.root.length,t.length))&&t.slice(0,this.root.length)===this.root&&e(r,n))},filter:function(e){var t=[];return this.forEach((function(r,n){e(r,n)&&t.push(n)})),t},file:function(e,t,r){if(1===arguments.length){if(_(e)){var n=e;return this.filter((function(e,t){return!t.dir&&n.test(e)}))}var i=this.files[this.root+e];return i&&!i.dir?i:null}return e=this.root+e,d.call(this,e,t,r),this},folder:function(e){if(!e)return this;if(_(e))return this.filter((function(t,r){return r.dir&&e.test(t)}));var t=this.root+e,r=g.call(this,t),n=this.clone();return n.root=r.name,n},remove:function(e){e=this.root+e;var t=this.files[e];if(t||("/"!==e.slice(-1)&&(e+="/"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(var r=this.filter((function(t,r){return r.name.slice(0,e.length)===e})),n=0;n<r.length;n++)delete this.files[r[n].name];return this},generate:function(e){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(e){var t,r={};try{if((r=i.extend(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:n.utf8encode})).type=r.type.toLowerCase(),r.compression=r.compression.toUpperCase(),"binarystring"===r.type&&(r.type="string"),!r.type)throw new Error("No output type specified.");i.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 o=r.comment||this.comment||"";t=h.generateWorker(this,r,o)}catch(e){(t=new s("error")).error(e)}return new a(t,r.type||"string",r.mimeType)},generateAsync:function(e,t){return this.generateInternalStream(e).accumulate(t)},generateNodeStream:function(e,t){return(e=e||{}).type||(e.type="nodebuffer"),this.generateInternalStream(e).toNodejsStream(t)}};e.exports=y},10749:(e,t,r)=>{e.exports=r(53086)},22370:(e,t,r)=>{"use strict";var n=r(28542);function i(e){n.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=255&e[t]}r(58910).inherits(i,n),i.prototype.byteAt=function(e){return this.data[this.zero+e]},i.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),r=e.charCodeAt(1),n=e.charCodeAt(2),i=e.charCodeAt(3),s=this.length-4;s>=0;--s)if(this.data[s]===t&&this.data[s+1]===r&&this.data[s+2]===n&&this.data[s+3]===i)return s-this.zero;return-1},i.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1),n=e.charCodeAt(2),i=e.charCodeAt(3),s=this.readData(4);return t===s[0]&&r===s[1]&&n===s[2]&&i===s[3]},i.prototype.readData=function(e){if(this.checkOffset(e),0===e)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},e.exports=i},28542:(e,t,r)=>{"use strict";var n=r(58910);function i(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}i.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(e){},readInt:function(e){var t,r=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)r=(r<<8)+this.byteAt(t);return this.index+=e,r},readString:function(e){return n.transformTo("string",this.readData(e))},readData:function(e){},lastIndexOfSignature:function(e){},readAndCheckSignature:function(e){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},e.exports=i},69583:(e,t,r)=>{"use strict";var n=r(70414);function i(e){n.call(this,e)}r(58910).inherits(i,n),i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},e.exports=i},9226:(e,t,r)=>{"use strict";var n=r(28542);function i(e){n.call(this,e)}r(58910).inherits(i,n),i.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},i.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},i.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},e.exports=i},70414:(e,t,r)=>{"use strict";var n=r(22370);function i(e){n.call(this,e)}r(58910).inherits(i,n),i.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},e.exports=i},78435:(e,t,r)=>{"use strict";var n=r(58910),i=r(53790),s=r(22370),a=r(9226),o=r(69583),u=r(70414);e.exports=function(e){var t=n.getTypeOf(e);return n.checkSupport(t),"string"!==t||i.uint8array?"nodebuffer"===t?new o(e):i.uint8array?new u(n.transformTo("uint8array",e)):new s(n.transformTo("array",e)):new a(e)}},71141:(e,t)=>{"use strict";t.LOCAL_FILE_HEADER="PK",t.CENTRAL_FILE_HEADER="PK",t.CENTRAL_DIRECTORY_END="PK",t.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",t.ZIP64_CENTRAL_DIRECTORY_END="PK",t.DATA_DESCRIPTOR="PK\b"},64293:(e,t,r)=>{"use strict";var n=r(43718),i=r(58910);function s(e){n.call(this,"ConvertWorker to "+e),this.destType=e}i.inherits(s,n),s.prototype.processChunk=function(e){this.push({data:i.transformTo(this.destType,e.data),meta:e.meta})},e.exports=s},22541:(e,t,r)=>{"use strict";var n=r(43718),i=r(86988);function s(){n.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}r(58910).inherits(s,n),s.prototype.processChunk=function(e){this.streamInfo.crc32=i(e.data,this.streamInfo.crc32||0),this.push(e)},e.exports=s},95977:(e,t,r)=>{"use strict";var n=r(58910),i=r(43718);function s(e){i.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}n.inherits(s,i),s.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}i.prototype.processChunk.call(this,e)},e.exports=s},5301:(e,t,r)=>{"use strict";var n=r(58910),i=r(43718);function s(e){i.call(this,"DataWorker");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then((function(e){t.dataIsReady=!0,t.data=e,t.max=e&&e.length||0,t.type=n.getTypeOf(e),t.isPaused||t._tickAndRepeat()}),(function(e){t.error(e)}))}n.inherits(s,i),s.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this.data=null},s.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,n.delay(this._tickAndRepeat,[],this)),!0)},s.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(n.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},s.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,t);break;case"uint8array":e=this.data.subarray(this.index,t);break;case"array":case"nodebuffer":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},e.exports=s},43718:e=>{"use strict";function t(e){this.name=e||"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}t.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var r=0;r<this._listeners[e].length;r++)this._listeners[e][r].call(this,t)},pipe:function(e){return e.registerPrevious(this)},registerPrevious:function(e){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var t=this;return e.on("data",(function(e){t.processChunk(e)})),e.on("end",(function(){t.end()})),e.on("error",(function(e){t.error(e)})),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;this.isPaused=!1;var e=!1;return this.generatedError&&(this.error(this.generatedError),e=!0),this.previous&&this.previous.resume(),!e},flush:function(){},processChunk:function(e){this.push(e)},withStreamInfo:function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var e in this.extraStreamInfo)this.extraStreamInfo.hasOwnProperty(e)&&(this.streamInfo[e]=this.extraStreamInfo[e])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var e="Worker "+this.name;return this.previous?this.previous+" -> "+e:e}},e.exports=t},35758:(e,t,r)=>{"use strict";var n=r(48764).Buffer,i=r(58910),s=r(64293),a=r(43718),o=r(78458),u=r(53790),l=r(38565),h=null;if(u.nodestream)try{h=r(31220)}catch(e){}function c(e,t,r){var n=t;switch(t){case"blob":case"arraybuffer":n="uint8array";break;case"base64":n="string"}try{this._internalType=n,this._outputType=t,this._mimeType=r,i.checkSupport(n),this._worker=e.pipe(new s(n)),e.lock()}catch(e){this._worker=new a("error"),this._worker.error(e)}}c.prototype={accumulate:function(e){return t=this,r=e,new l.Promise((function(e,s){var a=[],u=t._internalType,l=t._outputType,h=t._mimeType;t.on("data",(function(e,t){a.push(e),r&&r(t)})).on("error",(function(e){a=[],s(e)})).on("end",(function(){try{var t=function(e,t,r){switch(e){case"blob":return i.newBlob(i.transformTo("arraybuffer",t),r);case"base64":return o.encode(t);default:return i.transformTo(e,t)}}(l,function(e,t){var r,i=0,s=null,a=0;for(r=0;r<t.length;r++)a+=t[r].length;switch(e){case"string":return t.join("");case"array":return Array.prototype.concat.apply([],t);case"uint8array":for(s=new Uint8Array(a),r=0;r<t.length;r++)s.set(t[r],i),i+=t[r].length;return s;case"nodebuffer":return n.concat(t);default:throw new Error("concat : unsupported type '"+e+"'")}}(u,a),h);e(t)}catch(e){s(e)}a=[]})).resume()}));var t,r},on:function(e,t){var r=this;return"data"===e?this._worker.on(e,(function(e){t.call(r,e.data,e.meta)})):this._worker.on(e,(function(){i.delay(t,arguments,r)})),this},resume:function(){return i.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(i.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new h(this,{objectMode:"nodebuffer"!==this._outputType},e)}},e.exports=c},53790:(e,t,r)=>{"use strict";var n=r(48764).Buffer;if(t.base64=!0,t.array=!0,t.string=!0,t.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,t.nodebuffer=void 0!==n,t.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)t.blob=!1;else{var i=new ArrayBuffer(0);try{t.blob=0===new Blob([i],{type:"application/zip"}).size}catch(e){try{var s=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);s.append(i),t.blob=0===s.getBlob("application/zip").size}catch(e){t.blob=!1}}}try{t.nodestream=!!r(10749).Readable}catch(e){t.nodestream=!1}},83600:(e,t,r)=>{"use strict";for(var n=r(58910),i=r(53790),s=r(72182),a=r(43718),o=new Array(256),u=0;u<256;u++)o[u]=u>=252?6:u>=248?5:u>=240?4:u>=224?3:u>=192?2:1;function l(){a.call(this,"utf-8 decode"),this.leftOver=null}function h(){a.call(this,"utf-8 encode")}o[254]=o[254]=1,t.utf8encode=function(e){return i.nodebuffer?s.newBufferFrom(e,"utf-8"):function(e){var t,r,n,s,a,o=e.length,u=0;for(s=0;s<o;s++)55296==(64512&(r=e.charCodeAt(s)))&&s+1<o&&56320==(64512&(n=e.charCodeAt(s+1)))&&(r=65536+(r-55296<<10)+(n-56320),s++),u+=r<128?1:r<2048?2:r<65536?3:4;for(t=i.uint8array?new Uint8Array(u):new Array(u),a=0,s=0;a<u;s++)55296==(64512&(r=e.charCodeAt(s)))&&s+1<o&&56320==(64512&(n=e.charCodeAt(s+1)))&&(r=65536+(r-55296<<10)+(n-56320),s++),r<128?t[a++]=r:r<2048?(t[a++]=192|r>>>6,t[a++]=128|63&r):r<65536?(t[a++]=224|r>>>12,t[a++]=128|r>>>6&63,t[a++]=128|63&r):(t[a++]=240|r>>>18,t[a++]=128|r>>>12&63,t[a++]=128|r>>>6&63,t[a++]=128|63&r);return t}(e)},t.utf8decode=function(e){return i.nodebuffer?n.transformTo("nodebuffer",e).toString("utf-8"):function(e){var t,r,i,s,a=e.length,u=new Array(2*a);for(r=0,t=0;t<a;)if((i=e[t++])<128)u[r++]=i;else if((s=o[i])>4)u[r++]=65533,t+=s-1;else{for(i&=2===s?31:3===s?15:7;s>1&&t<a;)i=i<<6|63&e[t++],s--;s>1?u[r++]=65533:i<65536?u[r++]=i:(i-=65536,u[r++]=55296|i>>10&1023,u[r++]=56320|1023&i)}return u.length!==r&&(u.subarray?u=u.subarray(0,r):u.length=r),n.applyFromCharCode(u)}(e=n.transformTo(i.uint8array?"uint8array":"array",e))},n.inherits(l,a),l.prototype.processChunk=function(e){var r=n.transformTo(i.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(i.uint8array){var s=r;(r=new Uint8Array(s.length+this.leftOver.length)).set(this.leftOver,0),r.set(s,this.leftOver.length)}else r=this.leftOver.concat(r);this.leftOver=null}var a=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;r>=0&&128==(192&e[r]);)r--;return r<0||0===r?t:r+o[e[r]]>t?r:t}(r),u=r;a!==r.length&&(i.uint8array?(u=r.subarray(0,a),this.leftOver=r.subarray(a,r.length)):(u=r.slice(0,a),this.leftOver=r.slice(a,r.length))),this.push({data:t.utf8decode(u),meta:e.meta})},l.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:t.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},t.Utf8DecodeWorker=l,n.inherits(h,a),h.prototype.processChunk=function(e){this.push({data:t.utf8encode(e.data),meta:e.meta})},t.Utf8EncodeWorker=h},58910:(e,t,r)=>{"use strict";var n=r(53790),i=r(78458),s=r(72182),a=r(47326),o=r(38565);function u(e){return e}function l(e,t){for(var r=0;r<e.length;++r)t[r]=255&e.charCodeAt(r);return t}t.newBlob=function(e,r){t.checkSupport("blob");try{return new Blob([e],{type:r})}catch(t){try{var n=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return n.append(e),n.getBlob(r)}catch(e){throw new Error("Bug : can't construct the Blob.")}}};var h={stringifyByChunk:function(e,t,r){var n=[],i=0,s=e.length;if(s<=r)return String.fromCharCode.apply(null,e);for(;i<s;)"array"===t||"nodebuffer"===t?n.push(String.fromCharCode.apply(null,e.slice(i,Math.min(i+r,s)))):n.push(String.fromCharCode.apply(null,e.subarray(i,Math.min(i+r,s)))),i+=r;return n.join("")},stringifyByChar:function(e){for(var t="",r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t},applyCanBeUsed:{uint8array:function(){try{return n.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(e){return!1}}(),nodebuffer:function(){try{return n.nodebuffer&&1===String.fromCharCode.apply(null,s.allocBuffer(1)).length}catch(e){return!1}}()}};function c(e){var r=65536,n=t.getTypeOf(e),i=!0;if("uint8array"===n?i=h.applyCanBeUsed.uint8array:"nodebuffer"===n&&(i=h.applyCanBeUsed.nodebuffer),i)for(;r>1;)try{return h.stringifyByChunk(e,n,r)}catch(e){r=Math.floor(r/2)}return h.stringifyByChar(e)}function f(e,t){for(var r=0;r<e.length;r++)t[r]=e[r];return t}t.applyFromCharCode=c;var d={};d.string={string:u,array:function(e){return l(e,new Array(e.length))},arraybuffer:function(e){return d.string.uint8array(e).buffer},uint8array:function(e){return l(e,new Uint8Array(e.length))},nodebuffer:function(e){return l(e,s.allocBuffer(e.length))}},d.array={string:c,array:u,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return s.newBufferFrom(e)}},d.arraybuffer={string:function(e){return c(new Uint8Array(e))},array:function(e){return f(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:u,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return s.newBufferFrom(new Uint8Array(e))}},d.uint8array={string:c,array:function(e){return f(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:u,nodebuffer:function(e){return s.newBufferFrom(e)}},d.nodebuffer={string:c,array:function(e){return f(e,new Array(e.length))},arraybuffer:function(e){return d.nodebuffer.uint8array(e).buffer},uint8array:function(e){return f(e,new Uint8Array(e.length))},nodebuffer:u},t.transformTo=function(e,r){if(r||(r=""),!e)return r;t.checkSupport(e);var n=t.getTypeOf(r);return d[n][e](r)},t.getTypeOf=function(e){return"string"==typeof e?"string":"[object Array]"===Object.prototype.toString.call(e)?"array":n.nodebuffer&&s.isBuffer(e)?"nodebuffer":n.uint8array&&e instanceof Uint8Array?"uint8array":n.arraybuffer&&e instanceof ArrayBuffer?"arraybuffer":void 0},t.checkSupport=function(e){if(!n[e.toLowerCase()])throw new Error(e+" is not supported by this platform")},t.MAX_VALUE_16BITS=65535,t.MAX_VALUE_32BITS=-1,t.pretty=function(e){var t,r,n="";for(r=0;r<(e||"").length;r++)n+="\\x"+((t=e.charCodeAt(r))<16?"0":"")+t.toString(16).toUpperCase();return n},t.delay=function(e,t,r){a((function(){e.apply(r||null,t||[])}))},t.inherits=function(e,t){var r=function(){};r.prototype=t.prototype,e.prototype=new r},t.extend=function(){var e,t,r={};for(e=0;e<arguments.length;e++)for(t in arguments[e])arguments[e].hasOwnProperty(t)&&void 0===r[t]&&(r[t]=arguments[e][t]);return r},t.prepareContent=function(e,r,s,a,u){return o.Promise.resolve(r).then((function(e){return n.blob&&(e instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(e)))&&"undefined"!=typeof FileReader?new o.Promise((function(t,r){var n=new FileReader;n.onload=function(e){t(e.target.result)},n.onerror=function(e){r(e.target.error)},n.readAsArrayBuffer(e)})):e})).then((function(r){var h,c=t.getTypeOf(r);return c?("arraybuffer"===c?r=t.transformTo("uint8array",r):"string"===c&&(u?r=i.decode(r):s&&!0!==a&&(r=l(h=r,n.uint8array?new Uint8Array(h.length):new Array(h.length)))),r):o.Promise.reject(new Error("Can't read the data of '"+e+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))}))}},6624:(e,t,r)=>{"use strict";var n=r(78435),i=r(58910),s=r(71141),a=r(39392),o=(r(83600),r(53790));function u(e){this.files=[],this.loadOptions=e}u.prototype={checkSignature:function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+i.pretty(t)+", expected "+i.pretty(e)+")")}},isSignature:function(e,t){var r=this.reader.index;this.reader.setIndex(e);var n=this.reader.readString(4)===t;return this.reader.setIndex(r),n},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 e=this.reader.readData(this.zipCommentLength),t=o.uint8array?"uint8array":"array",r=i.transformTo(t,e);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 e,t,r,n=this.zip64EndOfCentralSize-44;0<n;)e=this.reader.readInt(2),t=this.reader.readInt(4),r=this.reader.readData(t),this.zip64ExtensibleData[e]={id:e,length:t,value:r}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(s.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(s.CENTRAL_FILE_HEADER);)(e=new a({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(s.CENTRAL_DIRECTORY_END);if(e<0)throw this.isSignature(0,s.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new 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(e);var t=e;if(this.checkSignature(s.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===i.MAX_VALUE_16BITS||this.diskWithCentralDirStart===i.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===i.MAX_VALUE_16BITS||this.centralDirRecords===i.MAX_VALUE_16BITS||this.centralDirSize===i.MAX_VALUE_32BITS||this.centralDirOffset===i.MAX_VALUE_32BITS){if(this.zip64=!0,(e=this.reader.lastIndexOfSignature(s.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(e),this.checkSignature(s.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,s.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(s.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(s.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var r=this.centralDirOffset+this.centralDirSize;this.zip64&&(r+=20,r+=12+this.zip64EndOfCentralSize);var n=t-r;if(n>0)this.isSignature(t,s.CENTRAL_FILE_HEADER)||(this.reader.zero=n);else if(n<0)throw new Error("Corrupted zip: missing "+Math.abs(n)+" bytes.")},prepareReader:function(e){this.reader=n(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},e.exports=u},39392:(e,t,r)=>{"use strict";var n=r(78435),i=r(58910),s=r(37326),a=r(86988),o=r(83600),u=r(61678),l=r(53790);function h(e,t){this.options=e,this.loadOptions=t}h.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},readLocalPart:function(e){var t,r;if(e.skip(22),this.fileNameLength=e.readInt(2),r=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(r),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough informations from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(t=function(e){for(var t in u)if(u.hasOwnProperty(t)&&u[t].magic===e)return u[t];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+i.pretty(this.compressionMethod)+" unknown (inner file : "+i.transformTo("string",this.fileName)+")");this.decompressed=new s(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var t=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0===e&&(this.dosPermissions=63&this.externalFileAttributes),3===e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(e){if(this.extraFields[1]){var t=n(this.extraFields[1].value);this.uncompressedSize===i.MAX_VALUE_32BITS&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===i.MAX_VALUE_32BITS&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===i.MAX_VALUE_32BITS&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===i.MAX_VALUE_32BITS&&(this.diskNumberStart=t.readInt(4))}},readExtraFields:function(e){var t,r,n,i=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index<i;)t=e.readInt(2),r=e.readInt(2),n=e.readData(r),this.extraFields[t]={id:t,length:r,value:n}},handleUTF8:function(){var e=l.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=o.utf8decode(this.fileName),this.fileCommentStr=o.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(null!==t)this.fileNameStr=t;else{var r=i.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(r)}var n=this.findExtraFieldUnicodeComment();if(null!==n)this.fileCommentStr=n;else{var s=i.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(s)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=n(e.value);return 1!==t.readInt(1)||a(this.fileName)!==t.readInt(4)?null:o.utf8decode(t.readData(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=n(e.value);return 1!==t.readInt(1)||a(this.fileComment)!==t.readInt(4)?null:o.utf8decode(t.readData(e.length-5))}return null}},e.exports=h},46859:(e,t,r)=>{"use strict";var n=r(35758),i=r(5301),s=r(83600),a=r(37326),o=r(43718),u=function(e,t,r){this.name=e,this.dir=r.dir,this.date=r.date,this.comment=r.comment,this.unixPermissions=r.unixPermissions,this.dosPermissions=r.dosPermissions,this._data=t,this._dataBinary=r.binary,this.options={compression:r.compression,compressionOptions:r.compressionOptions}};u.prototype={internalStream:function(e){var t=null,r="string";try{if(!e)throw new Error("No output type specified.");var i="string"===(r=e.toLowerCase())||"text"===r;"binarystring"!==r&&"text"!==r||(r="string"),t=this._decompressWorker();var a=!this._dataBinary;a&&!i&&(t=t.pipe(new s.Utf8EncodeWorker)),!a&&i&&(t=t.pipe(new s.Utf8DecodeWorker))}catch(e){(t=new o("error")).error(e)}return new n(t,r,"")},async:function(e,t){return this.internalStream(e).accumulate(t)},nodeStream:function(e,t){return this.internalStream(e||"nodebuffer").toNodejsStream(t)},_compressWorker:function(e,t){if(this._data instanceof a&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var r=this._decompressWorker();return this._dataBinary||(r=r.pipe(new s.Utf8EncodeWorker)),a.createWorkerFrom(r,e,t)},_decompressWorker:function(){return this._data instanceof a?this._data.getContentWorker():this._data instanceof o?this._data:new i(this._data)}};for(var l=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],h=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},c=0;c<l.length;c++)u.prototype[l[c]]=h;e.exports=u},47326:(e,t,r)=>{r(39080),e.exports=r(23998).setImmediate},90336:e=>{e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},34626:(e,t,r)=>{var n=r(1538);e.exports=function(e){if(!n(e))throw TypeError(e+" is not an object!");return e}},91265:e=>{var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},23998:e=>{var t=e.exports={version:"2.3.0"};"number"==typeof __e&&(__e=t)},68104:(e,t,r)=>{var n=r(90336);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,i){return e.call(t,r,n,i)}}return function(){return e.apply(t,arguments)}}},29262:(e,t,r)=>{e.exports=!r(96286)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},75354:(e,t,r)=>{var n=r(1538),i=r(14867).document,s=n(i)&&n(i.createElement);e.exports=function(e){return s?i.createElement(e):{}}},18017:(e,t,r)=>{var n=r(14867),i=r(23998),s=r(68104),a=r(601),o=function(e,t,r){var u,l,h,c=e&o.F,f=e&o.G,d=e&o.S,p=e&o.P,m=e&o.B,g=e&o.W,_=f?i:i[t]||(i[t]={}),y=_.prototype,v=f?n:d?n[t]:(n[t]||{}).prototype;for(u in f&&(r=t),r)(l=!c&&v&&void 0!==v[u])&&u in _||(h=l?v[u]:r[u],_[u]=f&&"function"!=typeof v[u]?r[u]:m&&l?s(h,n):g&&v[u]==h?function(e){var t=function(t,r,n){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,r)}return new e(t,r,n)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(h):p&&"function"==typeof h?s(Function.call,h):h,p&&((_.virtual||(_.virtual={}))[u]=h,e&o.R&&y&&!y[u]&&a(y,u,h)))};o.F=1,o.G=2,o.S=4,o.P=8,o.B=16,o.W=32,o.U=64,o.R=128,e.exports=o},96286:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},14867:e=>{var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)},601:(e,t,r)=>{var n=r(59028),i=r(39732);e.exports=r(29262)?function(e,t,r){return n.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},32660:(e,t,r)=>{e.exports=r(14867).document&&document.documentElement},41297:(e,t,r)=>{e.exports=!r(29262)&&!r(96286)((function(){return 7!=Object.defineProperty(r(75354)("div"),"a",{get:function(){return 7}}).a}))},69062:e=>{e.exports=function(e,t,r){var n=void 0===r;switch(t.length){case 0:return n?e():e.call(r);case 1:return n?e(t[0]):e.call(r,t[0]);case 2:return n?e(t[0],t[1]):e.call(r,t[0],t[1]);case 3:return n?e(t[0],t[1],t[2]):e.call(r,t[0],t[1],t[2]);case 4:return n?e(t[0],t[1],t[2],t[3]):e.call(r,t[0],t[1],t[2],t[3])}return e.apply(r,t)}},1538:e=>{e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},59028:(e,t,r)=>{var n=r(34626),i=r(41297),s=r(92223),a=Object.defineProperty;t.f=r(29262)?Object.defineProperty:function(e,t,r){if(n(e),t=s(t,!0),n(r),i)try{return a(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(e[t]=r.value),e}},39732:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},914:(e,t,r)=>{var n,i,s,a=r(68104),o=r(69062),u=r(32660),l=r(75354),h=r(14867),c=h.process,f=h.setImmediate,d=h.clearImmediate,p=h.MessageChannel,m=0,g={},_=function(){var e=+this;if(g.hasOwnProperty(e)){var t=g[e];delete g[e],t()}},y=function(e){_.call(e.data)};f&&d||(f=function(e){for(var t=[],r=1;arguments.length>r;)t.push(arguments[r++]);return g[++m]=function(){o("function"==typeof e?e:Function(e),t)},n(m),m},d=function(e){delete g[e]},"process"==r(91265)(c)?n=function(e){c.nextTick(a(_,e,1))}:p?(s=(i=new p).port2,i.port1.onmessage=y,n=a(s.postMessage,s,1)):h.addEventListener&&"function"==typeof postMessage&&!h.importScripts?(n=function(e){h.postMessage(e+"","*")},h.addEventListener("message",y,!1)):n="onreadystatechange"in l("script")?function(e){u.appendChild(l("script")).onreadystatechange=function(){u.removeChild(this),_.call(e)}}:function(e){setTimeout(a(_,e,1),0)}),e.exports={set:f,clear:d}},92223:(e,t,r)=>{var n=r(1538);e.exports=function(e,t){if(!n(e))return e;var r,i;if(t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;if("function"==typeof(r=e.valueOf)&&!n(i=r.call(e)))return i;if(!t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},39080:(e,t,r)=>{var n=r(18017),i=r(914);n(n.G+n.B,{setImmediate:i.set,clearImmediate:i.clear})},61883:(e,t,r)=>{"use strict";var n=r(25705);function i(){}var s={},a=["REJECTED"],o=["FULFILLED"],u=["PENDING"];function l(e){if("function"!=typeof e)throw new TypeError("resolver must be a function");this.state=u,this.queue=[],this.outcome=void 0,e!==i&&d(this,e)}function h(e,t,r){this.promise=e,"function"==typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),"function"==typeof r&&(this.onRejected=r,this.callRejected=this.otherCallRejected)}function c(e,t,r){n((function(){var n;try{n=t(r)}catch(t){return s.reject(e,t)}n===e?s.reject(e,new TypeError("Cannot resolve promise with itself")):s.resolve(e,n)}))}function f(e){var t=e&&e.then;if(e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof t)return function(){t.apply(e,arguments)}}function d(e,t){var r=!1;function n(t){r||(r=!0,s.reject(e,t))}function i(t){r||(r=!0,s.resolve(e,t))}var a=p((function(){t(i,n)}));"error"===a.status&&n(a.value)}function p(e,t){var r={};try{r.value=e(t),r.status="success"}catch(e){r.status="error",r.value=e}return r}e.exports=l,l.prototype.catch=function(e){return this.then(null,e)},l.prototype.then=function(e,t){if("function"!=typeof e&&this.state===o||"function"!=typeof t&&this.state===a)return this;var r=new this.constructor(i);return this.state!==u?c(r,this.state===o?e:t,this.outcome):this.queue.push(new h(r,e,t)),r},h.prototype.callFulfilled=function(e){s.resolve(this.promise,e)},h.prototype.otherCallFulfilled=function(e){c(this.promise,this.onFulfilled,e)},h.prototype.callRejected=function(e){s.reject(this.promise,e)},h.prototype.otherCallRejected=function(e){c(this.promise,this.onRejected,e)},s.resolve=function(e,t){var r=p(f,t);if("error"===r.status)return s.reject(e,r.value);var n=r.value;if(n)d(e,n);else{e.state=o,e.outcome=t;for(var i=-1,a=e.queue.length;++i<a;)e.queue[i].callFulfilled(t)}return e},s.reject=function(e,t){e.state=a,e.outcome=t;for(var r=-1,n=e.queue.length;++r<n;)e.queue[r].callRejected(t);return e},l.resolve=function(e){return e instanceof this?e:s.resolve(new this(i),e)},l.reject=function(e){var t=new this(i);return s.reject(t,e)},l.all=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var r=e.length,n=!1;if(!r)return this.resolve([]);for(var a=new Array(r),o=0,u=-1,l=new this(i);++u<r;)h(e[u],u);return l;function h(e,i){t.resolve(e).then((function(e){a[i]=e,++o!==r||n||(n=!0,s.resolve(l,a))}),(function(e){n||(n=!0,s.reject(l,e))}))}},l.race=function(e){if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var t=e.length,r=!1;if(!t)return this.resolve([]);for(var n,a=-1,o=new this(i);++a<t;)n=e[a],this.resolve(n).then((function(e){r||(r=!0,s.resolve(o,e))}),(function(e){r||(r=!0,s.reject(o,e))}));return o}},43389:(e,t,r)=>{"use strict";var n=r(25705);function i(){}var s={},a=["REJECTED"],o=["FULFILLED"],u=["PENDING"];function l(e){if("function"!=typeof e)throw new TypeError("resolver must be a function");this.state=u,this.queue=[],this.outcome=void 0,e!==i&&d(this,e)}function h(e,t,r){this.promise=e,"function"==typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),"function"==typeof r&&(this.onRejected=r,this.callRejected=this.otherCallRejected)}function c(e,t,r){n((function(){var n;try{n=t(r)}catch(t){return s.reject(e,t)}n===e?s.reject(e,new TypeError("Cannot resolve promise with itself")):s.resolve(e,n)}))}function f(e){var t=e&&e.then;if(e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof t)return function(){t.apply(e,arguments)}}function d(e,t){var r=!1;function n(t){r||(r=!0,s.reject(e,t))}function i(t){r||(r=!0,s.resolve(e,t))}var a=p((function(){t(i,n)}));"error"===a.status&&n(a.value)}function p(e,t){var r={};try{r.value=e(t),r.status="success"}catch(e){r.status="error",r.value=e}return r}e.exports=l,l.prototype.finally=function(e){if("function"!=typeof e)return this;var t=this.constructor;return this.then((function(r){return t.resolve(e()).then((function(){return r}))}),(function(r){return t.resolve(e()).then((function(){throw r}))}))},l.prototype.catch=function(e){return this.then(null,e)},l.prototype.then=function(e,t){if("function"!=typeof e&&this.state===o||"function"!=typeof t&&this.state===a)return this;var r=new this.constructor(i);return this.state!==u?c(r,this.state===o?e:t,this.outcome):this.queue.push(new h(r,e,t)),r},h.prototype.callFulfilled=function(e){s.resolve(this.promise,e)},h.prototype.otherCallFulfilled=function(e){c(this.promise,this.onFulfilled,e)},h.prototype.callRejected=function(e){s.reject(this.promise,e)},h.prototype.otherCallRejected=function(e){c(this.promise,this.onRejected,e)},s.resolve=function(e,t){var r=p(f,t);if("error"===r.status)return s.reject(e,r.value);var n=r.value;if(n)d(e,n);else{e.state=o,e.outcome=t;for(var i=-1,a=e.queue.length;++i<a;)e.queue[i].callFulfilled(t)}return e},s.reject=function(e,t){e.state=a,e.outcome=t;for(var r=-1,n=e.queue.length;++r<n;)e.queue[r].callRejected(t);return e},l.resolve=function(e){return e instanceof this?e:s.resolve(new this(i),e)},l.reject=function(e){var t=new this(i);return s.reject(t,e)},l.all=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var r=e.length,n=!1;if(!r)return this.resolve([]);for(var a=new Array(r),o=0,u=-1,l=new this(i);++u<r;)h(e[u],u);return l;function h(e,i){t.resolve(e).then((function(e){a[i]=e,++o!==r||n||(n=!0,s.resolve(l,a))}),(function(e){n||(n=!0,s.reject(l,e))}))}},l.race=function(e){if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var t=e.length,r=!1;if(!t)return this.resolve([]);for(var n,a=-1,o=new this(i);++a<t;)n=e[a],this.resolve(n).then((function(e){r||(r=!0,s.resolve(o,e))}),(function(e){r||(r=!0,s.reject(o,e))}));return o}},48969:(e,t,r)=>{var n=r(29932);e.exports=function(e,t){return n(t,(function(t){return[t,e[t]]}))}},13866:(e,t,r)=>{var n=r(48969),i=r(64160),s=r(68776),a=r(99294);e.exports=function(e){return function(t){var r=i(t);return"[object Map]"==r?s(t):"[object Set]"==r?a(t):n(t,e(t))}}},99294:e=>{e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=[e,e]})),r}},93220:(e,t,r)=>{var n=r(13866)(r(3674));e.exports=n},5387:e=>{!function(){function t(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function r(){return 1}e.exports?e.exports=s:this.LRUCache=s;var n=!1;function i(e){n||"string"==typeof e||"number"==typeof e||(n=!0,console.error(new TypeError("LRU: key must be a string or number. Almost certainly a bug! "+typeof e).stack))}function s(e){if(!(this instanceof s))return new s(e);"number"==typeof e&&(e={max:e}),e||(e={}),this._max=e.max,(!this._max||"number"!=typeof this._max||this._max<=0)&&(this._max=1/0),this._lengthCalculator=e.length||r,"function"!=typeof this._lengthCalculator&&(this._lengthCalculator=r),this._allowStale=e.stale||!1,this._maxAge=e.maxAge||null,this._dispose=e.dispose,this.reset()}function a(e,t,r){i(t);var n=e._cache[t];return n&&(o(e,n)?(h(e,n),e._allowStale||(n=void 0)):r&&function(e,t){l(e,t),t.lu=e._mru++,e._lruList[t.lu]=t}(e,n),n&&(n=n.value)),n}function o(e,t){if(!t||!t.maxAge&&!e._maxAge)return!1;var r=Date.now()-t.now;return t.maxAge?r>t.maxAge:e._maxAge&&r>e._maxAge}function u(e){for(;e._lru<e._mru&&e._length>e._max;)h(e,e._lruList[e._lru])}function l(e,t){for(delete e._lruList[t.lu];e._lru<e._mru&&!e._lruList[e._lru];)e._lru++}function h(e,t){t&&(e._dispose&&e._dispose(t.key,t.value),e._length-=t.length,e._itemCount--,delete e._cache[t.key],l(e,t))}function c(e,t,r,n,i,s){this.key=e,this.value=t,this.lu=r,this.length=n,this.now=i,s&&(this.maxAge=s)}Object.defineProperty(s.prototype,"max",{set:function(e){(!e||"number"!=typeof e||e<=0)&&(e=1/0),this._max=e,this._length>this._max&&u(this)},get:function(){return this._max},enumerable:!0}),Object.defineProperty(s.prototype,"lengthCalculator",{set:function(e){if("function"!=typeof e)for(var t in this._lengthCalculator=r,this._length=this._itemCount,this._cache)this._cache[t].length=1;else for(var t in this._lengthCalculator=e,this._length=0,this._cache)this._cache[t].length=this._lengthCalculator(this._cache[t].value),this._length+=this._cache[t].length;this._length>this._max&&u(this)},get:function(){return this._lengthCalculator},enumerable:!0}),Object.defineProperty(s.prototype,"length",{get:function(){return this._length},enumerable:!0}),Object.defineProperty(s.prototype,"itemCount",{get:function(){return this._itemCount},enumerable:!0}),s.prototype.forEach=function(e,t){t=t||this;for(var r=0,n=this._itemCount,i=this._mru-1;i>=0&&r<n;i--)if(this._lruList[i]){r++;var s=this._lruList[i];o(this,s)&&(h(this,s),this._allowStale||(s=void 0)),s&&e.call(t,s.value,s.key,this)}},s.prototype.keys=function(){for(var e=new Array(this._itemCount),t=0,r=this._mru-1;r>=0&&t<this._itemCount;r--)if(this._lruList[r]){var n=this._lruList[r];e[t++]=n.key}return e},s.prototype.values=function(){for(var e=new Array(this._itemCount),t=0,r=this._mru-1;r>=0&&t<this._itemCount;r--)if(this._lruList[r]){var n=this._lruList[r];e[t++]=n.value}return e},s.prototype.reset=function(){if(this._dispose&&this._cache)for(var e in this._cache)this._dispose(e,this._cache[e].value);this._cache=Object.create(null),this._lruList=Object.create(null),this._mru=0,this._lru=0,this._length=0,this._itemCount=0},s.prototype.dump=function(){for(var e=[],t=0,r=this._mru-1;r>=0&&t<this._itemCount;r--)if(this._lruList[r]){var n=this._lruList[r];o(this,n)||(++t,e.push({k:n.key,v:n.value,e:n.now+(n.maxAge||0)}))}return e},s.prototype.dumpLru=function(){return this._lruList},s.prototype.set=function(e,r,n){n=n||this._maxAge,i(e);var s=n?Date.now():0,a=this._lengthCalculator(r);if(t(this._cache,e))return a>this._max?(h(this,this._cache[e]),!1):(this._dispose&&this._dispose(e,this._cache[e].value),this._cache[e].now=s,this._cache[e].maxAge=n,this._cache[e].value=r,this._length+=a-this._cache[e].length,this._cache[e].length=a,this.get(e),this._length>this._max&&u(this),!0);var o=new c(e,r,this._mru++,a,s,n);return o.length>this._max?(this._dispose&&this._dispose(e,r),!1):(this._length+=o.length,this._lruList[o.lu]=this._cache[e]=o,this._itemCount++,this._length>this._max&&u(this),!0)},s.prototype.has=function(e){return i(e),!!t(this._cache,e)&&!o(this,this._cache[e])},s.prototype.get=function(e){return i(e),a(this,e,!0)},s.prototype.peek=function(e){return i(e),a(this,e,!1)},s.prototype.pop=function(){var e=this._lruList[this._lru];return h(this,e),e||null},s.prototype.del=function(e){i(e),h(this,this._cache[e])},s.prototype.load=function(e){this.reset();for(var t=Date.now(),r=e.length-1;r>=0;r--){var n=e[r];i(n.k);var s=n.e||0;if(0===s)this.set(n.k,n.v);else{var a=s-t;a>0&&this.set(n.k,n.v,a)}}}}()},99591:(e,t,r)=>{"use strict";var n={};(0,r(24236).assign)(n,r(24555),r(78843),r(71619)),e.exports=n},24555:(e,t,r)=>{"use strict";var n=r(30405),i=r(24236),s=r(29373),a=r(48898),o=r(62292),u=Object.prototype.toString;function l(e){if(!(this instanceof l))return new l(e);this.options=i.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new o,this.strm.avail_out=0;var r=n.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(0!==r)throw new Error(a[r]);if(t.header&&n.deflateSetHeader(this.strm,t.header),t.dictionary){var h;if(h="string"==typeof t.dictionary?s.string2buf(t.dictionary):"[object ArrayBuffer]"===u.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,0!==(r=n.deflateSetDictionary(this.strm,h)))throw new Error(a[r]);this._dict_set=!0}}function h(e,t){var r=new l(t);if(r.push(e,!0),r.err)throw r.msg||a[r.err];return r.result}l.prototype.push=function(e,t){var r,a,o=this.strm,l=this.options.chunkSize;if(this.ended)return!1;a=t===~~t?t:!0===t?4:0,"string"==typeof e?o.input=s.string2buf(e):"[object ArrayBuffer]"===u.call(e)?o.input=new Uint8Array(e):o.input=e,o.next_in=0,o.avail_in=o.input.length;do{if(0===o.avail_out&&(o.output=new i.Buf8(l),o.next_out=0,o.avail_out=l),1!==(r=n.deflate(o,a))&&0!==r)return this.onEnd(r),this.ended=!0,!1;0!==o.avail_out&&(0!==o.avail_in||4!==a&&2!==a)||("string"===this.options.to?this.onData(s.buf2binstring(i.shrinkBuf(o.output,o.next_out))):this.onData(i.shrinkBuf(o.output,o.next_out)))}while((o.avail_in>0||0===o.avail_out)&&1!==r);return 4===a?(r=n.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,0===r):2!==a||(this.onEnd(0),o.avail_out=0,!0)},l.prototype.onData=function(e){this.chunks.push(e)},l.prototype.onEnd=function(e){0===e&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},t.Deflate=l,t.deflate=h,t.deflateRaw=function(e,t){return(t=t||{}).raw=!0,h(e,t)},t.gzip=function(e,t){return(t=t||{}).gzip=!0,h(e,t)}},78843:(e,t,r)=>{"use strict";var n=r(27948),i=r(24236),s=r(29373),a=r(71619),o=r(48898),u=r(62292),l=r(42401),h=Object.prototype.toString;function c(e){if(!(this instanceof c))return new c(e);this.options=i.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new u,this.strm.avail_out=0;var r=n.inflateInit2(this.strm,t.windowBits);if(r!==a.Z_OK)throw new Error(o[r]);if(this.header=new l,n.inflateGetHeader(this.strm,this.header),t.dictionary&&("string"==typeof t.dictionary?t.dictionary=s.string2buf(t.dictionary):"[object ArrayBuffer]"===h.call(t.dictionary)&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(r=n.inflateSetDictionary(this.strm,t.dictionary))!==a.Z_OK))throw new Error(o[r])}function f(e,t){var r=new c(t);if(r.push(e,!0),r.err)throw r.msg||o[r.err];return r.result}c.prototype.push=function(e,t){var r,o,u,l,c,f=this.strm,d=this.options.chunkSize,p=this.options.dictionary,m=!1;if(this.ended)return!1;o=t===~~t?t:!0===t?a.Z_FINISH:a.Z_NO_FLUSH,"string"==typeof e?f.input=s.binstring2buf(e):"[object ArrayBuffer]"===h.call(e)?f.input=new Uint8Array(e):f.input=e,f.next_in=0,f.avail_in=f.input.length;do{if(0===f.avail_out&&(f.output=new i.Buf8(d),f.next_out=0,f.avail_out=d),(r=n.inflate(f,a.Z_NO_FLUSH))===a.Z_NEED_DICT&&p&&(r=n.inflateSetDictionary(this.strm,p)),r===a.Z_BUF_ERROR&&!0===m&&(r=a.Z_OK,m=!1),r!==a.Z_STREAM_END&&r!==a.Z_OK)return this.onEnd(r),this.ended=!0,!1;f.next_out&&(0!==f.avail_out&&r!==a.Z_STREAM_END&&(0!==f.avail_in||o!==a.Z_FINISH&&o!==a.Z_SYNC_FLUSH)||("string"===this.options.to?(u=s.utf8border(f.output,f.next_out),l=f.next_out-u,c=s.buf2string(f.output,u),f.next_out=l,f.avail_out=d-l,l&&i.arraySet(f.output,f.output,u,l,0),this.onData(c)):this.onData(i.shrinkBuf(f.output,f.next_out)))),0===f.avail_in&&0===f.avail_out&&(m=!0)}while((f.avail_in>0||0===f.avail_out)&&r!==a.Z_STREAM_END);return r===a.Z_STREAM_END&&(o=a.Z_FINISH),o===a.Z_FINISH?(r=n.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===a.Z_OK):o!==a.Z_SYNC_FLUSH||(this.onEnd(a.Z_OK),f.avail_out=0,!0)},c.prototype.onData=function(e){this.chunks.push(e)},c.prototype.onEnd=function(e){e===a.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},t.Inflate=c,t.inflate=f,t.inflateRaw=function(e,t){return(t=t||{}).raw=!0,f(e,t)},t.ungzip=f},24236:(e,t)=>{"use strict";var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;function n(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var r=t.shift();if(r){if("object"!=typeof r)throw new TypeError(r+"must be non-object");for(var i in r)n(r,i)&&(e[i]=r[i])}}return e},t.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var i={arraySet:function(e,t,r,n,i){if(t.subarray&&e.subarray)e.set(t.subarray(r,r+n),i);else for(var s=0;s<n;s++)e[i+s]=t[r+s]},flattenChunks:function(e){var t,r,n,i,s,a;for(n=0,t=0,r=e.length;t<r;t++)n+=e[t].length;for(a=new Uint8Array(n),i=0,t=0,r=e.length;t<r;t++)s=e[t],a.set(s,i),i+=s.length;return a}},s={arraySet:function(e,t,r,n,i){for(var s=0;s<n;s++)e[i+s]=t[r+s]},flattenChunks:function(e){return[].concat.apply([],e)}};t.setTyped=function(e){e?(t.Buf8=Uint8Array,t.Buf16=Uint16Array,t.Buf32=Int32Array,t.assign(t,i)):(t.Buf8=Array,t.Buf16=Array,t.Buf32=Array,t.assign(t,s))},t.setTyped(r)},29373:(e,t,r)=>{"use strict";var n=r(24236),i=!0,s=!0;try{String.fromCharCode.apply(null,[0])}catch(e){i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){s=!1}for(var a=new n.Buf8(256),o=0;o<256;o++)a[o]=o>=252?6:o>=248?5:o>=240?4:o>=224?3:o>=192?2:1;function u(e,t){if(t<65534&&(e.subarray&&s||!e.subarray&&i))return String.fromCharCode.apply(null,n.shrinkBuf(e,t));for(var r="",a=0;a<t;a++)r+=String.fromCharCode(e[a]);return r}a[254]=a[254]=1,t.string2buf=function(e){var t,r,i,s,a,o=e.length,u=0;for(s=0;s<o;s++)55296==(64512&(r=e.charCodeAt(s)))&&s+1<o&&56320==(64512&(i=e.charCodeAt(s+1)))&&(r=65536+(r-55296<<10)+(i-56320),s++),u+=r<128?1:r<2048?2:r<65536?3:4;for(t=new n.Buf8(u),a=0,s=0;a<u;s++)55296==(64512&(r=e.charCodeAt(s)))&&s+1<o&&56320==(64512&(i=e.charCodeAt(s+1)))&&(r=65536+(r-55296<<10)+(i-56320),s++),r<128?t[a++]=r:r<2048?(t[a++]=192|r>>>6,t[a++]=128|63&r):r<65536?(t[a++]=224|r>>>12,t[a++]=128|r>>>6&63,t[a++]=128|63&r):(t[a++]=240|r>>>18,t[a++]=128|r>>>12&63,t[a++]=128|r>>>6&63,t[a++]=128|63&r);return t},t.buf2binstring=function(e){return u(e,e.length)},t.binstring2buf=function(e){for(var t=new n.Buf8(e.length),r=0,i=t.length;r<i;r++)t[r]=e.charCodeAt(r);return t},t.buf2string=function(e,t){var r,n,i,s,o=t||e.length,l=new Array(2*o);for(n=0,r=0;r<o;)if((i=e[r++])<128)l[n++]=i;else if((s=a[i])>4)l[n++]=65533,r+=s-1;else{for(i&=2===s?31:3===s?15:7;s>1&&r<o;)i=i<<6|63&e[r++],s--;s>1?l[n++]=65533:i<65536?l[n++]=i:(i-=65536,l[n++]=55296|i>>10&1023,l[n++]=56320|1023&i)}return u(l,n)},t.utf8border=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;r>=0&&128==(192&e[r]);)r--;return r<0||0===r?t:r+a[e[r]]>t?r:t}},66069:e=>{"use strict";e.exports=function(e,t,r,n){for(var i=65535&e|0,s=e>>>16&65535|0,a=0;0!==r;){r-=a=r>2e3?2e3:r;do{s=s+(i=i+t[n++]|0)|0}while(--a);i%=65521,s%=65521}return i|s<<16|0}},71619:e=>{"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}},2869:e=>{"use strict";var t=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();e.exports=function(e,r,n,i){var s=t,a=i+n;e^=-1;for(var o=i;o<a;o++)e=e>>>8^s[255&(e^r[o])];return-1^e}},30405:(e,t,r)=>{"use strict";var n,i=r(24236),s=r(10342),a=r(66069),o=r(2869),u=r(48898),l=-2,h=258,c=262,f=103,d=113,p=666;function m(e,t){return e.msg=u[t],t}function g(e){return(e<<1)-(e>4?9:0)}function _(e){for(var t=e.length;--t>=0;)e[t]=0}function y(e){var t=e.state,r=t.pending;r>e.avail_out&&(r=e.avail_out),0!==r&&(i.arraySet(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,0===t.pending&&(t.pending_out=0))}function v(e,t){s._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,y(e.strm)}function b(e,t){e.pending_buf[e.pending++]=t}function w(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function x(e,t){var r,n,i=e.max_chain_length,s=e.strstart,a=e.prev_length,o=e.nice_match,u=e.strstart>e.w_size-c?e.strstart-(e.w_size-c):0,l=e.window,f=e.w_mask,d=e.prev,p=e.strstart+h,m=l[s+a-1],g=l[s+a];e.prev_length>=e.good_match&&(i>>=2),o>e.lookahead&&(o=e.lookahead);do{if(l[(r=t)+a]===g&&l[r+a-1]===m&&l[r]===l[s]&&l[++r]===l[s+1]){s+=2,r++;do{}while(l[++s]===l[++r]&&l[++s]===l[++r]&&l[++s]===l[++r]&&l[++s]===l[++r]&&l[++s]===l[++r]&&l[++s]===l[++r]&&l[++s]===l[++r]&&l[++s]===l[++r]&&s<p);if(n=h-(p-s),s=p-h,n>a){if(e.match_start=t,a=n,n>=o)break;m=l[s+a-1],g=l[s+a]}}}while((t=d[t&f])>u&&0!=--i);return a<=e.lookahead?a:e.lookahead}function k(e){var t,r,n,s,u,l,h,f,d,p,m=e.w_size;do{if(s=e.window_size-e.lookahead-e.strstart,e.strstart>=m+(m-c)){i.arraySet(e.window,e.window,m,m,0),e.match_start-=m,e.strstart-=m,e.block_start-=m,t=r=e.hash_size;do{n=e.head[--t],e.head[t]=n>=m?n-m:0}while(--r);t=r=m;do{n=e.prev[--t],e.prev[t]=n>=m?n-m:0}while(--r);s+=m}if(0===e.strm.avail_in)break;if(l=e.strm,h=e.window,f=e.strstart+e.lookahead,d=s,p=void 0,(p=l.avail_in)>d&&(p=d),r=0===p?0:(l.avail_in-=p,i.arraySet(h,l.input,l.next_in,p,f),1===l.state.wrap?l.adler=a(l.adler,h,p,f):2===l.state.wrap&&(l.adler=o(l.adler,h,p,f)),l.next_in+=p,l.total_in+=p,p),e.lookahead+=r,e.lookahead+e.insert>=3)for(u=e.strstart-e.insert,e.ins_h=e.window[u],e.ins_h=(e.ins_h<<e.hash_shift^e.window[u+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[u+3-1])&e.hash_mask,e.prev[u&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=u,u++,e.insert--,!(e.lookahead+e.insert<3)););}while(e.lookahead<c&&0!==e.strm.avail_in)}function C(e,t){for(var r,n;;){if(e.lookahead<c){if(k(e),e.lookahead<c&&0===t)return 1;if(0===e.lookahead)break}if(r=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==r&&e.strstart-r<=e.w_size-c&&(e.match_length=x(e,r)),e.match_length>=3)if(n=s._tr_tally(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){e.match_length--;do{e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart}while(0!=--e.match_length);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else n=s._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(n&&(v(e,!1),0===e.strm.avail_out))return 1}return e.insert=e.strstart<2?e.strstart:2,4===t?(v(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(v(e,!1),0===e.strm.avail_out)?1:2}function S(e,t){for(var r,n,i;;){if(e.lookahead<c){if(k(e),e.lookahead<c&&0===t)return 1;if(0===e.lookahead)break}if(r=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=2,0!==r&&e.prev_length<e.max_lazy_match&&e.strstart-r<=e.w_size-c&&(e.match_length=x(e,r),e.match_length<=5&&(1===e.strategy||3===e.match_length&&e.strstart-e.match_start>4096)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-3,n=s._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=i&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart)}while(0!=--e.prev_length);if(e.match_available=0,e.match_length=2,e.strstart++,n&&(v(e,!1),0===e.strm.avail_out))return 1}else if(e.match_available){if((n=s._tr_tally(e,0,e.window[e.strstart-1]))&&v(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return 1}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(n=s._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<2?e.strstart:2,4===t?(v(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(v(e,!1),0===e.strm.avail_out)?1:2}function E(e,t,r,n,i){this.good_length=e,this.max_lazy=t,this.nice_length=r,this.max_chain=n,this.func=i}function A(){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 i.Buf16(1146),this.dyn_dtree=new i.Buf16(122),this.bl_tree=new i.Buf16(78),_(this.dyn_ltree),_(this.dyn_dtree),_(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new i.Buf16(16),this.heap=new i.Buf16(573),_(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.Buf16(573),_(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 I(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=2,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?42:d,e.adler=2===t.wrap?0:1,t.last_flush=0,s._tr_init(t),0):m(e,l)}function O(e){var t,r=I(e);return 0===r&&((t=e.state).window_size=2*t.w_size,_(t.head),t.max_lazy_match=n[t.level].max_lazy,t.good_match=n[t.level].good_length,t.nice_match=n[t.level].nice_length,t.max_chain_length=n[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=2,t.match_available=0,t.ins_h=0),r}function T(e,t,r,n,s,a){if(!e)return l;var o=1;if(-1===t&&(t=6),n<0?(o=0,n=-n):n>15&&(o=2,n-=16),s<1||s>9||8!==r||n<8||n>15||t<0||t>9||a<0||a>4)return m(e,l);8===n&&(n=9);var u=new A;return e.state=u,u.strm=e,u.wrap=o,u.gzhead=null,u.w_bits=n,u.w_size=1<<u.w_bits,u.w_mask=u.w_size-1,u.hash_bits=s+7,u.hash_size=1<<u.hash_bits,u.hash_mask=u.hash_size-1,u.hash_shift=~~((u.hash_bits+3-1)/3),u.window=new i.Buf8(2*u.w_size),u.head=new i.Buf16(u.hash_size),u.prev=new i.Buf16(u.w_size),u.lit_bufsize=1<<s+6,u.pending_buf_size=4*u.lit_bufsize,u.pending_buf=new i.Buf8(u.pending_buf_size),u.d_buf=1*u.lit_bufsize,u.l_buf=3*u.lit_bufsize,u.level=t,u.strategy=a,u.method=r,O(e)}n=[new E(0,0,0,0,(function(e,t){var r=65535;for(r>e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(k(e),0===e.lookahead&&0===t)return 1;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var n=e.block_start+r;if((0===e.strstart||e.strstart>=n)&&(e.lookahead=e.strstart-n,e.strstart=n,v(e,!1),0===e.strm.avail_out))return 1;if(e.strstart-e.block_start>=e.w_size-c&&(v(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(v(e,!0),0===e.strm.avail_out?3:4):(e.strstart>e.block_start&&(v(e,!1),e.strm.avail_out),1)})),new E(4,4,8,4,C),new E(4,5,16,8,C),new E(4,6,32,32,C),new E(4,4,16,16,S),new E(8,16,32,32,S),new E(8,16,128,128,S),new E(8,32,128,256,S),new E(32,128,258,1024,S),new E(32,258,258,4096,S)],t.deflateInit=function(e,t){return T(e,t,8,15,8,0)},t.deflateInit2=T,t.deflateReset=O,t.deflateResetKeep=I,t.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?l:(e.state.gzhead=t,0):l},t.deflate=function(e,t){var r,i,a,u;if(!e||!e.state||t>5||t<0)return e?m(e,l):l;if(i=e.state,!e.output||!e.input&&0!==e.avail_in||i.status===p&&4!==t)return m(e,0===e.avail_out?-5:l);if(i.strm=e,r=i.last_flush,i.last_flush=t,42===i.status)if(2===i.wrap)e.adler=0,b(i,31),b(i,139),b(i,8),i.gzhead?(b(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),b(i,255&i.gzhead.time),b(i,i.gzhead.time>>8&255),b(i,i.gzhead.time>>16&255),b(i,i.gzhead.time>>24&255),b(i,9===i.level?2:i.strategy>=2||i.level<2?4:0),b(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(b(i,255&i.gzhead.extra.length),b(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=o(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69):(b(i,0),b(i,0),b(i,0),b(i,0),b(i,0),b(i,9===i.level?2:i.strategy>=2||i.level<2?4:0),b(i,3),i.status=d);else{var c=8+(i.w_bits-8<<4)<<8;c|=(i.strategy>=2||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(c|=32),c+=31-c%31,i.status=d,w(i,c),0!==i.strstart&&(w(i,e.adler>>>16),w(i,65535&e.adler)),e.adler=1}if(69===i.status)if(i.gzhead.extra){for(a=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>a&&(e.adler=o(e.adler,i.pending_buf,i.pending-a,a)),y(e),a=i.pending,i.pending!==i.pending_buf_size));)b(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>a&&(e.adler=o(e.adler,i.pending_buf,i.pending-a,a)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73;if(73===i.status)if(i.gzhead.name){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=o(e.adler,i.pending_buf,i.pending-a,a)),y(e),a=i.pending,i.pending===i.pending_buf_size)){u=1;break}u=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,b(i,u)}while(0!==u);i.gzhead.hcrc&&i.pending>a&&(e.adler=o(e.adler,i.pending_buf,i.pending-a,a)),0===u&&(i.gzindex=0,i.status=91)}else i.status=91;if(91===i.status)if(i.gzhead.comment){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=o(e.adler,i.pending_buf,i.pending-a,a)),y(e),a=i.pending,i.pending===i.pending_buf_size)){u=1;break}u=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,b(i,u)}while(0!==u);i.gzhead.hcrc&&i.pending>a&&(e.adler=o(e.adler,i.pending_buf,i.pending-a,a)),0===u&&(i.status=f)}else i.status=f;if(i.status===f&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&y(e),i.pending+2<=i.pending_buf_size&&(b(i,255&e.adler),b(i,e.adler>>8&255),e.adler=0,i.status=d)):i.status=d),0!==i.pending){if(y(e),0===e.avail_out)return i.last_flush=-1,0}else if(0===e.avail_in&&g(t)<=g(r)&&4!==t)return m(e,-5);if(i.status===p&&0!==e.avail_in)return m(e,-5);if(0!==e.avail_in||0!==i.lookahead||0!==t&&i.status!==p){var x=2===i.strategy?function(e,t){for(var r;;){if(0===e.lookahead&&(k(e),0===e.lookahead)){if(0===t)return 1;break}if(e.match_length=0,r=s._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(v(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(v(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(v(e,!1),0===e.strm.avail_out)?1:2}(i,t):3===i.strategy?function(e,t){for(var r,n,i,a,o=e.window;;){if(e.lookahead<=h){if(k(e),e.lookahead<=h&&0===t)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&e.strstart>0&&(n=o[i=e.strstart-1])===o[++i]&&n===o[++i]&&n===o[++i]){a=e.strstart+h;do{}while(n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&i<a);e.match_length=h-(a-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(r=s._tr_tally(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=s._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(v(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(v(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(v(e,!1),0===e.strm.avail_out)?1:2}(i,t):n[i.level].func(i,t);if(3!==x&&4!==x||(i.status=p),1===x||3===x)return 0===e.avail_out&&(i.last_flush=-1),0;if(2===x&&(1===t?s._tr_align(i):5!==t&&(s._tr_stored_block(i,0,0,!1),3===t&&(_(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),y(e),0===e.avail_out))return i.last_flush=-1,0}return 4!==t?0:i.wrap<=0?1:(2===i.wrap?(b(i,255&e.adler),b(i,e.adler>>8&255),b(i,e.adler>>16&255),b(i,e.adler>>24&255),b(i,255&e.total_in),b(i,e.total_in>>8&255),b(i,e.total_in>>16&255),b(i,e.total_in>>24&255)):(w(i,e.adler>>>16),w(i,65535&e.adler)),y(e),i.wrap>0&&(i.wrap=-i.wrap),0!==i.pending?0:1)},t.deflateEnd=function(e){var t;return e&&e.state?42!==(t=e.state.status)&&69!==t&&73!==t&&91!==t&&t!==f&&t!==d&&t!==p?m(e,l):(e.state=null,t===d?m(e,-3):0):l},t.deflateSetDictionary=function(e,t){var r,n,s,o,u,h,c,f,d=t.length;if(!e||!e.state)return l;if(2===(o=(r=e.state).wrap)||1===o&&42!==r.status||r.lookahead)return l;for(1===o&&(e.adler=a(e.adler,t,d,0)),r.wrap=0,d>=r.w_size&&(0===o&&(_(r.head),r.strstart=0,r.block_start=0,r.insert=0),f=new i.Buf8(r.w_size),i.arraySet(f,t,d-r.w_size,r.w_size,0),t=f,d=r.w_size),u=e.avail_in,h=e.next_in,c=e.input,e.avail_in=d,e.next_in=0,e.input=t,k(r);r.lookahead>=3;){n=r.strstart,s=r.lookahead-2;do{r.ins_h=(r.ins_h<<r.hash_shift^r.window[n+3-1])&r.hash_mask,r.prev[n&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=n,n++}while(--s);r.strstart=n,r.lookahead=2,k(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,e.next_in=h,e.input=c,e.avail_in=u,r.wrap=o,0},t.deflateInfo="pako deflate (from Nodeca project)"},42401:e=>{"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}},94264:e=>{"use strict";e.exports=function(e,t){var r,n,i,s,a,o,u,l,h,c,f,d,p,m,g,_,y,v,b,w,x,k,C,S,E;r=e.state,n=e.next_in,S=e.input,i=n+(e.avail_in-5),s=e.next_out,E=e.output,a=s-(t-e.avail_out),o=s+(e.avail_out-257),u=r.dmax,l=r.wsize,h=r.whave,c=r.wnext,f=r.window,d=r.hold,p=r.bits,m=r.lencode,g=r.distcode,_=(1<<r.lenbits)-1,y=(1<<r.distbits)-1;e:do{p<15&&(d+=S[n++]<<p,p+=8,d+=S[n++]<<p,p+=8),v=m[d&_];t:for(;;){if(d>>>=b=v>>>24,p-=b,0==(b=v>>>16&255))E[s++]=65535&v;else{if(!(16&b)){if(0==(64&b)){v=m[(65535&v)+(d&(1<<b)-1)];continue t}if(32&b){r.mode=12;break e}e.msg="invalid literal/length code",r.mode=30;break e}w=65535&v,(b&=15)&&(p<b&&(d+=S[n++]<<p,p+=8),w+=d&(1<<b)-1,d>>>=b,p-=b),p<15&&(d+=S[n++]<<p,p+=8,d+=S[n++]<<p,p+=8),v=g[d&y];r:for(;;){if(d>>>=b=v>>>24,p-=b,!(16&(b=v>>>16&255))){if(0==(64&b)){v=g[(65535&v)+(d&(1<<b)-1)];continue r}e.msg="invalid distance code",r.mode=30;break e}if(x=65535&v,p<(b&=15)&&(d+=S[n++]<<p,(p+=8)<b&&(d+=S[n++]<<p,p+=8)),(x+=d&(1<<b)-1)>u){e.msg="invalid distance too far back",r.mode=30;break e}if(d>>>=b,p-=b,x>(b=s-a)){if((b=x-b)>h&&r.sane){e.msg="invalid distance too far back",r.mode=30;break e}if(k=0,C=f,0===c){if(k+=l-b,b<w){w-=b;do{E[s++]=f[k++]}while(--b);k=s-x,C=E}}else if(c<b){if(k+=l+c-b,(b-=c)<w){w-=b;do{E[s++]=f[k++]}while(--b);if(k=0,c<w){w-=b=c;do{E[s++]=f[k++]}while(--b);k=s-x,C=E}}}else if(k+=c-b,b<w){w-=b;do{E[s++]=f[k++]}while(--b);k=s-x,C=E}for(;w>2;)E[s++]=C[k++],E[s++]=C[k++],E[s++]=C[k++],w-=3;w&&(E[s++]=C[k++],w>1&&(E[s++]=C[k++]))}else{k=s-x;do{E[s++]=E[k++],E[s++]=E[k++],E[s++]=E[k++],w-=3}while(w>2);w&&(E[s++]=E[k++],w>1&&(E[s++]=E[k++]))}break}}break}}while(n<i&&s<o);n-=w=p>>3,d&=(1<<(p-=w<<3))-1,e.next_in=n,e.next_out=s,e.avail_in=n<i?i-n+5:5-(n-i),e.avail_out=s<o?o-s+257:257-(s-o),r.hold=d,r.bits=p}},27948:(e,t,r)=>{"use strict";var n=r(24236),i=r(66069),s=r(2869),a=r(94264),o=r(9241),u=-2,l=12,h=30;function c(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function f(){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 n.Buf16(320),this.work=new n.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function d(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new n.Buf32(852),t.distcode=t.distdyn=new n.Buf32(592),t.sane=1,t.back=-1,0):u}function p(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,d(e)):u}function m(e,t){var r,n;return e&&e.state?(n=e.state,t<0?(r=0,t=-t):(r=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?u:(null!==n.window&&n.wbits!==t&&(n.window=null),n.wrap=r,n.wbits=t,p(e))):u}function g(e,t){var r,n;return e?(n=new f,e.state=n,n.window=null,0!==(r=m(e,t))&&(e.state=null),r):u}var _,y,v=!0;function b(e){if(v){var t;for(_=new n.Buf32(512),y=new n.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(o(1,e.lens,0,288,_,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;o(2,e.lens,0,32,y,0,e.work,{bits:5}),v=!1}e.lencode=_,e.lenbits=9,e.distcode=y,e.distbits=5}function w(e,t,r,i){var s,a=e.state;return null===a.window&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new n.Buf8(a.wsize)),i>=a.wsize?(n.arraySet(a.window,t,r-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):((s=a.wsize-a.wnext)>i&&(s=i),n.arraySet(a.window,t,r-i,s,a.wnext),(i-=s)?(n.arraySet(a.window,t,r-i,i,0),a.wnext=i,a.whave=a.wsize):(a.wnext+=s,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=s))),0}t.inflateReset=p,t.inflateReset2=m,t.inflateResetKeep=d,t.inflateInit=function(e){return g(e,15)},t.inflateInit2=g,t.inflate=function(e,t){var r,f,d,p,m,g,_,y,v,x,k,C,S,E,A,I,O,T,z,B,L,R,D,F,P=0,N=new n.Buf8(4),U=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return u;(r=e.state).mode===l&&(r.mode=13),m=e.next_out,d=e.output,_=e.avail_out,p=e.next_in,f=e.input,g=e.avail_in,y=r.hold,v=r.bits,x=g,k=_,R=0;e:for(;;)switch(r.mode){case 1:if(0===r.wrap){r.mode=13;break}for(;v<16;){if(0===g)break e;g--,y+=f[p++]<<v,v+=8}if(2&r.wrap&&35615===y){r.check=0,N[0]=255&y,N[1]=y>>>8&255,r.check=s(r.check,N,2,0),y=0,v=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&y)<<8)+(y>>8))%31){e.msg="incorrect header check",r.mode=h;break}if(8!=(15&y)){e.msg="unknown compression method",r.mode=h;break}if(v-=4,L=8+(15&(y>>>=4)),0===r.wbits)r.wbits=L;else if(L>r.wbits){e.msg="invalid window size",r.mode=h;break}r.dmax=1<<L,e.adler=r.check=1,r.mode=512&y?10:l,y=0,v=0;break;case 2:for(;v<16;){if(0===g)break e;g--,y+=f[p++]<<v,v+=8}if(r.flags=y,8!=(255&r.flags)){e.msg="unknown compression method",r.mode=h;break}if(57344&r.flags){e.msg="unknown header flags set",r.mode=h;break}r.head&&(r.head.text=y>>8&1),512&r.flags&&(N[0]=255&y,N[1]=y>>>8&255,r.check=s(r.check,N,2,0)),y=0,v=0,r.mode=3;case 3:for(;v<32;){if(0===g)break e;g--,y+=f[p++]<<v,v+=8}r.head&&(r.head.time=y),512&r.flags&&(N[0]=255&y,N[1]=y>>>8&255,N[2]=y>>>16&255,N[3]=y>>>24&255,r.check=s(r.check,N,4,0)),y=0,v=0,r.mode=4;case 4:for(;v<16;){if(0===g)break e;g--,y+=f[p++]<<v,v+=8}r.head&&(r.head.xflags=255&y,r.head.os=y>>8),512&r.flags&&(N[0]=255&y,N[1]=y>>>8&255,r.check=s(r.check,N,2,0)),y=0,v=0,r.mode=5;case 5:if(1024&r.flags){for(;v<16;){if(0===g)break e;g--,y+=f[p++]<<v,v+=8}r.length=y,r.head&&(r.head.extra_len=y),512&r.flags&&(N[0]=255&y,N[1]=y>>>8&255,r.check=s(r.check,N,2,0)),y=0,v=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&((C=r.length)>g&&(C=g),C&&(r.head&&(L=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),n.arraySet(r.head.extra,f,p,C,L)),512&r.flags&&(r.check=s(r.check,f,C,p)),g-=C,p+=C,r.length-=C),r.length))break e;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===g)break e;C=0;do{L=f[p+C++],r.head&&L&&r.length<65536&&(r.head.name+=String.fromCharCode(L))}while(L&&C<g);if(512&r.flags&&(r.check=s(r.check,f,C,p)),g-=C,p+=C,L)break e}else r.head&&(r.head.name=null);r.length=0,r.mode=8;case 8:if(4096&r.flags){if(0===g)break e;C=0;do{L=f[p+C++],r.head&&L&&r.length<65536&&(r.head.comment+=String.fromCharCode(L))}while(L&&C<g);if(512&r.flags&&(r.check=s(r.check,f,C,p)),g-=C,p+=C,L)break e}else r.head&&(r.head.comment=null);r.mode=9;case 9:if(512&r.flags){for(;v<16;){if(0===g)break e;g--,y+=f[p++]<<v,v+=8}if(y!==(65535&r.check)){e.msg="header crc mismatch",r.mode=h;break}y=0,v=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=l;break;case 10:for(;v<32;){if(0===g)break e;g--,y+=f[p++]<<v,v+=8}e.adler=r.check=c(y),y=0,v=0,r.mode=11;case 11:if(0===r.havedict)return e.next_out=m,e.avail_out=_,e.next_in=p,e.avail_in=g,r.hold=y,r.bits=v,2;e.adler=r.check=1,r.mode=l;case l:if(5===t||6===t)break e;case 13:if(r.last){y>>>=7&v,v-=7&v,r.mode=27;break}for(;v<3;){if(0===g)break e;g--,y+=f[p++]<<v,v+=8}switch(r.last=1&y,v-=1,3&(y>>>=1)){case 0:r.mode=14;break;case 1:if(b(r),r.mode=20,6===t){y>>>=2,v-=2;break e}break;case 2:r.mode=17;break;case 3:e.msg="invalid block type",r.mode=h}y>>>=2,v-=2;break;case 14:for(y>>>=7&v,v-=7&v;v<32;){if(0===g)break e;g--,y+=f[p++]<<v,v+=8}if((65535&y)!=(y>>>16^65535)){e.msg="invalid stored block lengths",r.mode=h;break}if(r.length=65535&y,y=0,v=0,r.mode=15,6===t)break e;case 15:r.mode=16;case 16:if(C=r.length){if(C>g&&(C=g),C>_&&(C=_),0===C)break e;n.arraySet(d,f,p,C,m),g-=C,p+=C,_-=C,m+=C,r.length-=C;break}r.mode=l;break;case 17:for(;v<14;){if(0===g)break e;g--,y+=f[p++]<<v,v+=8}if(r.nlen=257+(31&y),y>>>=5,v-=5,r.ndist=1+(31&y),y>>>=5,v-=5,r.ncode=4+(15&y),y>>>=4,v-=4,r.nlen>286||r.ndist>30){e.msg="too many length or distance symbols",r.mode=h;break}r.have=0,r.mode=18;case 18:for(;r.have<r.ncode;){for(;v<3;){if(0===g)break e;g--,y+=f[p++]<<v,v+=8}r.lens[U[r.have++]]=7&y,y>>>=3,v-=3}for(;r.have<19;)r.lens[U[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,D={bits:r.lenbits},R=o(0,r.lens,0,19,r.lencode,0,r.work,D),r.lenbits=D.bits,R){e.msg="invalid code lengths set",r.mode=h;break}r.have=0,r.mode=19;case 19:for(;r.have<r.nlen+r.ndist;){for(;I=(P=r.lencode[y&(1<<r.lenbits)-1])>>>16&255,O=65535&P,!((A=P>>>24)<=v);){if(0===g)break e;g--,y+=f[p++]<<v,v+=8}if(O<16)y>>>=A,v-=A,r.lens[r.have++]=O;else{if(16===O){for(F=A+2;v<F;){if(0===g)break e;g--,y+=f[p++]<<v,v+=8}if(y>>>=A,v-=A,0===r.have){e.msg="invalid bit length repeat",r.mode=h;break}L=r.lens[r.have-1],C=3+(3&y),y>>>=2,v-=2}else if(17===O){for(F=A+3;v<F;){if(0===g)break e;g--,y+=f[p++]<<v,v+=8}v-=A,L=0,C=3+(7&(y>>>=A)),y>>>=3,v-=3}else{for(F=A+7;v<F;){if(0===g)break e;g--,y+=f[p++]<<v,v+=8}v-=A,L=0,C=11+(127&(y>>>=A)),y>>>=7,v-=7}if(r.have+C>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=h;break}for(;C--;)r.lens[r.have++]=L}}if(r.mode===h)break;if(0===r.lens[256]){e.msg="invalid code -- missing end-of-block",r.mode=h;break}if(r.lenbits=9,D={bits:r.lenbits},R=o(1,r.lens,0,r.nlen,r.lencode,0,r.work,D),r.lenbits=D.bits,R){e.msg="invalid literal/lengths set",r.mode=h;break}if(r.distbits=6,r.distcode=r.distdyn,D={bits:r.distbits},R=o(2,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,D),r.distbits=D.bits,R){e.msg="invalid distances set",r.mode=h;break}if(r.mode=20,6===t)break e;case 20:r.mode=21;case 21:if(g>=6&&_>=258){e.next_out=m,e.avail_out=_,e.next_in=p,e.avail_in=g,r.hold=y,r.bits=v,a(e,k),m=e.next_out,d=e.output,_=e.avail_out,p=e.next_in,f=e.input,g=e.avail_in,y=r.hold,v=r.bits,r.mode===l&&(r.back=-1);break}for(r.back=0;I=(P=r.lencode[y&(1<<r.lenbits)-1])>>>16&255,O=65535&P,!((A=P>>>24)<=v);){if(0===g)break e;g--,y+=f[p++]<<v,v+=8}if(I&&0==(240&I)){for(T=A,z=I,B=O;I=(P=r.lencode[B+((y&(1<<T+z)-1)>>T)])>>>16&255,O=65535&P,!(T+(A=P>>>24)<=v);){if(0===g)break e;g--,y+=f[p++]<<v,v+=8}y>>>=T,v-=T,r.back+=T}if(y>>>=A,v-=A,r.back+=A,r.length=O,0===I){r.mode=26;break}if(32&I){r.back=-1,r.mode=l;break}if(64&I){e.msg="invalid literal/length code",r.mode=h;break}r.extra=15&I,r.mode=22;case 22:if(r.extra){for(F=r.extra;v<F;){if(0===g)break e;g--,y+=f[p++]<<v,v+=8}r.length+=y&(1<<r.extra)-1,y>>>=r.extra,v-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;I=(P=r.distcode[y&(1<<r.distbits)-1])>>>16&255,O=65535&P,!((A=P>>>24)<=v);){if(0===g)break e;g--,y+=f[p++]<<v,v+=8}if(0==(240&I)){for(T=A,z=I,B=O;I=(P=r.distcode[B+((y&(1<<T+z)-1)>>T)])>>>16&255,O=65535&P,!(T+(A=P>>>24)<=v);){if(0===g)break e;g--,y+=f[p++]<<v,v+=8}y>>>=T,v-=T,r.back+=T}if(y>>>=A,v-=A,r.back+=A,64&I){e.msg="invalid distance code",r.mode=h;break}r.offset=O,r.extra=15&I,r.mode=24;case 24:if(r.extra){for(F=r.extra;v<F;){if(0===g)break e;g--,y+=f[p++]<<v,v+=8}r.offset+=y&(1<<r.extra)-1,y>>>=r.extra,v-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=h;break}r.mode=25;case 25:if(0===_)break e;if(C=k-_,r.offset>C){if((C=r.offset-C)>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=h;break}C>r.wnext?(C-=r.wnext,S=r.wsize-C):S=r.wnext-C,C>r.length&&(C=r.length),E=r.window}else E=d,S=m-r.offset,C=r.length;C>_&&(C=_),_-=C,r.length-=C;do{d[m++]=E[S++]}while(--C);0===r.length&&(r.mode=21);break;case 26:if(0===_)break e;d[m++]=r.length,_--,r.mode=21;break;case 27:if(r.wrap){for(;v<32;){if(0===g)break e;g--,y|=f[p++]<<v,v+=8}if(k-=_,e.total_out+=k,r.total+=k,k&&(e.adler=r.check=r.flags?s(r.check,d,k,m-k):i(r.check,d,k,m-k)),k=_,(r.flags?y:c(y))!==r.check){e.msg="incorrect data check",r.mode=h;break}y=0,v=0}r.mode=28;case 28:if(r.wrap&&r.flags){for(;v<32;){if(0===g)break e;g--,y+=f[p++]<<v,v+=8}if(y!==(4294967295&r.total)){e.msg="incorrect length check",r.mode=h;break}y=0,v=0}r.mode=29;case 29:R=1;break e;case h:R=-3;break e;case 31:return-4;default:return u}return e.next_out=m,e.avail_out=_,e.next_in=p,e.avail_in=g,r.hold=y,r.bits=v,(r.wsize||k!==e.avail_out&&r.mode<h&&(r.mode<27||4!==t))&&w(e,e.output,e.next_out,k-e.avail_out)?(r.mode=31,-4):(x-=e.avail_in,k-=e.avail_out,e.total_in+=x,e.total_out+=k,r.total+=k,r.wrap&&k&&(e.adler=r.check=r.flags?s(r.check,d,k,e.next_out-k):i(r.check,d,k,e.next_out-k)),e.data_type=r.bits+(r.last?64:0)+(r.mode===l?128:0)+(20===r.mode||15===r.mode?256:0),(0===x&&0===k||4===t)&&0===R&&(R=-5),R)},t.inflateEnd=function(e){if(!e||!e.state)return u;var t=e.state;return t.window&&(t.window=null),e.state=null,0},t.inflateGetHeader=function(e,t){var r;return e&&e.state?0==(2&(r=e.state).wrap)?u:(r.head=t,t.done=!1,0):u},t.inflateSetDictionary=function(e,t){var r,n=t.length;return e&&e.state?0!==(r=e.state).wrap&&11!==r.mode?u:11===r.mode&&i(1,t,n,0)!==r.check?-3:w(e,t,n,n)?(r.mode=31,-4):(r.havedict=1,0):u},t.inflateInfo="pako inflate (from Nodeca project)"},9241:(e,t,r)=>{"use strict";var n=r(24236),i=[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],s=[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],a=[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(e,t,r,u,l,h,c,f){var d,p,m,g,_,y,v,b,w,x=f.bits,k=0,C=0,S=0,E=0,A=0,I=0,O=0,T=0,z=0,B=0,L=null,R=0,D=new n.Buf16(16),F=new n.Buf16(16),P=null,N=0;for(k=0;k<=15;k++)D[k]=0;for(C=0;C<u;C++)D[t[r+C]]++;for(A=x,E=15;E>=1&&0===D[E];E--);if(A>E&&(A=E),0===E)return l[h++]=20971520,l[h++]=20971520,f.bits=1,0;for(S=1;S<E&&0===D[S];S++);for(A<S&&(A=S),T=1,k=1;k<=15;k++)if(T<<=1,(T-=D[k])<0)return-1;if(T>0&&(0===e||1!==E))return-1;for(F[1]=0,k=1;k<15;k++)F[k+1]=F[k]+D[k];for(C=0;C<u;C++)0!==t[r+C]&&(c[F[t[r+C]]++]=C);if(0===e?(L=P=c,y=19):1===e?(L=i,R-=257,P=s,N-=257,y=256):(L=a,P=o,y=-1),B=0,C=0,k=S,_=h,I=A,O=0,m=-1,g=(z=1<<A)-1,1===e&&z>852||2===e&&z>592)return 1;for(;;){v=k-O,c[C]<y?(b=0,w=c[C]):c[C]>y?(b=P[N+c[C]],w=L[R+c[C]]):(b=96,w=0),d=1<<k-O,S=p=1<<I;do{l[_+(B>>O)+(p-=d)]=v<<24|b<<16|w|0}while(0!==p);for(d=1<<k-1;B&d;)d>>=1;if(0!==d?(B&=d-1,B+=d):B=0,C++,0==--D[k]){if(k===E)break;k=t[r+c[C]]}if(k>A&&(B&g)!==m){for(0===O&&(O=A),_+=S,T=1<<(I=k-O);I+O<E&&!((T-=D[I+O])<=0);)I++,T<<=1;if(z+=1<<I,1===e&&z>852||2===e&&z>592)return 1;l[m=B&g]=A<<24|I<<16|_-h|0}}return 0!==B&&(l[_+B]=k-O<<24|64<<16|0),f.bits=A,0}},48898:e=>{"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"}},10342:(e,t,r)=>{"use strict";var n=r(24236);function i(e){for(var t=e.length;--t>=0;)e[t]=0}var s=[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],a=[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],u=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],l=new Array(576);i(l);var h=new Array(60);i(h);var c=new Array(512);i(c);var f=new Array(256);i(f);var d=new Array(29);i(d);var p,m,g,_=new Array(30);function y(e,t,r,n,i){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=n,this.max_length=i,this.has_stree=e&&e.length}function v(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function b(e){return e<256?c[e]:c[256+(e>>>7)]}function w(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function x(e,t,r){e.bi_valid>16-r?(e.bi_buf|=t<<e.bi_valid&65535,w(e,e.bi_buf),e.bi_buf=t>>16-e.bi_valid,e.bi_valid+=r-16):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=r)}function k(e,t,r){x(e,r[2*t],r[2*t+1])}function C(e,t){var r=0;do{r|=1&e,e>>>=1,r<<=1}while(--t>0);return r>>>1}function S(e,t,r){var n,i,s=new Array(16),a=0;for(n=1;n<=15;n++)s[n]=a=a+r[n-1]<<1;for(i=0;i<=t;i++){var o=e[2*i+1];0!==o&&(e[2*i]=C(s[o]++,o))}}function E(e){var t;for(t=0;t<286;t++)e.dyn_ltree[2*t]=0;for(t=0;t<30;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function A(e){e.bi_valid>8?w(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function I(e,t,r,n){var i=2*t,s=2*r;return e[i]<e[s]||e[i]===e[s]&&n[t]<=n[r]}function O(e,t,r){for(var n=e.heap[r],i=r<<1;i<=e.heap_len&&(i<e.heap_len&&I(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!I(t,n,e.heap[i],e.depth));)e.heap[r]=e.heap[i],r=i,i<<=1;e.heap[r]=n}function T(e,t,r){var n,i,o,u,l=0;if(0!==e.last_lit)do{n=e.pending_buf[e.d_buf+2*l]<<8|e.pending_buf[e.d_buf+2*l+1],i=e.pending_buf[e.l_buf+l],l++,0===n?k(e,i,t):(k(e,(o=f[i])+256+1,t),0!==(u=s[o])&&x(e,i-=d[o],u),k(e,o=b(--n),r),0!==(u=a[o])&&x(e,n-=_[o],u))}while(l<e.last_lit);k(e,256,t)}function z(e,t){var r,n,i,s=t.dyn_tree,a=t.stat_desc.static_tree,o=t.stat_desc.has_stree,u=t.stat_desc.elems,l=-1;for(e.heap_len=0,e.heap_max=573,r=0;r<u;r++)0!==s[2*r]?(e.heap[++e.heap_len]=l=r,e.depth[r]=0):s[2*r+1]=0;for(;e.heap_len<2;)s[2*(i=e.heap[++e.heap_len]=l<2?++l:0)]=1,e.depth[i]=0,e.opt_len--,o&&(e.static_len-=a[2*i+1]);for(t.max_code=l,r=e.heap_len>>1;r>=1;r--)O(e,s,r);i=u;do{r=e.heap[1],e.heap[1]=e.heap[e.heap_len--],O(e,s,1),n=e.heap[1],e.heap[--e.heap_max]=r,e.heap[--e.heap_max]=n,s[2*i]=s[2*r]+s[2*n],e.depth[i]=(e.depth[r]>=e.depth[n]?e.depth[r]:e.depth[n])+1,s[2*r+1]=s[2*n+1]=i,e.heap[1]=i++,O(e,s,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(e,t){var r,n,i,s,a,o,u=t.dyn_tree,l=t.max_code,h=t.stat_desc.static_tree,c=t.stat_desc.has_stree,f=t.stat_desc.extra_bits,d=t.stat_desc.extra_base,p=t.stat_desc.max_length,m=0;for(s=0;s<=15;s++)e.bl_count[s]=0;for(u[2*e.heap[e.heap_max]+1]=0,r=e.heap_max+1;r<573;r++)(s=u[2*u[2*(n=e.heap[r])+1]+1]+1)>p&&(s=p,m++),u[2*n+1]=s,n>l||(e.bl_count[s]++,a=0,n>=d&&(a=f[n-d]),o=u[2*n],e.opt_len+=o*(s+a),c&&(e.static_len+=o*(h[2*n+1]+a)));if(0!==m){do{for(s=p-1;0===e.bl_count[s];)s--;e.bl_count[s]--,e.bl_count[s+1]+=2,e.bl_count[p]--,m-=2}while(m>0);for(s=p;0!==s;s--)for(n=e.bl_count[s];0!==n;)(i=e.heap[--r])>l||(u[2*i+1]!==s&&(e.opt_len+=(s-u[2*i+1])*u[2*i],u[2*i+1]=s),n--)}}(e,t),S(s,l,e.bl_count)}function B(e,t,r){var n,i,s=-1,a=t[1],o=0,u=7,l=4;for(0===a&&(u=138,l=3),t[2*(r+1)+1]=65535,n=0;n<=r;n++)i=a,a=t[2*(n+1)+1],++o<u&&i===a||(o<l?e.bl_tree[2*i]+=o:0!==i?(i!==s&&e.bl_tree[2*i]++,e.bl_tree[32]++):o<=10?e.bl_tree[34]++:e.bl_tree[36]++,o=0,s=i,0===a?(u=138,l=3):i===a?(u=6,l=3):(u=7,l=4))}function L(e,t,r){var n,i,s=-1,a=t[1],o=0,u=7,l=4;for(0===a&&(u=138,l=3),n=0;n<=r;n++)if(i=a,a=t[2*(n+1)+1],!(++o<u&&i===a)){if(o<l)do{k(e,i,e.bl_tree)}while(0!=--o);else 0!==i?(i!==s&&(k(e,i,e.bl_tree),o--),k(e,16,e.bl_tree),x(e,o-3,2)):o<=10?(k(e,17,e.bl_tree),x(e,o-3,3)):(k(e,18,e.bl_tree),x(e,o-11,7));o=0,s=i,0===a?(u=138,l=3):i===a?(u=6,l=3):(u=7,l=4)}}i(_);var R=!1;function D(e,t,r,i){x(e,0+(i?1:0),3),function(e,t,r,i){A(e),w(e,r),w(e,~r),n.arraySet(e.pending_buf,e.window,t,r,e.pending),e.pending+=r}(e,t,r)}t._tr_init=function(e){R||(function(){var e,t,r,n,i,u=new Array(16);for(r=0,n=0;n<28;n++)for(d[n]=r,e=0;e<1<<s[n];e++)f[r++]=n;for(f[r-1]=n,i=0,n=0;n<16;n++)for(_[n]=i,e=0;e<1<<a[n];e++)c[i++]=n;for(i>>=7;n<30;n++)for(_[n]=i<<7,e=0;e<1<<a[n]-7;e++)c[256+i++]=n;for(t=0;t<=15;t++)u[t]=0;for(e=0;e<=143;)l[2*e+1]=8,e++,u[8]++;for(;e<=255;)l[2*e+1]=9,e++,u[9]++;for(;e<=279;)l[2*e+1]=7,e++,u[7]++;for(;e<=287;)l[2*e+1]=8,e++,u[8]++;for(S(l,287,u),e=0;e<30;e++)h[2*e+1]=5,h[2*e]=C(e,5);p=new y(l,s,257,286,15),m=new y(h,a,0,30,15),g=new y(new Array(0),o,0,19,7)}(),R=!0),e.l_desc=new v(e.dyn_ltree,p),e.d_desc=new v(e.dyn_dtree,m),e.bl_desc=new v(e.bl_tree,g),e.bi_buf=0,e.bi_valid=0,E(e)},t._tr_stored_block=D,t._tr_flush_block=function(e,t,r,n){var i,s,a=0;e.level>0?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,r=4093624447;for(t=0;t<=31;t++,r>>>=1)if(1&r&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<256;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0}(e)),z(e,e.l_desc),z(e,e.d_desc),a=function(e){var t;for(B(e,e.dyn_ltree,e.l_desc.max_code),B(e,e.dyn_dtree,e.d_desc.max_code),z(e,e.bl_desc),t=18;t>=3&&0===e.bl_tree[2*u[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),i=e.opt_len+3+7>>>3,(s=e.static_len+3+7>>>3)<=i&&(i=s)):i=s=r+5,r+4<=i&&-1!==t?D(e,t,r,n):4===e.strategy||s===i?(x(e,2+(n?1:0),3),T(e,l,h)):(x(e,4+(n?1:0),3),function(e,t,r,n){var i;for(x(e,t-257,5),x(e,r-1,5),x(e,n-4,4),i=0;i<n;i++)x(e,e.bl_tree[2*u[i]+1],3);L(e,e.dyn_ltree,t-1),L(e,e.dyn_dtree,r-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,a+1),T(e,e.dyn_ltree,e.dyn_dtree)),E(e),n&&A(e)},t._tr_tally=function(e,t,r){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&r,e.last_lit++,0===t?e.dyn_ltree[2*r]++:(e.matches++,t--,e.dyn_ltree[2*(f[r]+256+1)]++,e.dyn_dtree[2*b(t)]++),e.last_lit===e.lit_bufsize-1},t._tr_align=function(e){x(e,2,3),k(e,256,l),function(e){16===e.bi_valid?(w(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}},62292:e=>{"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}},11392:(e,t,r)=>{r(29718);var n=r(6941).s;function i(e){var t=new n;return(t.write(e)+t.end()).replace(/\0/g,"").trim()}e.exports=function e(t,r){if(!t)return i;try{new TextDecoder(t.trim())}catch(a){var n=s.exec(t);return n&&!r?e("windows-"+n[1],!0):i}return function(e){var r=new TextDecoder(t);return(r.decode(e,{stream:!0})+r.decode()).replace(/\0/g,"").trim()}};var s=/^(?:ANSI\s)?(\d+)$/m},9462:(e,t,r)=>{var n=r(11392);function i(e,t,r,n,i){var s=i(e.slice(t,t+r));switch(n){case"N":case"F":case"O":return parseFloat(s,10);case"D":return new Date(s.slice(0,4),parseInt(s.slice(4,6),10)-1,s.slice(6,8));case"L":return"y"===s.toLowerCase()||"t"===s.toLowerCase();default:return s}}function s(e,t,r,n){for(var s,a,o={},u=0,l=r.length;u<l;)s=i(e,t,(a=r[u]).len,a.dataType,n),t+=a.len,void 0!==s&&(o[a.name]=s),u++;return o}e.exports=function(e,t){for(var r=n(t),i=function(e){var t={};return t.lastUpdated=new Date(e.readUInt8(1)+1900,e.readUInt8(2),e.readUInt8(3)),t.records=e.readUInt32LE(4),t.headerLen=e.readUInt16LE(8),t.recLen=e.readUInt16LE(10),t}(e),a=function(e,t,r){for(var n=[],i=32;i<t&&(n.push({name:r(e.slice(i,i+11)),dataType:String.fromCharCode(e.readUInt8(i+11)),len:e.readUInt8(i+16),decimal:e.readUInt8(i+17)}),13!==e.readUInt8(i+32));)i+=32;return n}(e,i.headerLen-1,r),o=2+(a.length+1<<5),u=i.recLen,l=i.records,h=[];l;)h.push(s(e,o,a,r)),o+=u,l--;return h}},94830:(e,t,r)=>{"use strict";var n=r(48764).Buffer,i=r(43389);e.exports=function(e){return new i((function(t,r){var i=e.slice(-3),s=new XMLHttpRequest;s.open("GET",e,!0),"prj"!==i&&"cpg"!==i&&(s.responseType="arraybuffer"),s.addEventListener("load",(function(){return s.status>399?"prj"===i||"cpg"===i?t(!1):r(new Error(s.status)):t("prj"!==i&&"cpg"!==i?new n(s.response):s.response)}),!1),s.send()}))}},39902:(e,t,r)=>{"use strict";var n=r(48764).Buffer,i=r(90173);i.default&&(i=i.default);var s=r(32555),a=r(94830),o=r(76415),u=r(9462),l=r(43389),h=new(r(5387))({max:20});function c(e){if(!e)throw new Error("forgot to pass buffer");return n.isBuffer(e)?e:e instanceof r.g.ArrayBuffer?new n(e):e.buffer instanceof r.g.ArrayBuffer?1===e.BYTES_PER_ELEMENT?new n(e):new n(e.buffer):void 0}function f(e,t){return"string"==typeof e&&h.has(e)?l.resolve(h.get(e)):f.getShapefile(e,t).then((function(t){return"string"==typeof e&&h.set(e,t),t}))}f.combine=function(e){for(var t={type:"FeatureCollection",features:[]},r=0,n=e[0].length;r<n;)t.features.push({type:"Feature",geometry:e[0][r],properties:e[1][r]}),r++;return t},f.parseZip=function(e,t){var r;e=c(e);var n=s(e),a=[];for(r in t=t||[],n)-1===r.indexOf("__MACOSX")&&("shp"===r.slice(-3).toLowerCase()?(a.push(r.slice(0,-4)),n[r.slice(0,-3)+r.slice(-3).toLowerCase()]=n[r]):"prj"===r.slice(-3).toLowerCase()?n[r.slice(0,-3)+r.slice(-3).toLowerCase()]=i(n[r]):"json"===r.slice(-4).toLowerCase()||t.indexOf(r.split(".").pop())>-1?a.push(r.slice(0,-3)+r.slice(-3).toLowerCase()):"dbf"!==r.slice(-3).toLowerCase()&&"cpg"!==r.slice(-3).toLowerCase()||(n[r.slice(0,-3)+r.slice(-3).toLowerCase()]=n[r]));if(!a.length)throw new Error("no layers founds");var l=a.map((function(e){var r,i,s=e.lastIndexOf(".");return s>-1&&e.slice(s).indexOf("json")>-1?(r=JSON.parse(n[e])).fileName=e.slice(0,s):t.indexOf(e.slice(s+1))>-1?(r=n[e]).fileName=e:(n[e+".dbf"]&&(i=u(n[e+".dbf"],n[e+".cpg"])),(r=f.combine([o(n[e+".shp"],n[e+".prj"]),i])).fileName=e),r}));return 1===l.length?l[0]:l},f.getShapefile=function(e,t){return"string"==typeof e?".zip"===e.slice(-4).toLowerCase()?function(e,t){return a(e).then((function(e){return f.parseZip(e,t)}))}(e,t):l.all([l.all([a(e+".shp"),a(e+".prj")]).then((function(e){return o(e[0],!!e[1]&&i(e[1]))})),l.all([a(e+".dbf"),a(e+".cpg")]).then((function(e){return u(e[0],e[1])}))]).then(f.combine):new l((function(t){t(f.parseZip(e))}))},f.parseShp=function(e,t){return e=c(e),n.isBuffer(t)&&(t=t.toString()),"string"==typeof t?(t=i(t),o(e,t)):o(e)},f.parseDbf=function(e,t){return e=c(e),u(e,t)},e.exports=f},76415:e=>{"use strict";function t(e,t){return!function(e){for(var t,r,n=0,i=1,s=e.length;i<s;)t=r||e[0],n+=((r=e[i])[0]-t[0])*(r[1]+t[1]),i++;return n>0}(t)&&e.length?e[e.length-1].push(t):e.push([t]),e}n.prototype.parsePoint=function(e){return{type:"Point",coordinates:this.parseCoord(e,0)}},n.prototype.parseZPoint=function(e){var t=this.parsePoint(e);return t.coordinates.push(this.parseCoord(e,16)),t},n.prototype.parsePointArray=function(e,t,r){for(var n=[],i=0;i<r;)n.push(this.parseCoord(e,t)),t+=16,i++;return n},n.prototype.parseZPointArray=function(e,t,r,n){for(var i=0;i<r;)n[i].push(e.readDoubleLE(t)),i++,t+=8;return n},n.prototype.parseArrayGroup=function(e,t,r,n,i){for(var s,a,o=[],u=0,l=0;u<n;)r+=4,s=l,(a=(l=++u===n?i:e.readInt32LE(r))-s)&&(o.push(this.parsePointArray(e,t,a)),t+=a<<4);return o},n.prototype.parseZArrayGroup=function(e,t,r,n){for(var i=0;i<r;)n[i]=this.parseZPointArray(e,t,n[i].length,n[i]),t+=n[i].length<<3,i++;return n},n.prototype.parseMultiPoint=function(e){var t={},r=this.parseCoord(e,0),n=this.parseCoord(e,16);t.bbox=[r[0],r[1],n[0],n[1]];var i=e.readInt32LE(32,!0);return 1===i?(t.type="Point",t.coordinates=this.parseCoord(e,36)):(t.type="MultiPoint",t.coordinates=this.parsePointArray(e,36,i)),t},n.prototype.parseZMultiPoint=function(e){var t,r=this.parseMultiPoint(e);if("Point"===r.type)return r.coordinates.push(e.readDoubleLE(72)),r;var n=52+((t=r.coordinates.length)<<4);return r.coordinates=this.parseZPointArray(e,n,t,r.coordinates),r},n.prototype.parsePolyline=function(e){var t={},r=this.parseCoord(e,0),n=this.parseCoord(e,16);t.bbox=[r[0],r[1],n[0],n[1]];var i,s=e.readInt32LE(32),a=e.readInt32LE(36);return 1===s?(t.type="LineString",i=44,t.coordinates=this.parsePointArray(e,i,a)):(t.type="MultiLineString",i=40+(s<<2),t.coordinates=this.parseArrayGroup(e,i,40,s,a)),t},n.prototype.parseZPolyline=function(e){var t,r=this.parsePolyline(e),n=r.coordinates.length;return"LineString"===r.type?(t=60+(n<<4),r.coordinates=this.parseZPointArray(e,t,n,r.coordinates),r):(t=56+(r.coordinates.reduce((function(e,t){return e+t.length}),0)<<4)+(n<<2),r.coordinates=this.parseZArrayGroup(e,t,n,r.coordinates),r)},n.prototype.polyFuncs=function(e){return"LineString"===e.type?(e.type="Polygon",e.coordinates=[e.coordinates],e):(e.coordinates=e.coordinates.reduce(t,[]),1===e.coordinates.length?(e.type="Polygon",e.coordinates=e.coordinates[0],e):(e.type="MultiPolygon",e))},n.prototype.parsePolygon=function(e){return this.polyFuncs(this.parsePolyline(e))},n.prototype.parseZPolygon=function(e){return this.polyFuncs(this.parseZPolyline(e))};var r={1:"parsePoint",3:"parsePolyline",5:"parsePolygon",8:"parseMultiPoint",11:"parseZPoint",13:"parseZPolyline",15:"parseZPolygon",18:"parseZMultiPoint"};function n(e,t){if(!(this instanceof n))return new n(e,t);this.buffer=e,this.shpFuncs(t),this.rows=this.getRows()}n.prototype.shpFuncs=function(e){var t,n=this.getShpCode();if(n>20&&(n-=20),!(n in r))throw new Error("I don't know that shp type");this.parseFunc=this[r[n]],this.parseCoord=(t=e)?function(e,r){return t.inverse([e.readDoubleLE(r),e.readDoubleLE(r+8)])}:function(e,t){return[e.readDoubleLE(t),e.readDoubleLE(t+8)]}},n.prototype.getShpCode=function(){return this.parseHeader().shpCode},n.prototype.parseHeader=function(){var e=this.buffer.slice(0,100);return{length:e.readInt32BE(24),version:e.readInt32LE(28),shpCode:e.readInt32LE(32),bbox:[e.readDoubleLE(36),e.readDoubleLE(44),e.readDoubleLE(52),e.readDoubleLE(52)]}},n.prototype.getRows=function(){for(var e,t=100,r=this.buffer.byteLength,n=[];t<r;)e=this.getRow(t),t+=8,t+=e.len,e.type&&n.push(this.parseFunc(e.data));return n},n.prototype.getRow=function(e){var t=this.buffer.slice(e,e+12),r=t.readInt32BE(4)<<1,n=this.buffer.slice(e+12,e+r+8);return{id:t.readInt32BE(0),len:r,data:n,type:t.readInt32LE(8)}},e.exports=function(e,t){return new n(e,t).rows}},32555:(e,t,r)=>{"use strict";var n=r(24938);e.exports=function(e){var t=new n(e).file(/.+/),r={};return t.forEach((function(e){"shp"===e.name.slice(-3).toLowerCase()||"dbf"===e.name.slice(-3).toLowerCase()?r[e.name]=e.asNodeBuffer():r[e.name]=e.asText()})),r}},83386:(e,t,r)=>{"use strict";var n=r(14352);function i(e){if(e){this.data=e,this.length=this.data.length,this.index=0,this.zero=0;for(var t=0;t<this.data.length;t++)e[t]=255&e[t]}}i.prototype=new n,i.prototype.byteAt=function(e){return this.data[this.zero+e]},i.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),r=e.charCodeAt(1),n=e.charCodeAt(2),i=e.charCodeAt(3),s=this.length-4;s>=0;--s)if(this.data[s]===t&&this.data[s+1]===r&&this.data[s+2]===n&&this.data[s+3]===i)return s-this.zero;return-1},i.prototype.readData=function(e){if(this.checkOffset(e),0===e)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},e.exports=i},59307:(e,t)=>{"use strict";var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";t.encode=function(e,t){for(var n,i,s,a,o,u,l,h="",c=0;c<e.length;)a=(n=e.charCodeAt(c++))>>2,o=(3&n)<<4|(i=e.charCodeAt(c++))>>4,u=(15&i)<<2|(s=e.charCodeAt(c++))>>6,l=63&s,isNaN(i)?u=l=64:isNaN(s)&&(l=64),h=h+r.charAt(a)+r.charAt(o)+r.charAt(u)+r.charAt(l);return h},t.decode=function(e,t){var n,i,s,a,o,u,l="",h=0;for(e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");h<e.length;)n=r.indexOf(e.charAt(h++))<<2|(a=r.indexOf(e.charAt(h++)))>>4,i=(15&a)<<4|(o=r.indexOf(e.charAt(h++)))>>2,s=(3&o)<<6|(u=r.indexOf(e.charAt(h++))),l+=String.fromCharCode(n),64!=o&&(l+=String.fromCharCode(i)),64!=u&&(l+=String.fromCharCode(s));return l}},22117:e=>{"use strict";function t(){this.compressedSize=0,this.uncompressedSize=0,this.crc32=0,this.compressionMethod=null,this.compressedContent=null}t.prototype={getContent:function(){return null},getCompressedContent:function(){return null}},e.exports=t},47404:(e,t,r)=>{"use strict";t.STORE={magic:"\0\0",compress:function(e,t){return e},uncompress:function(e){return e},compressInputType:null,uncompressInputType:null},t.DEFLATE=r(43484)},14073:(e,t,r)=>{"use strict";var n=r(74570),i=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];e.exports=function(e,t){if(void 0===e||!e.length)return 0;var r="string"!==n.getTypeOf(e);void 0===t&&(t=0);var s=0;t^=-1;for(var a=0,o=e.length;a<o;a++)s=r?e[a]:e.charCodeAt(a),t=t>>>8^i[255&(t^s)];return-1^t}},14352:(e,t,r)=>{"use strict";var n=r(74570);function i(e){this.data=null,this.length=0,this.index=0,this.zero=0}i.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(e){},readInt:function(e){var t,r=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)r=(r<<8)+this.byteAt(t);return this.index+=e,r},readString:function(e){return n.transformTo("string",this.readData(e))},readData:function(e){},lastIndexOfSignature:function(e){},readDate:function(){var e=this.readInt(4);return new Date(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1)}},e.exports=i},34977:(e,t)=>{"use strict";t.base64=!1,t.binary=!1,t.dir=!1,t.createFolders=!1,t.date=null,t.compression=null,t.compressionOptions=null,t.comment=null,t.unixPermissions=null,t.dosPermissions=null},11455:(e,t,r)=>{"use strict";var n=r(74570);t.string2binary=function(e){return n.string2binary(e)},t.string2Uint8Array=function(e){return n.transformTo("uint8array",e)},t.uint8Array2String=function(e){return n.transformTo("string",e)},t.string2Blob=function(e){var t=n.transformTo("arraybuffer",e);return n.arrayBuffer2Blob(t)},t.arrayBuffer2Blob=function(e){return n.arrayBuffer2Blob(e)},t.transformTo=function(e,t){return n.transformTo(e,t)},t.getTypeOf=function(e){return n.getTypeOf(e)},t.checkSupport=function(e){return n.checkSupport(e)},t.MAX_VALUE_16BITS=n.MAX_VALUE_16BITS,t.MAX_VALUE_32BITS=n.MAX_VALUE_32BITS,t.pretty=function(e){return n.pretty(e)},t.findCompression=function(e){return n.findCompression(e)},t.isRegExp=function(e){return n.isRegExp(e)}},43484:(e,t,r)=>{"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,i=r(99591);t.uncompressInputType=n?"uint8array":"array",t.compressInputType=n?"uint8array":"array",t.magic="\b\0",t.compress=function(e,t){return i.deflateRaw(e,{level:t.level||-1})},t.uncompress=function(e){return i.inflateRaw(e)}},24938:(e,t,r)=>{"use strict";var n=r(59307);function i(e,t){if(!(this instanceof i))return new i(e,t);this.files={},this.comment=null,this.root="",e&&this.load(e,t),this.clone=function(){var e=new i;for(var t in this)"function"!=typeof this[t]&&(e[t]=this[t]);return e}}i.prototype=r(67659),i.prototype.load=r(36072),i.support=r(13752),i.defaults=r(34977),i.utils=r(11455),i.base64={encode:function(e){return n.encode(e)},decode:function(e){return n.decode(e)}},i.compressions=r(47404),e.exports=i},36072:(e,t,r)=>{"use strict";var n=r(59307),i=r(73097),s=r(74570),a=r(76727);e.exports=function(e,t){var r,o,u,l;for((t=s.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:i.utf8decode})).base64&&(e=n.decode(e)),r=(o=new a(e,t)).files,u=0;u<r.length;u++)l=r[u],this.file(l.fileNameStr,l.decompressed,{binary:!0,optimizedBinaryString:!0,date:l.date,dir:l.dir,comment:l.fileCommentStr.length?l.fileCommentStr:null,unixPermissions:l.unixPermissions,dosPermissions:l.dosPermissions,createFolders:t.createFolders});return o.zipComment.length&&(this.comment=o.zipComment),this}},43348:(e,t,r)=>{"use strict";var n=r(48764).Buffer;e.exports=function(e,t){return new n(e,t)},e.exports.test=function(e){return n.isBuffer(e)}},11830:(e,t,r)=>{"use strict";var n=r(17677);function i(e){this.data=e,this.length=this.data.length,this.index=0,this.zero=0}i.prototype=new n,i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},e.exports=i},67659:(e,t,r)=>{"use strict";var n=r(13752),i=r(74570),s=r(14073),a=r(39407),o=r(34977),u=r(59307),l=r(47404),h=r(22117),c=r(43348),f=r(73097),d=r(57568),p=r(88367),m=function(e){if(e._data instanceof h&&(e._data=e._data.getContent(),e.options.binary=!0,e.options.base64=!1,"uint8array"===i.getTypeOf(e._data))){var t=e._data;e._data=new Uint8Array(t.length),0!==t.length&&e._data.set(t,0)}return e._data},g=function(e){var t=m(e);return"string"===i.getTypeOf(t)?!e.options.binary&&n.nodebuffer?c(t,"utf-8"):e.asBinary():t},_=function(e){var t=m(this);return null==t?"":(this.options.base64&&(t=u.decode(t)),t=e&&this.options.binary?E.utf8decode(t):i.transformTo("string",t),e||this.options.binary||(t=i.transformTo("string",E.utf8encode(t))),t)},y=function(e,t,r){this.name=e,this.dir=r.dir,this.date=r.date,this.comment=r.comment,this.unixPermissions=r.unixPermissions,this.dosPermissions=r.dosPermissions,this._data=t,this.options=r,this._initialMetadata={dir:r.dir,date:r.date}};y.prototype={asText:function(){return _.call(this,!0)},asBinary:function(){return _.call(this,!1)},asNodeBuffer:function(){var e=g(this);return i.transformTo("nodebuffer",e)},asUint8Array:function(){var e=g(this);return i.transformTo("uint8array",e)},asArrayBuffer:function(){return this.asUint8Array().buffer}};var v=function(e,t){var r,n="";for(r=0;r<t;r++)n+=String.fromCharCode(255&e),e>>>=8;return n},b=function(e,t,r){var n,s=i.getTypeOf(t);if("string"==typeof(r=function(e){return!0!==(e=e||{}).base64||null!==e.binary&&void 0!==e.binary||(e.binary=!0),(e=i.extend(e,o)).date=e.date||new Date,null!==e.compression&&(e.compression=e.compression.toUpperCase()),e}(r)).unixPermissions&&(r.unixPermissions=parseInt(r.unixPermissions,8)),r.unixPermissions&&16384&r.unixPermissions&&(r.dir=!0),r.dosPermissions&&16&r.dosPermissions&&(r.dir=!0),r.dir&&(e=x(e)),r.createFolders&&(n=w(e))&&k.call(this,n,!0),r.dir||null==t)r.base64=!1,r.binary=!1,t=null,s=null;else if("string"===s)r.binary&&!r.base64&&!0!==r.optimizedBinaryString&&(t=i.string2binary(t));else{if(r.base64=!1,r.binary=!0,!(s||t instanceof h))throw new Error("The data of '"+e+"' is in an unsupported format !");"arraybuffer"===s&&(t=i.transformTo("uint8array",t))}var a=new y(e,t,r);return this.files[e]=a,a},w=function(e){"/"==e.slice(-1)&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return t>0?e.substring(0,t):""},x=function(e){return"/"!=e.slice(-1)&&(e+="/"),e},k=function(e,t){return t=void 0!==t&&t,e=x(e),this.files[e]||b.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]},C=function(e,t,r){var n,a=new h;return e._data instanceof h?(a.uncompressedSize=e._data.uncompressedSize,a.crc32=e._data.crc32,0===a.uncompressedSize||e.dir?(t=l.STORE,a.compressedContent="",a.crc32=0):e._data.compressionMethod===t.magic?a.compressedContent=e._data.getCompressedContent():(n=e._data.getContent(),a.compressedContent=t.compress(i.transformTo(t.compressInputType,n),r))):((n=g(e))&&0!==n.length&&!e.dir||(t=l.STORE,n=""),a.uncompressedSize=n.length,a.crc32=s(n),a.compressedContent=t.compress(i.transformTo(t.compressInputType,n),r)),a.compressedSize=a.compressedContent.length,a.compressionMethod=t.magic,a},S=function(e,t,r,n,o,u){r.compressedContent;var l,h,c,d,p=u!==f.utf8encode,m=i.transformTo("string",u(t.name)),g=i.transformTo("string",f.utf8encode(t.name)),_=t.comment||"",y=i.transformTo("string",u(_)),b=i.transformTo("string",f.utf8encode(_)),w=g.length!==t.name.length,x=b.length!==_.length,k=t.options,C="",S="",E="";c=t._initialMetadata.dir!==t.dir?t.dir:k.dir,d=t._initialMetadata.date!==t.date?t.date:k.date;var A,I,O=0,T=0;c&&(O|=16),"UNIX"===o?(T=798,O|=(I=A=t.unixPermissions,A||(I=c?16893:33204),(65535&I)<<16)):(T=20,O|=63&(t.dosPermissions||0)),l=d.getHours(),l<<=6,l|=d.getMinutes(),l<<=5,l|=d.getSeconds()/2,h=d.getFullYear()-1980,h<<=4,h|=d.getMonth()+1,h<<=5,h|=d.getDate(),w&&(S=v(1,1)+v(s(m),4)+g,C+="up"+v(S.length,2)+S),x&&(E=v(1,1)+v(this.crc32(y),4)+b,C+="uc"+v(E.length,2)+E);var z="";return z+="\n\0",z+=p||!w&&!x?"\0\0":"\0\b",z+=r.compressionMethod,z+=v(l,2),z+=v(h,2),z+=v(r.crc32,4),z+=v(r.compressedSize,4),z+=v(r.uncompressedSize,4),z+=v(m.length,2),z+=v(C.length,2),{fileRecord:a.LOCAL_FILE_HEADER+z+m+C,dirRecord:a.CENTRAL_FILE_HEADER+v(T,2)+z+v(y.length,2)+"\0\0\0\0"+v(O,4)+v(n,4)+m+C+y,compressedObject:r}},E={load:function(e,t){throw new Error("Load method is not defined. Is the file jszip-load.js included ?")},filter:function(e){var t,r,n,s,a=[];for(t in this.files)this.files.hasOwnProperty(t)&&(n=this.files[t],s=new y(n.name,n._data,i.extend(n.options)),r=t.slice(this.root.length,t.length),t.slice(0,this.root.length)===this.root&&e(r,s)&&a.push(s));return a},file:function(e,t,r){if(1===arguments.length){if(i.isRegExp(e)){var n=e;return this.filter((function(e,t){return!t.dir&&n.test(e)}))}return this.filter((function(t,r){return!r.dir&&t===e}))[0]||null}return e=this.root+e,b.call(this,e,t,r),this},folder:function(e){if(!e)return this;if(i.isRegExp(e))return this.filter((function(t,r){return r.dir&&e.test(t)}));var t=this.root+e,r=k.call(this,t),n=this.clone();return n.root=r.name,n},remove:function(e){e=this.root+e;var t=this.files[e];if(t||("/"!=e.slice(-1)&&(e+="/"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(var r=this.filter((function(t,r){return r.name.slice(0,e.length)===e})),n=0;n<r.length;n++)delete this.files[r[n].name];return this},generate:function(e){e=i.extend(e||{},{base64:!0,compression:"STORE",compressionOptions:null,type:"base64",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:f.utf8encode}),i.checkSupport(e.type),"darwin"!==e.platform&&"freebsd"!==e.platform&&"linux"!==e.platform&&"sunos"!==e.platform||(e.platform="UNIX"),"win32"===e.platform&&(e.platform="DOS");var t,r,n,s=[],o=0,h=0,c=i.transformTo("string",e.encodeFileName(e.comment||this.comment||""));for(var m in this.files)if(this.files.hasOwnProperty(m)){var g=this.files[m],_=g.options.compression||e.compression.toUpperCase(),y=l[_];if(!y)throw new Error(_+" is not a valid compression method !");var b=g.options.compressionOptions||e.compressionOptions||{},w=C.call(this,g,y,b),x=S.call(this,m,g,w,o,e.platform,e.encodeFileName);o+=x.fileRecord.length+w.compressedSize,h+=x.dirRecord.length,s.push(x)}n=a.CENTRAL_DIRECTORY_END+"\0\0\0\0"+v(s.length,2)+v(s.length,2)+v(h,4)+v(o,4)+v(c.length,2)+c;var k=e.type.toLowerCase();for(t="uint8array"===k||"arraybuffer"===k||"blob"===k||"nodebuffer"===k?new p(o+h+n.length):new d(o+h+n.length),r=0;r<s.length;r++)t.append(s[r].fileRecord),t.append(s[r].compressedObject.compressedContent);for(r=0;r<s.length;r++)t.append(s[r].dirRecord);t.append(n);var E=t.finalize();switch(e.type.toLowerCase()){case"uint8array":case"arraybuffer":case"nodebuffer":return i.transformTo(e.type.toLowerCase(),E);case"blob":return i.arrayBuffer2Blob(i.transformTo("arraybuffer",E),e.mimeType);case"base64":return e.base64?u.encode(E):E;default:return E}},crc32:function(e,t){return s(e,t)},utf8encode:function(e){return i.transformTo("string",f.utf8encode(e))},utf8decode:function(e){return f.utf8decode(e)}};e.exports=E},39407:(e,t)=>{"use strict";t.LOCAL_FILE_HEADER="PK",t.CENTRAL_FILE_HEADER="PK",t.CENTRAL_DIRECTORY_END="PK",t.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",t.ZIP64_CENTRAL_DIRECTORY_END="PK",t.DATA_DESCRIPTOR="PK\b"},92804:(e,t,r)=>{"use strict";var n=r(14352),i=r(74570);function s(e,t){this.data=e,t||(this.data=i.string2binary(this.data)),this.length=this.data.length,this.index=0,this.zero=0}s.prototype=new n,s.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},s.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},s.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},e.exports=s},57568:(e,t,r)=>{"use strict";var n=r(74570),i=function(){this.data=[]};i.prototype={append:function(e){e=n.transformTo("string",e),this.data.push(e)},finalize:function(){return this.data.join("")}},e.exports=i},13752:(e,t,r)=>{"use strict";var n=r(48764).Buffer;if(t.base64=!0,t.array=!0,t.string=!0,t.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,t.nodebuffer=void 0!==n,t.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)t.blob=!1;else{var i=new ArrayBuffer(0);try{t.blob=0===new Blob([i],{type:"application/zip"}).size}catch(e){try{var s=new(window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder);s.append(i),t.blob=0===s.getBlob("application/zip").size}catch(e){t.blob=!1}}}},17677:(e,t,r)=>{"use strict";var n=r(83386);function i(e){e&&(this.data=e,this.length=this.data.length,this.index=0,this.zero=0)}i.prototype=new n,i.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},e.exports=i},88367:(e,t,r)=>{"use strict";var n=r(74570),i=function(e){this.data=new Uint8Array(e),this.index=0};i.prototype={append:function(e){0!==e.length&&(e=n.transformTo("uint8array",e),this.data.set(e,this.index),this.index+=e.length)},finalize:function(){return this.data}},e.exports=i},73097:(e,t,r)=>{"use strict";for(var n=r(74570),i=r(13752),s=r(43348),a=new Array(256),o=0;o<256;o++)a[o]=o>=252?6:o>=248?5:o>=240?4:o>=224?3:o>=192?2:1;a[254]=a[254]=1;var u=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;r>=0&&128==(192&e[r]);)r--;return r<0||0===r?t:r+a[e[r]]>t?r:t},l=function(e){var t,r,i,s,o=e.length,u=new Array(2*o);for(r=0,t=0;t<o;)if((i=e[t++])<128)u[r++]=i;else if((s=a[i])>4)u[r++]=65533,t+=s-1;else{for(i&=2===s?31:3===s?15:7;s>1&&t<o;)i=i<<6|63&e[t++],s--;s>1?u[r++]=65533:i<65536?u[r++]=i:(i-=65536,u[r++]=55296|i>>10&1023,u[r++]=56320|1023&i)}return u.length!==r&&(u.subarray?u=u.subarray(0,r):u.length=r),n.applyFromCharCode(u)};t.utf8encode=function(e){return i.nodebuffer?s(e,"utf-8"):function(e){var t,r,n,s,a,o=e.length,u=0;for(s=0;s<o;s++)55296==(64512&(r=e.charCodeAt(s)))&&s+1<o&&56320==(64512&(n=e.charCodeAt(s+1)))&&(r=65536+(r-55296<<10)+(n-56320),s++),u+=r<128?1:r<2048?2:r<65536?3:4;for(t=i.uint8array?new Uint8Array(u):new Array(u),a=0,s=0;a<u;s++)55296==(64512&(r=e.charCodeAt(s)))&&s+1<o&&56320==(64512&(n=e.charCodeAt(s+1)))&&(r=65536+(r-55296<<10)+(n-56320),s++),r<128?t[a++]=r:r<2048?(t[a++]=192|r>>>6,t[a++]=128|63&r):r<65536?(t[a++]=224|r>>>12,t[a++]=128|r>>>6&63,t[a++]=128|63&r):(t[a++]=240|r>>>18,t[a++]=128|r>>>12&63,t[a++]=128|r>>>6&63,t[a++]=128|63&r);return t}(e)},t.utf8decode=function(e){if(i.nodebuffer)return n.transformTo("nodebuffer",e).toString("utf-8");for(var t=[],r=0,s=(e=n.transformTo(i.uint8array?"uint8array":"array",e)).length;r<s;){var a=u(e,Math.min(r+65536,s));i.uint8array?t.push(l(e.subarray(r,a))):t.push(l(e.slice(r,a))),r=a}return t.join("")}},74570:(e,t,r)=>{"use strict";var n=r(13752),i=r(47404),s=r(43348);function a(e){return e}function o(e,t){for(var r=0;r<e.length;++r)t[r]=255&e.charCodeAt(r);return t}function u(e){var r=65536,n=[],i=e.length,a=t.getTypeOf(e),o=0,u=!0;try{switch(a){case"uint8array":String.fromCharCode.apply(null,new Uint8Array(0));break;case"nodebuffer":String.fromCharCode.apply(null,s(0))}}catch(e){u=!1}if(!u){for(var l="",h=0;h<e.length;h++)l+=String.fromCharCode(e[h]);return l}for(;o<i&&r>1;)try{"array"===a||"nodebuffer"===a?n.push(String.fromCharCode.apply(null,e.slice(o,Math.min(o+r,i)))):n.push(String.fromCharCode.apply(null,e.subarray(o,Math.min(o+r,i)))),o+=r}catch(e){r=Math.floor(r/2)}return n.join("")}function l(e,t){for(var r=0;r<e.length;r++)t[r]=e[r];return t}t.string2binary=function(e){for(var t="",r=0;r<e.length;r++)t+=String.fromCharCode(255&e.charCodeAt(r));return t},t.arrayBuffer2Blob=function(e,r){t.checkSupport("blob"),r=r||"application/zip";try{return new Blob([e],{type:r})}catch(t){try{var n=new(window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder);return n.append(e),n.getBlob(r)}catch(e){throw new Error("Bug : can't construct the Blob.")}}},t.applyFromCharCode=u;var h={};h.string={string:a,array:function(e){return o(e,new Array(e.length))},arraybuffer:function(e){return h.string.uint8array(e).buffer},uint8array:function(e){return o(e,new Uint8Array(e.length))},nodebuffer:function(e){return o(e,s(e.length))}},h.array={string:u,array:a,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return s(e)}},h.arraybuffer={string:function(e){return u(new Uint8Array(e))},array:function(e){return l(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:a,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return s(new Uint8Array(e))}},h.uint8array={string:u,array:function(e){return l(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:a,nodebuffer:function(e){return s(e)}},h.nodebuffer={string:u,array:function(e){return l(e,new Array(e.length))},arraybuffer:function(e){return h.nodebuffer.uint8array(e).buffer},uint8array:function(e){return l(e,new Uint8Array(e.length))},nodebuffer:a},t.transformTo=function(e,r){if(r||(r=""),!e)return r;t.checkSupport(e);var n=t.getTypeOf(r);return h[n][e](r)},t.getTypeOf=function(e){return"string"==typeof e?"string":"[object Array]"===Object.prototype.toString.call(e)?"array":n.nodebuffer&&s.test(e)?"nodebuffer":n.uint8array&&e instanceof Uint8Array?"uint8array":n.arraybuffer&&e instanceof ArrayBuffer?"arraybuffer":void 0},t.checkSupport=function(e){if(!n[e.toLowerCase()])throw new Error(e+" is not supported by this browser")},t.MAX_VALUE_16BITS=65535,t.MAX_VALUE_32BITS=-1,t.pretty=function(e){var t,r,n="";for(r=0;r<(e||"").length;r++)n+="\\x"+((t=e.charCodeAt(r))<16?"0":"")+t.toString(16).toUpperCase();return n},t.findCompression=function(e){for(var t in i)if(i.hasOwnProperty(t)&&i[t].magic===e)return i[t];return null},t.isRegExp=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},t.extend=function(){var e,t,r={};for(e=0;e<arguments.length;e++)for(t in arguments[e])arguments[e].hasOwnProperty(t)&&void 0===r[t]&&(r[t]=arguments[e][t]);return r}},76727:(e,t,r)=>{"use strict";var n=r(92804),i=r(11830),s=r(17677),a=r(83386),o=r(74570),u=r(39407),l=r(23226),h=r(13752);function c(e,t){this.files=[],this.loadOptions=t,e&&this.load(e)}r(67659),c.prototype={checkSignature:function(e){var t=this.reader.readString(4);if(t!==e)throw new Error("Corrupted zip or bug : unexpected signature ("+o.pretty(t)+", expected "+o.pretty(e)+")")},isSignature:function(e,t){var r=this.reader.index;this.reader.setIndex(e);var n=this.reader.readString(4)===t;return this.reader.setIndex(r),n},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 e=this.reader.readData(this.zipCommentLength),t=h.uint8array?"uint8array":"array",r=o.transformTo(t,e);this.zipComment=this.loadOptions.decodeFileName(r)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.versionMadeBy=this.reader.readString(2),this.versionNeeded=this.reader.readInt(2),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 e,t,r,n=this.zip64EndOfCentralSize-44;0<n;)e=this.reader.readInt(2),t=this.reader.readInt(4),r=this.reader.readString(t),this.zip64ExtensibleData[e]={id:e,length:t,value:r}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(u.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readString(4)===u.CENTRAL_FILE_HEADER;)(e=new l({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(u.CENTRAL_DIRECTORY_END);if(e<0)throw this.isSignature(0,u.LOCAL_FILE_HEADER)?new Error("Corrupted zip : can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see http://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(e);var t=e;if(this.checkSignature(u.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===o.MAX_VALUE_16BITS||this.diskWithCentralDirStart===o.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===o.MAX_VALUE_16BITS||this.centralDirRecords===o.MAX_VALUE_16BITS||this.centralDirSize===o.MAX_VALUE_32BITS||this.centralDirOffset===o.MAX_VALUE_32BITS){if(this.zip64=!0,(e=this.reader.lastIndexOfSignature(u.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip : can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(e),this.checkSignature(u.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,u.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(u.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip : can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(u.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var r=this.centralDirOffset+this.centralDirSize;this.zip64&&(r+=20,r+=12+this.zip64EndOfCentralSize);var n=t-r;if(n>0)this.isSignature(t,u.CENTRAL_FILE_HEADER)||(this.reader.zero=n);else if(n<0)throw new Error("Corrupted zip: missing "+Math.abs(n)+" bytes.")},prepareReader:function(e){var t=o.getTypeOf(e);if(o.checkSupport(t),"string"!==t||h.uint8array)if("nodebuffer"===t)this.reader=new i(e);else if(h.uint8array)this.reader=new s(o.transformTo("uint8array",e));else{if(!h.array)throw new Error("Unexpected error: unsupported type '"+t+"'");this.reader=new a(o.transformTo("array",e))}else this.reader=new n(e,this.loadOptions.optimizedBinaryString)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},e.exports=c},23226:(e,t,r)=>{"use strict";var n=r(92804),i=r(74570),s=r(22117),a=r(67659),o=r(13752);function u(e,t){this.options=e,this.loadOptions=t}u.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},prepareCompressedContent:function(e,t,r){return function(){var n=e.index;e.setIndex(t);var i=e.readData(r);return e.setIndex(n),i}},prepareContent:function(e,t,r,n,s){return function(){var e=i.transformTo(n.uncompressInputType,this.getCompressedContent()),t=n.uncompress(e);if(t.length!==s)throw new Error("Bug : uncompressed data size mismatch");return t}},readLocalPart:function(e){var t,r;if(e.skip(22),this.fileNameLength=e.readInt(2),r=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(r),-1==this.compressedSize||-1==this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough informations from the central directory (compressedSize == -1 || uncompressedSize == -1)");if(null===(t=i.findCompression(this.compressionMethod)))throw new Error("Corrupted zip : compression "+i.pretty(this.compressionMethod)+" unknown (inner file : "+i.transformTo("string",this.fileName)+")");if(this.decompressed=new s,this.decompressed.compressedSize=this.compressedSize,this.decompressed.uncompressedSize=this.uncompressedSize,this.decompressed.crc32=this.crc32,this.decompressed.compressionMethod=this.compressionMethod,this.decompressed.getCompressedContent=this.prepareCompressedContent(e,e.index,this.compressedSize,t),this.decompressed.getContent=this.prepareContent(e,e.index,this.compressedSize,t,this.uncompressedSize),this.loadOptions.checkCRC32&&(this.decompressed=i.transformTo("string",this.decompressed.getContent()),a.crc32(this.decompressed)!==this.crc32))throw new Error("Corrupted zip : CRC32 mismatch")},readCentralPart:function(e){if(this.versionMadeBy=e.readInt(2),this.versionNeeded=e.readInt(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4),this.fileNameLength=e.readInt(2),this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");this.fileName=e.readData(this.fileNameLength),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0===e&&(this.dosPermissions=63&this.externalFileAttributes),3===e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(e){if(this.extraFields[1]){var t=new n(this.extraFields[1].value);this.uncompressedSize===i.MAX_VALUE_32BITS&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===i.MAX_VALUE_32BITS&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===i.MAX_VALUE_32BITS&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===i.MAX_VALUE_32BITS&&(this.diskNumberStart=t.readInt(4))}},readExtraFields:function(e){var t,r,n,i=e.index;for(this.extraFields=this.extraFields||{};e.index<i+this.extraFieldsLength;)t=e.readInt(2),r=e.readInt(2),n=e.readString(r),this.extraFields[t]={id:t,length:r,value:n}},handleUTF8:function(){var e=o.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=a.utf8decode(this.fileName),this.fileCommentStr=a.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(null!==t)this.fileNameStr=t;else{var r=i.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(r)}var n=this.findExtraFieldUnicodeComment();if(null!==n)this.fileCommentStr=n;else{var s=i.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(s)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=new n(e.value);return 1!==t.readInt(1)||a.crc32(this.fileName)!==t.readInt(4)?null:a.utf8decode(t.readString(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=new n(e.value);return 1!==t.readInt(1)||a.crc32(this.fileComment)!==t.readInt(4)?null:a.utf8decode(t.readString(e.length-5))}return null}},e.exports=u},29718:(e,t,r)=>{e.exports=r(59141)},59141:function(e,t,r){!function(t){"use strict";function n(e,t,r){return t<=e&&e<=r}e.exports&&!t["encoding-indexes"]&&r(72810);var i=Math.floor;function s(e){if(void 0===e)return{};if(e===Object(e))return e;throw TypeError("Could not convert argument to dictionary")}function a(e){return 0<=e&&e<=127}var o=a,u=-1;function l(e){this.tokens=[].slice.call(e),this.tokens.reverse()}l.prototype={endOfStream:function(){return!this.tokens.length},read:function(){return this.tokens.length?this.tokens.pop():u},prepend:function(e){if(Array.isArray(e))for(var t=e;t.length;)this.tokens.push(t.pop());else this.tokens.push(e)},push:function(e){if(Array.isArray(e))for(var t=e;t.length;)this.tokens.unshift(t.shift());else this.tokens.unshift(e)}};var h=-1;function c(e,t){if(e)throw TypeError("Decoder error");return t||65533}function f(e){throw TypeError("The code point "+e+" could not be encoded.")}function d(e){return e=String(e).trim().toLowerCase(),Object.prototype.hasOwnProperty.call(m,e)?m[e]:null}var p=[{encodings:[{labels:["unicode-1-1-utf-8","utf-8","utf8"],name:"UTF-8"}],heading:"The Encoding"},{encodings:[{labels:["866","cp866","csibm866","ibm866"],name:"IBM866"},{labels:["csisolatin2","iso-8859-2","iso-ir-101","iso8859-2","iso88592","iso_8859-2","iso_8859-2:1987","l2","latin2"],name:"ISO-8859-2"},{labels:["csisolatin3","iso-8859-3","iso-ir-109","iso8859-3","iso88593","iso_8859-3","iso_8859-3:1988","l3","latin3"],name:"ISO-8859-3"},{labels:["csisolatin4","iso-8859-4","iso-ir-110","iso8859-4","iso88594","iso_8859-4","iso_8859-4:1988","l4","latin4"],name:"ISO-8859-4"},{labels:["csisolatincyrillic","cyrillic","iso-8859-5","iso-ir-144","iso8859-5","iso88595","iso_8859-5","iso_8859-5:1988"],name:"ISO-8859-5"},{labels:["arabic","asmo-708","csiso88596e","csiso88596i","csisolatinarabic","ecma-114","iso-8859-6","iso-8859-6-e","iso-8859-6-i","iso-ir-127","iso8859-6","iso88596","iso_8859-6","iso_8859-6:1987"],name:"ISO-8859-6"},{labels:["csisolatingreek","ecma-118","elot_928","greek","greek8","iso-8859-7","iso-ir-126","iso8859-7","iso88597","iso_8859-7","iso_8859-7:1987","sun_eu_greek"],name:"ISO-8859-7"},{labels:["csiso88598e","csisolatinhebrew","hebrew","iso-8859-8","iso-8859-8-e","iso-ir-138","iso8859-8","iso88598","iso_8859-8","iso_8859-8:1988","visual"],name:"ISO-8859-8"},{labels:["csiso88598i","iso-8859-8-i","logical"],name:"ISO-8859-8-I"},{labels:["csisolatin6","iso-8859-10","iso-ir-157","iso8859-10","iso885910","l6","latin6"],name:"ISO-8859-10"},{labels:["iso-8859-13","iso8859-13","iso885913"],name:"ISO-8859-13"},{labels:["iso-8859-14","iso8859-14","iso885914"],name:"ISO-8859-14"},{labels:["csisolatin9","iso-8859-15","iso8859-15","iso885915","iso_8859-15","l9"],name:"ISO-8859-15"},{labels:["iso-8859-16"],name:"ISO-8859-16"},{labels:["cskoi8r","koi","koi8","koi8-r","koi8_r"],name:"KOI8-R"},{labels:["koi8-ru","koi8-u"],name:"KOI8-U"},{labels:["csmacintosh","mac","macintosh","x-mac-roman"],name:"macintosh"},{labels:["dos-874","iso-8859-11","iso8859-11","iso885911","tis-620","windows-874"],name:"windows-874"},{labels:["cp1250","windows-1250","x-cp1250"],name:"windows-1250"},{labels:["cp1251","windows-1251","x-cp1251"],name:"windows-1251"},{labels:["ansi_x3.4-1968","ascii","cp1252","cp819","csisolatin1","ibm819","iso-8859-1","iso-ir-100","iso8859-1","iso88591","iso_8859-1","iso_8859-1:1987","l1","latin1","us-ascii","windows-1252","x-cp1252"],name:"windows-1252"},{labels:["cp1253","windows-1253","x-cp1253"],name:"windows-1253"},{labels:["cp1254","csisolatin5","iso-8859-9","iso-ir-148","iso8859-9","iso88599","iso_8859-9","iso_8859-9:1989","l5","latin5","windows-1254","x-cp1254"],name:"windows-1254"},{labels:["cp1255","windows-1255","x-cp1255"],name:"windows-1255"},{labels:["cp1256","windows-1256","x-cp1256"],name:"windows-1256"},{labels:["cp1257","windows-1257","x-cp1257"],name:"windows-1257"},{labels:["cp1258","windows-1258","x-cp1258"],name:"windows-1258"},{labels:["x-mac-cyrillic","x-mac-ukrainian"],name:"x-mac-cyrillic"}],heading:"Legacy single-byte encodings"},{encodings:[{labels:["chinese","csgb2312","csiso58gb231280","gb2312","gb_2312","gb_2312-80","gbk","iso-ir-58","x-gbk"],name:"GBK"},{labels:["gb18030"],name:"gb18030"}],heading:"Legacy multi-byte Chinese (simplified) encodings"},{encodings:[{labels:["big5","big5-hkscs","cn-big5","csbig5","x-x-big5"],name:"Big5"}],heading:"Legacy multi-byte Chinese (traditional) encodings"},{encodings:[{labels:["cseucpkdfmtjapanese","euc-jp","x-euc-jp"],name:"EUC-JP"},{labels:["csiso2022jp","iso-2022-jp"],name:"ISO-2022-JP"},{labels:["csshiftjis","ms932","ms_kanji","shift-jis","shift_jis","sjis","windows-31j","x-sjis"],name:"Shift_JIS"}],heading:"Legacy multi-byte Japanese encodings"},{encodings:[{labels:["cseuckr","csksc56011987","euc-kr","iso-ir-149","korean","ks_c_5601-1987","ks_c_5601-1989","ksc5601","ksc_5601","windows-949"],name:"EUC-KR"}],heading:"Legacy multi-byte Korean encodings"},{encodings:[{labels:["csiso2022kr","hz-gb-2312","iso-2022-cn","iso-2022-cn-ext","iso-2022-kr"],name:"replacement"},{labels:["utf-16be"],name:"UTF-16BE"},{labels:["utf-16","utf-16le"],name:"UTF-16LE"},{labels:["x-user-defined"],name:"x-user-defined"}],heading:"Legacy miscellaneous encodings"}],m={};p.forEach((function(e){e.encodings.forEach((function(e){e.labels.forEach((function(t){m[t]=e}))}))}));var g,_,y={},v={};function b(e,t){return t&&t[e]||null}function w(e,t){var r=t.indexOf(e);return-1===r?null:r}function x(e){if(!("encoding-indexes"in t))throw Error("Indexes missing. Did you forget to include encoding-indexes.js first?");return t["encoding-indexes"][e]}var k="utf-8";function C(e,t){if(!(this instanceof C))throw TypeError("Called as a function. Did you forget 'new'?");e=void 0!==e?String(e):k,t=s(t),this._encoding=null,this._decoder=null,this._ignoreBOM=!1,this._BOMseen=!1,this._error_mode="replacement",this._do_not_flush=!1;var r=d(e);if(null===r||"replacement"===r.name)throw RangeError("Unknown encoding: "+e);if(!v[r.name])throw Error("Decoder not present. Did you forget to include encoding-indexes.js first?");var n=this;return n._encoding=r,Boolean(t.fatal)&&(n._error_mode="fatal"),Boolean(t.ignoreBOM)&&(n._ignoreBOM=!0),Object.defineProperty||(this.encoding=n._encoding.name.toLowerCase(),this.fatal="fatal"===n._error_mode,this.ignoreBOM=n._ignoreBOM),n}function S(e,r){if(!(this instanceof S))throw TypeError("Called as a function. Did you forget 'new'?");r=s(r),this._encoding=null,this._encoder=null,this._do_not_flush=!1,this._fatal=Boolean(r.fatal)?"fatal":"replacement";var n=this;if(Boolean(r.NONSTANDARD_allowLegacyEncoding)){var i=d(e=void 0!==e?String(e):k);if(null===i||"replacement"===i.name)throw RangeError("Unknown encoding: "+e);if(!y[i.name])throw Error("Encoder not present. Did you forget to include encoding-indexes.js first?");n._encoding=i}else n._encoding=d("utf-8"),void 0!==e&&"console"in t&&console.warn("TextEncoder constructor called with encoding label, which is ignored.");return Object.defineProperty||(this.encoding=n._encoding.name.toLowerCase()),n}function E(e){var t=e.fatal,r=0,i=0,s=0,a=128,o=191;this.handler=function(e,l){if(l===u&&0!==s)return s=0,c(t);if(l===u)return h;if(0===s){if(n(l,0,127))return l;if(n(l,194,223))s=1,r=31&l;else if(n(l,224,239))224===l&&(a=160),237===l&&(o=159),s=2,r=15&l;else{if(!n(l,240,244))return c(t);240===l&&(a=144),244===l&&(o=143),s=3,r=7&l}return null}if(!n(l,a,o))return r=s=i=0,a=128,o=191,e.prepend(l),c(t);if(a=128,o=191,r=r<<6|63&l,(i+=1)!==s)return null;var f=r;return r=s=i=0,f}}function A(e){e.fatal,this.handler=function(e,t){if(t===u)return h;if(o(t))return t;var r,i;n(t,128,2047)?(r=1,i=192):n(t,2048,65535)?(r=2,i=224):n(t,65536,1114111)&&(r=3,i=240);for(var s=[(t>>6*r)+i];r>0;){var a=t>>6*(r-1);s.push(128|63&a),r-=1}return s}}function I(e,t){var r=t.fatal;this.handler=function(t,n){if(n===u)return h;if(a(n))return n;var i=e[n-128];return null===i?c(r):i}}function O(e,t){t.fatal,this.handler=function(t,r){if(r===u)return h;if(o(r))return r;var n=w(r,e);return null===n&&f(r),n+128}}function T(e){var t=e.fatal,r=0,i=0,s=0;this.handler=function(e,o){if(o===u&&0===r&&0===i&&0===s)return h;var l;if(o!==u||0===r&&0===i&&0===s||(r=0,i=0,s=0,c(t)),0!==s){l=null,n(o,48,57)&&(l=function(e){if(e>39419&&e<189e3||e>1237575)return null;if(7457===e)return 59335;var t,r=0,n=0,i=x("gb18030-ranges");for(t=0;t<i.length;++t){var s=i[t];if(!(s[0]<=e))break;r=s[0],n=s[1]}return n+e-r}(10*(126*(10*(r-129)+i-48)+s-129)+o-48));var f=[i,s,o];return r=0,i=0,s=0,null===l?(e.prepend(f),c(t)):l}if(0!==i)return n(o,129,254)?(s=o,null):(e.prepend([i,o]),r=0,i=0,c(t));if(0!==r){if(n(o,48,57))return i=o,null;var d=r,p=null;r=0;var m=o<127?64:65;return(n(o,64,126)||n(o,128,254))&&(p=190*(d-129)+(o-m)),null===(l=null===p?null:b(p,x("gb18030")))&&a(o)&&e.prepend(o),null===l?c(t):l}return a(o)?o:128===o?8364:n(o,129,254)?(r=o,null):c(t)}}function z(e,t){e.fatal,this.handler=function(e,r){if(r===u)return h;if(o(r))return r;if(58853===r)return f(r);if(t&&8364===r)return 128;var n=w(r,x("gb18030"));if(null!==n){var s=n%190;return[i(n/190)+129,s+(s<63?64:65)]}if(t)return f(r);n=function(e){if(59335===e)return 7457;var t,r=0,n=0,i=x("gb18030-ranges");for(t=0;t<i.length;++t){var s=i[t];if(!(s[1]<=e))break;r=s[1],n=s[0]}return n+e-r}(r);var a=i(n/10/126/10),l=i((n-=10*a*126*10)/10/126),c=i((n-=10*l*126)/10);return[a+129,l+48,c+129,n-10*c+48]}}function B(e){var t=e.fatal,r=0;this.handler=function(e,i){if(i===u&&0!==r)return r=0,c(t);if(i===u&&0===r)return h;if(0!==r){var s=r,o=null;r=0;var l=i<127?64:98;switch((n(i,64,126)||n(i,161,254))&&(o=157*(s-129)+(i-l)),o){case 1133:return[202,772];case 1135:return[202,780];case 1164:return[234,772];case 1166:return[234,780]}var f=null===o?null:b(o,x("big5"));return null===f&&a(i)&&e.prepend(i),null===f?c(t):f}return a(i)?i:n(i,129,254)?(r=i,null):c(t)}}function L(e){e.fatal,this.handler=function(e,t){if(t===u)return h;if(o(t))return t;var r=function(e){_=_||x("big5").map((function(e,t){return t<5024?null:e}));var t=_;return 9552===e||9566===e||9569===e||9578===e||21313===e||21317===e?t.lastIndexOf(e):w(e,t)}(t);if(null===r)return f(t);var n=i(r/157)+129;if(n<161)return f(t);var s=r%157;return[n,s+(s<63?64:98)]}}function R(e){var t=e.fatal,r=!1,i=0;this.handler=function(e,s){if(s===u&&0!==i)return i=0,c(t);if(s===u&&0===i)return h;if(142===i&&n(s,161,223))return i=0,65216+s;if(143===i&&n(s,161,254))return r=!0,i=s,null;if(0!==i){var o=i;i=0;var l=null;return n(o,161,254)&&n(s,161,254)&&(l=b(94*(o-161)+(s-161),x(r?"jis0212":"jis0208"))),r=!1,n(s,161,254)||e.prepend(s),null===l?c(t):l}return a(s)?s:142===s||143===s||n(s,161,254)?(i=s,null):c(t)}}function D(e){e.fatal,this.handler=function(e,t){if(t===u)return h;if(o(t))return t;if(165===t)return 92;if(8254===t)return 126;if(n(t,65377,65439))return[142,t-65377+161];8722===t&&(t=65293);var r=w(t,x("jis0208"));return null===r?f(t):[i(r/94)+161,r%94+161]}}function F(e){var t=e.fatal,r=0,i=0,s=!1;this.handler=function(e,a){switch(r){default:case 0:return 27===a?(r=5,null):n(a,0,127)&&14!==a&&15!==a&&27!==a?(s=!1,a):a===u?h:(s=!1,c(t));case 1:return 27===a?(r=5,null):92===a?(s=!1,165):126===a?(s=!1,8254):n(a,0,127)&&14!==a&&15!==a&&27!==a&&92!==a&&126!==a?(s=!1,a):a===u?h:(s=!1,c(t));case 2:return 27===a?(r=5,null):n(a,33,95)?(s=!1,65344+a):a===u?h:(s=!1,c(t));case 3:return 27===a?(r=5,null):n(a,33,126)?(s=!1,i=a,r=4,null):a===u?h:(s=!1,c(t));case 4:if(27===a)return r=5,c(t);if(n(a,33,126)){r=3;var o=b(94*(i-33)+a-33,x("jis0208"));return null===o?c(t):o}return a===u?(r=3,e.prepend(a),c(t)):(r=3,c(t));case 5:return 36===a||40===a?(i=a,r=6,null):(e.prepend(a),s=!1,r=0,c(t));case 6:var l=i;i=0;var f=null;if(40===l&&66===a&&(f=0),40===l&&74===a&&(f=1),40===l&&73===a&&(f=2),36!==l||64!==a&&66!==a||(f=3),null!==f){r=r=f;var d=s;return s=!0,d?c(t):null}return e.prepend([l,a]),s=!1,r=0,c(t)}}}function P(e){e.fatal;var t=0;this.handler=function(e,r){if(r===u&&0!==t)return e.prepend(r),t=0,[27,40,66];if(r===u&&0===t)return h;if(!(0!==t&&1!==t||14!==r&&15!==r&&27!==r))return f(65533);if(0===t&&o(r))return r;if(1===t&&(o(r)&&92!==r&&126!==r||165==r||8254==r)){if(o(r))return r;if(165===r)return 92;if(8254===r)return 126}if(o(r)&&0!==t)return e.prepend(r),t=0,[27,40,66];if((165===r||8254===r)&&1!==t)return e.prepend(r),t=1,[27,40,74];8722===r&&(r=65293);var n=w(r,x("jis0208"));return null===n?f(r):2!==t?(e.prepend(r),t=2,[27,36,66]):[i(n/94)+33,n%94+33]}}function N(e){var t=e.fatal,r=0;this.handler=function(e,i){if(i===u&&0!==r)return r=0,c(t);if(i===u&&0===r)return h;if(0!==r){var s=r,o=null;r=0;var l=i<127?64:65,f=s<160?129:193;if((n(i,64,126)||n(i,128,252))&&(o=188*(s-f)+i-l),n(o,8836,10715))return 48508+o;var d=null===o?null:b(o,x("jis0208"));return null===d&&a(i)&&e.prepend(i),null===d?c(t):d}return a(i)||128===i?i:n(i,161,223)?65216+i:n(i,129,159)||n(i,224,252)?(r=i,null):c(t)}}function U(e){e.fatal,this.handler=function(e,t){if(t===u)return h;if(o(t)||128===t)return t;if(165===t)return 92;if(8254===t)return 126;if(n(t,65377,65439))return t-65377+161;8722===t&&(t=65293);var r=function(e){return g=g||x("jis0208").map((function(e,t){return n(t,8272,8835)?null:e})),g.indexOf(e)}(t);if(null===r)return f(t);var s=i(r/188),a=r%188;return[s+(s<31?129:193),a+(a<63?64:65)]}}function j(e){var t=e.fatal,r=0;this.handler=function(e,i){if(i===u&&0!==r)return r=0,c(t);if(i===u&&0===r)return h;if(0!==r){var s=r,o=null;r=0,n(i,65,254)&&(o=190*(s-129)+(i-65));var l=null===o?null:b(o,x("euc-kr"));return null===o&&a(i)&&e.prepend(i),null===l?c(t):l}return a(i)?i:n(i,129,254)?(r=i,null):c(t)}}function M(e){e.fatal,this.handler=function(e,t){if(t===u)return h;if(o(t))return t;var r=w(t,x("euc-kr"));return null===r?f(t):[i(r/190)+129,r%190+65]}}function Z(e,t){var r=e>>8,n=255&e;return t?[r,n]:[n,r]}function H(e,t){var r=t.fatal,i=null,s=null;this.handler=function(t,a){if(a===u&&(null!==i||null!==s))return c(r);if(a===u&&null===i&&null===s)return h;if(null===i)return i=a,null;var o;if(o=e?(i<<8)+a:(a<<8)+i,i=null,null!==s){var l=s;return s=null,n(o,56320,57343)?65536+1024*(l-55296)+(o-56320):(t.prepend(Z(o,e)),c(r))}return n(o,55296,56319)?(s=o,null):n(o,56320,57343)?c(r):o}}function W(e,t){t.fatal,this.handler=function(t,r){if(r===u)return h;if(n(r,0,65535))return Z(r,e);var i=Z(55296+(r-65536>>10),e),s=Z(56320+(r-65536&1023),e);return i.concat(s)}}function X(e){e.fatal,this.handler=function(e,t){return t===u?h:a(t)?t:63360+t-128}}function K(e){e.fatal,this.handler=function(e,t){return t===u?h:o(t)?t:n(t,63360,63487)?t-63360+128:f(t)}}Object.defineProperty&&(Object.defineProperty(C.prototype,"encoding",{get:function(){return this._encoding.name.toLowerCase()}}),Object.defineProperty(C.prototype,"fatal",{get:function(){return"fatal"===this._error_mode}}),Object.defineProperty(C.prototype,"ignoreBOM",{get:function(){return this._ignoreBOM}})),C.prototype.decode=function(e,t){var r;r="object"==typeof e&&e instanceof ArrayBuffer?new Uint8Array(e):"object"==typeof e&&"buffer"in e&&e.buffer instanceof ArrayBuffer?new Uint8Array(e.buffer,e.byteOffset,e.byteLength):new Uint8Array(0),t=s(t),this._do_not_flush||(this._decoder=v[this._encoding.name]({fatal:"fatal"===this._error_mode}),this._BOMseen=!1),this._do_not_flush=Boolean(t.stream);for(var n,i=new l(r),a=[];;){var o=i.read();if(o===u)break;if((n=this._decoder.handler(i,o))===h)break;null!==n&&(Array.isArray(n)?a.push.apply(a,n):a.push(n))}if(!this._do_not_flush){do{if((n=this._decoder.handler(i,i.read()))===h)break;null!==n&&(Array.isArray(n)?a.push.apply(a,n):a.push(n))}while(!i.endOfStream());this._decoder=null}return function(e){var t,r;return t=["UTF-8","UTF-16LE","UTF-16BE"],r=this._encoding.name,-1===t.indexOf(r)||this._ignoreBOM||this._BOMseen||(e.length>0&&65279===e[0]?(this._BOMseen=!0,e.shift()):e.length>0&&(this._BOMseen=!0)),function(e){for(var t="",r=0;r<e.length;++r){var n=e[r];n<=65535?t+=String.fromCharCode(n):(n-=65536,t+=String.fromCharCode(55296+(n>>10),56320+(1023&n)))}return t}(e)}.call(this,a)},Object.defineProperty&&Object.defineProperty(S.prototype,"encoding",{get:function(){return this._encoding.name.toLowerCase()}}),S.prototype.encode=function(e,t){e=void 0===e?"":String(e),t=s(t),this._do_not_flush||(this._encoder=y[this._encoding.name]({fatal:"fatal"===this._fatal})),this._do_not_flush=Boolean(t.stream);for(var r,n=new l(function(e){for(var t=String(e),r=t.length,n=0,i=[];n<r;){var s=t.charCodeAt(n);if(s<55296||s>57343)i.push(s);else if(56320<=s&&s<=57343)i.push(65533);else if(55296<=s&&s<=56319)if(n===r-1)i.push(65533);else{var a=t.charCodeAt(n+1);if(56320<=a&&a<=57343){var o=1023&s,u=1023&a;i.push(65536+(o<<10)+u),n+=1}else i.push(65533)}n+=1}return i}(e)),i=[];;){var a=n.read();if(a===u)break;if((r=this._encoder.handler(n,a))===h)break;Array.isArray(r)?i.push.apply(i,r):i.push(r)}if(!this._do_not_flush){for(;(r=this._encoder.handler(n,n.read()))!==h;)Array.isArray(r)?i.push.apply(i,r):i.push(r);this._encoder=null}return new Uint8Array(i)},y["UTF-8"]=function(e){return new A(e)},v["UTF-8"]=function(e){return new E(e)},"encoding-indexes"in t&&p.forEach((function(e){"Legacy single-byte encodings"===e.heading&&e.encodings.forEach((function(e){var t=e.name,r=x(t.toLowerCase());v[t]=function(e){return new I(r,e)},y[t]=function(e){return new O(r,e)}}))})),v.GBK=function(e){return new T(e)},y.GBK=function(e){return new z(e,!0)},y.gb18030=function(e){return new z(e)},v.gb18030=function(e){return new T(e)},y.Big5=function(e){return new L(e)},v.Big5=function(e){return new B(e)},y["EUC-JP"]=function(e){return new D(e)},v["EUC-JP"]=function(e){return new R(e)},y["ISO-2022-JP"]=function(e){return new P(e)},v["ISO-2022-JP"]=function(e){return new F(e)},y.Shift_JIS=function(e){return new U(e)},v.Shift_JIS=function(e){return new N(e)},y["EUC-KR"]=function(e){return new M(e)},v["EUC-KR"]=function(e){return new j(e)},y["UTF-16BE"]=function(e){return new W(!0,e)},v["UTF-16BE"]=function(e){return new H(!0,e)},y["UTF-16LE"]=function(e){return new W(!1,e)},v["UTF-16LE"]=function(e){return new H(!1,e)},y["x-user-defined"]=function(e){return new K(e)},v["x-user-defined"]=function(e){return new X(e)},t.TextEncoder||(t.TextEncoder=S),t.TextDecoder||(t.TextDecoder=C),e.exports&&(e.exports={TextEncoder:t.TextEncoder,TextDecoder:t.TextDecoder,EncodingIndexes:t["encoding-indexes"]})}(this||{})}}]);