PageSourceSearch

https://www.obud.co/_next/static/chunks/pages/place/[slug]/pass/[passId]-1d941241d698341f.js

js obud.co collected 2026-09-24 13:28:20 UTC 16,427 bytes, 1 lines download raw bytes

1try{!function(){var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="8e370a0b-0faf-4c33-9ee2-fcd1601008fd",t._sentryDebugIdIdentifier="sentry-dbid-8e370a0b-0faf-4c33-9ee2-fcd1601008fd")}()}catch(t){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1421],{73008:function(t,e,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/place/[slug]/pass/[passId]",function(){return s(74737)}])},74737:function(t,e,s){"use strict";s.r(e),s.d(e,{__N_SSP:function(){return x},default:function(){return _passId_}});var a=s(85893),i=s(11163),l=s(78551),n=s(37303),r=s(58057),o=s(53234),c=s(22089),d=s(63476),u=s(42583),w=s(43951),p=s(81103);let usePassDetail=(t,e)=>(0,l.a)({queryKey:[o.U.PASS.PASS_DETAIL,t,e],queryFn:()=>r.V.getPassDetail({passId:t,locale:e}),enabled:!!t});var pass_PlacePassDetailScreen=()=>{var t,e,s;let l=(0,i.useRouter)(),{t:r}=(0,n.$G)("common"),{startPurchasePass:o}=(0,d.Z)(),{passId:x}=l.query,f=Number(x),{data:h}=usePassDetail(f,null!==(s=l.locale)&&void 0!==s?s:"ko");if(!h)return null;let g=!!(null==h?void 0:null===(t=h.notice)||void 0===t?void 0:t.length),v=!!(null==h?void 0:null===(e=h.refundPolicy)||void 0===e?void 0:e.length);return(0,a.jsxs)(w.Z,{bottomTabsHide:!0,children:[(0,a.jsx)(p.Z,{title:r("place.passDetail.pageTitle"),useBackButton:!0,useBottomBorder:!0,useHomeButton:!0}),(0,a.jsxs)("div",{className:"tw-pb-[100px] ".concat(c.nG),children:[(0,a.jsxs)("div",{className:"tw-p-[20px_24px] tw-break-words",children:[(0,a.jsx)("div",{className:"tw-text-[17px] tw-font-bold tw-leading-[141.2%] tw-tracking-[-0.646px]",children:h.title}),(0,a.jsxs)("div",{className:"tw-mt-[24px] tw-flex tw-flex-col tw-gap-[10px]",children:[(0,a.jsxs)("div",{className:"tw-flex tw-items-center",children:[(0,a.jsx)("div",{className:"tw-flex-1 tw-text-[15px] tw-leading-[146.7%] tw-tracking-[-0.48px] tw-text-[#5D5D5D]",children:r("place.passDetail.duration")}),(0,a.jsx)("div",{className:"tw-text-[15px] tw-text-black tw-leading-[146.7%] tw-tracking-[-0.48px]",children:r("place.passDetail.durationDays",{days:h.durationInDays})})]}),(0,a.jsxs)("div",{className:"tw-flex tw-items-center",children:[(0,a.jsx)("div",{className:"tw-flex-1 tw-text-[15px] tw-leading-[146.7%] tw-tracking-[-0.48px] tw-text-[#5D5D5D]",children:r("place.passDetail.maxReservations")}),(0,a.jsx)("div",{className:"tw-text-[15px] tw-text-black tw-leading-[146.7%] tw-tracking-[-0.48px]",children:null!==h.maxReservations?r("place.passDetail.maxReservationsTimes",{count:h.maxReservations}):r("place.passDetail.unlimited")})]}),(0,a.jsxs)("div",{className:"tw-flex tw-items-center",children:[(0,a.jsx)("div",{className:"tw-flex-1 tw-text-[15px] tw-leading-[146.7%] tw-tracking-[-0.48px] tw-text-[#5D5D5D]",children:r("place.passDetail.price")}),(0,a.jsx)("div",{className:"tw-text-[15px] tw-text-black tw-leading-[146.7%] tw-tracking-[-0.48px]",children:r("place.price",{amount:h.price.toLocaleString()})})]})]})]}),g&&(0,a.jsxs)("div",{className:"tw-p-[20px_24px] tw-break-words tw-border-solid tw-border-t-[8px] tw-border-t-[#F5F5F5]",children:[(0,a.jsx)("div",{className:"tw-text-[20px] tw-font-bold tw-leading-[140%] tw-tracking-[-0.96px]",children:r("place.passDetail.notice")}),(0,a.jsx)("div",{className:"tw-text-[14px] tw-text-[#5D5D5D] tw-leading-[157.12%] tw-tracking-[-0.672px] tw-whitespace-pre-wrap tw-mt-[16px]",children:h.notice})]}),v&&(0,a.jsxs)("div",{className:"tw-p-[20px_24px] tw-break-words tw-border-solid tw-border-t-[8px] tw-border-t-[#F5F5F5]",children:[(0,a.jsx)("div",{className:"tw-text-[20px] tw-font-bold tw-leading-[140%] tw-tracking-[-0.96px]",children:r("place.passDetail.refundPolicy")}),(0,a.jsx)("div",{className:"tw-mt-[16px] tw-p-[16px] tw-rounded-[12px] tw-bg-[#FAFAFB] tw-text-[13px] tw-text-[#5D5D5D] tw-leading-[160%] tw-tracking-[-0.65px] tw-whitespace-pre-wrap",children:h.refundPolicy})]}),(0,a.jsx)(u.Z,{title:r("place.passDetail.purchase"),onClickButton:()=>{h&&o(h.id)}})]})]})},x=!0,_passId_=()=>(0,a.jsx)(pass_PlacePassDetailScreen,{})},42583:function(t,e,s){"use strict";var a=s(85893),i=s(22089);e.Z=t=>{let{title:e,isDisabled:s=!1,onClickButton:l,leftButton:n,customClassName:r,activeButtonColorClassName:o}=t;return(0,a.jsx)("div",{className:"tw-z-[100] tw-bg-white tw-p-[16px_24px_24px_24px] tw-fixed tw-bottom-0 tw-left-0 tw-right-0 tw-w-full tw-m-[0_auto] ".concat(i.bS," ").concat(r),children:(0,a.jsxs)("div",{className:"tw-flex tw-gap-[8px]",children:[n,(0,a.jsx)("button",{className:"tw-rounded-[8px] tw-w-full tw-h-[48px] tw-text-[16
1px] tw-font-bold tw-leading-[150%] tw-tracking-[-0.576px] tw-border-solid tw-border-[1px] ".concat(s?"tw-bg-white tw-border-[#DADBD6] tw-text-[#AAAAAA]":o||"tw-bg-[#344235] tw-border-[#344235] tw-text-white"),onClick:l,disabled:s,children:e})]})})}},81103:function(t,e,s){"use strict";var a=s(85893),i=s(67294),l=s(11163),n=s(23279),r=s.n(n),o=s(23493),c=s.n(o),d=s(22089),u=s(77497),w=s(50227),p=s(4886),x=s(5704),f=s(65513);let h=null,shouldForceHomeOnBack=()=>{let t=window.location.pathname,e=window.history.length;return h&&h.path===t&&h.historyLength===e?(h=null,!0):(h={path:t,historyLength:e},!1)};e.Z=t=>{let{title:e="",useBackButton:s=!1,useHomeButton:n=!1,useShareButton:o=!1,removeParamsFromSharedLink:h=!0,shareData:g,backgroundColor:v="tw-bg-white",textColor:m="tw-text-black",buttonColor:y="#4E5C4F",useBackdropBlur:b=!1,useBottomBorder:P=!1,isFixed:D=!0,onClickBack:j,onClickHome:C}=t,k=(0,l.useRouter)(),[N,_]=(0,i.useState)(!1),I={...g,description:(null==g?void 0:g.description)||"-"};(0,u.L)({isOn:N});let Z=c()(()=>{var t,e,s,a;if(j){j();return}if((null===(e=window)||void 0===e?void 0:null===(t=e.history)||void 0===t?void 0:t.length)<=1||(null===(a=window)||void 0===a?void 0:null===(s=a.history)||void 0===s?void 0:s.length)===2&&shouldForceHomeOnBack()){k.replace("/");return}k.back()},1e3,{leading:!0,trailing:!1}),F=r()(()=>{if(C){C();return}k.push("/")},300,{leading:!0,trailing:!1}),S=D?"tw-fixed tw-inset-0 tw-mx-auto ".concat(d.bS):"tw-relative";return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"tw-flex tw-w-full tw-z-[100] ".concat(d.Zd," ").concat(S," ").concat(v," ").concat(m," ").concat(b?"tw-backdrop-blur-md":""," ").concat(P?"tw-border-b-[1px] tw-border-solid tw-border-b-[#F5F5F5]":""),children:[(0,a.jsxs)("div",{className:"tw-flex tw-items-center tw-justify-center tw-gap-[8px] tw-px-[12px]",children:[(0,a.jsx)("button",{className:"tw-w-[32px] tw-h-[32px] tw-shrink-0 tw-flex tw-items-center tw-justify-center",disabled:!s,onClick:Z,children:s&&(0,a.jsx)(p.Z,{width:32,height:32,fill:y})}),(0,a.jsx)("button",{className:"tw-w-[32px] tw-h-[32px] tw-shrink-0 tw-flex tw-items-center tw-justify-center",disabled:!n,onClick:F,children:n&&(0,a.jsx)(x.Z,{width:32,height:32,fill:y})})]}),(0,a.jsx)("div",{className:"tw-flex tw-items-center tw-justify-center tw-flex-1 tw-min-w-0",children:(0,a.jsx)("span",{className:"tw-overflow-hidden tw-whitespace-nowrap tw-text-ellipsis tw-text-[16
1px] tw-font-bold tw-leading-[136%] tw-tracking-[-0.576px]",children:e})}),(0,a.jsxs)("div",{className:"tw-flex tw-items-center tw-justify-center tw-gap-[8px] tw-px-[12px]",children:[(0,a.jsx)("div",{className:"tw-w-[32px] tw-h-[32px] tw-shrink-0 tw-flex tw-items-center tw-justify-center"}),(0,a.jsx)("button",{className:"tw-w-[32px] tw-h-[32px] tw-shrink-0 tw-flex tw-items-center tw-justify-center",disabled:!o,onClick:()=>{g&&_(!0)},children:o&&(0,a.jsx)(f.Z,{width:32,height:32,fill:y})})]})]}),(0,a.jsx)(w.Z,{shareData:I,isOpen:N,isClose:()=>_(!1),removeParams:h})]})}},5704:function(t,e,s){"use strict";var a=s(85893);e.Z=t=>{let{width:e=32,height:s=32,fill:i="#4E5C4F"}=t;return(0,a.jsx)("svg",{width:e,height:s,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 9.51973L10.25 13.4944V21.7502H21.75V13.4944L16 9.51973ZM14.7206 7.36497C15.4905 6.83277 16.5095 6.83277 17.2794 7.36497L23.2794 11.5124C23.8872 11.9326 24.25 12.6244 24.25 13.3633V22.0002C24.25 23.2428 23.2426 24.2502 22 24.2502H10C8.75736 24.2502 7.75 23.2428 7.75 22.0002V13.3633C7.75 12.6244 8.11279 11.9326 8.72061 11.5124L14.7206 7.36497Z",fill:i})})}},65513:function(t,e,s){"use strict";var a=s(85893);e.Z=t=>{let{width:e=32,height:s=32,fill:i="#4E5C4F"}=t;return(0,a.jsx)("svg",{width:e,height:s,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.129 6.56129C15.6141 6.0629 16.3859 6.0629 16.871 6.56129L20.371 10.1574C20.8662 10.6662 20.8776 11.5033 20.3966 12.027C19.9156 12.5507 19.1242 12.5629 18.629 12.0541L17.25 10.6372V19.1971C17.25 19.9273 16.6904 20.5192 16 20.5192C15.3096 20.5192 14.75 19.9273 14.75 19.1971L14.75 10.6372L13.371 12.0541C12.8758 12.5629 12.0844 12.5507 11.6034 12.027C11.1224 11.5033 11.1338 10.6662 11.629 10.1574L15.129 6.56129ZM9 15.1779C9.69036 15.1779 10.25 15.7698 10.25 16.5V23.6923C10.25 23.806 10.2936 23.923 10.3835 24.0154C10.4747 24.1091 10.6059 24.1683 10.75 24.1683H21.25C21.3941 24.1683 21.5253 24.1091 21.6165 24.0154C21.7064 23.923 21.75 23.806 21.75 23.6923V16.5C21.75 15.7698 22.3096 15.1779 23 15.1779C23.6904 15.1779 24.25 15.7698 24.25 16.5V23.6923C24.25 24.5324 23.9249 25.3301 23.3584 25.9121C22.7932 26.4928 22.0341 26.8125 21.25 26.8125H10.75C9.96585 26.8125 9.20679 26.4928 8.64158 25.9121C8.07514 25.3301 7.75 24.5324 7.75 23.6923V16.5C7.75 15.7698 8.30964 15.1779 9 15.1779Z",fill:i})})}},4886:function(t,e,s){"use strict";var a=s(85893);e.Z=t=>{let{width:e=32,height:s=32,fill:i="#4E5C4F"}=t;return(0,a.jsxs)("svg",{width:e,height:s,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("g",{clipPath:"url(#clip0_16265_42878)",children:(0,a.jsx)("path",{d:"M19.6075 23.0595C20.1265 22.5405 20.127 21.6991 19.6085 21.1795L14.4403 16L19.6085 10.8205C20.127 10.3009 20.1265 9.45954 19.6075 8.94051C19.0881 8.42108 18.2459 8.42108 17.7265 8.94051L11.2414 15.4256C10.9241 15.7429 10.9241 16.2571 11.2414 16.5744L17.7265 23.0595C18.2459 23.5789 19.0881 23.5789 19.6075 23.0595Z",fill:i})}),(0,a.jsx)("defs",{children:(0,a.jsx)("clipPath",{id:"clip0_16265_42878",children:(0,a.jsx)("rect",{width:"32",height:"32",fill:"white"})})})]})}},30984:function(t,e,s){"use strict";s.d(e,{Gh:function(){return l},LM:function(){return c},PG:function(){return n},Wb:function(){return r},Zk:function(){return o},tf:function(){return d},wg:function(){return i}});var a=s(40213);let i="".concat(a.FX),l="imp23714388",n="tosspayments",r="channel-key-501113ae-e2d1-4926-806b-d9a648099ad5",o="channel-key-4e50e567-4fae-4af8-9b9f-dbf9eb87dd05",c={CARD:"card",PAYCO:"payco",KAKAO_PAY:"kakaopay",TOSS_PAY:"tosspay"},d={CANCELLED:"F400"}},63476:function(t,e,s){"use strict";var a=s(11163),i=s(40213),l=s(23344),n=s(65388);e.Z=()=>{let t=(0,a.useRouter)(),{resetPurchasePassForm:e}=(0,n.Z)();return{startPurchasePass:(s,a)=>
1{if(e(),!(0,i.q0)()){t.push({pathname:"/login",query:{redirectUrl:t.asPath}});return}let n={...(null==a?void 0:a.isGift)&&{isGift:!0},...(null==a?void 0:a.welloRefId)&&{[l.ZZ]:a.welloRefId}};t.push({pathname:"/purchase/pass/".concat(s),query:n})}}}},58057:function(t,e,s){"use strict";s.d(e,{V:function(){return l}});var a=s(41086),i=s(494);let listPasses=async t=>{var e;let s=new URLSearchParams;s.set("placeId",t.placeId),t.status&&s.set("status",t.status);let l=null!==(e=null==t?void 0:t.locale)&&void 0!==e?e:"ko",n=(0,i.y)(l),r=await a.Z.get("/pass?".concat(s.toString()),{...n});return r.data},getPassDetail=async t=>{var e,s;let l=null!==(s=null==t?void 0:t.locale)&&void 0!==s?s:"ko",n=(0,i.y)(l),r=await a.Z.get("/pass/".concat(t.passId),{...n});return null==r?void 0:null===(e=r.data)||void 0===e?void 0:e.value},getMyPassHistory=async t=>{let{limit:e=10,cursor:s,locale:l}=t,n=(0,i.y)(null!=l?l:"ko"),r=await a.Z.get("/pass/users/me/list",{params:{limit:e,cursor:s},...n});return r.data},getMyPassDetail=async t=>{var e;let{passId:s,locale:l}=t,n=(0,i.y)(null!=l?l:"ko"),r=await a.Z.get("/pass/users/me/".concat(s),{...n});return null==r?void 0:null===(e=r.data)||void 0===e?void 0:e.value},purchasePass=async t=>{var e;let s=null!==(e=null==t?void 0:t.locale)&&void 0!==e?e:"ko",l=(0,i.y)(s),n=await a.Z.post("/payments/pass/".concat(t.passId),{userName:t.userName,userPhone:t.userPhone,userCouponId:t.userCouponId,expectedPayAmount:t.expectedPayAmount,startDate:t.startDate,giftSelection:t.giftSelection,isGift:!!t.isGift,affiliateCode:t.affiliateCode,usePoints:t.usePoints,scheduleId:t.scheduleId,...t.source&&t.refId&&{source:t.source,refId:t.refId}},{...l});return n.data.value},purchasePassComplete=async t=>{var e;let s=null!==(e=null==t?void 0:t.locale)&&void 0!==e?e:"ko",l=(0,i.y)(s),n=await a.Z.post("/payments/pass/".concat(t.passId,"/complete"),t,{...l});return n.data.value},purchasePassFail=async t=>{await a.Z.post("/payments/pass/".concat(t.passId,"/fail"),t)},getObudPassDetail=async t=>{var e;let s=await a.Z.get("/pass/obud",t);return null==s?void 0:null===(e=s.data)||void 0===e?void 0:e.value},registerGiftPass=async t=>{let{giftCode:e,locale:s="ko"}=t,l=(0,i.y)(s),n=await a.Z.post("/pass/gift/register",{giftCode:e},{...l});return n.data},changeStartDate=async t=>{let{userPassId:e,newStartDate:s,locale:l="ko"}=t,n=(0,i.y)(l),r=await a.Z.put("/pass/users/me/".concat(e,"/start-date"),{newStartDate:s},{...n});return r.data},getMyPassReservations=async t=>{var e;let{userPassId:s,locale:l="ko"}=t,n=(0,i.y)(l),r=await a.Z.get("/pass/users/me/".concat(s,"/reservations"),{...n});return null==r?void 0:null===(e=r.data)||void 0===e?void 0:e.value},getActivatedUserPasses=async t=>{var e;let{scheduleId:s,locale:l="ko"}=t,n=(0,i.y)(l),r=await a.Z.get("/pass/users/me/active",{params:{scheduleId:s},...n});return null==r?void 0:null===(e=r.data)||void 0===e?void 0:e.value},getObudPassPeriodsByPlaceId=async t=>{var e;let s=await a.Z.get("/pass/users/me/obud-pass-availability",{params:{placeId:t}});return null==s?void 0:null===(e=s.data)||void 0===e?void 0:e.value},l={listPasses,getPassDetail,purchasePass,purchasePassComplete,purchasePassFail,getObudPassDetail,registerGiftPass,getMyPassHistory,getMyPassDetail,getMyPassReservations,changeStartDate,getActivatedUserPasses,getObudPassPeriodsByPlaceId}},65388:function(t,e,s){"use strict";var a=s(31993),i=s(782),l=s(30984);let n={startDate:"",endDate:"",selectedCoupon:null,usedPoint:0,selectedPayMethod:l.LM.CARD,isForeignCard:!1,isBillingKeyPayment:!0,selectedBillingKey:null},r=(0,a.U)()((0,i.tJ)(t=>({...n,setStartDate:e=>t({startDate:e}),setEndDate:e=>t({endDate:e}),setSelectedCoupon:e=>t({selectedCoupon:e}),setUsedPoint:e=>t({usedPoint:e}),setSelectedPayMethod:e=>t({selectedPayMethod:e}),setIsForeignCard:e=>t({isForeignCard:e}),setIsBillingKeyPayment:e=>t({isBillingKeyPayment:e}),setSelectedBillingKey:e=>t({selectedBillingKey:e}),resetPurchasePassForm:()=>t(n)}),{name:"purchase-pass-form-storage",storage:(0,i.FL)(()=>sessionStorage)}));e.Z=r},23344:function(t,e,s){"use strict";s.d(e,{Sb:function(){return getWelloRefIdFromQuery},ZZ:function(){return i},bm:function(){return clearWelloVisitMemo},gc:function(){return consumeWelloVisitAttribution},oK:function(){return getWelloAttributionFromQuery},rf:function(){return appendWelloRefIdToPath}});var a=s(54958);let i="wri",l="wello",getWelloRefIdFromQuery=t=>{let e=null==t?void 0:t[i];return"string"==typeof e&&e?e:null},getWelloAttributionFromQuery=t=>{let e=getWelloRefIdFromQuery(t);return e?{source:l,refId:e}:null},appendWelloRefIdToPath=(t,e)=>{if(!e)return t;let s=t.includes("?")?"&":"?";return"".concat(t).concat(s).concat(i,"=").concat(encodeURIComponent(e))},getVisitMemoKey=(t,e)=>"".concat(t,":").concat(e),readVisitMemo=()=>{try{return JSON.parse(sessionStorage.getItem(a.s.WELLO_VISIT_LOGGED)||"[]")}catch(t){return[]}},writeVisitMemo=t=>{sessionStorage.setItem(a.s.WELLO_VISIT_LOGGED,JSON.stringify(t))},clearWelloVisitMemo=(t,e)=>{let s=getVisitMemoKey(t,e);writeVisitMemo(readVisitMemo().filter(t=>t!==s))},consumeWelloVisitAttribution=(t,e)=>{let s=getWelloRefIdFromQuery(t);if(!s)return null;let a=readVisitMemo(),i=getVisitMemoKey(s,e);return a.includes(i)?null:(writeVisitMemo([...a,i]),{source:l,refId:s})}}},function(t){t.O(0,[2782,3951,227,9774,2888,179],function(){return t(t.s=73008)}),_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.