PageSourceSearch

https://www.midtownstationocala.us/_next/static/chunks/pages/tenan…/dakgood/pages/rewards-8b0cbe4ad429eae3.js

js midtownstationocala.us collected 2026-09-24 15:15:41 UTC 10,845 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[14778],{23662:function(e,n,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/tenant-page/dakgood/pages/rewards",function(){return a(16655)}])},77685:function(e,n,a){"use strict";a.d(n,{$4:function(){return t.$4},hU:function(){return o.hU},s6:function(){return o.s6}});var t=a(25142),o=a(24344)},6350:function(e,n,a){"use strict";var t=a(85893),o=a(67294),s=a(11163),i=a(9008),l=a.n(i),r=a(25142),d=a(24344),c=a(88737),m=a(54331),u=a(84851),h=a(99462),p=a.n(h);let g=[{key:"menu",label:"Menu",link:"/dakgood/menu"},{key:"catering",label:"Catering",link:"/dakgood/catering"},{key:"locations",label:"Locations",link:"/store"}],x=[{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,u.Pi)(()=>{let{appConfig:e}=(0,d.s6)(),n=(0,s.useRouter)(),a=(0,d.hU)(),{isLogin:i,memberInfo:l}=m.commonStore,[u,h]=(0,o.useState)(!1),[k,y]=(0,o.useState)(!1),[_,f]=(0,o.useState)(!1);(0,o.useEffect)(()=>{f(!0)},[]);let b=(0,o.useCallback)(e=>{if(n.asPath.startsWith(e))return!0;let a=e.split("/").filter(Boolean).pop(),t=n.asPath.split("/").filter(Boolean).pop();return!!a&&a===t},[n.asPath]),v=(0,o.useCallback)(e=>{if(!_)return!1;let a=n.asPath.includes("/menu");if(!a)return!1;let t=n.query.category;return t===e},[_,n.asPath,n.query.category]),j=(0,o.useCallback)(e=>{h(!1),y(!1);let a=e.includes("/dakgood/menu?category="),t=n.asPath.includes("/menu");if(a&&t){window.__isManualScrolling=!0;let a=e.split("category=")[1],t={catering:"Catering",familymeal:"Family Meal",starters:"Starters",entrees:"Entrees",chicken:"Korean Fried Chicken",sides:"Side Orders"}[a];if(t){let e="section-".concat(t.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,o.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,o.useCallback)(async()=>{(0,c.TS)()?n.push("/profile"):(0,r.x4)({intercept:!1,closable:!0})},[n]),(0,o.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,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("header",{className:p().header,children:(0,t.jsxs)("div",{className:p().headerInner,children:[(0,t.jsxs)("div",{className:p().headerLeft,children:[a.isMobile&&(0,t.jsx)("button",{className:p().hamburger,onClick:()=>h(!u),"aria-label":"Toggle menu",children:u?(0,t.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"#382B20",strokeWidth:"2",children:[(0,t.jsx)("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),(0,t.jsx)("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]}):(0,t.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"#382B20",strokeWidth:"2",children:[(0,t.jsx)("line",{x1:"3",y1:"6",x2:"21",y2:"6"}),(0,t.jsx)("line",{x1:"3",y1:"12",x2:"21",y2:"12"}),(0,t.jsx)("line",{x1:"3",y1:"18",x2:"21",y2:"18"})]})}),(0,t.jsx)("a",{href:"/",className:p().logo,children:(0,t.jsx)("img",{src:"/tenant/dakgood/logo.png",alt:"Dak Good"})}),a.isPc&&(0,t.jsx)("nav",{className:p().nav,children:g.map(e=>(0,t.jsxs)("div",{className:p().navItemWrapper,children:[(0,t.jsx)("a",{className:"".concat(p().navLink," ").concat(b(e.link)?p().navLinkActive:""),onClick:()=>j(e.link),onMouseEnter:()=>"menu"===e.key&&y(!0),children:e.label}),"menu"===e.key&&(0,t.jsx)("div",{className:"".concat(p().menuDropdown," ").concat(k?p().menuDropdownOpen:""),onMouseEnter:()=>y(!0),onMouseLeave:()=>y(!1),children:(0,t.jsxs)("div",{className:p().dropdownItems,children:[x.map(e=>(0,t.jsxs)("div",{className:"".concat(p().dropdownItem," ").concat(v(e.key)?p().dropdownItemActive:""),onClick:()=>j(e.link),children:[(0,t.jsx)("img",{src:e.image,alt:e.label}),(0,t.jsx)("p",{children:e.label})]},e.key)),(0,t.jsx)("a",{className:p().dropdownExplore,onClick:w,children:"Explore all"})]})})]},e.key))})]}),(0,t.jsx)("div",{className:p().headerRight,children:(0,t.jsx)("button",{className:p().orderNowBtn,onClick:()=>j("/order"),children:"Order Now"})})]})}),a.isMobile&&u&&(0,t.jsx)("div",{className:p().mobileMenu,children:g.map(e=>(0,t.jsx)("a",{className:"".concat(p().mobileNavLink," ").concat(b(e.link)?p().mobileNavLinkActive:""),onClick:()=>j(e.link),children:e.label},e.key))})]})}),y=e=>{var n,a,s;let{appConfig:i}=(0,d.s6)(),c=(0,d.hU)(),[m,u]=(0,o.useState)(!1),h=(0,o.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,t.jsxs)("div",{className:p().layoutRoot,children:[(0,t.jsxs)(l(),{children:[(0,t.jsx)("link",{rel:"prec
1onnect",href:"https://fonts.googleapis.com"}),(0,t.jsx)("link",{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:"anonymous"}),(0,t.jsx)("link",{href:"https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&family=Rammetto+One&display=swap",rel:"stylesheet"})]}),(0,t.jsx)(k,{}),(0,t.jsx)("div",{style:{paddingTop:(null==c?void 0:c.isMobile)?"60px":"70px"},children:e.children}),(0,t.jsx)(r.q6,{isOpen:!!(null==i?void 0:null===(n=i.app)||void 0===n?void 0:n.drainageImageStatus)&&c.isPc,style:{...h,transition:"all .2s"},images:{pc:null==i?void 0:null===(a=i.app)||void 0===a?void 0:a.drainageImageLink,mobile:null==i?void 0:null===(s=i.app)||void 0===s?void 0:s.drainageImageMobileLink}}),(0,t.jsx)(r.GI,{isOpen:!0,onCancel:()=>u(!0)})]})},_=e=>{var n;return null!==(n=null==e?void 0:e.getLayout)&&void 0!==n?n:e=>(0,t.jsx)(y,{children:e})};n.Z=(e,n)=>{let a=_(n);return e.getLayout||(e.getLayout=a),e}},16655:function(e,n,a){"use strict";a.r(n);var t=a(85893),o=a(97966),s=a.n(o),i=a(25142),l=a(6350),r=a(54331),d=a(84851),c=a(67294),m=a(11163),u=a(77685);n.default=(0,l.Z)((0,d.Pi)(()=>{let e=(0,u.hU)(),{isLogin:n}=r.commonStore,a=async()=>{n||(0,i.x4)({intercept:!1,closable:!0})},o=(0,m.useRouter)(),l=(0,c.useCallback)(()=>{o.push("/order")},[]);return(0,t.jsxs)("div",{className:s().bodyBox,children:[(0,t.jsxs)("div",{className:"bannerBox",children:[(0,t.jsxs)("div",{className:"bannerLeft",children:[(0,t.jsxs)("div",{className:"bannerLeftTop",children:[(0,t.jsx)("picture",{children:(0,t.jsx)("img",{src:"https://assets.peblla.net/172282615212041ac391bf1fb45daa3a0e762b981e1e4.png",alt:""})}),(0,t.jsx)("p",{children:"The Dak Good Rewards program is finally here! Enjoy delicious discounts, exclusive member benefits, and much more. Join now to reap the rewards for your love of Dak Good!"})]}),!n&&(0,t.jsx)("div",{className:"bannerLeftBottom",onClick:a,children:"Sign up today!"})]}),(0,t.jsx)("div",{className:"bannerRightBox",children:(0,t.jsx)("img",{src:"https://assets.peblla.net/17228261635239ab39d1c2b0444e88e957b7ef558403d.png",alt:""})})]}),(0,t.jsxs)("div",{className:"contentBox",children:[(0,t.jsxs)("div",{className:"contentBoxLeft",children:[(0,t.jsx)("p",{className:"contentBoxLeftTitle",children:"Earn rewards with your purchases!"}),(0,t.jsx)("p",{className:"contentBoxLeftContent",children:"As a member, you'll automatically earn up to 5 points for every dollar spent on eligible purchases through your member account."}),!n&&(0,t.jsx)("div",{className:"contentBoxLeftBottom",onClick:a,children:"Sign up today!"})]}),(0,t.jsx)("div",{className:"contentBoxRight",children:(0,t.jsxs)("ul",{children:[(0,t.jsxs)("li",{children:[(0,t.jsx)("img",{src:"https://assets.peblla.net/172290680514751505de9048b460bb40a77c77f41f9d8.png",alt:""}),(0,t.jsx)("p",{children:"Spending points"})]}),(0,t.jsxs)("li",{children:[(0,t.jsx)("img",{src:"https://assets.peblla.net/172290677050297612a59030d4c5681e230affd946e05.png",alt:""}),(0,t.jsx)("p",{children:"Reward Points"})]}),(0,t.jsxs)("li",{children:[(0,t.jsx)("img",{src:"https://assets.peblla.net/172290674398628dfbbe8d3574e0c898a26f8e37bfa09.png",alt:""}),(0,t.jsx)("p",{children:"Holiday Special Offers"})]}),(0,t.jsxs)("li",{children:[(0,t.jsx)("img",{src:"https://assets.peblla.net/17229067953862cbf42d3ae6d495990fb4d665858c355.png",alt:""}),(0,t.jsx)("p",{children:"Redeem Gifts"})]}),(0,t.jsxs)("li",{children:[(0,t.jsx)("img",{src:"https://assets.peblla.net/172290675539843a8999c2ff64de5ad295e399974ebc1.png",alt:""}),(0,t.jsx)("p",{children:"Referral Rewards"})]}),(0,t.jsxs)("li",{children:[(0,t.jsx)("img",{src:"https://assets.peblla.net/17229067839433a425f2d6755487b940bb2fee10ec5a7.png",alt:""}),(0,t.jsx)("p",{children:"Spending points"})]})]})})]}),!e.isPc&&(0,t.jsx)("div",{className:"footerBox",children:(0,t.jsx)("div",{className:"footerBoxBtn",onClick:l,children:(0,t.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"}},97966:function(e){e.exports={bodyBox:"rewards_bodyBox___ileC","text-animation":"rewards_text-animation__5WKI6"}}},function(e){e.O(0,[49774,92888,40179],function(){return e(e.s=23662)}),_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.