timepiece/node_modules/date-fns/locale/zh-TW/cdn.min.js

4 lines
9.9 KiB
JavaScript
Raw Normal View History

2024-05-14 14:54:12 +00:00
var A=function(J){return A=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(H){return typeof H}:function(H){return H&&typeof Symbol=="function"&&H.constructor===Symbol&&H!==Symbol.prototype?"symbol":typeof H},A(J)},W=function(J,H){var U=Object.keys(J);if(Object.getOwnPropertySymbols){var Z=Object.getOwnPropertySymbols(J);H&&(Z=Z.filter(function(x){return Object.getOwnPropertyDescriptor(J,x).enumerable})),U.push.apply(U,Z)}return U},N=function(J){for(var H=1;H<arguments.length;H++){var U=arguments[H]!=null?arguments[H]:{};H%2?W(Object(U),!0).forEach(function(Z){C6(J,Z,U[Z])}):Object.getOwnPropertyDescriptors?Object.defineProperties(J,Object.getOwnPropertyDescriptors(U)):W(Object(U)).forEach(function(Z){Object.defineProperty(J,Z,Object.getOwnPropertyDescriptor(U,Z))})}return J},C6=function(J,H,U){if(H=E6(H),H in J)Object.defineProperty(J,H,{value:U,enumerable:!0,configurable:!0,writable:!0});else J[H]=U;return J},E6=function(J){var H=B6(J,"string");return A(H)=="symbol"?H:String(H)},B6=function(J,H){if(A(J)!="object"||!J)return J;var U=J[Symbol.toPrimitive];if(U!==void 0){var Z=U.call(J,H||"default");if(A(Z)!="object")return Z;throw new TypeError("@@toPrimitive must return a primitive value.")}return(H==="string"?String:Number)(J)};(function(J){var H=Object.defineProperty,U=function C(G,E){for(var B in E)H(G,B,{get:E[B],enumerable:!0,configurable:!0,set:function X(Y){return E[B]=function(){return Y}}})},Z={lessThanXSeconds:{one:"\u5C11\u65BC 1 \u79D2",other:"\u5C11\u65BC {{count}} \u79D2"},xSeconds:{one:"1 \u79D2",other:"{{count}} \u79D2"},halfAMinute:"\u534A\u5206\u9418",lessThanXMinutes:{one:"\u5C11\u65BC 1 \u5206\u9418",other:"\u5C11\u65BC {{count}} \u5206\u9418"},xMinutes:{one:"1 \u5206\u9418",other:"{{count}} \u5206\u9418"},xHours:{one:"1 \u5C0F\u6642",other:"{{count}} \u5C0F\u6642"},aboutXHours:{one:"\u5927\u7D04 1 \u5C0F\u6642",other:"\u5927\u7D04 {{count}} \u5C0F\u6642"},xDays:{one:"1 \u5929",other:"{{count}} \u5929"},aboutXWeeks:{one:"\u5927\u7D04 1 \u500B\u661F\u671F",other:"\u5927\u7D04 {{count}} \u500B\u661F\u671F"},xWeeks:{one:"1 \u500B\u661F\u671F",other:"{{count}} \u500B\u661F\u671F"},aboutXMonths:{one:"\u5927\u7D04 1 \u500B\u6708",other:"\u5927\u7D04 {{count}} \u500B\u6708"},xMonths:{one:"1 \u500B\u6708",other:"{{count}} \u500B\u6708"},aboutXYears:{one:"\u5927\u7D04 1 \u5E74",other:"\u5927\u7D04 {{count}} \u5E74"},xYears:{one:"1 \u5E74",other:"{{count}} \u5E74"},overXYears:{one:"\u8D85\u904E 1 \u5E74",other:"\u8D85\u904E {{count}} \u5E74"},almostXYears:{one:"\u5C07\u8FD1 1 \u5E74",other:"\u5C07\u8FD1 {{count}} \u5E74"}},x=function C(G,E,B){var X,Y=Z[G];if(typeof Y==="string")X=Y;else if(E===1)X=Y.one;else X=Y.other.replace("{{count}}",String(E));if(B!==null&&B!==void 0&&B.addSuffix)if(B.comparison&&B.comparison>0)return X+"\u5167";else return X+"\u524D";return X};function S(C){return function(){var G=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},E=G.width?String(G.width):C.defaultWidth,B=C.formats[E]||C.formats[C.defaultWidth];return B}}var $={full:"y'\u5E74'M'\u6708'd'\u65E5' EEEE",long:"y'\u5E74'M'\u6708'd'\u65E5'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},z={full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},M={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},R={date:S({formats:$,defaultWidth:"full"}),time:S({formats:z,defaultWidth:"full"}),dateTime:S({formats:M,defaultWidth:"full"})},L={lastWeek:"'\u4E0A\u500B'eeee p",yesterday:"'\u6628\u5929' p",today:"'\u4ECA\u5929' p",tomorrow:"'\u660E\u5929' p",nextWeek:"'\u4E0B\u500B'eeee p",other:"P"},V=function C(G,E,B,X){return L[G]};function O(C){return function(G,E){var B=E!==null&&E!==void 0&&E.context?String(E.context):"standalone",X;if(B==="formatting"&&C.formattingValues){var Y=C.defaultFormattingWidth||C.defaultWidth,I=E!==null&&E!==void 0&&E.width?String(E.width):Y;X=C.formattingValues[I]||C.formattingValues[Y]}else{var Q=C.defaultWidth,K=E!==null&&E!==void 0&&E.width?String(E.width):C.defaultWidth;X=C.values[K]||C.values[Q]}var T=C.argumentCallba
//# debugId=AE066AB3FDE72DCE64756e2164756e21