PageSourceSearch

https://static-js.luxuryescapes.com/en-AU/7927.90ac9ec74ea54c23.js

js luxuryescapes.com collected 2026-09-24 19:44:43 UTC 17,047 bytes, 2 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};e.SENTRY_RELEASE={id:"production-9d1dc3a"},e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];if(null!=r)for(var i in r)r.hasOwnProperty(i)&&(e[i]=r[i])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:luxgroup-customer-portal":!0});var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="edfafe4e-6461-4883-a55e-ae966a7a85a0",e._sentryDebugIdIdentifier="sentry-dbid-edfafe4e-6461-4883-a55e-ae966a7a85a0")}catch(e){}}();"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[7927],{970911(e,t,r){let i=r(292987).A;r.d(t,{},{A:i})},659179(e,t,r){var i=r(474848),o=r(296540),n=r(49530),a=r(423946),s=r(620181),l=r.n(s),c=r(185692),u=r(638772);r.d(t,{},{A:function(e){let t=(0,o.useContext)(n.A),r=(0,o.useRef)(!1),s=(0,o.useRef)(!1),d=(0,o.useRef)(0),f=(0,o.useRef)(!1),h=(0,o.useRef)(!1),[m]=(0,c.Wx)({triggerOnce:!0}),p=(0,o.useMemo)(()=>t&&!t.label?.includes("Carousel")?{...t,label:`${t.label} - Carousel`}:t,[t]),g=(0,o.useMemo)(()=>l()(e=>{if(p){let t=(0,u.iJ)(e.currentTarget),i=t>d.current?"Right":"Left";d.current=t,"Right"===i&&r.current||"Left"===i&&s.current||("Right"===i?r.current=!0:s.current=!0)}},100),[p]),y=(0,o.useCallback)((e,t)=>{let r="left"===t?h.current:f.current;p&&!r&&("left"===t?h.current=!0:f.current=!0)},[p]);return(0,i.jsx)(n.A.Provider,{value:p,children:(0,i.jsx)(a.A,{...e,onArrowClick:y,onScroll:g,ref:m})})}})},231655(e,t,r){r(944114),r(218111),r(720116),r(22489);var i=r(811645),o=r(101944),n=r(313079),a=r(302885),s=r(712980),l=r(533121),c=r(587029),u=r(976309),d=r(712975);let f=(0,r(846341).YK)({ymalTourSameLocation:{id:"O0wBwq_YC_V433CsJTmp",defaultMessage:"Starts and ends in {endLocation}",description:"Location summary on a You May Also Like tour tile when the tour starts and ends in the same place"},ymalTourDifferentLocations:{id:"cZ4yF18VERxW6tRVeRXU",defaultMessage:"Starts in {startLocation}, Ends in {endLocation}",description:"Location summary on a You May Also Like tour tile when the tour starts and ends in different places"}});function h({currency:e,linkQuery:t,offer:r,testId:i,position:n,tracking:s,distance:l,distanceFrom:c,distanceUnit:d}){let{id:f,image:m,property:p,type:g}=r,y=v(r),b=[],{city:A,countryName:k}=p.address;A&&b.push(A),k&&b.push(k);let M=b.join(", "),x=r.sell;return{pricing:y,showHotelPrice:!!x?.price,shouldDisplayValue:!!x?.value,value:x?.value,category:r.analyticsType,currency:e,depositShouldDisplay:!1,distance:l,distanceFrom:c,distanceUnit:d,image:{id:m.id,title:m.title},location:M,name:(0,u.Ck)(r),offerType:g,offerId:f,position:n,tracking:s,testId:i,title:p.name,url:(0,o.Ay)(r,t),urgencyLabels:a.N9,rating:p.rating}}function m(e,t){let{cheapestPurchasableOption:r}=(0,n.so)(e,void 0);if(!r||!e.depositType)return{depositType:void 0,depositAmount:void 0,depositAmountPercentage:void 0,depositShouldDisplay:!1};let i=r.price,o=e.departures[r.fkDepartureId],a=(0,c.Ay)(o.startDate,i,t,e.depositType,e.depositThresholds?.numberOfDays);return{depositType:e.depositType,depositAmount:e.depositAmount?e.depositAmount:void 0,depositAmountPercentage:void 0,depositShouldDisplay:a}}function p({currency:e,linkQuery:t,offer:r,testId:i,position:s,tracking:c}){let d=(0,l.v)(),{id:h,name:g,type:y}=r,{cheapestVariation:A}=(0,n.so)(r),v=A??Object.values(r.variations)[0],k=v.images[0],M=v.startLocation,x=v.endLocation,P=v.startLocation===v.endLocation?d.formatMessage(f.ymalTourSameLocation,{endLocation:x}):d.formatMessage(f.ymalTourDifferentLocations,{startLocation:M,endLocation:x}),w=m(r,e);return{category:"tourV2",currency:e,depositType:w.depositType,depositAmount:w.depositAmount,depositAmountPercentage:w.depositAmountPercentage,depositShouldDisplay:w.depositShouldDisplay,image:{id:k.id,title:k.title},location:P,name:(0,u.Ck)(r),offerType:y,offerId:h,position:s,pricing:b(r),tracking:c,testId:i,title:g,url:(0,o.Ay)(r,t),urgencyLabels:a.N9}}function g(e,t,r,o){let n=(()=>
1{if(!(0,s.r9)(e.type))return!1;if(e.type===i.MS){let r=e.lowestPricePackage,i=o?.rates?.find(e=>e.packageUniqueKey===r?.uniqueKey);return(0,s.R8)(e,t,void 0,r?.price,r,i)}return(0,s.R8)(e,t,void 0,e.lowestPricePackage?.price)})(),a=n?(0,s.j_)(e,r):void 0;return{depositShown:n,depositAmountPercentage:a,depositThresholds:e.depositThresholds}}function y({currency:e,linkQuery:t,offer:r,position:i,testId:n,tracking:a,offerAvailableRates:s,distance:l,distanceFrom:c,distanceUnit:f,defaultDepositAmountPercentage:h}){let{analyticsType:m,flightPrices:p,id:b,image:v,bundledWithFlightsOnly:k,locationHeading:M,locationSubheading:x,lowestPricePackage:{shouldDisplayValue:P,value:w}={},name:j,property:D,type:T,walledGarden:L}=r,_=g(r,e,h,s),C=(0,d.RA)(r);return{category:m,currency:e,depositAmountPercentage:_.depositAmountPercentage,depositThresholds:_.depositThresholds,depositShouldDisplay:_.depositShown,distance:l,distanceFrom:c,distanceUnit:f,flights:{bundledWithFlightsOnly:k,flightPrices:p},image:{id:v.id,title:v.title},location:[M,x].filter(e=>e).join(", "),offerType:T,pricing:A(r),name:(0,u.Ck)(r),offerId:b,position:i,shouldDisplayValue:P,testId:n,title:D?.name??j,tracking:a,url:(0,o.Ay)(r,t),value:w,walledGarden:L,urgencyLabels:C,rating:D?.rating}}function b(e){let{cheapestPurchasableOption:t,cheapestVariation:r}=(0,n.so)(e,void 0);if(!t||!r)return;let i=(0,l.v)(),o=(0,a.T9)(r.itinerary,e=>e.startDay),s=o.startDay+o.duration-1;return{duration:i.formatMessage({id:"ZcRVQzTmXgMMMa0e-dXL",defaultMessage:"{count, plural, one {# day} other {# days}}",description:"Day count duration label for tour V2 you may also like tile"},{count:s}),price:t.price,memberPrice:0,saleUnit:"person"}}function A(e){let{saleUnit:t,type:r,lowestPricePackage:i}=e;if(!i)return;let o=(0,l.v)();return{duration:"tour"===r?o.formatMessage({id:"uSU-LdnHxxyFx5BtWw_E",defaultMessage:"{count, plural, one {# day} other {# days}}",description:"Day count duration label for tour offer you may also like tile"},{count:i.duration}):o.formatMessage({id:"hX3x4jTMdHwNZ2jnKLsX",defaultMessage:"{count, plural, one {# night} other {# nights}}",description:"Night count duration label for hotel offer you may also like tile"},{count:i.duration}),hotelNights:i.duration,price:i.price,memberPrice:i.memberPrice,saleUnit:t}}function v(e){if(e.sell)return{duration:(0,l.v)().formatMessage({id:"HcO7_nYVWPQ8VWpknRvW",defaultMessage:"{count, plural, one {# night} other {# nights}}",description:"Night count duration label for bedbank offer you may also like tile"},{count:e.sell.los}),hotelNights:e.sell.los,saleUnit:"night",price:e.sell.price,memberPrice:0}}r.d(t,{Cw:()=>y,LT:()=>A,MZ:()=>h,ZT:()=>m,dr:()=>b,kE:()=>p,kn:()=>v,te:()=>g})},398900(e,t,r){r.d(t,{A:()=>ea,O:()=>en}),r(218111),r(161701),r(22489);var i=r(474848),o=r(596261),n=r(302885),a=r(296540),s=r(38267),l=r(49530),c=r(231655),u=r(811645),d=r(731357),f=r(161648),h=r(73659),m=r(194617),p=r(665673),g=r(852849),y=r(747753),b=r(671468),A=r(603208),v=r(897729),k=r(880597),M=r(341732),x=r(522816);let P=(0,b.Ng)(function(e){return{airportCode:(0,y.gE)(e)}})(function({airportCode:e,bundledWithFlightsOnly:t,flightPrices:r,price:o,memberPrice:n,value:a,duration:s,offer:l}){let c=(0,p.A)(),u=r[e],d=(0,A.Hm)(t,u,o,n,a??o);if(d.isBundledFlightPriceDisplayable){let{packagedTotal:e,packagedMemberTotal:t,flightPrice:r}=d,o=r?c.formatMessage({id:"uk-2pwuLOPwZw9_TNNqO",defaultMessage:"{duration} & flights from",description:"Price caption showing hotel duration and flights pricing on You May Also Like tile"},{duration:s}):s;return(0,i.jsxs)(v.A,{direction:"vertical",gap:4,children:[(0,i.jsx)(M.A,{startIcon:(0,i.jsx)(g.A,{}),children:o}),(0,i.jsx)(x.A,{size:"S",price:Math.ceil(e),saleUnit:"total*",memberPrice:Math.ceil(t),offerConfig:l?.luxPlus})]})}return(0,i.jsx)(k.A,{price:void 0,product:"hotel"})});var w=r(748577),j=r(430084),D=r(210580),T=r(482597),L=r(640307),_=r(359057),C=r(601135),O=r(253408),S=r(462823),E=r(139553);let I=(0,b.Ng)(e=>({canViewLuxPlusBenefits:(0,T.Vn)(e)}))(function({offerType:e,offer:t,duration:r,memberPrice:o,price:n,value:a,priceBlockValue:s,hotelNights:l,roomCount:c,shouldDisplayValue:u=!1,canViewLuxPlusBenefits:d}){let f,h=(0,p.A)(),m=(0,w.Nh)(e),g=r?h.formatMessage({id:"gGlv6dE9mEohN8XQVdJe",defaultMessage:"{duration} from",description:'Duration text with "from" for you may also like hotel price content'},{duration:r}):h.formatMessage({id:"EbkM0UyCjXc1yFTwGJbD",defaultMessage:"From",description:"From text for you may also like hotel price content when no duration"}),{total:y,memberTotal:b=0,saleUnit:v}=(0,D.$b)({value:void 0,saleUnit:"total",duration:l,total:n,memberTotal:o}),k=d&&o>0?b:y,P=(0,C.A)(t,t?.type==="bedbank_hotel"||void 0,k>0),T=P?s:a;return(m||(f=(0,A.JH)(!1,k,T??k,u)),P)?(0,i.jsxs)("div",{children:[(0,i.jsx)(O.A,{offer:t,price:y,memberPrice:b,offerConfig:t?.luxPlus,variation:P,discountPercentage:f?.shouldShowDiscountPercent?f.highestDiscountPercent:void 0}),(0,i.jsx)(S.A,{priceBlockExperimentVariation:P,duration:l,durationLabel:r,saleUnit:t&&"saleUnit"in t?t.saleUnit:void 0,unitCount:c,children:g}),(0,i.jsx)(x.A,{presentation:"price-block-experiment",size:"S",price:M
1ath.ceil(y),memberPrice:Math.ceil(b),saleUnit:v,offerConfig:t?.luxPlus}),f?.shouldShowValue&&!!T&&"bedbank_hotel"!==e&&(0,i.jsx)(E.A,{weight:"normal",colour:"light-foreground-alt",size:"M",originalValue:T})]}):(0,i.jsxs)("div",{children:[(0,i.jsx)(M.A,{children:g}),(0,i.jsx)(_.A,{showMemberPrice:d&&o>0,fallbackPrice:(0,i.jsx)(j.A,{size:"S",price:Math.ceil(k),saleUnit:v,discountPercentage:!m&&f?.shouldShowDiscountPercent?f.highestDiscountPercent:void 0}),children:(0,i.jsx)(L.A,{size:"S",memberPrice:Math.ceil(k),saleUnit:v,discountPercentage:!m&&f?.shouldShowDiscountPercent?f.highestDiscountPercent:void 0})})]})});var R=r(540582),N=r(23307),F=r(452643),V=r(185692),U=r(592017),z=r(413697),B=r(299759),W=r(912047),Y=r(878576),G=r(53359),H=r(32717),J=r(63071),K=r(175160);let X=(0,s.Ay)(F.A).withConfig({componentId:"sc-9f8640c4-0"})(["background-color:",";overflow:hidden;transition:outline 0.2s,box-shadow 0.2s;","{padding:",";width:unset;min-width:",";","{&:hover{background-color:",";}}}&.tile-border{border:1px solid ",";border-radius:",";}&:focus-visible{","}"],e=>e.theme.palette.neutral.surface.normalBackground,m.em.tablet,(0,d.D0)(8),(0,d.D0)(380),B.R,e=>
1e.theme.palette.neutral.surface.lightBackground,e=>e.theme.palette.neutral.surface.lightForeground,e=>e.theme.borderRadius.XS,z.A),Z=["hotel",u.MS,"tour","direct_tour","partner_tour","connection_tour",u.dE],q=(0,a.memo)(function({distance:e,distanceFrom:t,distanceUnit:r,flights:o,image:n,title:s,offerType:l,position:c,pricing:u,roomCount:d,shouldDisplayValue:m,url:g,value:y,rating:b,testId:A,offer:k,alternativePrice:M,onTileClick:x}){let j,D,T,L,_=(0,p.A)(),C=!!M&&M.bestPrice;C&&M?(j=M.bestPrice,D=M.bestMemberPrice??0,T=M.duration,L=M.bestPricePackage?.durationLabel??("number"==typeof M.duration?_.formatMessage({id:"X5Ed2NDT6VFRBITGjuyz",defaultMessage:"{count, plural, one {# night} other {# nights}}",description:"Night count duration label for you may also like tile"},{count:M.duration}):void 0)):(j=u?.price??0,D=u?.memberPrice??0,T=u?.hotelNights,L=u?.duration);let[O,S]=(0,V.Wx)({triggerOnce:!0,skip:!k,threshold:.5}),E=(0,a.useContext)(W.Ay);(0,a.useEffect)(()=>{S&&k&&E({type:1,offer:k,position:c})},[S,k,c]);let F=(0,a.useCallback)(()=>{k&&E({type:0,offer:k,position:c})},[E,k,c]),z=(0,a.useCallback)(()=>{F(),x&&x()},[F,x]),B=u&&!o?.bundledWithFlightsOnly,q=u&&o?.bundledWithFlightsOnly,Q=(0,a.useMemo)(()=>{if(k&&(0,w.Yd)(k))return k},[k]),{currentRegionCode:$}=(0,a.useContext)(K.A),ee=(0,a.useMemo)(()=>{let e=M?.bestPricePackage??Q?.lowestPricePackage,t=(0,w.r0)(e)?e:void 0;return(0,J.hx)(Q,{pkg:t,price:t?.price,memberPrice:t?.memberPrice,currentRegionCode:$,nights:t?.duration})},[Q,M,$]),et=(0,a.useMemo)(()=>e&&t&&r?(0,R.M)(e,t,r,_):null,[e,r,t,_]);return Z.includes(l)?(0,i.jsx)(X,{to:g,onClick:z,target:"_blank","data-testid":A,ref:O,children:(0,i.jsxs)(v.A,{direction:"horizontal",gap:12,children:[(0,i.jsx)(U.A,{ratio:"5:6",width:"100px",children:(0,i.jsx)(N.A,{id:n.id,alt:n.title,width:100,height:120,dpr:2,fit:"center"})}),(0,i.jsxs)(v.A,{direction:"vertical",fullWidth:!0,gap:8,children:[(0,i.jsxs)(v.A,{direction:"vertical",fullHeight:!0,gap:4,children:[(0,i.jsxs)(v.A,{direction:"vertical",children:[et&&(0,i.jsx)(h.Ay,{variant:"large",colour:"light-foreground-alt",lineClamp:1,wrap:"letter-wrap",children:et}),(0,i.jsx)(f.Ay,{variant:"medium",weight:"bold",lineClamp:1,wrap:"letter-wrap",children:s})]}),(0,G.EO)(b)&&(0,i.jsx)(Y.A,{variant:"xs",rating:b,hideLink:!0})]}),B&&(0,i.jsx)(I,{offer:k,offerType:l,price:j,memberPrice:D,duration:L,value:y,priceBlockValue:C?M?.bestValue:y,hotelNights:T,roomCount:C?d:1,shouldDisplayValue:m}),q&&(0,i.jsx)(P,{bundledWithFlightsOnly:!!o?.bundledWithFlightsOnly,flightPrices:o?.flightPrices??{},price:j,memberPrice:D,duration:L,value:y,offer:k}),(0,i.jsx)(H.A,{hidePromoPill:!0,hideInfoIcon:!0,calculationRequests:ee,calculationType:"estimate",offer:Q})]})]})}):null});var Q=r(659179),$=r(531830),ee=r(529052),et=r(506225),er=r(800771);let ei=s.Ay.div.withConfig({componentId:"sc-c412020b-0"})(["width:100%;"]);function eo(e){return!(0,w.ZP)(e)}function en(e,t){switch(e.type){case"direct_tour":case"partner_tour":case"connection_tour":return{...(0,c.kE)({...t,offer:e}),distanceUnit:t.distanceUnit};case u.dE:return(0,c.MZ)({...t,offer:e});case"tour":case u.MS:case"rental":case"hotel":return(0,c.Cw)({...t,offer:e});default:return}}let ea=(0,b.Ng)(function(e){return{defaultDepositAmountPercentage:(0,$.qL)(e)}})(function({filters:e,offerDistances:t,offerDistanceFrom:r,offerDistanceUnit:s,offers:c,tracking:u,displayLimit:f=3,pageSize:h,defaultDepositAmountPercentage:m,onTileClick:p,arrowsOnlyOnHover:g=!1}){let y=(0,a.useMemo)(()=>(0,o.qS)(e),[e]),b=(0,a.useMemo)(()=>Number.isFinite(f)?(0,n.s)(c,f):c,[c,f]),A=(0,a.useContext)(ee.A),v=(0,et.J)(b.map(e=>e.id),e),k=(0,a.useMemo)(()=>({checkIn:e?.checkIn,checkOut:e?.checkOut,rooms:e?.rooms}),[e]),M=(0,a.useMemo)(()=>c.filter(eo),[c]),x=(0,er.A)(M,k);return(0,i.jsx)(l.A.Provider,{value:u,children:(0,i.jsx)(ei,{children:(0,i.jsx)(Q.A,{pageSize:h,width:"95%",tabletWidth:(0,d.D0)(320),arrowsOnlyOnHover:g,children:b.map((o,n)=>{let a={linkQuery:y,testId:"ymal-tile-condensed",position:n+1,currency:A,offerAvailableRates:v[o.id],distance:t?.[o.id]??void 0,distanceFrom:r,distanceUnit:s,defaultDepositAmountPercentage:m},l=en(o,a);return l?(0,i.jsx)(q,{offer:o,alternativePrice:x[o.id],roomCount:e?.rooms?.length,onT
1ileClick:p,...l},o.id):null})})})})})},49530(e,t,r){let i=(0,r(296540).createContext)(void 0);r.d(t,{},{A:i})},506225(e,t,r){var i=r(750142),o=r(302885),n=r(428357),a=r(641492),s=r(296540),l=r(796321),c=r(596742),u=r(917164);let d={fetching:!1,error:void 0,key:"",rates:[]};function f(e,t){let r=(0,i.GV)(e=>e.offer.offerAvailableRates),l=t?.checkIn&&t.checkOut&&t.rooms?(0,a.J)(t.checkIn,t.checkOut,t.rooms):void 0;return(0,s.useMemo)(()=>(0,o.G)(e,e=>e,e=>l?r[e]?.[l]:void 0),[l,e,r])??n.zf}r.d(t,{J:()=>f},{A:function(e,t=n.zf){let r=(0,i.jL)(),[o]=(0,l.A)(e),f=(0,i.GV)(t=>t.offer.offerAvailableRates[e||""])??n.zf,h=(0,s.useMemo)(()=>t.checkIn&&t.checkOut&&t.rooms&&(0,u.U0)(...t.rooms)?(0,a.J)(t.checkIn,t.checkOut,t.rooms):"",[t.checkIn,t.checkOut,t.rooms]);return(0,s.useEffect)(()=>{h&&o&&r((0,c.Y2)(o,{checkIn:t.checkIn,checkOut:t.checkOut,occupants:t.rooms,flightOrigin:t.flightOrigin,reservationId:t.reservationId,lereGroup:t.lereGroup}))},[h,o,t.lereGroup]),f[h]??d}})},540582(e,t,r){var i=r(319537);function o(e,t,r,o){if(e>20)return null;if("km"===r){if(e<.1){let r=(1e3*e).toFixed(1).replace(/\.0$/,"");return o.formatMessage({id:"26AKl1GIp4DnEhDJnT2m",defaultMessage:"{distance}m from {distanceFrom}",description:"Distance label in meters from a location for recommendation cards"},{distance:r,distanceFrom:t})}let r=e.toFixed(1).replace(/\.0$/,"");return o.formatMessage({id:"YQRxMucPozQTqKjv9cY_",defaultMessage:"{distance}km from {distanceFrom}",description:"Distance label in kilometers from a location for recommendation cards"},{distance:r,distanceFrom:t})}if("mi"===r){let r=(0,i.aB)(e).toFixed(1).replace(/\.0$/,"");return o.formatMessage({id:"Q43dSThoj88IsLzEYthb",defaultMessage:"{distance} mi from {distanceFrom}",description:"Distance label in miles from a location for recommendation cards"},{distance:r,distanceFrom:t})}return null}r.d(t,{M:()=>o})},359057(e,t,r){var i=r(474848);r(296540);var o=r(482597);let n=(0,r(671468).Ng)(function(e){return{isLuxPlusEnabled:(0,o.Ze)(e)}})(function(e){let{children:t,isLuxPlusEnabled:r,showMemberPrice:o,fallbackPrice:n}=e;return r&&o?(0,i.jsx)(i.Fragment,{children:t}):(0,i.jsx)(i.Fragment,{children:n})});r.d(t,{},{A:n})}}]);
2//# sourceMappingURL=7927.90ac9ec74ea54c23.js.map

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.