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