1"use strict";(self.webpackChunkbookcore_client=self.webpackChunkbookcore_client||[]).push([[8],{20771:function(e,t,a){a.r(t);var s,n=a(96540);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var s in a)({}).hasOwnProperty.call(a,s)&&(e[s]=a[s])}return e},o.apply(null,arguments)}t.default=function(e){return n.createElement("svg",o({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),s||(s=n.createElement("path",{d:"M12 0a8 8 0 014.861 14.354l1.13 8.514a1 1 0 01-1.505.99L12 21.165l-4.486 2.691a1 1 0 01-1.505-.989l1.13-8.513A8 8 0 0112 0zm0 16a7.978 7.978 0 01-2.985-.575l-.75 5.65 3.22-1.932a1 1 0 011.03 0l3.22 1.932-.749-5.65A7.978 7.978 0 0112 16zm0-14a6 6 0 103.19 11.082.784.784 0 01.137-.088A6 6 0 0012 2z",fillRule:"evenodd"})))}},14857:function(e,t,a){a.r(t);var s,n=a(96540);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var s in a)({}).hasOwnProperty.call(a,s)&&(e[s]=a[s])}return e},o.apply(null,arguments)}t.default=function(e){return n.createElement("svg",o({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),s||(s=n.createElement("path",{d:"M19.947 6.21h-2.3a3.19 3.19 0 00.195-1.052A3.16 3.16 0 0014.684 2c-1.1 0-2.068.563-2.631 1.416l-.527.716L11 3.416A3.149 3.149 0 008.368 2a3.16 3.16 0 00-3.157 3.158c0 .368.073.72.194 1.053h-2.3a2.096 2.096 0 00-2.094 2.105L1 19.895C1 21.058 1.942 22 3.105 22h16.842a2.105 2.105 0 002.106-2.105V8.315a2.105 2.105 0 00-2.106-2.104zm-5.263-2.105c.58 0 1.053.474 1.053 1.053s-.474 1.053-1.053 1.053a1.056 1.056 0 01-1.052-1.053c0-.58.473-1.053 1.052-1.053zm-6.316 0c.58 0 1.053.474 1.053 1.053S8.947 6.21 8.368 6.21a1.056 1.056 0 01-1.052-1.053c0-.58.473-1.053 1.052-1.053zm11.58 15.79H3.104v-2.106h16.842v2.106zm0-5.263H3.104V8.316h5.348L6.263 11.3l1.71 1.226 2.5-3.405 1.053-1.432 1.053 1.432 2.5 3.405 1.71-1.226L14.6 8.316h5.347v6.316z",fillRule:"evenodd"})))}},15710:function(e,t,a){a.r(t);var s,n,o=a(96540);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var s in a)({}).hasOwnProperty.call(a,s)&&(e[s]=a[s])}return e},i.apply(null,arguments)}t.default=function(e){return o.createElement("svg",i({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),s||(s=o.createElement("path",{d:"M5.23 4.949a2.538 2.538 0 00-2.538 2.538v9.026a2.538 2.538 0 002.539 2.538h13.538a2.538 2.538 0 002.539-2.538V7.487a2.539 2.539 0 00-2.539-2.538H5.231zm-2.99-.453a4.23 4.23 0 012.99-1.24h13.54A4.23 4.23 0 0123 7.487v9.026a4.23 4.23 0 01-4.23 4.23H5.23A4.23 4.23 0 011 16.514V7.487a4.23 4.23 0 011.24-2.991z"})),n||(n=o.createElement("path",{d:"M1 9.744c0-.468.379-.846.846-.846h20.308a.846.846 0 110 1.692H1.846A.846.846 0 011 9.744zM5.513 15.385c0-.468.379-.846.846-.846h.01a.846.846 0 110 1.692h-.01a.846.846 0 01-.846-.846zM10.026 15.385c0-.468.379-.846.846-.846h2.256a.846.846 0 110 1.692h-2.256a.846.846 0 01-.846-.846z"})))}},13927:function(e,t,a){var s=a(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.ItemWrapperStyles=t.ItemValueStyles=t.ItemSubnameStyles=t.ItemNameStyles=t.ItemFinalStyles=t.ItemContentStyles=t.ItemChargesContentStyles=t.FinalChargesTitleStyles=t.FinalChargesStyles=t.CreditCardIconSVG=t.AdditionalChargesTextStyles=t.AdditionalChargesStyles=t.AdditionalChargesInfoStyles=t.AdditionalChargesContentStyles=void 0;var n=function(e,t){if("function"==typeof WeakMap)var a=new WeakMap,s=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var n,o,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(n=t?s:a){if(n.has(e))return n.get(e);n.set(e,i)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((o=(n=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(o.get||o.set)?n(i,t,o):i[t]=e[t]);return i}(e,t)}(a(30496)),o=s(a(15710));t.ItemWrapperStyles=n.default.div.withConfig({displayName:"Viewstyles__ItemWrapperStyles",componentId:"sc-1rmv7ta-0"})(["",";"],({theme:e})=>(0,n.css)(["display:flex;flex-direction:column;display:flex;justify-content:space-between;margin-bottom:",";padding:0 0 0 ",";"],e.r050,e.r300)),t.ItemContentStyles=n.default.div.withConfig({displayName:"Viewstyles__Item
1ContentStyles",componentId:"sc-1rmv7ta-1"})(["",";"],({theme:e})=>(0,n.css)(["align-items:flex-start;display:flex;justify-content:space-between;margin:"," 0;"],e.r025)),t.ItemSubnameStyles=n.default.span.withConfig({displayName:"Viewstyles__ItemSubnameStyles",componentId:"sc-1rmv7ta-2"})(["",";"],({theme:e,isDesktopCart:t})=>(0,n.css)(["font-size:",";font-weight:",";text-align:left;"],t?e.fontXXS:e.fontXS,e.fontRegular)),t.ItemFinalStyles=n.default.div.withConfig({displayName:"Viewstyles__ItemFinalStyles",componentId:"sc-1rmv7ta-3"})(["",";"],({theme:e})=>(0,n.css)(["align-items:flex-start;display:flex;gap:",";justify-content:space-between;margin:"," 0;padding:"," ",";&:last-child{font-weight:",";}"],e.r300,e.r025,e.r025,e.r050,e.fontBold)),t.AdditionalChargesTextStyles=n.default.div.withConfig({displayName:"Viewstyles__AdditionalChargesTextStyles",componentId:"sc-1rmv7ta-4"})(["",";"],({theme:e})=>(0,n.css)(["align-items:center;display:flex;flex-wrap:wrap;gap:"," ",";"],e.r025,e.r050)),t.ItemChargesContentStyles=n.default.div.withConfig({displayName:"Viewstyles__ItemChargesContentStyles",componentId:"sc-1rmv7ta-5"})(["",";"],({theme:e})=>(0,n.css)(["align-items:center;display:flex;font-size:",";font-weight:",";gap:",";justify-content:flex-start;"],e.fontB,e.fontBold,e.r100)),t.AdditionalChargesContentStyles=n.default.div.withConfig({displayName:"Viewstyles__AdditionalChargesContentStyles",componentId:"sc-1rmv7ta-6"})(["",";"],({theme:e})=>(0,n.css)(["color:",";display:flex;flex-direction:column;font-size:",";gap:",";padding-top:",";width:100%;"],e.neutral900,e.fontS,e.r200,e.r200)),t.AdditionalChargesStyles=n.default.div.withConfig({displayName:"Viewstyles__AdditionalChargesStyles",componentId:"sc-1rmv7ta-7"})(["",";"],({theme:e})=>(0,n.css)(["border-top:"," solid ",";margin-top:",";width:100%;"],e.borderWidthS,e.neutral100,e.r200)),t.AdditionalChargesInfoStyles=n.default.div.withConfig({displayName:"Viewstyles__AdditionalChargesInfoStyles",componentId:"sc-1rmv7ta-8"})(["",";"],({theme:e})=>(0,n.css)(["display:flex;gap:",";flex-direction:column;width:100%;"],e.r050)),t.FinalChargesStyles=n.default.div.withConfig({displayName:"Viewstyles__FinalChargesStyles",componentId:"sc-1rmv7ta-9"})(["",";"],({theme:e})=>(0,n.css)(["display:flex;font-size:",";gap:",";flex-direction:column;width:100%;"],e.fontS,e.r050)),t.FinalChargesTitleStyles=n.default.span.withConfig({displayName:"Viewstyles__FinalChargesTitleStyles",componentId:"sc-1rmv7ta-10"})(["",";"],({theme:e})=>(0,n.css)(["font-size:",";margin-bottom:",";padding:0 ",";text-align:left;"],e.fontS,e.r050,e.r050)),t.CreditCardIconSVG=(0,n.default)(o.default).withConfig({displayName:"Viewstyles__CreditCardIconSVG",componentId:"sc-1rmv7ta-11"})(["",""],({theme:e})=>(0,n.css)(["height:",";min-width:",";width:",";"],e.iconsSizeM,e.iconsSizeM,e.iconsSizeM)),t.ItemNameStyles=n.default.span.withConfig({displayName:"Viewstyles__ItemNameStyles",componentId:"sc-1rmv7ta-12"})(["",";"],({theme:e,isDesktopCart:t})=>(0,n.css)(["line-height:",";font-size:",";margin-right:",";text-align:left;"],e.lineHeightS,t?e.fontXS:e.fontS,e.r025)),t.ItemValueStyles=n.default.span.withConfig({displayName:"Viewstyles__ItemValueStyles",componentId:"sc-1rmv7ta-13"})(["align-items:center;display:flex;text-transform:uppercase;white-space:nowrap;"])},61579:function(e,t,a){var s=a(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(51678),o=s(a(94458)),i=a(94501),l=a(13927),r=a(74848);const d=({additionalCharges:e,cityTaxes:t})=>(0,r.jsxs)(l.ItemWrapperStyles,{children:[e.map(e=>(0,r.jsxs)(l.ItemContentStyles,{children:[(0,r.jsxs)(l.ItemNameStyles,{children:[e.description," ",!!e.percentage&&`(${e.percentage}%)`]}),(0,r.jsx)(l.ItemValueStyles,{children:e.amountFormatted})]},e.category)),(0,n.hasObjectData)(t)&&(0,r.jsxs)(l.ItemContentStyles,{children:[(0,r.jsx)(l.ItemNameStyles,{children:t.text}),t.valueFormatted&&(0,r.jsx)(l.ItemValueStyles,{children:t.valueFormatted})]})]}),c=({additionalChargesText:e,directPaymentHotelText:t,finalChargesText:a,finalChargesTitleText:s,totalWithTaxesFormatted:n,totalAdditionalChargesFormatted:o,totalBookingText:i,totalWithAdditionalChargesFormatted:d})=>(0,r.jsxs)(l.FinalChargesStyles,{children:[(0,r.jsx)(l.FinalChargesTitleStyles,{children:s}),(0,r.jsxs)(l.ItemFinalStyles,{children:[(0,r.jsx)(l.ItemNameStyles,{children:i}
1),(0,r.jsx)(l.ItemValueStyles,{children:n})]}),(0,r.jsxs)(l.ItemFinalStyles,{children:[(0,r.jsx)(l.ItemNameStyles,{children:`${e} (${t})`}),(0,r.jsx)(l.ItemValueStyles,{children:o})]}),(0,r.jsxs)(l.ItemFinalStyles,{children:[(0,r.jsx)(l.ItemNameStyles,{children:a}),(0,r.jsx)(l.ItemValueStyles,{children:d})]})]});t.default=({additionalCharges:e,additionalChargesText:t,cityTaxes:a,directPaymentHotelText:s,finalChargesText:n,finalChargesTitleText:y,hasToShowFinalCharges:u,isDesktopCart:f,totalAdditionalChargesFormatted:m,totalBookingText:p,totalWithAdditionalChargesFormatted:h,totalWithTaxesFormatted:g})=>(0,r.jsx)(l.AdditionalChargesStyles,{"data-testid":"fn-additional-charges",children:(0,r.jsxs)(l.AdditionalChargesContentStyles,{children:[(0,r.jsxs)(l.AdditionalChargesInfoStyles,{children:[(0,r.jsxs)(l.ItemChargesContentStyles,{children:[(0,r.jsx)(l.CreditCardIconSVG,{}),(0,r.jsxs)(l.AdditionalChargesTextStyles,{children:[(0,r.jsx)(l.ItemNameStyles,{isDesktopCart:f,children:t}),(0,r.jsx)(l.ItemSubnameStyles,{isDesktopCart:f,children:`(${s})`})]})]}),(0,r.jsx)(d,{additionalCharges:e,cityTaxes:a})]}),u&&(0,r.jsx)(o.default,{type:i.MessageTypes.INFO,versionMessageRedesign:"B",children:(0,r.jsx)(c,{additionalChargesText:t,directPaymentHotelText:s,finalChargesText:n,finalChargesTitleText:y,totalAdditionalChargesFormatted:m,totalBookingText:p,totalWithAdditionalChargesFormatted:h,totalWithTaxesFormatted:g})})]})});e.exports=t.default},68154:function(e,t,a){var s=a(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(a(61579));t.default=n.default;e.exports=t.default},85084:function(e,t,a){var s=a(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(96540),o=s(a(5556)),i=a(51678),l=s(a(12873)),r=a(73630),d=a(74848);class c extends n.Component{constructor(e){super(e),this.View="B"===e.versionMessageRedesign?(0,n.lazy)(()=>(0,i.lazyRetry)(()=>a.e(123).then(a.t.bind(a,67809,23)))):(0,n.lazy)(()=>(0,i.lazyRetry)(()=>a.e(123).then(a.t.bind(a,95761,23))))}componentDidMount(){this.setHideShowTimeout(this.props.onAppear,this.props.timeToShow),this.props.timeToHide&&this.setHideShowTimeout(this.props.onLeave,this.props.timeToHide)}setHideShowTimeout(e,t){setTimeout(()=>{this.props.toggleMessage(),e()},t)}render(){const{View:e}=this;return(0,d.jsx)(n.Suspense,{fallback:(0,d.jsx)(l.default,{type:"inlineloader"}),children:(0,d.jsx)(e,{...(0,r.getMessageProps)(this.props)})})}}t.default=c,c.displayName="MessageController",c.propTypes={actionTextButton:o.default.string,animationTime:o.default.number,displayPosition:o.default.string,loyaltyLogo:o.default.string,onAppear:o.default.func,onClickButton:o.default.func,onLeave:o.default.func,showMessage:o.default.bool,textAlignment:o.default.string,timeToHide:o.default.number,timeToShow:o.default.number,title:o.default.string,toggleMessage:o.default.func,type:o.default.string,versionMessageRedesign:o.default.string},c.defaultProps={animationTime:700,displayPosition:"",onAppear:i.defaultEmptyFunction,onClickButton:i.defaultEmptyFunction,onLeave:i.defaultEmptyFunction,showMessage:!1,timeToHide:0,timeToShow:0,toggleMessage:i.defaultEmptyFunction,type:""},e.exports=t.default},567:function(e,t,a){var s=a(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(96540),o=s(a(5556)),i=a(51678),l=s(a(85084)),r=a(74848);class d extends n.Component{constructor(){super(),this.state={showMessage:!1},this.toggleMessage=this.toggleMessage.bind(this)}toggleMessage(){this.setState({showMessage:!this.state.showMessage})}render(){return(0,r.jsx)(l.default,{...this.props,...this.state,toggleMessage:this.toggleMessage})}}t.default=d,d.displayName="MessageModel",d.propTypes={actionTextButton:o.default.string,displayPosition:o.default.string,loyaltyLogo:o.default.string,onAppear:o.default.func,onClickButton:o.default.func,onLeave:o.default.func,textAlignment:o.default.string,timeToHide:o.default.number,timeToShow:o.default.number,title:o.default.string,type:o.default.string},d.defaultProps={displayPosition:"",onAppear:i.defaultEmptyFunction,onClickButton:i.defaultEmptyFunction,onLeave:i.defaultEmptyFunction,timeToHide:0,timeToShow:0,type:""},e.exports=t.default}
1,73630:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={getMessageProps:function(e){const t=!!e.actionTextButton&&e.onClickButton;return{...e,hasToShowButton:t}}};e.exports=t.default},94458:function(e,t,a){var s=a(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(a(567));t.default=n.default;e.exports=t.default},10394:function(e,t,a){var s=a(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(a(82300)),o=s(a(68154)),i=s(a(89998)),l=s(a(78781)),r=a(74848);t.default=({additionalChargesProps:e,agencyPriceFormatted:t,agencyPriceText:a,amountText:s,basePriceFormatted:d,currencyCodeHotel:c,discountAppliedText:y,earnedPointsFormatted:u,freeCancellationText:f,giftCard:m,giftCardText:p,hasEarnedPoints:h,hasRedeemedPoints:g,hasToShowAdditionalCharges:S,hasToShowBasePrice:x,hasToShowFreeCancellation:C,hasToShowHotelPrice:w,hasToShowLoyaltyElements:T,hasToShowPromocodeValue:b,hotelPriceWithTaxesFormatted:I,isAgency:P,loyaltyLogo:_,loyaltyLogoAlt:v,onClickShowResume:j,placeholderPromotionalCodeText:A,pointsText:F,promoCode:L,promoCodeAmountFormatted:M,promoCodePercentage:N=0,redeemedPointsFormatted:W,taxesBreakdownProps:k,textPayInLocalCurrency:D,textTaxes:V,textTotalAmount:O,textViewDetail:B,totalWithTaxesFormatted:z})=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.default,{amountText:s,discountAppliedText:y,giftCard:m,giftCardText:p,hasToShowPromocodeValue:b,placeholderPromotionalCodeText:A,promoCode:L,promoCodeAmountFormatted:M,promoCodePercentage:N}),k&&k?.taxesBreakdown?.length>0?(0,r.jsx)(n.default,{...k}):(0,r.jsx)(r.Fragment,{}),(0,r.jsx)(l.default,{agencyPriceFormatted:t,agencyPriceText:a,basePriceFormatted:d,currencyCodeHotel:c,earnedPointsFormatted:u,freeCancellationText:f,hasEarnedPoints:h,hasRedeemedPoints:g,hasToShowBasePrice:x,hasToShowFreeCancellation:C,hasToShowHotelPrice:w,hasToShowLoyaltyElements:T,hotelPriceWithTaxesFormatted:I,isAgency:P,loyaltyLogo:_,loyaltyLogoAlt:v,onClickShowResume:j,pointsText:F,redeemedPointsFormatted:W,textPayInLocalCurrency:D,textTaxes:V,textTotalAmount:O,textViewDetail:B,totalWithTaxesFormatted:z}),S&&(0,r.jsx)(o.default,{...e})]});e.exports=t.default},31611:function(e,t,a){var s=a(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(a(10394));t.default=n.default;e.exports=t.default},89998:function(e,t,a){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=a(98783),n=a(66400),o=a(52634),i=a(74848);const l=({discount:e,discountAppliedText:t,discountType:a,discountValue:s,hasToShowExtraInfo:n,placeholderText:l})=>(0,i.jsxs)(o.DiscountLabelContentStyles,{"data-testid":`fn-price-summary-${a}`,children:[(0,i.jsx)(o.IconStyles,{discountType:a}),(0,i.jsxs)(o.DiscountLabelTextWrapperStyles,{children:[(0,i.jsxs)(o.DiscountLabelNameStyles,{children:[l,":",(0,i.jsx)(o.DiscountLabelValueStyles,{children:e})]}),n&&(0,i.jsxs)(o.DiscountLabelNameStyles,{"data-testid":`fn-price-summary-${a}-extra-info`,children:[t,":",(0,i.jsx)(o.DiscountLabelValueStyles,{children:s})]})]})]});t.default=({amountText:e,discountAppliedText:t,giftCard:a,giftCardText:r,hasToShowPromocodeValue:d,placeholderPromotionalCodeText:c,promoCode:y,promoCodeAmountFormatted:u,promoCodePercentage:f})=>(0,i.jsxs)(o.DiscountGroupWrapperStyles,{children:[y&&(0,i.jsx)(l,{discount:y,discountAppliedText:t,discountType:n.DiscountType.PROMOCODE,discountValue:f<0?(0,s.formatPercentage)(-f):u,hasToShowExtraInfo:d,placeholderText:c}),a?.code&&(0,i.jsx)(l,{discount:a.code,discountAppliedText:e,discountType:n.DiscountType.GIFTCARD,discountValue:a.amoutAppliedFormatted,hasToShowExtraInfo:!0,placeholderText:r})]});e.exports=t.default},78781:function(e,t,a){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=a(79507),n=a(50985),o=a(74848);t.default=({agencyPriceFormatted:e,agencyPriceText:t,basePriceFormatted:a,currencyCodeHotel:i,earnedPointsFormatted:l,freeCancellationText:r,hasEarnedPoints:d,hasRedeemedPoints:c,hasToShowBasePrice:y,hasToShowFreeCancellation:u,hasToShowHotelPrice:f,hasToShowLoyaltyElements:m,hotelPriceWithTaxesFormatted:p,isAgency:h,loyaltyLogo:g,loyaltyLogoAlt:S,onClickShowResume:x,pointsText:C,redeemedPointsFormatted:w,textPayInLocalCurrency:T,textTaxes:b,textTotalAmount:I,textViewDetail:P,totalWithTaxesFormatted:_})=>(0,o.jsxs)(n.TotalAmountStyles,{children:[(0,o.jsx)(n.TitlePriceWrapperStyles,{children:(0,o.jsx)(n.PriceResumeTitleStyles,{children:I})}),(0,o.jsx)(s.FreeCancellationAndPoints,{earnedPointsFormatted:l,freeCancellationText:r,hasEarnedPoints:d,hasToShowFreeCancellation:u,pointsText:C}),y&&(0,o.jsx)(n.OldPriceStyles,{"data-testid":"fn-price-summary-old-price",children:a}),(0,o.jsx)(n.AmountWrapperStyles,{children:m?(0,o.jsx)(s.TotalWithPoints,{hasRedeemedPoints:c,loyaltyLogo:g,loyaltyLogoAlt:S,pointsText:C,redeemedPointsFormatted:w,totalWithTaxesFormatted:_}):(0,o.jsx)(s.TotalPrice,{totalWithTaxesFormatted:_})}),(0,o.jsx)(n.TaxesTextStyles,{children:b}),h&&(0,o.jsx)(s.AgencyInfo,{agencyPriceText:t,agencyPriceFormatted:e}),f&&(0,o.jsx)(s.PayInLocalCurrencyAdvice,{currencyCodeHotel:i,hotelPriceWithTaxesFormatted:p,textPayInLocalCurrency:T}),(0,o.jsx)(s.ViewDetails,{onClickShowResume:x,textViewDetail:P})]});e.exports=t.default}
1,79507:function(e,t,a){Object.defineProperty(t,"__esModule",{value:!0}),t.ViewDetails=t.TotalWithPoints=t.TotalPrice=t.PayInLocalCurrencyAdvice=t.FreeCancellationAndPoints=t.AgencyInfo=void 0;var s=a(75186),n=a(74848);const o=({hasRedeemedPoints:e,loyaltyLogo:t,loyaltyLogoAlt:a})=>(0,n.jsx)(s.LoyaltyWrapperStyles,{hasRedeemedPoints:e,children:(0,n.jsx)(s.LoyaltyLevelImgStyles,{alt:a,"data-testid":"fn-price-summary-loyalty-logo",src:t})}),i=({totalWithTaxesFormatted:e})=>(0,n.jsx)(s.TotalPriceStyles,{"data-testid":"fn-price-summary-total-price",children:e});t.TotalPrice=i;t.TotalWithPoints=({hasRedeemedPoints:e,loyaltyLogo:t,loyaltyLogoAlt:a,pointsText:l,redeemedPointsFormatted:r,totalWithTaxesFormatted:d})=>(0,n.jsxs)(s.PointsAndPriceWrapperStyles,{children:[(0,n.jsx)(o,{hasRedeemedPoints:e,loyaltyLogo:t,loyaltyLogoAlt:a}),e&&(0,n.jsxs)(s.RedeemedPointsStyles,{children:[(0,n.jsx)("span",{"data-testid":"fn-price-summary-redeemed-points",children:r}),l]}),(0,n.jsx)(i,{totalWithTaxesFormatted:d})]});t.AgencyInfo=({agencyPriceText:e,agencyPriceFormatted:t})=>(0,n.jsxs)(s.AgencyInfoContentStyles,{"data-testid":"fn-price-summary-agency",children:[(0,n.jsxs)(s.ItemNameStyles,{children:[e,":"]}),(0,n.jsx)(s.ItemValueStyles,{children:t})]});t.PayInLocalCurrencyAdvice=({currencyCodeHotel:e,hotelPriceWithTaxesFormatted:t,textPayInLocalCurrency:a})=>(0,n.jsxs)(s.ItemHighlightedContentStyles,{"data-testid":"fn-price-summary-hotel-currency",children:[(0,n.jsxs)(s.ItemNameStyles,{children:[a," (",e,"):"]}),(0,n.jsx)(s.ItemValueStyles,{children:t})]});t.FreeCancellationAndPoints=({earnedPointsFormatted:e,freeCancellationText:t,hasEarnedPoints:a,hasToShowFreeCancellation:o,pointsText:i})=>(0,n.jsx)(n.Fragment,{children:(a||o)&&(0,n.jsxs)(s.FreeCancellationAndPointsStyles,{children:[o&&(0,n.jsxs)(s.FreeCancellationStyles,{children:[(0,n.jsx)(s.CircleCheckIcon,{}),t]}),a&&(0,n.jsxs)(s.LoyaltyPointsStyles,{"data-testid":"fn-price-summary-earned-points",children:[(0,n.jsx)(s.AwardIconSVG,{}),(0,n.jsxs)("span",{children:[e," ",i]})]})]})});t.ViewDetails=({onClickShowResume:e,textViewDetail:t})=>(0,n.jsx)(n.Fragment,{children:e&&(0,n.jsxs)(s.DetailsLinkStyles,{"data-testid":"fn-price-summary-view-details",onClick:e,children:[(0,n.jsx)(s.DetailsIcon,{}),(0,n.jsx)("span",{children:t})]})})},52634:function(e,t,a){var s=a(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.IconStyles=t.DiscountLabelValueStyles=t.DiscountLabelTextWrapperStyles=t.DiscountLabelNameStyles=t.DiscountLabelContentStyles=t.DiscountGroupWrapperStyles=void 0;var n=function(e,t){if("function"==typeof WeakMap)var a=new WeakMap,s=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var n,o,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(n=t?s:a){if(n.has(e))return n.get(e);n.set(e,i)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((o=(n=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(o.get||o.set)?n(i,t,o):i[t]=e[t]);return i}(e,t)}(a(30496)),o=a(66400),i=s(a(14857)),l=s(a(77224)),r=s(a(37039)),d=s(a(89883)),c=a(74848);t.DiscountGroupWrapperStyles=n.default.div.withConfig({displayName:"DiscountSectionstyles__DiscountGroupWrapperStyles",componentId:"sc-1bna508-0"})(["",""],({theme:e})=>(0,n.css)(["display:flex;flex-direction:column;gap:",";margin-bottom:",";&:empty{display:none;}"],e.r100,e.r100));const y=(0,n.css)(["",""],({theme:e})=>(0,n.css)(["height:",";margin-right:",";@media ","{height:",";width:",";}"],e.iconsSizeB,e.r050,r.default.phonesLargeW,e.iconsSizeMM,e.iconsSizeMM)),u=(0,n.default)(l.default).withConfig({displayName:"DiscountSectionstyles__TagIconIconStyles",componentId:"sc-1bna508-1"})(["",""],y),f=(0,n.default)(i.default).withConfig({displayName:"DiscountSectionstyles__GiftCardIconStyles",componentId:"sc-1bna508-2"})(["",""],y),m={[o.DiscountType.PROMOCODE]:(0,c.jsx)(u,{}),[o.DiscountType.GIFTCARD]:(0,c.jsx)(f,{})};t.IconStyles=({discountType:e})=>m[e];t.DiscountLabelContentStyles=n.default.div.withConfig({displayName:"DiscountSectionstyles__DiscountLabelContentStyles",componentId:"sc-1bna508-3"})(["",";"],({theme:e})=>(0,n.css)([""," align-items:center;background-color:",";display:flex;padding:"," ",";width:100%;"],d.default.XStoS,e.neutral050,e.r025,e.r050)),t.DiscountLabelNameStyles=n.default.span.withConfig({displayName:"DiscountSectionstyles__DiscountLabelNameStyles",componentId:"sc-1bna508-4"})(["",";"],({theme:e})=>(0,n.css)(["display:flex;justify-content:space-between;line-height:",";"],e.lineHeightS)),t.DiscountLabelTextWrapperStyles=n.default.div.withConfig({displayName:"DiscountSectionstyles__DiscountLabelTextWrapperStyles",componentId:"sc-1bna508-5"})(["display:block;width:100%;"]),t.DiscountLabelValueStyles=n.default.span.withConfig({displayName:"DiscountSectionstyles__DiscountLabelValueStyles",componentId:"sc-1bna508-6"})(["",";"],({theme:e})=>(0,n.css)(["margin-left:",";text-transform:uppercase;"],e.r025))},50985:function(e,t,a){var s=a(24994);
1Object.defineProperty(t,"__esModule",{value:!0}),t.TotalAmountStyles=t.TitlePriceWrapperStyles=t.TaxesTextStyles=t.PriceResumeTitleStyles=t.OldPriceStyles=t.AmountWrapperStyles=void 0;var n=function(e,t){if("function"==typeof WeakMap)var a=new WeakMap,s=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var n,o,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(n=t?s:a){if(n.has(e))return n.get(e);n.set(e,i)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((o=(n=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(o.get||o.set)?n(i,t,o):i[t]=e[t]);return i}(e,t)}(a(30496)),o=s(a(89883));t.OldPriceStyles=n.default.span.withConfig({displayName:"TotalSectionstyles__OldPriceStyles",componentId:"sc-1hs7k1f-0"})(["",";"],({theme:e})=>(0,n.css)([""," align-items:flex-end;color:",";display:flex;font-weight:",";justify-content:flex-end;min-height:",";text-decoration:line-through;"],o.default.StoB,e.neutral400,e.fontRegular,e.r250)),t.PriceResumeTitleStyles=n.default.div.withConfig({displayName:"TotalSectionstyles__PriceResumeTitleStyles",componentId:"sc-1hs7k1f-1"})(["",""],({theme:e})=>(0,n.css)([""," font-weight:",";text-transform:uppercase;"],o.default.BtoL,e.fontBold)),t.TitlePriceWrapperStyles=n.default.div.withConfig({displayName:"TotalSectionstyles__TitlePriceWrapperStyles",componentId:"sc-1hs7k1f-2"})(["align-self:flex-start;display:flex;flex-basis:100%;"]),t.AmountWrapperStyles=n.default.div.withConfig({displayName:"TotalSectionstyles__AmountWrapperStyles",componentId:"sc-1hs7k1f-3"})(["",""],({theme:e})=>(0,n.css)(["display:flex;gap:",";justify-content:flex-end;width:100%;"],e.r050)),t.TotalAmountStyles=n.default.div.withConfig({displayName:"TotalSectionstyles__TotalAmountStyles",componentId:"sc-1hs7k1f-4"})(["",""],({theme:e})=>(0,n.css)([""," display:flex;flex-direction:column;gap:",";justify-content:flex-end;margin-top:",";width:100%;"],o.default.XStoS,e.r075,e.r200)),t.TaxesTextStyles=n.default.span.withConfig({displayName:"TotalSectionstyles__TaxesTextStyles",componentId:"sc-1hs7k1f-5"})([""," text-align:right;"],o.default.XXStoXS)},75186:function(e,t,a){var s=a(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.TotalPriceStyles=t.RedeemedPointsStyles=t.PointsAndPriceWrapperStyles=t.LoyaltyWrapperStyles=t.LoyaltyPointsStyles=t.LoyaltyLevelImgStyles=t.ItemValueStyles=t.ItemNameStyles=t.ItemHighlightedContentStyles=t.FreeCancellationStyles=t.FreeCancellationAndPointsStyles=t.DetailsLinkStyles=t.DetailsIcon=t.CircleCheckIcon=t.AwardIconSVG=t.AgencyInfoContentStyles=void 0;var n=function(e,t){if("function"==typeof WeakMap)var a=new WeakMap,s=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var n,o,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(n=t?s:a){if(n.has(e))return n.get(e);n.set(e,i)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((o=(n=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(o.get||o.set)?n(i,t,o):i[t]=e[t]);return i}(e,t)}(a(30496)),o=s(a(16166)),i=s(a(89883)),l=s(a(20771)),r=s(a(37039)),d=s(a(37076)),c=s(a(24571));t.LoyaltyWrapperStyles=n.default.div.withConfig({displayName:"TotalSubSectionsstyles__LoyaltyWrapperStyles",componentId:"sc-qyqbrb-0"})(["",""],({theme:e,hasRedeemedPoints:t})=>(0,n.css)(["align-items:center;display:flex;justify-content:flex-end;margin:auto 0;",""],t&&(0,n.css)(["margin:0 0 "," 0;"],e.r100))),t.AwardIconSVG=(0,n.default)(l.default).withConfig({displayName:"TotalSubSectionsstyles__AwardIconSVG",componentId:"sc-qyqbrb-1"})(["",""],({theme:e})=>(0,n.css)(["fill:",";height:",";min-width:",";"],e.loyaltyEarnPointsColor||e.neutral800,e.iconsSizeXS,e.iconsSizeXS)),t.LoyaltyLevelImgStyles=n.default.img.withConfig({displayName:"TotalSubSectionsstyles__LoyaltyLevelImgStyles",componentId:"sc-qyqbrb-2"})(["",""],({theme:e})=>(0,n.css)(["height:",";width:auto;"],e.priceSummaryLoyaltyImageHeight||e.iconsSizeM)),t.LoyaltyPointsStyles=n.default.div.withConfig({displayName:"TotalSubSectionsstyles__LoyaltyPointsStyles",componentId:"sc-qyqbrb-3"})(["",""],({theme:e})=>(0,n.css)(["align-items:center;background:",";border:"," solid ",";display:flex;gap:",";line-height:",";margin:0 0 "," 0;padding:"," "," "," ",";"],e.neutral100,e.borderWidthS,e.neutral100,e.r050,e.lineHeightXS,e.r010,e.r050,e.r100,e.r050,e.r075)),t.TotalPriceStyles=n.default.span.withConfig({displayName:"TotalSubSectionsstyles__TotalPriceStyles",componentId:"sc-qyqbrb-4"})(["",""],({theme:e})=>(0,n.css)([""," font-weight:",";max-width:max-content;"],i.default.XXLtoXXXL,e.fontBold)),t.RedeemedPointsStyles=n.default.div.withConfig({displayName:"TotalSubSectionsstyles__RedeemedPointsStyles",componentId:"sc-qyqbrb-5"})(["",""],({theme:e})=>(0,n.css)([""," margin:0 0 "," 0;text-transform:uppercase;span{font-weight:",";margin-right:",";}&:after{content:' +';font-size:",";font-weight:",";margin-left:",";}"],i.default.BtoL,e.r050,e.fontBold,e.r025,e.fontL,e.fontBold,e.r050)),t.PointsAndPriceWrapperStyles=n.default.div.withConfig({displayName:"TotalSubSectionsstyles__PointsAndPriceWrapperStyles",componentId:"sc-qyqbrb-6"})(["",""],({theme:e})=>(0,n.css)(["align-items:flex-end;display:flex;flex-wrap:wrap;gap:0 ",";justify-content:flex-end;"],e.r100)),t.FreeCancellationAndPointsStyles=n.default.div.withConfig({displayName:"TotalSubSectionsstyles__FreeCancellationAndPointsStyles",componentId:"sc-qyqbrb-7"})(["",""],({theme:e})=>(0,n.css)(["align-items:center;display:flex;flex-wrap:wrap;gap:",";justify-content:flex-end;"],e.r100)),t.FreeCancellationStyles=n.default.div.withConfig({displayName:"TotalSubSectionsstyles__FreeCancellationStyles",componentId:"sc-qyqbrb-8"})(["",""],({theme:e})=>(0,n.css)(["align-items:center;background-color:",";border:"," solid ",";color:",";display:flex;gap:",";line-height:",";padding:"," "," "," ",";width:max-content;"],e.neutral000,e.borderWidthS,e.colorSuccess,e.colorSuccess700,e.r050,e.lineHeightXS,e.r050,e.r100,e.r050,e.r075)),t.CircleCheckIcon=(0,n.default)(o.default).withConfig({displayName:"TotalSubSectionsstyles__CircleCheckIcon",componentId:"sc-qyqbrb-9"})(["",";"],({theme:e})=>(0,n.css)(["fill:",";height:",";min-width:",";"],e.colorSuccess700,e.iconsSizeXS,e.iconsSizeXS)),t.ItemHighlightedContentStyles=n.default.div.withConfig({displayName:"TotalSubSectionsstyles__ItemHighlightedContentStyles",componentId:"sc-qyqbrb-10"})(["",";"],({theme:e})=>(0,n.css)(["border-radius:",";display:flex;justify-content:space-between;"],e.roundedCard)),t.AgencyInfoContentStyles=n.default.div.withConfig({displayName:"TotalSubSectionsstyles__AgencyInfoContentStyles",componentId:"sc-qyqbrb-11"})(["display:flex;align-items:center;justify-content:space-between;"]),t.ItemNameStyles=n.default.span.withConfig({displayName:"TotalSubSectionsstyles__ItemNameStyles",componentId:"sc-qyqbrb-12"})(["",";"],({theme:e})=>(0,n.css)(["line-height:",";margin-right:",";text-align:left;"],e.lineHeightS,e.r025)),t.ItemValueStyles=n.default.span.withConfig({displayName:"TotalSubSectionsstyles__ItemValueStyles",componentId:"sc-qyqbrb-13"})(["align-items:center;display:flex;text-transform:uppercase;white-space:nowrap;"]),t.DetailsIcon=(0,n.default)(c.default).withConfig({displayName:"TotalSubSectionsstyles__DetailsIcon",componentId:"sc-qyqbrb-14"})(["",";"],({theme:e})=>
1(0,n.css)(["height:",";@media ","{height:",";}"],e.iconsSizeS,r.default.phonesLargeW,e.iconsSizeB)),t.DetailsLinkStyles=n.default.a.withConfig({displayName:"TotalSubSectionsstyles__DetailsLinkStyles",componentId:"sc-qyqbrb-15"})(["",";"],({theme:e})=>(0,n.css)([""," "," align-items:center;align-self:flex-end;display:flex;flex-wrap:nowrap;gap:",";letter-spacing:initial;text-decoration:underline;"],d.default,i.default.BtoL,e.r050))},5013:function(e,t,a){var s=a(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.SubtotalStyles=t.SubtotalPriceStyles=t.ItemWrapperStyles=t.ItemValueStyles=t.ItemNameStyles=t.ItemContentStyles=t.ItemBoldedContentStyles=void 0;var n=function(e,t){if("function"==typeof WeakMap)var a=new WeakMap,s=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var n,o,i={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return i;if(n=t?s:a){if(n.has(e))return n.get(e);n.set(e,i)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((o=(n=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(o.get||o.set)?n(i,t,o):i[t]=e[t]);return i}(e,t)}(a(30496)),o=s(a(89883));t.SubtotalPriceStyles=n.default.span.withConfig({displayName:"Viewstyles__SubtotalPriceStyles",componentId:"sc-nxeick-0"})(["",""],({theme:e})=>(0,n.css)(["margin-left:",";"],e.r050)),t.ItemWrapperStyles=n.default.div.withConfig({displayName:"Viewstyles__ItemWrapperStyles",componentId:"sc-nxeick-1"})(["",";"],({theme:e})=>(0,n.css)(["display:flex;flex-direction:column;justify-content:space-between;line-height:",";"],e.lineHeightXS)),t.ItemBoldedContentStyles=n.default.div.withConfig({displayName:"Viewstyles__ItemBoldedContentStyles",componentId:"sc-nxeick-2"})(["",";"],({theme:e,isCart:t})=>(0,n.css)(["align-items:flex-end;display:flex;font-weight:",";justify-content:space-between;margin-top:",";"," ",""],e.fontBold,e.r075,!t&&(0,n.css)(["font-size:",";margin-bottom:",";margin-top:0;padding:0 ",";"],e.fontS,e.r050,e.r050),o.default.BtoL)),t.ItemContentStyles=n.default.div.withConfig({displayName:"Viewstyles__ItemContentStyles",componentId:"sc-nxeick-3"})(["",";"],({theme:e,isCart:t})=>(0,n.css)([""," align-items:center;display:flex;justify-content:space-between;margin:"," 0;",""],!t&&(0,n.css)(["padding:"," ",";margin:"," 0;"],e.r025,e.r050,e.r025),e.r050,o.default.XStoS)),t.ItemNameStyles=n.default.span.withConfig({displayName:"Viewstyles__ItemNameStyles",componentId:"sc-nxeick-4"})(["",";"],({theme:e})=>(0,n.css)(["line-height:",";margin-right:",";text-align:left;"],e.lineHeightS,e.r025)),t.ItemValueStyles=n.default.span.withConfig({displayName:"Viewstyles__ItemValueStyles",componentId:"sc-nxeick-5"})(["align-items:center;display:flex;text-transform:uppercase;white-space:nowrap;"]),t.SubtotalStyles=n.default.span.withConfig({displayName:"Viewstyles__SubtotalStyles",componentId:"sc-nxeick-6"})(["",";"],({theme:e})=>(0,n.css)(["align-items:baseline;align-items:center;display:flex;flex-wrap:wrap;gap:",";justify-content:flex-end;"],e.r075))},6321:function(e,t,a){var s=a(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(a(10697)),o=a(5013),i=a(74848);const l=({isCart:e,taxesBreakdown:t,taxesLabel:a})=>{const s=(0,n.default)(t),l=(t,a=null)=>(0,i.jsx)(o.ItemWrapperStyles,{"data-testid":"fn-taxes-breakdown",children:t.map((t,s)=>(0,i.jsxs)(o.ItemContentStyles,{isCart:e,children:[(0,i.jsxs)(o.ItemNameStyles,{children:[a||t.description,"OLD"!==t.category&&!!t.percentage&&` (${t.percentage}%)`]}),(0,i.jsx)(o.ItemValueStyles,{children:t.amountFormatted})]},s))});return s.length>0?l(s):l(t,a)};t.default=({isCart:e,subtotalPriceText:t,taxesBreakdown:a,taxesLabel:s,totalWithoutTaxesFormattedPrice:n})=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(o.ItemBoldedContentStyles,{isCart:e,children:[(0,i.jsx)(o.ItemNameStyles,{children:t}),(0,i.jsx)(o.SubtotalStyles,{children:n&&(0,i.jsx)(o.SubtotalPriceStyles,{"data-testid":"fn-taxes-subtotal-price",children:n})})]}),(0,i.jsx)(l,{isCart:e,taxesBreakdown:a,taxesLabel:s})]});e.exports=t.default}
1,10697:function(e,t,a){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=a(94501);t.default=e=>e.filter(e=>e.category!==s.TaxCategory.OLD);e.exports=t.default},82300:function(e,t,a){var s=a(24994);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(a(6321));t.default=n.default;e.exports=t.default},66400:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.DiscountType=void 0;t.DiscountType=function(e){return e.PROMOCODE="promocode",e.GIFTCARD="giftcard",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.