PageSourceSearch

https://hotel-plus-hostel.jp/_next/static/chunks/5682.c5ecec7c19f43501.js

js hotel-plus-hostel.jp collected 2026-10-09 03:27:07 UTC 3,284 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5682],{5682:function(e,a,c){c.r(a),c.d(a,{styles:function(){return r}});var n=c(5893),s=c(8278),l=c(7294);let r={textCenter:{textAlign:"center"}};a.default=function(e){let{proposal_plans:a,menNum:c,womenNum:r,cinDate:t,coutDate:i,isHostel:p,selectedPlan:d,campaign:_}=e,{locale:o,t:h}=(0,s.b)();parseInt("960");let m=async(e,a)=>{var n="https://api.hotel-plus-hostel.jp";n+="/reservation/plan/".concat(e,"/").concat(c,"/").concat(r,"/").concat(t,"/").concat(i,"/").concat(a),_&&(n+="?campaignCode="+encodeURIComponent(_.campaign_code));let s=await fetch(n),l=await s.json();if(200!=s.status)return d({...d,error:!0});d({...d,error:!1,selectedPlan:l.selectedPlan})};(0,l.useEffect)(()=>{},[]);let x=()=>(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:"c-plan__pricebox__col",children:[(0,n.jsx)("div",{className:"c-plan__heading -center",children:(0,n.jsx)("p",{children:h.plan.text.RegularPrice})}),(0,n.jsx)("div",{className:"u-price__set campaign",children:(0,n.jsx)("div",{className:"u-price",children:"-"})})]})}),j=e=>(e.display_prices.charges_total.charge,(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:"c-plan__pricebox__col -member",children:[(0,n.jsx)("div",{className:"c-plan__heading -center",children:(0,n.jsx)("p",{children:h.planPreview.specialPrice})}),(0,n.jsx)("div",{className:"u-price__set campaign",children:(0,n.jsx)("div",{className:"u-price",children:(0,n.jsx)("div",{className:"u-price__after",children:e.display_prices.member_discount_charges_total.charge?new Intl.NumberFormat("ja-JP",{style:"currency",currency:"JPY"}).format(e.display_prices.member_discount_charges_total.charge).replace(/^ï¿¥/,"\xa5"):new Intl.NumberFormat("ja-JP",{style:"currency",currency:"JPY"}).format(e.display_prices.charges_total.charge).replace(/^ï¿¥/,"\xa5")})})})]})})),u=e=>1!=p?(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("span",{children:[h.plan.text.Capacity,"1",h.plan.text.Person,"\xd7 ",c+r," ",h.plan.text.Person2]})}):0==e.dormitory?(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("span",{children:[h.plan.text.Capacity,"1",h.plan.text.Room," ",e.capacity," ",h.plan.text.Person2," ",c+r," ",h.plan.text.Person3]})}):(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("span",{children:[h.plan.text.Capacity,"1",h.plan.text.Person,"\xd7 ",c+r," ",h.plan.text.Person2]})});return Object.keys(a).map(e=>{var c=a[e];return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{className:"c-plan",children:(0,n.jsxs)("div",{className:"c-plan__inner",children:[(0,n.jsxs)("div",{className:"c-plan__head",children:[(0,n.jsx)("div",{className:"c-plan__heading",children:(0,n.jsx)("p",{children:h.planPreview.includeTax})}),(0,n.jsxs)("p",{className:"c-plan__title -l",children:[c["name_"+o],u(c)]})]}),(0,n.jsx)("div",{className:"c-plan__body",children:(0,n.jsxs)("div",{className:"c-plan__body__item",children:[(0,n.jsxs)("div",{className:"c-plan__pricebox",children:[x(),j(c)]}),(0,n.jsx)("div",{className:"c-plan__btn",children:(0,n.jsx)("div",{className:"c-plan__btn__inner",children:(0,n.jsx)("button",{className:"c-button -s ".concat(c.ga_class_names||""),type:"button",onClick:()=>m(c.property_id,c.code),children:(0,n.jsx)("span",{children:h.plan.menu.Reserve})})})})]})})]})},"c-plan-"+e)})})}}}]);

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.