"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const index = require("./url-alphabet-index.cjs");
let nanoid = (size = 21) => {
  let id = "";
  let bytes = crypto.getRandomValues(new Uint8Array(size |= 0));
  while (size--) {
    id += index.urlAlphabet[bytes[size] & 63];
  }
  return id;
};
exports.urlAlphabet = index.urlAlphabet;
exports.nanoid = nanoid;
//# sourceMappingURL=index.browser.cjs.map
