1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4422],{42589:function(n,e,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/shop/[brandSn]/event",function(){return t(7153)}])},18507:function(n,e,t){"use strict";t.d(e,{Z:function(){return o}});var i=t(2784);function o(n,e){var t=e.offset,o=void 0===t?0:t,a=(0,i.useCallback)((function(){window.scrollY+window.innerHeight<document.body.scrollHeight-o||null===n||void 0===n||n()}),[n,o]);(0,i.useEffect)((function(){return window.addEventListener("scroll",a),function(){window.removeEventListener("scroll",a)}}),[a])}},7153:function(n,e,t){"use strict";t.r(e),t.d(e,{__N_SSP:function(){return B},default:function(){return L}});var i=t(52322),o=t(2784),a=t(77993),r=t(70865),l=t(96670),s=t(76635),c=t.n(s),u=t(72779),d=t.n(u),v=t(21997),p=t(72571),h=t(20428),f=t(83176);var N=function(n){var e,t=n.title,o=n.descriptions,a=n.imageSrc,s=void 0===a?"https://images-kr.amoremall.com/defaultImages/750_transparent.png":a,u=n.imageAlt,N=void 0===u?"":u,m=n.tagLabel,g=n.tagType,E=n.leftDays,_=n.endDate,b=n.useAnimation,D=void 0!==b&&b,x=n.animationDelay,A=void 0===x?0:x,y=n.animationDuration,C=n.className,S=n.href,T=n.isExternalLink,w=n.onClick,Z=n.gtmClick,M=(0,f.Z)().isAmoreApp;return(0,i.jsx)(h.Z,{tag:"div",useAnimation:D,animationDelay:A,animationDuration:y,className:d()("post shop-post",C),children:(0,i.jsxs)(p.Z,(0,l.Z)((0,r.Z)({href:S,className:"postBody",onClick:w},Z),{isExternal:M||T,children:[(0,i.jsx)("div",{className:"postMediaArea",children:(0,i.jsxs)("div",{className:"postMedia",children:[(0,i.jsx)(v.ZP,{src:s,alt:N,size:{width:"375px",height:"240px"},fitting:{method:"large",width:375,height:240}}),m&&(0,i.jsx)("div",{className:d()("tag",g),children:m})]})}),(0,i.jsxs)("div",{className:"postInfo",children:[(0,i.jsxs)("div",{className:"dateArea",children:[!c().isNil(E)&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("strong",{className:"txtPointRed",children:"END"===E?"END":0===E?"D-DAY":"D-".concat(E)}),_&&(0,i.jsx)("span",{className:"bar"})]}),_&&(0,i.jsxs)("span",{className:"text",children:[" ",_," \uae4c\uc9c0 "]})]}),t&&(0,i.jsx)("p",{className:"title",children:t}),1===(null===o||void 0===o?void 0:o.length)&&(0,i.jsx)("span",{className:"desc",children:o[0]}),(null!==(e=null===o||void 0===o?void 0:o.length)&&void 0!==e?e:0)>=2&&(0,i.jsx)("div",{className:"descGroup",children:null===o||void 0===o?void 0:o.map((function(n,e){return(0,i.jsx)("span",{className:"desc",children:n},e)}))})]})]}))})},m=t(40269),g=t(59191),E=t(92250),_=t(98788),b=t(50930),D=t(22970),x=t(14625),A=t(16139),y=t(41462),C=t(15744),S=t(8446);function T(n){var e,t,i,a=n.applyGnbMenuNo,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=r.initialData,s=void 0===l?[]:l,u=r.enabled,d=void 0===u||u,v=r.pageSize,p=void 0===v?20:v,h="__EXHIBITION_LIST__",f="".concat(h,"_").concat(a,"_").concat(p,"__"),N=(0,y.Z)({storageKey:h}),m=(0,x.Z)(),g=(0,A.Z)(),E=(0,o.useState)((function(){var n=N.load(f);return n?(0,b.Z)(s).concat((0,b.Z)(n.slice(s.length))):s})),S=E[0],T=E[1],w=(0,o.useState)(!0),Z=(w[0],w[1]),M=(0,o.useState)(!1),R=M[0],I=M[1],G=(0,o.useState)(),k=G[0],j=G[1],B=(0,o.useMemo)((function(){var n;return c().uniqBy(S.flatMap((function(e){return null!==(n=e.exhibitions)&&void 0!==n?n:[]})),(function(n){return null===n||void 0===n?void 0:n.exhibitionNo}))}),[S]),L=null!==(t=null===S||void 0===S||null===(e=S[(null===S||void 0===S?void 0:S.length)-1])||void 0===e?void 0:e.totalCount)&&void 0!==t?t:0,P=(null!==(i=null===S||void 0===S?void 0:S.length)&&void 0!==i?i:0)*p>=L;(0,o.useEffect)((function(){return N.preserve(f,S)}),[S,N,f]);var Y=(0,o.useCallback)((0,_.Z)((function(){var n,e,t,i,o,r,l=arguments;return(0,D.__generator)(this,(function(s){switch(s.label){case 0:if(n=l.length>0&&void 0!==l[0]?l[0]:1,e=l.length>1&&void 0!==l[1]&&l[1],!g)throw new Error("sisNo is not exist.");if(!a)throw new Error("applyGnbMenuNo is not exist.");if(!e&&R)return[2];if(!e&&P)return[2];s.label=1;case 1:return s.trys.push([1,3,4,5]),I(!0),[4,C.getGnbContents({applyGnbMenuNo:a,menuCode:"BRAND_EVENT_LIST",pageSize:p,pageSn:n},m)];case 2:if(i=s.sent(),!(o=null===(t=i.data.contents)||void 0===t?void 0:t.BRAND_EVENT_LIST))throw new Error('"contents?.BRAND_EVENT_LIST" is not exist.');return T(1===n?[o]:(0,b.Z)((null!==S&&void 0!==S?S:[]).slice(0,n-1)).concat([o],(0,b.Z)((null!==S&&void 0!==S?S:[]).slice(n)))),[3,5];case 3:return r=s.sent(),j(r),[3,5];case 4:return I(!1),Z(!1),[7];case 5:return[2]}}
1))})),[m,a,P,R,p,S,g]),H=(0,o.useCallback)((function(){var n;Y((null!==(n=null===S||void 0===S?void 0:S.length)&&void 0!==n?n:0)+1)}),[null===S||void 0===S?void 0:S.length,Y]);return(0,o.useEffect)((function(){d&&((null===S||void 0===S?void 0:S.length)?S.forEach((function(n,e){e<=s.length-1||Y(e+1,!0)})):Y())}),[d]),{fetchNextPage:H,pages:S,list:B,totalCount:L,isLast:P,error:k}}T.prefetch=function(){var n=(0,_.Z)((function(n,e,t){var i,o,a,r;return(0,D.__generator)(this,(function(l){switch(l.label){case 0:return i=e.applyGnbMenuNo,o=t.pageSize,a=n.apiManager,r=function(){var n=(0,_.Z)((function(){var n,e,t,r,l;return(0,D.__generator)(this,(function(s){switch(s.label){case 0:if(!i)throw new Error("applyGnbMenuNo is not exist.");s.label=1;case 1:return s.trys.push([1,3,,4]),[4,C.getGnbContents({applyGnbMenuNo:i,menuCode:"BRAND_EVENT_LIST",pageSize:o,pageSn:1},a)];case 2:if(t=s.sent(),!(r=(null===(n=t.data.contents)||void 0===n?void 0:n.BRAND_EVENT_LIST)?[null===(e=t.data.contents)||void 0===e?void 0:e.BRAND_EVENT_LIST]:[]))throw new Error('"contents?.BRAND_EVENT_LIST" is not exist.');return[2,r];case 3:return l=s.sent(),S.Z.debug("Fetch Error: useExhibitionListQuery.prefetch",l),[3,4];case 4:return[2]}}
1))}));return function(){return n.apply(this,arguments)}}(),[4,r()];case 1:return[2,l.sent()]}}))}));return function(e,t,i){return n.apply(this,arguments)}}();var w=t(18507),Z=t(63155),M=t(39484),R=t(65477),I=t(97262),G=t(92198),k=t(82775),j=t(96738),B=!0,L=function(n){var e,t,o,r=n.beutyEvents,l=n.events,s=n.pageLayoutStatus,c=(0,E.Z)().isPC,u=(0,Z.Z)(),d=(0,R.Z)(),v=(0,k.hr)().data,p=(0,M.Z)(),h=null===v||void 0===v||null===(e=v.menus)||void 0===e?void 0:e.find((function(n){return"BRAND_EVENT_LIST"===n.gnbMenuCode})),f=T({applyGnbMenuNo:null===h||void 0===h?void 0:h.applyGnbMenuNo},{initialData:l,pageSize:20}),_=f.list,b=f.fetchNextPage;return(0,w.Z)((function(){return b()}),{offset:2e3}),(0,I.Z)({AP_DATA_BRAND:null===v||void 0===v||null===(t=v.brand)||void 0===t||null===(o=t.englishBrandName)||void 0===o?void 0:o.toLowerCase()}),(0,i.jsxs)(a.V,{headerType:"main",hasHeader:!s||s.showHeader,hasActionBar:!s||s.showActionBar,children:[Boolean(!(null===r||void 0===r?void 0:r.length)&&!(null===_||void 0===_?void 0:_.length))&&(0,i.jsx)(m.VN,{children:"\uc9c4\ud589 \uc911\uc778 \uc774\ubca4\ud2b8\uac00 \uc5c6\uc5b4\uc694"}),Boolean(r.length)&&(0,i.jsxs)(g.b_,{children:[(0,i.jsx)(g.vd,{children:"\ubdf0\ud2f0 \uccb4\ud5d8\ub2e8"}),(0,i.jsx)(g.an,{type:"sub",children:r.map((function(n,e){var t,o,a,r=e%(c?3:1)*.2,l="RECRUITING"===n.statusFlag?"\ubaa8\uc9d1\uc911":"RECRUIT_DONE"===n.statusFlag?"\ubaa8\uc9d1\uc644\ub8cc":"ANNOUNCEMENT_OF_WINNING"===n.statusFlag?"\ub2f9\ucca8\ubc1c\ud45c":"REGISTER_REVIEW"===n.statusFlag?"\ub9ac\ubdf0\uc791\uc131":void 0,s=p?"".concat(G.ZK,"/kr/ko/display/beauty_test/detail?regularEventSn=").concat(n.regularEventSn):"/display/beauty_test/detail?regularEventSn=".concat(n.regularEventSn);return(0,i.jsx)(N,{animationDelay:r,title:n.regularEventName,descriptions:["\ubaa8\uc9d1 ".concat((0,j.x6)(null!==(o=n.recruitPersonalCount)&&void 0!==o?o:0),"\uba85"),"\uc9c0\uc6d0 ".concat((0,j.x6)(null!==(a=n.requesterCount)&&void 0!==a?a:0),"\uba85")],imageSrc:n.bannerImageUrl,imageAlt:n.regularEventName,tagType:"RECRUITING"===n.statusFlag?["ing"]:[],tagLabel:l,leftDays:"RECRUITING"===n.statusFlag?n.dueDay:"END",endDate:n.requestEndDt&&(0,j.sN)(n.requestEndDt,"YYYY.MM.DD"),href:s,gtmClick:{"ap-click-area":"NEW\ube0c\ub79c\ub4dc\uad00","ap-click-name":"NEW\ube0c\ub79c\ub4dc\uad00_[\uc11c\ube0c\ub9e4\uc7a5]\uc774\ubca4\ud2b8\ub9ac\uc2a4\ud2b8","ap-click-data":"".concat(null===v||void 0===v||null===(t=v.brand)||void 0===t?void 0:t.name,"_\ubdf0\ud2f0\uccb4\ud5d8\ub2e8")}},e)}))})]}),Boolean(_.length)&&(0,i.jsxs)(g.b_,{children:[(0,i.jsx)(g.vd,{children:"\uc774\ubca4\ud2b8"}),(0,i.jsx)(g.an,{type:"sub",children:_.map((function(n,e){var t,o,a,r,l,s,h,f,m,g,E,_=e%(c?3:1)*.2,b="MAGAZINE"===n.planDisplayClassificationCode?"MAGAZINE":"EVENT",D="AmoreMall"===n.exhibitionClassificationCode||"MAGAZINE"===n.planDisplayClassificationCode?"".concat(G.ZK,"/kr/ko/display/event_detail?planDisplaySn=").concat(n.originalExhibitionNo,"&brandPathYn=Y&customPath=").concat(null!==u&&void 0!==u?u:"","&brandSn=").concat(d):p?"/".concat(u,"/event/").concat(n.exhibitionNo):"/display/brand/detail/event/".concat(n.exhibitionNo,"?brandSn=").concat(d),x="AmoreMall"===n.exhibitionClassificationCode||"MAGAZINE"===n.planDisplayClassificationCode;return(0,i.jsx)(N,{className:"shop-post__event--sub",animationDelay:_,title:n.exhibitionTitle,descriptions:["".concat((0,j.sN)(null!==(s=n.displayBeginDateTime)&&void 0!==s?s:"","YYYY-MM-DD")," ~ ").concat((0,j.sN)(null!==(h=n.displayEndDateTime)&&void 0!==h?h:"","YYYY-MM-DD"))],imageSrc:n.bannerImgUrl,imageAlt:n.bannerImgReplacementTxt,tagType:["flag-event"],tagLabel:b,href:D,isExternalLink:x,gtmClick:{"ap-click-area":"NEW\ube0c\ub79c\ub4dc\uad00","ap-click-name":"NEW\ube0c\ub79c\ub4dc\uad00_[\uc11c\ube0c\ub9e4\uc7a5]\uc774\ubca4\ud2b8\ub9ac\uc2a4\ud2b8","ap-click-data":"".concat(null===v||void 0===v||null===(t=v.brand)||void 0===t?void 0:t.name,"_\uc774\ubca4\ud2b8"),"ap-promo-brand":null!==(f=null===v||void 0===v||null===(o=v.brand)||void 0===o||null===(a=o.englishBrandName)||void 0===a?void 0:a.toLowerCase())&&void 0!==f?f:"","ap-promo-name":null!==(m=n.exhibitionTitle)&&void 0!==m?m:"","ap-promo-id":null!==(E=null!==(g=null===(r=n.exhibitionNo)||void 0===r?void 0:r.toString())&&void 0!==g?g:null===(l=n.originalExhibitionNo)||void 0===l?void 0:l.toString())&&void 0!==E?E:"","ap-promo-index":e+1,"ap-promo-href":/^http(s?):\/\//.test(D)?D:p?"".concat(G.ld,"/kr/ko").concat(D):"".concat(G.ZK,"/kr/ko").concat(D)}},n.exhibitionNo)}))})]})]})}},15744:function(n,e,t){"use strict";t.r(e),t.d(e,{getGnbContents:function(){return r},getGnbExhibitionProductList:function(){return l},getHomeContents:function(){return a}});var i=t(70865),o=t(26297),a=function(n,e){var t=n.applyGnbMenuNo,i=(0,o.Z)(n,["applyGnbMenuNo"]);return e.apiGW.get("/sis/v1/contents/BRAND_HOME/".concat(t),{params:i})},r=function(n,e){var t=n.menuCode,a=n.applyGnbMenuNo,r=(0,o.Z)(n,["menuCode","applyGnbMenuNo"]);return e.apiGW.get("/sis/v1/contents/".concat(t,"/").concat(a),{params:(0,i.Z)({},r)})},l=function(n,e){var t=n.applyGnbMenuNo,i=(0,o.Z)(n,["applyGnbMenuNo"]);
1return e.apiGW.get("/sis/v1/contents/BRAND_PLANDISPLAY_DETAIL/".concat(t,"/products"),{params:i})}},14788:function(n,e,t){"use strict";var i=t(52322),o=t(2784),a=t(72779),r=t.n(a),l=t(84393),s=(0,o.forwardRef)((function(n,e){n.top;var t=n.className,o=n.children,a=(0,l.TW)();return(0,i.jsx)("div",{ref:e,className:r()("shop--sticky",{"is-header--exapand":(null===a||void 0===a?void 0:a.hasGnb)&&!(null===a||void 0===a?void 0:a.hidesGnb)},t),children:o})}));e.Z=s},59191:function(n,e,t){"use strict";t.d(e,{OR:function(){return l},vd:function(){return s.Z},an:function(){return c},b_:function(){return u.Z},Q9:function(){return d.Z}});var i=t(52322),o=(t(2784),t(72779)),a=t.n(o),r=t(40269);var l=function(n){var e=n.className,t=n.colsPC,o=void 0===t?3:t,l=n.colsMobile,s=void 0===l?1:l,c=n.children,u=n.useAnimation,d=void 0!==u&&u,v=n.animationDelay,p=n.animationDuration;return(0,i.jsx)(r.zS,{useAnimation:d,animationDelay:v,animationDuration:p,tag:"div",className:a()(e,"module__grid","p-col".concat(o,"_m-col").concat(s)),children:c})},s=t(19948);var c=function(n){var e=n.className,t=n.type,o=void 0===t?"main":t,r=n.colsPC,s=void 0===r?3:r,c=n.colsMobile,u=void 0===c?1:c,d=n.children;return(0,i.jsx)(l,{className:a()(e,"postList","shop-postList",{"shop-postList--sub":"sub"===o}),colsPC:s,colsMobile:u,children:d})},u=t(19611),d=t(14788)},97262:function(n,e,t){"use strict";t.d(e,{Z:function(){return a}});var i=t(2784),o=t(82775);function a(n){var e=(0,o.hr)().data;(0,i.useEffect)((function(){var t,i;if(e)return window.AP_SEARCH_SHOPBRANDCD=null!==(i=null===n||void 0===n?void 0:n.AP_SEARCH_SHOPBRANDCD)&&void 0!==i?i:null===e||void 0===e||null===(t=e.sisNo)||void 0===t?void 0:t.toString(),function(){window.AP_SEARCH_SHOPBRANDCD=void 0}}),[e,null===n||void 0===n?void 0:n.AP_SEARCH_SHOPBRANDCD]),r("AP_DATA_BRAND",null===n||void 0===n?void 0:n.AP_DATA_BRAND)}var r=function(n,e){(0,i.useEffect)((function(){if(e&&n)return window[n]=e,function(){window[n]=void 0}}),[n,e])}},41462:function(n,e,t){"use strict";t.d(e,{Z:function(){return r}});var i=t(2784),o=t(89033),a=t(41765);function r(){var n,e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.cacheTime,l=t.limit,s=t.storageKey,c=t.storageType,u=(0,a.Z)(),d=null!==(e=null===(n=u.memberInfo)||void 0===n?void 0:n.memberSn)&&void 0!==e?e:-1,v=(0,i.useMemo)((function(){return new o.Z({cacheTime:r,limit:l,storageKey:s,storageType:c,memberSn:d})}),[r,l,s,c,d]);return v}}},function(n){n.O(0,[9097,1423,1327,949,423,9159,172,7637,7949,5987,9955,8065,4739,5129,7790,9329,5631,9790,9774,2888,179],(function(){return e=42589,n(n.s=e);var e}));var e=n.O();_N_E=e}]);
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.