cronstrue 2.2.0 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +32 -19
- package/locales/be.js +287 -1
- package/locales/be.min.js +1 -1
- package/locales/ca.js +287 -1
- package/locales/ca.min.js +1 -1
- package/locales/cs.js +287 -1
- package/locales/cs.min.js +1 -1
- package/locales/da.js +287 -1
- package/locales/da.min.js +1 -1
- package/locales/de.js +287 -1
- package/locales/de.min.js +1 -1
- package/locales/en.js +290 -1
- package/locales/en.min.js +1 -1
- package/locales/es.js +287 -1
- package/locales/es.min.js +1 -1
- package/locales/fa.js +280 -1
- package/locales/fa.min.js +1 -1
- package/locales/fi.js +296 -1
- package/locales/fi.min.js +1 -1
- package/locales/fr.js +290 -1
- package/locales/fr.min.js +1 -1
- package/locales/he.js +274 -1
- package/locales/he.min.js +1 -1
- package/locales/id.js +290 -1
- package/locales/id.min.js +1 -1
- package/locales/it.js +287 -1
- package/locales/it.min.js +1 -1
- package/locales/ja.js +289 -1
- package/locales/ja.min.js +1 -1
- package/locales/ko.js +289 -1
- package/locales/ko.min.js +1 -1
- package/locales/nb.js +287 -1
- package/locales/nb.min.js +1 -1
- package/locales/nl.js +287 -1
- package/locales/nl.min.js +1 -1
- package/locales/pl.js +287 -1
- package/locales/pl.min.js +1 -1
- package/locales/pt_BR.js +287 -1
- package/locales/pt_BR.min.js +1 -1
- package/locales/ro.js +287 -1
- package/locales/ro.min.js +1 -1
- package/locales/ru.js +287 -1
- package/locales/ru.min.js +1 -1
- package/locales/sk.js +287 -1
- package/locales/sk.min.js +1 -1
- package/locales/sl.js +287 -1
- package/locales/sl.min.js +1 -1
- package/locales/sv.js +287 -1
- package/locales/sv.min.js +1 -1
- package/locales/sw.js +288 -1
- package/locales/sw.min.js +1 -1
- package/locales/tr.js +287 -1
- package/locales/tr.min.js +1 -1
- package/locales/uk.js +287 -1
- package/locales/uk.min.js +1 -1
- package/locales/zh_CN.js +292 -1
- package/locales/zh_CN.min.js +1 -1
- package/locales/zh_TW.js +283 -1
- package/locales/zh_TW.min.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -26,10 +26,10 @@ npm install cronstrue
|
|
|
26
26
|
|
|
27
27
|
Then, depending upon your usage context, add a reference to it:
|
|
28
28
|
|
|
29
|
-
### Node
|
|
29
|
+
### Node / CommonJS
|
|
30
30
|
|
|
31
31
|
```js
|
|
32
|
-
|
|
32
|
+
const cronstrue = require('cronstrue');
|
|
33
33
|
```
|
|
34
34
|
|
|
35
35
|
### ESM / webpack / TypeScript
|
|
@@ -57,7 +57,7 @@ A simple way to load the library in a browser is by using the [unpkg](https://un
|
|
|
57
57
|
<script src="https://unpkg.com/cronstrue@latest/dist/cronstrue.min.js" async></script>
|
|
58
58
|
```
|
|
59
59
|
|
|
60
|
-
Using the "latest" tag will result in a 302 redirect to the latest version tag so it is
|
|
60
|
+
Using the "latest" tag will result in a 302 redirect to the latest version tag so it is recommended to use a specific version tag such as https://unpkg.com/cronstrue@1.48.0/dist/cronstrue.min.js to avoid this redirect.
|
|
61
61
|
|
|
62
62
|
## Usage
|
|
63
63
|
|
|
@@ -99,31 +99,44 @@ An options object can be passed as the second parameter to `cronstrue.toString`.
|
|
|
99
99
|
|
|
100
100
|
## i18n
|
|
101
101
|
|
|
102
|
-
To use the i18n support cRonstrue provides, you can import
|
|
102
|
+
To use the i18n support cRonstrue provides, you can either import all the supported locales at once (using `cronstrue/i18n`) or by importing individual locales (using `cronstrue/locales/[locale]`). Then, when calling `toString` you pass in the name of the locale you want to use. For example, for the es (Spanish) locale, you would use: `cronstrue.toString("* * * * *", { locale: "es" })`.
|
|
103
103
|
|
|
104
|
-
|
|
105
|
-
import cronstrue from 'cronstrue/locales/es';
|
|
106
|
-
cronstrue.toString("*/5 * * * *");
|
|
107
|
-
```
|
|
104
|
+
### All Locales
|
|
108
105
|
|
|
109
|
-
|
|
106
|
+
You can import all locales at once with `cronstrue/i18n`. This approach has the advantage of only having to load one module and having access to all supported locales. The tradeoff with this approach is a larger module that will take longer to load, particularly when sending down to a browser.
|
|
110
107
|
|
|
111
|
-
|
|
108
|
+
```js
|
|
109
|
+
// Node
|
|
110
|
+
const cronstrue = require('cronstrue/i18n');
|
|
111
|
+
// ESM
|
|
112
|
+
import cronstrue from 'cronstrue/i18n';
|
|
113
|
+
// Browser
|
|
114
|
+
<script src="https://unpkg.com/cronstrue@latest/cronstrue-i18n.min.js" async></script>
|
|
112
115
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
<script>
|
|
116
|
-
cronstrue.toString("*/5 * * * *");
|
|
117
|
-
</script>
|
|
116
|
+
cronstrue.toString("*/5 * * * *", { locale: "fr" }); // => Toutes les 5 minutes
|
|
117
|
+
cronstrue.toString("*/5 * * * *", { locale: "es" }); // => Cada 5 minutos
|
|
118
118
|
```
|
|
119
119
|
|
|
120
|
-
###
|
|
120
|
+
### Individual Locales
|
|
121
121
|
|
|
122
|
-
|
|
122
|
+
You can also load the main cronstrue module and then load individual locale modules you want to have access to. This works well when you have one or more locales you know you need access to and want to minimize load time, particularly when sending down to a browser.
|
|
123
123
|
|
|
124
124
|
```js
|
|
125
|
-
|
|
126
|
-
cronstrue
|
|
125
|
+
// Node
|
|
126
|
+
const cronstrue = require('cronstrue');
|
|
127
|
+
require('cronstrue/locales/fr');
|
|
128
|
+
require('cronstrue/locales/es');
|
|
129
|
+
// ESM
|
|
130
|
+
import cronstrue from 'cronstrue';
|
|
131
|
+
import 'cronstrue/locales/fr';
|
|
132
|
+
import 'cronstrue/locales/es';
|
|
133
|
+
// Browser
|
|
134
|
+
<script src="https://unpkg.com/cronstrue@latest/cronstrue.min.js" async></script>
|
|
135
|
+
<script src="https://unpkg.com/cronstrue@latest/locales/fr.min.js" async></script>
|
|
136
|
+
<script src="https://unpkg.com/cronstrue@latest/locales/es.min.js" async></script>
|
|
137
|
+
|
|
138
|
+
cronstrue.toString("*/5 * * * *", { locale: "fr" }); // => Toutes les 5 minutes
|
|
139
|
+
cronstrue.toString("*/5 * * * *", { locale: "es" }); // => Cada 5 minutos
|
|
127
140
|
```
|
|
128
141
|
|
|
129
142
|
## Frequently Asked Questions
|
package/locales/be.js
CHANGED
|
@@ -1 +1,287 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("locales/be",[],e):"object"==typeof exports?exports["locales/be"]=e():t["locales/be"]=e()}(globalThis,(function(){return(()=>{"use strict";var t={794:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CronParser=void 0;var r=n(586),i=function(){function t(t,e,n){void 0===e&&(e=!0),void 0===n&&(n=!1),this.expression=t,this.dayOfWeekStartIndexZero=e,this.monthStartIndexZero=n}return t.prototype.parse=function(){var t=this.extractParts(this.expression);return this.normalize(t),this.validate(t),t},t.prototype.extractParts=function(t){if(!this.expression)throw new Error("Expression is empty");var e=t.trim().split(/[ ]+/);if(e.length<5)throw new Error("Expression has only ".concat(e.length," part").concat(1==e.length?"":"s",". At least 5 parts are required."));if(5==e.length)e.unshift(""),e.push("");else if(6==e.length)/\d{4}$/.test(e[5])||"?"==e[4]||"?"==e[2]?e.unshift(""):e.push("");else if(e.length>7)throw new Error("Expression has ".concat(e.length," parts; too many!"));return e},t.prototype.normalize=function(t){var e=this;if(t[3]=t[3].replace("?","*"),t[5]=t[5].replace("?","*"),t[2]=t[2].replace("?","*"),0==t[0].indexOf("0/")&&(t[0]=t[0].replace("0/","*/")),0==t[1].indexOf("0/")&&(t[1]=t[1].replace("0/","*/")),0==t[2].indexOf("0/")&&(t[2]=t[2].replace("0/","*/")),0==t[3].indexOf("1/")&&(t[3]=t[3].replace("1/","*/")),0==t[4].indexOf("1/")&&(t[4]=t[4].replace("1/","*/")),0==t[6].indexOf("1/")&&(t[6]=t[6].replace("1/","*/")),t[5]=t[5].replace(/(^\d)|([^#/\s]\d)/g,(function(t){var n=t.replace(/\D/,""),r=n;return e.dayOfWeekStartIndexZero?"7"==n&&(r="0"):r=(parseInt(n)-1).toString(),t.replace(n,r)})),"L"==t[5]&&(t[5]="6"),"?"==t[3]&&(t[3]="*"),t[3].indexOf("W")>-1&&(t[3].indexOf(",")>-1||t[3].indexOf("-")>-1))throw new Error("The 'W' character can be specified only when the day-of-month is a single day, not a range or list of days.");var n={SUN:0,MON:1,TUE:2,WED:3,THU:4,FRI:5,SAT:6};for(var r in n)t[5]=t[5].replace(new RegExp(r,"gi"),n[r].toString());t[4]=t[4].replace(/(^\d{1,2})|([^#/\s]\d{1,2})/g,(function(t){var n=t.replace(/\D/,""),r=n;return e.monthStartIndexZero&&(r=(parseInt(n)+1).toString()),t.replace(n,r)}));var i={JAN:1,FEB:2,MAR:3,APR:4,MAY:5,JUN:6,JUL:7,AUG:8,SEP:9,OCT:10,NOV:11,DEC:12};for(var o in i)t[4]=t[4].replace(new RegExp(o,"gi"),i[o].toString());"0"==t[0]&&(t[0]=""),/\*|\-|\,|\//.test(t[2])||!/\*|\//.test(t[1])&&!/\*|\//.test(t[0])||(t[2]+="-".concat(t[2]));for(var a=0;a<t.length;a++)if(-1!=t[a].indexOf(",")&&(t[a]=t[a].split(",").filter((function(t){return""!==t})).join(",")||"*"),"*/1"==t[a]&&(t[a]="*"),t[a].indexOf("/")>-1&&!/^\*|\-|\,/.test(t[a])){var s=null;switch(a){case 4:s="12";break;case 5:s="6";break;case 6:s="9999";break;default:s=null}if(null!==s){var c=t[a].split("/");t[a]="".concat(c[0],"-").concat(s,"/").concat(c[1])}}},t.prototype.validate=function(t){this.assertNoInvalidCharacters("DOW",t[5]),this.assertNoInvalidCharacters("DOM",t[3]),this.validateRange(t)},t.prototype.validateRange=function(t){r.default.secondRange(t[0]),r.default.minuteRange(t[1]),r.default.hourRange(t[2]),r.default.dayOfMonthRange(t[3]),r.default.monthRange(t[4],this.monthStartIndexZero),r.default.dayOfWeekRange(t[5],this.dayOfWeekStartIndexZero)},t.prototype.assertNoInvalidCharacters=function(t,e){var n=e.match(/[A-KM-VX-Z]+/gi);if(n&&n.length)throw new Error("".concat(t," part contains invalid values: '").concat(n.toString(),"'"))},t}();e.CronParser=i},728:(t,e,n)=>{e.n=void 0;var r=n(910),i=n(794),o=function(){function t(e,n){if(this.expression=e,this.options=n,this.expressionParts=new Array(5),!this.options.locale&&t.defaultLocale&&(this.options.locale=t.defaultLocale),!t.locales[this.options.locale]){var r=Object.keys(t.locales)[0];console.warn("Locale '".concat(this.options.locale,"' could not be found; falling back to '").concat(r,"'.")),this.options.locale=r}this.i18n=t.locales[this.options.locale],void 0===n.use24HourTimeFormat&&(n.use24HourTimeFormat=this.i18n.use24HourTimeFormatByDefault())}return t.toString=function(e,n){var r=void 0===n?{}:n,i=r.throwExceptionOnParseError,o=void 0===i||i,a=r.verbose,s=void 0!==a&&a,c=r.dayOfWeekStartIndexZero,u=void 0===c||c,p=r.monthStartIndexZero,f=void 0!==p&&p,h=r.use24HourTimeFormat,l=r.locale;return new t(e,{throwExceptionOnParseError:o,verbose:s,dayOfWeekStartIndexZero:u,monthStartIndexZero:f,use24HourTimeFormat:h,locale:void 0===l?null:l}).getFullDescription()},t.initialize=function(e,n){void 0===n&&(n="en"),t.specialCharacters=["/","-",",","*"],t.defaultLocale=n,e.load(t.locales)},t.prototype.getFullDescription=function(){var t="";try{var e=new i.CronParser(this.expression,this.options.dayOfWeekStartIndexZero,this.options.monthStartIndexZero);this.expressionParts=e.parse();var n=this.getTimeOfDayDescription(),r=this.getDayOfMonthDescription(),o=this.getMonthDescription();t+=n+r+this.getDayOfWeekDescription()+o+this.getYearDescription(),t=(t=this.transformVerbosity(t,!!this.options.verbose)).charAt(0).toLocaleUpperCase()+t.substr(1)}catch(e){if(this.options.throwExceptionOnParseError)throw"".concat(e);t=this.i18n.anErrorOccuredWhenGeneratingTheExpressionD()}return t},t.prototype.getTimeOfDayDescription=function(){var e=this.expressionParts[0],n=this.expressionParts[1],i=this.expressionParts[2],o="";if(r.StringUtilities.containsAny(n,t.specialCharacters)||r.StringUtilities.containsAny(i,t.specialCharacters)||r.StringUtilities.containsAny(e,t.specialCharacters))if(e||!(n.indexOf("-")>-1)||n.indexOf(",")>-1||n.indexOf("/")>-1||r.StringUtilities.containsAny(i,t.specialCharacters))if(!e&&i.indexOf(",")>-1&&-1==i.indexOf("-")&&-1==i.indexOf("/")&&!r.StringUtilities.containsAny(n,t.specialCharacters)){var a=i.split(",");o+=this.i18n.at();for(var s=0;s<a.length;s++)o+=" ",o+=this.formatTime(a[s],n,""),s<a.length-2&&(o+=","),s==a.length-2&&(o+=this.i18n.spaceAnd())}else{var c=this.getSecondsDescription(),u=this.getMinutesDescription(),p=this.getHoursDescription();if((o+=c)&&u&&(o+=", "),o+=u,u===p)return o;o&&p&&(o+=", "),o+=p}else{var f=n.split("-");o+=r.StringUtilities.format(this.i18n.everyMinuteBetweenX0AndX1(),this.formatTime(i,f[0],""),this.formatTime(i,f[1],""))}else o+=this.i18n.atSpace()+this.formatTime(i,n,e);return o},t.prototype.getSecondsDescription=function(){var t=this;return this.getSegmentDescription(this.expressionParts[0],this.i18n.everySecond(),(function(t){return t}),(function(e){return r.StringUtilities.format(t.i18n.everyX0Seconds(),e)}),(function(e){return t.i18n.secondsX0ThroughX1PastTheMinute()}),(function(e){return"0"==e?"":parseInt(e)<20?t.i18n.atX0SecondsPastTheMinute():t.i18n.atX0SecondsPastTheMinuteGt20()||t.i18n.atX0SecondsPastTheMinute()}))},t.prototype.getMinutesDescription=function(){var t=this,e=this.expressionParts[0],n=this.expressionParts[2];return this.getSegmentDescription(this.expressionParts[1],this.i18n.everyMinute(),(function(t){return t}),(function(e){return r.StringUtilities.format(t.i18n.everyX0Minutes(),e)}),(function(e){return t.i18n.minutesX0ThroughX1PastTheHour()}),(function(r){try{return"0"==r&&-1==n.indexOf("/")&&""==e?t.i18n.everyHour():parseInt(r)<20?t.i18n.atX0MinutesPastTheHour():t.i18n.atX0MinutesPastTheHourGt20()||t.i18n.atX0MinutesPastTheHour()}catch(e){return t.i18n.atX0MinutesPastTheHour()}}))},t.prototype.getHoursDescription=function(){var t=this,e=this.expressionParts[2];return this.getSegmentDescription(e,this.i18n.everyHour(),(function(e){return t.formatTime(e,"0","")}),(function(e){return r.StringUtilities.format(t.i18n.everyX0Hours(),e)}),(function(e){return t.i18n.betweenX0AndX1()}),(function(e){return t.i18n.atX0()}))},t.prototype.getDayOfWeekDescription=function(){var t=this,e=this.i18n.daysOfTheWeek();return"*"==this.expressionParts[5]?"":this.getSegmentDescription(this.expressionParts[5],this.i18n.commaEveryDay(),(function(t){var n=t;return t.indexOf("#")>-1?n=t.substr(0,t.indexOf("#")):t.indexOf("L")>-1&&(n=n.replace("L","")),e[parseInt(n)]}),(function(e){return 1==parseInt(e)?"":r.StringUtilities.format(t.i18n.commaEveryX0DaysOfTheWeek(),e)}),(function(e){return t.i18n.commaX0ThroughX1()}),(function(e){var n=null;if(e.indexOf("#")>-1){var r=null;switch(e.substring(e.indexOf("#")+1)){case"1":r=t.i18n.first();break;case"2":r=t.i18n.second();break;case"3":r=t.i18n.third();break;case"4":r=t.i18n.fourth();break;case"5":r=t.i18n.fifth()}n=t.i18n.commaOnThe()+r+t.i18n.spaceX0OfTheMonth()}else n=e.indexOf("L")>-1?t.i18n.commaOnTheLastX0OfTheMonth():"*"!=t.expressionParts[3]?t.i18n.commaAndOnX0():t.i18n.commaOnlyOnX0();return n}))},t.prototype.getMonthDescription=function(){var t=this,e=this.i18n.monthsOfTheYear();return this.getSegmentDescription(this.expressionParts[4],"",(function(t){return e[parseInt(t)-1]}),(function(e){return 1==parseInt(e)?"":r.StringUtilities.format(t.i18n.commaEveryX0Months(),e)}),(function(e){return t.i18n.commaMonthX0ThroughMonthX1()||t.i18n.commaX0ThroughX1()}),(function(e){return t.i18n.commaOnlyInMonthX0?t.i18n.commaOnlyInMonthX0():t.i18n.commaOnlyInX0()}))},t.prototype.getDayOfMonthDescription=function(){var t=this,e=null,n=this.expressionParts[3];switch(n){case"L":e=this.i18n.commaOnTheLastDayOfTheMonth();break;case"WL":case"LW":e=this.i18n.commaOnTheLastWeekdayOfTheMonth();break;default:var i=n.match(/(\d{1,2}W)|(W\d{1,2})/);if(i){var o=parseInt(i[0].replace("W","")),a=1==o?this.i18n.firstWeekday():r.StringUtilities.format(this.i18n.weekdayNearestDayX0(),o.toString());e=r.StringUtilities.format(this.i18n.commaOnTheX0OfTheMonth(),a);break}var s=n.match(/L-(\d{1,2})/);if(s){var c=s[1];e=r.StringUtilities.format(this.i18n.commaDaysBeforeTheLastDayOfTheMonth(),c);break}if("*"==n&&"*"!=this.expressionParts[5])return"";e=this.getSegmentDescription(n,this.i18n.commaEveryDay(),(function(e){return"L"==e?t.i18n.lastDay():t.i18n.dayX0?r.StringUtilities.format(t.i18n.dayX0(),e):e}),(function(e){return"1"==e?t.i18n.commaEveryDay():t.i18n.commaEveryX0Days()}),(function(e){return t.i18n.commaBetweenDayX0AndX1OfTheMonth()}),(function(e){return t.i18n.commaOnDayX0OfTheMonth()}))}return e},t.prototype.getYearDescription=function(){var t=this;return this.getSegmentDescription(this.expressionParts[6],"",(function(t){return/^\d+$/.test(t)?new Date(parseInt(t),1).getFullYear().toString():t}),(function(e){return r.StringUtilities.format(t.i18n.commaEveryX0Years(),e)}),(function(e){return t.i18n.commaYearX0ThroughYearX1()||t.i18n.commaX0ThroughX1()}),(function(e){return t.i18n.commaOnlyInYearX0?t.i18n.commaOnlyInYearX0():t.i18n.commaOnlyInX0()}))},t.prototype.getSegmentDescription=function(t,e,n,i,o,a){var s=null,c=t.indexOf("/")>-1,u=t.indexOf("-")>-1,p=t.indexOf(",")>-1;if(t)if("*"===t)s=e;else if(c||u||p)if(p){for(var f=t.split(","),h="",l=0;l<f.length;l++)if(l>0&&f.length>2&&(h+=",",l<f.length-1&&(h+=" ")),l>0&&f.length>1&&(l==f.length-1||2==f.length)&&(h+="".concat(this.i18n.spaceAnd()," ")),f[l].indexOf("/")>-1||f[l].indexOf("-")>-1){var m=f[l].indexOf("-")>-1&&-1==f[l].indexOf("/"),y=this.getSegmentDescription(f[l],e,n,i,m?this.i18n.commaX0ThroughX1:o,a);m&&(y=y.replace(", ","")),h+=y}else h+=c?this.getSegmentDescription(f[l],e,n,i,o,a):n(f[l]);s=c?h:r.StringUtilities.format(a(t),h)}else if(c){if(f=t.split("/"),s=r.StringUtilities.format(i(f[1]),f[1]),f[0].indexOf("-")>-1){var d=this.generateRangeSegmentDescription(f[0],o,n);0!=d.indexOf(", ")&&(s+=", "),s+=d}else if(-1==f[0].indexOf("*")){var g=r.StringUtilities.format(a(f[0]),n(f[0]));g=g.replace(", ",""),s+=r.StringUtilities.format(this.i18n.commaStartingX0(),g)}}else u&&(s=this.generateRangeSegmentDescription(t,o,n));else s=r.StringUtilities.format(a(t),n(t));else s="";return s},t.prototype.generateRangeSegmentDescription=function(t,e,n){var i="",o=t.split("-"),a=n(o[0]),s=n(o[1]);s=s.replace(":00",":59");var c=e(t);return i+r.StringUtilities.format(c,a,s)},t.prototype.formatTime=function(t,e,n){var r=parseInt(t),i="",o=!1;this.options.use24HourTimeFormat||(i=(o=!(!this.i18n.setPeriodBeforeTime||!this.i18n.setPeriodBeforeTime()))?"".concat(this.getPeriod(r)," "):" ".concat(this.getPeriod(r)),r>12&&(r-=12),0===r&&(r=12));var a=e,s="";return n&&(s=":".concat(("00"+n).substring(n.length))),"".concat(o?i:"").concat(("00"+r.toString()).substring(r.toString().length),":").concat(("00"+a.toString()).substring(a.toString().length)).concat(s).concat(o?"":i)},t.prototype.transformVerbosity=function(t,e){return e||(t=(t=(t=(t=t.replace(new RegExp(", ".concat(this.i18n.everyMinute()),"g"),"")).replace(new RegExp(", ".concat(this.i18n.everyHour()),"g"),"")).replace(new RegExp(this.i18n.commaEveryDay(),"g"),"")).replace(/\, ?$/,"")),t},t.prototype.getPeriod=function(t){return t>=12?this.i18n.pm&&this.i18n.pm()||"PM":this.i18n.am&&this.i18n.am()||"AM"},t.locales={},t}();e.n=o},586:(t,e)=>{function n(t,e){if(!t)throw new Error(e)}Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(){}return t.secondRange=function(t){for(var e=t.split(","),r=0;r<e.length;r++)if(!isNaN(parseInt(e[r],10))){var i=parseInt(e[r],10);n(i>=0&&i<=59,"seconds part must be >= 0 and <= 59")}},t.minuteRange=function(t){for(var e=t.split(","),r=0;r<e.length;r++)if(!isNaN(parseInt(e[r],10))){var i=parseInt(e[r],10);n(i>=0&&i<=59,"minutes part must be >= 0 and <= 59")}},t.hourRange=function(t){for(var e=t.split(","),r=0;r<e.length;r++)if(!isNaN(parseInt(e[r],10))){var i=parseInt(e[r],10);n(i>=0&&i<=23,"hours part must be >= 0 and <= 23")}},t.dayOfMonthRange=function(t){for(var e=t.split(","),r=0;r<e.length;r++)if(!isNaN(parseInt(e[r],10))){var i=parseInt(e[r],10);n(i>=1&&i<=31,"DOM part must be >= 1 and <= 31")}},t.monthRange=function(t,e){for(var r=t.split(","),i=0;i<r.length;i++)if(!isNaN(parseInt(r[i],10))){var o=parseInt(r[i],10);n(o>=1&&o<=12,e?"month part must be >= 0 and <= 11":"month part must be >= 1 and <= 12")}},t.dayOfWeekRange=function(t,e){for(var r=t.split(","),i=0;i<r.length;i++)if(!isNaN(parseInt(r[i],10))){var o=parseInt(r[i],10);n(o>=0&&o<=6,e?"DOW part must be >= 0 and <= 6":"DOW part must be >= 1 and <= 7")}},t}();e.default=r},910:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.StringUtilities=void 0;var n=function(){function t(){}return t.format=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return t.replace(/%s/g,(function(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];return e.shift()}))},t.containsAny=function(t,e){return e.some((function(e){return t.indexOf(e)>-1}))},t}();e.StringUtilities=n}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var o=e[r]={exports:{}};return t[r](o,o.exports,n),o.exports}n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};return(()=>{n.r(r),n.d(r,{default:()=>i,toString:()=>o});var t=n(728);Object.defineProperty(r,"__esModule",{value:!0}),exports.be=void 0;var e=function(){function t(){}return t.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},t.prototype.atX0MinutesPastTheHourGt20=function(){return null},t.prototype.commaMonthX0ThroughMonthX1=function(){return null},t.prototype.commaYearX0ThroughYearX1=function(){return null},t.prototype.use24HourTimeFormatByDefault=function(){return!0},t.prototype.everyMinute=function(){return"кожную хвіліну"},t.prototype.everyHour=function(){return"кожную гадзіну"},t.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"Адбылася памылка падчас генерацыі апісання выразы. Праверце сінтаксіс крон-выразы."},t.prototype.atSpace=function(){return"У "},t.prototype.everyMinuteBetweenX0AndX1=function(){return"Кожную хвіліну з %s да %s"},t.prototype.at=function(){return"У"},t.prototype.spaceAnd=function(){return" і"},t.prototype.everySecond=function(){return"кожную секунду"},t.prototype.everyX0Seconds=function(){return"кожныя %s секунд"},t.prototype.secondsX0ThroughX1PastTheMinute=function(){return"секунды з %s па %s"},t.prototype.atX0SecondsPastTheMinute=function(){return"у %s секунд"},t.prototype.everyX0Minutes=function(){return"кожныя %s хвілін"},t.prototype.minutesX0ThroughX1PastTheHour=function(){return"хвіліны з %s па %s"},t.prototype.atX0MinutesPastTheHour=function(){return"у %s хвілін"},t.prototype.everyX0Hours=function(){return"кожныя %s гадзін"},t.prototype.betweenX0AndX1=function(){return"з %s па %s"},t.prototype.atX0=function(){return"у %s"},t.prototype.commaEveryDay=function(){return", кожны дзень"},t.prototype.commaEveryX0DaysOfTheWeek=function(){return", кожныя %s дзён тыдня"},t.prototype.commaX0ThroughX1=function(){return", %s па %s"},t.prototype.first=function(){return"першы"},t.prototype.second=function(){return"другі"},t.prototype.third=function(){return"трэці"},t.prototype.fourth=function(){return"чацвёрты"},t.prototype.fifth=function(){return"пяты"},t.prototype.commaOnThe=function(){return", у "},t.prototype.spaceX0OfTheMonth=function(){return" %s месяца"},t.prototype.lastDay=function(){return"апошні дзень"},t.prototype.commaOnTheLastX0OfTheMonth=function(){return", у апошні %s месяца"},t.prototype.commaOnlyOnX0=function(){return", толькі ў %s"},t.prototype.commaAndOnX0=function(){return", і ў %s"},t.prototype.commaEveryX0Months=function(){return", кожныя %s месяцаў"},t.prototype.commaOnlyInX0=function(){return", толькі ў %s"},t.prototype.commaOnTheLastDayOfTheMonth=function(){return", у апошні дзень месяца"},t.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", у апошні будні дзень месяца"},t.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return", %s дзён да апошняга дня месяца"},t.prototype.firstWeekday=function(){return"першы будны дзень"},t.prototype.weekdayNearestDayX0=function(){return"найбліжэйшы будны дзень да %s"},t.prototype.commaOnTheX0OfTheMonth=function(){return", у %s месяцы"},t.prototype.commaEveryX0Days=function(){return", кожныя %s дзён"},t.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return", з %s па %s лік месяца"},t.prototype.commaOnDayX0OfTheMonth=function(){return", у %s лік месяца"},t.prototype.commaEveryX0Years=function(){return", кожныя %s гадоў"},t.prototype.commaStartingX0=function(){return", пачатак %s"},t.prototype.daysOfTheWeek=function(){return["нядзеля","панядзелак","аўторак","серада","чацвер","пятніца","субота"]},t.prototype.monthsOfTheYear=function(){return["студзень","люты","сакавік","красавік","травень","чэрвень","ліпень","жнівень","верасень","кастрычнік","лістапад","снежань"]},t}();exports.be=e,t.n.initialize({load(t){t.be=new e}},"be");const i=t.n;let o=t.n.toString})(),r})()}));
|
|
1
|
+
(function webpackUniversalModuleDefinition(root, factory) {
|
|
2
|
+
if(typeof exports === 'object' && typeof module === 'object')
|
|
3
|
+
module.exports = factory(require("cronstrue"));
|
|
4
|
+
else if(typeof define === 'function' && define.amd)
|
|
5
|
+
define("locales/be", ["cronstrue"], factory);
|
|
6
|
+
else if(typeof exports === 'object')
|
|
7
|
+
exports["locales/be"] = factory(require("cronstrue"));
|
|
8
|
+
else
|
|
9
|
+
root["locales/be"] = factory(root["cronstrue"]);
|
|
10
|
+
})(globalThis, function(__WEBPACK_EXTERNAL_MODULE__34__) {
|
|
11
|
+
return /******/ (() => { // webpackBootstrap
|
|
12
|
+
/******/ "use strict";
|
|
13
|
+
/******/ var __webpack_modules__ = ({
|
|
14
|
+
|
|
15
|
+
/***/ 34:
|
|
16
|
+
/***/ ((module) => {
|
|
17
|
+
|
|
18
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__34__;
|
|
19
|
+
|
|
20
|
+
/***/ })
|
|
21
|
+
|
|
22
|
+
/******/ });
|
|
23
|
+
/************************************************************************/
|
|
24
|
+
/******/ // The module cache
|
|
25
|
+
/******/ var __webpack_module_cache__ = {};
|
|
26
|
+
/******/
|
|
27
|
+
/******/ // The require function
|
|
28
|
+
/******/ function __webpack_require__(moduleId) {
|
|
29
|
+
/******/ // Check if module is in cache
|
|
30
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
31
|
+
/******/ if (cachedModule !== undefined) {
|
|
32
|
+
/******/ return cachedModule.exports;
|
|
33
|
+
/******/ }
|
|
34
|
+
/******/ // Create a new module (and put it into the cache)
|
|
35
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
36
|
+
/******/ // no module.id needed
|
|
37
|
+
/******/ // no module.loaded needed
|
|
38
|
+
/******/ exports: {}
|
|
39
|
+
/******/ };
|
|
40
|
+
/******/
|
|
41
|
+
/******/ // Execute the module function
|
|
42
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
43
|
+
/******/
|
|
44
|
+
/******/ // Return the exports of the module
|
|
45
|
+
/******/ return module.exports;
|
|
46
|
+
/******/ }
|
|
47
|
+
/******/
|
|
48
|
+
/************************************************************************/
|
|
49
|
+
/******/ /* webpack/runtime/compat get default export */
|
|
50
|
+
/******/ (() => {
|
|
51
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
52
|
+
/******/ __webpack_require__.n = (module) => {
|
|
53
|
+
/******/ var getter = module && module.__esModule ?
|
|
54
|
+
/******/ () => (module['default']) :
|
|
55
|
+
/******/ () => (module);
|
|
56
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
|
57
|
+
/******/ return getter;
|
|
58
|
+
/******/ };
|
|
59
|
+
/******/ })();
|
|
60
|
+
/******/
|
|
61
|
+
/******/ /* webpack/runtime/define property getters */
|
|
62
|
+
/******/ (() => {
|
|
63
|
+
/******/ // define getter functions for harmony exports
|
|
64
|
+
/******/ __webpack_require__.d = (exports, definition) => {
|
|
65
|
+
/******/ for(var key in definition) {
|
|
66
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
67
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
68
|
+
/******/ }
|
|
69
|
+
/******/ }
|
|
70
|
+
/******/ };
|
|
71
|
+
/******/ })();
|
|
72
|
+
/******/
|
|
73
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
74
|
+
/******/ (() => {
|
|
75
|
+
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
76
|
+
/******/ })();
|
|
77
|
+
/******/
|
|
78
|
+
/******/ /* webpack/runtime/make namespace object */
|
|
79
|
+
/******/ (() => {
|
|
80
|
+
/******/ // define __esModule on exports
|
|
81
|
+
/******/ __webpack_require__.r = (exports) => {
|
|
82
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
83
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
84
|
+
/******/ }
|
|
85
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
86
|
+
/******/ };
|
|
87
|
+
/******/ })();
|
|
88
|
+
/******/
|
|
89
|
+
/************************************************************************/
|
|
90
|
+
var __webpack_exports__ = {};
|
|
91
|
+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
92
|
+
(() => {
|
|
93
|
+
__webpack_require__.r(__webpack_exports__);
|
|
94
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
95
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__),
|
|
96
|
+
/* harmony export */ "toString": () => (/* binding */ toString)
|
|
97
|
+
/* harmony export */ });
|
|
98
|
+
/* harmony import */ var cronstrue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(34);
|
|
99
|
+
/* harmony import */ var cronstrue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(cronstrue__WEBPACK_IMPORTED_MODULE_0__);
|
|
100
|
+
|
|
101
|
+
Object.defineProperty(__webpack_exports__, "__esModule", ({ value: true }));
|
|
102
|
+
exports.be = void 0;
|
|
103
|
+
var be = (function () {
|
|
104
|
+
function be() {
|
|
105
|
+
}
|
|
106
|
+
be.prototype.atX0SecondsPastTheMinuteGt20 = function () {
|
|
107
|
+
return null;
|
|
108
|
+
};
|
|
109
|
+
be.prototype.atX0MinutesPastTheHourGt20 = function () {
|
|
110
|
+
return null;
|
|
111
|
+
};
|
|
112
|
+
be.prototype.commaMonthX0ThroughMonthX1 = function () {
|
|
113
|
+
return null;
|
|
114
|
+
};
|
|
115
|
+
be.prototype.commaYearX0ThroughYearX1 = function () {
|
|
116
|
+
return null;
|
|
117
|
+
};
|
|
118
|
+
be.prototype.use24HourTimeFormatByDefault = function () {
|
|
119
|
+
return true;
|
|
120
|
+
};
|
|
121
|
+
be.prototype.everyMinute = function () {
|
|
122
|
+
return "кожную хвіліну";
|
|
123
|
+
};
|
|
124
|
+
be.prototype.everyHour = function () {
|
|
125
|
+
return "кожную гадзіну";
|
|
126
|
+
};
|
|
127
|
+
be.prototype.anErrorOccuredWhenGeneratingTheExpressionD = function () {
|
|
128
|
+
return "Адбылася памылка падчас генерацыі апісання выразы. Праверце сінтаксіс крон-выразы.";
|
|
129
|
+
};
|
|
130
|
+
be.prototype.atSpace = function () {
|
|
131
|
+
return "У ";
|
|
132
|
+
};
|
|
133
|
+
be.prototype.everyMinuteBetweenX0AndX1 = function () {
|
|
134
|
+
return "Кожную хвіліну з %s да %s";
|
|
135
|
+
};
|
|
136
|
+
be.prototype.at = function () {
|
|
137
|
+
return "У";
|
|
138
|
+
};
|
|
139
|
+
be.prototype.spaceAnd = function () {
|
|
140
|
+
return " і";
|
|
141
|
+
};
|
|
142
|
+
be.prototype.everySecond = function () {
|
|
143
|
+
return "кожную секунду";
|
|
144
|
+
};
|
|
145
|
+
be.prototype.everyX0Seconds = function () {
|
|
146
|
+
return "кожныя %s секунд";
|
|
147
|
+
};
|
|
148
|
+
be.prototype.secondsX0ThroughX1PastTheMinute = function () {
|
|
149
|
+
return "секунды з %s па %s";
|
|
150
|
+
};
|
|
151
|
+
be.prototype.atX0SecondsPastTheMinute = function () {
|
|
152
|
+
return "у %s секунд";
|
|
153
|
+
};
|
|
154
|
+
be.prototype.everyX0Minutes = function () {
|
|
155
|
+
return "кожныя %s хвілін";
|
|
156
|
+
};
|
|
157
|
+
be.prototype.minutesX0ThroughX1PastTheHour = function () {
|
|
158
|
+
return "хвіліны з %s па %s";
|
|
159
|
+
};
|
|
160
|
+
be.prototype.atX0MinutesPastTheHour = function () {
|
|
161
|
+
return "у %s хвілін";
|
|
162
|
+
};
|
|
163
|
+
be.prototype.everyX0Hours = function () {
|
|
164
|
+
return "кожныя %s гадзін";
|
|
165
|
+
};
|
|
166
|
+
be.prototype.betweenX0AndX1 = function () {
|
|
167
|
+
return "з %s па %s";
|
|
168
|
+
};
|
|
169
|
+
be.prototype.atX0 = function () {
|
|
170
|
+
return "у %s";
|
|
171
|
+
};
|
|
172
|
+
be.prototype.commaEveryDay = function () {
|
|
173
|
+
return ", кожны дзень";
|
|
174
|
+
};
|
|
175
|
+
be.prototype.commaEveryX0DaysOfTheWeek = function () {
|
|
176
|
+
return ", кожныя %s дзён тыдня";
|
|
177
|
+
};
|
|
178
|
+
be.prototype.commaX0ThroughX1 = function () {
|
|
179
|
+
return ", %s па %s";
|
|
180
|
+
};
|
|
181
|
+
be.prototype.first = function () {
|
|
182
|
+
return "першы";
|
|
183
|
+
};
|
|
184
|
+
be.prototype.second = function () {
|
|
185
|
+
return "другі";
|
|
186
|
+
};
|
|
187
|
+
be.prototype.third = function () {
|
|
188
|
+
return "трэці";
|
|
189
|
+
};
|
|
190
|
+
be.prototype.fourth = function () {
|
|
191
|
+
return "чацвёрты";
|
|
192
|
+
};
|
|
193
|
+
be.prototype.fifth = function () {
|
|
194
|
+
return "пяты";
|
|
195
|
+
};
|
|
196
|
+
be.prototype.commaOnThe = function () {
|
|
197
|
+
return ", у ";
|
|
198
|
+
};
|
|
199
|
+
be.prototype.spaceX0OfTheMonth = function () {
|
|
200
|
+
return " %s месяца";
|
|
201
|
+
};
|
|
202
|
+
be.prototype.lastDay = function () {
|
|
203
|
+
return "апошні дзень";
|
|
204
|
+
};
|
|
205
|
+
be.prototype.commaOnTheLastX0OfTheMonth = function () {
|
|
206
|
+
return ", у апошні %s месяца";
|
|
207
|
+
};
|
|
208
|
+
be.prototype.commaOnlyOnX0 = function () {
|
|
209
|
+
return ", толькі ў %s";
|
|
210
|
+
};
|
|
211
|
+
be.prototype.commaAndOnX0 = function () {
|
|
212
|
+
return ", і ў %s";
|
|
213
|
+
};
|
|
214
|
+
be.prototype.commaEveryX0Months = function () {
|
|
215
|
+
return ", кожныя %s месяцаў";
|
|
216
|
+
};
|
|
217
|
+
be.prototype.commaOnlyInX0 = function () {
|
|
218
|
+
return ", толькі ў %s";
|
|
219
|
+
};
|
|
220
|
+
be.prototype.commaOnTheLastDayOfTheMonth = function () {
|
|
221
|
+
return ", у апошні дзень месяца";
|
|
222
|
+
};
|
|
223
|
+
be.prototype.commaOnTheLastWeekdayOfTheMonth = function () {
|
|
224
|
+
return ", у апошні будні дзень месяца";
|
|
225
|
+
};
|
|
226
|
+
be.prototype.commaDaysBeforeTheLastDayOfTheMonth = function () {
|
|
227
|
+
return ", %s дзён да апошняга дня месяца";
|
|
228
|
+
};
|
|
229
|
+
be.prototype.firstWeekday = function () {
|
|
230
|
+
return "першы будны дзень";
|
|
231
|
+
};
|
|
232
|
+
be.prototype.weekdayNearestDayX0 = function () {
|
|
233
|
+
return "найбліжэйшы будны дзень да %s";
|
|
234
|
+
};
|
|
235
|
+
be.prototype.commaOnTheX0OfTheMonth = function () {
|
|
236
|
+
return ", у %s месяцы";
|
|
237
|
+
};
|
|
238
|
+
be.prototype.commaEveryX0Days = function () {
|
|
239
|
+
return ", кожныя %s дзён";
|
|
240
|
+
};
|
|
241
|
+
be.prototype.commaBetweenDayX0AndX1OfTheMonth = function () {
|
|
242
|
+
return ", з %s па %s лік месяца";
|
|
243
|
+
};
|
|
244
|
+
be.prototype.commaOnDayX0OfTheMonth = function () {
|
|
245
|
+
return ", у %s лік месяца";
|
|
246
|
+
};
|
|
247
|
+
be.prototype.commaEveryX0Years = function () {
|
|
248
|
+
return ", кожныя %s гадоў";
|
|
249
|
+
};
|
|
250
|
+
be.prototype.commaStartingX0 = function () {
|
|
251
|
+
return ", пачатак %s";
|
|
252
|
+
};
|
|
253
|
+
be.prototype.daysOfTheWeek = function () {
|
|
254
|
+
return ["нядзеля", "панядзелак", "аўторак", "серада", "чацвер", "пятніца", "субота"];
|
|
255
|
+
};
|
|
256
|
+
be.prototype.monthsOfTheYear = function () {
|
|
257
|
+
return [
|
|
258
|
+
"студзень",
|
|
259
|
+
"люты",
|
|
260
|
+
"сакавік",
|
|
261
|
+
"красавік",
|
|
262
|
+
"травень",
|
|
263
|
+
"чэрвень",
|
|
264
|
+
"ліпень",
|
|
265
|
+
"жнівень",
|
|
266
|
+
"верасень",
|
|
267
|
+
"кастрычнік",
|
|
268
|
+
"лістапад",
|
|
269
|
+
"снежань",
|
|
270
|
+
];
|
|
271
|
+
};
|
|
272
|
+
return be;
|
|
273
|
+
}());
|
|
274
|
+
exports.be = be;
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
(cronstrue__WEBPACK_IMPORTED_MODULE_0___default().locales.be) = new be();
|
|
278
|
+
const toString = (cronstrue__WEBPACK_IMPORTED_MODULE_0___default().toString);
|
|
279
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((cronstrue__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
})();
|
|
283
|
+
|
|
284
|
+
/******/ return __webpack_exports__;
|
|
285
|
+
/******/ })()
|
|
286
|
+
;
|
|
287
|
+
});
|
package/locales/be.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("locales/be.min",[],e):"object"==typeof exports?exports["locales/be.min"]=e():t["locales/be.min"]=e()}(globalThis,(function(){return(()=>{"use strict";var t={794:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CronParser=void 0;var r=n(586),i=function(){function t(t,e,n){void 0===e&&(e=!0),void 0===n&&(n=!1),this.expression=t,this.dayOfWeekStartIndexZero=e,this.monthStartIndexZero=n}return t.prototype.parse=function(){var t=this.extractParts(this.expression);return this.normalize(t),this.validate(t),t},t.prototype.extractParts=function(t){if(!this.expression)throw new Error("Expression is empty");var e=t.trim().split(/[ ]+/);if(e.length<5)throw new Error("Expression has only ".concat(e.length," part").concat(1==e.length?"":"s",". At least 5 parts are required."));if(5==e.length)e.unshift(""),e.push("");else if(6==e.length)/\d{4}$/.test(e[5])||"?"==e[4]||"?"==e[2]?e.unshift(""):e.push("");else if(e.length>7)throw new Error("Expression has ".concat(e.length," parts; too many!"));return e},t.prototype.normalize=function(t){var e=this;if(t[3]=t[3].replace("?","*"),t[5]=t[5].replace("?","*"),t[2]=t[2].replace("?","*"),0==t[0].indexOf("0/")&&(t[0]=t[0].replace("0/","*/")),0==t[1].indexOf("0/")&&(t[1]=t[1].replace("0/","*/")),0==t[2].indexOf("0/")&&(t[2]=t[2].replace("0/","*/")),0==t[3].indexOf("1/")&&(t[3]=t[3].replace("1/","*/")),0==t[4].indexOf("1/")&&(t[4]=t[4].replace("1/","*/")),0==t[6].indexOf("1/")&&(t[6]=t[6].replace("1/","*/")),t[5]=t[5].replace(/(^\d)|([^#/\s]\d)/g,(function(t){var n=t.replace(/\D/,""),r=n;return e.dayOfWeekStartIndexZero?"7"==n&&(r="0"):r=(parseInt(n)-1).toString(),t.replace(n,r)})),"L"==t[5]&&(t[5]="6"),"?"==t[3]&&(t[3]="*"),t[3].indexOf("W")>-1&&(t[3].indexOf(",")>-1||t[3].indexOf("-")>-1))throw new Error("The 'W' character can be specified only when the day-of-month is a single day, not a range or list of days.");var n={SUN:0,MON:1,TUE:2,WED:3,THU:4,FRI:5,SAT:6};for(var r in n)t[5]=t[5].replace(new RegExp(r,"gi"),n[r].toString());t[4]=t[4].replace(/(^\d{1,2})|([^#/\s]\d{1,2})/g,(function(t){var n=t.replace(/\D/,""),r=n;return e.monthStartIndexZero&&(r=(parseInt(n)+1).toString()),t.replace(n,r)}));var i={JAN:1,FEB:2,MAR:3,APR:4,MAY:5,JUN:6,JUL:7,AUG:8,SEP:9,OCT:10,NOV:11,DEC:12};for(var o in i)t[4]=t[4].replace(new RegExp(o,"gi"),i[o].toString());"0"==t[0]&&(t[0]=""),/\*|\-|\,|\//.test(t[2])||!/\*|\//.test(t[1])&&!/\*|\//.test(t[0])||(t[2]+="-".concat(t[2]));for(var a=0;a<t.length;a++)if(-1!=t[a].indexOf(",")&&(t[a]=t[a].split(",").filter((function(t){return""!==t})).join(",")||"*"),"*/1"==t[a]&&(t[a]="*"),t[a].indexOf("/")>-1&&!/^\*|\-|\,/.test(t[a])){var s=null;switch(a){case 4:s="12";break;case 5:s="6";break;case 6:s="9999";break;default:s=null}if(null!==s){var c=t[a].split("/");t[a]="".concat(c[0],"-").concat(s,"/").concat(c[1])}}},t.prototype.validate=function(t){this.assertNoInvalidCharacters("DOW",t[5]),this.assertNoInvalidCharacters("DOM",t[3]),this.validateRange(t)},t.prototype.validateRange=function(t){r.default.secondRange(t[0]),r.default.minuteRange(t[1]),r.default.hourRange(t[2]),r.default.dayOfMonthRange(t[3]),r.default.monthRange(t[4],this.monthStartIndexZero),r.default.dayOfWeekRange(t[5],this.dayOfWeekStartIndexZero)},t.prototype.assertNoInvalidCharacters=function(t,e){var n=e.match(/[A-KM-VX-Z]+/gi);if(n&&n.length)throw new Error("".concat(t," part contains invalid values: '").concat(n.toString(),"'"))},t}();e.CronParser=i},728:(t,e,n)=>{e.n=void 0;var r=n(910),i=n(794),o=function(){function t(e,n){if(this.expression=e,this.options=n,this.expressionParts=new Array(5),!this.options.locale&&t.defaultLocale&&(this.options.locale=t.defaultLocale),!t.locales[this.options.locale]){var r=Object.keys(t.locales)[0];console.warn("Locale '".concat(this.options.locale,"' could not be found; falling back to '").concat(r,"'.")),this.options.locale=r}this.i18n=t.locales[this.options.locale],void 0===n.use24HourTimeFormat&&(n.use24HourTimeFormat=this.i18n.use24HourTimeFormatByDefault())}return t.toString=function(e,n){var r=void 0===n?{}:n,i=r.throwExceptionOnParseError,o=void 0===i||i,a=r.verbose,s=void 0!==a&&a,c=r.dayOfWeekStartIndexZero,u=void 0===c||c,p=r.monthStartIndexZero,f=void 0!==p&&p,h=r.use24HourTimeFormat,l=r.locale;return new t(e,{throwExceptionOnParseError:o,verbose:s,dayOfWeekStartIndexZero:u,monthStartIndexZero:f,use24HourTimeFormat:h,locale:void 0===l?null:l}).getFullDescription()},t.initialize=function(e,n){void 0===n&&(n="en"),t.specialCharacters=["/","-",",","*"],t.defaultLocale=n,e.load(t.locales)},t.prototype.getFullDescription=function(){var t="";try{var e=new i.CronParser(this.expression,this.options.dayOfWeekStartIndexZero,this.options.monthStartIndexZero);this.expressionParts=e.parse();var n=this.getTimeOfDayDescription(),r=this.getDayOfMonthDescription(),o=this.getMonthDescription();t+=n+r+this.getDayOfWeekDescription()+o+this.getYearDescription(),t=(t=this.transformVerbosity(t,!!this.options.verbose)).charAt(0).toLocaleUpperCase()+t.substr(1)}catch(e){if(this.options.throwExceptionOnParseError)throw"".concat(e);t=this.i18n.anErrorOccuredWhenGeneratingTheExpressionD()}return t},t.prototype.getTimeOfDayDescription=function(){var e=this.expressionParts[0],n=this.expressionParts[1],i=this.expressionParts[2],o="";if(r.StringUtilities.containsAny(n,t.specialCharacters)||r.StringUtilities.containsAny(i,t.specialCharacters)||r.StringUtilities.containsAny(e,t.specialCharacters))if(e||!(n.indexOf("-")>-1)||n.indexOf(",")>-1||n.indexOf("/")>-1||r.StringUtilities.containsAny(i,t.specialCharacters))if(!e&&i.indexOf(",")>-1&&-1==i.indexOf("-")&&-1==i.indexOf("/")&&!r.StringUtilities.containsAny(n,t.specialCharacters)){var a=i.split(",");o+=this.i18n.at();for(var s=0;s<a.length;s++)o+=" ",o+=this.formatTime(a[s],n,""),s<a.length-2&&(o+=","),s==a.length-2&&(o+=this.i18n.spaceAnd())}else{var c=this.getSecondsDescription(),u=this.getMinutesDescription(),p=this.getHoursDescription();if((o+=c)&&u&&(o+=", "),o+=u,u===p)return o;o&&p&&(o+=", "),o+=p}else{var f=n.split("-");o+=r.StringUtilities.format(this.i18n.everyMinuteBetweenX0AndX1(),this.formatTime(i,f[0],""),this.formatTime(i,f[1],""))}else o+=this.i18n.atSpace()+this.formatTime(i,n,e);return o},t.prototype.getSecondsDescription=function(){var t=this;return this.getSegmentDescription(this.expressionParts[0],this.i18n.everySecond(),(function(t){return t}),(function(e){return r.StringUtilities.format(t.i18n.everyX0Seconds(),e)}),(function(e){return t.i18n.secondsX0ThroughX1PastTheMinute()}),(function(e){return"0"==e?"":parseInt(e)<20?t.i18n.atX0SecondsPastTheMinute():t.i18n.atX0SecondsPastTheMinuteGt20()||t.i18n.atX0SecondsPastTheMinute()}))},t.prototype.getMinutesDescription=function(){var t=this,e=this.expressionParts[0],n=this.expressionParts[2];return this.getSegmentDescription(this.expressionParts[1],this.i18n.everyMinute(),(function(t){return t}),(function(e){return r.StringUtilities.format(t.i18n.everyX0Minutes(),e)}),(function(e){return t.i18n.minutesX0ThroughX1PastTheHour()}),(function(r){try{return"0"==r&&-1==n.indexOf("/")&&""==e?t.i18n.everyHour():parseInt(r)<20?t.i18n.atX0MinutesPastTheHour():t.i18n.atX0MinutesPastTheHourGt20()||t.i18n.atX0MinutesPastTheHour()}catch(e){return t.i18n.atX0MinutesPastTheHour()}}))},t.prototype.getHoursDescription=function(){var t=this,e=this.expressionParts[2];return this.getSegmentDescription(e,this.i18n.everyHour(),(function(e){return t.formatTime(e,"0","")}),(function(e){return r.StringUtilities.format(t.i18n.everyX0Hours(),e)}),(function(e){return t.i18n.betweenX0AndX1()}),(function(e){return t.i18n.atX0()}))},t.prototype.getDayOfWeekDescription=function(){var t=this,e=this.i18n.daysOfTheWeek();return"*"==this.expressionParts[5]?"":this.getSegmentDescription(this.expressionParts[5],this.i18n.commaEveryDay(),(function(t){var n=t;return t.indexOf("#")>-1?n=t.substr(0,t.indexOf("#")):t.indexOf("L")>-1&&(n=n.replace("L","")),e[parseInt(n)]}),(function(e){return 1==parseInt(e)?"":r.StringUtilities.format(t.i18n.commaEveryX0DaysOfTheWeek(),e)}),(function(e){return t.i18n.commaX0ThroughX1()}),(function(e){var n=null;if(e.indexOf("#")>-1){var r=null;switch(e.substring(e.indexOf("#")+1)){case"1":r=t.i18n.first();break;case"2":r=t.i18n.second();break;case"3":r=t.i18n.third();break;case"4":r=t.i18n.fourth();break;case"5":r=t.i18n.fifth()}n=t.i18n.commaOnThe()+r+t.i18n.spaceX0OfTheMonth()}else n=e.indexOf("L")>-1?t.i18n.commaOnTheLastX0OfTheMonth():"*"!=t.expressionParts[3]?t.i18n.commaAndOnX0():t.i18n.commaOnlyOnX0();return n}))},t.prototype.getMonthDescription=function(){var t=this,e=this.i18n.monthsOfTheYear();return this.getSegmentDescription(this.expressionParts[4],"",(function(t){return e[parseInt(t)-1]}),(function(e){return 1==parseInt(e)?"":r.StringUtilities.format(t.i18n.commaEveryX0Months(),e)}),(function(e){return t.i18n.commaMonthX0ThroughMonthX1()||t.i18n.commaX0ThroughX1()}),(function(e){return t.i18n.commaOnlyInMonthX0?t.i18n.commaOnlyInMonthX0():t.i18n.commaOnlyInX0()}))},t.prototype.getDayOfMonthDescription=function(){var t=this,e=null,n=this.expressionParts[3];switch(n){case"L":e=this.i18n.commaOnTheLastDayOfTheMonth();break;case"WL":case"LW":e=this.i18n.commaOnTheLastWeekdayOfTheMonth();break;default:var i=n.match(/(\d{1,2}W)|(W\d{1,2})/);if(i){var o=parseInt(i[0].replace("W","")),a=1==o?this.i18n.firstWeekday():r.StringUtilities.format(this.i18n.weekdayNearestDayX0(),o.toString());e=r.StringUtilities.format(this.i18n.commaOnTheX0OfTheMonth(),a);break}var s=n.match(/L-(\d{1,2})/);if(s){var c=s[1];e=r.StringUtilities.format(this.i18n.commaDaysBeforeTheLastDayOfTheMonth(),c);break}if("*"==n&&"*"!=this.expressionParts[5])return"";e=this.getSegmentDescription(n,this.i18n.commaEveryDay(),(function(e){return"L"==e?t.i18n.lastDay():t.i18n.dayX0?r.StringUtilities.format(t.i18n.dayX0(),e):e}),(function(e){return"1"==e?t.i18n.commaEveryDay():t.i18n.commaEveryX0Days()}),(function(e){return t.i18n.commaBetweenDayX0AndX1OfTheMonth()}),(function(e){return t.i18n.commaOnDayX0OfTheMonth()}))}return e},t.prototype.getYearDescription=function(){var t=this;return this.getSegmentDescription(this.expressionParts[6],"",(function(t){return/^\d+$/.test(t)?new Date(parseInt(t),1).getFullYear().toString():t}),(function(e){return r.StringUtilities.format(t.i18n.commaEveryX0Years(),e)}),(function(e){return t.i18n.commaYearX0ThroughYearX1()||t.i18n.commaX0ThroughX1()}),(function(e){return t.i18n.commaOnlyInYearX0?t.i18n.commaOnlyInYearX0():t.i18n.commaOnlyInX0()}))},t.prototype.getSegmentDescription=function(t,e,n,i,o,a){var s=null,c=t.indexOf("/")>-1,u=t.indexOf("-")>-1,p=t.indexOf(",")>-1;if(t)if("*"===t)s=e;else if(c||u||p)if(p){for(var f=t.split(","),h="",l=0;l<f.length;l++)if(l>0&&f.length>2&&(h+=",",l<f.length-1&&(h+=" ")),l>0&&f.length>1&&(l==f.length-1||2==f.length)&&(h+="".concat(this.i18n.spaceAnd()," ")),f[l].indexOf("/")>-1||f[l].indexOf("-")>-1){var m=f[l].indexOf("-")>-1&&-1==f[l].indexOf("/"),y=this.getSegmentDescription(f[l],e,n,i,m?this.i18n.commaX0ThroughX1:o,a);m&&(y=y.replace(", ","")),h+=y}else h+=c?this.getSegmentDescription(f[l],e,n,i,o,a):n(f[l]);s=c?h:r.StringUtilities.format(a(t),h)}else if(c){if(f=t.split("/"),s=r.StringUtilities.format(i(f[1]),f[1]),f[0].indexOf("-")>-1){var d=this.generateRangeSegmentDescription(f[0],o,n);0!=d.indexOf(", ")&&(s+=", "),s+=d}else if(-1==f[0].indexOf("*")){var g=r.StringUtilities.format(a(f[0]),n(f[0]));g=g.replace(", ",""),s+=r.StringUtilities.format(this.i18n.commaStartingX0(),g)}}else u&&(s=this.generateRangeSegmentDescription(t,o,n));else s=r.StringUtilities.format(a(t),n(t));else s="";return s},t.prototype.generateRangeSegmentDescription=function(t,e,n){var i="",o=t.split("-"),a=n(o[0]),s=n(o[1]);s=s.replace(":00",":59");var c=e(t);return i+r.StringUtilities.format(c,a,s)},t.prototype.formatTime=function(t,e,n){var r=parseInt(t),i="",o=!1;this.options.use24HourTimeFormat||(i=(o=!(!this.i18n.setPeriodBeforeTime||!this.i18n.setPeriodBeforeTime()))?"".concat(this.getPeriod(r)," "):" ".concat(this.getPeriod(r)),r>12&&(r-=12),0===r&&(r=12));var a=e,s="";return n&&(s=":".concat(("00"+n).substring(n.length))),"".concat(o?i:"").concat(("00"+r.toString()).substring(r.toString().length),":").concat(("00"+a.toString()).substring(a.toString().length)).concat(s).concat(o?"":i)},t.prototype.transformVerbosity=function(t,e){return e||(t=(t=(t=(t=t.replace(new RegExp(", ".concat(this.i18n.everyMinute()),"g"),"")).replace(new RegExp(", ".concat(this.i18n.everyHour()),"g"),"")).replace(new RegExp(this.i18n.commaEveryDay(),"g"),"")).replace(/\, ?$/,"")),t},t.prototype.getPeriod=function(t){return t>=12?this.i18n.pm&&this.i18n.pm()||"PM":this.i18n.am&&this.i18n.am()||"AM"},t.locales={},t}();e.n=o},586:(t,e)=>{function n(t,e){if(!t)throw new Error(e)}Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(){}return t.secondRange=function(t){for(var e=t.split(","),r=0;r<e.length;r++)if(!isNaN(parseInt(e[r],10))){var i=parseInt(e[r],10);n(i>=0&&i<=59,"seconds part must be >= 0 and <= 59")}},t.minuteRange=function(t){for(var e=t.split(","),r=0;r<e.length;r++)if(!isNaN(parseInt(e[r],10))){var i=parseInt(e[r],10);n(i>=0&&i<=59,"minutes part must be >= 0 and <= 59")}},t.hourRange=function(t){for(var e=t.split(","),r=0;r<e.length;r++)if(!isNaN(parseInt(e[r],10))){var i=parseInt(e[r],10);n(i>=0&&i<=23,"hours part must be >= 0 and <= 23")}},t.dayOfMonthRange=function(t){for(var e=t.split(","),r=0;r<e.length;r++)if(!isNaN(parseInt(e[r],10))){var i=parseInt(e[r],10);n(i>=1&&i<=31,"DOM part must be >= 1 and <= 31")}},t.monthRange=function(t,e){for(var r=t.split(","),i=0;i<r.length;i++)if(!isNaN(parseInt(r[i],10))){var o=parseInt(r[i],10);n(o>=1&&o<=12,e?"month part must be >= 0 and <= 11":"month part must be >= 1 and <= 12")}},t.dayOfWeekRange=function(t,e){for(var r=t.split(","),i=0;i<r.length;i++)if(!isNaN(parseInt(r[i],10))){var o=parseInt(r[i],10);n(o>=0&&o<=6,e?"DOW part must be >= 0 and <= 6":"DOW part must be >= 1 and <= 7")}},t}();e.default=r},910:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.StringUtilities=void 0;var n=function(){function t(){}return t.format=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return t.replace(/%s/g,(function(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];return e.shift()}))},t.containsAny=function(t,e){return e.some((function(e){return t.indexOf(e)>-1}))},t}();e.StringUtilities=n}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var o=e[r]={exports:{}};return t[r](o,o.exports,n),o.exports}n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};return(()=>{n.r(r),n.d(r,{default:()=>i,toString:()=>o});var t=n(728);Object.defineProperty(r,"__esModule",{value:!0}),exports.be=void 0;var e=function(){function t(){}return t.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},t.prototype.atX0MinutesPastTheHourGt20=function(){return null},t.prototype.commaMonthX0ThroughMonthX1=function(){return null},t.prototype.commaYearX0ThroughYearX1=function(){return null},t.prototype.use24HourTimeFormatByDefault=function(){return!0},t.prototype.everyMinute=function(){return"кожную хвіліну"},t.prototype.everyHour=function(){return"кожную гадзіну"},t.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"Адбылася памылка падчас генерацыі апісання выразы. Праверце сінтаксіс крон-выразы."},t.prototype.atSpace=function(){return"У "},t.prototype.everyMinuteBetweenX0AndX1=function(){return"Кожную хвіліну з %s да %s"},t.prototype.at=function(){return"У"},t.prototype.spaceAnd=function(){return" і"},t.prototype.everySecond=function(){return"кожную секунду"},t.prototype.everyX0Seconds=function(){return"кожныя %s секунд"},t.prototype.secondsX0ThroughX1PastTheMinute=function(){return"секунды з %s па %s"},t.prototype.atX0SecondsPastTheMinute=function(){return"у %s секунд"},t.prototype.everyX0Minutes=function(){return"кожныя %s хвілін"},t.prototype.minutesX0ThroughX1PastTheHour=function(){return"хвіліны з %s па %s"},t.prototype.atX0MinutesPastTheHour=function(){return"у %s хвілін"},t.prototype.everyX0Hours=function(){return"кожныя %s гадзін"},t.prototype.betweenX0AndX1=function(){return"з %s па %s"},t.prototype.atX0=function(){return"у %s"},t.prototype.commaEveryDay=function(){return", кожны дзень"},t.prototype.commaEveryX0DaysOfTheWeek=function(){return", кожныя %s дзён тыдня"},t.prototype.commaX0ThroughX1=function(){return", %s па %s"},t.prototype.first=function(){return"першы"},t.prototype.second=function(){return"другі"},t.prototype.third=function(){return"трэці"},t.prototype.fourth=function(){return"чацвёрты"},t.prototype.fifth=function(){return"пяты"},t.prototype.commaOnThe=function(){return", у "},t.prototype.spaceX0OfTheMonth=function(){return" %s месяца"},t.prototype.lastDay=function(){return"апошні дзень"},t.prototype.commaOnTheLastX0OfTheMonth=function(){return", у апошні %s месяца"},t.prototype.commaOnlyOnX0=function(){return", толькі ў %s"},t.prototype.commaAndOnX0=function(){return", і ў %s"},t.prototype.commaEveryX0Months=function(){return", кожныя %s месяцаў"},t.prototype.commaOnlyInX0=function(){return", толькі ў %s"},t.prototype.commaOnTheLastDayOfTheMonth=function(){return", у апошні дзень месяца"},t.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", у апошні будні дзень месяца"},t.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return", %s дзён да апошняга дня месяца"},t.prototype.firstWeekday=function(){return"першы будны дзень"},t.prototype.weekdayNearestDayX0=function(){return"найбліжэйшы будны дзень да %s"},t.prototype.commaOnTheX0OfTheMonth=function(){return", у %s месяцы"},t.prototype.commaEveryX0Days=function(){return", кожныя %s дзён"},t.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return", з %s па %s лік месяца"},t.prototype.commaOnDayX0OfTheMonth=function(){return", у %s лік месяца"},t.prototype.commaEveryX0Years=function(){return", кожныя %s гадоў"},t.prototype.commaStartingX0=function(){return", пачатак %s"},t.prototype.daysOfTheWeek=function(){return["нядзеля","панядзелак","аўторак","серада","чацвер","пятніца","субота"]},t.prototype.monthsOfTheYear=function(){return["студзень","люты","сакавік","красавік","травень","чэрвень","ліпень","жнівень","верасень","кастрычнік","лістапад","снежань"]},t}();exports.be=e,t.n.initialize({load(t){t.be=new e}},"be");const i=t.n;let o=t.n.toString})(),r})()}));
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("cronstrue")):"function"==typeof define&&define.amd?define("locales/be.min",["cronstrue"],e):"object"==typeof exports?exports["locales/be.min"]=e(require("cronstrue")):t["locales/be.min"]=e(t.cronstrue)}(globalThis,(function(t){return(()=>{"use strict";var e={34:e=>{e.exports=t}},o={};function r(t){var n=o[t];if(void 0!==n)return n.exports;var u=o[t]={exports:{}};return e[t](u,u.exports,r),u.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var o in e)r.o(e,o)&&!r.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};return(()=>{r.r(n),r.d(n,{default:()=>p,toString:()=>u});var t=r(34),e=r.n(t);Object.defineProperty(n,"__esModule",{value:!0}),exports.be=void 0;var o=function(){function t(){}return t.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},t.prototype.atX0MinutesPastTheHourGt20=function(){return null},t.prototype.commaMonthX0ThroughMonthX1=function(){return null},t.prototype.commaYearX0ThroughYearX1=function(){return null},t.prototype.use24HourTimeFormatByDefault=function(){return!0},t.prototype.everyMinute=function(){return"кожную хвіліну"},t.prototype.everyHour=function(){return"кожную гадзіну"},t.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"Адбылася памылка падчас генерацыі апісання выразы. Праверце сінтаксіс крон-выразы."},t.prototype.atSpace=function(){return"У "},t.prototype.everyMinuteBetweenX0AndX1=function(){return"Кожную хвіліну з %s да %s"},t.prototype.at=function(){return"У"},t.prototype.spaceAnd=function(){return" і"},t.prototype.everySecond=function(){return"кожную секунду"},t.prototype.everyX0Seconds=function(){return"кожныя %s секунд"},t.prototype.secondsX0ThroughX1PastTheMinute=function(){return"секунды з %s па %s"},t.prototype.atX0SecondsPastTheMinute=function(){return"у %s секунд"},t.prototype.everyX0Minutes=function(){return"кожныя %s хвілін"},t.prototype.minutesX0ThroughX1PastTheHour=function(){return"хвіліны з %s па %s"},t.prototype.atX0MinutesPastTheHour=function(){return"у %s хвілін"},t.prototype.everyX0Hours=function(){return"кожныя %s гадзін"},t.prototype.betweenX0AndX1=function(){return"з %s па %s"},t.prototype.atX0=function(){return"у %s"},t.prototype.commaEveryDay=function(){return", кожны дзень"},t.prototype.commaEveryX0DaysOfTheWeek=function(){return", кожныя %s дзён тыдня"},t.prototype.commaX0ThroughX1=function(){return", %s па %s"},t.prototype.first=function(){return"першы"},t.prototype.second=function(){return"другі"},t.prototype.third=function(){return"трэці"},t.prototype.fourth=function(){return"чацвёрты"},t.prototype.fifth=function(){return"пяты"},t.prototype.commaOnThe=function(){return", у "},t.prototype.spaceX0OfTheMonth=function(){return" %s месяца"},t.prototype.lastDay=function(){return"апошні дзень"},t.prototype.commaOnTheLastX0OfTheMonth=function(){return", у апошні %s месяца"},t.prototype.commaOnlyOnX0=function(){return", толькі ў %s"},t.prototype.commaAndOnX0=function(){return", і ў %s"},t.prototype.commaEveryX0Months=function(){return", кожныя %s месяцаў"},t.prototype.commaOnlyInX0=function(){return", толькі ў %s"},t.prototype.commaOnTheLastDayOfTheMonth=function(){return", у апошні дзень месяца"},t.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", у апошні будні дзень месяца"},t.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return", %s дзён да апошняга дня месяца"},t.prototype.firstWeekday=function(){return"першы будны дзень"},t.prototype.weekdayNearestDayX0=function(){return"найбліжэйшы будны дзень да %s"},t.prototype.commaOnTheX0OfTheMonth=function(){return", у %s месяцы"},t.prototype.commaEveryX0Days=function(){return", кожныя %s дзён"},t.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return", з %s па %s лік месяца"},t.prototype.commaOnDayX0OfTheMonth=function(){return", у %s лік месяца"},t.prototype.commaEveryX0Years=function(){return", кожныя %s гадоў"},t.prototype.commaStartingX0=function(){return", пачатак %s"},t.prototype.daysOfTheWeek=function(){return["нядзеля","панядзелак","аўторак","серада","чацвер","пятніца","субота"]},t.prototype.monthsOfTheYear=function(){return["студзень","люты","сакавік","красавік","травень","чэрвень","ліпень","жнівень","верасень","кастрычнік","лістапад","снежань"]},t}();exports.be=o,e().locales.be=new o;const u=e().toString,p=e()})(),n})()}));
|