node_modules/bson/dist/bson.browser.esm.js
/**
     * Create an UUID type
     *
     * @param input - Can be a 32 or 36 character hex string (dashes excluded/included) or a 16 byte binary Buffer.
     */
Create an UUID type
@param input - Can be a 32 or 36 character hex string (dashes excluded/included) or a 16 byte binary Buffer.
Create an UUID type @param input - Can be a 32 or 36 character hex string ( dashes excluded / included ) or a 16 byte binary Buffer .
function UUID(input) {
        if (typeof input === 'undefined') {
            this.id = UUID.generate();
        }
        else if (input instanceof UUID) {
            this[kId$1] = buffer_1.from(input.id);
            this.__id = input.__id;
        }
        else if (ArrayBuffer.isView(input) && input.byteLength === BYTE_LENGTH) {
            this.id = ensureBuffer(input);
        }
        else if (typeof input === 'string') {
            this.id = uuidHexStringToBuffer(input);
        }
        else {
            throw new TypeError('Argument passed in UUID constructor must be a UUID, a 16 byte Buffer or a 32/36 character hex string (dashes excluded/included, format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).');
        }
    }
function UUID ( input ) { if ( typeof input === 'undefined' ) { this . id = UUID . generate ( ) ; } else if ( input instanceof UUID ) { this [ kId$1 ] = buffer_1 . from ( input . id ) ; this . __id = input . __id ; } else if ( ArrayBuffer . isView ( input ) && input . byteLength === BYTE_LENGTH ) { this . id = ensureBuffer ( input ) ; } else if ( typeof input === 'string' ) { this . id = uuidHexStringToBuffer ( input ) ; } else { throw new TypeError ( 'Argument passed in UUID constructor must be a UUID, a 16 byte Buffer or a 32/36 character hex string (dashes excluded/included, format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).' ) ; } }
Create an UUID type
 @param input - Can be a 32 or 36 character hex string (dashes excluded/included) or a 16 byte binary Buffer.
Create an UUID type @param input - Can be a 32 or 36 character hex string ( dashes excluded / included ) or a 16 byte binary Buffer .
// The most common use case (blank id, new UUID() instance)