1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9216],{99216:function(t,e,i){i.d(e,{$:function(){return m},P:function(){return w}});var o=i(59499),n=i(41664),s=i.n(n),c=i(67294),r=i(6319),l=i(67528),d=i(11758),h=i(82351),a=i(99623),u=i(40997),p=i(12804),v=i(85893);function f(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,o)}return i}function x(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?f(Object(i),!0).forEach((function(e){(0,o.Z)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):f(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var y=function(t){return(0,v.jsxs)("svg",x(x({},t),{},{children:[(0,v.jsx)("title",{}),(0,v.jsx)("path",{d:"M14.501 85.438c-19.2-19.2-19.2-51.155 0-71.027 19.871-19.2 51.155-19.2 71.027 0l426.204 426.92 426.92-426.92c19.2-19.2 51.155-19.2 70.31 0 19.871 19.871 19.871 51.871 0 71.027L582.758 511.687l426.204 426.92c19.871 19.2 19.871 51.155 0 71.027-19.2 19.2-51.155 19.2-70.31 0l-426.92-426.92-426.204 426.92c-19.871 19.2-51.155 19.2-71.027 0-19.2-19.871-19.2-51.871 0-71.027l426.204-426.92L14.501 85.438z"})]}))};y.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"1024",height:"1024",viewBox:"0 0 1024 1024"};var m=function(t){var e=t.favoriteHotelList,i=t.onDeleteFavoriteHotel,o=(0,r.b)().t,n=(0,c.useContext)(l.FN).isMobile;return e&&e.length>0?(0,v.jsxs)(h.vY,{children:[(0,v.jsx)(h.AW,{isMobile:n,children:o("hotel:topPage.userActions.priceNote")}),(0,v.jsx)(g,{favoriteHotelList:e,deleteButton:i,elementLimit:10})]}):n?(0,v.jsx)(h.UH,{children:o("hotel:topPage.userActions.noFavoriteList")}):(0,v.jsx)(h.Is,{children:o("hotel:topPage.userActions.noFavoriteList")})},g=function(t){var e=t.favoriteHotelList,i=t.deleteButton,o=t.elementLimit,n=(0,r.b)().t,p=(0,c.useContext)(l.FN).isMobile,f=e.map((function(t,e){if(!(e>o-1)){var c=null===t||void 0===t?void 0:t.property_id,r=(0,d.Iq)(c),l=null===t||void 0===t?void 0:t.image_link,f=null===t||void 0===t?void 0:t.arrival,x=null===t||void 0===t?void 0:t.departure,m=null===t||void 0===t?void 0:t.occupancy,g=null===t||void 0===t?void 0:t.disp_lowest_price,j=0===g?n("hotel:topPage.userActions.soldOut"):"\xa5 ".concat(g.toLocaleString()," ~");if(m&&f&&x){var b=(0,u.Gu)(m.split(":")),H=b.adult,P=b.child,L=(0,a.zk)(f,x),_="0000-00-00"===f&&"0000-00-00"===x;return p?(0,v.jsxs)(h.aO,{children:[(0,v.jsx)(s(),{href:"/hotel/detail/[property]",as:w(r,t),prefetch:!1,passHref:!0,children:(0,v.jsxs)(h.Lq,{children:[(0,v.jsx)(h.vo,{children:null===t||void 0===t?void 0:t.name}),(0,v.jsx)(h.BF,{children:l?(0,v.jsx)(h.XR,{src:l,alt:null===t||void 0===t?void 0:t.name}):(0,v.jsx)(h.XP,{fill:"#222",width:24,height:24})}),(0,v.jsxs)(h.pl,{children:[_?(0,v.jsx)(h.vf,{children:n("hotel:topPage.userActions.dateUndecided")}):(0,v.jsxs)(h.vf,{children:[(0,a.p6)(f,"M/D(ddd)"),"-",(0,a.p6)(x,"M/D(ddd)")," ",L," ",n("hotel:topPage.userActions.nights")]}),(0,v.jsx)("div",{children:n("hotel:topPage.userActions.roomGuestFormat",{rooms:m.split(":").length,total:H+P,adults:H,children:P})}),(0,v.jsx)("div",{children:j})]})]})}),(0,v.jsx)(h.Ds,{children:(0,v.jsx)(h.SO,{type:"button",onClick:function(){return i(c)},children:(0,v.jsx)(y,{width:12,height:12,viewBox:"0 0 1024 1024"})})})]},e):(0,v.jsxs)(h.Qy,{children:[(0,v.jsx)(s(),{href:"/hotel/detail/[property]",as:w(r,t),prefetch:!1,passHref:!0,children:(0,v.jsxs)(h.Lq,{children:[(0,v.jsx)(h.XV,{children:null===t||void 0===t?void 0:t.name}),(0,v.jsx)(h.Kf,{children:l?(0,v.jsx)(h.XR,{src:l,alt:null===t||void 0===t?void 0:t.name}):(0,v.jsx)(h.XP,{fill:"#222",width:24,height:24})}),(0,v.jsxs)(h.pl,{children:[_?(0,v.jsx)(h.Fi,{children:n("hotel:topPage.userActions.dateUndecided")}):(0,v.jsxs)(h.Fi,{children:[(0,a.p6)(f,"M/D(ddd)"),"-",(0,a.p6)(x,"M/D(ddd)")," ",L," ",n("hotel:topPage.userActions.nights")]}),(0,v.jsx)("div",{children:n("hotel:topPage.userActions.roomGuestFormat",{rooms:m.split(":").length,total:H+P,adults:H,children:P})}),(0,v.jsx)("div",{children:j})]})]})}),(0,v.jsx)(h.Ds,{children:(0,v.jsx)(h.SO,{type:"button",onClick:function(){return i(c)},children:(0,v.jsx)(y,{width:12,height:12,viewBox:"0 0 1024 1024"})})})]},e)}}}));return p?(0,v.jsx)(h.Um,{children:f}):(0,v.jsx)(h.Ts,{children:f})},w=function(t,e){return"/hotel/detail/".concat(t)+(0,p.SC)(e)}}
1,82351:function(t,e,i){i.d(e,{AW:function(){return C},BF:function(){return B},Ds:function(){return q},Fi:function(){return W},Is:function(){return D},Kf:function(){return F},Lq:function(){return Z},Qy:function(){return A},SO:function(){return K},Ts:function(){return z},UH:function(){return O},Um:function(){return N},Vt:function(){return H},XP:function(){return E},XR:function(){return G},XV:function(){return V},aO:function(){return I},pl:function(){return U},vY:function(){return k},vf:function(){return X},vo:function(){return Q}});var o=i(59499),n=i(41664),s=i.n(n),c=i(67294),r=i(19521),l=i(6319),d=i(60578),h=i(33193),a=i(99623),u=i(67528),p=i(78222),v=i(40997),f=i(12804),x=i(11758),y=i(85893);function m(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,o)}return i}function g(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?m(Object(i),!0).forEach((function(e){(0,o.Z)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):m(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var w=function(t){return(0,y.jsxs)("svg",g(g({},t),{},{children:[(0,y.jsx)("title",{}),(0,y.jsx)("path",{d:"M14.501 85.438c-19.2-19.2-19.2-51.155 0-71.027 19.871-19.2 51.155-19.2 71.027 0l426.204 426.92 426.92-426.92c19.2-19.2 51.155-19.2 70.31 0 19.871 19.871 19.871 51.871 0 71.027L582.758 511.687l426.204 426.92c19.871 19.2 19.871 51.155 0 71.027-19.2 19.2-51.155 19.2-70.31 0l-426.92-426.92-426.204 426.92c-19.871 19.2-51.155 19.2-71.027 0-19.2-19.871-19.2-51.871 0-71.027l426.204-426.92L14.501 85.438z"})]}))};w.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"1024",height:"1024",viewBox:"0 0 1024 1024"};var j=function(t){return(0,y.jsxs)("svg",g(g({},t),{},{children:[(0,y.jsx)("title",{children:"\u30db\u30c6\u30eb"}),(0,y.jsx)("path",{fill:"#1c5db5",d:"M830.688 131.648H679.456v86.4c0 22.624-8.48 43.072-24.512 59.104s-36.48 24.512-59.104 24.512H428.128c-22.624 0-43.04-8.48-59.072-24.512s-24.512-36.448-24.512-59.104v-86.4H193.312c-8.64 0-16.096 3.136-22.4 9.44s-9.472 13.792-9.472 22.4v828.64c0 8.608 3.136 16.096 9.472 22.4s13.76 9.472 22.4 9.472H406.24c-.768-3.648-1.248-7.424-1.248-11.392v-145.12c0-14.464 5.28-27.008 15.872-37.632 10.592-10.56 23.136-15.872 37.632-15.872h107.04c14.496 0 27.008 5.344 37.632 15.872 10.592 10.624 15.904 23.168 15.904 37.632v145.12c0 3.968-.48 7.744-1.248 11.392h212.928c8.608 0 16.096-3.168 22.4-9.472s9.472-13.792 9.472-22.4v-828.64c0-8.608-3.168-16.096-9.472-22.4s-13.792-9.44-22.432-9.44zm-53.728 601.92c-3.84 3.84-8.352 5.728-13.6 5.728h-38.656c-5.248 0-9.792-1.92-13.6-5.728s-5.728-8.352-5.728-13.6v-38.656c0-5.216 1.92-9.76 5.728-13.6s8.352-5.76 13.6-5.76h38.656c5.248 0 9.76 1.92 13.6 5.76s5.76 8.352 5.76 13.6v38.656c0 5.248-1.92 9.792-5.76 13.6zM782.72 836v38.656c0 5.248-1.92 9.792-5.76 13.6s-8.352 5.728-13.6 5.728h-38.656c-5.248 0-9.792-1.888-13.6-5.728s-5.728-8.352-5.728-13.6V836c0-5.216 1.92-9.76 5.728-13.6s8.352-5.728 13.6-5.728h38.656c5.248 0 9.76 1.92 13.6 5.728s5.76 8.352 5.76 13.6zm-5.76-257.12c-3.84 3.84-8.352 5.76-13.6 5.76h-38.656c-5.248 0-9.792-1.92-13.6-5.76s-5.728-8.352-5.728-13.6v-38.656c0-5.248 1.92-9.792 5.728-13.6s8.352-5.76 13.6-5.76h38.656c5.248 0 9.76 1.92 13.6 5.76s5.76 8.352 5.76 13.6v38.656c0 5.248-1.92 9.792-5.76 13.6zm0-154.688c-3.84 3.84-8.352 5.76-13.6 5.76h-38.656c-5.248 0-9.792-1.92-13.6-5.76s-5.728-8.352-5.728-13.6v-38.656c0-5.216 1.92-9.76 5.728-13.6s8.352-5.728 13.6-5.728h38.656c5.248 0 9.76 1.92 13.6 5.728s5.76 8.352 5.76 13.6v38.656c0 5.248-1.92 9.792-5.76 13.6zm0-154.688c-3.84 3.84-8.352 5.728-13.6 5.728h-38.656c-5.248 0-9.792-1.888-13.6-5.728s-5.728-8.352-5.728-13.6v-38.688c0-5.216 1.92-9.76 5.728-13.6s8.352-5.728 13.6-5.728h38.656c5.248 0 9.76 1.92 13.6 5.728s5.76 8.352 5.76 13.6v38.688c0 5.248-1.92 9.792-5.76 13.6zM550.656 371.936c0-5.216 1.92-9.76 5.728-13.6s8.352-5.728 13.6-5.728h38.656c5.216 0 9.76 1.92 13.6 5.728s5.728 8.352 5.728 13.6v38.656c0 5.248-1.92 9.792-5.728 13.6-3.84 3.84-8.352 5.76-13.6 5.76h-38.656c-5.248 0-9.76-1.92-13.6-5.76s-5.728-8.352-5.728-13.6v-38.656zm0 154.688c0-5.248 1.92-9.792 5.728-13.6s8.352-5.76 13.6-5.76h38.656c5.216 0 9.76 1.92 13.6 5.76s5.728 8.352 5.728 13.6v38.656c0 5.248-1.92 9.792-5.728 13.6s-8.352 5.76-13.6 5.76h-38.656c-5.248 0-9.76-1.92-13.6-5.76s-5.728-8.352-5.728-13.6v-38.656zm-237.76 206.944c-3.84 3.84-8.352 5.728-13.6 5.728H260.64c-5.248 0-9.792-1.92-13.6-5.728s-5.76-8.352-5.76-13.6v-38.656c0-5.216 1.92-9.76 5.76-13.6s8.352-5.76 13.6-5.76h38.656c5.248 0 9.76 1.92 13.6 5.76s5.728 8.352 5.728 13.6v38.656c0 5.248-1.92 9.792-5.728 13.6zM318.624 836v38.656c0 5.248-1.92 9.792-5.728 13.6s-8.352 5.728-13.6 5.728H260.64c-5.248 0-9.792-1.888-13.6-5.728s-5.76-8.352-5.76-13.6V836c0-5.216 1.92-9.76 5.76-13.6s8.352-5.728 13.6-5.728h38.656c5.248 0 9.76 1.92 13.6 5.728s5.728 8.352 5.728 13.6zm-5.728-257.12c-3.84 3.84-8.352 5.76-13.6 5.76H260.64c-5.248 0-9.792-1.92-13.6-5.76s-5.76-8.352-5.76-13.6v-38.656c0-5.248 1.92-9.792 5.76-13.6s8.352-5.76 13.6-5.76h38.656c5.248 0 9.76 1.92 13.6 5.76s5.728 8.352 5.728 13.6v38.656c0 5.248-1.92 9.792-5.728 13.6zm0-154.688c-3.84 3.84-8.352 5.76-13.6 5.76H260.64c-5.248 0-9.792-1.92-13.6-5.76s-5.76-8.352-5.76-13.6v-38.656c0-5.216 1.92-9.76 5.76-13.6s8.352-5.728 13.6-5.728h38.656c5.248 0 9.76 1.92 13.6 5.728s5.728 8.352 5.728 13.6v38.656c0 5.248-1.92 9.792-5.728 13.6zm0-154.688c-3.84 3.84-8.352 5.728-13.6 5.728H260.64c-5.248 0-9.792-1.888-13.6-5.728s-5.76-8.352-5.76-13.6v-38.688c0-5.216 1.92-9.76 5.76-13.6s8.352-5.728 13.6-5.728h38.656c5.248 0 9.76 1.92 13.6 5.728s5.728 8.352 5.728 13.6v38.688c0 5.248-1.92 9.792-5.728 13.6zm160.416 450.464c0 5.248-1.92 9.792-5.728 13.6s-8.352 5.728-13.6 5.728h-38.688c-5.248 0-9.76-1.92-13.6-5.728s-5.728-8.352-5.728-13.6v-38.656c0-5.216 1.92-9.76 5.728-13.6s8.352-5.76 13.6-5.76h38.688c5.216 0 9.76 1.92 13.6 5.76s5.728 8.384 5.728 13.6v38.656zm0-154.688c0 5.248-1.92 9.792-5.728 13.6s-8.352 5.76-13.6 5.76h-38.688c-5.248 0-9.76-1.92-13.6-5.76s-5.728-8.352-5.728-13.6v-38.656c0-5.248 1.92-9.792 5.728-13.6s8.352-5.76 13.6-5.76h38.688c5.216 0 9.76 1.92 13.6 5.76s5.728 8.352 5.728 13.6v38.656zm0-154.688c0 5.248-1.92 9.792-5.728 13.6-3.84 3.84-8.352 5.76-13.6 5.76h-38.688c-5.248 0-9.76-1.92-13.6-5.76s-5.728-8.352-5.728-13.6v-38.656c0-5.216 1.92-9.76 5.728-13.6s8.352-5.728 13.6-5.728h38.688c5.216 0 9.76 1.92 13.6 5.728s5.728 8.352 5.728 13.6v38.656zm135.36 328.704h-38.656c-5.248 0-9.76-1.92-13.6-5.728s-5.728-8.352-5.728-13.6v-38.656c0-5.216 1.92-9.76 5.728-13.6s8.352-5.76 13.6-5.76h38.656c5.216 0 9.76 1.92 13.6 5.76s5.728 8.352 5.728 13.6v38.656c0 5.248-1.92 9.792-5.728 13.6s-8.352 5.728-13.6 5.728zm-212.64-482.848c9.152 7.776 19.776 11.904 32.128 11.904h167.712c12.32 0 22.944-4.128 32.128-11.904 1.152-.96 2.336-1.76 3.456-2.848 9.856-9.856 14.784-21.696 14.784-35.552V50.336c0-13.856-4.928-25.696-14.784-35.552S609.76 0 595.904 0H428.192c-13.856 0-25.696 4.928-35.552 14.784s-14.784 21.696-14.784 35.552v167.712c0 13.856 4.928 25.696 14.784 35.552 1.088 1.088 2.304 1.888 3.424 2.88zm26.496-124.8V55.904c0-3.008 1.12-5.632 3.328-7.872s4.832-3.328 7.84-3.328h22.368c3.04 0 5.664 1.12 7.84 3.328s3.328 4.832 3.328 7.872v55.904h89.44V55.904c0-3.008 1.12-5.632 3.328-7.872s4.832-3.328 7.84-3.328h22.368c3.04 0 5.664 1.12 7.84 3.328s3.328 4.832 3.328 7.872v156.544c0 3.04-1.12 5.632-3.328 7.84s-4.832 3.328-7.84 3.328H567.84c-3.04 0-5.664-1.088-7.84-3.328s-3.328-4.832-3.328-7.84v-55.904h-89.44v55.904c0 3.04-1.12 5.632-3.328 7.84s-4.832 3.328-7.84 3.328h-22.368c-3.04 0-5.664-1.088-7.84-3.328s-3.328-4.832-3.328-7.84v-80.8h-.032z"})]}))};j.defaultProps={xmlns:"http://www.w3.org/2000/svg",className:"icon_svg",viewBox:"0 0 1024 1024"};var b=function(t){return(0,y.jsxs)("svg",g(g({},t),{},{children:[(0,y.jsx)("path",{d:"M370.068 63.494C329.123 22.549 274.686 0 216.781 0S104.438 22.549 63.494 63.494C22.549 104.438 0 158.876 0 216.78c0 57.905 22.549 112.343 63.494 153.287 40.944 40.944 95.383 63.494 153.287 63.494s112.342-22.55 153.287-63.494c40.944-40.944 63.494-95.382 63.494-153.287-.001-57.904-22.55-112.342-63.494-153.286zM216.78 392.196c-96.725 0-175.416-78.691-175.416-175.416S120.056 41.364 216.781 41.364s175.415 78.691 175.415 175.416-78.691 175.416-175.416 175.416z"}),(0,y.jsx)("path",{d:"M505.943 476.693L369.981 340.732c-8.077-8.077-21.172-8.077-29.249 0-8.076 8.077-8.076 21.172 0 29.249l135.961 135.961A20.616 20.616 0 0 0 491.318 512a20.616 20.616 0 0 0 14.625-6.058c8.076-8.077 8.076-21.172 0-29.249z"})]}))};b.defaultProps={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"};var H=function(t){var e=t.searchHistoryList,i=t.onDeleteSelectSearchHistoryLocalSession,o=(0,l.b)().t,n=(0,c.useContext)(u.FN).isMobile;return 0!==Object.keys(e).length?(0,y.jsxs)(k,{"data-cy":"myListPanel",children:[(0,y.jsx)(C,{isMobile:n,children:o("hotel:topPage.userActions.priceN
1ote")}),(0,y.jsx)(P,{historyList:e,deleteButton:i,elementLimit:4}),(0,y.jsx)(L,{historyList:e,deleteButton:i,elementLimit:2})]}):n?(0,y.jsx)(O,{"data-cy":"myListEmpty",children:o("hotel:topPage.userActions.noSearchHistory")}):(0,y.jsx)(D,{"data-cy":"myListEmpty",children:o("hotel:topPage.userActions.noSearchHistory")})},P=function(t){var e=t.historyList,i=t.deleteButton,o=t.elementLimit,n=(0,l.b)(),r=n.t,d=n.getActiveCurrencyCode,h=(0,c.useContext)(u.FN).isMobile,f=e.filter((function(t){return"hotel"===(null===t||void 0===t?void 0:t.history_type)})).map((function(t,e){if(!(e>o-1)){var n=M(t),c=(0,v.Gu)(null===t||void 0===t?void 0:t.occupancyQuery.split(":")),l=c.adult,u=c.child,f=null!==t&&void 0!==t&&t.state_province_name&&null!==t&&void 0!==t&&t.area&&null!==t.area?"".concat(null===t||void 0===t?void 0:t.state_province_name," > ").concat(null===t||void 0===t?void 0:t.area):null!==t&&void 0!==t&&t.state_province_name?"".concat(null===t||void 0===t?void 0:t.state_province_name):"",x=null===t||void 0===t?void 0:t.isDateDetermined,m=null===t||void 0===t?void 0:t.disp_lowest_price,g=0===m?r("hotel:topPage.userActions.soldOut"):"".concat(d()," ").concat(m.toLocaleString()," ~");return h?(0,y.jsxs)(I,{children:[(0,y.jsx)(s(),{href:_(t),prefetch:!1,passHref:!0,children:(0,y.jsxs)(Z,{children:[(0,y.jsx)(Q,{children:null===t||void 0===t?void 0:t.name}),(0,y.jsxs)(R,{children:[(0,y.jsx)(B,{children:n?(0,y.jsx)(G,{src:"".concat(n).concat((0,p.nB)(n),"imwidth=320&imdensity=1"),alt:null===t||void 0===t?void 0:t.name}):(0,y.jsx)(E,{fill:"#222",width:24,height:24})}),(0,y.jsxs)(U,{children:[(0,y.jsx)("div",{children:f}),x?(0,y.jsxs)(X,{children:[(0,a.p6)(null===t||void 0===t?void 0:t.checkin,"M/D(ddd)"),"-",(0,a.p6)(null===t||void 0===t?void 0:t.checkout,"M/D(ddd)")," ",null===t||void 0===t?void 0:t.stayDuration," ",r("hotel:topPage.userActions.nights")]}):(0,y.jsx)(X,{children:r("hotel:topPage.userActions.dateUndecided")}),(0,y.jsx)(J,{children:r("hotel:topPage.userActions.roomGuestFormat",{rooms:null===t||void 0===t?void 0:t.occupancyQuery.split(":").length,total:l+u,adults:l,children:u})}),(0,y.jsx)("div",{children:g})]})]})]})}),(0,y.jsx)(q,{children:(0,y.jsx)(K,{type:"button",onClick:function(){return i(e,null===t||void 0===t?void 0:t.history_type)},children:(0,y.jsx)(w,{width:12,height:12,viewBox:"0 0 1024 1024"})})})]},e):(0,y.jsxs)(A,{children:[(0,y.jsx)(s(),{href:_(t),prefetch:!1,passHref:!0,children:(0,y.jsxs)(Z,{children:[(0,y.jsx)(V,{children:null===t||void 0===t?void 0:t.name}),(0,y.jsxs)(R,{children:[(0,y.jsx)(F,{children:n?(0,y.jsx)(G,{src:"".concat(n).concat((0,p.nB)(n),"imwidth=320&imdensity=1"),alt:null===t||void 0===t?void 0:t.name}):(0,y.jsx)(E,{fill:"#222",width:24,height:24})}),(0,y.jsxs)(U,{children:[(0,y.jsx)("div",{children:f}),x?(0,y.jsxs)(W,{children:[(0,a.p6)(null===t||void 0===t?void 0:t.checkin,"M/D(ddd)"),"-",(0,a.p6)(null===t||void 0===t?void 0:t.checkout,"M/D(ddd)")," ",null===t||void 0===t?void 0:t.stayDuration," ",r("hotel:topPage.userActions.nights")]}):(0,y.jsx)(W,{children:r("hotel:topPage.userActions.dateUndecided")}),(0,y.jsx)(J,{children:r("hotel:topPage.userActions.roomGuestFormat",{rooms:null===t||void 0===t?void 0:t.occupancyQuery.split(":").length,total:l+u,adults:l,children:u})}),(0,y.jsx)("div",{children:g})]})]})]})}),(0,y.jsx)(q,{children:(0,y.jsx)(K,{type:"button",onClick:function(){return i(e,null===t||void 0===t?void 0:t.history_type)},children:(0,y.jsx)(w,{width:12,height:12,viewBox:"0 0 1024 1024"})})})]},e)}}));return h?(0,y.jsx)(N,{children:f}):(0,y.jsx)(z,{children:f})},L=function(t){var e=t.historyList,i=t.deleteButton,o=t.elementLimit,n=(0,l.b)().t,r=(0,c.useContext)(u.FN).isMobile,d=e.filter((function(t){return"search"===(null===t||void 0===t?void 0:t.history_type)})).map((function(t,e){if(!(e>o-1)){var c=(0,v.Gu)(null===t||void 0===t?void 0:t.occupancyQuery.split(":")),l=c.adult,d=c.child,h=null===t||void 0===t?void 0:t.isDateDetermined;return r?(0,y.jsxs)(I,{children:[(0,y.jsx)(s(),{href:"/hotel/result",as:S(t),passHref:!0,prefetch:!1,children:(0,y.jsxs)(Z,{children:[(0,y.jsx)(B,{children:(0,y.jsx)(b,{width:24,height:24})}),(0,y.jsxs)(U,{children:[(0,y.jsx)("h4",{children:null===t||void 0===t?void 0:t.name}),h?(0,y.jsxs)(X,{children:[(0,a.p6)(null===t||void 0===t?void 0:t.checkin,"M\u6708D\u65e5(dd)")," ~"," ",(0,a.p6)(null===t||void 0===t?void 0:t.checkout,"M\u6708D\u65e5(dd)"),"\xa0",null===t||void 0===t?void 0:t.stayDuration,n("hotel:topPage.userActions.nights")]}):(0,y.jsx)(X,{children:n("hotel:topPage.userActions.dateUndecided")}),(0,y.jsx)(J,{children:n("hotel:topPage.userActions.roomGuestFormat",{rooms:null===t||void 0===t?void 0:t.occupancyQuery.split(":").length,total:l+d,adults:l,children:d})})]})]})}),(0,y.jsx)(q,{children:(0,y.jsx)(K,{type:"button",onClick:function(){return i(e,null===t||void 0===t?void 0:t.history_type)},children:(0,y.jsx)(w,{width:12,height:12,viewBox:"0 0 1024 1024"})})})]},e):(0,y.jsxs)(A,{children:[(0,y.jsx)(s(),{href:"/hotel/result",as:S(t),passHref:!0,prefetch:!1,children:(0,y.jsxs)(Z,{children:[(0,y.jsx)(F,{children:(0,y.jsx)(b,{width:24,height:24})}),(0,y.jsxs)(U,{children:[(0,y.jsx)("h4",{children:null===t||void 0===t?void 0:t.name}),h?(0,y.jsxs)(W,{children:[(0,a.p6)(null===t||void 0===t?void 0:t.checkin,"M\u6708D\u65e5(dd)")," ~"," ",(0,a.p6)(null===t||void 0===t?void 0:t.checkout,"M\u6708D\u65e5(dd)"),"\xa0",null===t||void 0===t?void 0:t.stayDuration,n("hotel:topPage.userActions.nights")]}):(0,y.jsx)(W,{children:n("hotel:topPage.userActions.dateUndecided")}),(0,y.jsx)(J,{children:n("hotel:topPage.userActions.roomGuestFormat",{rooms:null===t||void 0===t?void 0:t.occupancyQuery.split(":").length,total:l+d,adults:l,children:d})})]})]})}),(0,y.jsx)(q,{children:(0,y.jsx)(K,{type:"button",onClick:function(){return i(e,null===t||void 0===t?void 0:t.history_type)},children:(0,y.jsx)(w,{width:12,height:12,viewBox:"0 0 1024 1024"})})})]},e)}}
1));return r?(0,y.jsx)(N,{children:d}):(0,y.jsx)(z,{children:d})},_=function(t){var e=(0,x.Iq)(t.propertyId);return"/hotel/detail/".concat(e)+(0,f.yC)(t)},S=function(t){return"/hotel/result"+(0,f.yC)(t)},M=function(t){var e,i,o,n,s,c,r;return null!==t&&void 0!==t&&null!==(e=t.image)&&void 0!==e&&e.links?null!==(i=t.image.links)&&void 0!==i&&i["1000px"]?null===(s=t.image.links["1000px"])||void 0===s?void 0:s.href:null!==(o=t.image.links)&&void 0!==o&&o["350px"]?null===(c=t.image.links["350px"])||void 0===c?void 0:c.href:null!==(n=t.image.links)&&void 0!==n&&n["70px"]?null===(r=t.image.links["70px"])||void 0===r?void 0:r.href:void 0:""},k=r.ZP.div.withConfig({displayName:"HotelSearchHistoryList__StMyListPanel",componentId:"sc-wcudbu-0"})(["max-width:1000px;width:100%;"]),C=r.ZP.div.withConfig({displayName:"HotelSearchHistoryList__StMyListAttention",componentId:"sc-wcudbu-1"})(["margin-bottom:8px;font-size:",";"],(function(t){return t.isMobile?d.J.fs12:d.J.fs14})),O=r.ZP.div.withConfig({displayName:"HotelSearchHistoryList__StSpMyListEmpty",componentId:"sc-wcudbu-2"})(["background-color:",";font-size:",";padding:12px;text-align:center;width:100%;margin-bottom:20px;"],h.y6,d.J.fs20),D=r.ZP.div.withConfig({displayName:"HotelSearchHistoryList__StPcMyListEmpty",componentId:"sc-wcudbu-3"})(["background-color:",";font-size:",";padding:12px;text-align:center;width:100%;"],h.y6,d.J.fs20),N=r.ZP.ul.withConfig({displayName:"HotelSearchHistoryList__StSpMyList",componentId:"sc-wcudbu-4"})(["display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between;margin:auto;display:block;margin-left:0;width:100%;"]),z=r.ZP.ul.withConfig({displayName:"HotelSearchHistoryList__StPcMyList",componentId:"sc-wcudbu-5"})(["display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between;margin:auto;"]),I=r.ZP.li.withConfig({displayName:"HotelSearchHistoryList__StSpMyListHotel",componentId:"sc-wcudbu-6"})(["display:flex;flex-basis:49.5%;height:128px;border-radius:3px;margin-bottom:8px;background-color:",";font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%;&:hover{opacity:0.8;}"],h.y6),A=r.ZP.li.withConfig({displayName:"HotelSearchHistoryList__StPcMyListHotel",componentId:"sc-wcudbu-7"})(["display:flex;flex-basis:49.5%;width:40%;height:128px;border-radius:3px;margin-bottom:8px;background-color:",";font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;&:hover{opacity:0.8;}"],h.y6),Z=r.ZP.a.withConfig({displayName:"HotelSearchHistoryList__StMyListLink",componentId:"sc-wcudbu-8"})(["display:block;height:100%;width:calc(100% - 36px);"]),B=r.ZP.div.withConfig({displayName:"HotelSearchHistoryList__StSpMyListHotelCaption",componentId:"sc-wcudbu-9"})(["display:inline-block;width:45%;height:84%;border-radius:3px;background-color:",";cursor:pointer;"],h.yM),F=r.ZP.div.withConfig({displayName:"HotelSearchHistoryList__StPcMyListHotelCaption",componentId:"sc-wcudbu-10"})(["display:inline-block;width:200px;height:84%;border-radius:3px;background-color:",";cursor:pointer;"],h.yM),E=(0,r.ZP)(j).withConfig({displayName:"HotelSearchHistoryList__StHotelImg",componentId:"sc-wcudbu-11"})(["display:flex;height:84%;margin:0 auto;object-fit:cover;width:50px;"]),G=r.ZP.img.withConfig({displayName:"HotelSearchHistoryList__StMyListImg",componentId:"sc-wcudbu-12"})(["width:100%;height:100%;object-fit:cover;"]),U=r.ZP.div.withConfig({displayName:"HotelSearchHistoryList__StMyListHotelInfo",componentId:"sc-wcudbu-13"})(["color:",";display:inline-block;font-size:",";height:84%;margin-left:15px;vertical-align:top;width:50%;&:hover{cursor:pointer;}"],h.gW,d.J.fs12),Q=r.ZP.div.withConfig({displayName:"HotelSearchHistoryList__StSpMyListHotelName",componentId:"sc-wcudbu-14"})(["font-size:",";font-family:'HiraKakuPro-W6';height:20%;margin:8px 0 8px 8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:90%;"],d.J.fs16),V=r.ZP.div.withConfig({displayName:"HotelSearchHistoryList__StPcMyListHotelName",componentId:"sc-wcudbu-15"})(["font-size:",";font-family:'HiraKakuPro-W6';height:20%;margin:8px 0 8px 8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"],d.J.fs16),X=r.ZP.div.withConfig({displayName:"HotelSearchHistoryList__StSpMyListHotelCheckIn",componentId:"sc-wcudbu-16"})(["overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"]),J=r.ZP.div.withConfig({displayName:"HotelSearchHistoryList__StRoomGuest",componentId:"sc-wcudbu-17"})(["overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"]),W=r.ZP.div.withConfig({displayName:"HotelSearchHistoryList__StPcMyListHotelCheckIn",componentId:"sc-wcudbu-18"})([""]),q=r.ZP.div.withConfig({displayName:"HotelSearchHistoryList__StMyListDelete",componentId:"sc-wcudbu-19"})(["width:36px;"]),K=r.ZP.button.withConfig({displayName:"HotelSearchHistoryList__StMyListClearButton",componentId:"sc-wcudbu-20"})(["display:inline-block;padding:12px;&:hover{cursor:pointer;fill:#c0c0c0;}"]),R=r.ZP.div.withConfig({displayName:"HotelSearchHistoryList__StMyListHotelItemWrapper",componentId:"sc-wcudbu-21"}
1)(["height:80%;"])}}]);
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.