@nocobase/plugin-client 0.17.0-alpha.7 → 0.18.0-alpha.2

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.
Files changed (61) hide show
  1. package/dist/externalVersion.js +4 -4
  2. package/dist/locale/antd/eu_ES.js +1 -1
  3. package/dist/locale/antd/ko_KR.js +1 -1
  4. package/dist/locale/antd/my_MM.js +1 -1
  5. package/dist/locale/antd/pl_PL.js +1 -1
  6. package/dist/locale/antd/tr_TR.js +1 -1
  7. package/dist/locale/en_US.js +5 -1
  8. package/dist/locale/pt_BR.js +0 -1
  9. package/dist/locale/zh-CN.js +8 -1
  10. package/dist/node_modules/cronstrue/dist/cronstrue-i18n.js +657 -28
  11. package/dist/node_modules/cronstrue/dist/cronstrue-i18n.min.js +1 -1
  12. package/dist/node_modules/cronstrue/dist/cronstrue.js +1 -1
  13. package/dist/node_modules/cronstrue/dist/cronstrue.min.js +1 -1
  14. package/dist/node_modules/cronstrue/dist/expressionDescriptor.d.ts +1 -1
  15. package/dist/node_modules/cronstrue/dist/i18n/allLocales.d.ts +3 -0
  16. package/dist/node_modules/cronstrue/dist/i18n/locales/bg.d.ts +56 -0
  17. package/dist/node_modules/cronstrue/dist/i18n/locales/my.d.ts +56 -0
  18. package/dist/node_modules/cronstrue/dist/i18n/locales/pt_BR.d.ts +2 -2
  19. package/dist/node_modules/cronstrue/dist/i18n/locales/vi.d.ts +56 -0
  20. package/dist/node_modules/cronstrue/dist/options.d.ts +1 -0
  21. package/dist/node_modules/cronstrue/locales/ar.js +1 -1
  22. package/dist/node_modules/cronstrue/locales/ar.min.js +1 -1
  23. package/dist/node_modules/cronstrue/locales/be.js +1 -1
  24. package/dist/node_modules/cronstrue/locales/be.min.js +1 -1
  25. package/dist/node_modules/cronstrue/locales/bg.js +290 -0
  26. package/dist/node_modules/cronstrue/locales/bg.min.js +1 -0
  27. package/dist/node_modules/cronstrue/locales/ca.js +1 -1
  28. package/dist/node_modules/cronstrue/locales/ca.min.js +1 -1
  29. package/dist/node_modules/cronstrue/locales/es.js +1 -1
  30. package/dist/node_modules/cronstrue/locales/es.min.js +1 -1
  31. package/dist/node_modules/cronstrue/locales/fi.js +1 -1
  32. package/dist/node_modules/cronstrue/locales/fi.min.js +1 -1
  33. package/dist/node_modules/cronstrue/locales/hu.js +1 -1
  34. package/dist/node_modules/cronstrue/locales/hu.min.js +1 -1
  35. package/dist/node_modules/cronstrue/locales/id.js +1 -1
  36. package/dist/node_modules/cronstrue/locales/id.min.js +1 -1
  37. package/dist/node_modules/cronstrue/locales/ja.js +1 -1
  38. package/dist/node_modules/cronstrue/locales/ja.min.js +1 -1
  39. package/dist/node_modules/cronstrue/locales/ko.js +4 -4
  40. package/dist/node_modules/cronstrue/locales/ko.min.js +1 -1
  41. package/dist/node_modules/cronstrue/locales/my.js +287 -0
  42. package/dist/node_modules/cronstrue/locales/my.min.js +1 -0
  43. package/dist/node_modules/cronstrue/locales/nb.js +1 -1
  44. package/dist/node_modules/cronstrue/locales/nb.min.js +1 -1
  45. package/dist/node_modules/cronstrue/locales/nl.js +1 -1
  46. package/dist/node_modules/cronstrue/locales/nl.min.js +1 -1
  47. package/dist/node_modules/cronstrue/locales/pt_BR.js +5 -5
  48. package/dist/node_modules/cronstrue/locales/pt_BR.min.js +1 -1
  49. package/dist/node_modules/cronstrue/locales/sw.js +1 -1
  50. package/dist/node_modules/cronstrue/locales/sw.min.js +1 -1
  51. package/dist/node_modules/cronstrue/locales/vi.js +287 -0
  52. package/dist/node_modules/cronstrue/locales/vi.min.js +1 -0
  53. package/dist/node_modules/cronstrue/locales/zh_TW.js +1 -1
  54. package/dist/node_modules/cronstrue/locales/zh_TW.min.js +1 -1
  55. package/dist/node_modules/cronstrue/package.json +1 -1
  56. package/dist/server/migrations/20230620203216-admin-ui-schema-uid.js +5 -1
  57. package/dist/server/migrations/20231215215247-admin-menu-uid.d.ts +4 -0
  58. package/dist/server/migrations/20231215215247-admin-menu-uid.js +75 -0
  59. package/dist/server/server.d.ts +1 -0
  60. package/dist/server/server.js +17 -20
  61. package/package.json +2 -2
