PageSourceSearch

https://urbanstay.co.kr/_next/static/chunks/pages/place/[branch]-4e0dcab91439cfb7.js

js urbanstay.co.kr collected 2026-10-08 07:49:44 UTC 13,319 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[960],{9385:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r,l,i=n(14232);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let o=function(e){return i.createElement("svg",a({width:20,height:20,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r||(r=i.createElement("path",{d:"M12.25 1.003a3.15 3.15 0 0 1 2.847 4.5H18.1a.9.9 0 0 1 .9.9v3.599a.9.9 0 0 1-.9.9h-.9V18.1a.9.9 0 0 1-.9.9H3.7a.9.9 0 0 1-.9-.9v-7.199h-.9a.9.9 0 0 1-.9-.9V6.402a.9.9 0 0 1 .9-.9l3.003.001a3.149 3.149 0 0 1 5.098-3.554 3.131 3.131 0 0 1 2.249-.946Zm3.15 9.898H4.6v6.3h10.8v-6.3Zm1.8-3.599H2.8v1.8h14.4v-1.8Zm-9.45-4.5a1.35 1.35 0 0 0-.13 2.694l.13.006H9.1v-1.35A1.35 1.35 0 0 0 7.88 2.81l-.13-.006Zm4.5 0-.13.007a1.35 1.35 0 0 0-1.215 1.214l-.005.13v1.35h1.35l.13-.007a1.35 1.35 0 0 0 0-2.687l-.13-.006Z",fill:"#09121F"})),l||(l=i.createElement("path",{d:"M8.03 1.163a3 3 0 0 1 1.864.89l.107.111.107-.11a2.982 2.982 0 0 1 1.843-.887l.299-.014a3.002 3.002 0 0 1 2.996 2.819c.03.505-.068 1.01-.285 1.466l-.102.215H18.1a.75.75 0 0 1 .75.75v3.599a.75.75 0 0 1-.75.749h-1.05v7.35a.749.749 0 0 1-.75.749H3.7a.75.75 0 0 1-.75-.75v-7.349H1.9a.75.75 0 0 1-.75-.749v-3.6a.75.75 0 0 1 .75-.75l3.003.001h.238l-.102-.215a2.999 2.999 0 0 1 2.99-4.275ZM4.45 17.351h11.1v-6.6H4.45v6.6Zm-1.8-8.099h14.7v-2.1H2.65v2.1Zm5.1-6.6a1.5 1.5 0 0 0-.145 2.994h.008l.13.006H9.25v-1.5A1.5 1.5 0 0 0 7.894 2.66h-.007l-.13-.007H7.75Zm4.493.001-.13.006-.007.001a1.501 1.501 0 0 0-1.35 1.349v.008l-.006.13v1.505h1.507l.13-.006h.008a1.502 1.502 0 0 0 .965-2.501 1.5 1.5 0 0 0-.965-.485h-.008l-.13-.007h-.014Z",fill:"#09121F",stroke:"#fff",strokeWidth:.3})))}},9516:(e,t,n)=>{"use strict";n.d(t,{O:()=>o});var r=n(18153);n(14232);var l=n(89289),i=n(56105),a=n(99742);let o=e=>{let{branchName:t,branchSlug:n,branchBrandName:o,branchIntro:c,address:d,latitude:s,longitude:u,checkInTime:h,checkOutTime:p,mapUrl:f,images:m}=e.branch,v="".concat(o," ").concat(t),g="https://urbanstay.co.kr/place/".concat(n),y={"@context":"https://schema.org","@type":"Hotel","@id":g,url:g,name:v,brand:{"@type":"Brand",name:o},description:c,photo:m.map(e=>"".concat(a.env.ASSET_PREFIX||"","/images/").concat(e)),telephone:"+82-".concat(l.IR),checkinTime:"".concat(h,":00+09:00"),checkoutTime:"".concat(p,":00+09:00"),petsAllowed:!1,smokingAllowed:!1,currenciesAccepted:"KRW",paymentAccepted:"Credit Card, Cash, PayPal",hasMap:f,address:d,geo:{"@type":"GeoCoordinates",latitude:s,longitude:u},amenityFeature:[{"@type":"LocationFeatureSpecification",name:"Free Wi-Fi",value:!0}]};return(0,r.FD)(r.FK,{children:[(0,r.Y)("title",{children:v}),(0,r.Y)("meta",{name:"description",content:c}),(0,r.Y)("meta",{property:"og:title",content:v}),(0,r.Y)("meta",{property:"og:description",content:c}),(0,r.Y)("meta",{property:"og:image",content:(0,i.Qr)(m[0])}),(0,r.Y)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(y)}})]})}},48510:(e,t,n)=>{"use strict";n.d(t,{QG:()=>o,WL:()=>d,nF:()=>c});var r=n(1992),l=n(33397),i=n(89289),a=n(97032);let o=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return{...(0,r.useQuery)(["/timeSlot/booking",e],()=>l.A.get({url:"/v1/timeSlot/booking",params:{statuses:[i.L4.USED,i.L4.SETTLED]},config:t})||[],{select:e=>e||[],refetchOnWindowFocus:!0,...n})}},c=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return{...(0,r.useQuery)(["/timeSlot/coupon",e],()=>l.A.get({url:"/v1/timeSlot/coupon",config:t})||[],{select:e=>e||[],refetchOnWindowFocus:!0,...n})}},d=function(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return{...(0,r.useQuery)(["/timeSlot/facility",e,t,n],()=>l.A.get({url:"/v1/timeSlot/facility",params:{branchId:(0,a.y1)(e),...t&&{scheduleStartDate:(0,a.y1)(t)},...n&&{scheduleEndDate:(0,a.y1)(n)}}}),{...i})}}},48641:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__N_SSP:()=>A,default:()=>F});var r=n(18153),l=n(14232),i=n(21611),a=n(77328),o=n.n(a),c=n(55217),d=n(89289);let s=e=>{var t;let[n,r]=(0,l.useState)(null!==(t=e[0])&&void 0!==t?t:""),i=(0,l.useRef)(!1);return(0,l.useEffect)(()=>{let t=()=>{if(i.current)return;let t=window.innerHeight+window.scrollY>=document.body.offsetHeight-30,n=window.scrollY+d.uF+48+50,l=e[0];for(let r of e){let e=document.getElementById(r);if(e)if(t){let t=e.getBoundingClientRect(),n=Math.max(t.top,d.uF+48);Math.min(t.bottom,window.innerHeight)-n>50&&(l=r)}else e.offsetTop<=n&&(l=r)}r(l)};return window.addEventListener("scroll",t,{passive:!0}),()=>window.removeEventListener("scroll",t)},[e]),{selectedTab:n,handleClickTab:(0,l.useCallback)(e=>{r(e),i.current=!0;let t=document.getElementById(e);t&&window.scrollTo({top:t.offsetTop-d.uF-48+1,behavior:"smooth"});let n=setTimeout(()=>{i.current=!1},1e3);window.addEventListener("scrollend",()=>{clearTimeout(n),i.current=!1},{once:!0})},[])}};var u=n(48510),h=n(1992),p=n(33397);let f=function(e){var t,n,r,l;let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=(0,h.useQuery)(["/wavepark/exposure",e],()=>p.A.get({url:"/v1/wavepark/exposure",params:{branchId:e}}),{enabled:!!e,retry:!1,...i});return{...a,exposed:null!==(r=null===(t=a.data)||void 0===t?void 0:t.exposed)&&void 0!==r&&r,minPrice:null!==(l=null===(n=a.data)||void 0===n?void 0:n.minPrice)&&void 0!==l?l:null}};var m=n(61157),v=n(73909),g=n(9516),y=n(26352),Y=n(31276),b=n(92018),w=n(52560),x=n(85981),E=n(42611);let k=[{label:"객실 선택",value:"roomType"},{label:"시설\xb7서비스",value:"facility"},{label:"위치",value:"branchInfo"},{label:"이용 정책",value:"policy"}];var A=!0;let F=e=>{var t,n,i;let{branchItems:a}=e,{branchId:d,branchName:h,branchBrandName:p,address:A,latitude:F,longitude:O,mapUrl:_,images:H,image:I,image1:L,image2:T,image3:M,contents:N}=a,C=(N||[]).find(e=>"PARKING"===e.category),{isModalOpen:P,openModal:D,closeModal:Z}=(0,c.H)(),{data:j,isLoading:W}=(0,u.WL)(String(d)),{exposed:R,minPrice:V}=f(Number(d)),z=null!==(i=null==j?void 0:null===(t=j.branches[0])||void 0===t?void 0:t.facilities.map(e=>
1e.displayName).filter(Boolean))&&void 0!==i?i:[],[B,Q]=(0,l.useState)(!1),[K,q]=(0,l.useState)([]),[G,X]=(0,l.useState)(!0),U=(0,l.useMemo)(()=>{let e=K.flatMap(e=>{var t;return null!==(t=e.benefits)&&void 0!==t?t:[]}),t=new Set,n=e.filter(e=>{let n="".concat(e.name,"__").concat(e.rate);return!t.has(n)&&(t.add(n),!0)});return 51!==d?n.filter(e=>!e.name.includes("속초중앙")):n},[K,d]),J=(0,l.useMemo)(()=>(N||[]).filter(e=>{var t;return null===(t=e.contents)||void 0===t?void 0:t.trim()}),[N]),$=(0,l.useMemo)(()=>k.filter(e=>"facility"!==e.value||B),[B]),{selectedTab:ee,handleClickTab:et}=s((0,l.useMemo)(()=>$.map(e=>e.value),[$])),en=(0,l.useRef)(!1);(0,l.useEffect)(()=>{!W&&!G&&!en.current&&sessionStorage.getItem("scroll_to_facility")&&(en.current=!0,sessionStorage.removeItem("scroll_to_facility"),requestAnimationFrame(()=>{var e;null===(e=document.getElementById("facility"))||void 0===e||e.scrollIntoView({behavior:"auto"})}))},[W,G]);let er=(0,l.useCallback)(e=>{Q(e||R)},[R]),el=H.length>0?H:[I,L,T,M].filter(Boolean);return(0,l.useEffect)(()=>{let e=document.body.style.background;return document.body.style.background="transparent",()=>{document.body.style.background=e}},[]),(0,r.FD)(v.mO,{position:"relative",children:[(0,r.Y)(o(),{children:(0,r.Y)(g.O,{branch:a})}),(0,r.FD)(v.fI,{position:"absolute",width:"100%",top:"var(--sat)",left:"0",zIndex:10,align:"center",justify:"space-between",padding:"20px",children:[(0,r.Y)(S,{children:(0,r.Y)(E.oq,{color:"white"})}),(0,r.Y)(S,{children:(0,r.Y)(E.wD,{color:"white"})})]}),(0,r.Y)(Y.YI,{height:"40dvh",images:el,numericIndicator:!0,onOpenGallery:()=>D("gallery")}),(0,r.Y)(y.gP,{branch:a,facilityNames:z}),(0,r.Y)(x.A,{benefits:U,branchId:d}),(0,r.Y)(b.A,{tabs:$,selectedTab:ee,onClickTab:et,top:"0"}),(0,r.Y)("div",{id:"roomType",children:(0,r.Y)(y.fk,{branchId:d,onProductsLoaded:q,onLoadingChange:X})}),(!!(null==j?void 0:null===(n=j.branches[0])||void 0===n?void 0:n.facilities.length)||R)&&(0,r.Y)(y.d$,{data:j,isLoading:W,onDataLoaded:er,waveparkExposed:R,waveparkMinPrice:V,branchId:d}),(0,r.Y)(v.MT,{}),(0,r.Y)(y.Pl,{address:A,latitude:F,longitude:O,onOpenMap:()=>D("map")}),(0,r.Y)(v.MT,{}),(0,r.Y)(y.U8,{parkingContent:C}),(0,r.Y)(v.MT,{}),(0,r.Y)(y.YI,{policyContents:J}),(0,r.Y)("div",{style:{height:40}}),(0,r.Y)(w.wW,{isOpen:P("map"),address:A,locations:[{branchBrand:p||"어반스테이",branchName:h,latitude:F,longitude:O,mapUrl:_}],onRequestClose:()=>Z("map")}),(0,r.Y)(m.AK,{isOpen:P("gallery"),imageItem:{title:"갤러리",images:el},onRequestClose:()=>{Z("gallery")}})]})},S=(0,i.A)(v.fI,{target:"e1eai1ku0"})("width:36px;height:36px;justify-content:center;align-items:center;cursor:pointer;background:rgba(0,0,0,0.3);border-radius:50%;flex-shrink:0;")},54903:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/place/[branch]",function(){return n(48641)}])},85981:(e,t,n)=>{"use strict";n.d(t,{A:()=>x});var r,l,i,a,o=n(18153),c=n(14232),d=n(21611),s=n(73909);function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let h=function(e){return c.createElement("svg",u({width:20,height:20,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r||(r=c.createElement("path",{d:"M16 17H4c-1.105 0-2-.9-2-2.009V4l4 4.018L10 4l4 4.018L18 4v10.991c0 1.11-.895 2.009-2 2.009ZM3.333 7.233v7.758c0 .37.299.67.667.67h12c.368 0 .667-.3.667-.67V7.233L14 9.911l-4-4.017L6 9.91 3.333 7.233Z",fill:"#000"})),l||(l=c.createElement("path",{d:"m13.965 8.053.035.036.035-.036L17.95 4.12v10.871a1.955 1.955 0 0 1-1.95 1.96H4a1.955 1.955 0 0 1-1.95-1.96V4.121l3.915 3.932.035.036.035-.036L10 4.07l3.965 3.983Zm-4-2.195L6 9.84 3.37 7.197l-.087-.085v7.88c0 .396.321.719.717.719h12a.718.718 0 0 0 .717-.72V7.112l-.086.085-2.632 2.643-3.964-3.982L10 5.823l-.035.035Z",stroke:"#fff",strokeWidth:.1})))};function p(){return(p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let f=function(e){return c.createElement("svg",p({width:20,height:20,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),i||(i=c.createElement("circle",{cx:10,cy:10,r:8.45,stroke:"#000",strokeWidth:1.1})),a||(a=c.createElement("path",{d:"M10.642 6.222c.963 0 1.723.245 2.278.734.563.488.845 1.159.845 2.01 0 .564-.126 1.053-.378 1.467a2.478 2.478 0 0 1-1.09.945c-.466.215-1.018.322-1.655.322H8.92V14H7.653V6.222h2.99Zm-.055 4.39c.614 0 1.085-.145 1.41-.434.327-.29.49-.693.49-1.211 0-.526-.163-.934-.49-1.223-.325-.288-.796-.433-1.41-.433H8.92v3.3h1.667Z",fill:"#000"})))};var m=n(9385),v=n(4871);let g=(0,d.A)(s.fI,{target:"edyf4ud0"})("gap:12px;border-top:1px solid #efefef;padding:16px 0;align-items:flex-start;& > ",s.EY,"{line-height:21px;font-size:14px;}.icon{width:20px;padding-top:2px;}.title{width:80px;font-weight:700;font-size:14px;padding-top:1px;flex-shrink:0;}"),y=(0,d.A)(s.fv,{target:"edyf4ud1"})("flex:1;gap:4px;"),Y=(0,d.A)(s.fv,{target:"edyf4ud2"})("gap:8px;overflow:hidden;max-height:",e=>{let{isOpen:t}=e;return t?"600px":"50px"},";transition:max-height 0.35s cubic-bezier(0.4,0,0.2,1);& > ",s.EY,"{font-size:14px;font-weight:400;}& li::marker{color:#888;font-size:12px;}"),b=(0,d.A)("button",{target:"edyf4ud3"})("display:flex;align-items:center;justify-content:center;width:28px;height:28px;background:#f4f5fa;border-radius:50%;cursor:pointer;flex-shrink:0;align-self:flex-start;margin-top:2px;"),w=(0,d.A)("div",{target:"edyf4ud4"})("display:flex;align-items:center;transition:transform 0.3s cubic-bezier(0.4,0,0.2,1);transform:",e=>{let{isOpen:t}=e;return t?"rotate(180deg)":"rotate(0deg)"},";"),x=e=>
1{let{benefits:t,branchId:n}=e,[r,l]=(0,c.useState)(!1),i=t.length>2;return(0,o.FD)(o.FK,{children:[(0,o.Y)(s.mO,{padding:"0 20px",children:(0,o.FD)(s.fv,{children:[51!==n?(0,o.FD)(g,{children:[(0,o.Y)("div",{className:"icon",children:(0,o.Y)(h,{})}),(0,o.Y)(s.EY,{className:"title",children:"회원 전용"}),(0,o.Y)(s.EY,{children:"레이트 체크아웃 1시간 제공 (체크아웃 12:00)"})]}):(0,o.FD)(g,{children:[(0,o.Y)("div",{className:"icon",children:(0,o.Y)(h,{})}),(0,o.Y)(s.EY,{className:"title",children:"지점 단독"}),(0,o.Y)(s.EY,{children:"얼리 체크인 1시간 제공 (체크인 15:00)"})]}),(0,o.FD)(g,{children:[(0,o.Y)("div",{className:"icon",children:(0,o.Y)(f,{})}),(0,o.Y)(s.EY,{className:"title",children:"적립"}),(0,o.Y)(s.EY,{children:"결제 금액의 3% 포인트 적립"})]}),t.length>0&&(0,o.FD)(g,{children:[(0,o.Y)("div",{className:"icon",children:(0,o.Y)(m.A,{})}),(0,o.Y)(s.EY,{className:"title",children:"예약 혜택"}),(0,o.Y)(y,{children:(0,o.Y)(Y,{isOpen:!i||r,children:t.map((e,t)=>(0,o.Y)(s.EY,{fontSize:"14px",children:(0,o.FD)("li",{children:[e.name," ",e.rate,"% 할인"]})},t))})}),i&&(0,o.Y)(b,{onClick:()=>l(e=>!e),children:(0,o.Y)(w,{isOpen:r,children:(0,o.Y)(v.A,{width:"12px"})})})]})]})}),(0,o.Y)(s.MT,{})]})}}},e=>{var t=t=>e(e.s=t);e.O(0,[888,1157,636,6593,8792],()=>t(54903)),_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.