!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).zip={})}(this,(function(t){"use strict";function e(){ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ e=function(){return t};var t={},r=Object.prototype,n=r.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function f(t,e,r,n){var i=e&&e.prototype instanceof h?e:h,o=Object.create(i.prototype),a=new k(n||[]);return o._invoke=function(t,e,r){var n="suspendedStart";return function(i,o){if("executing"===n)throw Error("Generator is already running");if("completed"===n){if("throw"===i)throw o;return{value:void 0,done:!0}}for(r.method=i,r.arg=o;;){var a=r.delegate;if(a){var u=_(a,r);if(u){if(u===l)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var s=c(t,e,r);if("normal"===s.type){if(n=r.done?"completed":"suspendedYield",s.arg===l)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n="completed",r.method="throw",r.arg=s.arg)}}}(t,r,a),o}function c(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=f;var l={};function h(){}function d(){}function p(){}var v={};s(v,o,(function(){return this}));var y=Object.getPrototypeOf,g=y&&y(y(E([])));g&&g!==r&&n.call(g,o)&&(v=g);var b=p.prototype=h.prototype=Object.create(v);function m(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function r(i,o,a,u){var s=c(t[i],t,o);if("throw"!==s.type){var f=s.arg,l=f.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(l).then((function(t){f.value=t,a(f)}),(function(t){return r("throw",t,a,u)}))}u(s.arg)}var i;this._invoke=function(t,n){function o(){return new e((function(e,i){r(t,n,e,i)}))}return i=i?i.then(o,o):o()}}function _(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,_(t,e),"throw"===e.method))return l;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var n=c(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,l;var i=n.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,l):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,l)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function E(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),s=n.call(o,"finallyLoc");if(u&&s){if(this.prev=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),A(r),l}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;A(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:E(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},t}function r(t){this.wrapped=t}function n(t){var e,n;function i(e,n){try{var a=t[e](n),u=a.value,s=u instanceof r;Promise.resolve(s?u.wrapped:u).then((function(t){s?i("return"===e?"return":"next",t):o(a.done?"return":"normal",t)}),(function(t){i("throw",t)}))}catch(t){o("throw",t)}}function o(t,r){switch(t){case"return":e.resolve({value:r,done:!0});break;case"throw":e.reject(r);break;default:e.resolve({value:r,done:!1})}(e=e.next)?i(e.key,e.arg):n=null}this._invoke=function(t,r){return new Promise((function(o,a){var u={key:t,arg:r,resolve:o,reject:a,next:null};n?n=n.next=u:(e=n=u,i(t,r))}))},"function"!=typeof t.return&&(this.return=void 0)}function i(t){return function(){return new n(t.apply(this,arguments))}}function o(t){return new r(t)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){for(var r=0;rarguments.length?t:r):i.value}},g.apply(this,arguments)}function b(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o=[],a=!0,u=!1;try{for(r=r.call(t);!(a=(n=r.next()).done)&&(o.push(n.value),!e||o.length!==e);a=!0);}catch(t){u=!0,i=t}finally{try{a||null==r.return||r.return()}finally{if(u)throw i}}return o}}(t,e)||w(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(t){return function(t){if(Array.isArray(t))return _(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||w(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w(t,e){if(t){if("string"==typeof t)return _(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_(t,e):void 0}}function _(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);e>r;r++)n[r]=t[r];return n}function x(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=w(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return narguments.length?ct(st[t]):st[t]&&st[t][e]},ht=V({}.isPrototypeOf),dt=lt("navigator","userAgent")||"",pt=E,vt=dt,yt=pt.process,gt=pt.Deno,bt=yt&&yt.versions||gt&>.version,mt=bt&&bt.v8;mt&&(M=(D=mt.split("."))[0]>0&&4>D[0]?1:+(D[0]+D[1])),!M&&vt&&((D=vt.match(/Edge\/(\d+)/))&&74>D[1]||(D=vt.match(/Chrome\/(\d+)/))&&(M=+D[1]));var wt=M,_t=wt,xt=!!Object.getOwnPropertySymbols&&!R((function(){var t=Symbol();return!(t+"")||!(Object(t)instanceof Symbol)||!Symbol.sham&&_t&&41>_t})),At=xt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,kt=lt,Et=ot,St=ht,Rt=Object,Tt=At?function(t){return"symbol"==typeof t}:function(t){var e=kt("Symbol");return Et(e)&&St(e.prototype,Rt(t))},Ut=String,Ot=function(t){try{return Ut(t)}catch(t){return"Object"}},It=ot,Pt=Ot,Ft=TypeError,jt=function(t){if(It(t))return t;throw Ft(Pt(t)+" is not a function")},Lt=jt,Dt=function(t,e){var r=t[e];return null==r?void 0:Lt(r)},Mt=I,Ct=ot,Bt=ut,zt=TypeError,Nt={exports:{}},Wt=E,Ht=Object.defineProperty,Vt=function(t,e){try{Ht(Wt,t,{value:e,configurable:!0,writable:!0})}catch(r){Wt[t]=e}return e},qt=Vt,Gt="__core-js_shared__",Yt=E[Gt]||qt(Gt,{}),$t=Yt;(Nt.exports=function(t,e){return $t[t]||($t[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.23.2",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.23.2/LICENSE",source:"https://github.com/zloirock/core-js"});var Kt=et,Zt=Object,Xt=function(t){return Zt(Kt(t))},Jt=Xt,Qt=V({}.hasOwnProperty),te=Object.hasOwn||function(t,e){return Qt(Jt(t),e)},ee=V,re=0,ne=Math.random(),ie=ee(1..toString),oe=function(t){return"Symbol("+(void 0===t?"":t)+")_"+ie(++re+ne,36)},ae=E,ue=Nt.exports,se=te,fe=oe,ce=xt,le=At,he=ue("wks"),de=ae.Symbol,pe=de&&de.for,ve=le?de:de&&de.withoutSetter||fe,ye=function(t){if(!se(he,t)||!ce&&"string"!=typeof he[t]){var e="Symbol."+t;ce&&se(de,t)?he[t]=de[t]:he[t]=le&&pe?pe(e):ve(e)}return he[t]},ge=I,be=ut,me=Tt,we=Dt,_e=TypeError,xe=ye("toPrimitive"),Ae=function(t,e){if(!be(t)||me(t))return t;var r,n=we(t,xe);if(n){if(void 0===e&&(e="default"),r=ge(n,t,e),!be(r)||me(r))return r;throw _e("Can't convert object to primitive value")}return void 0===e&&(e="number"),function(t,e){var r,n;if("string"===e&&Ct(r=t.toString)&&!Bt(n=Mt(r,t)))return n;if(Ct(r=t.valueOf)&&!Bt(n=Mt(r,t)))return n;if("string"!==e&&Ct(r=t.toString)&&!Bt(n=Mt(r,t)))return n;throw zt("Can't convert object to primitive value")}(t,e)},ke=Ae,Ee=Tt,Se=function(t){var e=ke(t,"string");return Ee(e)?e:e+""},Re=ut,Te=E.document,Ue=Re(Te)&&Re(Te.createElement),Oe=function(t){return Ue?Te.createElement(t):{}},Ie=Oe,Pe=!T&&!R((function(){return 7!=Object.defineProperty(Ie("div"),"a",{get:function(){return 7}}).a})),Fe=T,je=I,Le=P,De=C,Me=it,Ce=Se,Be=te,ze=Pe,Ne=Object.getOwnPropertyDescriptor;S.f=Fe?Ne:function(t,e){if(t=Me(t),e=Ce(e),ze)try{return Ne(t,e)}catch(t){}if(Be(t,e))return De(!je(Le.f,t,e),t[e])};var We={},He=T&&R((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Ve=ut,qe=String,Ge=TypeError,Ye=function(t){if(Ve(t))return t;throw Ge(qe(t)+" is not an object")},$e=T,Ke=Pe,Ze=He,Xe=Ye,Je=Se,Qe=TypeError,tr=Object.defineProperty,er=Object.getOwnPropertyDescriptor;We.f=$e?Ze?function(t,e,r){if(Xe(t),e=Je(e),Xe(r),"function"==typeof t&&"prototype"===e&&"value"in r&&"writable"in r&&!r.writable){var n=er(t,e);n&&n.writable&&(t[e]=r.value,r={configurable:"configurable"in r?r.configurable:n.configurable,enumerable:"enumerable"in r?r.enumerable:n.enumerable,writable:!1})}return tr(t,e,r)}:tr:function(t,e,r){if(Xe(t),e=Je(e),Xe(r),Ke)try{return tr(t,e,r)}catch(t){}if("get"in r||"set"in r)throw Qe("Accessors not supported");return"value"in r&&(t[e]=r.value),t};var rr=We,nr=C,ir=T?function(t,e,r){return rr.f(t,e,nr(1,r))}:function(t,e,r){return t[e]=r,t},or={exports:{}},ar=T,ur=Function.prototype,sr=ar&&Object.getOwnPropertyDescriptor,fr=te(ur,"name"),cr={EXISTS:fr,PROPER:fr&&!1,CONFIGURABLE:fr&&(!ar||ar&&sr(ur,"name").configurable)},lr=ot,hr=Yt,dr=V(Function.toString);lr(hr.inspectSource)||(hr.inspectSource=function(t){return dr(t)});var pr,vr,yr,gr=hr.inspectSource,br=ot,mr=gr,wr=E.WeakMap,_r=br(wr)&&/native code/.test(mr(wr)),xr=Nt.exports,Ar=oe,kr=xr("keys"),Er=function(t){return kr[t]||(kr[t]=Ar(t))},Sr={},Rr=_r,Tr=E,Ur=V,Or=ut,Ir=ir,Pr=te,Fr=Yt,jr=Er,Lr=Sr,Dr="Object already initialized",Mr=Tr.TypeError,Cr=Tr.WeakMap;if(Rr||Fr.state){var Br=Fr.state||(Fr.state=new Cr),zr=Ur(Br.get),Nr=Ur(Br.has),Wr=Ur(Br.set);pr=function(t,e){if(Nr(Br,t))throw new Mr(Dr);return e.facade=t,Wr(Br,t,e),e},vr=function(t){return zr(Br,t)||{}},yr=function(t){return Nr(Br,t)}}else{var Hr=jr("state");Lr[Hr]=!0,pr=function(t,e){if(Pr(t,Hr))throw new Mr(Dr);return e.facade=t,Ir(t,Hr,e),e},vr=function(t){return Pr(t,Hr)?t[Hr]:{}},yr=function(t){return Pr(t,Hr)}}var Vr={set:pr,get:vr,has:yr,enforce:function(t){return yr(t)?vr(t):pr(t,{})},getterFor:function(t){return function(e){var r;if(!Or(e)||(r=vr(e)).type!==t)throw Mr("Incompatible receiver, "+t+" required");return r}}},qr=ot,Gr=te,Yr=T,$r=cr.CONFIGURABLE,Kr=gr,Zr=Vr.enforce,Xr=Vr.get,Jr=Object.defineProperty,Qr=Yr&&!R((function(){return 8!==Jr((function(){}),"length",{value:8}).length})),tn=(String+"").split("String"),en=or.exports=function(t,e,r){"Symbol("===(e+"").slice(0,7)&&(e="["+(e+"").replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!Gr(t,"name")||$r&&t.name!==e)&&Jr(t,"name",{value:e,configurable:!0}),Qr&&r&&Gr(r,"arity")&&t.length!==r.arity&&Jr(t,"length",{value:r.arity});try{r&&Gr(r,"constructor")&&r.constructor?Yr&&Jr(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=Zr(t);return Gr(n,"source")||(n.source=tn.join("string"==typeof e?e:"")),t};Function.prototype.toString=en((function(){return qr(this)&&Xr(this).source||Kr(this)}),"toString");var rn=ot,nn=We,on=or.exports,an=Vt,un=function(t,e,r,n){n||(n={});var i=n.enumerable,o=void 0!==n.name?n.name:e;return rn(r)&&on(r,o,n),n.global?i?t[e]=r:an(e,r):(n.unsafe?t[e]&&(i=!0):delete t[e],i?t[e]=r:nn.f(t,e,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})),t},sn={},fn=Math.ceil,cn=Math.floor,ln=Math.trunc||function(t){var e=+t;return(e>0?cn:fn)(e)},hn=function(t){var e=+t;return e!=e||0===e?0:ln(e)},dn=hn,pn=Math.max,vn=Math.min,yn=function(t,e){var r=dn(t);return 0>r?pn(r+e,0):vn(r,e)},gn=hn,bn=Math.min,mn=function(t){return t>0?bn(gn(t),9007199254740991):0},wn=mn,_n=function(t){return wn(t.length)},xn=it,An=yn,kn=_n,En=function(t){return function(e,r,n){var i,o=xn(e),a=kn(o),u=An(n,a);if(t&&r!=r){for(;a>u;)if((i=o[u++])!=i)return!0}else for(;a>u;u++)if((t||u in o)&&o[u]===r)return t||u||0;return!t&&-1}},Sn={includes:En(!0),indexOf:En(!1)},Rn=te,Tn=it,Un=Sn.indexOf,On=Sr,In=V([].push),Pn=function(t,e){var r,n=Tn(t),i=0,o=[];for(r in n)!Rn(On,r)&&Rn(n,r)&&In(o,r);for(;e.length>i;)Rn(n,r=e[i++])&&(~Un(o,r)||In(o,r));return o},Fn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],jn=Pn,Ln=Fn.concat("length","prototype");sn.f=Object.getOwnPropertyNames||function(t){return jn(t,Ln)};var Dn={};Dn.f=Object.getOwnPropertySymbols;var Mn=lt,Cn=sn,Bn=Dn,zn=Ye,Nn=V([].concat),Wn=Mn("Reflect","ownKeys")||function(t){var e=Cn.f(zn(t)),r=Bn.f;return r?Nn(e,r(t)):e},Hn=te,Vn=Wn,qn=S,Gn=We,Yn=function(t,e,r){for(var n=Vn(e),i=Gn.f,o=qn.f,a=0;ab;b++)if((u||b in v)&&(d=y(h=v[b],b,p),t))if(e)w[b]=d;else if(d)switch(t){case 3:return!0;case 5:return h;case 6:return b;case 2:Xi(w,h)}else switch(t){case 4:return!1;case 7:Xi(w,h)}return o?-1:n||i?i:w}},Qi={forEach:Ji(0),map:Ji(1),filter:Ji(2),some:Ji(3),every:Ji(4),find:Ji(5),findIndex:Ji(6),filterReject:Ji(7)},to=R,eo=wt,ro=ye("species"),no=function(t){return eo>=51||!to((function(){var e=[];return(e.constructor={})[ro]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},io=Qi.map;ci({target:"Array",proto:!0,forced:!no("map")},{map:function(t){return io(this,t,arguments.length>1?arguments[1]:void 0)}});var oo=Xt,ao=yn,uo=_n,so=function(t){for(var e=oo(this),r=uo(e),n=arguments.length,i=ao(n>1?arguments[1]:void 0,r),o=n>2?arguments[2]:void 0,a=void 0===o?r:ao(o,r);a>i;)e[i++]=t;return e},fo={},co=Pn,lo=Fn,ho=Object.keys||function(t){return co(t,lo)},po=T,vo=He,yo=We,go=Ye,bo=it,mo=ho;fo.f=po&&!vo?Object.defineProperties:function(t,e){go(t);for(var r,n=bo(e),i=mo(e),o=i.length,a=0;o>a;)yo.f(t,r=i[a++],n[r]);return t};var wo,_o=lt("document","documentElement"),xo=Ye,Ao=fo,ko=Fn,Eo=Sr,So=_o,Ro=Oe,To=Er("IE_PROTO"),Uo=function(){},Oo=function(t){return"