!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e||self).SimpleDropzone={})}(this,function(e){var t=-2,n=[0,1,2,3,4,4,5,5,6,6,6,6,7,7,7,7,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,0,0,16,17,18,18,19,19,20,20,20,20,21,21,21,21,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29];function i(){var e=this;function t(e,t){var n=0;do{n|=1&e,e>>>=1,n<<=1}while(--t>0);return n>>>1}e.build_tree=function(n){var i,r,a,o=e.dyn_tree,s=e.stat_desc.static_tree,f=e.stat_desc.elems,l=-1;for(n.heap_len=0,n.heap_max=573,i=0;i=1;i--)n.pqdownheap(o,i);a=f;do{i=n.heap[1],n.heap[1]=n.heap[n.heap_len--],n.pqdownheap(o,1),r=n.heap[1],n.heap[--n.heap_max]=i,n.heap[--n.heap_max]=r,o[2*a]=o[2*i]+o[2*r],n.depth[a]=Math.max(n.depth[i],n.depth[r])+1,o[2*i+1]=o[2*r+1]=a,n.heap[1]=a++,n.pqdownheap(o,1)}while(n.heap_len>=2);n.heap[--n.heap_max]=n.heap[1],function(t){var n,i,r,a,o,s,f=e.dyn_tree,l=e.stat_desc.static_tree,u=e.stat_desc.extra_bits,d=e.stat_desc.extra_base,c=e.stat_desc.max_length,_=0;for(a=0;a<=15;a++)t.bl_count[a]=0;for(f[2*t.heap[t.heap_max]+1]=0,n=t.heap_max+1;n<573;n++)(a=f[2*f[2*(i=t.heap[n])+1]+1]+1)>c&&(a=c,_++),f[2*i+1]=a,i>e.max_code||(t.bl_count[a]++,o=0,i>=d&&(o=u[i-d]),t.opt_len+=(s=f[2*i])*(a+o),l&&(t.static_len+=s*(l[2*i+1]+o)));if(0!==_){do{for(a=c-1;0===t.bl_count[a];)a--;t.bl_count[a]--,t.bl_count[a+1]+=2,t.bl_count[c]--,_-=2}while(_>0);for(a=c;0!==a;a--)for(i=t.bl_count[a];0!==i;)(r=t.heap[--n])>e.max_code||(f[2*r+1]!=a&&(t.opt_len+=(a-f[2*r+1])*f[2*r],f[2*r+1]=a),i--)}}(n),function(e,n,i){var r,a,o,s=[],f=0;for(r=1;r<=15;r++)s[r]=f=f+i[r-1]<<1;for(a=0;a<=n;a++)0!==(o=e[2*a+1])&&(e[2*a]=t(s[o]++,o))}(o,e.max_code,n.bl_count)}}function r(e,t,n,i,r){var a=this;a.static_tree=e,a.extra_bits=t,a.extra_base=n,a.elems=i,a.max_length=r}function a(e,t,n,i,r){var a=this;a.good_length=e,a.max_lazy=t,a.nice_length=n,a.max_chain=i,a.func=r}i._length_code=[0,1,2,3,4,5,6,7,8,8,9,9,10,10,11,11,12,12,12,12,13,13,13,13,14,14,14,14,15,15,15,15,16,16,16,16,16,16,16,16,17,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,28],i.base_length=[0,1,2,3,4,5,6,7,8,10,12,14,16,20,24,28,32,40,48,56,64,80,96,112,128,160,192,224,0],i.base_dist=[0,1,2,3,4,6,8,12,16,24,32,48,64,96,128,192,256,384,512,768,1024,1536,2048,3072,4096,6144,8192,12288,16384,24576],i.d_code=function(e){return e<256?n[e]:n[256+(e>>>7)]},i.extra_lbits=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],i.extra_dbits=[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],i.extra_blbits=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],i.bl_order=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],r.static_ltree=[12,8,140,8,76,8,204,8,44,8,172,8,108,8,236,8,28,8,156,8,92,8,220,8,60,8,188,8,124,8,252,8,2,8,130,8,66,8,194,8,34,8,162,8,98,8,226,8,18,8,146,8,82,8,210,8,50,8,178,8,114,8,242,8,10,8,138,8,74,8,202,8,42,8,170,8,106,8,234,8,26,8,154,8,90,8,218,8,58,8,186,8,122,8,250,8,6,8,134,8,70,8,198,8,38,8,166,8,102,8,230,8,22,8,150,8,86,8,214,8,54,8,182,8,118,8,246,8,14,8,142,8,78,8,206,8,46,8,174,8,110,8,238,8,30,8,158,8,94,8,222,8,62,8,190,8,126,8,254,8,1,8,129,8,65,8,193,8,33,8,161,8,97,8,225,8,17,8,145,8,81,8,209,8,49,8,177,8,113,8,241,8,9,8,137,8,73,8,201,8,41,8,169,8,105,8,233,8,25,8,153,8,89,8,217,8,57,8,185,8,121,8,249,8,5,8,133,8,69,8,197,8,37,8,165,8,101,8,229,8,21,8,149,8,85,8,213,8,53,8,181,8,117,8,245,8,13,8,141,8,77,8,205,8,45,8,173,8,109,8,237,8,29,8,157,8,93,8,221,8,61,8,189,8,125,8,253,8,19,9,275,9,147,9,403,9,83,9,339,9,211,9,467,9,51,9,307,9,179,9,435,9,115,9,371,9,243,9,499,9,11,9,267,9,139,9,395,9,75,9,331,9,203,9,459,9,43,9,299,9,171,9,427,9,107,9,363,9,235,9,491,9,27,9,283,9,155,9,411,9,91,9,347,9,219,9,475,9,59,9,315,9,187,9,443,9,123,9,379,9,251,9,507,9,7,9,263,9,135,9,391,9,71,9,327,9,199,9,455,9,39,9,295,9,167,9,423,9,103,9,359,9,231,9,487,9,23,9,279,9,151,9,407,9,87,9,343,9,215,9,471,9,55,9,311,9,183,9,439,9,119,9,375,9,247,9,503,9,15,9,271,9,143,9,399,9,79,9,335,9,207,9,463,9,47,9,303,9,175,9,431,9,111,9,367,9,239,9,495,9,31,9,287,9,159,9,415,9,95,9,351,9,223,9,479,9,63,9,319,9,191,9,447,9,127,9,383,9,255,9,511,9,0,7,64,7,32,7,96,7,16,7,80,7,48,7,112,7,8,7,72,7,40,7,104,7,24,7,88,7,56,7,120,7,4,7,68,7,36,7,100,7,20,7,84,7,52,7,116,7,3,8,131,8,67,8,195,8,35,8,163,8,99,8,227,8],r.static_dtree=[0,5,16,5,8,5,24,5,4,5,20,5,12,5,28,5,2,5,18,5,10,5,26,5,6,5,22,5,14,5,30,5,1,5,17,5,9,5,25,5,5,5,21,5,13,5,29,5,3,5,19,5,11,5,27,5,7,5,23,5],r.static_l_desc=new r(r.static_ltree,i.extra_lbits,257,286,15),r.static_d_desc=new r(r.static_dtree,i.extra_dbits,0,30,15),r.static_bl_desc=new r(null,i.extra_blbits,0,19,7);var o=[new a(0,0,0,0,0),new a(4,4,8,4,1),new a(4,5,16,8,1),new a(4,6,32,32,1),new a(4,4,16,16,2),new a(8,16,32,32,2),new a(8,16,128,128,2),new a(8,32,128,256,2),new a(32,128,258,1024,2),new a(32,258,258,4096,2)],s=["need dictionary","stream end","","","stream error","data error","","buffer error","",""],f=113,l=666,u=262;function d(e,t,n,i){var r=e[2*t],a=e[2*n];return r>>8&255)}function re(e,t){var n,i=t;Y>16-i?(ie(H|=(n=e)<>>16-Y,Y+=i-16):(H|=e<=8&&(ne(255&H),H>>>=8,Y-=8)}function fe(e,t){var n,r,a;if(J.pending_buf[q+2*V]=e>>>8&255,J.pending_buf[q+2*V+1]=255&e,J.pending_buf[N+V]=255&t,V++,0===e?P[2*t]++:($++,e--,P[2*(i._length_code[t]+256+1)]++,Z[2*i.d_code(e)]++),0==(8191&V)&&B>2){for(n=8*V,r=S-z,a=0;a<30;a++)n+=Z[2*a]*(5+i.extra_dbits[a]);if(n>>>=3,$8?ie(H):Y>0&&ne(255&H),H=0,Y=0}function de(e,t,n){re(0+(n?1:0),3),function(e,t,n){ue(),G=8,ie(t),ie(~t),J.pending_buf.set(w.subarray(e,e+t),J.pending),J.pending+=t}(e,t)}function ce(t){(function(e,t,n){var a,o,s=0;B>0?(K.build_tree(J),Q.build_tree(J),s=function(){var e;for(te(P,K.max_code),te(Z,Q.max_code),X.build_tree(J),e=18;e>=3&&0===j[2*i.bl_order[e]+1];e--);return J.opt_len+=3*(e+1)+5+5+4,e}(),(o=J.static_len+3+7>>>3)<=(a=J.opt_len+3+7>>>3)&&(a=o)):a=o=t+5,t+4<=a&&-1!=e?de(e,t,n):o==a?(re(2+(n?1:0),3),le(r.static_ltree,r.static_dtree)):(re(4+(n?1:0),3),function(e,t,n){var r;for(re(e-257,5),re(t-1,5),re(n-4,4),r=0;r=0?z:-1,S-z,t),z=S,e.flush_pending()}function _e(){var t,n,i,r;do{if(0==(r=v-T-S)&&0===S&&0===T)r=_;else if(-1==r)r--;else if(S>=_+_-u){w.set(w.subarray(_,_+_),0),R-=_,S-=_,z-=_,i=t=g;do{n=65535&x[--i],x[i]=n>=_?n-_:0}while(0!=--t);i=t=_;do{n=65535&b[--i],b[i]=n>=_?n-_:0}while(0!=--t);r+=_}if(0===e.avail_in)return;t=e.read_buf(w,S+T,r),(T+=t)>=3&&(m=((m=255&w[S])<_-u?S-(_-u):0,s=L,f=p,l=S+258,d=w[r+a-1],c=w[r+a];F>=C&&(i>>=2),s>T&&(s=T);do{if(w[(t=e)+a]==c&&w[t+a-1]==d&&w[t]==w[r]&&w[++t]==w[r+1]){r+=2,t++;do{}while(w[++r]==w[++t]&&w[++r]==w[++t]&&w[++r]==w[++t]&&w[++r]==w[++t]&&w[++r]==w[++t]&&w[++r]==w[++t]&&w[++r]==w[++t]&&w[++r]==w[++t]&&ra){if(R=e,a=n,n>=s)break;d=w[r+a-1],c=w[r+a]}}}while((e=65535&b[e&f])>o&&0!=--i);return a<=T?a:T}J.depth=[],J.bl_count=[],J.heap=[],P=[],Z=[],j=[],J.pqdownheap=function(e,t){for(var n=J.heap,i=n[t],r=t<<1;r<=J.heap_len&&(r9||8!=l||s<9||s>15||i<0||i>9||d<0||d>2?t:(e.dstate=J,p=(_=1<<(h=s))-1,k=(g=1<<(y=u+7))-1,U=Math.floor((y+3-1)/3),w=new Uint8Array(2*_),b=[],x=[],O=1<9||i<0||i>2?t:(o[B].func!=o[n].func&&0!==e.total_in&&(r=e.deflate(1)),B!=n&&(M=o[B=n].max_lazy,C=o[B].good_length,L=o[B].nice_length,W=o[B].max_chain),I=i,r)},J.deflateSetDictionary=function(e,i,r){var a,o=r,s=0;if(!i||42!=n)return t;if(o<3)return 0;for(o>_-u&&(s=r-(o=_-u)),w.set(i.subarray(s,s+o),0),S=o,z=o,m=((m=255&w[0])<4||d<0)return t;if(!i.next_out||!i.next_in&&0!==i.avail_in||n==l&&4!=d)return i.msg=s[4],t;if(0===i.avail_out)return i.msg=s[7],-5;if(e=i,C=c,c=d,42==n&&(y=8+(h-8<<4)<<8,(W=(B-1&255)>>1)>3&&(W=3),y|=W<<6,0!==S&&(y|=32),n=f,ne((P=y+=31-y%31)>>8&255),ne(255&P)),0!==J.pending){if(e.flush_pending(),0===e.avail_out)return c=-1,0}else if(0===e.avail_in&&d<=C&&4!=d)return e.msg=s[7],-5;if(n==l&&0!==e.avail_in)return i.msg=s[7],-5;if(0!==e.avail_in||0!==T||0!=d&&n!=l){switch(L=-1,o[B].func){case 0:L=function(t){var n,i=65535;for(i>a-5&&(i=a-5);;){if(T<=1){if(_e(),0===T&&0==t)return 0;if(0===T)break}if(S+=T,T=0,n=z+i,(0===S||S>=n)&&(T=S-n,S=n,ce(!1),0===e.avail_out))return 0;if(S-z>=_-u&&(ce(!1),0===e.avail_out))return 0}return ce(4==t),0===e.avail_out?4==t?2:0:4==t?3:1}(d);break;case 1:L=function(t){for(var n,i=0;;){if(T=3&&(i=65535&x[m=(m<=3)if(n=fe(S-R,D-3),T-=D,D<=M&&T>=3){D--;do{S++,i=65535&x[m=(m<=3&&(r=65535&x[m=(m<4096)&&(D=2)),F>=3&&D<=F){i=S+T-3,n=fe(S-1-E,F-3),T-=F-1,F-=2;do{++S<=i&&(r=65535&x[m=(m<0&&t.next_in_index!=s&&(r(t.next_in_index),s=t.next_in_index)}while(t.avail_in>0||0===t.avail_out);return a=new Uint8Array(l),o.forEach(function(e){a.set(e,f),f+=e.length}),a}},this.flush=function(){var e,r,a=[],o=0,s=0;do{if(t.next_out_index=0,t.avail_out=n,1!=(e=t.deflate(4))&&0!=e)throw new Error("deflating: "+t.msg);n-t.avail_out>0&&a.push(new Uint8Array(i.subarray(0,t.next_out_index))),s+=t.next_out_index}while(t.avail_in>0||0===t.avail_out);return t.deflateEnd(),r=new Uint8Array(s),a.forEach(function(e){r.set(e,o),o+=e.length}),r}}_.prototype={deflateInit:function(e,t){var n=this;return n.dstate=new c,t||(t=15),n.dstate.deflateInit(n,e,t)},deflate:function(e){var n=this;return n.dstate?n.dstate.deflate(n,e):t},deflateEnd:function(){var e=this;if(!e.dstate)return t;var n=e.dstate.deflateEnd();return e.dstate=null,n},deflateParams:function(e,n){var i=this;return i.dstate?i.dstate.deflateParams(i,e,n):t},deflateSetDictionary:function(e,n){var i=this;return i.dstate?i.dstate.deflateSetDictionary(i,e,n):t},read_buf:function(e,t,n){var i=this,r=i.avail_in;return r>n&&(r=n),0===r?0:(i.avail_in-=r,e.set(i.next_in.subarray(i.next_in_index,i.next_in_index+r),t),i.next_in_index+=r,i.total_in+=r,r)},flush_pending:function(){var e=this,t=e.dstate.pending;t>e.avail_out&&(t=e.avail_out),0!==t&&(e.next_out.set(e.dstate.pending_buf.subarray(e.dstate.pending_out,e.dstate.pending_out+t),e.next_out_index),e.next_out_index+=t,e.dstate.pending_out+=t,e.total_out+=t,e.avail_out-=t,e.dstate.pending-=t,0===e.dstate.pending&&(e.dstate.pending_out=0))}},self._zipjs_Deflater=h;var p=-2,w=-3,v=-5,b=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535],x=[96,7,256,0,8,80,0,8,16,84,8,115,82,7,31,0,8,112,0,8,48,0,9,192,80,7,10,0,8,96,0,8,32,0,9,160,0,8,0,0,8,128,0,8,64,0,9,224,80,7,6,0,8,88,0,8,24,0,9,144,83,7,59,0,8,120,0,8,56,0,9,208,81,7,17,0,8,104,0,8,40,0,9,176,0,8,8,0,8,136,0,8,72,0,9,240,80,7,4,0,8,84,0,8,20,85,8,227,83,7,43,0,8,116,0,8,52,0,9,200,81,7,13,0,8,100,0,8,36,0,9,168,0,8,4,0,8,132,0,8,68,0,9,232,80,7,8,0,8,92,0,8,28,0,9,152,84,7,83,0,8,124,0,8,60,0,9,216,82,7,23,0,8,108,0,8,44,0,9,184,0,8,12,0,8,140,0,8,76,0,9,248,80,7,3,0,8,82,0,8,18,85,8,163,83,7,35,0,8,114,0,8,50,0,9,196,81,7,11,0,8,98,0,8,34,0,9,164,0,8,2,0,8,130,0,8,66,0,9,228,80,7,7,0,8,90,0,8,26,0,9,148,84,7,67,0,8,122,0,8,58,0,9,212,82,7,19,0,8,106,0,8,42,0,9,180,0,8,10,0,8,138,0,8,74,0,9,244,80,7,5,0,8,86,0,8,22,192,8,0,83,7,51,0,8,118,0,8,54,0,9,204,81,7,15,0,8,102,0,8,38,0,9,172,0,8,6,0,8,134,0,8,70,0,9,236,80,7,9,0,8,94,0,8,30,0,9,156,84,7,99,0,8,126,0,8,62,0,9,220,82,7,27,0,8,110,0,8,46,0,9,188,0,8,14,0,8,142,0,8,78,0,9,252,96,7,256,0,8,81,0,8,17,85,8,131,82,7,31,0,8,113,0,8,49,0,9,194,80,7,10,0,8,97,0,8,33,0,9,162,0,8,1,0,8,129,0,8,65,0,9,226,80,7,6,0,8,89,0,8,25,0,9,146,83,7,59,0,8,121,0,8,57,0,9,210,81,7,17,0,8,105,0,8,41,0,9,178,0,8,9,0,8,137,0,8,73,0,9,242,80,7,4,0,8,85,0,8,21,80,8,258,83,7,43,0,8,117,0,8,53,0,9,202,81,7,13,0,8,101,0,8,37,0,9,170,0,8,5,0,8,133,0,8,69,0,9,234,80,7,8,0,8,93,0,8,29,0,9,154,84,7,83,0,8,125,0,8,61,0,9,218,82,7,23,0,8,109,0,8,45,0,9,186,0,8,13,0,8,141,0,8,77,0,9,250,80,7,3,0,8,83,0,8,19,85,8,195,83,7,35,0,8,115,0,8,51,0,9,198,81,7,11,0,8,99,0,8,35,0,9,166,0,8,3,0,8,131,0,8,67,0,9,230,80,7,7,0,8,91,0,8,27,0,9,150,84,7,67,0,8,123,0,8,59,0,9,214,82,7,19,0,8,107,0,8,43,0,9,182,0,8,11,0,8,139,0,8,75,0,9,246,80,7,5,0,8,87,0,8,23,192,8,0,83,7,51,0,8,119,0,8,55,0,9,206,81,7,15,0,8,103,0,8,39,0,9,174,0,8,7,0,8,135,0,8,71,0,9,238,80,7,9,0,8,95,0,8,31,0,9,158,84,7,99,0,8,127,0,8,63,0,9,222,82,7,27,0,8,111,0,8,47,0,9,190,0,8,15,0,8,143,0,8,79,0,9,254,96,7,256,0,8,80,0,8,16,84,8,115,82,7,31,0,8,112,0,8,48,0,9,193,80,7,10,0,8,96,0,8,32,0,9,161,0,8,0,0,8,128,0,8,64,0,9,225,80,7,6,0,8,88,0,8,24,0,9,145,83,7,59,0,8,120,0,8,56,0,9,209,81,7,17,0,8,104,0,8,40,0,9,177,0,8,8,0,8,136,0,8,72,0,9,241,80,7,4,0,8,84,0,8,20,85,8,227,83,7,43,0,8,116,0,8,52,0,9,201,81,7,13,0,8,100,0,8,36,0,9,169,0,8,4,0,8,132,0,8,68,0,9,233,80,7,8,0,8,92,0,8,28,0,9,153,84,7,83,0,8,124,0,8,60,0,9,217,82,7,23,0,8,108,0,8,44,0,9,185,0,8,12,0,8,140,0,8,76,0,9,249,80,7,3,0,8,82,0,8,18,85,8,163,83,7,35,0,8,114,0,8,50,0,9,197,81,7,11,0,8,98,0,8,34,0,9,165,0,8,2,0,8,130,0,8,66,0,9,229,80,7,7,0,8,90,0,8,26,0,9,149,84,7,67,0,8,122,0,8,58,0,9,213,82,7,19,0,8,106,0,8,42,0,9,181,0,8,10,0,8,138,0,8,74,0,9,245,80,7,5,0,8,86,0,8,22,192,8,0,83,7,51,0,8,118,0,8,54,0,9,205,81,7,15,0,8,102,0,8,38,0,9,173,0,8,6,0,8,134,0,8,70,0,9,237,80,7,9,0,8,94,0,8,30,0,9,157,84,7,99,0,8,126,0,8,62,0,9,221,82,7,27,0,8,110,0,8,46,0,9,189,0,8,14,0,8,142,0,8,78,0,9,253,96,7,256,0,8,81,0,8,17,85,8,131,82,7,31,0,8,113,0,8,49,0,9,195,80,7,10,0,8,97,0,8,33,0,9,163,0,8,1,0,8,129,0,8,65,0,9,227,80,7,6,0,8,89,0,8,25,0,9,147,83,7,59,0,8,121,0,8,57,0,9,211,81,7,17,0,8,105,0,8,41,0,9,179,0,8,9,0,8,137,0,8,73,0,9,243,80,7,4,0,8,85,0,8,21,80,8,258,83,7,43,0,8,117,0,8,53,0,9,203,81,7,13,0,8,101,0,8,37,0,9,171,0,8,5,0,8,133,0,8,69,0,9,235,80,7,8,0,8,93,0,8,29,0,9,155,84,7,83,0,8,125,0,8,61,0,9,219,82,7,23,0,8,109,0,8,45,0,9,187,0,8,13,0,8,141,0,8,77,0,9,251,80,7,3,0,8,83,0,8,19,85,8,195,83,7,35,0,8,115,0,8,51,0,9,199,81,7,11,0,8,99,0,8,35,0,9,167,0,8,3,0,8,131,0,8,67,0,9,231,80,7,7,0,8,91,0,8,27,0,9,151,84,7,67,0,8,123,0,8,59,0,9,215,82,7,19,0,8,107,0,8,43,0,9,183,0,8,11,0,8,139,0,8,75,0,9,247,80,7,5,0,8,87,0,8,23,192,8,0,83,7,51,0,8,119,0,8,55,0,9,207,81,7,15,0,8,103,0,8,39,0,9,175,0,8,7,0,8,135,0,8,71,0,9,239,80,7,9,0,8,95,0,8,31,0,9,159,84,7,99,0,8,127,0,8,63,0,9,223,82,7,27,0,8,111,0,8,47,0,9,191,0,8,15,0,8,143,0,8,79,0,9,255],m=[80,5,1,87,5,257,83,5,17,91,5,4097,81,5,5,89,5,1025,85,5,65,93,5,16385,80,5,3,88,5,513,84,5,33,92,5,8193,82,5,9,90,5,2049,86,5,129,192,5,24577,80,5,2,87,5,385,83,5,25,91,5,6145,81,5,7,89,5,1537,85,5,97,93,5,24577,80,5,4,88,5,769,84,5,49,92,5,12289,82,5,13,90,5,3073,86,5,193,192,5,24577],g=[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],y=[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,112,112],k=[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],U=[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];function z(){var e,t,n,i,r,a;function o(e,t,o,s,f,l,u,d,c,_,h){var p,b,x,m,g,y,k,U,z,D,E,A,S,R,T;D=0,g=o;do{n[e[t+D]]++,D++,g--}while(0!==g);if(n[0]==o)return u[0]=-1,d[0]=0,0;for(U=d[0],y=1;y<=15&&0===n[y];y++);for(k=y,Ug&&(U=g),d[0]=U,R=1<A+U;){if(m++,T=(T=x-(A+=U))>U?U:T,(b=1<<(y=k-A))>p+1&&(b-=p+1,S=k,y1440)return w;r[m]=E=_[0],_[0]+=T,0!==m?(a[m]=g,i[0]=y,i[1]=U,i[2]=E-r[m-1]-(y=g>>>A-U),c.set(i,3*(r[m-1]+y))):u[0]=E}for(i[1]=k-A,D>=o?i[0]=192:h[D]>>A;y>>=1)g^=y;for(g^=y,z=(1<257?(_==w?c.msg="oversubscribed distance tree":_==v?(c.msg="incomplete distance tree",_=w):-4!=_&&(c.msg="empty distance tree with lengths",_=w),_):0)}}function D(){var e,t,n,i,r=this,a=0,o=0,s=0,f=0,l=0,u=0,d=0,c=0,_=0,h=0;function v(e,t,n,i,r,a,o,s){var f,l,u,d,c,_,h,p,v,x,m,g,y,k,U,z;h=s.next_in_index,p=s.avail_in,c=o.bitb,_=o.bitk,x=(v=o.write)>=l[z+1],_-=l[z+1],0!=(16&d)){for(y=l[z+2]+(c&b[d&=15]),c>>=d,_-=d;_<15;)p--,c|=(255&s.read_byte(h++))<<_,_+=8;for(d=(l=r)[z=3*((u=a)+(f=c&g))];;){if(c>>=l[z+1],_-=l[z+1],0!=(16&d)){for(d&=15;_>=d,_-=d,x-=y,v>=k)v-(U=v-k)>0&&2>v-U?(o.window[v++]=o.window[U++],o.window[v++]=o.window[U++],y-=2):(o.window.set(o.window.subarray(U,U+2),v),v+=2,U+=2,y-=2);else{U=v-k;do{U+=o.end}while(U<0);if(y>(d=o.end-U)){if(y-=d,v-U>0&&d>v-U)do{o.window[v++]=o.window[U++]}while(0!=--d);else o.window.set(o.window.subarray(U,U+d),v),v+=d,U+=d,d=0;U=0}}if(v-U>0&&y>v-U)do{o.window[v++]=o.window[U++]}while(0!=--y);else o.window.set(o.window.subarray(U,U+y),v),v+=y,U+=y,y=0;break}if(0!=(64&d))return s.msg="invalid distance code",p+=y=_>>3<(y=s.avail_in-p)?_>>3:y,h-=y,_-=y<<3,o.bitb=c,o.bitk=_,s.avail_in=p,s.total_in+=h-s.next_in_index,s.next_in_index=h,o.write=v,w;f+=l[z+2],d=l[z=3*(u+(f+=c&b[d]))]}break}if(0!=(64&d))return 0!=(32&d)?(p+=y=_>>3<(y=s.avail_in-p)?_>>3:y,h-=y,_-=y<<3,o.bitb=c,o.bitk=_,s.avail_in=p,s.total_in+=h-s.next_in_index,s.next_in_index=h,o.write=v,1):(s.msg="invalid literal/length code",p+=y=_>>3<(y=s.avail_in-p)?_>>3:y,h-=y,_-=y<<3,o.bitb=c,o.bitk=_,s.avail_in=p,s.total_in+=h-s.next_in_index,s.next_in_index=h,o.write=v,w);if(f+=l[z+2],0===(d=l[z=3*(u+(f+=c&b[d]))])){c>>=l[z+1],_-=l[z+1],o.window[v++]=l[z+2],x--;break}}else c>>=l[z+1],_-=l[z+1],o.window[v++]=l[z+2],x--}while(x>=258&&p>=10);return p+=y=_>>3<(y=s.avail_in-p)?_>>3:y,h-=y,_-=y<<3,o.bitb=c,o.bitk=_,s.avail_in=p,s.total_in+=h-s.next_in_index,s.next_in_index=h,o.write=v,0}r.init=function(r,a,o,s,f,l){e=0,d=r,c=a,n=o,_=s,i=f,h=l,t=null},r.proc=function(r,x,m){var g,y,k,U,z,D,E,A=0,S=0,R=0;for(R=x.next_in_index,U=x.avail_in,A=r.bitb,S=r.bitk,D=(z=r.write)=258&&U>=10&&(r.bitb=A,r.bitk=S,x.avail_in=U,x.total_in+=R-x.next_in_index,x.next_in_index=R,r.write=z,m=v(d,c,n,_,i,h,r,x),R=x.next_in_index,U=x.avail_in,A=r.bitb,S=r.bitk,D=(z=r.write)>>=t[1+(y=3*(o+(A&b[g])))],S-=t[y+1],0===(k=t[y])){f=t[y+2],e=6;break}if(0!=(16&k)){l=15&k,a=t[y+2],e=2;break}if(0==(64&k)){s=k,o=y/3+t[y+2];break}if(0!=(32&k)){e=7;break}return e=9,x.msg="invalid literal/length code",m=w,r.bitb=A,r.bitk=S,x.avail_in=U,x.total_in+=R-x.next_in_index,x.next_in_index=R,r.write=z,r.inflate_flush(x,m);case 2:for(g=l;S>=g,S-=g,s=c,t=i,o=h,e=3;case 3:for(g=s;S>=t[1+(y=3*(o+(A&b[g])))],S-=t[y+1],0!=(16&(k=t[y]))){l=15&k,u=t[y+2],e=4;break}if(0==(64&k)){s=k,o=y/3+t[y+2];break}return e=9,x.msg="invalid distance code",m=w,r.bitb=A,r.bitk=S,x.avail_in=U,x.total_in+=R-x.next_in_index,x.next_in_index=R,r.write=z,r.inflate_flush(x,m);case 4:for(g=l;S>=g,S-=g,e=5;case 5:for(E=z-u;E<0;)E+=r.end;for(;0!==a;){if(0===D&&(z==r.end&&0!==r.read&&(D=(z=0)7&&(S-=8,U++,R--),r.write=z,m=r.inflate_flush(x,m),D=(z=r.write)e.avail_out&&(n=e.avail_out),0!==n&&t==v&&(t=0),e.avail_out-=n,e.total_out+=n,e.next_out.set(i.window.subarray(a,a+n),r),r+=n,(a+=n)==i.end&&(a=0,i.write==i.end&&(i.write=0),(n=i.write-a)>e.avail_out&&(n=e.avail_out),0!==n&&t==v&&(t=0),e.avail_out-=n,e.total_out+=n,e.next_out.set(i.window.subarray(a,a+n),r),r+=n,a+=n),e.next_out_index=r,i.read=a,t},i.proc=function(e,t){var h,v,x,m,g,y,k,U;for(m=e.next_in_index,g=e.avail_in,v=i.bitb,x=i.bitk,k=(y=i.write)>>1){case 0:v>>>=3,v>>>=h=7&(x-=3),x-=h,r=1;break;case 1:var D=[],A=[],S=[[]],R=[[]];z.inflate_trees_fixed(D,A,S,R),u.init(D[0],A[0],S[0],0,R[0],0),v>>>=3,x-=3,r=6;break;case 2:v>>>=3,x-=3,r=3;break;case 3:return v>>>=3,x-=3,r=9,e.msg="invalid block type",t=w,i.bitb=v,i.bitk=x,e.avail_in=g,e.total_in+=m-e.next_in_index,e.next_in_index=m,i.write=y,i.inflate_flush(e,t)}break;case 1:for(;x<32;){if(0===g)return i.bitb=v,i.bitk=x,e.avail_in=g,e.total_in+=m-e.next_in_index,e.next_in_index=m,i.write=y,i.inflate_flush(e,t);t=0,g--,v|=(255&e.read_byte(m++))<>>16&65535)!=(65535&v))return r=9,e.msg="invalid stored block lengths",t=w,i.bitb=v,i.bitk=x,e.avail_in=g,e.total_in+=m-e.next_in_index,e.next_in_index=m,i.write=y,i.inflate_flush(e,t);a=65535&v,v=x=0,r=0!==a?2:0!==d?7:0;break;case 2:if(0===g)return i.bitb=v,i.bitk=x,e.avail_in=g,e.total_in+=m-e.next_in_index,e.next_in_index=m,i.write=y,i.inflate_flush(e,t);if(0===k&&(y==i.end&&0!==i.read&&(k=(y=0)g&&(h=g),h>k&&(h=k),i.window.set(e.read_buf(m,h),y),m+=h,g-=h,y+=h,k-=h,0!=(a-=h))break;r=0!==d?7:0;break;case 3:for(;x<14;){if(0===g)return i.bitb=v,i.bitk=x,e.avail_in=g,e.total_in+=m-e.next_in_index,e.next_in_index=m,i.write=y,i.inflate_flush(e,t);t=0,g--,v|=(255&e.read_byte(m++))<29||(h>>5&31)>29)return r=9,e.msg="too many length or distance symbols",t=w,i.bitb=v,i.bitk=x,e.avail_in=g,e.total_in+=m-e.next_in_index,e.next_in_index=m,i.write=y,i.inflate_flush(e,t);if(h=258+(31&h)+(h>>5&31),!n||n.length>>=14,x-=14,s=0,r=4;case 4:for(;s<4+(o>>>10);){for(;x<3;){if(0===g)return i.bitb=v,i.bitk=x,e.avail_in=g,e.total_in+=m-e.next_in_index,e.next_in_index=m,i.write=y,i.inflate_flush(e,t);t=0,g--,v|=(255&e.read_byte(m++))<>>=3,x-=3}for(;s<19;)n[E[s++]]=0;if(f[0]=7,0!=(h=_.inflate_trees_bits(n,f,l,c,e)))return(t=h)==w&&(n=null,r=9),i.bitb=v,i.bitk=x,e.avail_in=g,e.total_in+=m-e.next_in_index,e.next_in_index=m,i.write=y,i.inflate_flush(e,t);s=0,r=5;case 5:for(;!(s>=258+(31&(h=o))+(h>>5&31));){var T,F;for(h=f[0];x>>=h,x-=h,n[s++]=F;else{for(U=18==F?7:F-14,T=18==F?11:3;x>>=h)&b[U],v>>>=U,x-=U,(U=s)+T>258+(31&(h=o))+(h>>5&31)||16==F&&U<1)return n=null,r=9,e.msg="invalid bit length repeat",t=w,i.bitb=v,i.bitk=x,e.avail_in=g,e.total_in+=m-e.next_in_index,e.next_in_index=m,i.write=y,i.inflate_flush(e,t);F=16==F?n[U-1]:0;do{n[U++]=F}while(0!=--T);s=U}}l[0]=-1;var W=[],M=[],B=[],I=[];if(W[0]=9,M[0]=6,0!=(h=_.inflate_trees_dynamic(257+(31&(h=o)),1+(h>>5&31),n,W,M,B,I,c,e)))return h==w&&(n=null,r=9),t=h,i.bitb=v,i.bitk=x,e.avail_in=g,e.total_in+=m-e.next_in_index,e.next_in_index=m,i.write=y,i.inflate_flush(e,t);u.init(W[0],M[0],c,B[0],c,I[0]),r=6;case 6:if(i.bitb=v,i.bitk=x,e.avail_in=g,e.total_in+=m-e.next_in_index,e.next_in_index=m,i.write=y,1!=(t=u.proc(i,e,t)))return i.inflate_flush(e,t);if(t=0,u.free(e),m=e.next_in_index,g=e.avail_in,v=i.bitb,x=i.bitk,k=(y=i.write)15?(e.inflateEnd(n),p):(e.wbits=i,n.istate.blocks=new A(n,1<>4)>e.istate.wbits){e.istate.mode=S,e.msg="invalid window size",e.istate.marker=5;break}e.istate.mode=1;case 1:if(0===e.avail_in)return n;if(n=t,e.avail_in--,e.total_in++,i=255&e.read_byte(e.next_in_index++),((e.istate.method<<8)+i)%31!=0){e.istate.mode=S,e.msg="incorrect header check",e.istate.marker=5;break}if(0==(32&i)){e.istate.mode=7;break}e.istate.mode=2;case 2:if(0===e.avail_in)return n;n=t,e.avail_in--,e.total_in++,e.istate.need=(255&e.read_byte(e.next_in_index++))<<24&4278190080,e.istate.mode=3;case 3:if(0===e.avail_in)return n;n=t,e.avail_in--,e.total_in++,e.istate.need+=(255&e.read_byte(e.next_in_index++))<<16&16711680,e.istate.mode=4;case 4:if(0===e.avail_in)return n;n=t,e.avail_in--,e.total_in++,e.istate.need+=(255&e.read_byte(e.next_in_index++))<<8&65280,e.istate.mode=5;case 5:return 0===e.avail_in?n:(n=t,e.avail_in--,e.total_in++,e.istate.need+=255&e.read_byte(e.next_in_index++),e.istate.mode=6,2);case 6:return e.istate.mode=S,e.msg="need dictionary",e.istate.marker=0,p;case 7:if((n=e.istate.blocks.proc(e,n))==w){e.istate.mode=S,e.istate.marker=0;break}if(0==n&&(n=t),1!=n)return n;n=t,e.istate.blocks.reset(e,e.istate.was),e.istate.mode=12;case 12:return 1;case S:return w;default:return p}},e.inflateSetDictionary=function(e,t,n){var i=0,r=n;return e&&e.istate&&6==e.istate.mode?(r>=1<0&&e.next_in_index!=f&&(r(e.next_in_index),f=e.next_in_index)}while(e.avail_in>0||0===e.avail_out);return o=new Uint8Array(u),s.forEach(function(e){o.set(e,l),l+=e.length}),o}},this.flush=function(){e.inflateEnd()}}F.prototype={inflateInit:function(e){var t=this;return t.istate=new T,e||(e=15),t.istate.inflateInit(t,e)},inflate:function(e){var t=this;return t.istate?t.istate.inflate(t,e):p},inflateEnd:function(){var e=this;if(!e.istate)return p;var t=e.istate.inflateEnd(e);return e.istate=null,t},inflateSync:function(){var e=this;return e.istate?e.istate.inflateSync(e):p},inflateSetDictionary:function(e,t){var n=this;return n.istate?n.istate.inflateSetDictionary(n,e,t):p},read_byte:function(e){return this.next_in.subarray(e,e+1)[0]},read_buf:function(e,t){return this.next_in.subarray(e,e+t)}},self._zipjs_Inflater=W;var M,B="File format is not recognized.",I="Error while reading zip file.",C="Error while reading file data.",L=524288,P="text/plain";try{M=0===new Blob([new DataView(new ArrayBuffer(0))]).size}catch(e){}function Z(){this.crc=-1}function j(){}function N(e,t){var n,i;return n=new ArrayBuffer(e),i=new Uint8Array(n),t&&i.set(t,0),{buffer:n,array:i,view:new DataView(n)}}function O(){}function V(e){var t,n=this;n.size=0,n.init=function(i,r){var a=new Blob([e],{type:P});(t=new $(a)).init(function(){n.size=t.size,i()},r)},n.readUint8Array=function(e,n,i,r){t.readUint8Array(e,n,i,r)}}function q(e){var t,n=this;n.size=0,n.init=function(i){for(var r=e.length;"="==e.charAt(r-1);)r--;t=e.indexOf(",")+1,n.size=Math.floor(.75*(r-t)),i()},n.readUint8Array=function(n,i,r){var a,o=N(i),s=4*Math.floor(n/3),f=4*Math.ceil((n+i)/3),l=self.atob(e.substring(s+t,f+t)),u=n-3*Math.floor(s/4);for(a=u;ae.size)throw new RangeError("offset:"+t+", length:"+n+", size:"+e.size);return e.slice?e.slice(t,t+n):e.webkitSlice?e.webkitSlice(t,t+n):e.mozSlice?e.mozSlice(t,t+n):e.msSlice?e.msSlice(t,t+n):void 0}(e,t,n))}catch(e){r(e)}}}function G(){}function H(e){var t,n=this;n.init=function(e){t=new Blob([],{type:P}),e()},n.writeUint8Array=function(e,n){t=new Blob([t,M?e:e.buffer],{type:P}),n()},n.getData=function(n,i){var r=new FileReader;r.onload=function(e){n(e.target.result)},r.onerror=i,r.readAsText(t,e)}}function Y(e){var t=this,n="",i="";t.init=function(t){n+="data:"+(e||"")+";base64,",t()},t.writeUint8Array=function(e,t){var r,a=i.length,o=i;for(i="",r=0;r<3*Math.floor((a+e.length)/3)-a;r++)o+=String.fromCharCode(e[r]);for(;r2?n+=self.btoa(o):i=o,t()},t.getData=function(e){e(n+self.btoa(i))}}function J(e){var t,n=this;n.init=function(n){t=new Blob([],{type:e}),n()},n.writeUint8Array=function(n,i){t=new Blob([t,M?n:n.buffer],{type:e}),i()},n.getData=function(e){e(t)}}function K(e,t,n,i,r,a,o,s,f,l){var u,d,c,_=0,h=t.sn;function p(){e.removeEventListener("message",w,!1),s(d,c)}function w(t){var n=t.data,r=n.data,s=n.error;if(s)return s.toString=function(){return"Error: "+this.message},void f(s);if(n.sn===h)switch("number"==typeof n.codecTime&&(e.codecTime+=n.codecTime),"number"==typeof n.crcTime&&(e.crcTime+=n.crcTime),n.type){case"append":r?(d+=r.length,i.writeUint8Array(r,function(){v()},l)):v();break;case"flush":c=n.crc,r?(d+=r.length,i.writeUint8Array(r,function(){p()},l)):p();break;case"progress":o&&o(u+n.loaded,a);break;case"importScripts":case"newTask":case"echo":break;default:console.warn("zip.js:launchWorkerProcess: unknown message: ",n)}}function v(){(u=_*L)<=a?n.readUint8Array(r+u,Math.min(L,a-u),function(n){o&&o(u,a);var i=0===u?t:{sn:h};i.type="append",i.data=n;try{e.postMessage(i,[n.buffer])}catch(t){e.postMessage(i)}_++},f):e.postMessage({sn:h,type:"flush"})}d=0,e.addEventListener("message",w,!1),v()}function Q(e,t,n,i,r,a,o,s,f,l){var u,d=0,c=0,_="input"===a,h="output"===a,p=new Z;!function a(){var w;if((u=d*L)127?r[n-128]:String.fromCharCode(n);return i}function te(e){return decodeURIComponent(escape(e))}function ne(e){var t,n="";for(t=0;t>16,n=65535&e;try{return new Date(1980+((65024&t)>>9),((480&t)>>5)-1,31&t,(63488&n)>>11,(2016&n)>>5,2*(31&n),0)}catch(e){}}(e.lastModDateRaw),1!=(1&e.bitFlag)?((i||8!=(8&e.bitFlag))&&(e.crc32=t.view.getUint32(n+10,!0),e.compressedSize=t.view.getUint32(n+14,!0),e.uncompressedSize=t.view.getUint32(n+18,!0)),4294967295!==e.compressedSize&&4294967295!==e.uncompressedSize?(e.filenameLength=t.view.getUint16(n+22,!0),e.extraFieldLength=t.view.getUint16(n+24,!0)):r("File is using Zip64 (4gb+ file size).")):r("File contains encrypted entry.")}function re(e){return unescape(encodeURIComponent(e))}function ae(e){var t,n=[];for(t=0;t>>8^n[255&(t^e[i])];this.crc=t},Z.prototype.get=function(){return~this.crc},Z.prototype.table=function(){var e,t,n,i=[];for(e=0;e<256;e++){for(n=e,t=0;t<8;t++)1&n?n=n>>>1^3988292384:n>>>=1;i[e]=n}return i}(),j.prototype.append=function(e,t){return e},j.prototype.flush=function(){},(V.prototype=new O).constructor=V,(q.prototype=new O).constructor=q,($.prototype=new O).constructor=$,G.prototype.getData=function(e){e(this.data)},(H.prototype=new G).constructor=H,(Y.prototype=new G).constructor=Y,(J.prototype=new G).constructor=J;var oe={deflater:["z-worker.js","deflate.js"],inflater:["z-worker.js","inflate.js"]};function se(e,t,n){if(null===le.workerScripts||null===le.workerScriptsPath){var i,r,a;if(le.workerScripts){if(i=le.workerScripts[e],!Array.isArray(i))return void n(new Error("zip.workerScripts."+e+" is not an array!"));r=i,a=document.createElement("a"),i=r.map(function(e){return a.href=e,a.href})}else(i=oe[e].slice(0))[0]=(le.workerScriptsPath||"")+i[0];var o=new Worker(i[0]);o.codecTime=o.crcTime=0,o.postMessage({type:"importScripts",scripts:i.slice(1)}),o.addEventListener("message",function e(i){var r=i.data;if(r.error)return o.terminate(),void n(r.error);"importScripts"===r.type&&(o.removeEventListener("message",e),o.removeEventListener("error",s),t(o))}),o.addEventListener("error",s)}else n(new Error("Either zip.workerScripts or zip.workerScriptsPath may be set, not both."));function s(e){o.terminate(),n(e)}}function fe(e){console.error(e)}const le={Reader:O,Writer:G,BlobReader:$,Data64URIReader:q,TextReader:V,BlobWriter:J,Data64URIWriter:Y,TextWriter:H,createReader:function(e,t,n){e.init(function(){!function(e,t,n){var i=0;function r(){}r.prototype.getData=function(t,r,a,o){var s=this;function f(e,i){o&&!function(e){var t=N(4);return t.view.setUint32(0,e),s.crc32==t.view.getUint32(0)}(i)?n("CRC failed."):t.getData(function(e){r(e)})}function l(e){n(e||C)}function u(e){n(e||"Error while writing file data.")}e.readUint8Array(s.offset,30,function(r){var d,c=N(r.length,r);1347093252==c.view.getUint32(0)?(ie(s,c,4,!1,n),d=s.offset+30+s.filenameLength+s.extraFieldLength,t.init(function(){0===s.compressionMethod?X(s._worker,i++,e,t,d,s.compressedSize,o,f,a,l,u):function(e,t,n,i,r,a,o,s,f,l,u){var d=o?"output":"none";le.useWebWorkers?K(e,{sn:t,codecClass:"_zipjs_Inflater",crcType:d},n,i,r,a,f,s,l,u):Q(new W,n,i,r,a,d,f,s,l,u)}(s._worker,i++,e,t,d,s.compressedSize,o,f,a,l,u)},u)):n(B)},l)};var a={getEntries:function(t){var i=this._worker;!function(t){function i(i,r){e.readUint8Array(e.size-i,i,function(e){for(var n=e.length-22;n>=0;n--)if(80===e[n]&&75===e[n+1]&&5===e[n+2]&&6===e[n+3])return void t(new DataView(e.buffer,n,22));r()},function(){n(I)})}e.size<22?n(B):i(22,function(){i(Math.min(65558,e.size),function(){n(B)})})}(function(a){var o,s;o=a.getUint32(16,!0),s=a.getUint16(8,!0),o<0||o>=e.size?n(B):e.readUint8Array(o,e.size-o,function(e){var a,o,f,l,u=0,d=[],c=N(e.length,e);for(a=0;a0){var i=n.map(function(e){return e.webkitGetAsEntry()}).filter(function(e){return null!==e});i.length>0&&(i[0].name.match(/\.zip$/)?this._loadZip(n[0].getAsFile()):this._loadNextEntry(new Map,i))}else 1===t.length&&t[0].name.match(/\.zip$/)&&this._loadZip(t[0]),this._emit("drop",{files:new Map(t.map(function(e){return[e.name,e]}))});else this._fail("Required drag-and-drop APIs are not supported in this browser.")},t._onDragover=function(e){e.stopPropagation(),e.preventDefault(),e.dataTransfer.dropEffect="copy"},t._onSelect=function(e){this._emit("dropstart");var t=[].slice.call(this.inputEl.files);if(1===t.length&&this._isZip(t[0]))this._loadZip(t[0]);else{var n=new Map;t.forEach(function(e){return n.set(e.webkitRelativePath||e.name,e)}),this._emit("drop",{files:n})}},t._loadNextEntry=function(e,t){var n=this,i=t.pop();if(i)if(i.isFile)i.file(function(r){e.set(i.fullPath,r),n._loadNextEntry(e,t)},function(){return console.error("Could not load file: %s",i.fullPath)});else if(i.isDirectory){var r=i.createReader();r.readEntries(function i(a){a.length?(t=t.concat(a),r.readEntries(i)):n._loadNextEntry(e,t)})}else console.warn("Unknown asset type: "+i.fullPath),this._loadNextEntry(e,t);else this._emit("drop",{files:e})},t._loadZip=function(e){var t=this,n=[],i=new Map,r=new Te.FS,a=function e(t){t.directory?t.children.forEach(e):"."!==t.name[0]&&n.push(new Promise(function(e){t.getData(new le.BlobWriter,function(n){n.name=t.name,i.set(t.getFullname(),n),e()})}))};r.importBlob(e,function(){a(r.root),Promise.all(n).then(function(){t._emit("drop",{files:i,archive:e})})})},t._isZip=function(e){return"application/zip"===e.type||e.name.match(/\.zip$/)},t._fail=function(e){this._emit("droperror",{message:e})},e}()}); //# sourceMappingURL=simple-dropzone.umd.js.map