Icard/angular-clarity-master(work.../node_modules/fflate/umd/index.js

1 line
22 KiB
JavaScript
Raw Normal View History

2024-07-16 14:55:36 +00:00
!function(f){typeof module!='undefined'&&typeof exports=='object'?module.exports=f():typeof define!='undefined'&&define.amd?define(['fflate',f]):(typeof self!='undefined'?self:this).fflate=f()}(function(){var _e={};"use strict";var t=(typeof module!='undefined'&&typeof exports=='object'?function(_f){"use strict";var e;var r=";var __w=eval('require')('worker_threads');__w.parentPort.on('message',function(m){onmessage({data:m})}),postMessage=function(m,t){__w.parentPort.postMessage(m,t)},close=process.exit;self=global";try{e=require("worker_threads").Worker}catch(e){}_f.default=e?function(t,n,o,s,a){var u=!1,i=new e(t+r,{eval:!0}).on("error",(function(e){return a(e,null)})).on("message",(function(e){return a(null,e)})).on("exit",(function(e){e&&!u&&a(Error("exited with code "+e),null)}));return i.postMessage(o,s),i.terminate=function(){return u=!0,e.prototype.terminate.call(i)},i}:function(e,r,t,n,o){setImmediate((function(){return o(Error("async operations unsupported - update to Node 12+ (or Node 10-11 with the --experimental-worker CLI flag)"),null)}));var s=function(){};return{terminate:s,postMessage:s}};return _f}:function(_f){"use strict";var e={};_f.default=function(r,t,n,o,s){var u=e[t]||(e[t]=URL.createObjectURL(new Blob([r],{type:"text/javascript"}))),a=new Worker(u);return a.onerror=function(e){return s(e.error,null)},a.onmessage=function(e){return s(null,e.data)},a.postMessage(n,o),a};return _f})({}),n=Uint8Array,r=Uint16Array,e=Uint32Array,o=new n([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),i=new n([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,0,0]),a=new n([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),s=function(t,n){for(var o=new r(31),i=0;i<31;++i)o[i]=n+=1<<t[i-1];var a=new e(o[30]);for(i=1;i<30;++i)for(var s=o[i];s<o[i+1];++s)a[s]=s-o[i]<<5|i;return[o,a]},f=s(o,2),u=f[0],l=f[1];u[28]=258,l[258]=28;for(var c=s(i,0),h=c[0],p=c[1],v=new r(32768),d=0;d<32768;++d){var g=(43690&d)>>>1|(21845&d)<<1;v[d]=((65280&(g=(61680&(g=(52428&g)>>>2|(13107&g)<<2))>>>4|(3855&g)<<4))>>>8|(255&g)<<8)>>>1}var y=function(t,n,e){for(var o=t.length,i=0,a=new r(n);i<o;++i)++a[t[i]-1];var s,f=new r(n);for(i=0;i<n;++i)f[i]=f[i-1]+a[i-1]<<1;if(e){s=new r(1<<n);var u=15-n;for(i=0;i<o;++i)if(t[i])for(var l=i<<4|t[i],c=n-t[i],h=f[t[i]-1]++<<c,p=h|(1<<c)-1;h<=p;++h)s[v[h]>>>u]=l}else for(s=new r(o),i=0;i<o;++i)s[i]=v[f[t[i]-1]++]>>>15-t[i];return s},w=new n(288);for(d=0;d<144;++d)w[d]=8;for(d=144;d<256;++d)w[d]=9;for(d=256;d<280;++d)w[d]=7;for(d=280;d<288;++d)w[d]=8;var x=new n(32);for(d=0;d<32;++d)x[d]=5;var m=y(w,9,0),b=y(w,9,1),z=y(x,5,0),A=y(x,5,1),S=function(t){for(var n=t[0],r=1;r<t.length;++r)t[r]>n&&(n=t[r]);return n},k=function(t,n,r){var e=n/8>>0;return(t[e]|t[e+1]<<8)>>>(7&n)&r},M=function(t,n){var r=n/8>>0;return(t[r]|t[r+1]<<8|t[r+2]<<16)>>>(7&n)},C=function(t){return(t/8>>0)+(7&t&&1)},D=function(t,o,i){(null==o||o<0)&&(o=0),(null==i||i>t.length)&&(i=t.length);var a=new(t instanceof r?r:t instanceof e?e:n)(i-o);return a.set(t.subarray(o,i)),a},G=function(t,r,e){var s=t.length,f=!r||e,l=!e||e.i;e||(e={}),r||(r=new n(3*s));var c=function(t){var e=r.length;if(t>e){var o=new n(Math.max(2*e,t));o.set(r),r=o}},p=e.f||0,v=e.p||0,d=e.b||0,g=e.l,w=e.d,x=e.m,m=e.n,z=8*s;do{if(!g){e.f=p=k(t,v,1);var G=k(t,v+1,3);if(v+=3,!G){var U=t[(Y=C(v)+4)-4]|t[Y-3]<<8,O=Y+U;if(O>s){if(l)throw"unexpected EOF";break}f&&c(d+U),r.set(t.subarray(Y,O),d),e.b=d+=U,e.p=v=8*O;continue}if(1==G)g=b,w=A,x=9,m=5;else{if(2!=G)throw"invalid block type";var I=k(t,v,31)+257,F=k(t,v+10,15)+4,Z=I+k(t,v+5,31)+1;v+=14;for(var E=new n(Z),T=new n(19),_=0;_<F;++_)T[a[_]]=k(t,v+3*_,7);v+=3*F;var j=S(T),q=(1<<j)-1;if(!l&&v+Z*(j+7)>z)break;var H=y(T,j,1);for(_=0;_<Z;){var Y,B=H[k(t,v,q)];if(v+=15&B,(Y=B>>>4)<16)E[_++]=Y;else{var J=0,K=0;for(16==Y?(K=3+k(t,v,3),v+=2,J=E[_-1]):17==Y?(K=3+k(t,v,7),v+=3):18==Y&&(K=11+k(t,v,127),v+=7);K--;)E[_++]=J}}var L=E.subarray(0,I),N=E.subarray(I);x=S(L),m=S(N),g=y(L,x,1),w=y(N,m,1)}if(v>z)throw"unexpected EOF"}f&&c(d+131072);for(var P=(1<<x)-1,Q=(1<<m)-1,R=x+m+18;l||v+R<z;){var V=(J=g[M(t,v