"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8934],{66154:function(e,t,a){a.d(t,{X:function(){return n}});var r=a(67294);let l=(e,t)=>{if(e.length!==t.length)return!1;for(let a=0;a<e.length;a++)if(e[a].valueOf()!==t[a].valueOf())return!1;return!0},n=e=>{let[t,a]=(0,r.useState)(e);return[t,e=>{let r="function"==typeof e?e(t):e;l(r,t)||a(r)}]}},85927:function(e,t,a){a.d(t,{g:function(){return s}});var r=a(17113),l=a(34426);let n="hotel_search_request";function s(){let e=e=>{if(Date.now()-e.timestamp>864e5)return!1;if(e.dates){let t=(0,r.KF)(),a=(0,r.yf)(e.dates.checkIn);if(a.toDays()<t.toDays())return!1}return!0},t=()=>{let t=(0,l.TP)(n);return t&&e(t)?t:((0,l.L9)(n,null),null)};return{getStoredSearchRequest:t,saveSearchRequestStorage:e=>{let a=t();(0,l.L9)(n,{...a,...e,timestamp:Date.now()})},clearSearchRequestStorage:()=>{(0,l.L9)(n,null)}}}},64766:function(e,t,a){a.d(t,{Z:function(){return j}});var r=a(85893),l=a(67294),n=a(26278),s=a(26528),i=a(14690),o=e=>{let{onSave:t,nights:a,label:l}=e,{tTravel:n}=(0,i.LF)();return(0,r.jsx)("div",{children:(0,r.jsx)(s.wm,{onClick:t,className:"w-full max-w-[200px] py-[5px]",children:l||n("buttonSearchNights",{nights:a})})})},c=a(57491),d=a(34426),m=a(17113),u=a(87462),x=a(99603),h=a(45373),f=a(51385),g=e=>{let{onClearDates:t,dates:a}=e,{tTravel:l}=(0,i.LF)(),n=a[0],o=a[1],c=(0,f.G)(),d=null,u=null;return n&&(d=(0,m.hP)(c,n,"DayMonthLong")),o&&(u=(0,m.hP)(c,o,"DayMonthLong")),(0,r.jsx)("div",{children:(0,r.jsxs)("div",{className:"flex justify-between items-center",children:[(0,r.jsxs)("div",{className:"text-left max-w-[60vw]",children:[(0,r.jsx)("span",{className:"".concat(s.Je),children:l("selectedDates")}),(0,r.jsxs)("span",{className:s.F7,children:[d,u&&" - ".concat(u),"\xa0"]})]}),(0,r.jsxs)("button",{className:"whitespace-nowrap gap-2 hover:underline",onClick:t,children:[(0,r.jsx)(x.G,{icon:h.$}),(0,r.jsx)("span",{className:s.Yf,children:l("clearDates")})]})]})})},p=a(11163),y=a(85927),j=e=>{let{initialValue:t,onValueChange:a,parentBlock:x,hideBorders:h,calendarPositionAlign:j,onSearchHandler:v,onOpen:w,openOutside:b=!1,autoClose:N=!1,buttonLabel:C,subscribeToChange:S,calendarAvailability:D}=e,F=(0,p.useRouter)(),k=(0,f.G)(),{saveSearchRequestStorage:_}=(0,y.g)(),A=t||(0,m.Uj)((0,m.c0)()),[L,M]=(0,l.useState)(A),[E,G]=(0,l.useState)((0,m.yF)(i.F3)),V=(0,l.useRef)(),P=(0,l.useRef)(null),{isCalendarOpen:I}=(0,i.Ig)(),{calendarLocale:Y}=(0,u.N)(),T=(0,m.KF)(),$=F.asPath.split("#")[1],O=e=>{let t=(0,m.ng)((0,m.nM)(L,i.m3));a(t,e),_({dates:(0,m.hI)(t)})},R=e=>{if(M(e=(0,m.nM)(e,i.m3)),null==S||S(e),1===e.length)G(new n.NT(e[0]).add(i.m3,"days"));else if(2===e.length&&(G((0,m.yF)(i.F3)),N)){var t;null===(t=V.current)||void 0===t||t.closeCalendar(),O(c.$E.AutoClose)}};(0,d.Ng)(()=>{let e=window.matchMedia("(min-width: ".concat(s.wt.md,"px)")).matches;if(e&&"reserve"===$&&b){var t;null===(t=V.current)||void 0===t||t.openCalendar()}},[$]),(0,d.Ng)(()=>{if(I&&b){var e;null===(e=V.current)||void 0===e||e.openCalendar()}},[I]);let q=[(0,r.jsx)(g,{position:"top",onClearDates:()=>{R((0,m.Uj)((0,m.c0)()))},dates:L},"header"),(0,r.jsx)(o,{position:"bottom",label:C,onSave:()=>{var e;O(c.$E.SaveClick),null===(e=V.current)||void 0===e||e.closeCalendar(),v&&v((0,m.ng)(L))},nights:(0,m.Dw)(L)},"footer")],[Z,B]=(0,l.useState)(1),[K,z]=(0,l.useState)(null!=j?j:"bottom-start");(0,l.useEffect)(()=>{let e=()=>{window.innerWidth<s.wt.md-100?(B(1),z("bottom-center")):(B(2),z(null!=j?j:"bottom-start"))};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[j]),(0,l.useEffect)(()=>{t&&M(t)},[t]);let J=D?new Map(D.days.map(e=>[e.date,e.price])):null;return(0,r.jsxs)("div",{className:(0,d.AK)("flex justify-center items-center grow relative rounded-md",h?"border border-secondaryGrey lg:border-0":"border-0"),children:[(0,r.jsx)("div",{ref:P,className:"w-full z-[-1] absolute h-[calc(100%_+_125px)]"}),(0,r.jsx)(n.ZP,{locale:Y,ref:V,render:x,containerStyle:{flexGrow:1},calendarPosition:K,minDate:T,maxDate:E,mapDays:e=>{let{date:t}=e,a=t.format("YYYY-MM-DD"),l=null==J?void 0:J.get(a),n=l?(0,s.lb)(k,l):"–";return{className:"flex flex-col items-center justify-center",children:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("p",{children:t.day}),D&&D.days.length>0&&(0,r.jsx)("p",{className:(0,i.x0)(n),children:n})]})}},value:L,onChange:e=>{null===e?R([]):Array.isArray(e)?R(e):R([e])},onOpen:w||(()=>{var e;null===(e=P.current)||void 0===e||e.scrollIntoView({behavior:"smooth",block:"start"})}),onClose:()=>(O(c.$E.OutsideClick),!0),numberOfMonths:Z,offsetY:10,range:!0,rangeHover:!0,format:"YYYY-MM-DD",dateSeparator:",",required:!0,portal:!0,showOtherDays:!0,scrollSensitive:!1,className:"customStyles tailwind-date-picker",plugins:q})]})}},76132:function(e,t,a){var r=a(85893),l=a(99603),n=a(26528),s=a(45373),i=a(14640),o=a(17113),c=a(34426),d=a(67294);t.Z=e=>{let{openCalendar:t,value:a,separator:m,initialValue:u,className:x,disabled:h=!1}=e,{tCommon:f}=(0,n.ce)(),g=u||(0,o.Uj)((0,o.c0)()),p=(0,d.useMemo)(()=>0===g.length?"":1===g.length?(0,o.f1)(g[0]):"".concat((0,o.f1)(g[0])+","+(0,o.f1)(g[1])),[g]),y=[];Array.isArray(a)?y=a:a&&m?y=a.split(m):a||(y=p.split(m||","));let j=(0,i.useFormatter)(),v=e=>{if(!e)return;let t=(0,o.yf)(e),a=(0,o.hP)(j,t,"DayMonth");return a},w=v(y[0]),b=v(y[1]);return(0,r.jsx)("div",{className:"flex w-full",children:(0,r.jsx)("button",{disabled:h,onClick:t,type:"button",className:(0,c.AK)("min-w-[148px] border border-secondaryGrey transition-colors duration-300 p-0 rounded-form w-full inline-flex items-center justify-start flex-grow-[1] font-semibold leading-[30px] text-gray-900 hover:bg-softBlue",x),children:(0,r.jsxs)("div",{className:"flex items-center gap-2 px-2 py-2 md:gap-3 md:px-5",children:[(0,r.jsx)(l.G,{icon:s.fT,className:"text-primaryFont text-[0.825rem] md:text-[1rem]"}),(0,r.jsxs)("div",{className:"relative text-left grid",children:[(0,r.jsx)("p",{className:"text-[0.75rem] leading-[150%] rtl:text-right ltr:text-left font-normal text-primaryGreyFont md:text-[0.875rem]",children:f("dates")}),(0,r.jsxs)("p",{className:"truncate text-left text-[0.825rem] leading-[150%] font-medium text-primaryFont md:text-[1.125rem] flex gap-1.5 items-center",children:[(w||b)&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{children:w})," - ",(0,r.jsx)("span",{children:b})]}),"\xa0"]})]})]})})})}},18636:function(e,t,a){a.d(t,{L:function(){return f}});var r=a(85893),l=a(67294),n=a(26528),s=a(14690),i=a(16844);let o=e=>{let{labelIndex:t,defaultValue:a,onValueChange:n}=e,{tTravel:o}=(0,s.LF)(),[c,d]=(0,l.useState)(!1);return(0,r.jsx)(i.Z,{required:!0,max:s.yq,min:0,solidInputLabel:!0,error:c,defaultValue:a||void 0,onChange:e=>{let t=parseInt(e.target.value);t>=0&&t<=s.yq?(n(t),c&&d(!1)):d(!0)},className:"[&_label]:text-primaryGreyFont [&_label]:font-normal",inputProps:{id:"guestChildrenAge",type:"number",name:"guestChildrenAge",placeholder:"0"},labelProps:{label:o("guestChildrenAgeLabel",{index:t+1}),htmlFor:"guestChildrenAge"},formHelperTextProps:c?o("guestSearchChildrenDesc"):void 0})};var c=a(34426);let d=e=>{let{childrenAgeList:t,onValueChange:a,cssProps:l=""}=e,n=(e,r)=>{let l=[...t];l[e]=r,a(l)};return(0,r.jsx)("div",{className:(0,c.AK)("grid grid-cols-2 gap-4 pb-5 px-6",l),children:t.map((e,t)=>(0,r.jsx)(o,{labelIndex:t,defaultValue:e,onValueChange:e=>n(t,e)},t))})};var m=a(99603),u=a(45373),x=e=>{let{defaultValue:t,disabledStart:a,onClickStart:l,disabledEnd:n,onClickEnd:s}=e;return(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("button",{type:"button",disabled:a,onClick:l,className:"w-9 h-9 icon-btn hover:bg-softBlue transition-colors px-0 py-0 border border-secondaryGrey disabled:text-primaryGreyFont",children:(0,r.jsx)(m.G,{icon:u.Kl,className:"text-[18px] ".concat(a?"":"text-primary")})}),(0,r.jsx)("p",{className:"text-[1rem] leading-[130%] font-normal text-primaryFont sm:text[1.1rem] md:text-[1.2rem] lg:text-[1.3rem] place-items-center grid min-w-[1.5rem]",children:t}),(0,r.jsx)("button",{type:"button",disabled:n,onClick:s,className:"w-9 h-9 icon-btn hover:bg-softBlue transition-colors px-0 py-0 border border-secondaryGrey disabled:text-primaryGreyFont",children:(0,r.jsx)(m.G,{icon:u.r8,className:"text-[18px] ".concat(n?"":"text-primary")})})]})};let h=e=>{let{defaultValue:t,onValueChange:a,label:s,desc:i,min:o=0,max:c=4}=e,d=(0,l.useMemo)(()=>({less:t<=o,more:t>=c}),[t,o,c]),[m,u]=(0,l.useState)(t);return(0,r.jsx)("div",{className:"px-6",children:(0,r.jsxs)("div",{className:"flex items-center justify-between w-full gap-2 my-4",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:n.ht,children:s}),(0,r.jsx)("span",{className:n.F7,children:i})]}),(0,r.jsx)(x,{defaultValue:t,disabledStart:d.less,disabledEnd:d.more,onClickStart:()=>{let e=m-1;u(e),a(e)},onClickEnd:()=>{let e=m+1;u(e),a(e)}})]})})},f=e=>{let{guestDetails:t,onValueChange:a}=e,{tTravel:i}=(0,s.LF)(),[o,c]=(0,l.useState)(t.adults),[m,u]=(0,l.useState)(t.childrenAge||[]),[x,f]=(0,l.useState)(t.rooms),g=e=>e.map(e=>e||0);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(h,{defaultValue:o,onValueChange:e=>{c(e),a({adults:e,childrenAge:g(m),rooms:x})},max:s.zB,min:1,label:i("guestSearchAdultsLabel"),desc:i("guestSearchAdultsDesc")}),(0,r.jsx)("hr",{className:n.qE}),(0,r.jsx)(h,{defaultValue:m.length,onValueChange:e=>{let t=[...m];if(e>t.length)for(let a=t.length;a<e;a++)t.push(void 0);else t.splice(e);if(u(t),0===e){a({adults:o,rooms:x});return}a({adults:o,childrenAge:g(t),rooms:x})},max:s.Zh,label:i("guestSearchChildrenLabel"),desc:i("guestSearchChildrenDesc")}),m.length>0&&(0,r.jsx)(d,{childrenAgeList:m,onValueChange:e=>{u(e),a({adults:o,childrenAge:g(e),rooms:x})}}),(0,r.jsx)("hr",{className:n.qE}),(0,r.jsx)(h,{defaultValue:x,min:1,max:s.yB,label:i("guestSearchRoomsLabel"),desc:i("guestSearchRoomsDesc"),onValueChange:e=>{f(e),a({adults:o,childrenAge:g(m),rooms:e})}})]})}},35438:function(e,t,a){a.d(t,{V:function(){return f}});var r=a(85893),l=a(67294),n=a(86215),s=a(18687),i=a(99603),o=a(14690),c=a(18636),d=a(57491),m=a(26528),u=a(34426),x=a(45373),h=a(85927);let f=e=>{var t;let{tTravel:a}=(0,o.LF)(),{tCommon:f}=(0,m.ce)(),{initialValue:g,onDetailsChange:p,onSearchHandler:y,onClick:j,isEndDecorator:v=!0,disabled:w=!1,className:b,buttonLabel:N}=e,{saveSearchRequestStorage:C}=(0,h.g)(),[S,D]=(0,l.useState)(!1),[F,k]=(0,l.useState)(g),[_,A]=(0,l.useState)(!0),L=(0,l.useRef)(null);(0,l.useEffect)(()=>{g&&k(g)},[g]),(0,u.Ng)(()=>{if(_)A(!1);else if(!S){if((0,o.yV)(F,g)){D(!1);return}p(F,d.$E.OutsideClick),C({guests:F}),D(!1)}},[S]),(0,l.useEffect)(()=>{let e=e=>{L.current&&!L.current.contains(e.target)&&D(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[]);let M=F.adults+((null===(t=F.childrenAge)||void 0===t?void 0:t.length)||0);return(0,r.jsx)(n.J2,{className:"relative w-full",children:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(n.J2.Button,{disabled:w,onClick:e=>{if(j){j();return}e.preventDefault(),D(!S)},className:(0,u.AK)("min-w-[148px] border border-secondaryGrey gap-x-2 transition-colors duration-300 rounded-form px-2 py-2 w-full inline-flex items-center text-sm font-semibold leading-6 text-gray-900 hover:bg-softBlue md:gap-x-3 md:px-5",b),children:[(0,r.jsx)(i.G,{icon:x.IL,className:"text-primaryFont text-[0.825rem] md:text-[1rem]"}),(0,r.jsxs)("div",{className:"flex-grow-[1] text-left grid",children:[(0,r.jsx)("p",{className:"text-[0.75rem] rtl:text-right ltr:text-left leading-[150%] font-normal text-primaryGreyFont md:text-[0.875rem]",children:f("guests")}),(0,r.jsxs)("p",{className:"truncate text-left text-[0.825rem] leading-[150%] font-medium text-primaryFont md:text-[1.125rem] rtl:flex ltr:block",children:[(0,r.jsx)("span",{children:(0,o.mw)(a,M)}),","," ",(0,r.jsx)("span",{className:"truncate",children:(0,o.M9)(a,F.rooms)})]})]}),v&&(0,r.jsx)(i.G,{icon:x.pt,className:"text-primaryFont pl-4 ml-1 text-[1rem] md:pl-0"})]}),(0,r.jsx)(s.u,{as:l.Fragment,show:S,enter:"transition ease-out duration-200",enterFrom:"opacity-0 translate-y-1",enterTo:"opacity-100 translate-y-0",leave:"transition ease-in duration-150",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 translate-y-1",children:(0,r.jsx)(n.J2.Panel,{ref:L,className:"absolute left-1/2 z-10 mt-5 flex w-screen max-w-max -translate-x-1/2 px-4",children:(0,r.jsxs)("div",{className:"w-screen max-w-sm flex-auto overflow-hidden rounded-form bg-white text-sm leading-6 shadow-lg ring-1 ring-gray-900/5",children:[(0,r.jsx)(c.L,{guestDetails:g,onValueChange:e=>{k(e)}}),(0,r.jsx)("div",{className:"px-6 pb-4 text-center",children:(0,r.jsx)(m.wm,{className:"w-full py-[5px]",onClick:()=>{p(F,d.$E.SaveClick),C({guests:F}),D(!1),y&&y(void 0,F)},children:N||a("buttonSearchGuestsRooms",{guests:(0,o.mw)(a,M),rooms:(0,o.M9)(a,F.rooms)})})})]})})})]})})}},14452:function(e,t,a){var r=a(85893),l=a(67294),n=a(26278),s=a(14690),i=a(57491),o=a(26528),c=a(70457),d=a(76132),m=a(64766),u=a(17113),x=a(87462),h=a(34426),f=a(85927),g=a(51385);t.Z=e=>{let{searchDate:t,handleSearchDate:a,onSearchHandler:p,disabled:y=!1,dateSearchClassName:j,numberOfMonths:v,buttonLabel:w,calendarAvailability:b}=e,N=(0,g.G)(),{tCommon:C}=(0,o.ce)(),{tTravel:S}=(0,s.LF)(),{saveSearchRequestStorage:D}=(0,f.g)(),[F,k]=l.useState(!1),[_,A]=l.useState(t),L=(0,o.GS)(o.wt.sm),{calendarLocale:M}=(0,x.N)(),E=e=>{_[1]?(a(_,e),D({dates:(0,u.hI)(_)})):(a((0,u.ng)(_),e),D({dates:(0,u.hI)((0,u.ng)(_))}))},G=()=>{k(!1),window.history.back()},V=b?new Map(b.days.map(e=>[e.date,e.price])):null;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(m.Z,{initialValue:t,onValueChange:e=>a(e),onOpen:()=>(k(!0),!1),parentBlock:(0,r.jsx)(d.Z,{initialValue:t,disabled:y,className:j}),calendarPositionAlign:"top-end",buttonLabel:w}),(0,r.jsx)(c.P,{open:F,onClose:()=>{k(!1),A(t)},modalName:"calendar",className:(0,h.AK)("z-[20] h-max max-h-[calc(100%_-_2_*_1.5rem)] max-w-full m-0 sm:max-w-max sm:m-auto md:max-w-max md:max-h-[calc(100%_-_2_*_1.5rem)]",v?"sm:px-3.5 md:p-5":""),headerClassName:"grid grid-cols-3 items-center [&_button]:justify-self-end",headerComponent:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("a",{href:"#",className:"text-primary text-md text-left",onClick:e=>{e.preventDefault(),a(t),A(t),G()},children:C("cancel")}),(0,r.jsx)("p",{className:"text-[1rem] text-primaryFont font-medium text-center",children:C("dates")})]}),children:(0,r.jsxs)("div",{className:"flex flex-col overflow-auto no-scrollbar mt-[54px]",children:[(0,r.jsx)(n.f,{locale:M,className:"customStyles modalCalendar resetShadow small sm:m-0 sm:[&_.rmdp-day-picker]:gap-0 md:[&_.rmdp-day-picker]:gap-4",minDate:(0,u.X$)(),numberOfMonths:!L&&v?v:1,showOtherDays:!0,value:t,onChange:e=>{A(e)},mapDays:e=>{let{date:t}=e,a=t.format("YYYY-MM-DD"),l=null==V?void 0:V.get(a),n=l?(0,o.lb)(N,l):"––";return{className:"flex flex-col items-center justify-center",children:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("p",{children:t.day}),b&&b.days.length>0&&(0,r.jsx)("p",{className:(0,s.x0)(n),children:n})]})}},range:!0,rangeHover:!0,format:"MMM DD"}),(0,r.jsx)(o.wm,{onClick:()=>{_?Array.isArray(_)?(E(i.$E.SaveClick),p&&p((0,u.ng)(_))):a([_],i.$E.SaveClick):a([],i.$E.SaveClick),k(!1)},children:w||S("buttonSearchNights",{nights:(0,u.Dw)(_)})})]})})]})}},75586:function(e,t,a){var r=a(85893),l=a(67294),n=a(57491),s=a(14690),i=a(18636),o=a(26528),c=a(70457),d=a(35438),m=a(85927);t.Z=e=>{var t;let{searchGuests:a,onSearchHandler:u,initialValue:x,onDetailsChange:h,disabled:f=!1,className:g,buttonLabel:p}=e,{tCommon:y}=(0,o.ce)(),{tTravel:j}=(0,s.LF)(),{saveSearchRequestStorage:v}=(0,m.g)(),[w,b]=l.useState(!1),[N,C]=l.useState(x),S=()=>{h(x),C(x),b(!1),window.history.back()},D=e=>{C(e)},F=N.adults+((null===(t=N.childrenAge)||void 0===t?void 0:t.length)||0);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(d.V,{disabled:f,isEndDecorator:!1,initialValue:a,onDetailsChange:D,className:g,buttonLabel:p,onClick:()=>{b(!0)}}),(0,r.jsx)(c.P,{open:w,onClose:()=>{b(!1),C(x)},modalName:"guest",className:"z-[20] w-full h-max max-h-[calc(100%_-_2_*_1.5rem)] max-w-full m-0 rounded-b-none sm:max-w-max sm:m-auto sm:rounded-b-[0.375rem] md:max-w-max md:max-h-[calc(100%_-_2_*_1.5rem)]",headerClassName:"grid grid-cols-3 items-center [&_button]:justify-self-end",headerComponent:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("a",{href:"#",className:"text-primary text-md text-left",onClick:e=>{e.preventDefault(),S()},children:y("cancel")}),(0,r.jsx)("p",{className:"text-[1rem] text-primaryFont font-medium text-center",children:y("guests")})]}),children:(0,r.jsxs)("div",{className:"flex pt-12 flex-col overflow-y-auto overflow-x-hidden",children:[(0,r.jsx)("div",{className:"mx-[-20px]",children:(0,r.jsx)(i.L,{guestDetails:x,onValueChange:D})}),(0,r.jsx)(o.wm,{className:"mt-4",onClick:()=>{h(N,n.$E.SaveClick),v({guests:N}),b(!1),u&&u(void 0,N)},children:p||j("buttonSearchGuestsRooms",{guests:(0,s.mw)(j,F),rooms:(0,s.M9)(j,N.rooms)})})]})})]})}},87462:function(e,t,a){a.d(t,{N:function(){return s}});var r=a(1617),l=a(67294),n=a(26278);let s=()=>{let e=(0,r.useLocale)(),t=(0,l.useMemo)(()=>({name:"gregorian_en",digits:["0","1","2","3","4","5","6","7","8","9"],months:Array.from({length:12},(t,a)=>{let r=new n.NT({year:2001,month:a+1,day:1});return[new Intl.DateTimeFormat(e,{month:"long"}).format(r.toDate()),new Intl.DateTimeFormat(e,{month:"short"}).format(r.toDate())]}),weekDays:Array.from({length:7},(t,a)=>{let r=new n.NT({year:2001,month:2,day:a+3});return[new Intl.DateTimeFormat(e,{weekday:"long"}).format(r.toDate()),new Intl.DateTimeFormat(e,{weekday:"short"}).format(r.toDate())]}),meridiems:[["AM","am"],["PM","pm"]]}),[e]);return{calendarLocale:t}}}}]);