{"version":3,"file":"uid.cjs","sources":["../../../../packages/components-wc/src/base/uid.ts"],"sourcesContent":["let counter = 0\nlet lastTimestamp = 0\n\nexport function uid(): string {\n  const now = Date.now()\n  if (now <= lastTimestamp) {\n    counter++\n  }\n  else {\n    counter = 0\n    lastTimestamp = now\n  }\n  return `qxs-${now.toString(36)}-${counter.toString(36)}-${Math.random().toString(36).slice(2, 6)}`\n}\n"],"names":["counter","lastTimestamp","now","Date","toString","Math","random","slice"],"mappings":"aAAA,IAAIA,EAAU,EACVC,EAAgB,cAEb,WACL,MAAMC,EAAMC,KAAKD,MAQjB,OAPIA,GAAOD,EACTD,KAGAA,EAAU,EACVC,EAAgBC,GAEX,OAAOA,EAAIE,SAAS,OAAOJ,EAAQI,SAAS,OAAOC,KAAKC,SAASF,SAAS,IAAIG,MAAM,EAAG,IAChG"}