chunk-I4RYNNL6.js 458 B

123456789101112131415
  1. // node_modules/@arcgis/core/core/uuid.js
  2. var t = "randomUUID" in crypto;
  3. function n() {
  4. if (t)
  5. return crypto.randomUUID();
  6. const n2 = crypto.getRandomValues(new Uint16Array(8));
  7. n2[3] = 4095 & n2[3] | 16384, n2[4] = 16383 & n2[4] | 32768;
  8. const r = (t2) => n2[t2].toString(16).padStart(4, "0");
  9. return r(0) + r(1) + "-" + r(2) + "-" + r(3) + "-" + r(4) + "-" + r(5) + r(6) + r(7);
  10. }
  11. export {
  12. n
  13. };
  14. //# sourceMappingURL=chunk-I4RYNNL6.js.map