let e=e=>{let{variants:n,selectedOptions:t}=e;return n&&0!==n.length?n.find(e=>!!e?.selectedOptions&&e.selectedOptions.every(e=>t[e.name??""]===e.value))??null:null};export{e as findVariantByOptions};
