2 lines
11 KiB
JavaScript
2 lines
11 KiB
JavaScript
|
|
"use strict";var dr=Object.create;var v=Object.defineProperty;var lr=Object.getOwnPropertyDescriptor;var fr=Object.getOwnPropertyNames;var yr=Object.getPrototypeOf,gr=Object.prototype.hasOwnProperty;var hr=(r,e)=>()=>(r&&(e=r(r=0)),e);var P=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),Sr=(r,e)=>{for(var t in e)v(r,t,{get:e[t],enumerable:!0})},W=(r,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of fr(e))!gr.call(r,i)&&i!==t&&v(r,i,{get:()=>e[i],enumerable:!(n=lr(e,i))||n.enumerable});return r};var A=(r,e,t)=>(t=r!=null?dr(yr(r)):{},W(e||!r||!r.__esModule?v(t,"default",{value:r,enumerable:!0}):t,r)),Fr=r=>W(v({},"__esModule",{value:!0}),r);var c=hr(()=>{"use strict"});var E=P((ie,m)=>{"use strict";c();var X=9007199254740991,K=function(r){return r}();function br(r){return r===K}function V(r){return typeof r=="string"||Object.prototype.toString.call(r)=="[object String]"}function Pr(r){return Object.prototype.toString.call(r)=="[object Date]"}function U(r){return r!==null&&typeof r=="object"}function N(r){return typeof r=="function"}function Tr(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=X}function Ar(r){return Object.prototype.toString.call(r)=="[object Array]"}function $(r){return U(r)&&!N(r)&&Tr(r.length)}function _(r){return Object.prototype.toString.call(r)=="[object ArrayBuffer]"}function Er(r,e){return Array.prototype.map.call(r,e)}function wr(r,e){var t=K;return N(e)&&Array.prototype.every.call(r,function(n,i,a){var s=e(n,i,a);return s&&(t=n),!s}),t}function xr(r){return Object.assign.apply(null,arguments)}function Z(r){var e,t,n;if(V(r)){for(t=r.length,n=new Uint8Array(t),e=0;e<t;e++)n[e]=r.charCodeAt(e)&255;return n}return _(r)?new Uint8Array(r):U(r)&&_(r.buffer)?new Uint8Array(r.buffer):$(r)?new Uint8Array(r):U(r)&&N(r.toString)?Z(r.toString()):new Uint8Array}m.exports.MAX_SAFE_INTEGER=X;m.exports.isUndefined=br;m.exports.isString=V;m.exports.isObject=U;m.exports.isDateTime=Pr;m.exports.isFunction=N;m.exports.isArray=Ar;m.exports.isArrayLike=$;m.exports.isArrayBuffer=_;m.exports.map=Er;m.exports.find=wr;m.exports.extend=xr;m.exports.toUint8Array=Z});var w=P((ae,J)=>{"use strict";c();var L="\0";J.exports={NULL_CHAR:L,TMAGIC:"ustar"+L+"00",OLDGNU_MAGIC:"ustar "+L,REGTYPE:0,LNKTYPE:1,SYMTYPE:2,CHRTYPE:3,BLKTYPE:4,DIRTYPE:5,FIFOTYPE:6,CONTTYPE:7,TSUID:parseInt("4000",8),TSGID:parseInt("2000",8),TSVTX:parseInt("1000",8),TUREAD:parseInt("0400",8),TUWRITE:parseInt("0200",8),TUEXEC:parseInt("0100",8),TGREAD:parseInt("0040",8),TGWRITE:parseInt("0020",8),TGEXEC:parseInt("0010",8),TOREAD:parseInt("0004",8),TOWRITE:parseInt("0002",8),TOEXEC:parseInt("0001",8),TPERMALL:parseInt("0777",8),TPERMMASK:parseInt("0777",8)}});var j=P((ue,d)=>{"use strict";c();var Q=E(),p=w(),vr=512,G=p.TPERMALL,rr=0,er=0,H=[["name",100,0,function(r,e){return x(r[e[0]],e[1])},function(r,e,t){return F(r.slice(e,e+t[1]))}],["mode",8,100,function(r,e){var t=r[e[0]]||G;return t=t&p.TPERMMASK,T(t,e[1],G)},function(r,e,t){var n=y(r.slice(e,e+t[1]));return n&=p.TPERMMASK,n}],["uid",8,108,function(r,e){return T(r[e[0]],e[1],rr)},function(r,e,t){return y(r.slice(e,e+t[1]))}],["gid",8,116,function(r,e){return T(r[e[0]],e[1],er)},function(r,e,t){return y(r.slice(e,e+t[1]))}],["size",12,124,function(r,e){return T(r.data.length,e[1])},function(r,e,t){return y(r.slice(e,e+t[1]))}],["modifyTime",12,136,function(r,e){return D(r[e[0]],e[1])},function(r,e,t){return k(r.slice(e,e+t[1]))}],["checksum",8,148,function(r,e){return" "},function(r,e,t){return y(r.slice(e,e+t[1]))}],["type",1,156,function(r,e){return""+(parseInt(r[e[0]],10)||0)%8},function(r,e,t){return(parseInt(String.fromCharCode(r[e]),10)||0)%8}],["linkName",100,157,function(r,e){return""},function(r,e,t){return F(r.slice(e,e+t[1]))}],["ustar",8,257,function(r,e){return p.TMAGIC},function(r,e,t){return Ur(F(r.slice(e,e+t[1]),!0))},function(r,e){return r[e[0]]==p.TMAGIC||r[e[0]]==p.OLDGNU_MAGIC}],["owner",32,265,function(r,e){return x(r[e[0]],e[1])},function(r,e,t){return F(r.slice(e,e+t[1]))}],["group",32,297,function(r,e){return x(r[e[0]],e[1])},function(r,e,t){ret
|
||
|
|
//# sourceMappingURL=nodefs.cjs.map
|