1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5416],{27771:(e,t,l)=>{"use strict";l.d(t,{A:()=>a});let a=e=>{if(!e)return{login:null,popup:null,banners:[],specialOffers:[]};let t=e.find(e=>"LOGIN"===e.type)||null,l=e.find(e=>"POPUP"===e.type)||null;return{login:t,popup:l,banners:e.filter(e=>"BANNER"===e.type),specialOffers:e.filter(e=>["SPECIAL_OFFER_PROMOTION","SPECIAL_OFFER_EXHIBITION","SPECIAL_OFFER_PACKAGE"].includes(e.type))}}},28392:(e,t,l)=>{"use strict";l.r(t),l.d(t,{__N_SSP:()=>E,default:()=>g});var a=l(18153),r=l(14232),n=l(21611),i=l(56557),u=l.n(i),p=l(89099),s=l(73909),c=l(61726),o=l(20916),d=l(27771);let f="".concat("//cdn.ustay.life/images"),h=[{value:"ALL",label:"ì ì²´"},{value:"SPECIAL_OFFER_PROMOTION",label:"íë¡ëª¨ì
"},{value:"SPECIAL_OFFER_EXHIBITION",label:"기íì "},{value:"SPECIAL_OFFER_PACKAGE",label:"í¨í¤ì§"}],_=(0,n.A)("div",{target:"emslspb0"})("padding:8px 16px;border-radius:16px;background:",e=>{let{selected:t}=e;return t?"black":"#f8f8f8"},";color:",e=>{let{selected:t}=e;return t?"white":"#666"},";font-weight:",e=>{let{selected:t}=e;return t?500:400},";transition:0.2s;font-size:12px;"),v=(0,n.A)("div",{target:"emslspb1"})("display:flex;flex-direction:column;width:100%;height:calc(100dvh - 48px - var(--phh) - var(--bth));padding:0 20px 20px;gap:10px;overflow-y:auto;img{width:100%}");var E=!0;let g=e=>{let{promotions:t}=e,l=(0,r.useRef)(null),[n,i]=(0,r.useState)("ALL"),{specialOffers:E}=(0,d.A)(t),[g,O]=(0,r.useState)(E),b=(0,o.U)(),A=(0,p.useRouter)(),m=()=>{var e;if(null===(e=l.current)||void 0===e||e.scrollTo({top:0,behavior:"smooth"}),"ALL"===n){O(I(E));return}O(I(E).filter(e=>e.type===n))},I=e=>e.filter(e=>!e.endAt||u()().isBefore(e.endAt));return(0,r.useEffect)(()=>{m()},[n]),(0,r.useEffect)(()=>{A.query.tab&&i(A.query.tab)},[A.query]),(0,a.FD)(s.mO,{children:[(0,a.Y)(s.fI,{padding:"0 20px 16px",height:"48px",gap:"8px",align:"start",children:h.map(e=>(0,a.Y)(_,{onClick:()=>{i(e.value),A.replace({pathname:A.pathname,query:{tab:e.value}})},selected:e.value===n,children:e.label},e.value))}),0!==g.length?(0,a.Y)(v,{ref:l,children:g.map(e=>{let t;return(0,a.Y)("img",{src:(t=e.image,"".concat(f,"/").concat(t,".png")),alt:"promotion-".concat(e.type),loading:"lazy",onClick:()=>e.url.includes("https://")?A.push(e.url):b.push(e.url)},"special-offer-".concat(e.image))})}):(0,a.Y)(c.wC,{message:"í매 ì¤ì¸ í¨í¤ì§ ìíì´ ììµëë¤.",height:"calc(100dvh - 48px - var(--phh) - var(--bth))"})]})}},97793:(e,t,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/event",function(){return l(28392)}])}},e=>{var t=t=>e(e.s=t);e.O(0,[636,6593,8792],()=>t(97793)),_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.