"use strict";exports.generateUUIDv4=function(){if("undefined"!=typeof crypto&&crypto.getRandomValues){const t=new Uint8Array(16);crypto.getRandomValues(t),t[6]=15&t[6]|64,t[8]=63&t[8]|128;const r=Array.from(t).map((t=>t.toString(16).padStart(2,"0"))).join("");return`${r.substr(0,8)}-${r.substr(8,4)}-${r.substr(12,4)}-${r.substr(16,4)}-${r.substr(20,12)}`}{let t=(new Date).getTime();return"undefined"!=typeof performance&&"function"==typeof performance.now&&(t+=performance.now()),"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(r=>{const e=(t+16*Math.random())%16|0;return t=Math.floor(t/16),("x"===r?e:3&e|8).toString(16)}))}};