Add To Cart Button Does Not Working While Switching Variants

My add to cart button disappears when I select a variant. Example : https://montecarlousa.store/products/blend-wool-double-knit-full-sleeves-zipper-cardigan

Console error showing as

Uncaught TypeError: this.elements.thumbnails.isSlideVisible is not a function
at MediaGallery.setActiveThumbnail (media-gallery.js?v=136815418543071173961672784841:63:36)
at MediaGallery.setActiveMedia (media-gallery.js?v=136815418543071173961672784841:54:12)
at global.js?v=162948175440037722761674031494:809:57
at NodeList.forEach ()
at VariantRadios.updateMedia (global.js?v=162948175440037722761674031494:809:20)
at VariantRadios.onVariantChange (global.js?v=162948175440037722761674031494:770:12)

This has been resolved. Thanks

Hello,

I am having the exact same issue. How did you solve this please?