1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5245],{49560:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){(window.__NEXT_P=window.__NEXT_P||[]).push(["/order/locker/result/[id]",function(){return __webpack_require__(65483)}])},65483:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Description:function(){return Description},ReceiptContainer:function(){return ReceiptContainer},Text:function(){return Text},default:function(){return LockerOrderResult}});var _swc_helpers_src_tagged_template_literal_mjs__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(7297),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(85893),next_router__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(11163),react__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(67294),react_i18next__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(26793),src_components_general_button__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(79625),src_components_layout__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(77814),src_consts__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(4015),src_utils__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(17333),styled_components__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(32125),src_lib_fpixel__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(96874),src_lib_daangn__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(69010),src_lib_naver__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(16746),Buffer=__webpack_require__(48764).lW;function _templateObject(){let data=(0,_swc_helpers_src_tagged_template_literal_mjs__WEBPACK_IMPORTED_MODULE_0__.Z)(["\n display: flex;\n flex-direction: column;\n padding: 5rem 2rem 0;\n gap: 7rem;\n"]);return _templateObject=function(){return data},data}function _templateObject1(){let data=(0,_swc_helpers_src_tagged_template_literal_mjs__WEBPACK_IMPORTED_MODULE_0__.Z)(["\n display: flex;\n flex-direction: column;\n width: 100%;\n padding: 0 2rem;\n gap: 1rem;\n"]);return _templateObject1=function(){return data},data}function _templateObject2(){let data=(0,_swc_helpers_src_tagged_template_literal_mjs__WEBPACK_IMPORTED_MODULE_0__.Z)(["\n display: flex;\n flex-direction: column;\n width: 100%;\n min-height: 5rem;\n background-color: ",";\n margin-bottom: 6.5rem;\n gap: 1.5rem;\n padding: 3rem 2rem;\n\n > div {\n display: flex;\n width: 100%;\n justify-content: space-between;\n\n p:first-child {\n color: ",";\n }\n p:last-child {\n text-align: right;\n color: ",";\n }\n }\n"]);return _templateObject2=function(){return data},data}function LockerOrderResult(){let router=(0,next_router__WEBPACK_IMPORTED_MODULE_2__.useRouter)(),{id}=router.query,{t}=(0,react_i18next__WEBPACK_IMPORTED_MODULE_9__.$)(),[data,setData]=(0,react__WEBPACK_IMPORTED_MODULE_3__.useState)({use_service:"",use_plan:"",use_period:"",payment_no:"",payment_date:"",payment_type:"",payment_price:"0",payment_unit:"",product_codes:"",order_id:"",detail_type:"",entrance_lock_type:"",entrance_lock_manufacturer:""}),[usePeriod,setUsePeriod]=(0,react__WEBPACK_IMPORTED_MODULE_3__.useState)("2022-10-30 00:00:00 - 2023-01-30 23:59:59"),hasTriggeredEvent=(0,react__WEBPACK_IMPORTED_MODULE_3__.useRef)(!1);return(0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(()=>{(0,src_utils__WEBPACK_IMPORTED_MODULE_7__.lm)(Buffer.from("".concat(id)).toString("base64")).then(res=>{res.success&&(setData(res.success),setUsePeriod(res.success.use_period))})},[id]),(0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(()=>{""!==data.use_service&&(hasTriggeredEvent.current||((0,src_lib_daangn__WEBPACK_IMPORTED_MODULE_10__.L9)("Purchase"),(0,src_lib_naver__WEBPACK_IMPORTED_MODULE_11__.gx)("1",null==data?void 0:data.payment_price),hasTriggeredEvent.current=!0),src_lib_fpixel__WEBPACK_IMPORTED_MODULE_8__.B("Purchase",{content_name:"".concat(null==data?void 0:data.use_service),content_type:-1!==data.use_service.indexOf("ê³ ì ")||(null==data?void 0:data.use_service.indexOf("fixed"))!==-1?"fixed":"movable",currency:"KRW",value:(null==data?void 0:data.payment_price)||0}))},[data]),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(src_components_layout__WEBPACK_IMPORTED_MODULE_5__.Z,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Article,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(Section,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Title,{children:t("order.locker.order-completed")}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Description,{style:{color:src_consts__WEBPACK_IMPORTED_MODULE_6__.O.gray_40,marginBottom:"2rem"},children:t("order.locker.completed-description")}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(ReceiptContainer,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("div",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Text,{children:t("order.result.item")}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Text,{children:null==data?void 0:data.use_service})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("div",{style:{marginBottom:"1.5rem"},children:["hour"===data.payment_unit||"hour-based"===data.payment_unit?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Text,{children:t("order.result.service-time")}):(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Text,{children:t("order.result.service-due")}
1),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Text,{style:{textAlign:"left"},children:(null==data?void 0:data.use_period)||""})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("div",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Text,{children:t("order.result.payment-date")}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Text,{children:(null==data?void 0:data.payment_date)||""})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("div",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Text,{children:t("order.result.payment-type")}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Text,{children:(null==data?void 0:data.payment_type)||""})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("div",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Text,{children:t("product.price.amount")}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(Text,{children:[(0,src_utils__WEBPACK_IMPORTED_MODULE_7__.x6)(null==data?void 0:data.payment_price),t("product.price.krw")]})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("div",{children:[(null==data?void 0:data.detail_type)==="locker"||(null==data?void 0:data.detail_type)==="fixed"?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Text,{children:t("order.locker.locker-code")}):(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Text,{children:t("order.locker.code")}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(Text,{children:["#",(null==data?void 0:data.product_codes)||""]})]})]}),(null==data?void 0:data.entrance_lock_type)=="QR"&&(null==data?void 0:data.entrance_lock_manufacturer)!==null?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(src_components_general_button__WEBPACK_IMPORTED_MODULE_4__.Z,{type:"color",size:"small",text:t("order.result.get-a-qr-access-entry"),isEnabled:!0,width:"100%",height:"5rem",margin:"0 0 1.5rem",fontSize:"1.6rem",onClick(){router.replace("/mypage/product/locker/".concat(data.order_id,"/?type=").concat(-1!==data.use_service.indexOf("ê³ ì ")||(null==data?void 0:data.use_service.indexOf("fixed"))!==-1?"fixed":"movable"))}}):null]})})})," "]})}let Article=styled_components__WEBPACK_IMPORTED_MODULE_12__.ZP.article.withConfig({componentId:"sc-b75f9342-0"})(_templateObject()),Section=styled_components__WEBPACK_IMPORTED_MODULE_12__.ZP.section.withConfig({componentId:"sc-b75f9342-1"})(_templateObject1()),Title=src_consts__WEBPACK_IMPORTED_MODULE_6__._.heading_2_m.regular,Description=src_consts__WEBPACK_IMPORTED_MODULE_6__._.body_2_m.regular,ReceiptContainer=styled_components__WEBPACK_IMPORTED_MODULE_12__.ZP.div.withConfig({componentId:"sc-b75f9342-2"})(_templateObject2(),src_consts__WEBPACK_IMPORTED_MODULE_6__.O.gray_0,src_consts__WEBPACK_IMPORTED_MODULE_6__.O.gray_35,src_consts__WEBPACK_IMPORTED_MODULE_6__.O.gray_50),Text=src_consts__WEBPACK_IMPORTED_MODULE_6__._.caption_1_m.regular},77814:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{Z:function(){return Layout}});var _tagged_template_literal=__webpack_require__(7297),jsx_runtime=__webpack_require__(85893),react=__webpack_require__(67294),styled_components_browser_esm=__webpack_require__(32125),header=__webpack_require__(49511),globalStyle=__webpack_require__(51486),mobileSidebar=__webpack_require__(22363),mobileFooter=__webpack_require__(50479),mobileHeader2=__webpack_require__(17162);__webpack_require__(20007);var next_router=__webpack_require__(11163);function _templateObject(){let data=(0,_tagged_template_literal.Z)(["\n display: flex;\n flex-direction: column;\n align-items: center;\n height: 100%;\n width: 65rem;\n max-width: 65rem;\n margin: 0 auto;\n min-height: 100vh;\n box-shadow: 0px 0px 10px #00000029;\n header.non-border > div {\n border-bottom: none;\n }\n @media (max-width: ",") {\n max-width: 100vw;\n }\n"]);return _templateObject=function(){return data},data}function _templateObject1(){let data=(0,_tagged_template_literal.Z)(["\n flex: 1;\n display: flex;\n flex-direction: column;\n align-items: center;\n /* width: 65rem;\n margin-top: 5rem;\n max-width: 69.7rem; */\n margin-top: 11rem;\n\n @media (max-width: ",") {\n margin-top: 10.4rem;\n }\n width: 100%;\n max-width: 65rem;\n @media (max-width: ",") {\n //Desktop\n ","/* min-height: calc(100vh - 6rem); */\n }\n"]);
1return _templateObject1=function(){return data},data}function _templateObject2(){let data=(0,_tagged_template_literal.Z)(["\n position: fixed;\n z-index: 999;\n display: flex;\n flex-direction: column;\n width: 100%;\n justify-content: center;\n background: white;\n height: max-content;\n max-width: 65rem;\n /* ëí ë¡ê·¸ì¸ ë°°ëê° ë ìì¼ë©´ ê·¸ ìëë¡ ë´ë ¤ê°ë¤ (src/components/general/impersonationBanner.tsx) */\n top: var(--impersonation-banner-height, 0px);\n left: auto;\n right: auto;\n"]);return _templateObject2=function(){return data},data}function _templateObject3(){let data=(0,_tagged_template_literal.Z)(["\n display: flex;\n justify-content: center;\n width: 100%;\n /* height: 26.5rem; */\n box-sizing: border-box;\n background: #fff;\n /* height: auto; */\n max-width: 65rem;\n z-index: 0;\n"]);return _templateObject3=function(){return data},data}styled_components_browser_esm.ZP.div.withConfig({componentId:"sc-b9df5160-0"})(_templateObject(),globalStyle.wC),styled_components_browser_esm.ZP.div.withConfig({componentId:"sc-b9df5160-1"})(_templateObject1(),globalStyle.wC,globalStyle.wC,props=>0!==props.minHeight?"min-height: fit-content":"min-height: calc(100vh - 6rem)");let HeaderWrapper=styled_components_browser_esm.ZP.header.withConfig({componentId:"sc-b9df5160-2"})(_templateObject2());styled_components_browser_esm.ZP.footer.withConfig({componentId:"sc-b9df5160-3"})(_templateObject3());var consts=__webpack_require__(4015),useTranslation=__webpack_require__(26793);function layout_templateObject(){let data=(0,_tagged_template_literal.Z)(["\n display: flex;\n flex-direction: column;\n align-items: center;\n height: 100%;\n width: 65rem;\n max-width: 65rem;\n margin: 0 auto;\n min-height: 100vh;\n box-shadow: 0px 0px 10px #00000029;\n @media (max-width: ",") {\n max-width: 100vw;\n }\n"]);return layout_templateObject=function(){return data},data}function layout_templateObject1(){let data=(0,_tagged_template_literal.Z)(["\n flex: 1;\n display: flex;\n flex-direction: column;\n align-items: center;\n /* width: 65rem;\n margin-top: 5rem;\n max-width: 69.7rem; */\n\n /* @media (max-width: ",") { */\n margin-top: 10.4rem;\n width: 100%;\n max-width: 65rem;\n /* } */\n\n @media (max-width: ",") {\n margin-top: 6rem;\n border-bottom: 1px solid ",";\n }\n @media (max-width: ",") {\n //Desktop\n ","/* min-height: calc(100vh - 6rem); */\n }\n"]);return layout_templateObject1=function(){return data},data}function layout_templateObject2(){let data=(0,_tagged_template_literal.Z)(["\n display: flex;\n justify-content: center;\n width: 100%;\n /* height: 26.5rem; */\n box-sizing: border-box;\n background: #fff;\n /* height: auto; */\n max-width: 65rem;\n"]);return layout_templateObject2=function(){return data},data}function Layout(props){let router=(0,next_router.useRouter)(),{t,i18n}=(0,useTranslation.$)(),[sidebarOpen,setSidebarOpen]=(0,react.useState)(!1),[lang,setLang]=(0,react.useState)("ko"),[cookieEnabled,setCookieEnabled]=react.useState(!1);return(0,react.useEffect)(()=>{navigator.cookieEnabled&&setCookieEnabled(!0)},[]),(0,react.useEffect)(()=>{if(navigator.cookieEnabled){let locale=void 0==window.localStorage.getItem("locale")?"ko":window.localStorage.getItem("locale");null!==locale?locale.includes("ko")?(setLang("ko"),i18n.changeLanguage("ko"),window.localStorage.setItem("locale","ko")):(setLang("en"),i18n.changeLanguage("en"),window.localStorage.setItem("locale","en")):(setLang("ko"),i18n.changeLanguage("ko"),window.localStorage.setItem("locale","ko"))}},[i18n,cookieEnabled]),(0,jsx_runtime.jsx)(jsx_runtime.Fragment,{children:(0,jsx_runtime.jsxs)(layout_LayoutContainer,{children:[(0,jsx_runtime.jsxs)(HeaderWrapper,{className:"/"==router.pathname?"non-border":"",children:[(0,jsx_runtime.jsx)(mobileHeader2.Z,{setOpen:setSidebarOpen}),(0,jsx_runtime.jsx)(header.aN,{})]}),(0,jsx_runtime.jsx)(layout_Contents,{children:props.children}),(0,jsx_runtime.jsx)(layout_FooterWrapper,{children:(0,jsx_runtime.jsx)(mobileFooter.Z,{})}),(0,jsx_runtime.jsx)(mobileSidebar.Z,{open:sidebarOpen,setOpen:setSidebarOpen})]})})}let layout_LayoutContainer=styled_components_browser_esm.ZP.div.withConfig({componentId:"sc-8b980466-0"}
1)(layout_templateObject(),globalStyle.wC),layout_Contents=styled_components_browser_esm.ZP.div.withConfig({componentId:"sc-8b980466-1"})(layout_templateObject1(),globalStyle.wC,globalStyle.wC,consts.O.gray_30,globalStyle.wC,props=>0!==props.minHeight?"min-height: fit-content":"min-height: calc(100vh - 6rem)"),layout_FooterWrapper=styled_components_browser_esm.ZP.footer.withConfig({componentId:"sc-8b980466-2"})(layout_templateObject2())}},function(__webpack_require__){__webpack_require__.O(0,[1664,8764,9063,7333,9774,2888,179],function(){return __webpack_require__(__webpack_require__.s=49560)}),_N_E=__webpack_require__.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.