PageSourceSearch

https://www.memorycorner8.com/_next/static/chunks/pages/news/[slug]-94a665cc2586af72.js

js memorycorner8.com collected 2026-10-06 18:42:20 UTC 18,088 bytes, 16 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5376],{2010:function(e,t,n){"use strict";n.d(t,{F:function(){return o},f:function(){return d}});var r=n(7294);let a=["light","dark"],s="(prefers-color-scheme: dark)",l="undefined"==typeof window,i=(0,r.createContext)(void 0),c={setTheme:e=>{},themes:[]},o=()=>{var e;return null!==(e=(0,r.useContext)(i))&&void 0!==e?e:c},d=e=>(0,r.useContext)(i)?r.createElement(r.Fragment,null,e.children):r.createElement(x,e),m=["light","dark"],x=({forcedTheme:e,disableTransitionOnChange:t=!1,enableSystem:n=!0,enableColorScheme:l=!0,storageKey:c="theme",themes:o=m,defaultTheme:d=n?"system":"light",attribute:x="data-theme",value:y,children:g,nonce:w})=>{let[j,v]=(0,r.useState)(()=>h(c,d)),[b,k]=(0,r.useState)(()=>h(c)),N=y?Object.values(y):o,_=(0,r.useCallback)(e=>{let r=e;if(!r)return;"system"===e&&n&&(r=f());let s=y?y[r]:r,i=t?p():null,c=document.documentElement;if("class"===x?(c.classList.remove(...N),s&&c.classList.add(s)):s?c.setAttribute(x,s):c.removeAttribute(x),l){let e=a.includes(d)?d:null,t=a.includes(r)?r:e;c.style.colorScheme=t}null==i||i()},[]),T=(0,r.useCallback)(e=>{v(e);try{localStorage.setItem(c,e)}catch(e){}},[e]),$=(0,r.useCallback)(t=>{let r=f(t);k(r),"system"===j&&n&&!e&&_("system")},[j,e]);(0,r.useEffect)(()=>{let e=window.matchMedia(s);return e.addListener($),$(e),()=>e.removeListener($)},[$]),(0,r.useEffect)(()=>{let e=e=>{e.key===c&&T(e.newValue||d)};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[T]),(0,r.useEffect)(()=>{_(null!=e?e:j)},[e,j]);let M=(0,r.useMemo)(()=>({theme:j,setTheme:T,forcedTheme:e,resolvedTheme:"system"===j?b:j,themes:n?[...o,"system"]:o,systemTheme:n?b:void 0}),[j,T,e,b,n,o]);return r.createElement(i.Provider,{value:M},r.createElement(u,{forcedTheme:e,disableTransitionOnChange:t,enableSystem:n,enableColorScheme:l,storageKey:c,themes:o,defaultTheme:d,attribute:x,value:y,children:g,attrs:N,nonce:w}),g)},u=(0,r.memo)(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:l,enableColorScheme:i,defaultTheme:c,value:o,attrs:d,nonce:m})=>{let x="system"===c,u="class"===n?`var d=document.documentElement,c=d.classList;c.remove(${d.map(e=>`'${e}'`).join(",")});`:`var d=document.documentElement,n='${n}',s='setAttribute';`,h=i?a.includes(c)&&c?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${c}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",p=(e,t=!1,r=!0)=>{let s=o?o[e]:e,l=t?e+"|| ''":`'${s}'`,c="";return i&&r&&!t&&a.includes(e)&&(c+=`d.style.colorScheme = '${e}';`),"class"===n?c+=t||s?`c.add(${l})`:"null":s&&(c+=`d[s](n,${l})`),c},f=e?`!function(){${u}${p(e)}}()`:l?`!function(){try{${u}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${x})){var t='${s}',m=window.matchMedia(t);if(m.media!==t||m.matches){${p("dark")}}else{${p("light")}}}else if(e){${o?`var x=${JSON.stringify(o)};`:""}${p(o?"x[e]":"e",!0)}}${x?"":"else{"+p(c,!1,!1)+"}"}${h}}catch(e){}}()`:`!function(){try{${u}var e=localStorage.getItem('${t}');if(e){${o?`var x=${JSON.stringify(o)};`:""}${p(o?"x[e]":"e",!0)}}else{${p(c,!1,!1)};}${h}}catch(t){}}();`;return r.createElement("script",{nonce:m,dangerouslySetInnerHTML:{__html:f}})},()=>!0),h=(e,t)=>{let n;if(!l){try{n=localStorage.getItem(e)||void 0}catch(e){}return n||t}},p=()=>{let e=document.createElement("style");return e.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(e),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(e)},1)}},f=e=>(e||(e=window.matchMedia(s)),e.matches?"dark":"light")},8278:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/news/[slug]",function(){return n(9864)}])},9864:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return u},default:function(){return h}});var r=n(5893);n(1163);var a=n(1664),s=n.n(a),l=n(9008),i=n.n(l),c=n(5675),o=n.n(c),d=n(8487);let m="https://www.memorycorner8.com";function x(e,t){if(!e)return"";try{let n=new Date(e+"T00:00:00");return n.toLocaleDateString("en"===t?"en-CA":"zh-TW",{year:"numeric",month:"long",day:"numeric"})}catch(t){return e}}var u=!0;function h(e){let{article:t,content:n,ui:a,locale:l,restaurants:c,author:u,jsonLd:h}=e;if(!t||!n)return(0,r.jsx)(d.default,{children:(0,r.jsx)("div",{className:"min-h-screen flex items-center justify-center bg-[#ede5d6]",children:(0,r.jsx)("p",{className:"text-xl text-gray-600",children:"Article not found"})})});let p="en"===l?"/en":"",f="".concat(m).concat(p,"/news/").concat(t.slug),y="".concat(m,"/news/").concat(t.slug),g="".concat(m,"/en/news/").concat(t.slug),w="".concat(m).concat(t.img),j="en"===l?t.desc_en:t.desc_zh,v=x(t.date,l),b=t.dateModified?x(t.dateModified,l):null;return(0,r.jsxs)(d.default,{children:[(0,r.jsxs)(i(),{children:[(0,r.jsx)("title",{children:["Memory Corner","Memory Kitchen","Sweet Memory","有香","憶點點"].some(e=>n.title.includes(e))?n.title:"".concat(n.title," | Memory Corner")}),(0,r.jsx)("meta",{name:"description",content:j}),(0,r.jsx)("link",{rel:"canonical",href:f}),(0,r.jsx)("link",{rel:"alternate",hrefLang:"zh-Hant",href:y}),(0,r.jsx)("link",{rel:"alternate",hrefLang:"en",href:g}),(0,r.jsx)("link",{rel:"alternate",hrefLang:"x-default",href:y}),(0,r.jsx)("meta",{property:"og:type",content:"article"}),(0,r.jsx)("meta",{property:"og:title",content:n.title}),(0,r.jsx)("meta",{property:"og:description",content:j}),(0,r.jsx)("meta",{property:"og:image",content:w}),(0,r.jsx)("meta",{property:"og:url",content:f}),(0,r.jsx)("meta",{property:"og:locale",content:"en"===l?"en_CA":"zh_TW"}),(0,r.jsx)("meta",{property:"article:published_time",content:t.date}),t.dateModified&&(0,r.jsx)("meta",{property:"article:modified_time",content:t.dateModified}),(0,r.jsx)("meta",{property:"article:author",content:u.name}),(0,r.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,r.jsx)("meta",{name:"twitter:title",content:n.title}),(0,r.jsx)("meta",{name:"twitter:description",content:j}),(0,r.jsx)("meta",{name:"twitter:image",content:w}),(0,r.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(h)}})]}),(0,r.jsxs)("div",{className:"bg-[#ede5d6] min-h-screen",children:[(0,r.jsx)("div",{className:"max-w-[800px] xl:w-[60%] md:w-[70%] w-full mx-auto px-5 pt-28 pb-4",children:(0,r.jsxs)("nav",{className:"flex items-center text-sm text-gray-500 font-medium flex-wrap",children:[(0,r.jsx)(s(),{href:"/",className:"hover:text-black text-[16px] sm:text-[18px] transition-colors",children:a.home}),(0,r.jsx)("span",{className:"mx-2 text-gray-400",children:"/"}),(0,r.jsx)(s(),{href:"/news",className:"hover:text-black text-[16px] sm:text-[18px] transition-colors",children:a.news}),(0,r.jsx)("span",{className:"mx-2 text-gray-400",children:"/"}),(0,r.jsx)("span",{className:"text-gray-900 text-[16px] sm:text-[18px] truncate max-w-[200px] md:max-w-none",children:n.title})]})}),(0,r.jsx)("section",{className:"max-w-[800px] xl:w-[60%] md:w-[70%] w-full mx-auto px-5",children:(0,r.jsx)("div",{className:"aspect-[1/1] relative overflow-hidden rounded-lg shadow-lg",children:(0,r.jsx)(o(),{src:t.img,alt:n.title,fill:!0,className:"object-cover",priority:!0})})}),(0,r.jsx)("section",{className:"py-8 sm:py-10 px-5",children:(0,r.jsxs)("div",{className:"max-w-[800px] xl:w-[60%] md:w-[70%] w-full mx-auto",children:[(0,r.jsx)("h1",{className:"text-2xl md:text-3xl font-bold text-[#3b2a1a] leading-snug tracking-[0.02em]",children:n.title}),(0,r.jsxs)("div",{className:"mt-3 flex flex-wrap items-center gap-x-3 gap-y-1 text-[14px] text-gray-600",children:[(0,r.jsxs)("span",{children:[a.by,(0,r.jsx)("span",{className:"font-medium text-[#3b2a1a]",children:u.name}),(0,r.jsxs)("span",{className:"text-gray-500",children:[" \xb7 ","en"===l?u.role_en:u.role_zh]})]}),(0,r.jsx)("span",{className:"text-gray-400",children:"|"}),(0,r.jsx)("time",{dateTime:t.date,children:v}),b&&b!==v&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:"text-gray-400",children:"|"}),(0,r.jsxs)("span",{className:"text-gray-500",children:[a.last_updated,": ",b]})]})]})]})}),n.quick_answer&&(0,r.jsx)("section",{className:"px-5 pb-2",children:(0,r.jsx)("div",{className:"max-w-[800px] xl:w-[60%] md:w-[70%] w-full mx-auto",children:(0,r.jsxs)("div",{className:"article-quick-answer bg-[#f6efdf] border-l-4 border-[#c59b63] rounded-r-xl px-5 py-4 sm:px-6 sm:py-5",children:[(0,r.jsx)("p",{className:"text-[13px] uppercase tracking-[0.15em] font-semibold text-[#c59b63] mb-2",children:a.quick_answer_label}),(0,r.jsx)("p",{className:"text-[16px] sm:text-[17px] leading-relaxed text-[#3b2a1a]",children:n.quick_answer})]})})}),(0,r.jsx)("section",{className:"px-5 pt-6 pb-8",children:(0,r.jsx)("div",{className:"max-w-[800px] xl:w-[60%] md:w-[70%] w-full mx-auto text-[16px] sm:text-[17px] leading-relaxed text-gray-800",dangerouslySetInnerHTML:{__html:n.content_html}}
1)}),n.cta_text&&(0,r.jsx)("section",{className:"px-5 pb-10",children:(0,r.jsxs)("div",{className:"max-w-[800px] xl:w-[60%] md:w-[70%] w-full mx-auto text-center",children:[(0,r.jsx)(s(),{href:"/app",className:"inline-block bg-[#3b2a1a] hover:bg-[#4a3828] text-white font-bold text-lg px-10 py-4 rounded-full shadow-lg hover:shadow-xl transition-all duration-300 tracking-[0.06em]",children:n.cta_text}),(0,r.jsx)("p",{className:"mt-3 text-sm text-gray-500",children:"en"===l?"Follow the simple steps to start earning points":"依照步驟輕鬆加入,立即開始集點"})]})}),Array.isArray(n.faq)&&n.faq.length>0&&(0,r.jsx)("section",{className:"px-5 pb-12",children:(0,r.jsxs)("div",{className:"max-w-[800px] xl:w-[60%] md:w-[70%] w-full mx-auto",children:[(0,r.jsx)("h2",{className:"text-xl md:text-2xl font-bold text-[#3b2a1a] mb-5",children:a.faq_heading}),(0,r.jsx)("div",{className:"space-y-3",children:n.faq.map((e,t)=>(0,r.jsxs)("details",{className:"group bg-white/70 border border-stone-200 rounded-xl overflow-hidden",children:[(0,r.jsxs)("summary",{className:"cursor-pointer list-none px-5 py-4 flex items-center justify-between gap-3 font-semibold text-[#3b2a1a] text-[15px] sm:text-[16px]",children:[(0,r.jsx)("span",{children:e.q}),(0,r.jsx)("span",{className:"text-[#c59b63] text-2xl leading-none transition-transform group-open:rotate-45 select-none",children:"+"})]}),(0,r.jsx)("div",{className:"article-faq-answer px-5 pb-5 pt-1 text-[15px] sm:text-[16px] leading-relaxed text-gray-700",children:e.a})]},t))})]})}),Array.isArray(c)&&c.length>0&&(0,r.jsx)("section",{className:"px-5 pb-20",children:(0,r.jsxs)("div",{className:"max-w-[800px] xl:w-[60%] md:w-[70%] w-full mx-auto",children:[(0,r.jsx)("h2",{className:"text-xl md:text-2xl font-bold text-[#3b2a1a] mb-2",children:a.visit_us_heading}),(0,r.jsx)("p",{className:"text-[14px] text-gray-600 mb-5",children:a.visit_us_subhead}),(0,r.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:c.map(e=>(0,r.jsxs)("article",{className:"bg-white/80 border border-stone-200 rounded-xl p-5",children:[(0,r.jsx)("h3",{className:"text-[16px] sm:text-[17px] font-bold text-[#3b2a1a] mb-3",children:"en"===l?e.name_en:e.name_zh}),(0,r.jsxs)("dl",{className:"text-[14px] sm:text-[15px] text-gray-700 space-y-2",children:[(0,r.jsxs)("div",{className:"flex gap-2",children:[(0,r.jsx)("dt",{className:"text-gray-500 shrink-0 w-[60px]",children:a.address}),(0,r.jsxs)("dd",{children:[e.streetAddress,", ",e.addressLocality,","," ",e.addressRegion," ",e.postalCode]})]}),(0,r.jsxs)("div",{className:"flex gap-2",children:[(0,r.jsx)("dt",{className:"text-gray-500 shrink-0 w-[60px]",children:a.phone}),(0,r.jsx)("dd",{children:(0,r.jsx)("a",{href:"tel:".concat(e.tel.replace(/[^\d+]/g,"")),className:"text-[#3b2a1a] hover:underline",children:e.tel})})]}),(0,r.jsxs)("div",{className:"flex gap-2",children:[(0,r.jsx)("dt",{className:"text-gray-500 shrink-0 w-[60px]",children:a.hours}),(0,r.jsx)("dd",{className:"whitespace-pre-line",children:e.hours_human})]})]}),(0,r.jsxs)("a",{href:e.mapUrl,target:"_blank",rel:"noopener noreferrer",className:"inline-block mt-4 text-[14px] font-medium text-[#c59b63] hover:underline",children:[a.map," →"]})]},e.id))})]})})]})]})}},4155:function(e){var t,n,r,a=e.exports={};function s(){throw Error("setTimeout has not been defined")}function l(){throw Error("clearTimeout has not been defined")}function i(e){if(t===setTimeout)return setTimeout(e,0);if((t===s||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:s}catch(e){t=s}try{n="function"==typeof clearTimeout?clearTimeout:l}catch(e){n=l}}();var c=[],o=!1,d=-1;function m(){o&&r&&(o=!1,r.length?c=r.concat(c):d=-1,c.length&&x())}function x(){if(!o){var e=i(m);o=!0;for(var t=c.length;t;){for(r=c,c=[];++d<t;)r&&r[d].run();d=-1,t=c.length}r=null,o=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===l||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function u(e,t){this.fun=e,this.array=t}function h(){}a.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new u(e,t)),1!==c.length||o||i(x)},u.prototype.run=function(){this.fun.apply(null,this.array)},a.title="browser",a.browser=!0,a.env={},a.argv=[],a.version="",a.versions={},a.on=h,a.addListener=h,a.once=h,a.off=h,a.removeListener=h,a.removeAllListeners=h,a.emit=h,a.prependListener=h,a.prependOnceListener=h,a.listeners=function(e){return[]},a.binding=function(e){throw Error("process.binding is not supported")},a.cwd=function(){return"/"},a.chdir=function(e){throw Error("process.chdir is not supported")},a.umask=function(){return 0}},4102:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(7294);/**
2 * @license lucide-react v0.475.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */let a=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),s=(...e)=>
6e.filter((e,t,n)=>!!e&&""!==e.trim()&&n.indexOf(e)===t).join(" ").trim();/**
7 * @license lucide-react v0.475.0 - ISC
8 *
9 * This source code is licensed under the ISC license.
10 * See the LICENSE file in the root directory of this source tree.
11 */var l={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
12 * @license lucide-react v0.475.0 - ISC
13 *
14 * This source code is licensed under the ISC license.
15 * See the LICENSE file in the root directory of this source tree.
16 */let i=(0,r.forwardRef)(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:a,className:i="",children:c,iconNode:o,...d},m)=>(0,r.createElement)("svg",{ref:m,...l,width:t,height:t,stroke:e,strokeWidth:a?24*Number(n)/Number(t):n,className:s("lucide",i),...d},[...o.map(([e,t])=>(0,r.createElement)(e,t)),...Array.isArray(c)?c:[c]])),c=(e,t)=>{let n=(0,r.forwardRef)(({className:n,...l},c)=>(0,r.createElement)(i,{ref:c,iconNode:t,className:s(`lucide-${a(e)}`,n),...l}));return n.displayName=`${e}`,n}},3424:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(4102);let a=(0,r.Z)("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},4710:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(4102);let a=(0,r.Z)("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]])},1942:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(4102);let a=(0,r.Z)("LogIn",[["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",key:"u53s6r"}],["polyline",{points:"10 17 15 12 10 7",key:"1ail0h"}],["line",{x1:"15",x2:"3",y1:"12",y2:"12",key:"v6grx8"}]])},2088:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(4102);let a=(0,r.Z)("LogOut",[["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}],["polyline",{points:"16 17 21 12 16 7",key:"1gabdz"}],["line",{x1:"21",x2:"9",y1:"12",y2:"12",key:"1uyos4"}]])},3958:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(4102);let a=(0,r.Z)("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]])},2475:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(4102);let a=(0,r.Z)("Minus",[["path",{d:"M5 12h14",key:"1ays0h"}]])},2826:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(4102);let a=(0,r.Z)("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]])},7692:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(4102);let a=(0,r.Z)("ShoppingCart",[["circle",{cx:"8",cy:"21",r:"1",key:"jimo8o"}],["circle",{cx:"19",cy:"21",r:"1",key:"13723u"}],["path",{d:"M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12",key:"9zh506"}]])},9964:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(4102);let a=(0,r.Z)("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]])},8884:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(4102);let a=(0,r.Z)("UserRound",[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]])},6465:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(4102);let a=(0,r.Z)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])}},function(e){e.O(0,[8487,9774,2888,179],function(){return e(e.s=8278)}),_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.