PageSourceSearch

https://skyticket.jp/hotel//_next/static/chunks/5668.956214ae690b62f0.js

js skyticket.jp collected 2026-09-24 17:16:26 UTC 15,483 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5668],{90481:function(e,t,n){n.r(t),n.d(t,{ErrorMesssageText:function(){return Y},SearchBoxResult:function(){return A}});var r=n(59499),i=n(16835),o=n(11163),a=n(67294),c=n(74555),s=n(19521),u=n(40238),d=n(10225),l=n(41546),p=n(48413),h=n(20546),f=n(47954),m=n(57660),x=n(60734),g=n(80769),b=n(10242),v=n(79571),w=n(63844),y=n(451),j=n(39173),S=n(6319),C=n(27100),P=n(96827),k=n(60578),B=n(49265),R=n(33193),_=n(99623),O=n(67528),N=n(40997),I=n(92564),M=n(85893);function D(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function E(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?D(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Z=function(e){return(0,M.jsxs)("svg",E(E({},e),{},{children:[(0,M.jsx)("title",{}),(0,M.jsx)("path",{d:"M512 92.774L941.102 948H82.896L512 92.774zM512 0c-22.07 0-44.14 14.882-60.884 44.648L14.042 915.76c-33.486 59.532-5 108.24 63.304 108.24h869.308c68.3 0 96.792-48.708 63.3-108.24h.002L572.882 44.648C556.14 14.882 534.07 0 512 0zm64 832c0 35.346-28.654 64-64 64s-64-28.654-64-64c0-35.346 28.654-64 64-64s64 28.654 64 64zm-64-128c-35.346 0-64-28.654-64-64V448c0-35.346 28.654-64 64-64s64 28.654 64 64v192c0 35.346-28.654 64-64 64z"})]}))};Z.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"1024",height:"1024",viewBox:"0 0 1024 1024"};var A=function(e){var t=e.areaBlockName,n=e.searchRange,r=e.isSegmentedArea,s=e.isOversea,P=e.failureOfGetCurrentPositon,B=void 0!==P&&P,R=e.onSetfailureOfGetCurrentPositon,D=(0,S.b)(),E=D.t,Z=D.currentLocale,A=(0,a.useContext)(O.FN),X=A.isMobile,$=A.isArea,ee=A.isIa,te=A.isHotel,ne=A.isTour,re=(0,C.i)((function(e){return e.searchCondition.temporal}),c.wU),ie=re.checkin,oe=re.checkout,ae=re.name,ce=(0,C.i)((function(e){return e.searchCondition.temporal.isDateDetermined})),se=(0,C.i)((function(e){return e.searchCondition.current}),c.wU),ue=se.checkin,de=se.checkout,le=se.occupancyQuery,pe=se.isDateDetermined,he=(0,C.i)((function(e){return e.searchCondition.gotoResidence})),fe=(0,C.i)((function(e){return e.searchCondition.currentPositionSearch})),me=fe.isSearchOfArea,xe=fe.isSearchOfKeyword,ge="".concat((0,_.p6)(ue,"M/D")," - ").concat((0,_.p6)(de,"M/D")),be="Invalid date - Invalid date"!==ge?ge:"",ve=(0,c.I0)(),we=(0,N.Gu)(le.split(":")),ye=we.adult,je=we.child,Se=a.useState(!1),Ce=(0,i.Z)(Se,2),Pe=Ce[0],ke=Ce[1],Be=((0,o.useRouter)().query.name,(0,a.useState)("")),Re=Be[0],_e=Be[1],Oe=(0,j.a)({isHotel:te,isArea:$,isTour:ne,isIa:ee,areaBlockName:t}),Ne=Oe.blocksId,Ie=Oe.blocksIdNum,Me=Oe.blockName,De=Oe.areaAddress,Ee=(0,a.useState)(Ne),Ze=Ee[0],Ae=Ee[1];(0,a.useEffect)((function(){Ae(Ne)}),[Ne]);var Le=t&&$&&Me&&Ie.length?Ie.length>1?"".concat(Me,"\uff08\u8a08").concat(Ie.length,"\u30a8\u30ea\u30a2\uff09\u306e\u30db\u30c6\u30eb\u30fb\u65c5\u9928"):"".concat(Me,"\u306e\u30db\u30c6\u30eb\u30fb\u65c5\u9928"):"",Ve=function(){ke(!0),(0,_.xp)(ie,oe)>30&&(ve((0,l.T)(ue,de)),ve((0,d.UB)(!1))),document.body.style.overflow="hidden"},ze=function(){ke(!1),document.body.style.overflow="auto"};return X?(0,M.jsxs)(M.Fragment,{children:[!ee&&(0,M.jsx)(M.Fragment,{children:(0,M.jsx)(K,{children:(0,M.jsx)(f.M,{withLabel:!0,width:"100%",height:"56px",padding:"24px 28px 8px 16px",isEmphasisError:""===he})})}),B&&(0,M.jsx)(Y,{}),(0,M.jsxs)(G,{"data-cy":"dammyBoxWrapper",children:[(0,M.jsxs)(H,{onClick:function(){return Ve()},children:[(0,M.jsx)(U,{"data-cy":"hotelResultAddress",children:$?De:ae}),(0,M.jsxs)(q,{children:[(0,M.jsx)(Q,{"data-cy":"hotelResultDate",children:pe?be:"\u65e5\u4ed8\u672a\u5b9a"}),(0,M.jsxs)(Q,{"data-cy":"hotelResultOccupancy",children:["\u5408\u8a08",ye+je,"\u540d"]})]})]}),$&&Le&&(0,M.jsx)(V,{children:Le})]}),(0,M.jsx)(x.P,{title:E("hotel:search.accommodationQuestion"),subContent:"",mainContent:(0,M.jsxs)(L,{children:[$?(0,M.jsx)(F,{children:(0,M.jsx)(I.f,{resultData:Ze,setResultData:function(e){return Ae(e)},onCloseModal:function(){return ze()},setValidationMessage:function(e){return _e(e)},onSetFailureOfGetCurrentPositon:R})}):(0,M.jsx)(z,{children:(0,M.jsx)(b.a,{isOversea:s,onCloseTransitionModal:ze,onSetFailureOfGetCurrentPositon:R})}),(0,M.jsx)(p.O,{}),(0,M.jsx)(v.Y,{}),(0,M.jsx)(p.O,{}),(0,M.jsx)(W,{children:(0,M.jsx)(g.j,{hasBorder:te})}),te&&"ja"===Z&&(0,M.jsx)(T,{children:(0,M.jsx)(h.J,{id:"date-determined",onChange:function(){ve((0,d.fw)(!ce)),ve((0,d.UB)(!1))},isActive:!ce,checked:!ce,margin:"0 8px 16px",height:"24px",fontSize:k.J.fs16,children:E("hotel:search.dateUndecided")})}),(0,M.jsxs)(J,{children:[$&&!me&&(0,M.jsx)(w.r,{buttonText:E("common:buttons.searchLowest"),width:"100%",data:{blocksId:Ze},setValidationMessage:function(e){return _e(e)},onSetFailureOfGetCurrentPositon:R}),$&&me&&(0,M.jsx)(y.Q,{buttonText:E("common:buttons.searchLowest"),width:"100%",setValidationMessage:function(e){return _e(e)},searchRange:n,isSegmentedArea:r,currentPositionSearchFlag:me,onSetFailureOfGetCurrentPositon:R}),!$&&(0,M.jsx)(y.Q,{buttonText:E("common:buttons.searchLowest"),width:"100%",setValidationMessage:function(e){return _e(e)},searchRange:n,isSegmentedArea:r,currentPositionSearchFlag:(me||xe)&&ae===u.Jg,onSetFailureOfGetCurrentPositon:R}),!!Re&&(0,M.jsx)(m.V,{margin:"8px 0 0 0",children:Re})]})]}),handleOpen:Ve,handleClose:ze,inProp:Pe})]}):null},L=s.ZP.div.withConfig({displayName:"SearchBoxResult__Root",componentId:"sc-1mit2s4-0"})(["background-color:",";@media (min-width:992px){padding:18px 12px;}"],R.VB),V=s.ZP.h1.withConfig({displayName:"SearchBoxResult__StSPTitle",componentId:"sc-1mit2s4-1"})(["font-size:16px;margin:16px 0 8px;"]),z=s.ZP.div.withConfig({displayName:"SearchBoxResult__DestinationInputWrapper",componentId:"sc-1mit2s4-2"})(["margin:0 8px;"]),F=s.ZP.div.withConfig({displayName:"SearchBoxResult__SearchAreaModalWrapper",componentId:"sc-1mit2s4-3"})(["margin:0 8px;& > button{padding-right:8px;}"]),W=s.ZP.div.withConfig({displayName:"SearchBoxResult__DateSelectWrapper",componentId:"sc-1mit2s4-4"})(["margin-bottom:12px;"]),T=s.ZP.div.withConfig({displayName:"SearchBoxResult__CheckBoxWrapper",componentId:"sc-1mit2s4-5"})(["margin-top:14px;"]),J=s.ZP.div.withConfig({displayName:"SearchBoxResult__SearchBoxWrapper",componentId:"sc-1mit2s4-6"})(["padding:14px 0px;border-top:1px solid ",";margin-bottom:124px;"],R.N0),G=s.ZP.div.withConfig({displayName:"SearchBoxResult__DammyBoxWrapper",componentId:"sc-1mit2s4-7"})(["background:",";padding:12px;"],R.y6),H=s.ZP.div.withConfig({displayName:"SearchBoxResult__DammyBox",componentId:"sc-1mit2s4-8"})(["background:",";background-image:url('/hotel/svg/search.svg');background-position:14px 50%;background-repeat:no-repeat;background-size:20px;border-radius:3px;padding:12px 12px 12px 52px;"],R.VB),U=s.ZP.div.withConfig({displayName:"SearchBoxResult__DammyBoxAddress",componentId:"sc-1mit2s4-9"})(["font-size:",";font-weight:700;"],k.J.fs14),q=s.ZP.div.withConfig({displayName:"SearchBoxResult__DammyBoxConditionWrapper",componentId:"sc-1mit2s4-10"})(["line-height:14px;"]),Q=s.ZP.span.withConfig({displayName:"SearchBoxResult__DammyBoxCondition",componentId:"sc-1mit2s4-11"})(["font-size:",";&:not(:first-of-type){margin-left:6px;}"],k.J.fs14),K=s.ZP.div.withConfig({displayName:"SearchBoxResult__PlaceSelectWrapper",componentId:"sc-1mit2s4-12"})(["position:relative;background-color:",";padding:16px 12px 0;display:none;"],R.y6),Y=(s.ZP.p.withConfig({displayName:"SearchBoxResult__ErrorMessage",componentId:"sc-1mit2s4-13"})(["font-size:",";color:",";padding:16px 12px 0px;background-color:",";"],k.J.fs14,R.Vy,R.y6),function(){return(0,M.jsxs)(X,{children:[(0,M.jsx)($,{}),(0,M.jsxs)(ee,{children:["\u4f4d\u7f6e\u60c5\u5831\u306e\u53d6\u5f97\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002",(0,M.jsx)("br",{}),"\u3054\u5bbf\u6cca\u306e\u30a8\u30ea\u30a2\u3092\u624b\u52d5\u3067\u8a2d\u5b9a\u3044\u305f\u3060\u304f\u304b\u3001\u6642\u9593\u3092\u304a\u3044\u3066\u304a\u8a66\u3057\u304f\u3060\u3055\u3044\u3002"]})]})}),X=s.ZP.div.withConfig({displayName:"SearchBoxResult__StWrapper",componentId:"sc-1mit2s4-14"})(["padding:16px 8px;display:flex;justify-content:flex-start;align-items:center;gap:8px;background-color:#fff4f4;margin-bottom:16px;@media (max-width:","){margin-bottom:0;}"],P.E.SP),$=(0,s.ZP)(Z).withConfig({displayName:"SearchBoxResult__StWarningIcon",componentId:"sc-1mit2s4-15"})(["width:16px;height:16px;fill:red;"]),ee=s.ZP.div.withConfig({displayName:"SearchBoxResult__StWariningText",componentId:"sc-1mit2s4-16"})(["font-size:",";font-style:normal;font-weight:",";line-height:140%;"],k.J.fs14,B.U.NORMAL)},47954:function(e,t,n){n.d(t,{M:function(){return p}});var r=n(67294),i=n(74555),o=n(19521),a=n(23995),c=n(27100),s=n(60578),u=n(33193),d=n(67528),l=n(85893),p=function(e){var t=e.withLabel,n=void 0!==t&&t,o=e.withBorder,s=void 0!==o&&o,u=e.isEmphasisError,p=void 0!==u&&u,x=e.isModal,g=void 0!==x&&x,b=e.width,v=void 0===b?"210px":b,w=e.height,y=void 0===w?"52px":w,j=e.padding,S=void 0===j?"0 12px":j,C=(0,i.I0)(),P=(0,c.i)((function(e){return e.searchCondition.gotoResidence})),k=(0,r.useContext)(d.FN),B=k.isMobile,R=k.isHotel;return(0,l.jsxs)(l.Fragment,{children:[n&&(0,l.jsx)(f,{isMobile:B,children:"\u5c45\u4f4f\u5730"}),(0,l.jsxs)(h,{isModal:g,defaultValue:P,id:"prefecture",name:"prefecture",onChange:function(e){var t=e.target;C((0,a.h2)(t.value))},isMobile:B,isHotel:R,withLabel:n,withBorder:s,isEmphasisError:p,width:v,height:y,padding:S,children:[(0,l.jsx)("option",{value:"",children:"\u5c45\u4f4f\u5730\u3092\u9078\u629e"}),Object.keys(m).map((function(e){return(0,l.jsx)("optgroup",{label:e,children:m[e].map((function(e){return(0,l.jsx)("option",{value:e,children:e},e)}))},e)}))]})]})},h=o.ZP.select.withConfig({displayName:"PlaceSelect__StyledSelect",componentId:"sc-rhe1bz-0"})(["appearance:none;background:none;width:",";line-height:",";height:",";padding:",";font-size:",";cursor:pointer;font-weight:",";",""],(function(e){return e.width}),(function(e){return e.height}),(function(e){return e.height}),(function(e){return e.padding}),s.J.fs16,(function(e){return e.isMobile&&e.withLabel&&e.isEmphasisError?"bold":"normal"}),(function(e){return e.isModal?(0,o.iv)(["border:0;background-color:",";display:block;padding:18px 12px;width:100%;margin-top:12px;font-size:14px;"],u.y6):e.withLabel&&e.withBorder&&e.isEmphasisError?(0,o.iv)(["background:#fff4f4;border:1px solid ",";border-radius:3px;color:",";margin-bottom:12px;"],u.Vy,u.Vy):e.withLabel&&e.isEmphasisError?(0,o.iv)(["background:#fff4f4;border:1px solid ",";border-radius:3px;color:",";"],u.Vy,u.Vy):e.withBorder?(0,o.iv)(["border:1px solid ",";border-radius:3px;background:",";margin-bottom:12px;"],u.N0,u.VB):e.withLabel?(0,o.iv)(["border:none;border-radius:3px;background:",";"],u.VB):e.isMobile?(0,o.iv)(["border:0;width:100%;"]):(0,o.iv)(["background-color:",";border:none;border-radius:0;flex:",";
1"],u.VB,e.isHotel&&"1 1 0")})),f=o.ZP.div.withConfig({displayName:"PlaceSelect__PlaceSelectLabel",componentId:"sc-rhe1bz-1"})(["position:absolute;color:",";font-size:",";",""],u.C2,s.J.fs12,(function(e){return e.isMobile?(0,o.iv)(["left:28px;top:22px;"]):(0,o.iv)(["left:20px;top:4px;"])})),m={"\u5317\u6d77\u9053":["\u5317\u6d77\u9053"],"\u6771\u5317":["\u9752\u68ee\u770c","\u5ca9\u624b\u770c","\u5bae\u57ce\u770c","\u79cb\u7530\u770c","\u5c71\u5f62\u770c","\u798f\u5cf6\u770c"],"\u95a2\u6771":["\u8328\u57ce\u770c","\u6803\u6728\u770c","\u7fa4\u99ac\u770c","\u57fc\u7389\u770c","\u5343\u8449\u770c","\u6771\u4eac\u90fd","\u795e\u5948\u5ddd\u770c"],"\u7532\u4fe1\u8d8a":["\u65b0\u6f5f\u770c","\u5c71\u68a8\u770c","\u9577\u91ce\u770c"],"\u5317\u9678":["\u5bcc\u5c71\u770c","\u77f3\u5ddd\u770c","\u798f\u4e95\u770c"],"\u6771\u6d77":["\u5c90\u961c\u770c","\u9759\u5ca1\u770c","\u611b\u77e5\u770c","\u4e09\u91cd\u770c"],"\u95a2\u897f":["\u6ecb\u8cc0\u770c","\u4eac\u90fd\u5e9c","\u5927\u962a\u5e9c","\u5175\u5eab\u770c","\u5948\u826f\u770c","\u548c\u6b4c\u5c71\u770c"],"\u4e2d\u56fd":["\u9ce5\u53d6\u770c","\u5cf6\u6839\u770c","\u5ca1\u5c71\u770c","\u5e83\u5cf6\u770c","\u5c71\u53e3\u770c"],"\u56db\u56fd":["\u5fb3\u5cf6\u770c","\u9999\u5ddd\u770c","\u611b\u5a9b\u770c","\u9ad8\u77e5\u770c"],"\u4e5d\u5dde":["\u798f\u5ca1\u770c","\u4f50\u8cc0\u770c","\u9577\u5d0e\u770c","\u718a\u672c\u770c","\u5927\u5206\u770c","\u5bae\u5d0e\u770c","\u9e7f\u5150\u5cf6\u770c"],"\u6c96\u7e04":["\u6c96\u7e04\u770c"],"\u6d77\u5916":["\u6d77\u5916"]}},39173:function(e,t,n){n.d(t,{a:function(){return c}});var r=n(11163),i=n(11158),o=n(13206),a=n(12804),c=function(e){var t,n=e.isHotel,c=e.isArea,s=e.isTour,u=e.isIa,d=e.areaBlockName,l=(0,r.useRouter)().query,p=(0,a.Zm)(l),h=c||s||!n&&!u,f=(0,i.h)(h),m=p.split(",").map((function(e){return+e})).filter((function(e){return e>0})),x=(m.length?null===(t=(0,o.W)(f,m[0]))||void 0===t?void 0:t.name:void 0)||d||void 0;return{blocksId:p,blocksIdNum:m,blockName:x,areaAddress:c&&x&&m.length?"".concat(x,"\xb7\xb7\xb7\u8a08").concat(m.length,"\u30a8\u30ea\u30a2"):""}}},24697:function(e,t,n){n.d(t,{Nr:function(){return a},y1:function(){return i}});var r=n(67294);function i(e,t,n,i){var o=this,a=(0,r.useRef)(null),c=(0,r.useRef)(0),s=(0,r.useRef)(0),u=(0,r.useRef)(null),d=(0,r.useRef)([]),l=(0,r.useRef)(),p=(0,r.useRef)(),h=(0,r.useRef)(e),f=(0,r.useRef)(!0);h.current=e;var m="undefined"!=typeof window,x=!t&&0!==t&&m;if("function"!=typeof e)throw new TypeError("Expected a function");t=+t||0;var g=!!(n=n||{}).leading,b=!("trailing"in n)||!!n.trailing,v="maxWait"in n,w="debounceOnServer"in n&&!!n.debounceOnServer,y=v?Math.max(+n.maxWait||0,t):null;(0,r.useEffect)((function(){return f.current=!0,function(){f.current=!1}}),[]);var j=(0,r.useMemo)((function(){var e=function(e){var t=d.current,n=l.current;return d.current=l.current=null,c.current=e,s.current=s.current||e,p.current=h.current.apply(n,t)},n=function(e,t){x&&cancelAnimationFrame(u.current),u.current=x?requestAnimationFrame(e):setTimeout(e,t)},r=function(e){if(!f.current)return!1;var n=e-a.current;return!a.current||n>=t||n<0||v&&e-c.current>=y},j=function(t){return u.current=null,b&&d.current?e(t):(d.current=l.current=null,p.current)},S=function e(){var i=Date.now();if(g&&s.current===c.current&&C(),r(i))return j(i);if(f.current){var o=t-(i-a.current),u=v?Math.min(o,y-(i-c.current)):o;n(e,u)}},C=function(){i&&i({})},P=function(){if(m||w){var i=Date.now(),s=r(i);if(d.current=[].slice.call(arguments),l.current=o,a.current=i,s){if(!u.current&&f.current)return c.current=a.current,n(S,t),g?e(a.current):p.current;if(v)return n(S,t),e(a.current)}return u.current||n(S,t),p.current}};return P.cancel=function(){var e=u.current;e&&(x?cancelAnimationFrame(u.current):clearTimeout(u.current)),c.current=0,d.current=a.current=l.current=u.current=null,e&&i&&i({})},P.isPending=function(){return!!u.current},P.flush=function(){return u.current?j(Date.now()):p.current},P}),[g,v,t,y,b,x,m,w,i]);return j}function o(e,t){return e===t}function a(e,t,n){var a=n&&n.equalityFn||o,c=(0,r.useRef)(e),s=(0,r.useState)({})[1],u=i((0,r.useCallback)((function(e){c.current=e,s({})}),[s]),t,n,s),d=(0,r.useRef)(e);return a(d.current,e)||(u(e),d.current=e),[c.current,u]}}}]);

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.