1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5405],{45728:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return n(11745)}])},11745:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return ep}});var i=n(85893),o=n(67294);n(9008);var a=n(11163),l=n(22190),d=n(4480),r=n(80149),s=n(63281),c=n(67838),u=n(39003);n(41664);var p=n(73935),m=n(50066);n(93220);var v=n(30719),g=n(90663),f=n(62722);n(90176);var h=n(84097);n(54484);var w=n(13498);n(7134);var x=n(25575);n(5914),n(93186),n(47109);var b=n(57506),y=n(19432),Z=n(36575),S=n(64685),P=n(36230),I=n(19776),C=n(9196),j=n(36015),k=n(5057),T=n(17510),E=n(41153),N=n(27688),M=n(21063),z=n(33405),_=n(83084),A=n(44460);n(66761),n(60853),n(67555);var F=n(64683),H=n(47622),U=n(18561),O=n(85518),R=n(11948);n(1785);var D=n(81354),q=n.n(D);n(63126);var K=n(69827),L=n(48422);function B(e){var t,n,s;let{mainBanners:c,eventBanners:u,middleBanners:m,straightBanners1st:v,straightBanners2nd:h,roundBanners:A,categories:F,rankProducts:H,newProducts:D,hotDealList:B,arrangedProductGroups:Y=[],catalog:J,popUp:W,exhibitionsInfo:G,exhibitionsModulesInfo:$,activeMainstoryList:ee,activeMainReviewList:et,adManager:en,bestProductsTabIndex:ei,setBestProductsTabIndex:eo,newProductsTabIndex:ea,setNewProductsTabIndex:el,handleNavigateTo:ed,hydrated:er,handleCategoryBestChange:es,handleCategoryNewChange:ec,isMob:eu,showPopUp:ep,setShowPopUp:em,showDrawerPopUp:ev,setShowDrawerPopUp:eg,sortBestCategories:ef,setSortBestCategories:eh,sortNewCategories:ew,setSortNewCategories:ex,recopicProducts:eb,exhibitionKwrd:ey,mainHtml:eZ,mainNewLinkInfo:eS}=e;(0,d.sJ)(r.cH);let eP=(0,d.sJ)(r.cz),[eI,eC]=(0,o.useState)(!0),[ej,ek]=(0,o.useState)(!1),eT=(0,o.useRef)(null),[eE,eN]=(0,o.useState)(0);(0,o.useRef)(null);let[eM,ez]=(0,o.useState)(0),e_=(null===(t=window)||void 0===t?void 0:t.android)!==void 0||(null===(n=window)||void 0===n?void 0:n.webkit)!==void 0,eA=(0,a.useRouter)(),eF=(0,d.rb)(g.vx),eH=(0,d.sJ)(l.ar),[eU,eO]=(0,d.FV)(l.jl),[eR,eD]=(0,o.useState)(!1),eq=eu&&e_,{t:eK,ready:eL,tstr:eB,isEn:eY}=(0,L.ZK)();(0,o.useEffect)(()=>{if("HQS"!==eP)return;let e=window.location.pathname,t=window.localStorage.getItem("language");if(t||(t="KOREAN"),console.log("íì´ì§ ì§ì
--> "+t),e.startsWith("/en")?t="English":e.startsWith("/ko")&&(t="KOREAN"),"true"===sessionStorage.getItem("skipNextUrlCleanup")){if(sessionStorage.removeItem("skipNextUrlCleanup"),"/ko"===e||"/en"===e||"/"===e){let e=window.localStorage.getItem("language");window.history.replaceState(null,"","KOREAN"===e?"/ko":"/en")}return}window.localStorage.getItem("language")!==t&&(window.localStorage.setItem("language",t),(0,R.d8)("language",t,{path:"/",maxAge:2592e3}),eA.reload())},[eP,eA]),(0,o.useEffect)(()=>{if("HQS"===eP){(0,K.Y)({wp_hcuid:(null==eH?void 0:eH.userId)?q().AES.encrypt(JSON.stringify(null==eH?void 0:eH.userId),q().lib.WordArray.random(32).toString()).toString():"",ti:"55379",ty:"Home",device:"web"});let e=new Date,t=e.getFullYear(),n=String(e.getMonth()+1).padStart(2,"0"),i=String(e.getDate()).padStart(2,"0"),o=String(e.getHours()).padStart(2,"0"),a=String(e.getMinutes()).padStart(2,"0"),l=String(e.getSeconds()).padStart(2,"0"),d=-1*e.getTimezoneOffset(),r=String(Math.floor(d/60)).padStart(2,"0"),s=String(d%60).padStart(2,"0"),c="".concat(t,"-").concat(n,"-").concat(i,"T").concat(o,":").concat(a,":").concat(l).concat(d>=0?"+":"-").concat(r,":").concat(s),u=new URL(window.location.href),p=navigator.userAgent.toLowerCase(),m=p.indexOf("android")>-1,v=p.indexOf("mac")>-1,g="pc";ek(v),O.tq&&!eq?g="mobile":eq&&(g=m?"android":v?"ios":"mobile"),braze.logCustomEvent("main_page_visit",{event_name:"main_page_visit",event_time:c,is_login:!!eH,current_path:null==u?void 0:u.href,platform:g})}},[eA]),(0,o.useEffect)(()=>{(async()=>{eh((await Promise.all(null==F?void 0:F.map(async(e,t)=>{if((null==e?void 0:e.name)===eK("extra.all")||(null==e?void 0:e.productCount)>0)return e}))).filter(e=>null==e?void 0:e.id))})()},[F]),(0,o.useEffect)(()=>{(async()=>{ex((await Promise.all(null==F?void 0:F.map(async(e,t)=>{if(e.name===eK("extra.all")||(null==e?void 0:e.newProductCount)>0)return e}))).filter(e=>null==e?void 0:e.id))})()},[F]),ef.reduce((e,t)=>
1e.includes(t)?e:[...e,t],[]),ew.reduce((e,t)=>e.includes(t)?e:[...e,t],[]),(0,o.useEffect)(()=>{void 0!=H&&void 0!=D&&eC(!1)},[H,D]),(0,o.useEffect)(()=>{eF()},[eF]),(0,o.useEffect)(()=>{var e,t;null===(t=eT.current)||void 0===t||null===(e=t.swiper)||void 0===e||e.slideTo(eE)},[eE]),(0,o.useEffect)(()=>{eH&&!eU&&eO(!0)},[eH,eU,eO]),null==A||A.length,null==A||A.length,Y.reduce((e,t)=>e+(t.useCheck?1:0),0);let[eJ,eX]=(0,d.FV)(r.C1);return(0,o.useEffect)(()=>(eX({keyword:ey}),()=>{eX({keyword:""})}),[ey]),console.log($),(0,i.jsxs)(i.Fragment,{children:[eR?(0,p.createPortal)((0,i.jsx)(x.default,{setModalControl:eD,modalControl:eR,user:eH}),document.body):null,(ep||ev)&&"/"===eA.pathname?(0,i.jsx)(w.Z,{sources:W,setShowPopUp:em,setShowDrawerPopUp:eg,showDrawerPopUp:ev}):null,eI&&(O.tq?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(X,{children:(0,i.jsx)("img",{style:{width:"100%",height:"100%"},src:"/assets/images/empty_main_mobile.png",alt:"Loading"})}),(0,i.jsx)(U.Z,{})]}):(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(U.Z,{})})),(0,i.jsx)("div",{className:"page-wrap-full",children:(0,i.jsxs)("div",{className:"main-custom-view",children:[(0,i.jsxs)("div",{className:"content-view",children:[(0,i.jsx)("h2",{className:"blind",children:"ë©ì¸ íì´ì§"}),null==$?void 0:null===(s=$.modules)||void 0===s?void 0:s.map((e,t)=>{let n="module-".concat(t);return"visual"===e.moduleType?(0,i.jsx)(Z.Z,{module:e},n):"banner-list"===e.moduleType&&"square"===e.subModuleType?(0,i.jsx)(S.Z,{module:e},n):"banner-list"===e.moduleType&&"circle"===e.subModuleType?(0,i.jsx)(P.Z,{module:e},n):"banner-list"===e.moduleType&&"circle_swipe"===e.subModuleType?(0,i.jsx)(I.Z,{module:e},n):"banner-list"===e.moduleType&&("belt1"===e.subModuleType||"belt2"===e.subModuleType)?(0,i.jsx)(C.Z,{module:e},n):"banner-list"===e.moduleType&&"double"===e.subModuleType?(0,i.jsx)(j.Z,{module:e},n):"banner-list"===e.moduleType&&"slide"===e.subModuleType?(0,i.jsx)(k.Z,{module:e},n):"story"===e.moduleType||"review"===e.moduleType?(0,i.jsx)(T.Z,{module:e},n):"html"===e.moduleType?(0,i.jsx)(E.Z,{module:e},n):"new-prod"===e.moduleType||"best-prod"===e.moduleType||"tab-prod"===e.moduleType?(0,i.jsx)(N.Z,{module:e},n):"buy-more"===e.moduleType?(0,i.jsx)(M.Z,{module:e},n):"video-prod"===e.moduleType?(0,i.jsx)(z.Z,{module:e},n):"hot-deal"===e.moduleType?null==B?void 0:B.map(e=>(0,i.jsx)(_.Z,{module:e,hydrated:er},n)):"mobile-ad"===e.moduleType?(0,i.jsx)("div",{className:"ad-box",children:O.tq&&(0,i.jsxs)(i.Fragment,{children:[(null==en?void 0:en.defaultYn)==="Y"&&(0,i.jsx)(y.Z,{}),(null==en?void 0:en.defaultYn)==="N"&&(0,i.jsx)(i.Fragment,{children:(null==en?void 0:en.image1Type)==="IMAGE"?(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(f.Z,{src:null==en?void 0:en.image1Url,ml:"24px",mr:"2rem"})}):(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(V,{children:(0,i.jsx)(Q,{inquiryFiles:null==en?void 0:en.image2Url})})})})]})},n):null})]}),(0,i.jsx)("div",{className:"ad-view",children:(0,i.jsxs)("div",{className:"main-ad-banner",children:[(null==en?void 0:en.defaultYn)==="Y"&&(0,i.jsx)("div",{className:"banner-video",children:(0,i.jsx)(b.Z,{})}),(null==en?void 0:en.defaultYn)==="N"&&(0,i.jsx)(i.Fragment,{children:(null==en?void 0:en.image1Type)==="IMAGE"?(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(f.Z,{src:null==en?void 0:en.image1Url,ml:"2rem",mr:"2rem"})}):(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(V,{children:(0,i.jsx)(Q,{inquiryFiles:null==en?void 0:en.image1Url})})})}),eY?(0,i.jsx)("div",{className:"banner-imgs",dangerouslySetInnerHTML:{__html:null==en?void 0:en.bannerTxtEn}}):(0,i.jsx)("div",{className:"banner-imgs",dangerouslySetInnerHTML:{__html:null==en?void 0:en.bannerTxt}})]})})]})})]})}m.ZP.img.withConfig({componentId:"sc-b2d5c11-0"})(["width:4rem;height:4rem;","{width:3rem;height:3rem;}"],A.Z.device.responsive),m.ZP.div.withConfig({componentId:"sc-b2d5c11-1"})(["position:relative;overflow:hidden;height:780px;margin:auto;"]),m.ZP.div.withConfig({componentId:"sc-b2d5c11-2"})(["position:relative;margin-top:-320px;min-height:100vh;min-width:1300px;.mo{display:none;}","{.mo{display:inline-block;}.pc{display:none;}min-width:auto;min-width:375px;margin-top:-89px;padding-bottom:0;}"],A.Z.device.responsive),m.ZP.div.withConfig({componentId:"sc-b2d5c11-3"})(["margin:auto;"]),m.ZP.div.withConfig({componentId:"sc-b2d5c11-4"})(["margin:auto;width:100%;"]);let Y=m.ZP.div.withConfig({componentId:"sc-b2d5c11-5"})(["width:1300px;margin:auto;margin-bottom:50px;margin-top:120px;:nth-of-type(1){margin-top:0;}","{width:100%;}","{width:100%;margin-top:60px;}"],A.Z.device.tablet,A.Z.device.responsive);(0,m.ZP)(Y).withConfig({componentId:"sc-b2d5c11-6"})(["margin-top:-140px !important;","{margin-top:0 !important;}"],A.Z.device.responsive),(0,m.ZP)(Y).withConfig({componentId:"sc-b2d5c11-7"})(["margin-top:120px;padding-left:310px;padding-right:310px;"]),(0,m.ZP)(Y).withConfig({componentId:"sc-b2d5c11-8"})(["padding-bottom:120px;","{padding-bottom:20px;}"],A.Z.device.responsive),m.ZP.div.withConfig({componentId:"sc-b2d5c11-9"})(["position:relative;width:1300px;margin:60px auto 0;.swiper{position:static;}:hover{.swiper-button-prev,.swiper-button-next{opacity:0.8;}}.swiper-button-prev,.swiper-button-next{opacity:1;}.swiper-button-next,.swiper-button-prev{width:30px !important;height:30px !important;background-color:transparent;}.swiper-button-prev::after,.swiper-button-next::after{color:#ccc;font-size:2.5rem !important;}.swiper-button-prev:hover::after,.swiper-button-next:hover::after{color:#000;}.swiper-button-prev{left:-30px !important;}.swiper-button-next{right:-30px !important;}","{width:100%;}","{width:100%;height:auto;margin:40px 0;padding-left:2.5%;.swiper-button-prev,.swiper-button-next{display:none;}}"],A.Z.device.tablet,A.Z.device.responsive),m.ZP.div.withConfig({componentId:"sc-b2d5c11-10"})(["position:relative;width:190px;padding-bottom:190px;border-radius:100%;margin:0 auto 20px;overflow:hidden;","{width:100%;padding-bottom:100%;margin-bottom:12px;}"],A.Z.device.responsive),m.ZP.img.withConfig({componentId:"sc-b2d5c11-11"})(["position:absolute;
1left:0;top:0;width:100%;height:100%;"]),m.ZP.div.withConfig({componentId:"sc-b2d5c11-12"})(["text-align:center;font-family:'PretendardBold';max-width:100%;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;word-wrap:break-word;","{font-family:'PretendardSemiBold';font-size:1.5rem;span{display:block;}}"],A.Z.device.responsive);let J=m.ZP.h2.withConfig({componentId:"sc-b2d5c11-13"})(["font-family:'PretendardBold';font-size:40px;text-align:center;","{width:95%;margin:0 auto;text-align:left;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;font-size:2.4rem;word-break:break-all;}"],A.Z.device.responsive);(0,m.ZP)(J).withConfig({componentId:"sc-b2d5c11-14"})(["position:relative;color:#fff;","{color:#000;}"],A.Z.device.responsive),m.ZP.div.withConfig({componentId:"sc-b2d5c11-15"})(["font-size:1.4rem;display:none;align-items:center;font-family:'Pretendard';","{display:flex;}"],A.Z.device.responsive),m.ZP.div.withConfig({componentId:"sc-b2d5c11-16"})(["width:200px;height:200px;padding:20px;position:absolute;bottom:10px;right:10px;z-index:1;display:block;color:#fff;line-height:2;border-radius:15px;background-color:rgba(0,0,0,0.7);p{margin-bottom:2rem;}span{display:block;line-height:1.88;}","{width:120px;height:120px;border-radius:5px;padding:10px;font-size:11px;p{font-size:12px;line-height:12px;margin-bottom:1rem;}span{line-height:1.64;}}"],A.Z.device.responsive),m.ZP.img.withConfig({componentId:"sc-b2d5c11-17"})(["border-radius:15px;","{border-radius:0;}"],A.Z.device.responsive),m.ZP.div.withConfig({componentId:"sc-b2d5c11-18"})(["display:flex;","{flex-direction:column;}"],A.Z.device.responsive),m.ZP.div.withConfig({componentId:"sc-b2d5c11-19"})(["width:484px;.banner-box{display:block;position:relative;overflow:hidden;width:100%;padding-bottom:768px;border-radius:15px;}","{width:calc(100% - 4rem);margin:0 auto;.banner-box{padding-bottom:100%;border-radius:10px;}}"],A.Z.device.responsive),m.ZP.img.withConfig({componentId:"sc-b2d5c11-20"})(["position:absolute;bottom:0;left:0;cursor:pointer;width:100%;height:100%;object-fit:cover;"]),m.ZP.div.withConfig({componentId:"sc-b2d5c11-21"})(["width:calc(100% - 484px - 54px);margin-left:54px;display:grid;grid-template-columns:repeat(2,1fr);grid-auto-rows:384px;grid-column-gap:4rem;","{max-width:none;width:100%;margin:2rem 0 0 0;margin-left:0;padding:0 2rem;display:flex;justify-content:space-between;gap:1.2rem;overflow-x:scroll;-ms-overflow-style:none;scrollbar-width:none;&::-webkit-scrollbar{display:none;}}"],A.Z.device.responsive),m.ZP.div.withConfig({componentId:"sc-b2d5c11-22"})(["position:relative;display:flex;justify-content:center;flex-direction:column;align-items:center;","{width:40vw;display:block;}"],A.Z.device.responsive),m.ZP.span.withConfig({componentId:"sc-b2d5c11-23"})(["position:absolute;top:-20px;right:1rem;font-family:'Libre Baskerville';font-weight:100;font-size:8.8rem;text-align:center;color:#ccc;","{font-size:3rem;top:0;right:0;}"],A.Z.device.responsive),m.ZP.div.withConfig({componentId:"sc-b2d5c11-24"})(["position:relative;",";","{",";}"],function(e){return e.first?"\n bottom: 6rem;\n left: 6rem;\n ":e.small?"\n width: 100%;\n text-align: center;\n bottom:0;\n left:50%;\n transform: translateX(-50%);\n padding-left:10px;\n ":void 0},A.Z.device.responsive,function(e){return e.first?"\n bottom: 2rem;\n left: 2rem;\n ":e.small?"\n // position: static;\n text-align: left;\n left: 0;\n transform: none;\n ":void 0}),m.ZP.div.withConfig({componentId:"sc-b2d5c11-25"})(["margin-bottom:2rem;em{display:block;font-size:1.6rem;color:#666;margin-bottom:1.2rem;font-style:normal;font-family:'PretendardMedium';}strong{display:block;font-size:2rem;color:#222;font-family:'PretendardSemiBold';max-width:350px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}","{margin-bottom:1.1rem;em{font-size:1.2rem;margin-bottom:0.8rem;}strong{font-size:1.3rem;}}"],A.Z.device.responsive),m.ZP.div.withConfig({componentId:"sc-b2d5c11-26"})(["> div{margint-bottom:0.4rem;}","{> div{margint-bottom:0.3rem;}}"],A.Z.device.responsive),m.ZP.em.withConfig({componentId:"sc-b2d5c11-27"})(["display:inline-block;font-style:normal;font-size:2rem;",";","{font-size:1.2rem;","};"],function(e){return e.gray?"\n color: #666;\n text-decoration: line-through;\n\n ":e.red?"\n color: #e1251b;\n font-family: 'PretendardSemiBold';\n margin-left: 1.2rem\n ":e.bold?"\n font-family: 'PretendardSemiBold';\n font-size: 2.5rem;\n ":void 0},A.Z.device.responsive,function(e){return e.gray?"\n font-size: 1.2rem;\n ":e.red?"\n font-size: 1.3rem;\n ":e.bold?"\n font-size: 1.4rem;\n ":void 0}),m.ZP.div.withConfig({componentId:"sc-b2d5c11-28"})(["margin-top:60px;display:grid;> div:nth-of-type(1){max-width:484px;max-height:868px;aspect-ratio:484 / 868;object-fit:contain;grid-column:1 / span 2;grid-row:1 / span 2;}> div:nth-of-type(2){grid-column:3 / span 1;grid-row:1 / span 1;}> div:nth-of-type(3){grid-column:4 / span 1;grid-row:1 / span 1;}","{margin-top:20px;}"],A.Z.device.responsive),m.ZP.div.withConfig({componentId:"sc-b2d5c11-29"})(["position:relative;max-width:408px;max-height:434px;"]),m.ZP.div.withConfig({componentId:"sc-b2d5c11-30"})(["display:flex;height:600px;gap:20px;","{width:95%;margin:0 auto;display:block;height:auto;}"],A.Z.device.responsive),m.ZP.div.withConfig({componentId:"sc-b2d5c11-31"})(["flex:1.1;height:100%;border-radius:15px;background-color:#f4f4f4;font-family:'PretendardBold';padding:132px 60px;> div:nth-of-type(1){font-size:2rem;}> div:nth-of-type(2){font-size:6rem;}> div:nth-of-type(3){font-size:4rem;margin-top:200px;}","{padding:39px 0 0 0;height:auto;border-radius:0px;> div:nth-of-type(1){font-size:1.2rem;}> div:nth-of-type(2){font-size:2.4rem;}> div:nth-of-type(3){font-size:2rem;margin-top:24px;display:flex;justify-content:center;align-items:center;}}"],A.Z.device.responsive),m.ZP.div.withConfig({componentId:"sc-b2d5c11-32"})(["position:relative;flex:2;"]),m.ZP.div.withConfig({componentId:"sc-b2d5c11-33"})(["position:relative;height:600px;z-index:10;border-radius:15px;background:url('../images/shu_sm.png') no-repeat;overflow:hidden;&:after{content:'';width:100%;height:100%;position:absolute;top:0;left:0;background-color:rgba(0,0,0,0.3);}","{margin-top:1.2rem;width:100%;min-height:180px;height:48vw;background-size:100% auto;background-position:center;}"],A.Z.device.responsive),m.ZP.div.withConfig({componentId:"sc-b2d5c11-34"})(["color:#fff;position:absolute;top:100px;left:145px;z-index:20;p{margin-bottom:4px;font-family:'PretendardBold';}span{font-size:24px;margin-right:10px;}","{position:relative;top:0;left:0;background:#fff;color:#000;margin-top:1rem;padding:2rem;border-radius:1rem;p{font-size:1.6rem;}span{font-size:1.4rem;}}"],A.Z.device.responsive),(0,m.ZP)(v.tq).withConfig({componentId:"sc-b2d5c11-35"})([".img-box{display:block;}.swiper-pagination-fraction{width:54px;padding:3px 0;left:93%;border-radius:10px;font-size:1.2rem;color:#fff !important;background:rgba(0,0,0,0.5);","{width:48px;left:calc(100% - 20px);bottom:12px;transform:translateX(-100%);}}.swiper-button-prev,.swiper-button-next{","{display:none;}}:hover{.swiper-button-prev,.swiper-button-next{opacity:0.8;}}.swiper-button-prev,.swiper-button-next{opacity:0;}"],A.Z.device.responsive,A.Z.device.responsive),(0,m.ZP)(v.tq).withConfig({componentId:"sc-b2d5c11-36"})([""]),m.ZP.div.withConfig({componentId:"sc-b2d5c11-37"})(["position:relative;width:100%;padding-bottom:100%;border-radius:",";overflow:hidden;"],A.Z.radius.basic),m.ZP.img.withConfig({componentId:"sc-b2d5c11-38"})(["position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;"]),(0,m.ZP)(v.tq).withConfig({componentId:"sc-b2d5c11-39"})([""]),m.ZP.img.withConfig({componentId:"sc-b2d5c11-40"})([""]),(0,m.ZP)(h.Z).withConfig({componentId:"sc-b2d5c11-41"})(["","{padding:0 25px 0 25px;}"],A.Z.device.tablet),m.ZP.div.withConfig({componentId:"sc-b2d5c11-42"})(["margin-top:12rem;","{margin-top:2rem;}"],A.Z.device.responsive),m.ZP.div.withConfig({componentId:"sc-b2d5c11-43"})(["width:100%;height:100%;display:'block';color:'#000';display:flex;flex-direction:column;align-items:center;justify-content:center;background-color:#fff;border-radius:15px;border:solid 1px #ccc;background-color:#fff;font-size:22px;letter-spacing:normal;text-align:center;color:#666;gap:15px;","{width:259px !important;height:326px !important;}"],A.Z.device.responsive);let X=m.ZP.div.withConfig({componentId:"sc-b2d5c11-44"})(["","{width:100%;height:100vh !important;}"],A.Z.device.responsive),Q=e=>{let{inquiryFiles:t}=e,n=(0,o.useRef)(null),[a,l]=(0,o.useState)(!1);(0,o.useEffect)(()=>
1{if(!O.tq&&n.current){let e=n.current.play();void 0!==e&&e.catch(()=>{})}},[O.tq]);let d=(0,o.useCallback)(()=>{var e,t;a?null===(e=n.current)||void 0===e||e.pause():null===(t=n.current)||void 0===t||t.play()},[a]);return(0,i.jsxs)(W,{children:[(0,i.jsx)("video",{ref:n,src:"".concat(t,"#t=0.1"),muted:!0,preload:"metadata",controls:!0,playsInline:!0,autoPlay:"true",loop:!0,onPlay:()=>l(!0),onPause:()=>l(!1)}),!a&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{}),(0,i.jsx)(f.Z,{onClick:d,button:!0,src:"/icons/playbtn.svg",alt:"ì¬ì ìì´ì½",imgWrapClassName:"play-icon",pc:{width:"32px",height:"32px"}})]})]})},V=m.ZP.button.withConfig({componentId:"sc-b2d5c11-45"})(["width:100%;padding:0;border:0;display:flex;justify-content:center;align-items:center;overflow:hidden;background:transparent;@media (min-width:768px){max-width:370px;}"]),W=m.ZP.div.withConfig({componentId:"sc-b2d5c11-46"})(["width:100%;position:relative;> video{width:100%;height:auto;display:block;object-fit:cover;}> span,.play-icon{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);}> span{width:100%;height:100%;background:rgba(0,0,0,0.5);}"]);var G=n(42586),$=n(48769),ee=n(22906),et=n(63867),en=n(55847),ei=n(74942),eo=n(73897),ea=n(61799);let el=async e=>{try{return await R.c.get("/main/getMainHtml",{headers:e})}catch(e){console.error(e)}};var ed=n(75211),er=n(40371),es=n(34212),ec=n(36455),eu=n(22770);function ep(e){let{host:t}=e,{t:n,ready:p}=(0,L.ZK)(),m=(0,c.Z)("(max-width:768px)"),{lockScroll:v}=(0,ed.Z)(),g=(0,d.sJ)(r.cz),[f,h]=(0,o.useState)([]),[w,x]=(0,o.useState)([]),[b,y]=(0,o.useState)(!1),[Z,S]=(0,o.useState)(0),[P,I]=(0,o.useState)(0),[C,j]=(0,o.useState)(""),[k,T]=(0,o.useState)([]),[E,N]=(0,o.useState)(!1),[M,z]=(0,o.useState)(!1),_=(0,a.useRouter)(),A=(0,F.ej)("SEEN_POPUP"),U=(0,d.sJ)(l.ar),[O,R]=(0,o.useState)([]),[D,q]=(0,o.useState)([]),[K,Y]=(0,o.useState)([]),[J,X]=(0,o.useState)([]),[Q,V]=(0,o.useState)([]),[W,ep]=(0,o.useState)([]),[em,ev]=(0,o.useState)([]),[eg,ef]=(0,o.useState)([]),[eh,ew]=(0,o.useState)(),[ex,eb]=(0,o.useState)(),[ey,eZ]=(0,o.useState)(),[eS,eP]=(0,o.useState)(),[eI,eC]=(0,o.useState)(),[ej,ek]=(0,o.useState)(),[eT,eE]=(0,o.useState)(),[eN,eM]=(0,o.useState)([]),[ez,e_]=(0,o.useState)(),[eA,eF]=(0,o.useState)(),[eH,eU]=(0,o.useState)(),[eO,eR]=(0,o.useState)(),[eD,eq]=(0,o.useState)(),[eK,eL]=(0,o.useState)(null),[eB,eY]=(0,o.useState)(null),[eJ,eX]=(0,o.useState)([{id:0,name:n("extra.all")}]),[eQ,eV]=(0,o.useState)([{id:0,name:n("extra.all")}]),[eW,eG]=(0,o.useState)("");(0,o.useEffect)(()=>{let e=null,t=null;if(_.asPath){let n=new URLSearchParams(_.asPath.split("?")[1]);try{e=n.get("previewId"),t=n.get("previewType")}catch(e){}}let i=async n=>{let[i,o]=await Promise.allSettled([(0,et.wR)("","",0,20),(0,en.XA)()]).catch(e=>{console.error(e)}),a=e||((null==n?void 0:n.data)?n.data.activeMainId:""),l=t||((null==n?void 0:n.data)?n.data.activeMain:""),d=t||((null==n?void 0:n.data)?n.data.seoKwrd:""),r=await (0,ei.w_)(a);eG(d);let s=await (0,ea.F)("MAIN"),c=await (0,ei.yz)(a);eY((null==c?void 0:c.data)?null==c?void 0:c.data:null);let u=[];return null!=o&&o.value.data.some(e=>{null==e.affiliateCodes&&(u.push(e),eC(u))}),ek(e||null),R(null),q(r?r.data:null),eq(s?s.data:null),eE(l),eZ(i.value?i.value.data:null),ew([]),h([]),eb([]),x([]),!0},o=async i=>{var o,a,l,d,r;let[s,c,u,p,m,v,g,f,h,w,x,b,y,Z]=await Promise.allSettled([(0,ee.Qi)("HOME",""),(0,ee.pV)("HOME"),(0,ee.wS)("MAIN1"),(0,ee.wS)("MAIN2"),(0,ee.xo)(),(0,$.CP)(),(0,et.wR)("","",0,20),(0,eo.V)(),(0,en.XA)(),(0,es.Mw)(),(0,ec.Jx)(),(0,ec.kw)(),(0,ei.Qm)("1ST"),(0,ei.Qm)("2ND")]).catch(e=>{console.error(e)}),S=e||((null==i?void 0:i.data)?i.data.activeMainId:""),P=t||((null==i?void 0:i.data)?i.data.activeMain:""),I=t||((null==i?void 0:i.data)?i.data.seoKwrd:""),C=await (0,ei.wu)("SEASONAL"===P?"seasonal":"main",S),j=await (0,ei.w_)(S);eG(I);let k=await (0,ea.F)("MAIN"),E=await (0,ei.yz)(S);eY((null==E?void 0:E.data)?null==E?void 0:E.data:null);let N=[];null!=h&&h.value.data.some(e=>{null==e.affiliateCodes&&(N.push(e),eC(N))}),ek(e||null),R(C?C.data:null),q(j?j.data:null),eq(k?k.data:null),X(s.value?s.value.data:null),V(c.value?c.value.data:null),ep(u.value?u.value.data:null),ev(p.value?p.value.data:null),ef(m.value?m.value.data:null),T(v.value?v.value.data:null),eP(f.value?f.value.data:null),eE(P),eZ(g.value?g.value.data:null),Y(null==w?void 0:null===(o=w.value)||void 0===o?void 0:o.data),e_(x.value?null==x?void 0:null===(a=x.value)||void 0===a?void 0:a.data:null),eF(b.value?null==b?void 0:null===(l=b.value)||void 0===l?void 0:l.data:null),eU(y.value?null==y?void 0:null===(d=y.value)||void 0===d?void 0:d.data:null),eR(Z.value?null==Z?void 0:null===(r=Z.value)||void 0===r?void 0:r.data:null);let M=v.value?v.value.data:[];if(null==M||!M.find(e=>e.name===n("extra.all")))return T([{id:Math.random().toString(),name:n("extra.all")},...M]),e$(),!0},a=async t=>{try{let t=await el(),o=await (0,ea.F)("MAIN"),a=await (0,en.XA)();
1if(!t||!t.data)return console.log("mainHtml API ìëµì´ ì í¨íì§ ììµëë¤:",t),!1;{var n,i;eL((null==t?void 0:null===(n=t.data)||void 0===n?void 0:n.htmlTxt)?null==t?void 0:null===(i=t.data)||void 0===i?void 0:i.htmlTxt:null);let l=[];return null!=a&&a.data.some(e=>{null==e.affiliateCodes&&(l.push(e),eC(l))}),ek(e||null),R(null),q(null),eq(o?o.data:null),!0}}catch(e){return console.error("getMainHtml API í¸ì¶ ì¤ë¥:",e),!1}};e0(),(async()=>{try{var e;let n=await (0,ei.Hq)();eM(n||null);let l=t||((null==n?void 0:n.data)?n.data.activeMain:"");eE(l);let d=null==n?void 0:null===(e=n.data)||void 0===e?void 0:e.activeMain;("HTML"===d?await a(n):"MAIN2.0"===d?await i(n):await o(n))||(console.log("getMainHtmlì´ ì¤í¨íìµëë¤. getData()를 í¸ì¶í©ëë¤."),o(n))}catch(e){console.error("ì¤í ì¤ ì¤ë¥:",e),o(null)}})()},[]);let e$=async()=>{let[e,t]=await Promise.allSettled([(0,H.rd)(21,0,""),(0,H.o4)(21,0,"")]).catch(e=>{console.error(e)});ew((null==e?void 0:e.value)?null==e?void 0:e.value.data:null),h((null==e?void 0:e.value)?null==e?void 0:e.value.data:null),eb((null==t?void 0:t.value)?t.value.data:null),x((null==t?void 0:t.value)?t.value.data:null)},e0=async()=>{await (0,eu.bH)(U,sessionStorage.getItem("prevPath"),_.asPath)};(0,o.useEffect)(()=>{if(!Z)return h(eh);Z&&(async()=>{h((await (0,H.P_)(parseInt(C))).data)})()},[Z]),(0,o.useEffect)(()=>{scrollTo({top:0})},[_]),(0,o.useEffect)(()=>{if(!P)return x(ex);P&&(async()=>{x((await (0,H.Yc)(parseInt(C))).data)})()},[P]),(0,o.useEffect)(()=>{y(!0)},[]),(0,o.useEffect)(()=>{if(A||ej){N(!1),z(!1);return}if(null==eI?void 0:eI.length){if(v(),m){z(!0);return}N(!0)}},[eI]);let[e1,e2]=(0,o.useState)(""),e5=null==K?void 0:K.filter(e=>{if(e.planNum===(null==O?void 0:O.plan1stDisplayId))return e}),e4=null==K?void 0:K.filter(e=>{if(e.planNum===(null==O?void 0:O.plan2ndDisplayId))return e}),e3=[];null==e5||e5.map((e,t)=>{e3.push({useCheck:null==O?void 0:O.plan1stUseCheck,displayId:null==O?void 0:O.plan1stDisplayId,titleChangeKor:null==O?void 0:O.plan1stTitleChangeKor,titleChangeEng:null==O?void 0:O.plan1stTitleChangeEng,planstThumbnail:null==O?void 0:O.plan1stThumbnail,products:eH})}),null==e4||e4.map((e,t)=>{e3.push({useCheck:null==O?void 0:O.plan2ndUseCheck,displayId:null==O?void 0:O.plan2ndDisplayId,titleChangeKor:null==O?void 0:O.plan2ndTitleChangeKor,titleChangeEng:null==O?void 0:O.plan2ndTitleChangeEng,planstThumbnail:null==O?void 0:O.plan2ndThumbnail,products:eO})});let e6=null==O?void 0:O.storyInfluenceMainResponseDto;if((null==e6?void 0:e6.length)>0){let e=null==e6?void 0:e6.sort((e,t)=>(null==e?void 0:e.storySortNum)-(null==t?void 0:t.storySortNum));O.storyInfluenceMainResponseDto=e}let[e8,e7]=(0,o.useState)([]);(0,o.useEffect)(()=>{(async()=>{try{if(U){let e=await (0,eu.dd)(localStorage.getItem("recopicUID"),20,"main");e7(e)}else{let e=await (0,eu.dP)(localStorage.getItem("recopicUID"),20,"main");e7(e)}}catch(e){console.error("Error Recopic products:",e)}})()},[U]);let e9={exhibitionsInfo:O,exhibitionsModulesInfo:D,mainBanners:J,middleBanners:Q,straightBanners1st:W,straightBanners2nd:em,roundBanners:eg,categories:k,rankProducts:Z?f:eh,newProducts:P?w:ex,hotDealList:ey,arrangedProductGroups:e3,catalog:eS,popUp:eI,activeMainstoryList:ez,activeMainReviewList:eA,adManager:eD,bestProductsTabIndex:Z,setBestProductsTabIndex:S,newProductsTabIndex:P,setNewProductsTabIndex:I,showPopUp:E,setShowPopUp:N,showDrawerPopUp:M,setShowDrawerPopUp:z,handleNavigateTo:e=>{let{to:t}=e.currentTarget.dataset;_.push(t)},hydrated:b,handleCategoryBestChange:e=>{var t;let{id:n}=e.target.dataset;j(null==eQ?void 0:null===(t=eQ[n])||void 0===t?void 0:t.id)},handleCategoryNewChange:e=>{var t;let{id:n}=e.target.dataset;j(null==eJ?void 0:null===(t=eJ[n])||void 0===t?void 0:t.id)},isMob:m,sortBestCategories:eQ,setSortBestCategories:eV,sortNewCategories:eJ,setSortNewCategories:eX,recopicProducts:e8,exhibitionKwrd:eW,mainHtml:eK,mainNewLinkInfo:eB},te="MLC"===g||(null==t?void 0:t.includes("skyshop.koreanairdfs.com"));return(0,i.jsxs)(i.Fragment,{children:[te&&(0,i.jsxs)("div",{className:"blind",children:[(0,i.jsx)("h1",{children:"ì§ìì´\xb7ì´ì¤ííê³µ\xb7íë¼ííê³µ\xb7ìì´íë 미ì 기ë´ë©´ì¸ ì¨ë¼ì¸ëª°"}),(0,i.jsx)("p",{children:"SKY SHOP(ì¤ì¹´ì´ìµ)ì ì§ìì´, ì´ì¤ííê³µ, íë¼ííê³µ, ìì´íë 미ì ê³ ê°ì ìí 기ë´ë©´ì¸ì ì
ëë¤."})]}),e1?"".concat(e1):(0,i.jsx)(s.Z,{children:"HTML"===eT?(0,i.jsx)(G.Z,{...e9}):"SEASONAL"===eT?(0,i.jsx)(er.Z,{...e9}):"MAIN2.0"===eT?(0,i.jsx)(B,{...e9}):(0,i.jsx)(u.Z,{...e9})})]})}n(69123)}},function(e){e.O(0,[5935,1296,3216,6276,3153,8785,6058,8372,6477,9847,8637,3228,7190,9698,2888,9774,179],function(){return e(e.s=45728)}),_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.