PageSourceSearch

https://www.bonatour.co.kr/_next/static/chunks/pages/stay/complete/[code]-19aac15086074bc5.js

js bonatour.co.kr collected 2026-10-08 07:39:47 UTC 5,022 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[49653],{64829:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/stay/complete/[code]",function(){return n(70749)}])},70749:function(t,e,n){"use strict";n.r(e),n.d(e,{__N_SSP:function(){return u},default:function(){return p}});var o=n(67194),c=n(9008),r=n.n(c),i=n(11163),a=n(67294),l=n(80795),d=n(26154),x=n(44072);async function s(t){try{var e;if(null===(e=navigator.clipboard)||void 0===e?void 0:e.writeText)return await navigator.clipboard.writeText(t),!0}catch(t){}return function(t){let e=document.createElement("textarea");e.value=t,e.setAttribute("readonly",""),e.style.position="fixed",e.style.opacity="0",document.body.appendChild(e);try{return e.select(),document.execCommand("copy")}catch(t){return!1}finally{e.remove()}}(t)}var u=!0;function p(t){let{reservationCode:e,isLoggedIn:n,isMobile:c}=t,u=(0,i.useRouter)(),p=(0,a.useRef)(null),[h,m]=(0,a.useState)("idle"),[b,y]=(0,a.useState)(!1),f=(0,a.useRef)();(0,a.useEffect)(()=>(y("function"==typeof navigator.share),()=>clearTimeout(f.current)),[]);let v=async()=>{let t=await s(e);t||function(t){var e,n;let o=null===(e=(n=window).getSelection)||void 0===e?void 0:e.call(n);if(!t||!o)return;let c=document.createRange();c.selectNodeContents(t),o.removeAllRanges(),o.addRange(c)}(p.current),m(t?"copied":"manual"),clearTimeout(f.current),f.current=setTimeout(()=>m("idle"),2e3)},g=async()=>{try{await navigator.share({title:"예약번호",text:"예약번호 ".concat(e),url:window.location.href})}catch(t){}};return(0,o.BX)(o.HY,{children:[(0,o.BX)(r(),{children:[(0,o.tZ)("title",{children:"예약 완료"},"title"),(0,o.tZ)("meta",{name:"robots",content:"noindex, nofollow"})]}),(0,o.tZ)(d.gL,{children:(0,o.tZ)(l.xu,{sx:{bg:x.XY.bgPage,minHeight:"100vh",pb:"".concat(x.Vt.xxl,"px")},children:(0,o.tZ)(l.W2,{sx:{maxWidth:"1160px",px:["".concat(x.Vt.sm,"px"),"".concat(x.Vt.xl,"px")],py:["".concat(x.Vt.md,"px"),"".concat(x.Vt.xl,"px")]},children:(0,o.tZ)(l.xu,{sx:{bg:x.XY.bgSurface,borderRadius:x.QG.md,boxShadow:"none",p:["".concat(x.Vt.lg,"px"),"".concat(x.Vt.xxl,"px")]},children:(0,o.BX)(l.xu,{sx:{maxWidth:"560px",mx:"auto",textAlign:"center"},children:[(0,o.tZ)(l.xv,{sx:{...x.ux.headingXl,color:x.XY.text,display:"block",mb:"".concat(x.Vt.xs,"px")},children:"결제가 완료되었습니다"}),(0,o.tZ)(l.xv,{sx:{...x.ux.bodyM,color:x.XY.textSecondary,display:"block"},children:"결제가 완료되었고 예약이 접수되었습니다. 담당자 확인 후 확정 안내를 드립니다."}),(0,o.BX)(l.xu,{sx:{mt:"".concat(x.Vt.xl,"px"),bg:x.XY.positiveTinted,border:"".concat(x.m_.default," solid ").concat(x.XY.positiveBorder),borderRadius:x.QG.md,p:"".concat(x.Vt.lg,"px")},children:[(0,o.tZ)(l.xv,{sx:{...x.ux.bodyS,color:x.XY.positive,display:"block"},children:"예약번호"}),(0,o.BX)(l.kC,{sx:{alignItems:"center",justifyContent:"center",flexWrap:"wrap",gap:"".concat(x.Vt.xs,"px")},children:[(0,o.tZ)(l.xv,{ref:p,"data-testid":"stay-reservation-code",sx:{...x.ux.headingL,color:x.XY.positive},children:e}),(0,o.tZ)(l.zx,{type:"button",variant:"stayGhost",onClick:v,children:"copied"===h?"복사됨":"복사"}),!!c&&b&&(0,o.tZ)(l.zx,{type:"button",variant:"stayGhost",onClick:g,children:"공유"})]}),"manual"===h&&(0,o.tZ)(l.xv,{sx:{...x.ux.bodyS,color:x.XY.positive,display:"block",mt:"".concat(x.Vt.xs,"px")},children:"예약번호를 선택해 두었습니다. 직접 복사해 주세요."})]}),(0,o.BX)(l.kC,{sx:{flexDirection:"column",gap:"".concat(x.Vt.xxs,"px"),mt:"".concat(x.Vt.md,"px"),textAlign:"left"},children:[(0,o.tZ)(l.xv,{sx:{...x.ux.bodyS,color:x.XY.textTertiary},children:"예약번호를 보관해 주세요. 문의 시 예약번호로 예약 내역을 확인할 수 있습니다."}),!n&&(0,o.tZ)(l.xv,{sx:{...x.ux.bodyS,color:x.XY.textTertiary},children:"회원으로 결제하셨다면 마이페이지 예약 내역에서도 확인하실 수 있습니다."})]}),(0,o.BX)(l.kC,{sx:{flexDirection:"column",gap:"".concat(x.Vt.sm,"px"),mt:"".concat(x.Vt.xl,"px")},children:[n&&(0,o.tZ)(l.zx,{type:"button",variant:"stayPrimary",onClick:()=>u.push("/stay/reservation/".concat(encodeURIComponent(e))),sx:{width:"100%"},children:"마이페이지에서 예약 확인"}),(0,o.tZ)("button",{type:"button",onClick:()=>u.push("/"),sx:{width:"100%",minHeight:"38px",cursor:"pointer",bg:x.XY.bgSurface,color:x.XY.brand,border:"".concat(x.m_.default," solid ").concat(x.XY.brand),borderRadius:x.QG.sm,...x.ux.buttonMd,"&:hover":{bg:x.XY.brandTinted}},children:"홈으로 가기"})]})]})})})})})]})}},96219:function(t,e,n){"use strict";n.d(e,{T:function(){return i}});var o=n(67294),c=n(75320),r=n(85893),i=o.forwardRef((t,e)=>(0,r.jsx)(c.WV.span,{...t,ref:e,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...t.style}}));i.displayName="VisuallyHidden"}},function(t){t.O(0,[46091,11557,26154,92888,49774,40179],function(){return t(t.s=64829)}),_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.