1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6815],{6498:function(e,t,n){n.d(t,{jD:function(){return c},rU:function(){return i},tv:function(){return u}});var r=n(53795),o=n(60033);let{Link:i,redirect:a,usePathname:c,useRouter:u}=(0,r.iV)({locales:o.k1,localePrefix:"always"})},90868:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(57437),o=n(17153),i=n(67428);let a={new:"var(--color-bg-interactive-primary)",event:"var(--color-blue-500-base)"},c=o.zo.span.withConfig({displayName:"styles__Wrap",componentId:"sc-2df3e4e5-0"})(["display:inline-flex;align-items:center;justify-content:center;padding:1px 5px;border:2px solid var(--color-gray-0);border-radius:var(--corner-radius-round);background-color:",";white-space:nowrap;"],e=>{let{$type:t}=e;return a[t]}),u=o.zo.span.withConfig({displayName:"styles__Text",componentId:"sc-2df3e4e5-1"})(["color:var(--color-gray-0);text-align:center;",";"],i.ONS);function l(e){let{text:t,type:n="new"}=e;return(0,r.jsx)(c,{$type:n,children:(0,r.jsx)(u,{children:t})})}},5021:function(e,t,n){n.d(t,{Z:function(){return N}});var r=n(57437),o=n(6498),i=n(17153),a=n(33293),c=n(67428);let u=(0,i.zo)(o.rU).withConfig({displayName:"styles__ShortcutCard",componentId:"sc-2cad3acc-0"})(["position:relative;display:flex;flex-direction:column;align-items:center;gap:var(--spacing-8);width:100%;","{gap:var(--spacing-6);}"],a.U.mobile);i.zo.div.withConfig({displayName:"styles__IconWrapper",componentId:"sc-2cad3acc-1"})(["position:relative;"]),i.zo.span.withConfig({displayName:"styles__BadgeWrapper",componentId:"sc-2cad3acc-2"})(["position:absolute;top:-6px;right:-8px;"]);let l=i.zo.p.withConfig({displayName:"styles__ShortcutTitle",componentId:"sc-2cad3acc-3"})(["color:var(--color-gray-800);text-align:center;white-space:pre-line;","{",";width:100px;height:41px;overflow:hidden;text-overflow:ellipsis;}","{word-wrap:anywhere;",";}",""],a.U.desktop,c.bKb,a.U.mobile,c.$Ss,e=>e.$showTextOneLineOnMobile&&(0,i.iv)(["","{white-space:nowrap;}"],a.U.mobile));var s=n(33145),d=n(53283);let f=i.zo.div.withConfig({displayName:"styles__ShortcutIconWrapper",componentId:"sc-c2767435-0"})(["position:relative;"]),p=i.zo.div.withConfig({displayName:"styles__ShortcutIcon",componentId:"sc-c2767435-1"})(["position:relative;display:flex;align-items:center;justify-content:center;width:",";height:",";background-color:var(--color-gray-100);","{border-radius:var(--corner-radius-24);}","{border-radius:var(--corner-radius-20);}",""],e=>{let{$width:t}=e;return t},e=>{let{$height:t}=e;return t},a.U.desktop,a.U.mobile,e=>{let{$variant:t}=e;return t===d.R.OUTLINED&&(0,i.iv)(["background-color:var(--color-bg-primary);border:1px solid var(--color-border-interactive-default);"])}),g=i.zo.div.withConfig({displayName:"styles__LogoImageWrapper",componentId:"sc-c2767435-2"})(["position:relative;width:100%;height:100%;display:flex;align-items:center;justify-content:center;"]),v=(0,i.zo)(s.default).withConfig({displayName:"styles__LogoImage",componentId:"sc-c2767435-3"})(["object-fit:contain;"]),h=i.zo.div.withConfig({displayName:"styles__NewBadgeAnchor",componentId:"sc-c2767435-4"})(["position:absolute;display:flex;top:-6px;right:-8px;pointer-events:none;"]);var m=n(90868);function w(){return(0,r.jsx)(m.Z,{text:"NEW"})}function y(){return(0,r.jsx)(m.Z,{text:"EVENT",type:"event"})}function x(e){let{width:t,height:n,imageUrl:o,iconComponent:i,isNew:a=!1,isEvent:c=!1,variant:u=d.R.DEFAULT}=e;return(0,r.jsxs)(f,{children:[(0,r.jsx)(p,{$width:t,$height:n,$variant:u,children:(0,r.jsxs)(g,{children:[o&&(0,r.jsx)(v,{src:o,alt:"store-brand-logo",fill:!0,priority:!0,sizes:"100%"}),i&&i]})}),(c||a)&&(0,r.jsx)(h,{children:c?(0,r.jsx)(y,{}):(0,r.jsx)(w,{})})]})}var S=n(43888);function N(e){let{href:t,iconUrl:n,iconComponent:o,text:i,showTextOneLineOnMobile:a,isNew:c=!1,isEvent:s=!1,variant:f=d.R.DEFAULT}=e,p=(0,S.Z)()?"48px":"60px";return(0,r.jsxs)(u,{href:t,children:[(0,r.jsx)(x,{width:p,height:p,imageUrl:n,iconComponent:o,isNew:c,isEvent:s,variant:f}),(0,r.jsx)(l,{$showTextOneLineOnMobile:a,children:i})]})}},81408:function(e,t,n){n.d(t,{O:function(){return r}});let r=(0,n(11521).e)(()=>({rawMarkets:[],sortedStoreList:[],newStoreList:[]}))},46503:function(e,t,n){n.d(t,{Z:function(){return c}});var r=n(81408),o=n(2265),i=n(67562),a=n(28819);function c(){let e=(0,i.Z)(),t=r.O.useStore(e=>e.sortedStoreList),n=r.O.useStore(e=>
1e.newStoreList),c=r.O.useStore(e=>e.rawMarkets);return{sortedStoreList:(0,o.useMemo)(()=>(0,a.tr)(t,e),[t,e]),newStoreList:(0,o.useMemo)(()=>(0,a.tr)(n,e),[n,e]),isNewStore:(0,o.useCallback)(e=>c.some(t=>t.subType===e&&t.isNew),[c])}}},76430:function(e,t,n){n.d(t,{Z:function(){return d}});var r=n(2265),o=n(71632),i=n(14491),a=n(96547);async function c(){return(await i.O.get(a.z.MARKETING.GET.ONGOING_STATUS)).data}var u=n(88028);let l={all:["marketing"],events:()=>[...l.all,"event"],event:e=>[...l.events(),(0,u.p6)(e)]};var s=n(62104);function d(){let[e,t]=(0,r.useState)((0,s.yS)());(0,r.useEffect)(()=>{let e=setInterval(()=>{let e=(0,s.yS)();0===e.getHours()&&0===e.getMinutes()&&t(e)},6e4);return()=>clearInterval(e)},[]);let{data:n,isSuccess:i}=(0,o.useQuery)({queryKey:l.event(e),queryFn:()=>c(),refetchOnWindowFocus:"always"});return(0,r.useMemo)(()=>i&&n?(0,s.Ew)(n):[],[i,n])}},11521:function(e,t,n){n.d(t,{e:function(){return o}});var r=n(2265);function o(e){let t;let n=new Set,o=e=>{let r="function"==typeof e?e(t):e;t={...t,...r},n.forEach(e=>e())},i=()=>t;t=e(o,i);let a=e=>(n.add(e),()=>{n.delete(e)});return{useStore:function(e){let n=(0,r.useRef)(e);n.current=e;let o=(0,r.useCallback)(()=>n.current(t),[]),i=(0,r.useCallback)(()=>n.current(t),[]);return(0,r.useSyncExternalStore)(a,o,i)},getState:i,setState:o,subscribe:a}}},59528:function(e,t,n){n.d(t,{N:function(){return o},default:function(){return i}});var r=n(57437);let o=(0,n(2265).createContext)({isApp:!1,isIosApp:!1});function i(e){let{isApp:t,isIosApp:n,children:i}=e;return(0,r.jsx)(o.Provider,{value:{isApp:t,isIosApp:n},children:i})}},67562:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(2265),o=n(59528);function i(){return(0,r.useContext)(o.N).isIosApp}},29100:function(e,t,n){n.d(t,{j:function(){return r}});let r=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date;return e.getTime()<new Date("2026-11-01T00:00:00Z").getTime()}},26700:function(e,t,n){n.d(t,{Gy:function(){return i},xk:function(){return o}});var r=n(5914);let o=[r.I.BUNJANG,r.I.DK_SHOP,r.I.GIFTIFAN_SHOP,r.I.YES24,r.I.MAKE_STAR,r.I.ALADIN,r.I.K_TOWN_4U,r.I.FANS,r.I.WEVERSE_SHOP,r.I.POCA_MARKET],i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date;return e.getTime()<=new Date("2026-09-20T23:59:59Z").getTime()}},98040:function(e,t,n){n.d(t,{Q:function(){return c}});var r=n(59882),o=n(53951),i=n(29100),a=n(26700);let c=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new Date,c=(0,o.o)(e),u=(0,a.Gy)(n)&&a.xk.includes(c),l=e===r.uV.BUNJANG&&(0,i.j)(n),s=u||l;return{isEvent:s,isNew:t&&!s}}},28819:function(e,t,n){n.d(t,{TZ:function(){return a},bw:function(){return u},tr:function(){return c}});var r=n(59882);let o=[r.uV.BUNJANG,r.uV.DAISO,r.uV.DK_SHOP,r.uV.GIFTIFAN_SHOP,r.uV.BE_ON_D,r.uV.POCA_MARKET],i=new Set(o),a=e=>null!=e&&i.has(e),c=(e,t)=>t?e.filter(e=>a(e.type)):e,u=(e,t)=>t?(e&&e.length>0?e:o).filter(e=>o.includes(e)):e},88028:function(e,t,n){n.d(t,{Gb:function(){return s},L$:function(){return p},N5:function(){return f},Qg:function(){return g},VY:function(){return c},jd:function(){return a},p6:function(){return i},rB:function(){return l},s5:function(){return u},zh:function(){return d}});var r=n(77398),o=n.n(r);let i=e=>{let t=e.getFullYear(),n=String(e.getMonth()+1).padStart(2,"0"),r=String(e.getDate()).padStart(2,"0");return"".concat(t,"-").concat(n,"-").concat(r)},a=e=>{let t=new Date(e),n=t.getFullYear(),r=String(t.getMonth()+1).padStart(2,"0"),o=String(t.getDate()).padStart(2,"0");return"".concat(n,".").concat(r,".").concat(o)},c=e=>null==e?null:o()(e).format("YYYY-MM-DD HH:mm:ss"),u=e=>o()(e).format("YYYY-MM-DD HH:mm:ss"),l=(e,t)=>null==e?t:o()(e).format("YYYY-MM-DD"),s=e=>o()(e).format("YYYY-MM-DD"),d=e=>e?e.slice(0,10):"",f=e=>{if(!e)return"0000.00.00 00:00";let t=o()(e);return t.isValid()?t.format("YYYY.MM.DD HH:mm"):"0000.00.00 00:00"},p=e=>{if(!e)return"0000.00.00";let t=o()(e);return t.isValid()?t.format("YYYY.MM.DD"):"0000.00.00"},g=()=>{let e=new Date,t=new Date(e);return t.setHours(24,0,0,0),t.getTime()-e.getTime()}},53283:function(e,t,n){var r,o;n.d(t,{R:function(){return r}}),(o=r||(r={})).DEFAULT="DEFAULT",o.OUTLINED="OUTLINED"}}]);
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.