timepiece/node_modules/date-fns/locale/lt/cdn.min.js

4 lines
11 KiB
JavaScript
Raw Normal View History

2024-05-14 14:54:12 +00:00
var z=function(J){return z=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},z(J)},x=function(J,H){var X=Object.keys(J);if(Object.getOwnPropertySymbols){var Z=Object.getOwnPropertySymbols(J);H&&(Z=Z.filter(function(A){return Object.getOwnPropertyDescriptor(J,A).enumerable})),X.push.apply(X,Z)}return X},$=function(J){for(var H=1;H<arguments.length;H++){var X=arguments[H]!=null?arguments[H]:{};H%2?x(Object(X),!0).forEach(function(Z){Y0(J,Z,X[Z])}):Object.getOwnPropertyDescriptors?Object.defineProperties(J,Object.getOwnPropertyDescriptors(X)):x(Object(X)).forEach(function(Z){Object.defineProperty(J,Z,Object.getOwnPropertyDescriptor(X,Z))})}return J},Y0=function(J,H,X){if(H=Z0(H),H in J)Object.defineProperty(J,H,{value:X,enumerable:!0,configurable:!0,writable:!0});else J[H]=X;return J},Z0=function(J){var H=E0(J,"string");return z(H)=="symbol"?H:String(H)},E0=function(J,H){if(z(J)!="object"||!J)return J;var X=J[Symbol.toPrimitive];if(X!==void 0){var Z=X.call(J,H||"default");if(z(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,X=function C(B,G){for(var I in G)H(B,I,{get:G[I],enumerable:!0,configurable:!0,set:function T(U){return G[I]=function(){return U}}})},Z=function C(B){return B%10===0||B>10&&B<20},A=function C(B){return L[B].split("_")},L={xseconds_other:"sekund\u0117_sekund\u017Ei\u0173_sekundes",xminutes_one:"minut\u0117_minut\u0117s_minut\u0119",xminutes_other:"minut\u0117s_minu\u010Di\u0173_minutes",xhours_one:"valanda_valandos_valand\u0105",xhours_other:"valandos_valand\u0173_valandas",xdays_one:"diena_dienos_dien\u0105",xdays_other:"dienos_dien\u0173_dienas",xweeks_one:"savait\u0117_savait\u0117s_savait\u0119",xweeks_other:"savait\u0117s_savai\u010Di\u0173_savaites",xmonths_one:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012F",xmonths_other:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",xyears_one:"metai_met\u0173_metus",xyears_other:"metai_met\u0173_metus",about:"apie",over:"daugiau nei",almost:"beveik",lessthan:"ma\u017Eiau nei"},M=function C(B,G,I,T){if(!G)return"kelios sekund\u0117s";else return T?"keli\u0173 sekund\u017Ei\u0173":"kelias sekundes"},q=function C(B,G,I,T){return!G?A(I)[0]:T?A(I)[1]:A(I)[2]},E=function C(B,G,I,T){var U=B+" ";if(B===1)return U+q(B,G,I,T);else if(!G)return U+(Z(B)?A(I)[1]:A(I)[0]);else if(T)return U+A(I)[1];else return U+(Z(B)?A(I)[1]:A(I)[2])},V={lessThanXSeconds:{one:M,other:E},xSeconds:{one:M,other:E},halfAMinute:"pus\u0117 minut\u0117s",lessThanXMinutes:{one:q,other:E},xMinutes:{one:q,other:E},aboutXHours:{one:q,other:E},xHours:{one:q,other:E},xDays:{one:q,other:E},aboutXWeeks:{one:q,other:E},xWeeks:{one:q,other:E},aboutXMonths:{one:q,other:E},xMonths:{one:q,other:E},aboutXYears:{one:q,other:E},xYears:{one:q,other:E},overXYears:{one:q,other:E},almostXYears:{one:q,other:E}},j=function C(B,G,I){var T=B.match(/about|over|almost|lessthan/i),U=T?B.replace(T[0],""):B,O=(I===null||I===void 0?void 0:I.comparison)!==void 0&&I.comparison>0,Y,Q=V[B];if(typeof Q==="string")Y=Q;else if(G===1)Y=Q.one(G,(I===null||I===void 0?void 0:I.addSuffix)===!0,U.toLowerCase()+"_one",O);else Y=Q.other(G,(I===null||I===void 0?void 0:I.addSuffix)===!0,U.toLowerCase()+"_other",O);if(T){var K=T[0].toLowerCase();Y=L[K]+" "+Y}if(I!==null&&I!==void 0&&I.addSuffix)if(I.comparison&&I.comparison>0)return"po "+Y;else return"prie\u0161 "+Y;return Y};function D(C){return function(){var B=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},G=B.width?String(B.width):C.defaultWidth,I=C.formats[G]||C.formats[C.defaultWidth];return I}}var P={full:"y 'm'. MMMM d 'd'., EEEE",long:"y 'm'. MMMM d 'd'.",medium:"y-MM-dd",short:"y-MM-dd"},_={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},v={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},w={date:D({formats:P,defaultWidth:"full"}),t
//# debugId=0B837DB2D32F1D6C64756e2164756e21