1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[26490],{19160:function(e,i,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/tenant-page/thaiselect/menu",function(){return s(49783)}])},64756:function(e,i,s){"use strict";var n=s(85893),t=s(25142),a=s(24344);let d=e=>{var i,s,d;let{appConfig:o}=(0,a.s6)(),r=(0,a.hU)();return(0,n.jsxs)(t.Ar,{children:[(0,n.jsx)(t.NV,{}),(0,n.jsxs)("div",{style:{paddingTop:(null==r?void 0:r.isMobile)?"calc(var(--m-l-h-height)":"calc(var(--l-h-height)"},children:[" ",e.children]}),(0,n.jsx)(t.q6,{isOpen:!!(null==o?void 0:null===(i=o.app)||void 0===i?void 0:i.drainageImageStatus)&&r.isPc,images:{pc:null==o?void 0:null===(s=o.app)||void 0===s?void 0:s.drainageImageLink,mobile:null==o?void 0:null===(d=o.app)||void 0===d?void 0:d.drainageImageMobileLink}}),(0,n.jsx)(t.Ar.Footer,{})]})},o=e=>{var i;return null!==(i=null==e?void 0:e.getLayout)&&void 0!==i?i:e=>(0,n.jsx)(d,{children:e})};i.Z=(e,i)=>{let s=o(i);return e.getLayout||(e.getLayout=s),e}},49783:function(e,i,s){"use strict";s.r(i),s.d(i,{__N_SSP:function(){return u}});var n=s(85893),t=s(76582),a=s.n(t),d=s(64756),o=s(24344),r=s(11163),l=s(67294),c=s(93967),h=s.n(c),u=!0;i.default=(0,d.Z)(e=>{let i=(0,r.useRouter)(),s=(0,o.hU)(),t=(0,l.useMemo)(()=>{var i;let s=null==e?void 0:e.shopDetails;if(!(null==s?void 0:s.dishMenuList)||!s.dishMenuList.length)return;let n=null==s?void 0:null===(i=s.dishMenuList)||void 0===i?void 0:i.reduce((e,i)=>{var n;let t=null===(n=i.dishCategoryList)||void 0===n?void 0:n.map(e=>({...e,key:e.categoryId,menuId:i.menuId,dishes:s.dishList.filter(i=>i.categoryId===e.categoryId)}));return e.concat(t)},[]),t=n.filter(e=>"1045959895127737792"!=e.categoryId&&"983384513942149248"!=e.categoryId&&"983387657174538368"!=e.categoryId);return t},[null==e?void 0:e.shopDetails]);return(0,n.jsx)("div",{className:a().bodyBox,children:(0,n.jsxs)("div",{className:"main gallery",children:[(0,n.jsx)("section",{className:"general_banner",style:{backgroundImage:"url('https://assets.peblla.net/17339739694163b8b92f086a64294a8acc602d76d8a38.jpg')"},children:(0,n.jsx)("h1",{children:"- MENU -"})}),(0,n.jsx)("section",{className:"menu_box",style:{backgroundColor:"#F9EEFE",backgroundImage:"\n url('https://assets.peblla.net/1733985668101934294b459f54a25b280ff9b3577549a.png')\n ",backgroundRepeat:"repeat"},children:(0,n.jsx)("div",{className:a().categoryBox,onClick:()=>{i.replace("/order")},children:t.map((e,i)=>{let t=e.dishes.some(e=>!!e.description);return(0,n.jsxs)("div",{className:a().dishBox,children:[(0,n.jsx)("span",{className:a().categoryTitle,children:e.categoryName}),(0,n.jsx)("div",{className:h()(a().dishListByCategory,{[a().dishListByCategory_showDescription]:t}),style:{rowGap:t?"30px":"20px",columnGap:t?"30px":"60px"},children:e.dishes.map((e,i)=>{var d;return(0,n.jsxs)("div",{className:h()(a().dishItem,{[a().dishItem_showDescription]:t,[a().dishItem_mobile]:s.isMobile}),children:[(0,n.jsxs)("div",{className:a().dishInfo,children:[(0,n.jsx)("div",{className:a().dishName,children:e.dishName}),(0,n.jsxs)("div",{className:a().dishPrice,children:["$",null===(d=e.price)||void 0===d?void 0:d.toFixed(2)]})]}),(0,n.jsx)("div",{className:a().dishDescription,children:e.description})]},i)})})]},i)})})})]})})})},76582:function(e){e.exports={categoryBox:"menu_categoryBox__b06GR",dishBox:"menu_dishBox__8HKc2",categoryTitle:"menu_categoryTitle__XgDnF",dishListByCategory:"menu_dishListByCategory__HzkWn",dishListByCategory_showDescription:"menu_dishListByCategory_showDescription__OQOuU",dishItem:"menu_dishItem__UPAve",dishInfo:"menu_dishInfo__9hteM",dishName:"menu_dishName__TtpGE",dishPrice:"menu_dishPrice__XI4wz",dishDescription:"menu_dishDescription__lSI5h",dishItem_showDescription:"menu_dishItem_showDescription__XQON7",bodyBox:"menu_bodyBox__ECJlt","text-animation":"menu_text-animation__sK7i4"}}},function(e){e.O(0,[49774,92888,40179],function(){return e(e.s=19160)}),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.