1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[83708],{7265:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/wpay/loading",function(){return n(75456)}])},88287:function(e,t,n){"use strict";n.d(t,{El:function(){return i},Q7:function(){return u},QT:function(){return l},fv:function(){return c}});var r=n(8051),o=n(11163),a=n(67294);let i=async e=>{let t={travel_agent_url:e.url};try{return(await r.b.post("".concat("https://api.basecamp.team","/payment/generate/reservationcode"),{},t)).data}catch(e){return!1}},l=()=>{localStorage.setItem("previousPageUrl",window.location.href)},c=()=>{let e=(0,o.useRouter)();return(0,a.useEffect)(()=>{let t=localStorage.getItem("previousPageUrl")||"/";e.replace(t).then(()=>{localStorage.removeItem("previousPageUrl")})},[e]),null},u=e=>{if(!e)return"";let t="";for(let r of e){var n;let e=null!==(n=r.codePointAt(0))&&void 0!==n?n:0;!(e<32)&&127!==e&&"&"!==r&&"="!==r&&"|"!==r&&(e>=65536||(t+=r))}t=t.trim();let r=new TextEncoder;if(r.encode(t).length<=40)return t;let o=0,a=t.length;for(;o<a;){let e=o+a+1>>1;r.encode(t.slice(0,e)).length<=40?o=e:a=e-1}return t.slice(0,o)}},75456:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return f}});var r=n(67194),o=n(11163),a=n(67294),i=n(47849),l=n(80795),c=n(61760),u=n(88287);let s=e=>{let{agentInfo:t,reservationId:n,productType:u,resCd:s,bSucc:f,payMethod:d,webId:p,busResult:h}=e,g=(0,o.useRouter)(),v=(0,i.oX)();return(0,a.useEffect)(()=>{let e="",t=n;t.startsWith("F")&&(14===t.length||21===t.length)&&t.endsWith("01")&&(t=t.slice(0,-2)),e="fit"===u?"/reservation/fit/complete/".concat(t,"?isPaid=true"):"fit_post_pay"===u?"/reservation/fit/complete/".concat(t,"?isPaid=true"):"/reservation/package/complete/".concat(t,"?isPaid=true");let r="";if(n&&"0000"===s&&"true"===f||n&&"00"===s&&"true"===f){let t=(0,c.tl)(u,h);t?v.openWarning({title:t.title,text:t.text}).then(()=>{g.replace(e)}):g.replace(e)}else{r="ê²°ì ì§í ì¤ ì¤ë¥ê° ë°ìíììµëë¤. (resId: ".concat(n,", resCd: ").concat(s,", bSucc: ").concat(f,")"),v.openWarning({title:r}).then(()=>{g.replace("/")});return}},[]),(0,r.tZ)(l.xu,{children:(0,r.tZ)(l.kC,{sx:{variant:"rootContainer",height:"80vh",fontWeight:"bold",justifyContent:"center",alignItems:"center"},children:(0,r.tZ)(l.xv,{as:"div",children:"ê²°ì 를 íì¸ ì¤ ì
ëë¤."})})})};var f=!0;t.default=e=>{let{payMethod:t,...n}=e;return""===t?(0,r.tZ)(u.fv,{}):(0,r.tZ)(s,{...n,payMethod:t})}}},function(e){e.O(0,[61760,92888,49774,40179],function(){return e(e.s=7265)}),_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.