")}),$("#dish-grid").prepend("
Ming Yuen Takeaway services available at the following times:Mon – Sat: 11:30 am – 2:30pm / 6:00pm - 8:30pmSun: 10:30 – 2:30pm / 6:00pm - 8:30pm
"),$(".components__TabSelectOptionComponent-efsXMo").eq(-1).click(function(e){e.preventDefault(),window.open("https://app.optitable.com/en/reservation/at/hkpv-ming-yuen/")})}),$("body").on("DOMNodeInserted","div",function(){var e;"(Closed)"!=$(".iOvUQB").find("p:eq(0)").text().slice(-8)||doneUpdateClose||(doneUpdateClose=!0,e=(e=$(".iOvUQB").find("p:eq(0)").text()).substring(0,e.length-8),$(".iOvUQB").find("p:eq(0)").text(e),doneUpdateClose=!1)}),!1),done3=!1;function checkHoliday(){var n=!1,o=new Date;return[[2021,5,19],[2021,6,14],[2021,7,1],[2021,9,22],[2021,10,1],[2021,10,14],[2021,12,25],[2021,12,27]].forEach(function(e,t){o.getYear()==e[0]&&o.getMonth()-1==e[1]&&o.getDate()==e[2]&&(n=!0)}),n}function checkHideNav(){var e=new Date;((11==e.getHours()&&30<=e.getMinutes()||12<=e.getHours())&&0!=e.getDay()||(10==e.getHours()&&30<=e.getMinutes()||11<=e.getHours())&&0==e.getDay())&&e.getHours()<=14?($(".components__TabSelectOptionComponent-efsXMo").eq(-2).show(),done=!1):done||($(".components__TabSelectOptionComponent-efsXMo").eq(-2).hide(),done=!0)}function checkHideAll(){var e=new Date;((11==e.getHours()&&30<=e.getMinutes()||12<=e.getHours())&&0!=e.getDay()||(10==e.getHours()&&30<=e.getMinutes()||11<=e.getHours())&&0==e.getDay())&&e.getHours()<=14?($(".htcybr").slice(-13).show(),$(".lkWnDw").slice(-3).show(),12<$(".lkWnDw").length&&$(".lkWnDw").slice(-1).hide()):12<$(".lkWnDw").length&&$(".lkWnDw").slice(-3).hide()}function changeToBr(){$(".lhp")[0]&&!done3&&($(".lhp").html(function(){return $(this).html().replace(/\\n/g,"
")}),done3=!0)}$(document).click(function(){done3=!1}),timer3=setInterval(changeToBr,500)