module.exports = "(function(t,n,r){var e=r(5894);function a(t){var n=t.split(\":\");if(2!==n.length)throw new Error(\"optly.timeAndDayInterval.timeStringToMinutes: Invalid time string \"+t);return 60*parseInt(n[0],10)+parseInt(n[1],10)}n.test=function(t,n){var r=function(t){var n=t.split(\"_\");if(3!==n.length)throw new Error(\"Invalid time and day string \"+t);var r=n[2].split(\",\");return{start_time:n[0],end_time:n[1],days:r}}(t),i=a(r.start_time),s=a(r.end_time),d=60*n.getHours()+n.getMinutes(),u=[\"sunday\",\"monday\",\"tuesday\",\"wednesday\",\"thursday\",\"friday\",\"saturday\"][n.getDay()];return d>=i&&d<=s&&e.includes(r.days,u)}})";