1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[60558,41354,97120,79464],{55669:function(e,t,r){"use strict";r.d(t,{default:function(){return o}});var n=r(57437),i=r(2265),s=r(92109),a=r(65746),c=r(91495);function o(e){let{open:t,title:r,description:o,buttons:l}=e,d=(0,c.E)(),u=void 0!==t,h=u?{open:t,title:null!=r?r:"",description:null!=o?o:"",buttons:null!=l?l:[]}:d,[f,p]=(0,i.useState)(!1),{isMobile:m}=(0,a.useDevice)();(0,i.useEffect)(()=>{p(h.open)},[h.open]);let x=()=>"string"==typeof h.description?(0,n.jsx)(s.yT,{dangerouslySetInnerHTML:{__html:h.description}}):(0,n.jsx)(s.yT,{asChild:!0,children:h.description});return m?(0,n.jsx)(s.aR,{open:f,children:(0,n.jsxs)(s._T,{children:[(0,n.jsxs)(s.fY,{children:[(0,n.jsx)(s.f$,{children:h.title}),x()]}),(0,n.jsx)(s.xo,{children:h.buttons.map((e,t)=>{let r=e.isAction?s.OL:s.le;return(0,n.jsx)(r,{onClick:async()=>{var t;return p(!1),u||c.E.getState().hide(),await (null===(t=e.onClick)||void 0===t?void 0:t.call(e))},children:e.text},t)})})]})}):(0,n.jsx)(s.aR,{open:f,children:(0,n.jsxs)(s._T,{className:"min-w-[612px] max-w-[612px]",children:[(0,n.jsxs)(s.fY,{children:[(0,n.jsx)(s.f$,{children:h.title}),x()]}),(0,n.jsx)(s.xo,{children:h.buttons.map((e,t)=>{let r=e.isAction?s.OL:s.le;return(0,n.jsx)(r,{size:"lg",onClick:async()=>{var t;return p(!1),u||c.E.getState().hide(),await (null===(t=e.onClick)||void 0===t?void 0:t.call(e))},children:e.text},t)})})]})})}},97120:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return m}});var n=r(57437),i=r(65746),s=r(81010),a=r(66665),c=r(33145),o=r(99376),l=r(49276),d=r(41692),u=r(14632),h=r(2265),f=r(13640),p=r(11238);function m(){let{isMobile:e}=(0,i.useDevice)(),t=(0,o.usePathname)(),r="/Main"===t||"/event"===t||"/event/2025renewal.do"===t||t.startsWith("/event/win/")||"/product/recommend"===t||"/product/combi/Main"===t||"/product/tvinternet/special"===t||"/product/tv/all"===t||"/product/internet/all"===t||"/product/mobile/special"===t||"/product/mobile/all"===t||"/directOrder/mobile/application"===t||"/directOrder/mobile/application/esim"===t,[m,x,g]=(0,l.Gl)("","text"),{openSheets:b,openSheet:v,closeSheet:j,formRef:y,state:k,action:w,setPhoneNumber:N,handleSetProduct:O,openDrawer:W,openDrawers:C,closeDrawer:_,setTerms:S,checkFillInput:F}=(0,l.G$)(),P=(0,u.C)(),{showLimitExceededAlert:D}=(0,p.V)(),E=(0,h.useCallback)(()=>{if(null==k?void 0:k.join)j("consultation"),(0,f.Wr)({description:"ìì½ ìë£! 1588-9944ìì ì°ë½ë릴ê²ì"});else if((null==k?void 0:k.msg)==="DAILY_LIMIT_EXCEEDED")j("consultation"),D();else if((null==k?void 0:k.focusField)&&y.current){let e=k.focusField,t=y.current.elements.namedItem(e);t&&"products"!==e&&"uCounselTime"!==e&&t.focus(),alert(k.errors)}},[k]);(0,h.useEffect)(()=>{E()},[E]);let R=(0,n.jsx)(n.Fragment,{}),A=(0,n.jsx)(n.Fragment,{children:r&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"SignupCounselBTBarPC fixed bottom-4 left-1/2 z-10 flex -translate-x-1/2 transition-transform duration-300 ".concat("down"===P?"translate-y-40":"translate-y-0"),children:[(0,n.jsxs)("div",{className:"bg-c22 flex h-[58px] items-center overflow-hidden rounded-es-[10px] rounded-ss-[10px] pl-5 pr-6",children:[(0,n.jsx)("span",{className:"w-[68px] whitespace-nowrap text-lg font-semibold text-white",children:"ê°ì
ìë´"}),(0,n.jsxs)("span",{className:"text-skylife-primary ml-2 flex w-[188px] items-center gap-1.5 whitespace-nowrap text-2xl font-bold",children:[(0,n.jsx)(c.default,{src:"/imagesPC/common/icon/24/call_w.png",width:"24",height:"24",alt:""}),"1588-9944"]}),(0,n.jsx)("span",{className:"ml-4 h-[38px] w-[222px]",children:(0,n.jsx)(a.I,{type:"input",id:"number",value:m,minLength:11,maxLength:11,onChange:g,className:"h-full w-full rounded-[10px] pl-4 text-sm",placeholder:"ì°ë½ì²ë¥¼ ì
ë ¥í´ ì£¼ì¸ì"})})]}),(0,n.jsx)("div",{className:"bg-skylife-primary h-[58px] overflow-hidden rounded-ee-[10px] rounded-se-[10px]",children:(0,n.jsxs)(s.Button,{className:"bg-skylife-primary text-block-94 md:hover:bg-skylife-primary active:bg-skylife-primary flex h-[58px] w-[139px] items-center rounded-none",onClick:()=>v("consultation"),children:["ì ì²í기",(0,n.jsx)(c.default,{src:"/imagesPC/common/icon/24/right_b94.png",width:"24",height:"24",alt:""})]})}),(0,n.jsx)("span",{className:"pointer-events-none absolute right-[139px] top-0 -translate-y-full translate-x-full transform",children:(0,n.jsx)(c.default,{src:"/imagesPC/common/img_bt_bar_260925.png",width:"124",height:"90",alt:""})})]}),(0,n.jsx)(d.Z,{openSheets:b,closeSheet:j,formRef:y,action:w,consultPhone:m,setPhoneNumber:N,handleSetProduct:O,openDrawer:W,openDrawers:C,closeDrawer:_,setTerms:S,checkFillInput:F})]})});return e?R:A}},14264:function(e,t){"use strict";var r=Symbol.for("react.element"),n=(Symbol.for("react.portal"),Symbol.for("react.fragment"),Symbol.for("react.strict_mode"),Symbol.for("react.profiler"),Symbol.for("react.provider"),Symbol.for("react.context"),Symbol.for("react.forward_ref"),Symbol.for("react.suspense"),Symbol.for("react.memo"),Symbol.for("react.lazy"),{isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}}),i=Object.assign,s={};function a(e,t,r){this.props=e,this.context=t,this.refs=s,this.updater=r||n}function c(){}function o(e,t,r){this.props=e,this.context=t,this.refs=s,this.updater=r||n}a.prototype.isReactComponent={},a.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},a.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},c.prototype=a.prototype;var l=o.prototype=new c;l.constructor=o,i(l,a.prototype),l.isPureReactComponent=!0;var d=Object.prototype.hasOwnProperty,u={key:!0,ref:!0,__self:!0,__source:!0};t.createElement=function(e,t,n){var i,s={},a=null,c=null;if(null!=t)for(i in void 0!==t.ref&&(c=t.ref),void 0!==t.key&&(a=""+t.key),t)d.call(t,i)&&!u.hasOwnProperty(i)&&(s[i]=t[i]);var o=arguments.length-2;if(1===o)s.children=n;else if(1<o){for(var l=Array(o),h=0;h<o;h++)l[h]=arguments[h+2];s.children=l}if(e&&e.defaultProps)for(i in o=e.defaultProps)void 0===s[i]&&(s[i]=o[i]);return{$$typeof:r,type:e,key:a,ref:c,props:s,_owner:null}}},94746:function(e,t,r){"use strict";e.exports=r(14264)},92119:function(){},86968:function(){},61582:function(){},43467:function(e,t,r){"use strict";r.d(t,{MW:function(){return i},M_:function(){return s}}),r(83079);
1var n=r(12119),i=(0,n.$)("c32ab9e0ed1f586dd000f2e957f057f37044373e");(0,n.$)("bc644ba704d31b4f1a79afb9463ecbe49f2cf24d"),(0,n.$)("3c4dce5c4f8c730a2b2696f70d0e3fec826ff50d");var s=(0,n.$)("aac9ff1df1d5e36f63b6fb0612f3d2c91f59277b")},38336:function(e,t,r){"use strict";r.d(t,{C9:function(){return s},WY:function(){return i},p3:function(){return a}}),r(83079);var n=r(12119);(0,n.$)("655450b810a9bf4164a55a9313569c701676135a"),(0,n.$)("251535cc15258217a3b6ee6c4d0663dedb7e4535");var i=(0,n.$)("c64d57f93f72a6762de107e9e96818d2f9e6d15b"),s=(0,n.$)("97ad7f299e7bad29c868a639e802b7ebddb195ee"),a=(0,n.$)("adb28104b220676f301751d0a3e2b7574d4e5c91");(0,n.$)("6eec8eb2a39aaa6e1cf2e06fa374708b9950ac44")},17653:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return H}});var n=r(57437),i=r(65746),s=r(99376),a=r(12414),c=r(33145),o=r(27648),l=r(81010),d=r(2265),u=r(92109),h=r(49276),f=r(65241),p=r(51725),m=r(78334),x=r(13640),g=r(78487),b=r(11238),v=r(9401),j=r(8652),y=r(55669),k=r(80826),w=r(79940),N=r(43467),O=r(31862),W=r(19266),C=r(38336);function _(){let{handleBack:e,hasPreviousPage:t}=(0,h.kX)("/Main");return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)(I,{children:[(0,n.jsx)("div",{}),(0,n.jsx)("button",{className:"h-8 w-8 min-w-8",onClick:()=>e(),children:(0,n.jsx)(c.default,{src:"/images/common/icon/32/close_b.svg",alt:"ë«ê¸°",width:"32",height:"32"})})]})})}function S(){let e=(0,s.useRouter)(),{setState:t}=(0,f.k)(),r=(0,f.k)(e=>e.products);return(0,f.k)(e=>e.modifyFavorite),(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)(I,{children:[(0,n.jsx)("div",{}),r.length>0&&(0,n.jsxs)("div",{className:"flex items-center gap-4",children:[(0,n.jsx)("button",{className:"h-8 w-8 min-w-8",onClick:()=>{e.push("/product/wishlist/compare")},children:(0,n.jsx)(c.default,{src:"/images/common/icon/32/compare.svg",alt:"compare",width:"32",height:"32"})}),(0,n.jsx)("button",{className:"h-8 w-8 min-w-8",onClick:()=>{e.push("/product/wishlist/combi")},children:(0,n.jsx)(c.default,{src:"/images/common/icon/32/combine.svg",alt:"combine",width:"32",height:"32"})}),(0,n.jsx)("button",{className:"h-8 w-8 min-w-8",onClick:()=>{e.push("/product/wishlist/modify")},children:(0,n.jsx)(c.default,{src:"/images/common/icon/32/edit.svg",alt:"edit",width:"32",height:"32"})})]})]})})}function F(){return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)(I,{children:[(0,n.jsxs)("div",{className:"text-center text-xl font-normal leading-8",children:[(0,n.jsx)("span",{className:"text-skylife-primary font-semibold",children:"120ëª
"}),"ì ê³ ê°ëì´ êµ¬ê²½ì¤"]}),(0,n.jsx)("button",{children:(0,n.jsx)(c.default,{src:"/images/common/icon/32/share.svg",alt:"ê³µì í기",width:"32",height:"32"})})]})})}function P(e){let{type:t}=e,r=(0,s.useRouter)(),[i,a]=(0,d.useState)(!0),u=(0,s.usePathname)();(0,d.useEffect)(()=>{u.includes("special")?a(!0):a(!1)},[u]);let h=e=>{"btnSpecialPlan"===e?(a(!0),"tvinternet"===t?r.push("/product/tvinternet/special"):r.push("/product/mobile/special")):"btnPdAll"===e&&(a(!1),"tvinternet"===t?r.push("/product/tv/all"):r.push("/product/mobile/all"))};return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)(I,{tabMove:!0,children:[(0,n.jsx)("button",{onClick:()=>r.push("/Main"),children:(0,n.jsx)(c.default,{src:"/images/common/icon/32/arrow_left_b.svg",alt:"ì´ì íì´ì§ ì´ë",width:"32",height:"32"})}),(0,n.jsx)("div",{className:"relative flex w-[200px] justify-between gap-1",children:(0,n.jsxs)("div",{className:"shadow-tabarpd relative flex flex-1 rounded-full bg-white p-[3px]",children:[(0,n.jsx)(l.Button,{id:"btnSpecialPlan",variant:"white",size:"xs",className:"duration-600 z-40 w-1/2 rounded-full bg-transparent font-semibold ".concat(i?"":"text-black/60"),onClick:()=>h("btnSpecialPlan"),children:"ì´ë²¤í¸"}),(0,n.jsx)(l.Button,{id:"btnPdAll",variant:"white",size:"xs",className:"duration-600 z-40 w-1/2 rounded-full bg-transparent ".concat(i?"text-black/60":"text-skylife-primary"),onClick:()=>h("btnPdAll"),children:"ìíì ì²´"}),(0,n.jsx)("span",{className:"absolute ".concat(i?"bg-skylife-primary":"translate-x-[calc(100%)] bg-black"," duration-600 z-0 h-[34px] w-[calc(50%-3px)] flex-1 rounded-full transition-all")}
1)]})}),(0,n.jsx)(o.default,{href:"/search",className:"text-white underline",children:(0,n.jsx)(c.default,{src:"/images/common/icon/32/search.svg",alt:"ì´ì íì´ì§ ì´ë",width:"32",height:"32"})})]})})}function D(){return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(I,{children:(0,n.jsx)(l.Button,{variant:"link",className:"gradient-btn absolute right-4 top-[calc(env(safe-area-inset-top)+10px)] h-[36px] w-[146px]",children:(0,n.jsx)(o.default,{href:"tel:1588-9944",className:"flex h-[36px] items-center gap-2 text-lg font-semibold text-white",children:"ê°ì
1588-9944"})})})})}function E(){let e=(0,s.usePathname)(),t=(0,W.d)(),r=e.split("/").filter(Boolean).pop(),{handleShare:i}=(0,h.k5)(),{commentList:a,commentNumber:c,fetchComments:o}=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5,[r,n]=(0,d.useState)(null),[i,s]=(0,d.useState)(0);return{commentList:r,commentNumber:i,fetchComments:(0,d.useCallback)(async function(){let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,a=i?C.p3:C.C9;try{let c=await a({eventId:e,size:t,page:r-1},i);return n(c),s(c.totalElements),c}catch(e){throw e}},[e,t]),setCommentList:n,setCommentNumber:s}}("7260",5),[u,f]=(0,d.useState)(0);function p(e){return e>=1e4?Math.floor(e/1e4)+"ë§ëª
":e>=1e3?Math.floor(e/1e3)+"ì²ëª
":e.toString()+"ëª
"}return(0,d.useEffect)(()=>{r.includes("iptv_launching")?o(1,t):(async function(){try{return await (0,N.M_)(r)}catch(e){return 0}})().then(e=>{f(e)})},[r,o,t]),(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)(I,{children:[!r.includes("iptv_launching")&&u>149&&(0,n.jsxs)("div",{className:"flex items-center text-center text-xl font-normal leading-8",children:[(0,n.jsx)("span",{className:"text-skylife-primary font-semibold",children:p(u).split("").map((e,t)=>(0,n.jsx)("span",{className:"animate-wave inline-block",style:{animationDelay:"".concat(-.2*t,"s")},children:e},t))}),"ì ê³ ê°ëì´ êµ¬ê²½íì´ì"]}),r.includes("iptv_launching")&&a&&(0,n.jsxs)("div",{className:"flex items-center text-center text-xl font-normal leading-8",children:[(0,n.jsxs)("span",{className:"text-skylife-primary font-semibold",children:["\uD83C\uDF81"," ",p(c).split("").map((e,t)=>(0,n.jsx)("span",{className:"animate-wave inline-block",style:{animationDelay:"".concat(-.2*t,"s")},children:e},t))]})," ","ì°¸ì¬! ìëë¬ì"]}),(0,n.jsx)("div",{className:"absolute right-4 flex items-center gap-4",style:{top:"calc(env(safe-area-inset-top) + 10px)",height:"40px"},children:(0,n.jsx)(l.Button,{"data-share-trigger":!0,variant:"transparent",size:"btnIcon",className:"!m-0",style:{width:"36px",height:"36px",borderRadius:"42.793px",background:"rgba(0, 0, 0, 0.04)"},onClick:i,children:(0,n.jsxs)("svg",{width:"21",height:"21",viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("circle",{cx:"14.7651",cy:"3.79682",r:"2.10932",fill:"black",fillOpacity:"0.94",stroke:"black",strokeOpacity:"0.94",strokeWidth:"1.26559"}),(0,n.jsx)("circle",{cx:"4.64057",cy:"9.70307",r:"2.10932",fill:"black",fillOpacity:"0.94",stroke:"black",strokeOpacity:"0.94",strokeWidth:"1.26559"}),(0,n.jsx)("path",{d:"M12.6561 5.06262L6.75003 8.43753",stroke:"black",strokeOpacity:"0.94",strokeWidth:"1.26559",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M6.32826 11.3903L12.6562 15.187",stroke:"black",strokeOpacity:"0.94",strokeWidth:"1.26559",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("circle",{cx:"14.7651",cy:"16.4526",r:"2.10932",fill:"black",fillOpacity:"0.94",stroke:"black",strokeOpacity:"0.94",strokeWidth:"1.26559"})]})})})]})})}function R(){let e=(0,s.useRouter)(),[t,r]=(0,d.useState)(!1),a=(0,s.usePathname)().split("/").filter(Boolean).pop(),[o,u]=(0,d.useState)(!1),{data:h,status:f}=(0,k.useSession)(),{isSkylifeApp:m,isAos:g}=(0,i.useDevice)(),b=async()=>{if("authenticated"===f&&h){let e={accessToken:null==h?void 0:h.accessToken,refreshToken:null==h?void 0:h.refreshToken},t=await (0,p.b)(a,e);t&&"00"===t.rsltCd?"save"===t.rsltMsg?(r(!0),(0,x.Wr)({description:"1ê°ì ìíì ì°íì´ì",duration:3e3})):((0,x.Wr)({description:"1ê°ì ìíì ì° í´ì íì´ì",duration:3e3}),r(!1)):t&&401===t.status?u(!0):(0,x.Wr)({description:"1ê°ì ìíì ì° ì¤í¨íì´ì",duration:3e3})}else u(!0)},v=()=>{u(!1)};(0,d.useEffect)(()=>{"authenticated"===f&&h&&(async function(){try{let e={accessToken:null==h?void 0:h.accessToken,refreshToken:null==h?void 0:h.refreshToken},t=await (0,w.HW)(e);if(t&&t.length>0)return t.some(e=>e.slug===a)}catch(e){return!1}})().then(e=>{r(e)})},[f,h]);let j=async()=>
1{if(navigator.share)try{await navigator.share({title:"ì¤ì¹´ì´ë¼ì´í",text:"ìí",url:window.location.href})}catch(e){console.error("ê³µì ì·¨ì ëë ì¤í¨:",e)}else if(m&&g){var e,t;null===(t=window)||void 0===t||null===(e=t.SkylifeAos)||void 0===e||e.nativeShare("ì¤ì¹´ì´ë¼ì´í","íí",window.location.href)}else(0,x.Wr)({description:"íì¬ ì¬ì© ì¤ì¸ ë¸ë¼ì°ì ììë ê³µì 기ë¥ì ì§ìíì§ ììµëë¤."})};return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)(I,{children:[(0,n.jsxs)("div",{className:"absolute right-4 flex items-center gap-4",style:{top:"calc(env(safe-area-inset-top) + 10px)",height:"40px"},children:[(0,n.jsx)(l.Button,{variant:"transparent",className:"!m-0 h-auto !p-0",onClick:b,children:t?(0,n.jsx)(c.default,{src:"/images/common/icon/32/heart_on.svg",alt:"ì¦ê²¨ì°¾ê¸°ì ì ì¸í기",width:"32",height:"32",priority:!0}):(0,n.jsx)(c.default,{src:"/images/common/icon/32/heart_off.svg",alt:"ì¦ê²¨ì°¾ê¸°ì ì¶ê°í기",width:"32",height:"32"})}),(0,n.jsx)(l.Button,{variant:"transparent",size:"btnIcon",className:"!m-0",style:{width:"36px",height:"36px",borderRadius:"42.793px",background:"rgba(0, 0, 0, 0.04)"},onClick:j,children:(0,n.jsxs)("svg",{width:"21",height:"21",viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("circle",{cx:"14.7651",cy:"3.79682",r:"2.10932",fill:"black",fillOpacity:"0.94",stroke:"black",strokeOpacity:"0.94",strokeWidth:"1.26559"}),(0,n.jsx)("circle",{cx:"4.64057",cy:"9.70307",r:"2.10932",fill:"black",fillOpacity:"0.94",stroke:"black",strokeOpacity:"0.94",strokeWidth:"1.26559"}),(0,n.jsx)("path",{d:"M12.6561 5.06262L6.75003 8.43753",stroke:"black",strokeOpacity:"0.94",strokeWidth:"1.26559",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M6.32826 11.3903L12.6562 15.187",stroke:"black",strokeOpacity:"0.94",strokeWidth:"1.26559",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("circle",{cx:"14.7651",cy:"16.4526",r:"2.10932",fill:"black",fillOpacity:"0.94",stroke:"black",strokeOpacity:"0.94",strokeWidth:"1.26559"})]})})]}),(0,n.jsx)(y.default,{open:o,title:"ë¡ê·¸ì¸ íìê² ì´ì?",description:"ë¡ê·¸ì¸ì´ íìí ìë¹ì¤ìì",buttons:[{text:"íì¸",isAction:!0,onClick:()=>{e.push("/member/login")}},{text:"ì·¨ì",isAction:!1,onClick:()=>{v()}}]})]})})}function A(){(0,s.usePathname)();let{showPageMove:e}=(0,b.V)();return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(I,{backRestrictedPages:{condition:["/member/login"],restricted:["/directOrder","/member"],noRestrictionsIncluded:["/directOrder/mobile/offline","/directOrder/mobile/application"]}})})}function M(e){let{orderData:t=null}=e,r=(0,s.useRouter)(),i=(0,s.usePathname)(),{directOrderCustomizingUI:a}=(0,O.w)(),{showPageMove:c}=(0,b.V)();return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(I,{backRestrictedPages:{condition:["/directOrder/main","/directOrder/complete"],restricted:["/directOrder"]},noBack:a,children:!i.startsWith("/directOrder/main")&&(0,n.jsx)("div",{className:"absolute right-4 flex items-center gap-4",style:{top:"calc(env(safe-area-inset-top) + 10px)",height:"40px"},children:(0,n.jsx)(l.Button,{variant:"underline",size:"text",onClick:()=>{if(a)r.push("/product/recommend");else{let e="";if("/directOrder/info"===i)e="back";else if(t&&t.orderPrdt){let r=Object.keys(t.orderPrdt).map(e=>"".concat((0,j.fe)(e),"=").concat(t.orderPrdt[e].slug));e="/directOrder/main?".concat(r.join("&"))}else e="/Main";c({title:"ê°ì
ì ì·¨ìíìê² ì´ì?",desc:"ì
í ê°ì
ì ì·¨ìí´ë ì¸ì ë ì§ ë¤ì ê°ì
í ì ìì´ì"},e)}},children:"ì·¨ì"})})})})}function T(e){let{type:t}=e,{showPageMove:r}=(0,b.V)();return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(I,{children:(0,n.jsx)("div",{className:"absolute right-4 flex gap-4",children:(0,n.jsx)(l.Button,{variant:"underline",size:"text",onClick:()=>{r({title:"apply"===t?"ì ì¬ ì ì²ì ì·¨ìíìê² ì´ì?":"ì ì¬ êµì²´ë¥¼ ì·¨ìíìê² ì´ì?",desc:"".concat("apply"===t?"ë¬´ë£ ì ì¬ ì ì²ì":"ì ì¬ ì
í êµì²´ë"," ì¶í ë¤ì ì§ííì¤ ì ìì´ì.")},"/care/usim")},children:"ì·¨ì"})})})})}function $(){let{showPageMove:e}=(0,b.V)();return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(I,{backRestrictedPages:{condition:["/member/register"],restricted:["/member","/directOrder"]},children:(0,n.jsx)("div",{className:"absolute right-4 flex gap-4",children:(0,n.jsx)(l.Button,{variant:"underline",size:"text",onClick:()=>{e()},children:"ì·¨ì"})})})})}function L(){return(0,s.useRouter)(),(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)(I,{tabMove:!1,children:[(0,n.jsx)("div",{className:"text-center text-xl leading-8"}),(0,n.jsx)(o.default,{href:"/search",children:(0,n.jsx)(c.default,{src:"/images/common/icon/32/search.svg",alt:"ê²ì",width:"32",height:"32"})})]})})}function B(){let[e,t]=(0,d.useState)({dialog1:!1}),r=e=>{t(t=>({...t,[e]:!0}))},i=e=>{t(t=>({...t,[e]:!1}))};return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)(I,{children:[(0,n.jsx)("div",{}),(0,n.jsx)(l.Button,{variant:"underline",size:"text",onClick:()=>r("dialog1"),children:"ì·¨ì"}),(0,n.jsx)(u.aR,{open:e.dialog1,onOpenChange:e=>t(t=>({...t,dialog1:e})),children:(0,n.jsxs)(u._T,{children:[(0,n.jsxs)(u.fY,{children:[(0,n.jsx)(u.f$,{children:"ê°ì
ì ì¤ë¨í
1ìê² ì´ì?"}),(0,n.jsx)(u.yT,{children:"ë¤ìì ì´ì´ì ê°ì
í ì ìì´ì."})]}),(0,n.jsxs)(u.xo,{children:[(0,n.jsx)(u.OL,{onClick:()=>i("dialog1"),children:"ì¤ë¨í기"}),(0,n.jsx)(u.le,{onClick:()=>i("dialog1"),children:"ì·¨ì"})]})]})})]})})}function z(){return(0,n.jsx)(n.Fragment,{})}function I(e){let{children:t,backRestrictedPages:r,tabMove:i,noBack:a}=e,o=(0,s.usePathname)(),{handleBack:l,hasPreviousPage:d}=(0,h.kX)("/Main");return(0,n.jsxs)(n.Fragment,{children:[!i&&!a&&!(0,m.is)(o)&&!o.includes("/my/mobile/coupon/complete")&&(0,n.jsx)("button",{onClick:()=>l(r,o),children:(0,n.jsx)(c.default,{src:"/images/common/icon/32/arrow_left_b.svg",alt:"ì´ì íì´ì§ ì´ë",width:"32",height:"32"})}),t]})}function V(e){let{children:t}=e,{handleBack:r,hasPreviousPage:i}=(0,h.kX)("/Main"),{showWriteCancel:s}=(0,b.V)(),a=(0,v.O)(e=>e.isWriting),{resetWriting:o}=(0,v.O)();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("button",{onClick:()=>{a?s():r()},children:(0,n.jsx)(c.default,{src:"/images/common/icon/32/arrow_left_b.svg",alt:"ì´ì íì´ì§ ì´ë",width:"32",height:"32"})}),t]})}function Y(e){let{children:t}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.default,{href:"/",className:"flex min-w-[124px] items-center",children:(0,n.jsx)(c.default,{src:"/images/common/header/logo.svg",alt:"ì¤ì¹´ì´ë¼ì´í",width:"124",height:"32",priority:!0,className:"h-8 w-[124px] flex-shrink-0"})}),t]})}function U(e){let{children:t}=e;return(0,n.jsx)(n.Fragment,{children:t})}function q(e){let{orderData:t}=e,r=(0,s.usePathname)();return(0,n.jsx)("header",{className:"fixed inset-0 top-0 z-10 box-content grid h-10 items-center justify-between px-4 pb-2.5 pt-[calc(env(safe-area-inset-top)+10px)] ".concat(r.startsWith("/product/wishlist")?"grid-cols-[32px_minmax(0,auto)_minmax(0,auto)]":r.startsWith("/care/")?"grid-cols-[minmax(124px,auto)_32px]":"grid-cols-[32px_minmax(0,auto)_32px]"," ").concat(r.startsWith("/directOrder/main")||r.startsWith("/directOrder/combi")?"bg-f8":"bg-white"),children:(e=>{switch(!0){case"/SR_02"===r:case"/SR_03"===r:return(0,n.jsx)(_,{});case"/product/wishlist"===r:return(0,n.jsx)(S,{});case r.startsWith("/benefit/detail/ongoing"):return(0,n.jsx)(F,{});case"/product/tvinternet/special"===r:case"/product/tv/all"===r:case"/product/internet/all"===r:return(0,n.jsx)(P,{type:"tvinternet"});case"/product/mobile/special"===r:case"/product/mobile/all"===r:return(0,n.jsx)(P,{type:"mobile"});case r.startsWith("/product/combi"):case r.startsWith("/product/recommend"):return(0,n.jsx)(L,{});case r.startsWith("/product/tv/goods"):case r.startsWith("/product/internet/goods"):case r.startsWith("/product/mobile/goods"):return(0,n.jsx)(R,{});case r.startsWith("/directOrder/main"):case r.startsWith("/directOrder/available"):case r.startsWith("/directOrder/Check"):case r.startsWith("/directOrder/invoice"):case r.startsWith("/directOrder/payment"):case r.startsWith("/directOrder/info"):case r.startsWith("/directOrder/tvinternet"):case r.startsWith("/directOrder/mobile")&&!r.startsWith("/directOrder/mobile/offline")&&!r.startsWith("/directOrder/mobile/application")&&!r.startsWith("/directOrder/mobile/usimChange"):return(0,n.jsx)(M,{orderData:e});case r.startsWith("/member/register/certification"):case r.startsWith("/member/register/local"):case r.startsWith("/member/register/minor"):return(0,n.jsx)($,{});case r.startsWith("/member/login"):return(0,n.jsx)(A,{});case"/sfmo05"===r:case"/sfmo12"===r:case"/sfmo21"===r:case"/sfmo40"===r:return!r.startsWith("/sfti")||r.startsWith("/sfti02")||r.startsWith("/sfti27")||r.startsWith("/sfti38"),(0,n.jsx)(B,{});case"/SE_08"===r:case"/sfti27"===r:case"/sfmo13"===r:case"/sfmo11"===r:return(0,n.jsx)(z,{});case r===g.Vn.relocation:case r===g.Vn.as:case r===g.Vn.online:case r===g.Vn.cdpInput:return(0,n.jsx)(V,{});case"/member/register/complete"===r:return(0,n.jsx)(U,{});case"/event"===r:return(0,n.jsx)(D,{});case r.startsWith("/event/"):return(0,n.jsx)(E,{});case"/care/usim"===r:case r.startsWith("/care/usim/apply/complete"):case r.startsWith("/care/usim/change/complete"):return(0,n.jsx)(Y,{});
1case"/care/usim/apply"===r:case"/care/usim/apply/address"===r:return(0,n.jsx)(T,{type:"apply"});case"/care/usim/change"===r:case"/care/usim/change/number"===r:return(0,n.jsx)(T,{type:"change"});default:return(0,n.jsx)(I,{})}})(t)})}var X=r(97120),G=r(43564),H=function(e){let{children:t,session:r,orderData:c,idData:o}=e,{isMobile:l}=(0,i.useDevice)(),d=(0,s.usePathname)(),u=(0,m.is)(d),h=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(q,{orderData:c}),t]}),f=(0,n.jsxs)(n.Fragment,{children:[!u&&(0,n.jsx)(a.default,{session:null==r?void 0:r.data,idData:o}),(0,n.jsx)("div",{className:"pb-50 min-w-[1248px]",children:t}),(0,n.jsx)(X.default,{}),!u&&!["/care","/payment"].some(e=>d.includes(e))&&(0,n.jsx)(G.default,{session:null==r?void 0:r.data})]});return l?h:f}},78334:function(e,t,r){"use strict";r.d(t,{Wz:function(){return i},is:function(){return a}});let n=["skyguide"],i=e=>n.includes(e),s=e=>i(e.split("/").filter(Boolean).pop()),a=e=>!!e.startsWith("/event/")&&s(e)},14632:function(e,t,r){"use strict";r.d(t,{C:function(){return i}});var n=r(2265);function i(){let[e,t]=(0,n.useState)("up");return(0,n.useEffect)(()=>{let r=window.pageYOffset,n=()=>{let n=window.pageYOffset,i=n>r?"down":"up";i!==e&&(n-r>10||n-r<-10)&&t(i),r=n>0?n:0};return window.addEventListener("scroll",n),()=>{window.removeEventListener("scroll",n)}},[e]),e}},19266:function(e,t,r){"use strict";r.d(t,{d:function(){return s}});var n=r(2265),i=r(80826);let s=()=>{let{data:e,status:t}=(0,i.useSession)(),[r,s]=(0,n.useState)();return(0,n.useEffect)(()=>{var r,n,i;let a=(null==e?void 0:e.error)==="RefreshAccessTokenError",c=(null==e?void 0:e.userId)||(null==e?void 0:null===(r=e.user)||void 0===r?void 0:r.userId)||(null==e?void 0:null===(n=e.user)||void 0===n?void 0:n.id)||null;"authenticated"!==t||(null==e?void 0:null===(i=e.user)||void 0===i?void 0:i.name)==="Error"||a?("unauthenticated"===t||a)&&s(null):s({accessToken:e.accessToken,refreshToken:e.refreshToken,userId:c})},[t,e]),r}},50408:function(e,t,r){"use strict";r.d(t,{aU:function(){return R},$j:function(){return A},VY:function(){return E},dk:function(){return T},aV:function(){return D},h_:function(){return P},fC:function(){return S},Dx:function(){return M},xz:function(){return F}});var n=r(2265),i=r(57437),s=r(98575),a=r(60894),c=r(6741),o=r(37053),l="AlertDialog",[d,u]=function(e,t=[]){let r=[],s=()=>{let t=r.map(e=>n.createContext(e));return function(r){let i=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:i}}),[r,i])}};return s.scopeName=e,[function(t,s){let a=n.createContext(s),c=r.length;r=[...r,s];let o=t=>{let{scope:r,children:s,...o}=t,l=r?.[e]?.[c]||a,d=n.useMemo(()=>o,Object.values(o));return(0,i.jsx)(l.Provider,{value:d,children:s})};return o.displayName=t+"Provider",[o,function(r,i){let o=i?.[e]?.[c]||a,l=n.useContext(o);if(l)return l;if(void 0!==s)return s;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=r.reduce((t,{useScope:r,scopeName:n})=>{let i=r(e)[`__scope${n}`];return{...t,...i}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}(s,...t)]}(l,[a.p8]),h=(0,a.p8)(),f=e=>{let{__scopeAlertDialog:t,...r}=e,n=h(t);return(0,i.jsx)(a.fC,{...n,...r,modal:!0})};f.displayName=l;var p=n.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...n}=e,s=h(r);return(0,i.jsx)(a.xz,{...s,...n,ref:t})});p.displayName="AlertDialogTrigger";var m=e=>{let{__scopeAlertDialog:t,...r}=e,n=h(t);return(0,i.jsx)(a.h_,{...n,...r})};m.displayName="AlertDialogPortal";var x=n.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...n}=e,s=h(r);return(0,i.jsx)(a.aV,{...s,...n,ref:t})});x.displayName="AlertDialogOverlay";var g="AlertDialogContent",[b,v]=d(g),j=n.forwardRef((e,t)=>{let{__scopeAlertDialog:r,children:l,...d}=e,u=h(r),f=n.useRef(null),p=(0,s.e)(t,f),m=n.useRef(null);return(0,i.jsx)(a.jm,{contentName:g,titleName:y,docsSlug:"alert-dialog",children:(0,i.jsx)(b,{scope:r,cancelRef:m,children:(0,i.jsxs)(a.VY,{role:"alertdialog",...u,...d,ref:p,onOpenAutoFocus:(0,c.M)(d.onOpenAutoFocus,e=>{var t;e.preventDefault(),null===(t=m.current)||void 0===t||t.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:[(0,i.jsx)(o.A4,{children:l}),(0,i.jsx)(_,{contentRef:f})]})})})});j.displayName=g;var y="AlertDialogTitle",k=n.forwardRef((e,t)=>
1{let{__scopeAlertDialog:r,...n}=e,s=h(r);return(0,i.jsx)(a.Dx,{...s,...n,ref:t})});k.displayName=y;var w="AlertDialogDescription",N=n.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...n}=e,s=h(r);return(0,i.jsx)(a.dk,{...s,...n,ref:t})});N.displayName=w;var O=n.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...n}=e,s=h(r);return(0,i.jsx)(a.x8,{...s,...n,ref:t})});O.displayName="AlertDialogAction";var W="AlertDialogCancel",C=n.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...n}=e,{cancelRef:c}=v(W,r),o=h(r),l=(0,s.e)(t,c);return(0,i.jsx)(a.x8,{...o,...n,ref:l})});C.displayName=W;var _=e=>{let{contentRef:t}=e,r="`".concat(g,"` requires a description for the component to be accessible for screen reader users.\n\nYou can add a description to the `").concat(g,"` by passing a `").concat(w,"` component as a child, which also benefits sighted users by adding visible context to the dialog.\n\nAlternatively, you can use your own component as a description by assigning it an `id` and passing the same value to the `aria-describedby` prop in `").concat(g,"`. If the description is confusing or duplicative for sighted users, you can use the `@radix-ui/react-visually-hidden` primitive as a wrapper around your description component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/alert-dialog");return n.useEffect(()=>{var e;document.getElementById(null===(e=t.current)||void 0===e?void 0:e.getAttribute("aria-describedby"))||console.warn(r)},[r,t]),null},S=f,F=p,P=m,D=x,E=j,R=O,A=C,M=k,T=N},41208:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var n=r(2265);let i=n.createContext({});function s(e){var t,r,s;let{count:a=1,wrapper:c,className:o,containerClassName:l,containerTestId:d,circle:u=!1,style:h,...f}=e,p=n.useContext(i),m={...f};for(let[e,t]of Object.entries(f))void 0===t&&delete m[e];let x={...p,...m,circle:u},g={...h,...function(e){let{baseColor:t,highlightColor:r,width:n,height:i,borderRadius:s,circle:a,direction:c,duration:o,enableAnimation:l=!0,customHighlightBackgroun
1d:d}=e,u={};return"rtl"===c&&(u["--animation-direction"]="reverse"),"number"==typeof o&&(u["--animation-duration"]="".concat(o,"s")),l||(u["--pseudo-element-display"]="none"),("string"==typeof n||"number"==typeof n)&&(u.width=n),("string"==typeof i||"number"==typeof i)&&(u.height=i),("string"==typeof s||"number"==typeof s)&&(u.borderRadius=s),a&&(u.borderRadius="50%"),void 0!==t&&(u["--base-color"]=t),void 0!==r&&(u["--highlight-color"]=r),"string"==typeof d&&(u["--custom-highlight-background"]=d),u}(x)},b="react-loading-skeleton";o&&(b+=" ".concat(o));let v=null!==(t=x.inline)&&void 0!==t&&t,j=[],y=Math.ceil(a);for(let e=0;e<y;e++){let t=g;if(y>a&&e===y-1){let e=null!==(r=t.width)&&void 0!==r?r:"100%",n=a%1,i="number"==typeof e?e*n:"calc(".concat(e," * ").concat(n,")");t={...t,width:i}}let i=n.createElement("span",{className:b,style:t,key:e},"â");v?j.push(i):j.push(n.createElement(n.Fragment,{key:e},i,n.createElement("br",null)))}return n.createElement("span",{className:l,"data-testid":d,"aria-live":"polite","aria-busy":null===(s=x.enableAnimation)||void 0===s||s},c?j.map((e,t)=>n.createElement(c,{key:t},e)):j)}},9401:function(e,t,r){"use strict";r.d(t,{O:function(){return c}});var n=r(59625),i=r(89134),s=r(4391);let a={isWriting:!1},c=(0,n.Ue)((0,i.mW)((0,i.tJ)((0,s.n)((0,i.$e)(a,e=>({...a,setWriting:t=>e(e=>{e.isWriting=t}),resetWriting:()=>{e({...a})}}))),{name:"useFormWriting",storage:(0,i.FL)(()=>sessionStorage)})))},65241:function(e,t,r){"use strict";r.d(t,{k:function(){return a}});var n=r(59625),i=r(89134),s=r(4391);let a=(0,n.Ue)((0,i.mW)((0,s.n)((0,i.$e)({products:[],modifyFavorite:!1},e=>({setState:(t,r)=>e(e=>{e[t]=r})})))))}}]);
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.