<reponame>adhvaitaganesh/AuthorisedMixedReality_testRepo<filename>node_modules/.pnpm/nanoid@3.3.3/node_modules/nanoid/non-secure/index.js<gh_stars>0let urlAlphabet =
  'ax5kh6jaqkcd2tiexxs8v6xjo8yv8a6b'
let customAlphabet = (alphabet, defaultSize = 21) => {
  return (size = defaultSize) => {
    let id = ''
    let i = size
    while (i--) {
      id += alphabet[(Math.random() * alphabet.length) | 0]
    }
    return id
  }
}
let nanoid = (size = 21) => {
  let id = ''
  let i = size
  while (i--) {
    id += urlAlphabet[(Math.random() * 64) | 0]
  }
  return id
}
export { nanoid, customAlphabet }
