const d=[];for(let n=0;n<256;++n)d.push((n+256).toString(16).slice(1));function p(n,t=0){return(d[n[t+0]]+d[n[t+1]]+d[n[t+2]]+d[n[t+3]]+"-"+d[n[t+4]]+d[n[t+5]]+"-"+d[n[t+6]]+d[n[t+7]]+"-"+d[n[t+8]]+d[n[t+9]]+"-"+d[n[t+10]]+d[n[t+11]]+d[n[t+12]]+d[n[t+13]]+d[n[t+14]]+d[n[t+15]]).toLowerCase()}let o;const r=new Uint8Array(16);function y(){if(!o){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");o=crypto.getRandomValues.bind(crypto)}return o(r)}const m=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),i={randomUUID:m};function U(n,t,c){if(i.randomUUID&&!t&&!n)return i.randomUUID();n=n||{};const e=n.random||(n.rng||y)();if(e[6]=e[6]&15|64,e[8]=e[8]&63|128,t){c=c||0;for(let u=0;u<16;++u)t[c+u]=e[u];return t}return p(e)}export{U as v};
//# sourceMappingURL=v4-82fce61c.js.map
