timepiece/node_modules/date-fns/locale/en-US/cdn.min.js

4 lines
8.8 KiB
JavaScript
Raw Normal View History

2024-05-14 14:54:12 +00:00
var Q=function(H){return Q=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(G){return typeof G}:function(G){return G&&typeof Symbol=="function"&&G.constructor===Symbol&&G!==Symbol.prototype?"symbol":typeof G},Q(H)},z=function(H,G){var X=Object.keys(H);if(Object.getOwnPropertySymbols){var Z=Object.getOwnPropertySymbols(H);G&&(Z=Z.filter(function(N){return Object.getOwnPropertyDescriptor(H,N).enumerable})),X.push.apply(X,Z)}return X},K=function(H){for(var G=1;G<arguments.length;G++){var X=arguments[G]!=null?arguments[G]:{};G%2?z(Object(X),!0).forEach(function(Z){C0(H,Z,X[Z])}):Object.getOwnPropertyDescriptors?Object.defineProperties(H,Object.getOwnPropertyDescriptors(X)):z(Object(X)).forEach(function(Z){Object.defineProperty(H,Z,Object.getOwnPropertyDescriptor(X,Z))})}return H},C0=function(H,G,X){if(G=J0(G),G in H)Object.defineProperty(H,G,{value:X,enumerable:!0,configurable:!0,writable:!0});else H[G]=X;return H},J0=function(H){var G=B0(H,"string");return Q(G)=="symbol"?G:String(G)},B0=function(H,G){if(Q(H)!="object"||!H)return H;var X=H[Symbol.toPrimitive];if(X!==void 0){var Z=X.call(H,G||"default");if(Q(Z)!="object")return Z;throw new TypeError("@@toPrimitive must return a primitive value.")}return(G==="string"?String:Number)(H)};(function(H){var G=Object.defineProperty,X=function C(E,B){for(var J in B)G(E,J,{get:B[J],enumerable:!0,configurable:!0,set:function U(Y){return B[J]=function(){return Y}}})},Z={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},N=function C(E,B,J){var U,Y=Z[E];if(typeof Y==="string")U=Y;else if(B===1)U=Y.one;else U=Y.other.replace("{{count}}",B.toString());if(J!==null&&J!==void 0&&J.addSuffix)if(J.comparison&&J.comparison>0)return"in "+U;else return U+" ago";return U};function M(C){return function(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},B=E.width?String(E.width):C.defaultWidth,J=C.formats[B]||C.formats[C.defaultWidth];return J}}var D={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},$={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},R={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},S={date:M({formats:D,defaultWidth:"full"}),time:M({formats:$,defaultWidth:"full"}),dateTime:M({formats:R,defaultWidth:"full"})},L={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},j=function C(E,B,J,U){return L[E]};function A(C){return function(E,B){var J=B!==null&&B!==void 0&&B.context?String(B.context):"standalone",U;if(J==="formatting"&&C.formattingValues){var Y=C.defaultFormattingWidth||C.defaultWidth,q=B!==null&&B!==void 0&&B.width?String(B.width):Y;U=C.formattingValues[q]||C.formattingValues[Y]}else{var I=C.defaultWidth,x=B!==null&&B!==void 0&&B.width?String(B.width):C.defaultWidth;U=C.values[x]||C.values[I]}var T=C.argumentCallback?C.argumentCallback(E):E;return U[T]}}var V={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},f={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},v={narrow:["J","F","M","A","M","J","
//# debugId=136DF1CCF235A7CB64756e2164756e21