export function generateUuid(){return"undefined"!=typeof crypto&&crypto.randomUUID?crypto.randomUUID():"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(x=>{const r=16*Math.random()|0;return("x"===x?r:3&r|8).toString(16)}))}