const o=[];for(let r=0;r<256;++r)o.push((r+256).toString(16).slice(1));let r;const t=new Uint8Array(16);var n={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function e(e,u,d){var i,a,l;if(n.randomUUID&&!u&&!e)return n.randomUUID();const s=null!==(i=null!==(a=(e=e||{}).random)&&void 0!==a?a:null===(l=e.rng)||void 0===l?void 0:l.call(e))&&void 0!==i?i:function(){if(!r){if("undefined"==typeof crypto||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");r=crypto.getRandomValues.bind(crypto)}return r(t)}();if(s.length<16)throw new Error("Random bytes length must be >= 16");if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,u){if((d=d||0)<0||d+16>u.length)throw new RangeError(`UUID byte range ${d}:${d+15} is out of buffer bounds`);for(let o=0;o<16;++o)u[d+o]=s[o];return u}return function(r,t=0){return(o[r[t+0]]+o[r[t+1]]+o[r[t+2]]+o[r[t+3]]+"-"+o[r[t+4]]+o[r[t+5]]+"-"+o[r[t+6]]+o[r[t+7]]+"-"+o[r[t+8]]+o[r[t+9]]+"-"+o[r[t+10]]+o[r[t+11]]+o[r[t+12]]+o[r[t+13]]+o[r[t+14]]+o[r[t+15]]).toLowerCase()}(s)}export{e as t}; //# sourceMappingURL=chunk.v4_C3N_0s0v.esm.js.map