1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[97994],{92974:function(e,t,r){r.d(t,{q:function(){return d}});var a=r(765),n=r(7607),s=r(32187);r(52983);var i=r(20006);let l={default:({isExclusiveCollection:e})=>({thRoot:"text-center",thIcon:(0,s.d)("mb-15",{"rounded-full bg-lightSand p-15 text-black":!e},{"rounded-12 border-5 border-ultramarine p-10 text-ultramarine":e}),thIconWidth:"6.25rem",thIsNotSquare:!1,thProductInfo:"flex flex-col-reverse text-initial",thProductCountry:"font-bold text-14 text-sienna truncate w-full",thProductName:"font-bold leading-tight text-18"}),calendar:()=>({thRoot:"font-brand leading-tight text-black text-center text-16",thIconWidth:"5rem",thIsNotSquare:!0})};var o=r(97458);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,a)}return r}let d=({className:e,isExclusiveCollection:t,iconName:r,productCountry:d,productName:u,theme:p="default"})=>{let{thIcon:h,thIconWidth:f,thRoot:m,thIsNotSquare:b,thProductInfo:y,thProductName:x,thProductCountry:g}
1=(0,n.j9)(l[p]({isExclusiveCollection:t}));return(0,o.jsxs)("div",{className:(0,s.d)(m,e),children:[(0,o.jsx)(i.J,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach(function(t){(0,a.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},(0,n.j9)({alt:u,className:h,isNotSquare:b,name:r,width:f}))),(0,o.jsxs)("div",{className:y,children:[u&&(0,o.jsx)("p",{className:x,"data-testid":"product-logo-name",children:u}),d&&(0,o.jsx)("p",{className:g,"data-testid":"product-logo-country",children:d})]})]})}},97994:function(e,t,r){r.d(t,{O:function(){return Y}});var a=r(765),n=r(55675),s=r(13546),i=r.n(s),l=r(52983),o=r(20334),c=r.n(o),d=r(23099),u=r(76316),p=r(61105);r(95792);var h=r(7607),f=r(40021),m=r(99816),b=r(24469),y=r(66800),x=r(77837),g=r.n(x),j=r(32187),D=r(33463),O=r(4895),v=r(11511);let w=({isBestPrice:e=!1,isHighlighted:t=!1,isSelectable:r=!1,isSelected:a=!1,isTablet:n=!1,lastAvailability:s=!1,shouldDisplayDoubleSeasonButton:i=!1,siblingOpen:l=!1}={})=>({default:{thDay:(0,j.d)(`group flex flex-1 cursor-pointer flex-col items-center justify-center ${n?"h-100 p-5":"h-52"} relative border-r border-t border-grey text-center text-14 transition-all duration-250 ease-in`,{"text-black hocus:text-white":r}),thDayCornerMark:(0,j.d)({"corner-mark-tr-turquoise":l&&n,"corner-mark-tr-turquoise-sm":l&&!n}),thDayMessage:"hidden md:inline w-full font-normal text-12",thDayNumber:(0,j.d)("left-0 top-0 text-10 md:absolute md:p-5",{"font-normal md:text-12":!r,"font-bold md:text-16":r,"text-current":l}),thDayOldPrice:"text-12 line-through hidden md:block text-current",thDayPrice:"text-12 md:text-16",thStatusMessage:i?`bg-turquoise cursor-pointer font-bold p-1 md:px-5 rounded-2 text-10 md:text-18 text-white uppercase${n?"":" w-full"}`:"hidden md:inline w-full font-normal",thFrom:"hidden md:inline w-full font-normal"},compact:{thDay:"cursor-pointer flex flex-1 flex-col group items-center justify-center h-48 leading-tight relative text-14 text-center",thDayMessage:"hidden",thDayNumberContainer:(0,j.d)("relative isolate"),thDayNumber:(0,j.d)("relative z-1",{"text-white":(s||e||l)&&t,"text-grey group-hover:text-white":!s&&!e&&!l&&t}),thDayUnavailable:"line-through",thDayHighlight:"absolute bg-current group-hover:bg-transparent h-26 left-1/2 rounded-4 top-1/2 transform -translate-x-1/2 -translate-y-1/2 w-26",thDayOldPrice:"hidden",thDayPrice:(0,j.d)("mx-auto -mb-5 mt-5 block self-end text-10 font-bold",{"text-black group-hover:text-white":!a,"text-white":a}),thStatusMessage:"hidden",thFrom:"hidden",thShowPricePlaceholder:!0}});var E=r(42715),N=r(82983),P=r(97458);let S=({day:e,duration:t,departureCity:r,hasTransport:a,isJoyview:n,isVisible:s,setIsVisible:i,shouldDisplayDetails:o,unit:d})=>{(0,l.useEffect)(()=>{i(o)},[o]);let u=(0,E.t)("resort.startingPrice.dateFormat"),p=c()(e).format(u),h=c()(e).add({days:t}).format(u);return s&&o&&(0,P.jsx)("div",{className:"text-initial absolute left-1/2 top-0 z-2 w-400 -translate-x-1/2 transform font-normal",children:(0,P.jsx)("div",{className:"animation-duration-500 absolute inset-x-0 bottom-full animate-fadeIn",children:(0,P.jsx)("div",{className:"arrow-down arrow-large arrow-white rounded-12 bg-white shadow-md after:drop-shadow-md",children:(0,P.jsx)(N.s,{city:r,endDate:h,hasTransport:a,isJoyview:n,startDate:p,unit:d})})})})};var k=r(9300),R=r(96390);let C=({availability:e,product:t,isMouseOverDoubleSeasonPopin:r,isVisible:a,setInvisible:n,setIsMouseOverDoubleSeasonPopin:s,statusMessageKey:i})=>{let{isTablet:l}=(0,m.F)(),o=e=>{e.preventDefault(),e.stopPropagation()},c={actionGA:"calendarPrice"};return(a||r)&&(0,P.jsx)("div",{onClick:o,children:l?(0,P.jsx)("aside",{className:"arrow arrow-bg-lightGrey arrow-down arrow-white animation-duration-500 absolute bottom-full left-1/2 z-3 w-280 -translate-x-1/2 transform animate-fadeIn font-normal shadow-diffuse",children:(0,P.jsx)("div",{className:"text-initial overflow-hidden rounded-12 border border-lightGrey bg-white",children:(0,P.jsx)(R.$,{availability:e,product:t,setInvisible:n,setIsMouseOverDoubleSeasonPopin:s,statusMessageKey:i,trackingData:c})})}):(0,P.jsx)(k.u,{closeLabel:(0,E.t)("common.close"),onClose:e=>{o(e),n()},size:"small",children:(0,P.jsx)(R.$,{availability:e,product:t,statusMessageKey:i,trackingData:c})})})},I=({day:e,duration:t=7,hasInstalment:r=!1,isJoyview:a,isLoading:n,isSelectable:s=!1,isSelected:i=!1,isHighlighted:o=!1,locale:d,price:{availability:u,currency:p,departureCity:h,hasTransport:f,isBestPrice:b,lastAvailability:y,price:x,oldPrice:N,priceValue:k,siblingOpen:R=!1,unit:I},product:M,selectedBestPrice:G,selectedDuration:A,selectedRealPrice:_,shouldDisplayDetails:K,shouldDisplayDoubleSeasonButton:T,shouldDisplayPrice:Y,shouldDisplaySelectedDepartureDateMessage:J,shouldDisplaySelectedDepartureDateMessageWithPrice:B,shouldDisplaySelectedReturningDateMessage:F,shouldDisplayStatus
1Message:U,theme:$,withPriceDetails:W})=>{let{0:z,1:H}=(0,l.useState)(!1),{0:q,1:L}=(0,l.useState)(!1),{isDesktop:V,isTablet:Q}=(0,m.F)(),Z=`booking.priceCalendar.priceStatus.${u}`,X=w({isBestPrice:b,isHighlighted:o,isSelectable:s,isSelected:i,isTablet:Q,lastAvailability:y,shouldDisplayDoubleSeasonButton:T,siblingOpen:R})[$??"default"],ee="thShowPricePlaceholder"in X&&!!X.thShowPricePlaceholder,{thDayCornerMark:et,thDayMessage:er,thDayNumberContainer:ea,thDayNumber:en,thDayHighlight:es,thDayOldPrice:ei,thDayPrice:el,thStatusMessage:eo,thFrom:ec}=X,ed=g()(e=>{L(e)},150),eu=()=>{q||ed(!0)},ep=()=>{ed(!1)},eh=e=>{let t=e?.replace(/[\s|.,]/gi,"")||"";return t.length<=5?t:(0,P.jsx)("span",{className:"text-8 md:mx-1 md:px-1 md:text-10",children:t})},ef=r?(0,O.g6)({currency:p,formattedValue:x,value:k},d):x,em=_||G,eb=["open","noDeparture"].includes(u);return(0,P.jsxs)(l.Fragment,{children:[(0,P.jsx)("div",{className:(0,j.d)({"absolute inset-0 z-3 h-full w-full":W||T,"pointer-events-auto":T}),"data-testid":"price-calendar-date",onBlur:()=>{V&&ep()},onClick:e=>{T&&(e.preventDefault(),e.stopPropagation(),V||eu())},onFocus:()=>{V&&eu()},onMouseLeave:()=>{V&&ep()},onMouseOver:()=>{V&&eu()},tabIndex:0}),R&&(0,P.jsx)("span",{className:et}),W&&(0,P.jsx)(S,{duration:t,departureCity:h,hasTransport:f,isJoyview:a,isVisible:q,setIsVisible:ed,shouldDisplayDetails:!!ef&&K,day:e,unit:I}),M&&R&&T&&(0,P.jsx)(C,{availability:u,product:M,isMouseOverDoubleSeasonPopin:z,isVisible:q,setInvisible:ep,setIsMouseOverDoubleSeasonPopin:H,statusMessageKey:Z}),(!T||Q)&&(0,P.jsxs)("div",{className:ea,children:[(0,P.jsx)("span",{className:(0,j.d)(en),children:c()(e).format("D")}),o&&(0,P.jsx)("div",{className:es})]}),U&&(0,E.e$)(Z)&&!ef&&!n&&(R?T&&(0,P.jsx)("span",{className:(0,j.d)(eo,{"shadow-md":q||z}),children:(0,E.t)(Z)}):(0,P.jsx)("span",{className:eo,children:(0,E.t)(Z)})),J&&(0,P.jsxs)("div",{className:er,children:[(0,E.t)("booking.priceCalendar.selectedDepartureDateMessage").toUpperCase()," ",(0,P.jsx)("div",{className:"mt-5",children:(0,E.t)("booking.priceCalendar.endDateMessage")})]}),B&&(0,P.jsxs)("div",{className:er,children:[(0,E.t)("booking.priceCalendar.selectedDepartureDateMessage").toUpperCase(),em&&A&&(0,P.jsxs)("div",{className:"flex flex-col",children:[(0,P.jsx)("span",{children:(0,E.t)("price.format.unitTotalPerTripIndicative").toUpperCase()}),(0,P.jsx)("span",{className:"text-12 font-bold leading-tight md:text-16","data-testid":"selected-date-best-price",children:"compact"===$?eh(em):em})]})]}),F&&(0,P.jsx)("div",{className:er,children:(0,E.t)("booking.priceCalendar.selectedReturningDateMessage").toUpperCase()}),n?(0,P.jsx)(D.$,{size:"tiny",className:"text-black"}):(0,P.jsxs)(l.Fragment,{children:[Y&&!!ef&&(0,P.jsxs)("div",{className:"flex flex-col text-current","data-testid":"price-calendar-date-price",children:[!!ef&&(0,P.jsx)("span",{className:ec,children:(0,E.t)("price.format.from")}),(0,P.jsx)("span",{"data-testid":"price",className:el,children:"compact"===$?eh(ef):ef}),ef!==N&&(0,P.jsx)("span",{className:ei,children:N})]}),ee&&(!Y||!ef)&&(0,P.jsx)("span",{className:(0,j.d)(el,{"opacity-0":!eb}),children:eb?(0,v.$G)((0,E.t)("faceting.when.dateSelect"),6):(0,P.jsx)(l.Fragment,{children:"\xa0"})})]})]})};var M=r(94029);let G=["className","departureDate","duration","hasInstalment","isJoyview","navbarElement","navigationByYear","offsetCalendar","onDayMouseOver","onSelect","openCalendarToDate","openingDates","optionsDuration","prices","product","selectedBestPrice","selectedDays","selectedDuration","selectedMonth","selectedRealPrice","shouldAllowSelectingSiblingOpenDays","theme","withLongDayFormat","withPriceDetails"];function A(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,a)}return r}function _(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?A(Object(r),!0).forEach(function(t){(0,a.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):A(Object(r)).forEac
1h(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let K=e=>({isBookableDatesLoading:e?.calendar?.bookableDatesLoading}),T=({weekday:e,className:t,localeUtils:r,locale:a})=>{let n=r.formatWeekdayLong(e,a);return(0,P.jsx)("div",{className:t,title:n,children:n})},Y=e=>{let{className:t,departureDate:r,duration:a,hasInstalment:s,isJoyview:o,navbarElement:x,navigationByYear:g,offsetCalendar:j,onDayMouseOver:D,onSelect:O,openCalendarToDate:v,openingDates:E,optionsDuration:N,prices:S,product:k,selectedBestPrice:R,selectedDays:{from:C,to:A},selectedDuration:Y,selectedMonth:J,selectedRealPrice:B,shouldAllowSelectingSiblingOpenDays:F=!1,theme:U="default",withLongDayFormat:$,withPriceDetails:W=!1}=e,z=(0,n.Z)(e,G),H=(0,f.bp)(),{isTablet:q}=(0,m.F)(),{displayPrices:L=(0,p.R)(H)("datePicker.displayPrices")}=z,{isBookableDatesLoading:V}=(0,d.v9)(K),Q=Object.keys(S||{}),Z=S?(0,M.iF)(S):"",X=Q.length>0,ee=X&&L||"compact"===U,et=!!(C&&A),er=(0,l.useCallback)(e=>i()(S,`[${e}]`,{}),[Z]),{isSeller:ea,locale:en}=H,es=(0,l.useMemo)(()=>(0,M.SB)({from:C,to:A,prices:S,isSeller:ea,optionsDuration:N,openingDates:E,resolvePrice:er,shouldAllowSelectingSiblingOpenDays:F}),[C,ea,N.join(),Z,A]),ei=(0,l.useCallback)((0,M.zl)(er,C,c()(A).subtract(1,"day").toDate(),F),[C,A,Z]),el={[M.EK.DARK_GREY]:(0,M.j5)({classColor:M.EK.DARK_GREY,from:C,hasPrices:X,resolvePrice:er,selectedMonth:J,to:A}),[M.EK.GREEN]:(0,M.j5)({classColor:M.EK.GREEN,from:C,hasPrices:X,resolvePrice:er,selectedMonth:J,to:A}),[M.EK.GREEN_OPACITY_45]:(0,M.j5)({classColor:M.EK.GREEN_OPACITY_45,from:C,hasPrices:X,resolvePrice:er,selectedMonth:J,to:A}),[M.EK.GREY]:(0,M.j5)({classColor:M.EK.GREY,from:C,hasPrices:X,resolvePrice:er,selectedMonth:J,to:A}),[M.EK.ORANGE]:(0,M.j5)({classColor:M.EK.ORANGE,from:C,hasPrices:X,resolvePrice:er,selectedMonth:J,to:A}),[M.EK.ORANGE_OPACITY_45]:(0,M.j5)({classColor:M.EK.ORANGE_OPACITY_45,from:C,hasPrices:X,resolvePrice:er,selectedMonth:J,to:A}),[M.EK.WHITE]:(0,M.j5)({classColor:M.EK.WHITE,from:C,hasPrices:X,resolvePrice:er,selectedMonth:J,to:A}),[M.EK.TURQUOISE]:(0,M.j5)({classColor:M.EK.TURQUOISE,from:C,hasPrices:X,resolvePrice:er,selectedMonth:J,to:A}),"!text-lightGrey":es,disabledDays:es,firstSiblingOpenDayOfSelectedMonth:(0,M.nH)(er,J),siblingOpenDays:(0,M.dd)(er),"pointer-events-none":e=>{let t=C&&A&&(0,M.tw)(e)>=(0,M.tw)(C)&&(0,M.tw)(e)<=(0,M.tw)(A);if(X&&t)return ei(e)}},eo=(0,l.useMemo)(()=>{let e=(0,M.tw)(new Date);return Q.find(t=>(0,M.tw)(c()(t,u.yJ).toDate())>e&&S&&S[t].available)||null},[JSON.stringify(Z)]),ec=(0,l.useMemo)(()=>{if(!Array.isArray(E)||0===E.length)return null;let[{opening:e}]=E;return e},[JSON.stringify(E)]),{thDay:ed}=w({isTablet:q})[U],eu=V?{min:c()(C).toDate(),max:c()(C).toDate()}:{min:(0,M.ir)(j),max:(0,M.MN)()},{0:ep,1:eh}=(0,l.useState)(v);(0,l.useEffect)(()=>{eh(v)},[c()(v).format(u.yJ)]),(0,l.useEffect)(()=>{C&&eh(C)},[c()(C).format(u.yJ)]);let ef=(0,l.useMemo)(()=>c()(ep||C||eo||ec||(0,M.ir)(j)).toDate(),[c()(ep).format(u.yJ),c()(C).format(u.yJ),c()(eo).format(u.yJ),c()(ec).format(u.yJ),j]);return(0,P.jsx)(b.a,_({hasRangeMode:!0,className:t,selectedDays:{from:C,to:A},disabledDays:es,customModifiers:el,hasNavigationByYear:g,minDate:eu.min,maxDate:eu.max,navbarElement:x,initialMonth:ef,onSelect:O,onMouseOver:e=>{D&&D(e)},theme:U,shouldHoverSiblingOpenDays:F,weekdayElement:$?(0,P.jsx)(T,{}):void 0},ee?(0,h.j9)({renderDay:(e,t)=>{let n=y.n[U],i="compact"===U?X&&!t[n.thDayPicker.selected]:X&&!A&&!c()(C).isSame(e,"day"),l=er((0,M.tw)(e));return(0,P.jsx)(I,_({},(0,h.j9)({day:e,duration:a,hasInstalment:s,hasPrices:X,isSelectable:!!(!t.disabledDays&&C&&!A&&!c()(e).isSame(C,"day")),isSelected:!!t[n.thDayPicker.selected],isLoading:!!(r&&V&&c()(e).isAfter(r)),isJoyview:o,locale:en,price:l,product:k,selectedBestPrice:R,selectedDuration:Y,selectedRealPrice:B,isHighlighted:(t.today||l.isBestPrice||l.lastAvailability||l.siblingOpen)&&!t[n.thDayPicker.selected],shouldDisplayDetails:W&&!!t[n.thDayPicker.selected]&&!C&&!A,shouldDisplayDoubleSeasonButton:t.firstSiblingOpenDayOfSelectedMonth,shouldDisplayPrice:i,shouldDisplaySelectedDepartureDateMessage:!!C&&!A&&c()(C).isSame(e,"day"),shouldDisplaySelectedDepartureDateMessageWithPrice:et&&c()(C).isSame(e,"day"),shouldDisplaySelectedReturningDateMessage:et&&c()(A).isSame(e,"day"),shouldDisplayStatus
1Message:!C,withPriceDetails:W,theme:U})))},datePickerClassNames:{day:ed}}):null))}},94029:function(e,t,r){r.d(t,{Bh:function(){return h},EK:function(){return d},MN:function(){return m},SB:function(){return O},dd:function(){return j},iF:function(){return w},ir:function(){return b},j5:function(){return v},nH:function(){return g},tw:function(){return p},zl:function(){return x}});var a=r(29787),n=r.n(a),s=r(20334),i=r.n(s),l=r(95792),o=r(76316),c=r(4672);let d={DARK_GREY:"text-black hocus:text-black-active",GREEN:"text-green",GREEN_OPACITY_45:"text-green bestPrice",GREY:"text-grey hocus:text-black-active",ORANGE:"text-orange",ORANGE_OPACITY_45:"text-orange lastAvailability",WHITE:"text-white",TURQUOISE:"text-turquoise"},u=e=>i()(e),p=(e,t=o.yJ)=>parseInt(u(e).format(t),10),h=(e,t)=>Math.abs(i()(t).diff(i()(e),"days")),f=(e,t=o.yJ)=>parseInt(e.format(t),10),m=()=>i()().add(c.zj).toDate(),b=(e=1)=>i()().add({days:e}).toDate(),y=e=>t=>{let r=e(p(t));return n()(r)||r.noAvailability},x=(e,t,r,a)=>n=>{let{closed:s=!1,siblingOpen:i=!1}=e(p(n));return t||r?(!t||!!r)&&!(t&&r&&p(n)>=p(t)&&p(n)<=p(r))&&(s||i&&!a):s||i&&!a},g=(e,t)=>{let r;return a=>{if(!t)return!1;let n=`${t.toString()}01`,s=i()(n,o.yJ),l=s.weekday()>0?f(s.subtract(s.weekday(),"days")):f(s),c=f(i()(s).add(41,"days")),d=p(a);if(r&&r!==p(a)||d<l||d>c)return!1;let u=e(d)?.siblingOpen||!1;return u&&(r=p(a)),u}},j=e=>t=>e(p(t))?.siblingOpen||!1,D=(e,t=[])=>r=>{if(r<e)return!1;let a=h(r,e);return a>30||!!a&&!t.includes(a)};function O({from:e,isSeller:t,optionsDuration:r,openingDates:a,prices:s,resolvePrice:o,shouldAllowSelectingSiblingOpenDays:c,to:d}){let u=[],h=Object.keys(s||{}),f=h.length>0,m=h.filter(e=>s&&(s[e].closed||s[e].siblingOpen&&!c)).map(e=>parseInt(e,10));if(f){let t=x(o,e,d,c),r=j(o),a=y(o);u.push(t=>{let{exclusivity:r=!1,noFlight:a=!1,full:n=!1}=o(p(t)),s=!r&&!a&&!n;return e||d?(!e||!!d)&&!(e&&d&&p(t)>=p(e)&&p(t)<=p(d))&&!s:!s}),u.push(t),c||u.push(r),u.push(a)}if(e&&!d){let t=p(e),r=m.filter(e=>e>t),a=f&&r.length>0&&Math.min.apply(null,r);u.push({before:i()(e).toDate(),after:a?i()(a.toString()).toDate():i()(e).add(30,"days").toDate()})}return!e||d||n()(r)||t||u.push(D(e,r)),a?.length&&u.push(...(0,l.Bo)(a)),u}function v({classColor:e,from:t,hasPrices:r,resolvePrice:a,selectedMonth:n,to:s}){return i=>{let l=p(i);if(n){let a=Number.parseInt(`${n}01`,10),s=Number.parseInt(`${n}31`,10);if(l<a||!t&&l>s||!r)return e===d.GREY}if(t){let r=p(t);if(s){let t=p(s);if(l>=r&&l<=t)return e===d.WHITE}else{if(l===r)return e===d.WHITE;switch(e){case d.WHITE:return!1;case d.GREEN_OPACITY_45:case d.GREY:case d.ORANGE_OPACITY_45:if(l>=r)return!1;break;default:if(l<r)return!1}}}if(a){let{isBestPrice:r,lastAvailability:n,price:s,siblingOpen:l}=a(p(i))||{isBestPrice:!1,lastAvailability:!1,price:""};if(l)return t&&e===d.TURQUOISE||e===d.TURQUOISE;if(n)return t?e===d.ORANGE||e===d.ORANGE_OPACITY_45:e===d.ORANGE;if(r)return t?e===d.GREEN||e===d.GREEN_OPACITY_45:e===d.GREEN;if(s)return t?e===d.DARK_GREY||e===d.GREY:e===d.DARK_GREY}return!1}}function w(e){return Object.keys(e).map(t=>e[t].oldPrice).join()}},96390:function(e,t,r){r.d(t,{$:function(){return m}});var a=r(765),n=r(80477);r(52983);var s=r(42715),i=r(46910),l=r(14099),o=r(38391),c=r(23104),d=r(7607),u=r(92974),p=r(97458);function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,a)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?h(Object(r),!0).forEach(function(t){(0,a.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let m=({availability:e,product:t,setInvisible:r,setIsMouseOverDoubleSeasonPopin:a,statusMessageKey:h,trackingData:m})=>{let b=(0,i.r)(),y=(0,n.useRouter)(),{asPath:x}=y,g=`booking.priceCalendar.priceStatus.${e===l.lV?"siblingDescriptionSummer":"siblingDescriptionWinter"}`,{destination:{country:j},href:D="",name:O,resortId:v}=t,w=D.split("/"),E=[...w.slice(0,w.length-1),e===l.lV?"s":"w"].join("/"),N=()=>{a&&setTimeout(()=>{a(!1)},200),r&&r()},P=()=>a&&a(!0);return(0,p.jsxs)("div",{className:"pointer-events-auto flex cursor-default flex-col items-center justify-center gap-20 bg-white p-30",onBlur:N,onFocus:P,onKeyDown:e=>{e.preventDefault(),e.stopPropagation(),e.keyCode===o.K5?y.push(x.replace(D,E)):N()}
1,onMouseOver:P,onMouseLeave:N,tabIndex:-1,children:[(0,p.jsxs)("div",{className:"flex flex-col items-center justify-center gap-10",children:[(0,p.jsx)(u.q,{iconName:v,productCountry:j,productName:O,theme:"calendar"}),(0,p.jsx)("p",{className:"rounded-4 bg-turquoise px-10 py-5 text-12 font-bold text-white",children:(0,s.t)(h)})]}),(0,p.jsx)("p",{className:"text-center text-14 leading-tight text-black sm:leading-normal",children:(0,s.t)(g)}),(0,p.jsx)(c.z,f({},(0,d.j9)({className:"pointer-events-auto w-full","data-testid":"DayWithPrice-DoubleSeasonPopin-seeOtherSeason",onBlur:N,onClick:e=>{b(f({categoryGA:"resort",labelGA:"switchSeason"},m)),e.preventDefault(),e.stopPropagation(),y.push(x.replace(D,E))},onFocus:P,size:"medium",tabIndex:0,children:(0,s.t)("booking.priceCalendar.priceStatus.siblingButton")})))]})}}}]); 2//# sourceMappingURL=97994-4a8a6a1befe3c382.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.