HEX
Server: Apache/2.4.65 (Debian)
System: Linux kubikelcreative 5.10.0-35-amd64 #1 SMP Debian 5.10.237-1 (2025-05-19) x86_64
User: www-data (33)
PHP: 8.4.13
Disabled: NONE
Upload Files
File: //usr/share/nodejs/uuid/dist/umd/uuidv1.min.js
!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o():"function"==typeof define&&define.amd?define(o):(e="undefined"!=typeof globalThis?globalThis:e||self).uuidv1=o()}(this,function(){"use strict";var e,o=new Uint8Array(16);var t=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;for(var n,r,i=[],u=0;u<256;++u)i.push((u+256).toString(16).substr(1));function s(e){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(i[e[o+0]]+i[e[o+1]]+i[e[o+2]]+i[e[o+3]]+"-"+i[e[o+4]]+i[e[o+5]]+"-"+i[e[o+6]]+i[e[o+7]]+"-"+i[e[o+8]]+i[e[o+9]]+"-"+i[e[o+10]]+i[e[o+11]]+i[e[o+12]]+i[e[o+13]]+i[e[o+14]]+i[e[o+15]]).toLowerCase();if(!function(e){return"string"==typeof e&&t.test(e)}(n))throw TypeError("Stringified UUID is invalid");return n}var a=0,d=0;return function(t,i,u){var f=i&&u||0,c=i||new Array(16),l=(t=t||{}).node||n,p=void 0!==t.clockseq?t.clockseq:r;if(null==l||null==p){var v=t.random||(t.rng||function(){if(!e&&!(e="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return e(o)})();null==l&&(l=n=[1|v[0],v[1],v[2],v[3],v[4],v[5]]),null==p&&(p=r=16383&(v[6]<<8|v[7]))}var y=void 0!==t.msecs?t.msecs:Date.now(),m=void 0!==t.nsecs?t.nsecs:d+1,g=y-a+(m-d)/1e4;if(g<0&&void 0===t.clockseq&&(p=p+1&16383),(g<0||y>a)&&void 0===t.nsecs&&(m=0),m>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");a=y,d=m,r=p;var h=(1e4*(268435455&(y+=122192928e5))+m)%4294967296;c[f++]=h>>>24&255,c[f++]=h>>>16&255,c[f++]=h>>>8&255,c[f++]=255&h;var w=y/4294967296*1e4&268435455;c[f++]=w>>>8&255,c[f++]=255&w,c[f++]=w>>>24&15|16,c[f++]=w>>>16&255,c[f++]=p>>>8|128,c[f++]=255&p;for(var b=0;b<6;++b)c[f+b]=l[b];return i||s(c)}});