1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[87209],{63042:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/tenant-page/dakgood/pages/subscription",function(){return t(81917)}])},77685:function(e,n,t){"use strict";t.d(n,{$4:function(){return o.$4},hU:function(){return a.hU},s6:function(){return a.s6}});var o=t(25142),a=t(24344)},6350:function(e,n,t){"use strict";var o=t(85893),a=t(67294),s=t(11163),i=t(9008),l=t.n(i),r=t(25142),d=t(24344),c=t(88737),m=t(54331),h=t(84851),u=t(99462),p=t.n(u);let x=[{key:"menu",label:"Menu",link:"/dakgood/menu"},{key:"catering",label:"Catering",link:"/dakgood/catering"},{key:"locations",label:"Locations",link:"/store"}],g=[{key:"catering",label:"Catering",image:"/tenant/dakgood/catering-wings.png",link:"/dakgood/menu?category=catering"},{key:"familymeal",label:"Family Meal",image:"/tenant/dakgood/menu/family-meal-for-2.png",link:"/dakgood/menu?category=familymeal"},{key:"starters",label:"Starters",image:"/tenant/dakgood/menu-starters.png",link:"/dakgood/menu?category=starters"},{key:"entrees",label:"Entrees",image:"/tenant/dakgood/menu-entrees.png",link:"/dakgood/menu?category=entrees"},{key:"chicken",label:"Korean Fried\nChicken",image:"/tenant/dakgood/menu-chicken.png",link:"/dakgood/menu?category=chicken"},{key:"sides",label:"Side Orders",image:"/tenant/dakgood/menu-sides.png",link:"/dakgood/menu?category=sides"}],k=(0,h.Pi)(()=>{let{appConfig:e}=(0,d.s6)(),n=(0,s.useRouter)(),t=(0,d.hU)(),{isLogin:i,memberInfo:l}=m.commonStore,[h,u]=(0,a.useState)(!1),[k,y]=(0,a.useState)(!1),[v,_]=(0,a.useState)(!1);(0,a.useEffect)(()=>{_(!0)},[]);let f=(0,a.useCallback)(e=>{if(n.asPath.startsWith(e))return!0;let t=e.split("/").filter(Boolean).pop(),o=n.asPath.split("/").filter(Boolean).pop();return!!t&&t===o},[n.asPath]),b=(0,a.useCallback)(e=>{if(!v)return!1;let t=n.asPath.includes("/menu");if(!t)return!1;let o=n.query.category;return o===e},[v,n.asPath,n.query.category]),j=(0,a.useCallback)(e=>{u(!1),y(!1);let t=e.includes("/dakgood/menu?category="),o=n.asPath.includes("/menu");if(t&&o){window.__isManualScrolling=!0;let t=e.split("category=")[1],o={catering:"Catering",familymeal:"Family Meal",starters:"Starters",entrees:"Entrees",chicken:"Korean Fried Chicken",sides:"Side Orders"}[t];if(o){let e="section-".concat(o.toLowerCase().replace(/\s+/g,"")),n=document.getElementById(e);if(n){let e=n.offsetTop-70-20;window.scrollTo({top:e,behavior:"smooth"}),setTimeout(()=>{window.__isManualScrolling=!1},1500)}}n.replace(e,void 0,{shallow:!0})}else n.push(e)},[n]),w=(0,a.useCallback)(()=>{let e=n.asPath.includes("/menu");e?(window.scrollTo({top:0,behavior:"smooth"}),n.replace("/dakgood/menu",void 0,{shallow:!0})):n.push("/dakgood/menu"),y(!1)},[n]);return(0,a.useCallback)(async()=>{(0,c.TS)()?n.push("/profile"):(0,r.x4)({intercept:!1,closable:!0})},[n]),(0,a.useMemo)(()=>i?(null==l?void 0:l.firstName)||(null==l?void 0:l.lastName)?[null==l?void 0:l.firstName,null==l?void 0:l.lastName].filter(Boolean).join(" "):"Customer":"Sign In",[i,null==l?void 0:l.firstName,null==l?void 0:l.lastName]),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("header",{className:p().header,children:(0,o.jsxs)("div",{className:p().headerInner,children:[(0,o.jsxs)("div",{className:p().headerLeft,children:[t.isMobile&&(0,o.jsx)("button",{className:p().hamburger,onClick:()=>u(!h),"aria-label":"Toggle menu",children:h?(0,o.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"#382B20",strokeWidth:"2",children:[(0,o.jsx)("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),(0,o.jsx)("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]}):(0,o.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"#382B20",strokeWidth:"2",children:[(0,o.jsx)("line",{x1:"3",y1:"6",x2:"21",y2:"6"}),(0,o.jsx)("line",{x1:"3",y1:"12",x2:"21",y2:"12"}),(0,o.jsx)("line",{x1:"3",y1:"18",x2:"21",y2:"18"})]})}),(0,o.jsx)("a",{href:"/",className:p().logo,children:(0,o.jsx)("img",{src:"/tenant/dakgood/logo.png",alt:"Dak Good"})}),t.isPc&&(0,o.jsx)("nav",{className:p().nav,children:x.map(e=>(0,o.jsxs)("div",{className:p().navItemWrapper,children:[(0,o.jsx)("a",{className:"".concat(p().navLink," ").concat(f(e.link)?p().navLinkActive:""),onClick:()=>j(e.link),onMouseEnter:()=>"menu"===e.key&&y(!0),children:e.label}),"menu"===e.key&&(0,o.jsx)("div",{className:"".concat(p().menuDropdown," ").concat(k?p().menuDropdownOpen:""),onMouseEnter:()=>y(!0),onMouseLeave:()=>y(!1),children:(0,o.jsxs)("div",{className:p().dropdownItems,children:[g.map(e=>(0,o.jsxs)("div",{className:"".concat(p().dropdownItem," ").concat(b(e.key)?p().dropdownItemActive:""),onClick:()=>j(e.link),children:[(0,o.jsx)("img",{src:e.image,alt:e.label}),(0,o.jsx)("p",{children:e.label})]},e.key)),(0,o.jsx)("a",{className:p().dropdownExplore,onClick:w,children:"Explore all"})]})})]},e.key))})]}),(0,o.jsx)("div",{className:p().headerRight,children:(0,o.jsx)("button",{className:p().orderNowBtn,onClick:()=>j("/order"),children:"Order Now"})})]})}),t.isMobile&&h&&(0,o.jsx)("div",{className:p().mobileMenu,children:x.map(e=>(0,o.jsx)("a",{className:"".concat(p().mobileNavLink," ").concat(f(e.link)?p().mobileNavLinkActive:""),onClick:()=>j(e.link),children:e.label},e.key))})]})}),y=e=>{var n,t,s;let{appConfig:i}=(0,d.s6)(),c=(0,d.hU)(),[m,h]=(0,a.useState)(!1),u=(0,a.useMemo)(()=>m?{position:"sticky",transform:"translate(0)",transition:"bottom 0.5s ease",zIndex:2}:{position:"fixed",transform:"translateY(1000px)",transition:"bottom 0.5s ease"},[m]);return(0,o.jsxs)("div",{className:p().layoutRoot,children:[(0,o.jsxs)(l(),{children:[(0,o.jsx)("link",{rel:"prec
1onnect",href:"https://fonts.googleapis.com"}),(0,o.jsx)("link",{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:"anonymous"}),(0,o.jsx)("link",{href:"https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&family=Rammetto+One&display=swap",rel:"stylesheet"})]}),(0,o.jsx)(k,{}),(0,o.jsx)("div",{style:{paddingTop:(null==c?void 0:c.isMobile)?"60px":"70px"},children:e.children}),(0,o.jsx)(r.q6,{isOpen:!!(null==i?void 0:null===(n=i.app)||void 0===n?void 0:n.drainageImageStatus)&&c.isPc,style:{...u,transition:"all .2s"},images:{pc:null==i?void 0:null===(t=i.app)||void 0===t?void 0:t.drainageImageLink,mobile:null==i?void 0:null===(s=i.app)||void 0===s?void 0:s.drainageImageMobileLink}}),(0,o.jsx)(r.GI,{isOpen:!0,onCancel:()=>h(!0)})]})},v=e=>{var n;return null!==(n=null==e?void 0:e.getLayout)&&void 0!==n?n:e=>(0,o.jsx)(y,{children:e})};n.Z=(e,n)=>{let t=v(n);return e.getLayout||(e.getLayout=t),e}},81917:function(e,n,t){"use strict";t.r(n);var o=t(85893),a=t(13187),s=t.n(a),i=t(6350),l=t(67294),r=t(77685),d=t(11163);n.default=(0,i.Z)(()=>{let e=(0,d.useRouter)(),n=(0,r.hU)(),t=(0,l.useCallback)(()=>{e.push("/order")},[]);return(0,o.jsxs)("div",{className:s().bodyBox,children:[(0,o.jsxs)("div",{className:"bannerBox",children:[(0,o.jsxs)("div",{className:"bannerLeft",children:[(0,o.jsxs)("div",{className:"bannerLeftTop",children:[(0,o.jsx)("picture",{children:(0,o.jsx)("img",{src:"https://assets.peblla.net/172293197163224b46bad467046b090d10d97a0462953.png",alt:""})}),(0,o.jsx)("p",{children:"Enjoy free food every month!"})]}),(0,o.jsx)("div",{className:"bannerLeftBottom",onClick:t,children:"SHOP NOW"})]}),(0,o.jsx)("div",{className:"bannerRightBox",children:(0,o.jsx)("img",{src:"https://assets.peblla.net/17229321132759f9edc47c54e4e15a43dd3deedc33af3.png",alt:""})})]}),(0,o.jsxs)("div",{className:"contentBox",children:[(0,o.jsxs)("div",{className:"contentBoxLeft",children:[(0,o.jsx)("p",{className:"contentBoxLeftTitle",children:"Enjoy free food every monthï¼"}),(0,o.jsx)("p",{className:"contentBoxLeftContent",children:"Join our monthly plan and become a member! As part of the program, you'll receive a variety of free food items. Whether it's daily treats or weekly specials, there's always something delicious to look forward to. Don't miss out on these exclusive member benefits!"}),(0,o.jsx)("div",{className:"contentBoxLeftBottom",onClick:t,children:"SHOP NOW"})]}),(0,o.jsx)("div",{className:"contentBoxRight",children:(0,o.jsx)("img",{src:"https://assets.peblla.net/1722932434471929cd1b0ebaa4262ae87a06c7372229b.png",alt:""})})]}),(0,o.jsx)("div",{className:"contentBoxTitleBox",children:(0,o.jsx)("p",{className:"contentBoxTitle",children:"Join the Unlimited Family!"})}),(0,o.jsx)("div",{className:"contentBoxList",children:(0,o.jsxs)("ul",{children:[(0,o.jsxs)("li",{children:[(0,o.jsx)("img",{src:"https://assets.peblla.net/17229340861909c57999574954d70bdc16e3dabe5264a.png",alt:""}),(0,o.jsx)("p",{className:"listWord",children:"Exclusive Discounts"}),(0,o.jsx)("p",{className:"listContent",children:"Special discounts on selected menu items and beverages.Access to seasonal promotions and limited-time offers."})]}),(0,o.jsxs)("li",{children:[(0,o.jsx)("img",{src:"https://assets.peblla.net/17229340756735f3de9026e06466f812015b8cceef88e.png",alt:""}),(0,o.jsx)("p",{className:"listWord",children:"Priority Reservations"}),(0,o.jsx)("p",{className:"listContent",children:"Priority reservations during peak hours. Invitations to exclusive member-only events."})]}),(0,o.jsxs)("li",{children:[(0,o.jsx)("img",{src:"https://assets.peblla.net/1722934093497f2c76d6b067d4bacb6735bbcc30fbc91.png",alt:""}),(0,o.jsx)("p",{className:"listWord",children:"Points and Rewards"}),(0,o.jsx)("p",{className:"listContent",children:"Earn points for every dollar spent. Redeem points for discounts, free menu items, or merchandise."})]})]})}),!n.isPc&&(0,o.jsx)("div",{className:"footerBox",children:(0,o.jsx)("div",{className:"footerBoxBtn",onClick:t,children:(0,o.jsx)("p",{children:"Order Now"})})})]})})},99462:function(e){e.exports={layoutRoot:"widthHomeLayout_layoutRoot__8M_tb",header:"widthHomeLayout_header__VQi2k",headerInner:"widthHomeLayout_headerInner__jyK5n",headerLeft:"widthHomeLayout_headerLeft__7a5GF",logo:"widthHomeLayout_logo__kOlO1",nav:"widthHomeLayout_nav__qkEX8",n
1avItemWrapper:"widthHomeLayout_navItemWrapper__Tjj4I",navLink:"widthHomeLayout_navLink__hTUSw",menuDropdown:"widthHomeLayout_menuDropdown__Otp2m",menuDropdownOpen:"widthHomeLayout_menuDropdownOpen__k4K9p",dropdownItems:"widthHomeLayout_dropdownItems__i4xEs",dropdownItem:"widthHomeLayout_dropdownItem__7rQhh",dropdownItemActive:"widthHomeLayout_dropdownItemActive__FC92i",dropdownExplore:"widthHomeLayout_dropdownExplore__Mzcf1",navLinkActive:"widthHomeLayout_navLinkActive__8UxJw",headerRight:"widthHomeLayout_headerRight__AVh_q",orderNowBtn:"widthHomeLayout_orderNowBtn__5wpBj",hamburger:"widthHomeLayout_hamburger__S_XDC",mobileMenu:"widthHomeLayout_mobileMenu__7XF0D",mobileNavLink:"widthHomeLayout_mobileNavLink__Fql7j",mobileNavLinkActive:"widthHomeLayout_mobileNavLinkActive__XVLsl","text-animation":"widthHomeLayout_text-animation__iKtJD"}},13187:function(e){e.exports={bodyBox:"subscription_bodyBox__Edtxh","text-animation":"subscription_text-animation__IrwhA"}}},function(e){e.O(0,[49774,92888,40179],function(){return e(e.s=63042)}),_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.