vendor: 3,664 bytes, lines 1-26
1(function(_window){'use strict';var _rng,_mathRNG,_nodeRNG,_whatwgRNG,_previousRoot;function setupBrowser(){var _crypto=_window.crypto||_window.msCrypto;if(!_rng&&_crypto&&_crypto.getRandomValues){try{var _rnds8=new Uint8Array(16);_whatwgRNG=_rng=function whatwgRNG(){_crypto.getRandomValues(_rnds8);return _rnds8;};_rng();}catch(e){}} 2if(!_rng){var _rnds=new Array(16);_mathRNG=_rng=function(){for(var i=0,r;i<16;i++){if((i&0x03)===0){r=Math.random()*0x100000000;} 3_rnds[i]=r>>>((i&0x03)<<3)&0xff;} 4return _rnds;};if('undefined'!==typeof console&&console.warn){console.warn("[SECURITY] node-uuid: crypto not usable, falling back to insecure Math.random()");}}} 5function setupNode(){if('function'===typeof require){try{var _rb=require('crypto').randomBytes;_nodeRNG=_rng=_rb&&function(){return _rb(16);};_rng();}catch(e){}}} 6if(_window){setupBrowser();}else{setupNode();} 7var BufferClass=('function'===typeof Buffer)?Buffer:Array;var _byteToHex=[];var _hexToByte={};for(var i=0;i<256;i++){_byteToHex[i]=(i+0x100).toString(16).substr(1);_hexToByte[_byteToHex[i]]=i;} 8function parse(s,buf,offset){var i=(buf&&offset)||0,ii=0;buf=buf||[];s.toLowerCase().replace(/[0-9a-f]{2}/g,function(oct){if(ii<16){buf[i+ii++]=_hexToByte[oct];}});while(ii<16){buf[i+ii++]=0;} 9return buf;} 10function unparse(buf,offset){var i=offset||0,bth=_byteToHex;return bth[buf[i++]]+bth[buf[i++]]+ 11bth[buf[i++]]+bth[buf[i++]]+'-'+ 12bth[buf[i++]]+bth[buf[i++]]+'-'+ 13bth[buf[i++]]+bth[buf[i++]]+'-'+ 14bth[buf[i++]]+bth[buf[i++]]+'-'+ 15bth[buf[i++]]+bth[buf[i++]]+ 16bth[buf[i++]]+bth[buf[i++]]+ 17bth[buf[i++]]+bth[buf[i++]];} 18var _seedBytes=_rng();var _nodeId=[_seedBytes[0]|0x01,_seedBytes[1],_seedBytes[2],_seedBytes[3],_seedBytes[4],_seedBytes[5]];var _clockseq=(_seedBytes[6]<<8|_seedBytes[7])&0x3fff;var _lastMSecs=0,_lastNSecs=0;function v1(options,buf,offset){var i=buf&&offset||0;var b=buf||[];options=options||{};var clockseq=(options.clockseq!=null)?options.clockseq:_clockseq;var msecs=(options.msecs!=null)?options.msecs:new Date().getTime();var nsecs=(options.nsecs!=null)?options.nsecs:_lastNSecs+1;var dt=(msecs-_lastMSecs)+(nsecs-_lastNSecs)/10000;if(dt<0&&options.clockseq==null){clockseq=clockseq+1&0x3fff;} 19if((dt<0||msecs>_lastMSecs)&&options.nsecs==null){nsecs=0;} 20if(nsecs>=10000){throw new Error('uuid.v1(): Can\'t create more than 10M uuids/sec');} 21_lastMSecs=msecs;_lastNSecs=nsecs;_clockseq=clockseq;msecs+=12219292800000;var tl=((msecs&0xfffffff)*10000+nsecs)%0x100000000;b[i++]=tl>>>24&0xff;b[i++]=tl>>>16&0xff;b[i++]=tl>>>8&0xff;b[i++]=tl&0xff;var tmh=(msecs/0x100000000*10000)&0xfffffff;b[i++]=tmh>>>8&0xff;b[i++]=tmh&0xff;b[i++]=tmh>>>24&0xf|0x10;b[i++]=tmh>>>16&0xff;b[i++]=clockseq>>>8|0x80;b[i++]=clockseq&0xff;var node=options.node||_nodeId;for(var n=0;n<6;n++){b[i+n]=node[n];} 22return buf?buf:unparse(b);} 23function v4(options,buf,offset){var i=buf&&offset||0;if(typeof(options)==='string'){buf=(options==='binary')?new BufferClass(16):null;options=null;} 24options=options||{};var rnds=options.random||(options.rng||_rng)();rnds[6]=(rnds[6]&0x0f)|0x40;rnds[8]=(rnds[8]&0x3f)|0x80;if(buf){for(var ii=0;ii<16;ii++){buf[i+ii]=rnds[ii];}} 25return buf||unparse(rnds);} 26var uuid=v4;uuid.v1=v1;uuid.v4=v4;uuid.parse=parse;uuid.unparse=unparse;uuid.BufferClass=BufferClass;uuid._rng=_rng;uuid._mathRNG=_mathRNG;uuid._nodeRNG=_nodeRNG;uuid._whatwgRNG=_whatwgRNG;if(('undefined'!==typeof module)&&module.exports){module.exports=uuid;}else if(typeof define==='function'&&define.amd){define(function(){return uuid;});}else{_previousRoot=_window.uuid;uuid.noConflict=function(){_window.uuid=_previousRoot;return uuid;};_window.uuid=uuid;}})('undefined'!==typeof window?window:null);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.