var q=function(Y){return q=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(X){return typeof X}:function(X){return X&&typeof Symbol=="function"&&X.constructor===Symbol&&X!==Symbol.prototype?"symbol":typeof X},q(Y)},S=function(Y,X){var B=Object.keys(Y);if(Object.getOwnPropertySymbols){var I=Object.getOwnPropertySymbols(Y);X&&(I=I.filter(function(x){return Object.getOwnPropertyDescriptor(Y,x).enumerable})),B.push.apply(B,I)}return B},N=function(Y){for(var X=1;X0)return"in "+Z;else return Z+" ago";return Z},$={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},D=function U(J,H,C,Z){return $[J]};function E(U){return function(J,H){var C=H!==null&&H!==void 0&&H.context?String(H.context):"standalone",Z;if(C==="formatting"&&U.formattingValues){var G=U.defaultFormattingWidth||U.defaultWidth,O=H!==null&&H!==void 0&&H.width?String(H.width):G;Z=U.formattingValues[O]||U.formattingValues[G]}else{var T=U.defaultWidth,K=H!==null&&H!==void 0&&H.width?String(H.width):U.defaultWidth;Z=U.values[K]||U.values[T]}var A=U.argumentCallback?U.argumentCallback(J):J;return Z[A]}}var M={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},R={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},L={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},V={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},j={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},f={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},v=function U(J,H){var C=Number(J),Z=C%100;if(Z>20||Z<10)switch(Z%10){case 1:return C+"st";case 2:return C+"nd";case 3:return C+"rd"}return C+"th"},_={ordinalNumber:v,era:E({values:M,defaultWidth:"wide"}),quarter:E({values:R,defaultWidth:"wide",argumentCallback:function U(J){return J-1}}),month:E({values:L,defaultWidth:"wide"}),day:E({values:V,defaultWidth:"wide"}),dayPeriod:E({values:j,defaultWidth:"wide",formattingValues:f,defaultFormattingWidth:"wide"})};function Q(U){return function(J){var H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},C=H.width,Z=C&&U.matchPatterns[C]||U.matchPatterns[U.defaultMatchWidth],G=J.match(Z);if(!G)return null;var O=G[0],T=C&&U.parsePatterns[C]||U.parsePatterns[U.defaultParseWidth],K=Array.isArray(T)?w(T,function(z){return z.test(O)}):P(T,function(z){return z.test(O)}),A;A=U.valueCallback?U.valueCallback(K):K,A=H.valueCallback?H.valueCallback(A):A;var t=J.slice(O.length);return{value:A,rest:t}}}var P=function U(J,H){for(var C in J)if(Object.prototype.hasOwnProperty.call(J,C)&&H(J[C]))return C;return},w=function U(J,H){for(var C=0;C1&&arguments[1]!==void 0?arguments[1]:{},C=J.match(U.matchPattern);if(!C)return null;var Z=C[0],G=J.match(U.parsePattern);if(!G)return null;var O=U.valueCallback?U.valueCallback(G[0]):G[0];O=H.valueCallback?H.valueCallback(O):O;var T=J.slice(Z.length);return{value:O,rest:T}}}var k=/^(\d+)(th|st|nd|rd)?/i,h=/\d+/i,b={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},m={any:[/^b/i,/^(a|c)/i]},c={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},y={any:[/1/i,/2/i,/3/i,/4/i]},p={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},d={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},g={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},u={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},l={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},i={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},n={ordinalNumber:F({matchPattern:k,parsePattern:h,valueCallback:function U(J){return parseInt(J,10)}}),era:Q({matchPatterns:b,defaultMatchWidth:"wide",parsePatterns:m,defaultParseWidth:"any"}),quarter:Q({matchPatterns:c,defaultMatchWidth:"wide",parsePatterns:y,defaultParseWidth:"any",valueCallback:function U(J){return J+1}}),month:Q({matchPatterns:p,defaultMatchWidth:"wide",parsePatterns:d,defaultParseWidth:"any"}),day:Q({matchPatterns:g,defaultMatchWidth:"wide",parsePatterns:u,defaultParseWidth:"any"}),dayPeriod:Q({matchPatterns:l,defaultMatchWidth:"any",parsePatterns:i,defaultParseWidth:"any"})};function W(U){return function(){var J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},H=J.width?String(J.width):U.defaultWidth,C=U.formats[H]||U.formats[U.defaultWidth];return C}}var s={full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"dd/MM/yyyy"},o={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},r={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},a={date:W({formats:s,defaultWidth:"full"}),time:W({formats:o,defaultWidth:"full"}),dateTime:W({formats:r,defaultWidth:"full"})},e={code:"en-GB",formatDistance:x,formatLong:a,formatRelative:D,localize:_,match:n,options:{weekStartsOn:1,firstWeekContainsDate:4}};window.dateFns=N(N({},window.dateFns),{},{locale:N(N({},(Y=window.dateFns)===null||Y===void 0?void 0:Y.locale),{},{enGB:e})})})(); //# debugId=F325B62DE61AD65864756e2164756e21