1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[18820],{7382:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/exhibition",function(){return n(12722)}])},86057:function(t,e,n){"use strict";n.d(e,{Z:function(){return h}});var i=n(67194),o=n(80795);let r={END:"ì¢
ë£ë¨",PROCEEDING:"ì§íì¤"};var c=n(27484),x=n.n(c),l=n(11163),a=n(67294),d=n(28677);function s(t){let{id:e,name:n,start_date:c,end_date:s,pc_image:p,isExhibition:u,urlFlag:h,url:f}=t,{t:b}=(0,d.$G)("common"),m=(0,a.useRef)(null),[g,v]=(0,a.useState)("");function Z(t){try{return"".concat(t.slice(0,4),"-").concat(t.slice(5,7),"-").concat(t.slice(8,10))}catch(e){return t}}(0,a.useEffect)(()=>{v("".concat(.73*m.current.clientWidth,"px"))}),(0,l.useRouter)();let k="/images/item_default.png";p&&p.length&&(k="https://media.eoding.com"+p);let E=r.PROCEEDING;return x()().isAfter(x()(s))&&(E=r.END),(0,i.BX)(o.Zb,{sx:{position:"relative",height:"100%",width:"100%",cursor:"".concat(E===r.END?"":"pointer")},onClick:()=>{E!==r.END&&(!0==h?location.href=f:location.href=location.href+"/".concat(e))},children:[E===r.END&&(0,i.tZ)(o.xu,{sx:{width:"100%",height:"".concat(g),display:"block",position:"absolute",zIndex:"1",left:"0",top:"0",backgroundColor:"rgba(0,0,0,.6)",borderRadius:["0px","4px"]},children:(0,i.tZ)(o.kC,{sx:{justifyContent:"center",alignItems:"center",height:"".concat(g),color:"background",fontWeight:"bold",fontSize:"18px",zIndex:"2"},children:b("endEventMsg")})}),(0,i.BX)(i.HY,{children:[(0,i.tZ)(o.Ee,{ref:m,sx:{display:"block",backgroundPosition:"center center",backgroundSize:"cover",height:"".concat(g),width:"100%",objectFit:"cover",pb:"0px",borderRadius:["0px","4px"],transition:"opacity .2s ease-in-out"},src:k}),(0,i.BX)(o.kC,{sx:{flexDirection:"column",pt:"10px",pb:"10px",pl:["16px","0px"]},children:[(0,i.BX)(o.xu,{children:[(0,i.tZ)(o.Ct,{sx:{variant:"fontSizeType.lv5",mb:"5px",color:"background","@media screen and (max-width: 480px)":{backgroundColor:"background",color:"".concat(E===r.END?"grey":"primary"),border:"1px solid",borderColor:"".concat(E===r.END?"grey":"primary")},backgroundColor:"".concat(E===r.END?"grey":"primary"),borderRadius:"4px"},children:(0,i.tZ)(o.xv,{as:"div",sx:{fontSize:"12px"},children:b(E===r.END?"endedStatus":"ongoingStatus")})}),(0,i.tZ)(o.xv,{as:"div",sx:{fontWeight:"700"},children:n})]}),(0,i.tZ)(o.xu,{sx:{variant:"fontSizeType.lv5",fontWeight:"500",color:"text3",mt:"2px",mb:"10px"},style:{WebkitLineClamp:1,MozBoxOrient:"vertical",WebkitBoxOrient:"vertical",display:"-webkit-box",overflow:"hidden"},children:(0,i.BX)(o.xv,{as:"div",sx:{color:"text"},children:[Z(c)," ~ ",Z(s)]})})]})]})]})}var p=t=>{let{exhibitions:e,isExhibition:n}=t,{t:r}=(0,d.$G)("common"),c=r("noPromotion"),x=r("noEvent");return(0,i.tZ)(i.HY,{children:0===e.length?(0,i.tZ)(o.kC,{sx:{justifyContent:"center",alignItems:"center",width:"100%",height:"100px"},children:n?c:x}):(0,i.tZ)(o.rj,{columns:[1,2],children:e.map(t=>(0,i.tZ)(s,{id:t.id,name:t.name,start_date:t.start_date,end_date:t.end_date,pc_image:t.image,isExhibition:n,urlFlag:t.url_flag,url:t.url},t.id))})})},u=n(63052),h=t=>{let{props:e}=t,{t:n}=(0,d.$G)("common"),{agentInfo:r,exhibitionList:c,isExhibition:x}=e,s=e.agentInfo.custom_width,h=u.ZP.getToday(),[f,b]=(0,a.useState)(0),[m,g]=(0,a.useState)(0),v=x?"exhibition":"event";(0,l.useRouter)();let Z=()=>{c.forEach(t=>{h.format("YYYY-MM-DD")<t.end_date?b(t=>t+1):g(t=>t+1)})};return(0,a.useEffect)(()=>{Z()},[]),(0,i.BX)(o.kC,{sx:{flexDirection:["column","column","column","column"],width:["100%","100%","900px","".concat(900==s?"900px":"1100px")],pt:["0px","0px","".concat(900==s?"0px":"40px"),"40px"],mb:"60px",mx:"auto",px:["0px","0px","".concat(900==s?"0px":"16px"),"0px"]},children:[(0,i.tZ)(o.xu,{sx:{pl:["16px","16px","0px","0px"],fontSize:["18px","28px"],fontWeight:500},children:(0,i.tZ)(o.xv,{children:n("exhibition"===v?"exhibition":"event")})}),(0,i.BX)(o.kC,{sx:{flexDirection:"column",flex:1,px:["0px","16px","0px"]},children:[(0,i.tZ)(o.xu,{sx:{variant:"fontSizeType.lv4",mb:["8px","0px"]},children:(0,i.BX)(o.kC,{sx:{justifyContent:"space-between",mx:["16px","0px"]},children:[(0,i.tZ)(o.xu,{children:(0,i.tZ)(o.xv,{as:"div",sx:{fontSize:["14px","15px"]},children:(0,i.tZ)(d.cC,{i18nKey:"reservationResult",values:{count:c.length},children:(0,i.tZ)("span",{sx:{fontWeight:700,ml:"4px"}})})})}),(0,i.BX)(o.xu,{children:[(0,i.tZ)(o.xu,{sx:{display:["none","block"]},children:(0,i.BX)(o.kC,{children:[(0,i.tZ)(o.xu,{sx:{mr:"12px"},children:(0,i.tZ)(o.xv,{as:"div",sx:{fontSize:"13px"},children:n("ongoingEvent",{count:f})})}),(0,i.tZ)(o.xu,{children:(0,i.tZ)(o.xv,{as:"div",sx:{fontSize:"13px"},children:n("expiredEvent",{count:m})})})]})}),(0,i.tZ)(o.xu,{sx:{display:["block","none"],cursor:"pointer"}})]})]})}),(0,i.tZ)(o.iz,{sx:{display:["none","block"],borderColor:"line2",mb:"20px"}}),(0,i.tZ)(o.xu,{children:(0,i.tZ)(p,{exhibitions:c,isExhibition:x})})]})]})}},12722:function(t,e,n){"use strict";n.r(e),n.d(e,{__N_SSP:function(){return r}});var i=n(67194),o=n(86057),r=!0;e.default=t=>(0,i.tZ)(o.Z,{props:t})}},function(t){t.O(0,[92888,49774,40179],function(){return t(t.s=7382)}),_N_E=t.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.