With this asset we can use conditional masks just by adding ;(semi-colon) between the masks, respecting the number of characters from smallest to largest.
Example of use for phone mask with 9 or 8 digits:
"(##) ####-####; (##) #####-####"
Where the # character represents any character typed by the user and the others will be part of the mask.