@@ -1 +1 @@
1
- (function(){var e={622:function(e){(function webpackUniversalModuleDefinition(t,r){if(true)e.exports=r();else{}})(globalThis,(()=>(()=>{"use strict";var e={794:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.CronParser=void 0;var n=r(586);var i=function(){function CronParser(e,t,r){if(t===void 0){t=true}if(r===void 0){r=false}this.expression=e;this.dayOfWeekStartIndexZero=t;this.monthStartIndexZero=r}CronParser.prototype.parse=function(){var e=this.extractParts(this.expression);this.normalize(e);this.validate(e);return e};CronParser.prototype.extractParts=function(e){if(!this.expression){throw new Error("Expression is empty")}var t=e.trim().split(/[ ]+/);if(t.length<5){throw new Error("Expression has only ".concat(t.length," part").concat(t.length==1?"":"s",". At least 5 parts are required."))}else if(t.length==5){t.unshift("");t.push("")}else if(t.length==6){var r=/\d{4}$/.test(t[5])||t[4]=="?"||t[2]=="?";if(r){t.unshift("")}else{t.push("")}}else if(t.length>7){throw new Error("Expression has ".concat(t.length," parts; too many!"))}return t};CronParser.prototype.normalize=function(e){var t=this;e[3]=e[3].replace("?","*");e[5]=e[5].replace("?","*");e[2]=e[2].replace("?","*");if(e[0].indexOf("0/")==0){e[0]=e[0].replace("0/","*/")}if(e[1].indexOf("0/")==0){e[1]=e[1].replace("0/","*/")}if(e[2].indexOf("0/")==0){e[2]=e[2].replace("0/","*/")}if(e[3].indexOf("1/")==0){e[3]=e[3].replace("1/","*/")}if(e[4].indexOf("1/")==0){e[4]=e[4].replace("1/","*/")}if(e[6].indexOf("1/")==0){e[6]=e[6].replace("1/","*/")}e[5]=e[5].replace(/(^\d)|([^#/\s]\d)/g,(function(e){var r=e.replace(/\D/,"");var n=r;if(t.dayOfWeekStartIndexZero){if(r=="7"){n="0"}}else{n=(parseInt(r)-1).toString()}return e.replace(r,n)}));if(e[5]=="L"){e[5]="6"}if(e[3]=="?"){e[3]="*"}if(e[3].indexOf("W")>-1&&(e[3].indexOf(",")>-1||e[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 r={SUN:0,MON:1,TUE:2,WED:3,THU:4,FRI:5,SAT:6};for(var n in r){e[5]=e[5].replace(new RegExp(n,"gi"),r[n].toString())}e[4]=e[4].replace(/(^\d{1,2})|([^#/\s]\d{1,2})/g,(function(e){var r=e.replace(/\D/,"");var n=r;if(t.monthStartIndexZero){n=(parseInt(r)+1).toString()}return e.replace(r,n)}));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){e[4]=e[4].replace(new RegExp(o,"gi"),i[o].toString())}if(e[0]=="0"){e[0]=""}if(!/\*|\-|\,|\//.test(e[2])&&(/\*|\//.test(e[1])||/\*|\//.test(e[0]))){e[2]+="-".concat(e[2])}for(var s=0;s<e.length;s++){if(e[s].indexOf(",")!=-1){e[s]=e[s].split(",").filter((function(e){return e!==""})).join(",")||"*"}if(e[s]=="*/1"){e[s]="*"}if(e[s].indexOf("/")>-1&&!/^\*|\-|\,/.test(e[s])){var a=null;switch(s){case 4:a="12";break;case 5:a="6";break;case 6:a="9999";break;default:a=null;break}if(a!==null){var c=e[s].split("/");e[s]="".concat(c[0],"-").concat(a,"/").concat(c[1])}}}};CronParser.prototype.validate=function(e){this.assertNoInvalidCharacters("DOW",e[5]);this.assertNoInvalidCharacters("DOM",e[3]);this.validateRange(e)};CronParser.prototype.validateRange=function(e){n.default.secondRange(e[0]);n.default.minuteRange(e[1]);n.default.hourRange(e[2]);n.default.dayOfMonthRange(e[3]);n.default.monthRange(e[4],this.monthStartIndexZero);n.default.dayOfWeekRange(e[5],this.dayOfWeekStartIndexZero)};CronParser.prototype.assertNoInvalidCharacters=function(e,t){var r=t.match(/[A-KM-VX-Z]+/gi);if(r&&r.length){throw new Error("".concat(e," part contains invalid values: '").concat(r.toString(),"'"))}};return CronParser}();t.CronParser=i},728:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.ExpressionDescriptor=void 0;var n=r(910);var i=r(794);var o=function(){function ExpressionDescriptor(e,t){this.expression=e;this.options=t;this.expressionParts=new Array(5);if(!this.options.locale&&ExpressionDescriptor.defaultLocale){this.options.locale=ExpressionDescriptor.defaultLocale}if(!ExpressionDescriptor.locales[this.options.locale]){var r=Object.keys(ExpressionDescriptor.locales)[0];console.warn("Locale '".concat(this.options.locale,"' could not be found; falling back to '").concat(r,"'."));this.options.locale=r}this.i18n=ExpressionDescriptor.locales[this.options.locale];if(t.use24HourTimeFormat===undefined){t.use24HourTimeFormat=this.i18n.use24HourTimeFormatByDefault()}}ExpressionDescriptor.toString=function(e,t){var r=t===void 0?{}:t,n=r.throwExceptionOnParseError,i=n===void 0?true:n,o=r.verbose,s=o===void 0?false:o,a=r.dayOfWeekStartIndexZero,c=a===void 0?true:a,u=r.monthStartIndexZero,p=u===void 0?false:u,f=r.use24HourTimeFormat,h=r.locale,l=h===void 0?null:h;var d={throwExceptionOnParseError:i,verbose:s,dayOfWeekStartIndexZero:c,monthStartIndexZero:p,use24HourTimeFormat:f,locale:l};var y=new ExpressionDescriptor(e,d);return y.getFullDescription()};ExpressionDescriptor.initialize=function(e,t){if(t===void 0){t="en"}ExpressionDescriptor.specialCharacters=["/","-",",","*"];ExpressionDescriptor.defaultLocale=t;e.load(ExpressionDescriptor.locales)};ExpressionDescriptor.prototype.getFullDescription=function(){var e="";try{var t=new i.CronParser(this.expression,this.options.dayOfWeekStartIndexZero,this.options.monthStartIndexZero);this.expressionParts=t.parse();var r=this.getTimeOfDayDescription();var n=this.getDayOfMonthDescription();var o=this.getMonthDescription();var s=this.getDayOfWeekDescription();var a=this.getYearDescription();e+=r+n+s+o+a;e=this.transformVerbosity(e,!!this.options.verbose);e=e.charAt(0).toLocaleUpperCase()+e.substr(1)}catch(t){if(!this.options.throwExceptionOnParseError){e=this.i18n.anErrorOccuredWhenGeneratingTheExpressionD()}else{throw"".concat(t)}}return e};ExpressionDescriptor.prototype.getTimeOfDayDescription=function(){var e=this.expressionParts[0];var t=this.expressionParts[1];var r=this.expressionParts[2];var i="";if(!n.StringUtilities.containsAny(t,ExpressionDescriptor.specialCharacters)&&!n.StringUtilities.containsAny(r,ExpressionDescriptor.specialCharacters)&&!n.StringUtilities.containsAny(e,ExpressionDescriptor.specialCharacters)){i+=this.i18n.atSpace()+this.formatTime(r,t,e)}else if(!e&&t.indexOf("-")>-1&&!(t.indexOf(",")>-1)&&!(t.indexOf("/")>-1)&&!n.StringUtilities.containsAny(r,ExpressionDescriptor.specialCharacters)){var o=t.split("-");i+=n.StringUtilities.format(this.i18n.everyMinuteBetweenX0AndX1(),this.formatTime(r,o[0],""),this.formatTime(r,o[1],""))}else if(!e&&r.indexOf(",")>-1&&r.indexOf("-")==-1&&r.indexOf("/")==-1&&!n.StringUtilities.containsAny(t,ExpressionDescriptor.specialCharacters)){var s=r.split(",");i+=this.i18n.at();for(var a=0;a<s.length;a++){i+=" ";i+=this.formatTime(s[a],t,"");if(a<s.length-2){i+=","}if(a==s.length-2){i+=this.i18n.spaceAnd()}}}else{var c=this.getSecondsDescription();var u=this.getMinutesDescription();var p=this.getHoursDescription();i+=c;if(i&&u){i+=", "}i+=u;if(u===p){return i}if(i&&p){i+=", "}i+=p}return i};ExpressionDescriptor.prototype.getSecondsDescription=function(){var e=this;var t=this.getSegmentDescription(this.expressionParts[0],this.i18n.everySecond(),(function(e){return e}),(function(t){return n.StringUtilities.format(e.i18n.everyX0Seconds(t),t)}),(function(t){return e.i18n.secondsX0ThroughX1PastTheMinute()}),(function(t){return t=="0"?"":parseInt(t)<20?e.i18n.atX0SecondsPastTheMinute(t):e.i18n.atX0SecondsPastTheMinuteGt20()||e.i18n.atX0SecondsPastTheMinute(t)}));return t};ExpressionDescriptor.prototype.getMinutesDescription=function(){var e=this;var t=this.expressionParts[0];var r=this.expressionParts[2];var i=this.getSegmentDescription(this.expressionParts[1],this.i18n.everyMinute(),(function(e){return e}),(function(t){return n.StringUtilities.format(e.i18n.everyX0Minutes(t),t)}),(function(t){return e.i18n.minutesX0ThroughX1PastTheHour()}),(function(n){try{return n=="0"&&r.indexOf("/")==-1&&t==""?e.i18n.everyHour():parseInt(n)<20?e.i18n.atX0MinutesPastTheHour(n):e.i18n.atX0MinutesPastTheHourGt20()||e.i18n.atX0MinutesPastTheHour(n)}catch(t){return e.i18n.atX0MinutesPastTheHour(n)}}));return i};ExpressionDescriptor.prototype.getHoursDescription=function(){var e=this;var t=this.expressionParts[2];var r=this.getSegmentDescription(t,this.i18n.everyHour(),(function(t){return e.formatTime(t,"0","")}),(function(t){return n.StringUtilities.format(e.i18n.everyX0Hours(t),t)}),(function(t){return e.i18n.betweenX0AndX1()}),(function(t){return e.i18n.atX0()}));if(r&&t.includes("-")&&this.expressionParts[1]!="0"){var i=Array.from(r.matchAll(/:00/g));if(i.length>1){var o=i[i.length-1].index;r=r.substring(0,o)+":59"+r.substring(o+3)}}return r};ExpressionDescriptor.prototype.getDayOfWeekDescription=function(){var e=this;var t=this.i18n.daysOfTheWeek();var r=null;if(this.expressionParts[5]=="*"){r=""}else{r=this.getSegmentDescription(this.expressionParts[5],this.i18n.commaEveryDay(),(function(r,n){var i=r;if(r.indexOf("#")>-1){i=r.substring(0,r.indexOf("#"))}else if(r.indexOf("L")>-1){i=i.replace("L","")}var o=e.i18n.daysOfTheWeekInCase?e.i18n.daysOfTheWeekInCase(n)[parseInt(i)]:t[parseInt(i)];if(r.indexOf("#")>-1){var s=null;var a=r.substring(r.indexOf("#")+1);var c=r.substring(0,r.indexOf("#"));switch(a){case"1":s=e.i18n.first(c);break;case"2":s=e.i18n.second(c);break;case"3":s=e.i18n.third(c);break;case"4":s=e.i18n.fourth(c);break;case"5":s=e.i18n.fifth(c);break}o=s+" "+o}return o}),(function(t){if(parseInt(t)==1){return""}else{return n.StringUtilities.format(e.i18n.commaEveryX0DaysOfTheWeek(t),t)}}),(function(t){var r=t.substring(0,t.indexOf("-"));var n=e.expressionParts[3]!="*";return n?e.i18n.commaAndX0ThroughX1(r):e.i18n.commaX0ThroughX1(r)}),(function(t){var r=null;if(t.indexOf("#")>-1){var n=t.substring(t.indexOf("#")+1);r=e.i18n.commaOnThe(n).trim()+e.i18n.spaceX0OfTheMonth()}else if(t.indexOf("L")>-1){r=e.i18n.commaOnTheLastX0OfTheMonth(t.replace("L",""))}else{var i=e.expressionParts[3]!="*";r=i?e.i18n.commaAndOnX0():e.i18n.commaOnlyOnX0(t)}return r}))}return r};ExpressionDescriptor.prototype.getMonthDescription=function(){var e=this;var t=this.i18n.monthsOfTheYear();var r=this.getSegmentDescription(this.expressionParts[4],"",(function(r,n){return n&&e.i18n.monthsOfTheYearInCase?e.i18n.monthsOfTheYearInCase(n)[parseInt(r)-1]:t[parseInt(r)-1]}),(function(t){if(parseInt(t)==1){return""}else{return n.StringUtilities.format(e.i18n.commaEveryX0Months(t),t)}}),(function(t){return e.i18n.commaMonthX0ThroughMonthX1()||e.i18n.commaX0ThroughX1()}),(function(t){return e.i18n.commaOnlyInMonthX0?e.i18n.commaOnlyInMonthX0():e.i18n.commaOnlyInX0()}));return r};ExpressionDescriptor.prototype.getDayOfMonthDescription=function(){var e=this;var t=null;var r=this.expressionParts[3];switch(r){case"L":t=this.i18n.commaOnTheLastDayOfTheMonth();break;case"WL":case"LW":t=this.i18n.commaOnTheLastWeekdayOfTheMonth();break;default:var i=r.match(/(\d{1,2}W)|(W\d{1,2})/);if(i){var o=parseInt(i[0].replace("W",""));var s=o==1?this.i18n.firstWeekday():n.StringUtilities.format(this.i18n.weekdayNearestDayX0(),o.toString());t=n.StringUtilities.format(this.i18n.commaOnTheX0OfTheMonth(),s);break}else{var a=r.match(/L-(\d{1,2})/);if(a){var c=a[1];t=n.StringUtilities.format(this.i18n.commaDaysBeforeTheLastDayOfTheMonth(c),c);break}else if(r=="*"&&this.expressionParts[5]!="*"){return""}else{t=this.getSegmentDescription(r,this.i18n.commaEveryDay(),(function(t){return t=="L"?e.i18n.lastDay():e.i18n.dayX0?n.StringUtilities.format(e.i18n.dayX0(),t):t}),(function(t){return t=="1"?e.i18n.commaEveryDay():e.i18n.commaEveryX0Days(t)}),(function(t){return e.i18n.commaBetweenDayX0AndX1OfTheMonth(t)}),(function(t){return e.i18n.commaOnDayX0OfTheMonth(t)}))}break}}return t};ExpressionDescriptor.prototype.getYearDescription=function(){var e=this;var t=this.getSegmentDescription(this.expressionParts[6],"",(function(e){return/^\d+$/.test(e)?new Date(parseInt(e),1).getFullYear().toString():e}),(function(t){return n.StringUtilities.format(e.i18n.commaEveryX0Years(t),t)}),(function(t){return e.i18n.commaYearX0ThroughYearX1()||e.i18n.commaX0ThroughX1()}),(function(t){return e.i18n.commaOnlyInYearX0?e.i18n.commaOnlyInYearX0():e.i18n.commaOnlyInX0()}));return t};ExpressionDescriptor.prototype.getSegmentDescription=function(e,t,r,i,o,s){var a=null;var c=e.indexOf("/")>-1;var u=e.indexOf("-")>-1;var p=e.indexOf(",")>-1;if(!e){a=""}else if(e==="*"){a=t}else if(!c&&!u&&!p){a=n.StringUtilities.format(s(e),r(e))}else if(p){var f=e.split(",");var h="";for(var l=0;l<f.length;l++){if(l>0&&f.length>2){h+=",";if(l<f.length-1){h+=" "}}if(l>0&&f.length>1&&(l==f.length-1||f.length==2)){h+="".concat(this.i18n.spaceAnd()," ")}if(f[l].indexOf("/")>-1||f[l].indexOf("-")>-1){var d=f[l].indexOf("-")>-1&&f[l].indexOf("/")==-1;var y=this.getSegmentDescription(f[l],t,r,i,d?this.i18n.commaX0ThroughX1:o,s);if(d){y=y.replace(", ","")}h+=y}else if(!c){h+=r(f[l])}else{h+=this.getSegmentDescription(f[l],t,r,i,o,s)}}if(!c){a=n.StringUtilities.format(s(e),h)}else{a=h}}else if(c){var f=e.split("/");a=n.StringUtilities.format(i(f[1]),f[1]);if(f[0].indexOf("-")>-1){var m=this.generateRangeSegmentDescription(f[0],o,r);if(m.indexOf(", ")!=0){a+=", "}a+=m}else if(f[0].indexOf("*")==-1){var v=n.StringUtilities.format(s(f[0]),r(f[0]));v=v.replace(", ","");a+=n.StringUtilities.format(this.i18n.commaStartingX0(),v)}}else if(u){a=this.generateRangeSegmentDescription(e,o,r)}return a};ExpressionDescriptor.prototype.generateRangeSegmentDescription=function(e,t,r){var i="";var o=e.split("-");var s=r(o[0],1);var a=r(o[1],2);var c=t(e);i+=n.StringUtilities.format(c,s,a);return i};ExpressionDescriptor.prototype.formatTime=function(e,t,r){var n=parseInt(e);var i="";var o=false;if(!this.options.use24HourTimeFormat){o=!!(this.i18n.setPeriodBeforeTime&&this.i18n.setPeriodBeforeTime());i=o?"".concat(this.getPeriod(n)," "):" ".concat(this.getPeriod(n));if(n>12){n-=12}if(n===0){n=12}}var s=t;var a="";if(r){a=":".concat(("00"+r).substring(r.length))}return"".concat(o?i:"").concat(("00"+n.toString()).substring(n.toString().length),":").concat(("00"+s.toString()).substring(s.toString().length)).concat(a).concat(!o?i:"")};ExpressionDescriptor.prototype.transformVerbosity=function(e,t){if(!t){e=e.replace(new RegExp(", ".concat(this.i18n.everyMinute()),"g"),"");e=e.replace(new RegExp(", ".concat(this.i18n.everyHour()),"g"),"");e=e.replace(new RegExp(this.i18n.commaEveryDay(),"g"),"");e=e.replace(/\, ?$/,"")}return e};ExpressionDescriptor.prototype.getPeriod=function(e){return e>=12?this.i18n.pm&&this.i18n.pm()||"PM":this.i18n.am&&this.i18n.am()||"AM"};ExpressionDescriptor.locales={};return ExpressionDescriptor}();t.ExpressionDescriptor=o},336:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.enLocaleLoader=void 0;var n=r(751);var i=function(){function enLocaleLoader(){}enLocaleLoader.prototype.load=function(e){e["en"]=new n.en};return enLocaleLoader}();t.enLocaleLoader=i},751:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.en=void 0;var r=function(){function en(){}en.prototype.atX0SecondsPastTheMinuteGt20=function(){return null};en.prototype.atX0MinutesPastTheHourGt20=function(){return null};en.prototype.commaMonthX0ThroughMonthX1=function(){return null};en.prototype.commaYearX0ThroughYearX1=function(){return null};en.prototype.use24HourTimeFormatByDefault=function(){return false};en.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"An error occured when generating the expression description. Check the cron expression syntax."};en.prototype.everyMinute=function(){return"every minute"};en.prototype.everyHour=function(){return"every hour"};en.prototype.atSpace=function(){return"At "};en.prototype.everyMinuteBetweenX0AndX1=function(){return"Every minute between %s and %s"};en.prototype.at=function(){return"At"};en.prototype.spaceAnd=function(){return" and"};en.prototype.everySecond=function(){return"every second"};en.prototype.everyX0Seconds=function(){return"every %s seconds"};en.prototype.secondsX0ThroughX1PastTheMinute=function(){return"seconds %s through %s past the minute"};en.prototype.atX0SecondsPastTheMinute=function(){return"at %s seconds past the minute"};en.prototype.everyX0Minutes=function(){return"every %s minutes"};en.prototype.minutesX0ThroughX1PastTheHour=function(){return"minutes %s through %s past the hour"};en.prototype.atX0MinutesPastTheHour=function(){return"at %s minutes past the hour"};en.prototype.everyX0Hours=function(){return"every %s hours"};en.prototype.betweenX0AndX1=function(){return"between %s and %s"};en.prototype.atX0=function(){return"at %s"};en.prototype.commaEveryDay=function(){return", every day"};en.prototype.commaEveryX0DaysOfTheWeek=function(){return", every %s days of the week"};en.prototype.commaX0ThroughX1=function(){return", %s through %s"};en.prototype.commaAndX0ThroughX1=function(){return", %s through %s"};en.prototype.first=function(){return"first"};en.prototype.second=function(){return"second"};en.prototype.third=function(){return"third"};en.prototype.fourth=function(){return"fourth"};en.prototype.fifth=function(){return"fifth"};en.prototype.commaOnThe=function(){return", on the "};en.prototype.spaceX0OfTheMonth=function(){return" %s of the month"};en.prototype.lastDay=function(){return"the last day"};en.prototype.commaOnTheLastX0OfTheMonth=function(){return", on the last %s of the month"};en.prototype.commaOnlyOnX0=function(){return", only on %s"};en.prototype.commaAndOnX0=function(){return", and on %s"};en.prototype.commaEveryX0Months=function(){return", every %s months"};en.prototype.commaOnlyInX0=function(){return", only in %s"};en.prototype.commaOnTheLastDayOfTheMonth=function(){return", on the last day of the month"};en.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", on the last weekday of the month"};en.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return", %s days before the last day of the month"};en.prototype.firstWeekday=function(){return"first weekday"};en.prototype.weekdayNearestDayX0=function(){return"weekday nearest day %s"};en.prototype.commaOnTheX0OfTheMonth=function(){return", on the %s of the month"};en.prototype.commaEveryX0Days=function(){return", every %s days"};en.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return", between day %s and %s of the month"};en.prototype.commaOnDayX0OfTheMonth=function(){return", on day %s of the month"};en.prototype.commaEveryHour=function(){return", every hour"};en.prototype.commaEveryX0Years=function(){return", every %s years"};en.prototype.commaStartingX0=function(){return", starting %s"};en.prototype.daysOfTheWeek=function(){return["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]};en.prototype.monthsOfTheYear=function(){return["January","February","March","April","May","June","July","August","September","October","November","December"]};return en}();t.en=r},586:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});function assert(e,t){if(!e){throw new Error(t)}}var r=function(){function RangeValidator(){}RangeValidator.secondRange=function(e){var t=e.split(",");for(var r=0;r<t.length;r++){if(!isNaN(parseInt(t[r],10))){var n=parseInt(t[r],10);assert(n>=0&&n<=59,"seconds part must be >= 0 and <= 59")}}};RangeValidator.minuteRange=function(e){var t=e.split(",");for(var r=0;r<t.length;r++){if(!isNaN(parseInt(t[r],10))){var n=parseInt(t[r],10);assert(n>=0&&n<=59,"minutes part must be >= 0 and <= 59")}}};RangeValidator.hourRange=function(e){var t=e.split(",");for(var r=0;r<t.length;r++){if(!isNaN(parseInt(t[r],10))){var n=parseInt(t[r],10);assert(n>=0&&n<=23,"hours part must be >= 0 and <= 23")}}};RangeValidator.dayOfMonthRange=function(e){var t=e.split(",");for(var r=0;r<t.length;r++){if(!isNaN(parseInt(t[r],10))){var n=parseInt(t[r],10);assert(n>=1&&n<=31,"DOM part must be >= 1 and <= 31")}}};RangeValidator.monthRange=function(e,t){var r=e.split(",");for(var n=0;n<r.length;n++){if(!isNaN(parseInt(r[n],10))){var i=parseInt(r[n],10);assert(i>=1&&i<=12,t?"month part must be >= 0 and <= 11":"month part must be >= 1 and <= 12")}}};RangeValidator.dayOfWeekRange=function(e,t){var r=e.split(",");for(var n=0;n<r.length;n++){if(!isNaN(parseInt(r[n],10))){var i=parseInt(r[n],10);assert(i>=0&&i<=6,t?"DOW part must be >= 0 and <= 6":"DOW part must be >= 1 and <= 7")}}};return RangeValidator}();t["default"]=r},910:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.StringUtilities=void 0;var r=function(){function StringUtilities(){}StringUtilities.format=function(e){var t=[];for(var r=1;r<arguments.length;r++){t[r-1]=arguments[r]}return e.replace(/%s/g,(function(e){var r=[];for(var n=1;n<arguments.length;n++){r[n-1]=arguments[n]}return t.shift()}))};StringUtilities.containsAny=function(e,t){return t.some((function(t){return e.indexOf(t)>-1}))};return StringUtilities}();t.StringUtilities=r}};var t={};function __nested_webpack_require_42809__(r){var n=t[r];if(n!==undefined){return n.exports}var i=t[r]={exports:{}};e[r](i,i.exports,__nested_webpack_require_42809__);return i.exports}var r={};(()=>{var e=r;Object.defineProperty(e,"__esModule",{value:true});e.toString=void 0;var t=__nested_webpack_require_42809__(728);var n=__nested_webpack_require_42809__(336);t.ExpressionDescriptor.initialize(new n.enLocaleLoader);e["default"]=t.ExpressionDescriptor;var i=t.ExpressionDescriptor.toString;e.toString=i})();return r})()))}};var t={};function __nccwpck_require__(r){var n=t[r];if(n!==undefined){return n.exports}var i=t[r]={exports:{}};var o=true;try{e[r](i,i.exports,__nccwpck_require__);o=false}finally{if(o)delete t[r]}return i.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r=__nccwpck_require__(622);module.exports=r})();
1
+ (function(){var e={622:function(e){(function webpackUniversalModuleDefinition(t,r){if(true)e.exports=r();else{}})(globalThis,(()=>(()=>{"use strict";var e={794:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.CronParser=void 0;var n=r(586);var i=function(){function CronParser(e,t,r){if(t===void 0){t=true}if(r===void 0){r=false}this.expression=e;this.dayOfWeekStartIndexZero=t;this.monthStartIndexZero=r}CronParser.prototype.parse=function(){var e=this.extractParts(this.expression);this.normalize(e);this.validate(e);return e};CronParser.prototype.extractParts=function(e){if(!this.expression){throw new Error("cron expression is empty")}var t=e.trim().split(/[ ]+/);for(var r=0;r<t.length;r++){if(t[r].includes(",")){var n=t[r].split(",").map((function(e){return e.trim()})).filter((function(e){return e!==""})).map((function(e){return!isNaN(Number(e))?Number(e):e})).filter((function(e){return e!==null&&e!==""}));if(n.length===0){n.push("*")}n.sort((function(e,t){return e!==null&&t!==null?e-t:0}));t[r]=n.map((function(e){return e!==null?e.toString():""})).join(",")}}if(t.length<5){throw new Error("Expression has only ".concat(t.length," part").concat(t.length==1?"":"s",". At least 5 parts are required."))}else if(t.length==5){t.unshift("");t.push("")}else if(t.length==6){var i=/\d{4}$/.test(t[5])||t[4]=="?"||t[2]=="?";if(i){t.unshift("")}else{t.push("")}}else if(t.length>7){throw new Error("Expression has ".concat(t.length," parts; too many!"))}return t};CronParser.prototype.normalize=function(e){var t=this;e[3]=e[3].replace("?","*");e[5]=e[5].replace("?","*");e[2]=e[2].replace("?","*");if(e[0].indexOf("0/")==0){e[0]=e[0].replace("0/","*/")}if(e[1].indexOf("0/")==0){e[1]=e[1].replace("0/","*/")}if(e[2].indexOf("0/")==0){e[2]=e[2].replace("0/","*/")}if(e[3].indexOf("1/")==0){e[3]=e[3].replace("1/","*/")}if(e[4].indexOf("1/")==0){e[4]=e[4].replace("1/","*/")}if(e[6].indexOf("1/")==0){e[6]=e[6].replace("1/","*/")}e[5]=e[5].replace(/(^\d)|([^#/\s]\d)/g,(function(e){var r=e.replace(/\D/,"");var n=r;if(t.dayOfWeekStartIndexZero){if(r=="7"){n="0"}}else{n=(parseInt(r)-1).toString()}return e.replace(r,n)}));if(e[5]=="L"){e[5]="6"}if(e[3]=="?"){e[3]="*"}if(e[3].indexOf("W")>-1&&(e[3].indexOf(",")>-1||e[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 r={SUN:0,MON:1,TUE:2,WED:3,THU:4,FRI:5,SAT:6};for(var n in r){e[5]=e[5].replace(new RegExp(n,"gi"),r[n].toString())}e[4]=e[4].replace(/(^\d{1,2})|([^#/\s]\d{1,2})/g,(function(e){var r=e.replace(/\D/,"");var n=r;if(t.monthStartIndexZero){n=(parseInt(r)+1).toString()}return e.replace(r,n)}));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){e[4]=e[4].replace(new RegExp(o,"gi"),i[o].toString())}if(e[0]=="0"){e[0]=""}if(!/\*|\-|\,|\//.test(e[2])&&(/\*|\//.test(e[1])||/\*|\//.test(e[0]))){e[2]+="-".concat(e[2])}for(var s=0;s<e.length;s++){if(e[s].indexOf(",")!=-1){e[s]=e[s].split(",").filter((function(e){return e!==""})).join(",")||"*"}if(e[s]=="*/1"){e[s]="*"}if(e[s].indexOf("/")>-1&&!/^\*|\-|\,/.test(e[s])){var a=null;switch(s){case 4:a="12";break;case 5:a="6";break;case 6:a="9999";break;default:a=null;break}if(a!==null){var u=e[s].split("/");e[s]="".concat(u[0],"-").concat(a,"/").concat(u[1])}}}};CronParser.prototype.validate=function(e){this.assertNoInvalidCharacters("DOW",e[5]);this.assertNoInvalidCharacters("DOM",e[3]);this.validateRange(e)};CronParser.prototype.validateRange=function(e){n.default.secondRange(e[0]);n.default.minuteRange(e[1]);n.default.hourRange(e[2]);n.default.dayOfMonthRange(e[3]);n.default.monthRange(e[4],this.monthStartIndexZero);n.default.dayOfWeekRange(e[5],this.dayOfWeekStartIndexZero)};CronParser.prototype.assertNoInvalidCharacters=function(e,t){var r=t.match(/[A-KM-VX-Z]+/gi);if(r&&r.length){throw new Error("".concat(e," part contains invalid values: '").concat(r.toString(),"'"))}};return CronParser}();t.CronParser=i},728:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.ExpressionDescriptor=void 0;var n=r(910);var i=r(794);var o=function(){function ExpressionDescriptor(e,t){this.expression=e;this.options=t;this.expressionParts=new Array(5);if(!this.options.locale&&ExpressionDescriptor.defaultLocale){this.options.locale=ExpressionDescriptor.defaultLocale}if(!ExpressionDescriptor.locales[this.options.locale]){var r=Object.keys(ExpressionDescriptor.locales)[0];console.warn("Locale '".concat(this.options.locale,"' could not be found; falling back to '").concat(r,"'."));this.options.locale=r}this.i18n=ExpressionDescriptor.locales[this.options.locale];if(t.use24HourTimeFormat===undefined){t.use24HourTimeFormat=this.i18n.use24HourTimeFormatByDefault()}}ExpressionDescriptor.toString=function(e,t){var r=t===void 0?{}:t,n=r.throwExceptionOnParseError,i=n===void 0?true:n,o=r.verbose,s=o===void 0?false:o,a=r.dayOfWeekStartIndexZero,u=a===void 0?true:a,c=r.monthStartIndexZero,f=c===void 0?false:c,p=r.use24HourTimeFormat,h=r.locale,l=h===void 0?null:h,d=r.tzOffset,m=d===void 0?0:d;var y={throwExceptionOnParseError:i,verbose:s,dayOfWeekStartIndexZero:u,monthStartIndexZero:f,use24HourTimeFormat:p,locale:l,tzOffset:m};var v=new ExpressionDescriptor(e,y);return v.getFullDescription()};ExpressionDescriptor.initialize=function(e,t){if(t===void 0){t="en"}ExpressionDescriptor.specialCharacters=["/","-",",","*"];ExpressionDescriptor.defaultLocale=t;e.load(ExpressionDescriptor.locales)};ExpressionDescriptor.prototype.getFullDescription=function(){var e="";try{var t=new i.CronParser(this.expression,this.options.dayOfWeekStartIndexZero,this.options.monthStartIndexZero);this.expressionParts=t.parse();var r=this.getTimeOfDayDescription();var n=this.getDayOfMonthDescription();var o=this.getMonthDescription();var s=this.getDayOfWeekDescription();var a=this.getYearDescription();e+=r+n+s+o+a;e=this.transformVerbosity(e,!!this.options.verbose);e=e.charAt(0).toLocaleUpperCase()+e.substr(1)}catch(t){if(!this.options.throwExceptionOnParseError){e=this.i18n.anErrorOccuredWhenGeneratingTheExpressionD()}else{throw"".concat(t)}}return e};ExpressionDescriptor.prototype.getTimeOfDayDescription=function(){var e=this.expressionParts[0];var t=this.expressionParts[1];var r=this.expressionParts[2];var i="";if(!n.StringUtilities.containsAny(t,ExpressionDescriptor.specialCharacters)&&!n.StringUtilities.containsAny(r,ExpressionDescriptor.specialCharacters)&&!n.StringUtilities.containsAny(e,ExpressionDescriptor.specialCharacters)){i+=this.i18n.atSpace()+this.formatTime(r,t,e)}else if(!e&&t.indexOf("-")>-1&&!(t.indexOf(",")>-1)&&!(t.indexOf("/")>-1)&&!n.StringUtilities.containsAny(r,ExpressionDescriptor.specialCharacters)){var o=t.split("-");i+=n.StringUtilities.format(this.i18n.everyMinuteBetweenX0AndX1(),this.formatTime(r,o[0],""),this.formatTime(r,o[1],""))}else if(!e&&r.indexOf(",")>-1&&r.indexOf("-")==-1&&r.indexOf("/")==-1&&!n.StringUtilities.containsAny(t,ExpressionDescriptor.specialCharacters)){var s=r.split(",");i+=this.i18n.at();for(var a=0;a<s.length;a++){i+=" ";i+=this.formatTime(s[a],t,"");if(a<s.length-2){i+=","}if(a==s.length-2){i+=this.i18n.spaceAnd()}}}else{var u=this.getSecondsDescription();var c=this.getMinutesDescription();var f=this.getHoursDescription();i+=u;if(i&&c){i+=", "}i+=c;if(c===f){return i}if(i&&f){i+=", "}i+=f}return i};ExpressionDescriptor.prototype.getSecondsDescription=function(){var e=this;var t=this.getSegmentDescription(this.expressionParts[0],this.i18n.everySecond(),(function(e){return e}),(function(t){return n.StringUtilities.format(e.i18n.everyX0Seconds(t),t)}),(function(t){return e.i18n.secondsX0ThroughX1PastTheMinute()}),(function(t){return t=="0"?"":parseInt(t)<20?e.i18n.atX0SecondsPastTheMinute(t):e.i18n.atX0SecondsPastTheMinuteGt20()||e.i18n.atX0SecondsPastTheMinute(t)}));return t};ExpressionDescriptor.prototype.getMinutesDescription=function(){var e=this;var t=this.expressionParts[0];var r=this.expressionParts[2];var i=this.getSegmentDescription(this.expressionParts[1],this.i18n.everyMinute(),(function(e){return e}),(function(t){return n.StringUtilities.format(e.i18n.everyX0Minutes(t),t)}),(function(t){return e.i18n.minutesX0ThroughX1PastTheHour()}),(function(n){try{return n=="0"&&r.indexOf("/")==-1&&t==""?e.i18n.everyHour():parseInt(n)<20?e.i18n.atX0MinutesPastTheHour(n):e.i18n.atX0MinutesPastTheHourGt20()||e.i18n.atX0MinutesPastTheHour(n)}catch(t){return e.i18n.atX0MinutesPastTheHour(n)}}));return i};ExpressionDescriptor.prototype.getHoursDescription=function(){var e=this;var t=this.expressionParts[2];var r=this.getSegmentDescription(t,this.i18n.everyHour(),(function(t){return e.formatTime(t,"0","")}),(function(t){return n.StringUtilities.format(e.i18n.everyX0Hours(t),t)}),(function(t){return e.i18n.betweenX0AndX1()}),(function(t){return e.i18n.atX0()}));if(r&&t.includes("-")&&this.expressionParts[1]!="0"){var i=Array.from(r.matchAll(/:00/g));if(i.length>1){var o=i[i.length-1].index;r=r.substring(0,o)+":59"+r.substring(o+3)}}return r};ExpressionDescriptor.prototype.getDayOfWeekDescription=function(){var e=this;var t=this.i18n.daysOfTheWeek();var r=null;if(this.expressionParts[5]=="*"){r=""}else{r=this.getSegmentDescription(this.expressionParts[5],this.i18n.commaEveryDay(),(function(r,n){var i=r;if(r.indexOf("#")>-1){i=r.substring(0,r.indexOf("#"))}else if(r.indexOf("L")>-1){i=i.replace("L","")}var o=parseInt(i);if(e.options.tzOffset){var s=e.expressionParts[2];var a=parseInt(s)+(e.options.tzOffset?e.options.tzOffset:0);if(a>=24){o++}else if(a<0){o--}if(o>6){o=0}else if(o<0){o=6}}var u=e.i18n.daysOfTheWeekInCase?e.i18n.daysOfTheWeekInCase(n)[o]:t[o];if(r.indexOf("#")>-1){var c=null;var f=r.substring(r.indexOf("#")+1);var p=r.substring(0,r.indexOf("#"));switch(f){case"1":c=e.i18n.first(p);break;case"2":c=e.i18n.second(p);break;case"3":c=e.i18n.third(p);break;case"4":c=e.i18n.fourth(p);break;case"5":c=e.i18n.fifth(p);break}u=c+" "+u}return u}),(function(t){if(parseInt(t)==1){return""}else{return n.StringUtilities.format(e.i18n.commaEveryX0DaysOfTheWeek(t),t)}}),(function(t){var r=t.substring(0,t.indexOf("-"));var n=e.expressionParts[3]!="*";return n?e.i18n.commaAndX0ThroughX1(r):e.i18n.commaX0ThroughX1(r)}),(function(t){var r=null;if(t.indexOf("#")>-1){var n=t.substring(t.indexOf("#")+1);r=e.i18n.commaOnThe(n).trim()+e.i18n.spaceX0OfTheMonth()}else if(t.indexOf("L")>-1){r=e.i18n.commaOnTheLastX0OfTheMonth(t.replace("L",""))}else{var i=e.expressionParts[3]!="*";r=i?e.i18n.commaAndOnX0():e.i18n.commaOnlyOnX0(t)}return r}))}return r};ExpressionDescriptor.prototype.getMonthDescription=function(){var e=this;var t=this.i18n.monthsOfTheYear();var r=this.getSegmentDescription(this.expressionParts[4],"",(function(r,n){return n&&e.i18n.monthsOfTheYearInCase?e.i18n.monthsOfTheYearInCase(n)[parseInt(r)-1]:t[parseInt(r)-1]}),(function(t){if(parseInt(t)==1){return""}else{return n.StringUtilities.format(e.i18n.commaEveryX0Months(t),t)}}),(function(t){return e.i18n.commaMonthX0ThroughMonthX1()||e.i18n.commaX0ThroughX1()}),(function(t){return e.i18n.commaOnlyInMonthX0?e.i18n.commaOnlyInMonthX0():e.i18n.commaOnlyInX0()}));return r};ExpressionDescriptor.prototype.getDayOfMonthDescription=function(){var e=this;var t=null;var r=this.expressionParts[3];switch(r){case"L":t=this.i18n.commaOnTheLastDayOfTheMonth();break;case"WL":case"LW":t=this.i18n.commaOnTheLastWeekdayOfTheMonth();break;default:var i=r.match(/(\d{1,2}W)|(W\d{1,2})/);if(i){var o=parseInt(i[0].replace("W",""));var s=o==1?this.i18n.firstWeekday():n.StringUtilities.format(this.i18n.weekdayNearestDayX0(),o.toString());t=n.StringUtilities.format(this.i18n.commaOnTheX0OfTheMonth(),s);break}else{var a=r.match(/L-(\d{1,2})/);if(a){var u=a[1];t=n.StringUtilities.format(this.i18n.commaDaysBeforeTheLastDayOfTheMonth(u),u);break}else if(r=="*"&&this.expressionParts[5]!="*"){return""}else{t=this.getSegmentDescription(r,this.i18n.commaEveryDay(),(function(t){return t=="L"?e.i18n.lastDay():e.i18n.dayX0?n.StringUtilities.format(e.i18n.dayX0(),t):t}),(function(t){return t=="1"?e.i18n.commaEveryDay():e.i18n.commaEveryX0Days(t)}),(function(t){return e.i18n.commaBetweenDayX0AndX1OfTheMonth(t)}),(function(t){return e.i18n.commaOnDayX0OfTheMonth(t)}))}break}}return t};ExpressionDescriptor.prototype.getYearDescription=function(){var e=this;var t=this.getSegmentDescription(this.expressionParts[6],"",(function(e){return/^\d+$/.test(e)?new Date(parseInt(e),1).getFullYear().toString():e}),(function(t){return n.StringUtilities.format(e.i18n.commaEveryX0Years(t),t)}),(function(t){return e.i18n.commaYearX0ThroughYearX1()||e.i18n.commaX0ThroughX1()}),(function(t){return e.i18n.commaOnlyInYearX0?e.i18n.commaOnlyInYearX0():e.i18n.commaOnlyInX0()}));return t};ExpressionDescriptor.prototype.getSegmentDescription=function(e,t,r,i,o,s){var a=null;var u=e.indexOf("/")>-1;var c=e.indexOf("-")>-1;var f=e.indexOf(",")>-1;if(!e){a=""}else if(e==="*"){a=t}else if(!u&&!c&&!f){a=n.StringUtilities.format(s(e),r(e))}else if(f){var p=e.split(",");var h="";for(var l=0;l<p.length;l++){if(l>0&&p.length>2){h+=",";if(l<p.length-1){h+=" "}}if(l>0&&p.length>1&&(l==p.length-1||p.length==2)){h+="".concat(this.i18n.spaceAnd()," ")}if(p[l].indexOf("/")>-1||p[l].indexOf("-")>-1){var d=p[l].indexOf("-")>-1&&p[l].indexOf("/")==-1;var m=this.getSegmentDescription(p[l],t,r,i,d?this.i18n.commaX0ThroughX1:o,s);if(d){m=m.replace(", ","")}h+=m}else if(!u){h+=r(p[l])}else{h+=this.getSegmentDescription(p[l],t,r,i,o,s)}}if(!u){a=n.StringUtilities.format(s(e),h)}else{a=h}}else if(u){var p=e.split("/");a=n.StringUtilities.format(i(p[1]),p[1]);if(p[0].indexOf("-")>-1){var y=this.generateRangeSegmentDescription(p[0],o,r);if(y.indexOf(", ")!=0){a+=", "}a+=y}else if(p[0].indexOf("*")==-1){var v=n.StringUtilities.format(s(p[0]),r(p[0]));v=v.replace(", ","");a+=n.StringUtilities.format(this.i18n.commaStartingX0(),v)}}else if(c){a=this.generateRangeSegmentDescription(e,o,r)}return a};ExpressionDescriptor.prototype.generateRangeSegmentDescription=function(e,t,r){var i="";var o=e.split("-");var s=r(o[0],1);var a=r(o[1],2);var u=t(e);i+=n.StringUtilities.format(u,s,a);return i};ExpressionDescriptor.prototype.formatTime=function(e,t,r){var n=0;var i=0;if(this.options.tzOffset){n=this.options.tzOffset>0?Math.floor(this.options.tzOffset):Math.ceil(this.options.tzOffset);i=parseFloat((this.options.tzOffset%1).toFixed(2));if(i!=0){i*=60}}var o=parseInt(e)+n;var s=parseInt(t)+i;if(s>=60){s-=60;o+=1}else if(s<0){s+=60;o-=1}if(o>=24){o=o-24}else if(o<0){o=24+o}var a="";var u=false;if(!this.options.use24HourTimeFormat){u=!!(this.i18n.setPeriodBeforeTime&&this.i18n.setPeriodBeforeTime());a=u?"".concat(this.getPeriod(o)," "):" ".concat(this.getPeriod(o));if(o>12){o-=12}if(o===0){o=12}}var c="";if(r){c=":".concat(("00"+r).substring(r.length))}return"".concat(u?a:"").concat(("00"+o.toString()).substring(o.toString().length),":").concat(("00"+s.toString()).substring(s.toString().length)).concat(c).concat(!u?a:"")};ExpressionDescriptor.prototype.transformVerbosity=function(e,t){if(!t){e=e.replace(new RegExp(", ".concat(this.i18n.everyMinute()),"g"),"");e=e.replace(new RegExp(", ".concat(this.i18n.everyHour()),"g"),"");e=e.replace(new RegExp(this.i18n.commaEveryDay(),"g"),"");e=e.replace(/\, ?$/,"")}return e};ExpressionDescriptor.prototype.getPeriod=function(e){return e>=12?this.i18n.pm&&this.i18n.pm()||"PM":this.i18n.am&&this.i18n.am()||"AM"};ExpressionDescriptor.locales={};return ExpressionDescriptor}();t.ExpressionDescriptor=o},336:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.enLocaleLoader=void 0;var n=r(751);var i=function(){function enLocaleLoader(){}enLocaleLoader.prototype.load=function(e){e["en"]=new n.en};return enLocaleLoader}();t.enLocaleLoader=i},751:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.en=void 0;var r=function(){function en(){}en.prototype.atX0SecondsPastTheMinuteGt20=function(){return null};en.prototype.atX0MinutesPastTheHourGt20=function(){return null};en.prototype.commaMonthX0ThroughMonthX1=function(){return null};en.prototype.commaYearX0ThroughYearX1=function(){return null};en.prototype.use24HourTimeFormatByDefault=function(){return false};en.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"An error occured when generating the expression description. Check the cron expression syntax."};en.prototype.everyMinute=function(){return"every minute"};en.prototype.everyHour=function(){return"every hour"};en.prototype.atSpace=function(){return"At "};en.prototype.everyMinuteBetweenX0AndX1=function(){return"Every minute between %s and %s"};en.prototype.at=function(){return"At"};en.prototype.spaceAnd=function(){return" and"};en.prototype.everySecond=function(){return"every second"};en.prototype.everyX0Seconds=function(){return"every %s seconds"};en.prototype.secondsX0ThroughX1PastTheMinute=function(){return"seconds %s through %s past the minute"};en.prototype.atX0SecondsPastTheMinute=function(){return"at %s seconds past the minute"};en.prototype.everyX0Minutes=function(){return"every %s minutes"};en.prototype.minutesX0ThroughX1PastTheHour=function(){return"minutes %s through %s past the hour"};en.prototype.atX0MinutesPastTheHour=function(){return"at %s minutes past the hour"};en.prototype.everyX0Hours=function(){return"every %s hours"};en.prototype.betweenX0AndX1=function(){return"between %s and %s"};en.prototype.atX0=function(){return"at %s"};en.prototype.commaEveryDay=function(){return", every day"};en.prototype.commaEveryX0DaysOfTheWeek=function(){return", every %s days of the week"};en.prototype.commaX0ThroughX1=function(){return", %s through %s"};en.prototype.commaAndX0ThroughX1=function(){return", %s through %s"};en.prototype.first=function(){return"first"};en.prototype.second=function(){return"second"};en.prototype.third=function(){return"third"};en.prototype.fourth=function(){return"fourth"};en.prototype.fifth=function(){return"fifth"};en.prototype.commaOnThe=function(){return", on the "};en.prototype.spaceX0OfTheMonth=function(){return" %s of the month"};en.prototype.lastDay=function(){return"the last day"};en.prototype.commaOnTheLastX0OfTheMonth=function(){return", on the last %s of the month"};en.prototype.commaOnlyOnX0=function(){return", only on %s"};en.prototype.commaAndOnX0=function(){return", and on %s"};en.prototype.commaEveryX0Months=function(){return", every %s months"};en.prototype.commaOnlyInX0=function(){return", only in %s"};en.prototype.commaOnTheLastDayOfTheMonth=function(){return", on the last day of the month"};en.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", on the last weekday of the month"};en.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return", %s days before the last day of the month"};en.prototype.firstWeekday=function(){return"first weekday"};en.prototype.weekdayNearestDayX0=function(){return"weekday nearest day %s"};en.prototype.commaOnTheX0OfTheMonth=function(){return", on the %s of the month"};en.prototype.commaEveryX0Days=function(){return", every %s days"};en.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return", between day %s and %s of the month"};en.prototype.commaOnDayX0OfTheMonth=function(){return", on day %s of the month"};en.prototype.commaEveryHour=function(){return", every hour"};en.prototype.commaEveryX0Years=function(){return", every %s years"};en.prototype.commaStartingX0=function(){return", starting %s"};en.prototype.daysOfTheWeek=function(){return["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]};en.prototype.monthsOfTheYear=function(){return["January","February","March","April","May","June","July","August","September","October","November","December"]};return en}();t.en=r},586:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});function assert(e,t){if(!e){throw new Error(t)}}var r=function(){function RangeValidator(){}RangeValidator.secondRange=function(e){var t=e.split(",");for(var r=0;r<t.length;r++){if(!isNaN(parseInt(t[r],10))){var n=parseInt(t[r],10);assert(n>=0&&n<=59,"seconds part must be >= 0 and <= 59")}}};RangeValidator.minuteRange=function(e){var t=e.split(",");for(var r=0;r<t.length;r++){if(!isNaN(parseInt(t[r],10))){var n=parseInt(t[r],10);assert(n>=0&&n<=59,"minutes part must be >= 0 and <= 59")}}};RangeValidator.hourRange=function(e){var t=e.split(",");for(var r=0;r<t.length;r++){if(!isNaN(parseInt(t[r],10))){var n=parseInt(t[r],10);assert(n>=0&&n<=23,"hours part must be >= 0 and <= 23")}}};RangeValidator.dayOfMonthRange=function(e){var t=e.split(",");for(var r=0;r<t.length;r++){if(!isNaN(parseInt(t[r],10))){var n=parseInt(t[r],10);assert(n>=1&&n<=31,"DOM part must be >= 1 and <= 31")}}};RangeValidator.monthRange=function(e,t){var r=e.split(",");for(var n=0;n<r.length;n++){if(!isNaN(parseInt(r[n],10))){var i=parseInt(r[n],10);assert(i>=1&&i<=12,t?"month part must be >= 0 and <= 11":"month part must be >= 1 and <= 12")}}};RangeValidator.dayOfWeekRange=function(e,t){var r=e.split(",");for(var n=0;n<r.length;n++){if(!isNaN(parseInt(r[n],10))){var i=parseInt(r[n],10);assert(i>=0&&i<=6,t?"DOW part must be >= 0 and <= 6":"DOW part must be >= 1 and <= 7")}}};return RangeValidator}();t["default"]=r},910:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.StringUtilities=void 0;var r=function(){function StringUtilities(){}StringUtilities.format=function(e){var t=[];for(var r=1;r<arguments.length;r++){t[r-1]=arguments[r]}return e.replace(/%s/g,(function(e){var r=[];for(var n=1;n<arguments.length;n++){r[n-1]=arguments[n]}return t.shift()}))};StringUtilities.containsAny=function(e,t){return t.some((function(t){return e.indexOf(t)>-1}))};return StringUtilities}();t.StringUtilities=r}};var t={};function __nested_webpack_require_45190__(r){var n=t[r];if(n!==undefined){return n.exports}var i=t[r]={exports:{}};e[r](i,i.exports,__nested_webpack_require_45190__);return i.exports}var r={};(()=>{var e=r;Object.defineProperty(e,"__esModule",{value:true});e.toString=void 0;var t=__nested_webpack_require_45190__(728);var n=__nested_webpack_require_45190__(336);t.ExpressionDescriptor.initialize(new n.enLocaleLoader);e["default"]=t.ExpressionDescriptor;var i=t.ExpressionDescriptor.toString;e.toString=i})();return r})()))}};var t={};function __nccwpck_require__(r){var n=t[r];if(n!==undefined){return n.exports}var i=t[r]={exports:{}};var o=true;try{e[r](i,i.exports,__nccwpck_require__);o=false}finally{if(o)delete t[r]}return i.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r=__nccwpck_require__(622);module.exports=r})();
@@ -1 +1 @@
1
- !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("cronstrue",[],e):"object"==typeof exports?exports.cronstrue=e():t.cronstrue=e()}(globalThis,(()=>(()=>{"use strict";var t={794:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CronParser=void 0;var r=n(586),o=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 o={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 i in o)t[4]=t[4].replace(new RegExp(i,"gi"),o[i].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 u=t[a].split("/");t[a]="".concat(u[0],"-").concat(s,"/").concat(u[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=o},728:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.ExpressionDescriptor=void 0;var r=n(910),o=n(794),i=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,o=r.throwExceptionOnParseError,i=void 0===o||o,a=r.verbose,s=void 0!==a&&a,u=r.dayOfWeekStartIndexZero,c=void 0===u||u,h=r.monthStartIndexZero,p=void 0!==h&&h,f=r.use24HourTimeFormat,l=r.locale;return new t(e,{throwExceptionOnParseError:i,verbose:s,dayOfWeekStartIndexZero:c,monthStartIndexZero:p,use24HourTimeFormat:f,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 o.CronParser(this.expression,this.options.dayOfWeekStartIndexZero,this.options.monthStartIndexZero);this.expressionParts=e.parse();var n=this.getTimeOfDayDescription(),r=this.getDayOfMonthDescription(),i=this.getMonthDescription();t+=n+r+this.getDayOfWeekDescription()+i+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],o=this.expressionParts[2],i="";if(r.StringUtilities.containsAny(n,t.specialCharacters)||r.StringUtilities.containsAny(o,t.specialCharacters)||r.StringUtilities.containsAny(e,t.specialCharacters))if(e||!(n.indexOf("-")>-1)||n.indexOf(",")>-1||n.indexOf("/")>-1||r.StringUtilities.containsAny(o,t.specialCharacters))if(!e&&o.indexOf(",")>-1&&-1==o.indexOf("-")&&-1==o.indexOf("/")&&!r.StringUtilities.containsAny(n,t.specialCharacters)){var a=o.split(",");i+=this.i18n.at();for(var s=0;s<a.length;s++)i+=" ",i+=this.formatTime(a[s],n,""),s<a.length-2&&(i+=","),s==a.length-2&&(i+=this.i18n.spaceAnd())}else{var u=this.getSecondsDescription(),c=this.getMinutesDescription(),h=this.getHoursDescription();if((i+=u)&&c&&(i+=", "),i+=c,c===h)return i;i&&h&&(i+=", "),i+=h}else{var p=n.split("-");i+=r.StringUtilities.format(this.i18n.everyMinuteBetweenX0AndX1(),this.formatTime(o,p[0],""),this.formatTime(o,p[1],""))}else i+=this.i18n.atSpace()+this.formatTime(o,n,e);return i},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),e)}),(function(e){return t.i18n.secondsX0ThroughX1PastTheMinute()}),(function(e){return"0"==e?"":parseInt(e)<20?t.i18n.atX0SecondsPastTheMinute(e):t.i18n.atX0SecondsPastTheMinuteGt20()||t.i18n.atX0SecondsPastTheMinute(e)}))},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),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(r):t.i18n.atX0MinutesPastTheHourGt20()||t.i18n.atX0MinutesPastTheHour(r)}catch(e){return t.i18n.atX0MinutesPastTheHour(r)}}))},t.prototype.getHoursDescription=function(){var t=this,e=this.expressionParts[2],n=this.getSegmentDescription(e,this.i18n.everyHour(),(function(e){return t.formatTime(e,"0","")}),(function(e){return r.StringUtilities.format(t.i18n.everyX0Hours(e),e)}),(function(e){return t.i18n.betweenX0AndX1()}),(function(e){return t.i18n.atX0()}));if(n&&e.includes("-")&&"0"!=this.expressionParts[1]){var o=Array.from(n.matchAll(/:00/g));if(o.length>1){var i=o[o.length-1].index;n=n.substring(0,i)+":59"+n.substring(i+3)}}return n},t.prototype.getDayOfWeekDescription=function(){var t=this,e=this.i18n.daysOfTheWeek();return"*"==this.expressionParts[5]?"":this.getSegmentDescription(this.expressionParts[5],this.i18n.commaEveryDay(),(function(n,r){var o=n;n.indexOf("#")>-1?o=n.substring(0,n.indexOf("#")):n.indexOf("L")>-1&&(o=o.replace("L",""));var i=t.i18n.daysOfTheWeekInCase?t.i18n.daysOfTheWeekInCase(r)[parseInt(o)]:e[parseInt(o)];if(n.indexOf("#")>-1){var a=null,s=n.substring(n.indexOf("#")+1),u=n.substring(0,n.indexOf("#"));switch(s){case"1":a=t.i18n.first(u);break;case"2":a=t.i18n.second(u);break;case"3":a=t.i18n.third(u);break;case"4":a=t.i18n.fourth(u);break;case"5":a=t.i18n.fifth(u)}i=a+" "+i}return i}),(function(e){return 1==parseInt(e)?"":r.StringUtilities.format(t.i18n.commaEveryX0DaysOfTheWeek(e),e)}),(function(e){var n=e.substring(0,e.indexOf("-"));return"*"!=t.expressionParts[3]?t.i18n.commaAndX0ThroughX1(n):t.i18n.commaX0ThroughX1(n)}),(function(e){var n=null;if(e.indexOf("#")>-1){var r=e.substring(e.indexOf("#")+1);n=t.i18n.commaOnThe(r).trim()+t.i18n.spaceX0OfTheMonth()}else if(e.indexOf("L")>-1)n=t.i18n.commaOnTheLastX0OfTheMonth(e.replace("L",""));else{n="*"!=t.expressionParts[3]?t.i18n.commaAndOnX0():t.i18n.commaOnlyOnX0(e)}return n}))},t.prototype.getMonthDescription=function(){var t=this,e=this.i18n.monthsOfTheYear();return this.getSegmentDescription(this.expressionParts[4],"",(function(n,r){return r&&t.i18n.monthsOfTheYearInCase?t.i18n.monthsOfTheYearInCase(r)[parseInt(n)-1]:e[parseInt(n)-1]}),(function(e){return 1==parseInt(e)?"":r.StringUtilities.format(t.i18n.commaEveryX0Months(e),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 o=n.match(/(\d{1,2}W)|(W\d{1,2})/);if(o){var i=parseInt(o[0].replace("W","")),a=1==i?this.i18n.firstWeekday():r.StringUtilities.format(this.i18n.weekdayNearestDayX0(),i.toString());e=r.StringUtilities.format(this.i18n.commaOnTheX0OfTheMonth(),a);break}var s=n.match(/L-(\d{1,2})/);if(s){var u=s[1];e=r.StringUtilities.format(this.i18n.commaDaysBeforeTheLastDayOfTheMonth(u),u);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(e)}),(function(e){return t.i18n.commaBetweenDayX0AndX1OfTheMonth(e)}),(function(e){return t.i18n.commaOnDayX0OfTheMonth(e)}))}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),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,o,i,a){var s=null,u=t.indexOf("/")>-1,c=t.indexOf("-")>-1,h=t.indexOf(",")>-1;if(t)if("*"===t)s=e;else if(u||c||h)if(h){for(var p=t.split(","),f="",l=0;l<p.length;l++)if(l>0&&p.length>2&&(f+=",",l<p.length-1&&(f+=" ")),l>0&&p.length>1&&(l==p.length-1||2==p.length)&&(f+="".concat(this.i18n.spaceAnd()," ")),p[l].indexOf("/")>-1||p[l].indexOf("-")>-1){var y=p[l].indexOf("-")>-1&&-1==p[l].indexOf("/"),m=this.getSegmentDescription(p[l],e,n,o,y?this.i18n.commaX0ThroughX1:i,a);y&&(m=m.replace(", ","")),f+=m}else f+=u?this.getSegmentDescription(p[l],e,n,o,i,a):n(p[l]);s=u?f:r.StringUtilities.format(a(t),f)}else if(u){p=t.split("/");if(s=r.StringUtilities.format(o(p[1]),p[1]),p[0].indexOf("-")>-1){var d=this.generateRangeSegmentDescription(p[0],i,n);0!=d.indexOf(", ")&&(s+=", "),s+=d}else if(-1==p[0].indexOf("*")){var g=r.StringUtilities.format(a(p[0]),n(p[0]));g=g.replace(", ",""),s+=r.StringUtilities.format(this.i18n.commaStartingX0(),g)}}else c&&(s=this.generateRangeSegmentDescription(t,i,n));else s=r.StringUtilities.format(a(t),n(t));else s="";return s},t.prototype.generateRangeSegmentDescription=function(t,e,n){var o="",i=t.split("-"),a=n(i[0],1),s=n(i[1],2),u=e(t);return o+=r.StringUtilities.format(u,a,s)},t.prototype.formatTime=function(t,e,n){var r=parseInt(t),o="",i=!1;this.options.use24HourTimeFormat||(o=(i=!(!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(i?o:"").concat(("00"+r.toString()).substring(r.toString().length),":").concat(("00"+a.toString()).substring(a.toString().length)).concat(s).concat(i?"":o)},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.ExpressionDescriptor=i},336:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.enLocaleLoader=void 0;var r=n(751),o=function(){function t(){}return t.prototype.load=function(t){t.en=new r.en},t}();e.enLocaleLoader=o},751:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.en=void 0;var n=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!1},t.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"An error occured when generating the expression description. Check the cron expression syntax."},t.prototype.everyMinute=function(){return"every minute"},t.prototype.everyHour=function(){return"every hour"},t.prototype.atSpace=function(){return"At "},t.prototype.everyMinuteBetweenX0AndX1=function(){return"Every minute between %s and %s"},t.prototype.at=function(){return"At"},t.prototype.spaceAnd=function(){return" and"},t.prototype.everySecond=function(){return"every second"},t.prototype.everyX0Seconds=function(){return"every %s seconds"},t.prototype.secondsX0ThroughX1PastTheMinute=function(){return"seconds %s through %s past the minute"},t.prototype.atX0SecondsPastTheMinute=function(){return"at %s seconds past the minute"},t.prototype.everyX0Minutes=function(){return"every %s minutes"},t.prototype.minutesX0ThroughX1PastTheHour=function(){return"minutes %s through %s past the hour"},t.prototype.atX0MinutesPastTheHour=function(){return"at %s minutes past the hour"},t.prototype.everyX0Hours=function(){return"every %s hours"},t.prototype.betweenX0AndX1=function(){return"between %s and %s"},t.prototype.atX0=function(){return"at %s"},t.prototype.commaEveryDay=function(){return", every day"},t.prototype.commaEveryX0DaysOfTheWeek=function(){return", every %s days of the week"},t.prototype.commaX0ThroughX1=function(){return", %s through %s"},t.prototype.commaAndX0ThroughX1=function(){return", %s through %s"},t.prototype.first=function(){return"first"},t.prototype.second=function(){return"second"},t.prototype.third=function(){return"third"},t.prototype.fourth=function(){return"fourth"},t.prototype.fifth=function(){return"fifth"},t.prototype.commaOnThe=function(){return", on the "},t.prototype.spaceX0OfTheMonth=function(){return" %s of the month"},t.prototype.lastDay=function(){return"the last day"},t.prototype.commaOnTheLastX0OfTheMonth=function(){return", on the last %s of the month"},t.prototype.commaOnlyOnX0=function(){return", only on %s"},t.prototype.commaAndOnX0=function(){return", and on %s"},t.prototype.commaEveryX0Months=function(){return", every %s months"},t.prototype.commaOnlyInX0=function(){return", only in %s"},t.prototype.commaOnTheLastDayOfTheMonth=function(){return", on the last day of the month"},t.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", on the last weekday of the month"},t.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return", %s days before the last day of the month"},t.prototype.firstWeekday=function(){return"first weekday"},t.prototype.weekdayNearestDayX0=function(){return"weekday nearest day %s"},t.prototype.commaOnTheX0OfTheMonth=function(){return", on the %s of the month"},t.prototype.commaEveryX0Days=function(){return", every %s days"},t.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return", between day %s and %s of the month"},t.prototype.commaOnDayX0OfTheMonth=function(){return", on day %s of the month"},t.prototype.commaEveryHour=function(){return", every hour"},t.prototype.commaEveryX0Years=function(){return", every %s years"},t.prototype.commaStartingX0=function(){return", starting %s"},t.prototype.daysOfTheWeek=function(){return["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},t.prototype.monthsOfTheYear=function(){return["January","February","March","April","May","June","July","August","September","October","November","December"]},t}();e.en=n},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 o=parseInt(e[r],10);n(o>=0&&o<=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 o=parseInt(e[r],10);n(o>=0&&o<=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 o=parseInt(e[r],10);n(o>=0&&o<=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 o=parseInt(e[r],10);n(o>=1&&o<=31,"DOM part must be >= 1 and <= 31")}},t.monthRange=function(t,e){for(var r=t.split(","),o=0;o<r.length;o++)if(!isNaN(parseInt(r[o],10))){var i=parseInt(r[o],10);n(i>=1&&i<=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(","),o=0;o<r.length;o++)if(!isNaN(parseInt(r[o],10))){var i=parseInt(r[o],10);n(i>=0&&i<=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 o=e[r];if(void 0!==o)return o.exports;var i=e[r]={exports:{}};return t[r](i,i.exports,n),i.exports}var r={};return(()=>{var t=r;Object.defineProperty(t,"__esModule",{value:!0}),t.toString=void 0;var e=n(728),o=n(336);e.ExpressionDescriptor.initialize(new o.enLocaleLoader),t.default=e.ExpressionDescriptor;var i=e.ExpressionDescriptor.toString;t.toString=i})(),r})()));
1
+ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("cronstrue",[],e):"object"==typeof exports?exports.cronstrue=e():t.cronstrue=e()}(globalThis,(()=>(()=>{"use strict";var t={794:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CronParser=void 0;var r=n(586),o=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("cron expression is empty");for(var e=t.trim().split(/[ ]+/),n=0;n<e.length;n++)if(e[n].includes(",")){var r=e[n].split(",").map((function(t){return t.trim()})).filter((function(t){return""!==t})).map((function(t){return isNaN(Number(t))?t:Number(t)})).filter((function(t){return null!==t&&""!==t}));0===r.length&&r.push("*"),r.sort((function(t,e){return null!==t&&null!==e?t-e:0})),e[n]=r.map((function(t){return null!==t?t.toString():""})).join(",")}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 o={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 i in o)t[4]=t[4].replace(new RegExp(i,"gi"),o[i].toString());"0"==t[0]&&(t[0]=""),/\*|\-|\,|\//.test(t[2])||!/\*|\//.test(t[1])&&!/\*|\//.test(t[0])||(t[2]+="-".concat(t[2]));for(var s=0;s<t.length;s++)if(-1!=t[s].indexOf(",")&&(t[s]=t[s].split(",").filter((function(t){return""!==t})).join(",")||"*"),"*/1"==t[s]&&(t[s]="*"),t[s].indexOf("/")>-1&&!/^\*|\-|\,/.test(t[s])){var a=null;switch(s){case 4:a="12";break;case 5:a="6";break;case 6:a="9999";break;default:a=null}if(null!==a){var u=t[s].split("/");t[s]="".concat(u[0],"-").concat(a,"/").concat(u[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=o},728:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.ExpressionDescriptor=void 0;var r=n(910),o=n(794),i=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,o=r.throwExceptionOnParseError,i=void 0===o||o,s=r.verbose,a=void 0!==s&&s,u=r.dayOfWeekStartIndexZero,c=void 0===u||u,f=r.monthStartIndexZero,h=void 0!==f&&f,p=r.use24HourTimeFormat,l=r.locale,m=void 0===l?null:l,d=r.tzOffset;return new t(e,{throwExceptionOnParseError:i,verbose:a,dayOfWeekStartIndexZero:c,monthStartIndexZero:h,use24HourTimeFormat:p,locale:m,tzOffset:void 0===d?0:d}).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 o.CronParser(this.expression,this.options.dayOfWeekStartIndexZero,this.options.monthStartIndexZero);this.expressionParts=e.parse();var n=this.getTimeOfDayDescription(),r=this.getDayOfMonthDescription(),i=this.getMonthDescription();t+=n+r+this.getDayOfWeekDescription()+i+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],o=this.expressionParts[2],i="";if(r.StringUtilities.containsAny(n,t.specialCharacters)||r.StringUtilities.containsAny(o,t.specialCharacters)||r.StringUtilities.containsAny(e,t.specialCharacters))if(e||!(n.indexOf("-")>-1)||n.indexOf(",")>-1||n.indexOf("/")>-1||r.StringUtilities.containsAny(o,t.specialCharacters))if(!e&&o.indexOf(",")>-1&&-1==o.indexOf("-")&&-1==o.indexOf("/")&&!r.StringUtilities.containsAny(n,t.specialCharacters)){var s=o.split(",");i+=this.i18n.at();for(var a=0;a<s.length;a++)i+=" ",i+=this.formatTime(s[a],n,""),a<s.length-2&&(i+=","),a==s.length-2&&(i+=this.i18n.spaceAnd())}else{var u=this.getSecondsDescription(),c=this.getMinutesDescription(),f=this.getHoursDescription();if((i+=u)&&c&&(i+=", "),i+=c,c===f)return i;i&&f&&(i+=", "),i+=f}else{var h=n.split("-");i+=r.StringUtilities.format(this.i18n.everyMinuteBetweenX0AndX1(),this.formatTime(o,h[0],""),this.formatTime(o,h[1],""))}else i+=this.i18n.atSpace()+this.formatTime(o,n,e);return i},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),e)}),(function(e){return t.i18n.secondsX0ThroughX1PastTheMinute()}),(function(e){return"0"==e?"":parseInt(e)<20?t.i18n.atX0SecondsPastTheMinute(e):t.i18n.atX0SecondsPastTheMinuteGt20()||t.i18n.atX0SecondsPastTheMinute(e)}))},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),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(r):t.i18n.atX0MinutesPastTheHourGt20()||t.i18n.atX0MinutesPastTheHour(r)}catch(e){return t.i18n.atX0MinutesPastTheHour(r)}}))},t.prototype.getHoursDescription=function(){var t=this,e=this.expressionParts[2],n=this.getSegmentDescription(e,this.i18n.everyHour(),(function(e){return t.formatTime(e,"0","")}),(function(e){return r.StringUtilities.format(t.i18n.everyX0Hours(e),e)}),(function(e){return t.i18n.betweenX0AndX1()}),(function(e){return t.i18n.atX0()}));if(n&&e.includes("-")&&"0"!=this.expressionParts[1]){var o=Array.from(n.matchAll(/:00/g));if(o.length>1){var i=o[o.length-1].index;n=n.substring(0,i)+":59"+n.substring(i+3)}}return n},t.prototype.getDayOfWeekDescription=function(){var t=this,e=this.i18n.daysOfTheWeek();return"*"==this.expressionParts[5]?"":this.getSegmentDescription(this.expressionParts[5],this.i18n.commaEveryDay(),(function(n,r){var o=n;n.indexOf("#")>-1?o=n.substring(0,n.indexOf("#")):n.indexOf("L")>-1&&(o=o.replace("L",""));var i=parseInt(o);if(t.options.tzOffset){var s=t.expressionParts[2],a=parseInt(s)+(t.options.tzOffset?t.options.tzOffset:0);a>=24?i++:a<0&&i--,i>6?i=0:i<0&&(i=6)}var u=t.i18n.daysOfTheWeekInCase?t.i18n.daysOfTheWeekInCase(r)[i]:e[i];if(n.indexOf("#")>-1){var c=null,f=n.substring(n.indexOf("#")+1),h=n.substring(0,n.indexOf("#"));switch(f){case"1":c=t.i18n.first(h);break;case"2":c=t.i18n.second(h);break;case"3":c=t.i18n.third(h);break;case"4":c=t.i18n.fourth(h);break;case"5":c=t.i18n.fifth(h)}u=c+" "+u}return u}),(function(e){return 1==parseInt(e)?"":r.StringUtilities.format(t.i18n.commaEveryX0DaysOfTheWeek(e),e)}),(function(e){var n=e.substring(0,e.indexOf("-"));return"*"!=t.expressionParts[3]?t.i18n.commaAndX0ThroughX1(n):t.i18n.commaX0ThroughX1(n)}),(function(e){var n=null;if(e.indexOf("#")>-1){var r=e.substring(e.indexOf("#")+1);n=t.i18n.commaOnThe(r).trim()+t.i18n.spaceX0OfTheMonth()}else if(e.indexOf("L")>-1)n=t.i18n.commaOnTheLastX0OfTheMonth(e.replace("L",""));else{n="*"!=t.expressionParts[3]?t.i18n.commaAndOnX0():t.i18n.commaOnlyOnX0(e)}return n}))},t.prototype.getMonthDescription=function(){var t=this,e=this.i18n.monthsOfTheYear();return this.getSegmentDescription(this.expressionParts[4],"",(function(n,r){return r&&t.i18n.monthsOfTheYearInCase?t.i18n.monthsOfTheYearInCase(r)[parseInt(n)-1]:e[parseInt(n)-1]}),(function(e){return 1==parseInt(e)?"":r.StringUtilities.format(t.i18n.commaEveryX0Months(e),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 o=n.match(/(\d{1,2}W)|(W\d{1,2})/);if(o){var i=parseInt(o[0].replace("W","")),s=1==i?this.i18n.firstWeekday():r.StringUtilities.format(this.i18n.weekdayNearestDayX0(),i.toString());e=r.StringUtilities.format(this.i18n.commaOnTheX0OfTheMonth(),s);break}var a=n.match(/L-(\d{1,2})/);if(a){var u=a[1];e=r.StringUtilities.format(this.i18n.commaDaysBeforeTheLastDayOfTheMonth(u),u);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(e)}),(function(e){return t.i18n.commaBetweenDayX0AndX1OfTheMonth(e)}),(function(e){return t.i18n.commaOnDayX0OfTheMonth(e)}))}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),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,o,i,s){var a=null,u=t.indexOf("/")>-1,c=t.indexOf("-")>-1,f=t.indexOf(",")>-1;if(t)if("*"===t)a=e;else if(u||c||f)if(f){for(var h=t.split(","),p="",l=0;l<h.length;l++)if(l>0&&h.length>2&&(p+=",",l<h.length-1&&(p+=" ")),l>0&&h.length>1&&(l==h.length-1||2==h.length)&&(p+="".concat(this.i18n.spaceAnd()," ")),h[l].indexOf("/")>-1||h[l].indexOf("-")>-1){var m=h[l].indexOf("-")>-1&&-1==h[l].indexOf("/"),d=this.getSegmentDescription(h[l],e,n,o,m?this.i18n.commaX0ThroughX1:i,s);m&&(d=d.replace(", ","")),p+=d}else p+=u?this.getSegmentDescription(h[l],e,n,o,i,s):n(h[l]);a=u?p:r.StringUtilities.format(s(t),p)}else if(u){h=t.split("/");if(a=r.StringUtilities.format(o(h[1]),h[1]),h[0].indexOf("-")>-1){var y=this.generateRangeSegmentDescription(h[0],i,n);0!=y.indexOf(", ")&&(a+=", "),a+=y}else if(-1==h[0].indexOf("*")){var g=r.StringUtilities.format(s(h[0]),n(h[0]));g=g.replace(", ",""),a+=r.StringUtilities.format(this.i18n.commaStartingX0(),g)}}else c&&(a=this.generateRangeSegmentDescription(t,i,n));else a=r.StringUtilities.format(s(t),n(t));else a="";return a},t.prototype.generateRangeSegmentDescription=function(t,e,n){var o="",i=t.split("-"),s=n(i[0],1),a=n(i[1],2),u=e(t);return o+=r.StringUtilities.format(u,s,a)},t.prototype.formatTime=function(t,e,n){var r=0,o=0;this.options.tzOffset&&(r=this.options.tzOffset>0?Math.floor(this.options.tzOffset):Math.ceil(this.options.tzOffset),0!=(o=parseFloat((this.options.tzOffset%1).toFixed(2)))&&(o*=60));var i=parseInt(t)+r,s=parseInt(e)+o;s>=60?(s-=60,i+=1):s<0&&(s+=60,i-=1),i>=24?i-=24:i<0&&(i=24+i);var a="",u=!1;this.options.use24HourTimeFormat||(a=(u=!(!this.i18n.setPeriodBeforeTime||!this.i18n.setPeriodBeforeTime()))?"".concat(this.getPeriod(i)," "):" ".concat(this.getPeriod(i)),i>12&&(i-=12),0===i&&(i=12));var c="";return n&&(c=":".concat(("00"+n).substring(n.length))),"".concat(u?a:"").concat(("00"+i.toString()).substring(i.toString().length),":").concat(("00"+s.toString()).substring(s.toString().length)).concat(c).concat(u?"":a)},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.ExpressionDescriptor=i},336:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.enLocaleLoader=void 0;var r=n(751),o=function(){function t(){}return t.prototype.load=function(t){t.en=new r.en},t}();e.enLocaleLoader=o},751:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.en=void 0;var n=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!1},t.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"An error occured when generating the expression description. Check the cron expression syntax."},t.prototype.everyMinute=function(){return"every minute"},t.prototype.everyHour=function(){return"every hour"},t.prototype.atSpace=function(){return"At "},t.prototype.everyMinuteBetweenX0AndX1=function(){return"Every minute between %s and %s"},t.prototype.at=function(){return"At"},t.prototype.spaceAnd=function(){return" and"},t.prototype.everySecond=function(){return"every second"},t.prototype.everyX0Seconds=function(){return"every %s seconds"},t.prototype.secondsX0ThroughX1PastTheMinute=function(){return"seconds %s through %s past the minute"},t.prototype.atX0SecondsPastTheMinute=function(){return"at %s seconds past the minute"},t.prototype.everyX0Minutes=function(){return"every %s minutes"},t.prototype.minutesX0ThroughX1PastTheHour=function(){return"minutes %s through %s past the hour"},t.prototype.atX0MinutesPastTheHour=function(){return"at %s minutes past the hour"},t.prototype.everyX0Hours=function(){return"every %s hours"},t.prototype.betweenX0AndX1=function(){return"between %s and %s"},t.prototype.atX0=function(){return"at %s"},t.prototype.commaEveryDay=function(){return", every day"},t.prototype.commaEveryX0DaysOfTheWeek=function(){return", every %s days of the week"},t.prototype.commaX0ThroughX1=function(){return", %s through %s"},t.prototype.commaAndX0ThroughX1=function(){return", %s through %s"},t.prototype.first=function(){return"first"},t.prototype.second=function(){return"second"},t.prototype.third=function(){return"third"},t.prototype.fourth=function(){return"fourth"},t.prototype.fifth=function(){return"fifth"},t.prototype.commaOnThe=function(){return", on the "},t.prototype.spaceX0OfTheMonth=function(){return" %s of the month"},t.prototype.lastDay=function(){return"the last day"},t.prototype.commaOnTheLastX0OfTheMonth=function(){return", on the last %s of the month"},t.prototype.commaOnlyOnX0=function(){return", only on %s"},t.prototype.commaAndOnX0=function(){return", and on %s"},t.prototype.commaEveryX0Months=function(){return", every %s months"},t.prototype.commaOnlyInX0=function(){return", only in %s"},t.prototype.commaOnTheLastDayOfTheMonth=function(){return", on the last day of the month"},t.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", on the last weekday of the month"},t.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return", %s days before the last day of the month"},t.prototype.firstWeekday=function(){return"first weekday"},t.prototype.weekdayNearestDayX0=function(){return"weekday nearest day %s"},t.prototype.commaOnTheX0OfTheMonth=function(){return", on the %s of the month"},t.prototype.commaEveryX0Days=function(){return", every %s days"},t.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return", between day %s and %s of the month"},t.prototype.commaOnDayX0OfTheMonth=function(){return", on day %s of the month"},t.prototype.commaEveryHour=function(){return", every hour"},t.prototype.commaEveryX0Years=function(){return", every %s years"},t.prototype.commaStartingX0=function(){return", starting %s"},t.prototype.daysOfTheWeek=function(){return["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},t.prototype.monthsOfTheYear=function(){return["January","February","March","April","May","June","July","August","September","October","November","December"]},t}();e.en=n},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 o=parseInt(e[r],10);n(o>=0&&o<=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 o=parseInt(e[r],10);n(o>=0&&o<=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 o=parseInt(e[r],10);n(o>=0&&o<=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 o=parseInt(e[r],10);n(o>=1&&o<=31,"DOM part must be >= 1 and <= 31")}},t.monthRange=function(t,e){for(var r=t.split(","),o=0;o<r.length;o++)if(!isNaN(parseInt(r[o],10))){var i=parseInt(r[o],10);n(i>=1&&i<=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(","),o=0;o<r.length;o++)if(!isNaN(parseInt(r[o],10))){var i=parseInt(r[o],10);n(i>=0&&i<=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 o=e[r];if(void 0!==o)return o.exports;var i=e[r]={exports:{}};return t[r](i,i.exports,n),i.exports}var r={};return(()=>{var t=r;Object.defineProperty(t,"__esModule",{value:!0}),t.toString=void 0;var e=n(728),o=n(336);e.ExpressionDescriptor.initialize(new o.enLocaleLoader),t.default=e.ExpressionDescriptor;var i=e.ExpressionDescriptor.toString;t.toString=i})(),r})()));
@@ -11,7 +11,7 @@ export declare class ExpressionDescriptor {
11
11
  expressionParts: string[];
12
12
  options: Options;
13
13
  i18n: Locale;
14
- static toString(expression: string, { throwExceptionOnParseError, verbose, dayOfWeekStartIndexZero, monthStartIndexZero, use24HourTimeFormat, locale, }?: Options): string;
14
+ static toString(expression: string, { throwExceptionOnParseError, verbose, dayOfWeekStartIndexZero, monthStartIndexZero, use24HourTimeFormat, locale, tzOffset }?: Options): string;
15
15
  static initialize(localesLoader: LocaleLoader, defaultLocale?: string): void;
16
16
  constructor(expression: string, options: Options);
17
17
  protected getFullDescription(): string;
@@ -32,3 +32,6 @@ export { hu } from "./locales/hu";
32
32
  export { af } from "./locales/af";
33
33
  export { th } from "./locales/th";
34
34
  export { ar } from './locales/ar';
35
+ export { vi } from './locales/vi';
36
+ export { my } from './locales/my';
37
+ export { bg } from './locales/bg';
@@ -0,0 +1,56 @@
1
+ import type { Locale } from '../locale';
2
+ export declare class bg implements Locale {
3
+ atX0SecondsPastTheMinuteGt20(): string | null;
4
+ atX0MinutesPastTheHourGt20(): string | null;
5
+ commaMonthX0ThroughMonthX1(): string | null;
6
+ commaYearX0ThroughYearX1(): string | null;
7
+ use24HourTimeFormatByDefault(): boolean;
8
+ everyMinute(): string;
9
+ everyHour(): string;
10
+ anErrorOccuredWhenGeneratingTheExpressionD(): string;
11
+ atSpace(): string;
12
+ everyMinuteBetweenX0AndX1(): string;
13
+ at(): string;
14
+ spaceAnd(): string;
15
+ everySecond(): string;
16
+ everyX0Seconds(s?: string): string;
17
+ secondsX0ThroughX1PastTheMinute(): string;
18
+ atX0SecondsPastTheMinute(s?: string): string;
19
+ everyX0Minutes(s?: string): string;
20
+ minutesX0ThroughX1PastTheHour(): string;
21
+ atX0MinutesPastTheHour(s?: string): string;
22
+ everyX0Hours(s?: string): string;
23
+ betweenX0AndX1(): string;
24
+ atX0(): string;
25
+ commaEveryDay(): string;
26
+ commaEveryX0DaysOfTheWeek(s?: string): string;
27
+ commaX0ThroughX1(s?: string): string;
28
+ commaAndX0ThroughX1(s?: string): string;
29
+ first(s?: string): string;
30
+ second(s?: string): string;
31
+ third(s?: string): string;
32
+ fourth(s?: string): string;
33
+ fifth(s?: string): string;
34
+ commaOnThe(s?: string): string;
35
+ spaceX0OfTheMonth(): string;
36
+ lastDay(): string;
37
+ commaOnTheLastX0OfTheMonth(s?: string): string;
38
+ commaOnlyOnX0(s?: string): string;
39
+ commaAndOnX0(): string;
40
+ commaEveryX0Months(s?: string): string;
41
+ commaOnlyInMonthX0(): string;
42
+ commaOnlyInX0(): string;
43
+ commaOnTheLastDayOfTheMonth(): string;
44
+ commaOnTheLastWeekdayOfTheMonth(): string;
45
+ commaDaysBeforeTheLastDayOfTheMonth(s?: string): string;
46
+ firstWeekday(): string;
47
+ weekdayNearestDayX0(): string;
48
+ commaOnTheX0OfTheMonth(): string;
49
+ commaEveryX0Days(s?: string): string;
50
+ commaBetweenDayX0AndX1OfTheMonth(s?: string): string;
51
+ commaOnDayX0OfTheMonth(s?: string): string;
52
+ commaEveryX0Years(s?: string): string;
53
+ commaStartingX0(): string;
54
+ daysOfTheWeek(): string[];
55
+ monthsOfTheYear(): string[];
56
+ }
@@ -0,0 +1,56 @@
1
+ import { Locale } from "../locale";
2
+ export declare class my implements Locale {
3
+ atX0SecondsPastTheMinuteGt20(): string | null;
4
+ atX0MinutesPastTheHourGt20(): string | null;
5
+ commaMonthX0ThroughMonthX1(): string | null;
6
+ commaYearX0ThroughYearX1(): string | null;
7
+ use24HourTimeFormatByDefault(): boolean;
8
+ anErrorOccuredWhenGeneratingTheExpressionD(): string;
9
+ everyMinute(): string;
10
+ everyHour(): string;
11
+ atSpace(): string;
12
+ everyMinuteBetweenX0AndX1(): string;
13
+ at(): string;
14
+ spaceAnd(): string;
15
+ everySecond(): string;
16
+ everyX0Seconds(): string;
17
+ secondsX0ThroughX1PastTheMinute(): string;
18
+ atX0SecondsPastTheMinute(): string;
19
+ everyX0Minutes(): string;
20
+ minutesX0ThroughX1PastTheHour(): string;
21
+ atX0MinutesPastTheHour(): string;
22
+ everyX0Hours(): string;
23
+ betweenX0AndX1(): string;
24
+ atX0(): string;
25
+ commaEveryDay(): string;
26
+ commaEveryX0DaysOfTheWeek(): string;
27
+ commaX0ThroughX1(): string;
28
+ commaAndX0ThroughX1(): string;
29
+ first(): string;
30
+ second(): string;
31
+ third(): string;
32
+ fourth(): string;
33
+ fifth(): string;
34
+ commaOnThe(): string;
35
+ spaceX0OfTheMonth(): string;
36
+ lastDay(): string;
37
+ commaOnTheLastX0OfTheMonth(): string;
38
+ commaOnlyOnX0(): string;
39
+ commaAndOnX0(): string;
40
+ commaEveryX0Months(): string;
41
+ commaOnlyInX0(): string;
42
+ commaOnTheLastDayOfTheMonth(): string;
43
+ commaOnTheLastWeekdayOfTheMonth(): string;
44
+ commaDaysBeforeTheLastDayOfTheMonth(): string;
45
+ firstWeekday(): string;
46
+ weekdayNearestDayX0(): string;
47
+ commaOnTheX0OfTheMonth(): string;
48
+ commaEveryX0Days(): string;
49
+ commaBetweenDayX0AndX1OfTheMonth(): string;
50
+ commaOnDayX0OfTheMonth(): string;
51
+ commaEveryHour(): string;
52
+ commaEveryX0Years(): string;
53
+ commaStartingX0(): string;
54
+ daysOfTheWeek(): string[];
55
+ monthsOfTheYear(): string[];
56
+ }
@@ -18,8 +18,8 @@ export declare class pt_BR implements Locale {
18
18
  commaEveryX0DaysOfTheWeek(): string;
19
19
  commaEveryX0Months(): string;
20
20
  commaOnDayX0OfTheMonth(): string;
21
- commaOnlyInX0(): string;
22
- commaOnlyOnX0(): string;
21
+ commaOnlyInX0(s?: string): "somente %s" | ", somente em %s";
22
+ commaOnlyOnX0(s?: string): ", somente %s" | ", somente de %s";
23
23
  commaAndOnX0(): string;
24
24
  commaOnThe(): string;
25
25
  commaOnTheLastDayOfTheMonth(): string;
@@ -0,0 +1,56 @@
1
+ import { Locale } from "../locale";
2
+ export declare class vi implements Locale {
3
+ atX0SecondsPastTheMinuteGt20(): string | null;
4
+ atX0MinutesPastTheHourGt20(): string | null;
5
+ commaMonthX0ThroughMonthX1(): string | null;
6
+ commaYearX0ThroughYearX1(): string | null;
7
+ use24HourTimeFormatByDefault(): boolean;
8
+ anErrorOccuredWhenGeneratingTheExpressionD(): string;
9
+ everyMinute(): string;
10
+ everyHour(): string;
11
+ atSpace(): string;
12
+ everyMinuteBetweenX0AndX1(): string;
13
+ at(): string;
14
+ spaceAnd(): string;
15
+ everySecond(): string;
16
+ everyX0Seconds(): string;
17
+ secondsX0ThroughX1PastTheMinute(): string;
18
+ atX0SecondsPastTheMinute(): string;
19
+ everyX0Minutes(): string;
20
+ minutesX0ThroughX1PastTheHour(): string;
21
+ atX0MinutesPastTheHour(): string;
22
+ everyX0Hours(): string;
23
+ betweenX0AndX1(): string;
24
+ atX0(): string;
25
+ commaEveryDay(): string;
26
+ commaEveryX0DaysOfTheWeek(): string;
27
+ commaX0ThroughX1(): string;
28
+ commaAndX0ThroughX1(): string;
29
+ first(): string;
30
+ second(): string;
31
+ third(): string;
32
+ fourth(): string;
33
+ fifth(): string;
34
+ commaOnThe(): string;
35
+ spaceX0OfTheMonth(): string;
36
+ lastDay(): string;
37
+ commaOnTheLastX0OfTheMonth(): string;
38
+ commaOnlyOnX0(): string;
39
+ commaAndOnX0(): string;
40
+ commaEveryX0Months(): string;
41
+ commaOnlyInX0(): string;
42
+ commaOnTheLastDayOfTheMonth(): string;
43
+ commaOnTheLastWeekdayOfTheMonth(): string;
44
+ commaDaysBeforeTheLastDayOfTheMonth(): string;
45
+ firstWeekday(): string;
46
+ weekdayNearestDayX0(): string;
47
+ commaOnTheX0OfTheMonth(): string;
48
+ commaEveryX0Days(): string;
49
+ commaBetweenDayX0AndX1OfTheMonth(): string;
50
+ commaOnDayX0OfTheMonth(): string;
51
+ commaEveryHour(): string;
52
+ commaEveryX0Years(): string;
53
+ commaStartingX0(): string;
54
+ daysOfTheWeek(): string[];
55
+ monthsOfTheYear(): string[];
56
+ }
@@ -5,4 +5,5 @@ export interface Options {
5
5
  monthStartIndexZero?: boolean;
6
6
  use24HourTimeFormat?: boolean;
7
7
  locale?: string | null;
8
+ tzOffset?: number;
8
9
  }
@@ -113,7 +113,7 @@ var ar = (function () {
113
113
  return null;
114
114
  };
115
115
  ar.prototype.use24HourTimeFormatByDefault = function () {
116
- return false;
116
+ return true;
117
117
  };
118
118
  ar.prototype.anErrorOccuredWhenGeneratingTheExpressionD = function () {
119
119
  return "حدث خطأ في إنشاء وصف المصطلح٠ تأكد من تركيب مصطلح الكرون";
@@ -1 +1 @@
1
- !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("cronstrue")):"function"==typeof define&&define.amd?define("locales/ar.min",["cronstrue"],e):"object"==typeof exports?exports["locales/ar.min"]=e(require("cronstrue")):t["locales/ar.min"]=e(t.cronstrue)}(globalThis,(t=>(()=>{"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);var t=r(34),e=r.n(t),o=n;Object.defineProperty(o,"__esModule",{value:!0}),o.ar=void 0;var u=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!1},t.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"حدث خطأ في إنشاء وصف المصطلح٠ تأكد من تركيب مصطلح الكرون"},t.prototype.everyMinute=function(){return"كل دقيقة"},t.prototype.everyHour=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.commaAndX0ThroughX1=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.commaEveryHour=function(){return"، كل ساعة"},t.prototype.commaEveryX0Years=function(){return"، كل %s سنوات"},t.prototype.commaStartingX0=function(){return"، بداية من %s"},t.prototype.daysOfTheWeek=function(){return["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"]},t.prototype.monthsOfTheYear=function(){return["يناير","فبراير","مارس","ابريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"]},t}();o.ar=u,e().locales.ar=new u})(),n})()));
1
+ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("cronstrue")):"function"==typeof define&&define.amd?define("locales/ar.min",["cronstrue"],e):"object"==typeof exports?exports["locales/ar.min"]=e(require("cronstrue")):t["locales/ar.min"]=e(t.cronstrue)}(globalThis,(t=>(()=>{"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);var t=r(34),e=r.n(t),o=n;Object.defineProperty(o,"__esModule",{value:!0}),o.ar=void 0;var u=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.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"حدث خطأ في إنشاء وصف المصطلح٠ تأكد من تركيب مصطلح الكرون"},t.prototype.everyMinute=function(){return"كل دقيقة"},t.prototype.everyHour=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.commaAndX0ThroughX1=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.commaEveryHour=function(){return"، كل ساعة"},t.prototype.commaEveryX0Years=function(){return"، كل %s سنوات"},t.prototype.commaStartingX0=function(){return"، بداية من %s"},t.prototype.daysOfTheWeek=function(){return["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"]},t.prototype.monthsOfTheYear=function(){return["يناير","فبراير","مارس","ابريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"]},t}();o.ar=u,e().locales.ar=new u})(),n})()));
@@ -113,7 +113,7 @@ var be = (function () {
113
113
  return null;
114
114
  };
115
115
  be.prototype.use24HourTimeFormatByDefault = function () {
116
- return true;
116
+ return false;
117
117
  };
118
118
  be.prototype.everyMinute = function () {
119
119
  return "кожную хвіліну";
@@ -1 +1 @@
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,(t=>(()=>{"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);var t=r(34),e=r.n(t),o=n;Object.defineProperty(o,"__esModule",{value:!0}),o.be=void 0;var u=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.commaAndX0ThroughX1=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}();o.be=u,e().locales.be=new u})(),n})()));
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,(t=>(()=>{"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);var t=r(34),e=r.n(t),o=n;Object.defineProperty(o,"__esModule",{value:!0}),o.be=void 0;var u=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!1},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.commaAndX0ThroughX1=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}();o.be=u,e().locales.be=new u})(),n})()));