1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2765],{947:(t,e,s)=>{"use strict";s.d(e,{Ay:()=>$,fQ:()=>h,io:()=>m});var n=s(23390),i=s(36117),r=s.n(i),a=s(79282),o=s.n(a);function u(){let t=r()();return t.toDate().isDstObserved()&&(t=t.subtract(-1,"hour")),t}function d(t){return(t|=0)<=0?"00":t<10?"0"+t:t.toString()}r().extend(o()),Date.prototype.stdTimezoneOffset=function(){let t=new Date(this.getFullYear(),0,1),e=new Date(this.getFullYear(),6,1);return t.getTimezoneOffset()>e.getTimezoneOffset()?t.getTimezoneOffset():e.getTimezoneOffset()},Date.prototype.isDstObserved=function(){return this.getTimezoneOffset()<this.stdTimezoneOffset()};let c=t=>t.timer,h=t=>(0,n.Yf)(c,e=>{let{now:s}=e,n=r().unix(t),i=r().duration(n.diff(s));return i.asDays()>2?{days:d(i.asDays())}:{hours:d(i.asHours()),minutes:d(i.minutes()),seconds:d(i.seconds())}}),l={now:u().toISOString()},f=(0,n.Z0)({name:"timer",initialState:l,reducers:{tick(t){t.now=u().toISOString()}}}),{tick:m}=f.actions,$=f.reducer},79282:function(t){t.exports=function(){"use strict";var t,e,s=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,n=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,i={years:31536e6,months:2628e6,days:864e5,hours:36e5,minutes:6e4,seconds:1e3,milliseconds:1,weeks:6048e5},r=function(t){return t instanceof h},a=function(t,e,s){return new h(t,s,e.$l)},o=function(t){return e.p(t)+"s"},u=function(t){return t<0},d=function(t){return u(t)?Math.ceil(t):Math.floor(t)},c=function(t,e){return t?u(t)?{negative:!0,format:""+Math.abs(t)+e}:{negative:!1,format:""+t+e}:{negative:!1,format:""}},h=function(){function u(t,e,s){var r=this;if(this.$d={},this.$l=s,void 0===t&&(this.$ms=0,this.parseFromMilliseconds()),e)return a(t*i[o(e)],this);if("number"==typeof t)return this.$ms=t,this.parseFromMilliseconds(),this;if("object"==typeof t)return Object.keys(t).forEach(function(e){r.$d[o(e)]=t[e]}),this.calMilliseconds(),this;if("string"==typeof t){var u=t.match(n);if(u){var d=u.slice(2).map(function(t){return null!=t?Number(t):0});return this.$d.years=d[0],this.$d.months=d[1],this.$d.weeks=d[2],this.$d.days=d[3],this.$d.hours=d[4],this.$d.minutes=d[5],this.$d.seconds=d[6],this.calMilliseconds(),this}}return this}var h=u.prototype;return h.calMilliseconds=function(){var t=this;this.$ms=Object.keys(this.$d).reduce(function(e,s){return e+(t.$d[s]||0)*i[s]},0)},h.parseFromMilliseconds=function(){var t=this.$ms;this.$d.years=d(t/31536e6),t%=31536e6,this.$d.months=d(t/2628e6),t%=2628e6,this.$d.days=d(t/864e5),t%=864e5,this.$d.hours=d(t/36e5),t%=36e5,this.$d.minutes=d(t/6e4),t%=6e4,this.$d.seconds=d(t/1e3),t%=1e3,this.$d.milliseconds=t},h.toISOString=function(){var t=c(this.$d.years,"Y"),e=c(this.$d.months,"M"),s=+this.$d.days||0;this.$d.weeks&&(s+=7*this.$d.weeks);var n=c(s,"D"),i=c(this.$d.hours,"H"),r=c(this.$d.minutes,"M"),a=this.$d.seconds||0;this.$d.milliseconds&&(a+=this.$d.milliseconds/1e3,a=Math.round(1e3*a)/1e3);var o=c(a,"S"),u=t.negative||e.negative||n.negative||i.negative||r.negative||o.negative,d=i.format||r.format||o.format?"T":"",h=(u?"-":"")+"P"+t.format+e.format+n.format+d+i.format+r.format+o.format;return"P"===h||"-P"===h?"P0D":h},h.toJSON=function(){return this.toISOString()},h.format=function(t){var n={Y:this.$d.years,YY:e.s(this.$d.years,2,"0"),YYYY:e.s(this.$d.years,4,"0"),M:this.$d.months,MM:e.s(this.$d.months,2,"0"),D:this.$d.days,DD:e.s(this.$d.days,2,"0"),H:this.$d.hours,HH:e.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:e.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:e.s(this.$d.seconds,2,"0"),SSS:e.s(this.$d.milliseconds,3,"0")};return(t||"YYYY-MM-DDTHH:mm:ss").replace(s,function(t,e){return e||String(n[t])})},h.as=function(t){return this.$ms/i[o(t)]},h.get=function(t){var e=this.$ms,s=o(t);return"milliseconds"===s?e%=1e3:e="weeks"===s?d(e/i[s]):this.$d[s],e||0},h.add=function(t,e,s){var n;return n=e?t*i[o(e)]:r(t)?t.$ms:a(t,this).$ms,a(this.$ms+n*(s?-1:1),this)},h.subtract=function(t,e){return this.add(t,e,!0)},h.locale=function(t){var e=this.clone();return e.$l=t,e},h.clone=function(){return a(this.$ms,this)},h.humanize=function(e){return t().add(this.$ms,"ms").locale(this.$l).fromNow(!e)},h.valueOf=function(){return this.asMilliseconds()},h.milliseconds=function(){return this.get("milliseconds")},h.asMilliseconds=function(){return this.as("milliseconds")},h.seconds=function(){return this.get("seconds")},h.asSeconds=function(){return this.as("seconds")},h.minutes=function(){return this.get("minutes")},h.asMinutes=function(){return this.as("minutes")},h.hours=function(){return this.get("hours")},h.asHours=function(){return this.as("hours")},h.days=function(){return this.get("days")},h.asDays=function(){return this.as("days")},h.weeks=function(){return this.get("weeks")},h.asWeeks=function(){return this.as("weeks")},h.months=function(){return this.get("months")},h.asMonths=function(){return this.as("months")},h.years=function(){return this.get("years")},h.asYears=function(){return this.as("years")},u}(),l=function(t,e,s){return t.add(e.years()*s,"y").add(e.months()*s,"M").add(e.days()*s,"d").add(e.hours()*s,"h").add(e.minutes()*s,"m").add(e.seconds()*s,"s").add(e.milliseconds()*s,"ms")};return function(s,n,i){t=i,e=i().$utils(),i.duration=function(t,e){return a(t,{$l:i.locale()},e)},i.isDuration=r;var o=n.prototype.add,u=n.prototype.subtract;n.prototype.add=function(t,e){return r(t)?l(this,t,1):o.bind(this)(t,e)},n.prototype.subtract=function(t,e){return r(t)?l(this,t,-1):u.bind(this)(t,e)}}}()},82765:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>b});var n=s(95155),i=s(12115),r=s(947),a=s(1213),o=s(23390),u=s(34331),d=s(38739),c=s(36117),h=s.n(c);let l=t=>t.availabilityCalendar;(0,o.Yf)(l,({counters:t})=>t),(0,o.Yf)(l,({selectedDate:t})=>h()(t)),(0,o.Yf)(l,({availabilityPricingSummary:t})=>(t=>{let e=h()().utcOffset();if(!t)return e;if("Z"===t)return 0;let s=t.split(":");if(2!=s.length)return e;let n=+s[0];return n+(n<0?-1:1)*(s[1]/60)})(t?.zoneOffset));let f={counters:{},selectedDate:void 0,active:!0,product:null,availability:null,fareTypes:null,productLoading:!1,availabilityLoading:!1,fareTypesLoading:!1,availabilityPricingSummary:null},m=(0,o.Z0)({name:"availabilityCalendar",initialState:f,reducers:{changeSelectedDate(t,e){t.selectedDate=e.payload},changeCounter(t,e){let{counters:s}=t,{key:n,value:i}=e.payload;if(0===i)s[n]=0;else{let t=s[n]??0;s[n]=Math.max(0,t+i)}},setCounters(t,e){t.counters=e.payload},resetCalendarData:t=>({...f,counters:t.counters,selectedDate:t.selectedDate,availabilityPricingSummary:t.availabilityPricingSummary})}}),{changeSelectedDate:$,changeCounter:y,setCounters:g,resetCalendarData:v}=m.actions;var p=s(414),M=s(8730);let D=()=>{let t=(0,a.wA)();return(0,i.useEffect)(()=>{let e=setInterval(()=>{t((0,r.io)())},1e3);return()=>clearInterval(e)},[t]),null},b=({children:t})=>{let e=(0,p.m)(),{host:s}=(0,M.M)(),c=(0,i.useMemo)(()=>(({thunkExtraArgument:t})=>(0,o.U1)({devTools:{actionsDenylist:["timer/tick"]},reducer:{timer:r.Ay,[u.Ay.name]:u.Ay.reducer,[d.Ay.name]:d.Ay.reducer,[m.name]:m.reducer},middleware:e=>e({serializableCheck:{ignoredActions:["timer/tick","apiClient/setClient"],ignoredPaths:["apiClient.client"]},thunk:{extraArgument:t}})}))({thunkExtraArgument:{travelloGraphClient:e,channelHost:s}}),[e,s]);return(0,n.jsxs)(a.Kq,{store:c,children:[(0,n.jsx)(D,{}),t]})}}}]);
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.