hijrah-date.min.js 27 KB

123
  1. !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.HijrahDate=e()}(this,function(){"use strict";function t(t){return parseInt(t,10)}function e(t){return"string"==typeof t}function r(t){return"number"==typeof t}function n(t){return"[object Date]"===Object.prototype.toString.call(t)}function a(t){return"function"==typeof t}function o(t,e,r){return t.concat(h.call(e,r))}function i(t,e,r){var n,o;if(t)if(a(t))for(n in t)"prototype"!==n&&"length"!==n&&"name"!==n&&t.hasOwnProperty(n)&&e.call(r,t[n],n,t);else if(l(t)||isArrayLike(t)){var u="object"!=typeof t;for(n=0,o=t.length;n<o;n++)(u||n in t)&&e.call(r,t[n],n,t)}else if(t.forEach&&t.forEach!==i)t.forEach(e,r,t);else if(isBlankObject(t))for(n in t)e.call(r,t[n],n,t);else if("function"==typeof t.hasOwnProperty)for(n in t)t.hasOwnProperty(n)&&e.call(r,t[n],n,t);else for(n in t)hasOwnProperty.call(t,n)&&e.call(r,t[n],n,t);return t}function u(e,r){var n=t(e/r);return(e^r)<0&&n*r!=e&&n--,n}function s(t,e){return t-u(t,e)*e}function f(t,e){for(var r=0,n=t.length-1;r<=n;){var a=r+n>>>1,o=t[a];if(o<e)r=a+1;else{if(!(o>e))return a;n=a-1}}return-(r+1)}var h=[].slice,c=([].splice,[].push,Object.getPrototypeOf,function(t){return e(t)?t.toUpperCase():t}),l=Array.isArray,g=function(){var t={};return{register:function(e,r){t[e]=r},getLocale:function(e){return t[e]}}}();!function(){var t={ZERO:"zero",ONE:"one",TWO:"two",FEW:"few",MANY:"many",OTHER:"other"},e={DATETIME_FORMATS:{AMPMS:["ص","م"],DAY:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],ERANAMES:["هجري"],ERAS:["هـ"],FIRSTDAYOFWEEK:5,MONTH:["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الآخرة","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة"],SHORTDAY:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],SHORTMONTH:["محرم","صفر","ربيع 1","ربيع 2","جمادى 1","جمادى 2","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة"],STANDALONEMONTH:["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الآخرة","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة"],WEEKENDRANGE:[4,5],fullDate:"EEEE، d MMMM، y",longDate:"d MMMM، y",medium:"dd‏/MM‏/y h:mm:ss a",mediumDate:"dd‏/MM‏/y",mediumTime:"h:mm:ss a",short:"d‏/M‏/y h:mm a",shortDate:"d‏/M‏/y",shortTime:"h:mm a"},NUMBER_FORMATS:{CURRENCY_SYM:"£",DECIMAL_SEP:"٫",GROUP_SEP:"٬",PATTERNS:[{gSize:3,lgSize:3,maxFrac:3,minFrac:0,minInt:1,negPre:"-",negSuf:"",posPre:"",posSuf:""},{gSize:3,lgSize:3,maxFrac:2,minFrac:2,minInt:1,negPre:"-¤ ",negSuf:"",posPre:"¤ ",posSuf:""}]},id:"ar",localeID:"ar",pluralCat:function(e,r){return 0==e?t.ZERO:1==e?t.ONE:2==e?t.TWO:e%100>=3&&e%100<=10?t.FEW:e%100>=11&&e%100<=99?t.MANY:t.OTHER}};g.register("ar",e)}(),function(){function t(t){t+="";var e=t.indexOf(".");return e==-1?0:t.length-e-1}function e(e,r){var n=r;void 0===n&&(n=Math.min(t(e),3));var a=Math.pow(10,n),o=(e*a|0)%a;return{v:n,f:o}}var r={ZERO:"zero",ONE:"one",TWO:"two",FEW:"few",MANY:"many",OTHER:"other"},n={DATETIME_FORMATS:{AMPMS:["AM","PM"],DAY:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],ERANAMES:["Anno Hegirae"],ERAS:["AH"],FIRSTDAYOFWEEK:6,MONTH:["Muharram","Safar","Rabiʻ I","Rabiʻ II","Jumada I","Jumada II","Rajab","Shaʻban","Ramadan","Shawwal","Dhuʻl-Qiʻdah","Dhuʻl-Hijjah"],SHORTDAY:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],SHORTMONTH:["Muh","Saf","Rab I","Rab II","Jum I","Jum II","Raj","Sha","Ram","Shaw","Dhuʻl-Q","Dhuʻl-H"],STANDALONEMONTH:["Muharram","Safar","Rabiʻ I","Rabiʻ II","Jumada I","Jumada II","Rajab","Shaʻban","Ramadan","Shawwal","Dhuʻl-Qiʻdah","Dhuʻl-Hijjah"],WEEKENDRANGE:[5,6],fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",medium:"MMM d, y h:mm:ss a",mediumDate:"MMM d, y",mediumTime:"h:mm:ss a",short:"M/d/yy h:mm a",shortDate:"M/d/yy",shortTime:"h:mm a"},NUMBER_FORMATS:{CURRENCY_SYM:"$",DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{gSize:3,lgSize:3,maxFrac:3,minFrac:0,minInt:1,negPre:"-",negSuf:"",posPre:"",posSuf:""},{gSize:3,lgSize:3,maxFrac:2,minFrac:2,minInt:1,negPre:"-¤",negSuf:"",posPre:"¤",posSuf:""}]},id:"en",localeID:"en",pluralCat:function(t,n){var a=0|t,o=e(t,n);return 1==a&&0==o.v?r.ONE:r.OTHER}};g.register("en",n)}();var y=function(){function n(t,e){t=t.replace(O,"");var r=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(r)?e:r}function a(t,e){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+e),t}function u(t,e,r){r=r?-1:1;var o=t.getTimezoneOffset(),i=n(e,o);return a(t,r*(i-o))}function s(t,e,r,n){var a="";for((t<0||n&&t<=0)&&(n?t=-t+1:(t=-t,a="-")),t=""+t;t.length<e;)t=E+t;return r&&(t=t.substr(t.length-e)),a+t}function f(t,e,r,n,a){return r=r||0,function(o){var i=o["get"+t]();return(r>0||i>-r)&&(i+=r),0===i&&r===-12&&(i=12),s(i,e,n,a)}}function h(t,e,r){return function(n,a){var o=n["get"+t](),i=(r?"STANDALONE":"")+(e?"SHORT":""),u=c(i+t);return a[u][o]}}function l(t,e,r){var n=-1*r,a=n>=0?"+":"";return a+=s(Math[n>0?"floor":"ceil"](n/60),2)+s(Math.abs(n%60),2)}function y(e){return function(r){var n=t((r.getDayOfYear()-1)/7)+1;return s(n,e)}}function p(t,e){return t.getHours()<12?e.AMPMS[0]:e.AMPMS[1]}function m(t,e){return e.ERAS[0]}function d(t,e){return e.ERANAMES[0]}function D(a){function s(e){var r;if(r=e.match(f)){var n=new M(new Date(0)),a=0,o=0,i=r[8]?n.setUTCFullYear:n.setFullYear,u=r[8]?n.setUTCHours:n.setHours;r[9]&&(a=t(r[9]+r[10]),o=t(r[9]+r[11])),i.call(n,t(r[1]),t(r[2])-1,t(r[3]));var s=t(r[4]||0)-a,h=t(r[5]||0)-o,c=t(r[6]||0),l=Math.round(1e3*parseFloat("0."+(r[7]||0)));return u.call(n,s,h,c,l),n}return e}var f=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(f,h,c){var l,g,y="",p=[];if(h=h||"mediumDate",h=a.DATETIME_FORMATS[h]||h,e(f)&&(f=_.test(f)?t(f):s(f)),r(f)&&(f=new M(f)),!M.isHijrahDate(f)||!isFinite(f.getTime()))return f;for(;h;)g=S.exec(h),g?(p=o(p,g,1),h=p.pop()):(p.push(h),h=null);var m=f.toGregorian(),d=m.getTimezoneOffset();return c&&(d=n(c,d),m=u(m,c,!0),f=new M(m)),i(p,function(t){l=v[t],y+=l?l(f,a.DATETIME_FORMATS,d):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),y}}var E="0",O=/:/g,v={yyyy:f("FullYear",4,0,!1,!0),yy:f("FullYear",2,0,!0,!0),y:f("FullYear",1,0,!1,!0),MMMM:h("Month"),MMM:h("Month",!0),MM:f("Month",2,1),M:f("Month",1,1),LLLL:h("Month",!1,!0),dd:f("Date",2),d:f("Date",1),HH:f("Hours",2),H:f("Hours",1),hh:f("Hours",2,-12),h:f("Hours",1,-12),mm:f("Minutes",2),m:f("Minutes",1),ss:f("Seconds",2),s:f("Seconds",1),sss:f("Milliseconds",3),EEEE:h("Day"),EEE:h("Day",!0),a:p,Z:l,ww:y(2),w:y(1),G:m,GG:m,GGG:m,GGGG:d},S=/((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))(.*)/,_=/^\-?\d+$/;return{formatter:function(t){return D(g.getLocale(t))}}}(),M=function(){function e(t,r,a,o,i,u,s){this._year=Number.NaN,this._monthOfYear=Number.NaN,this._dayOfMonth=Number.NaN;var f,h,c,l;if(0===arguments.length){l=new Date;var g=X(yt(l));f=g[0],h=g[1],c=g[2]}else if(1===arguments.length)if(e.isHijrahDate(arguments[0])){var y=arguments[0];l=y.toGregorian(),f=y._year,h=y._monthOfYear,c=y._dayOfMonth}else{l=n(arguments[0])?arguments[0]:new Date(arguments[0]);var g=X(yt(l));f=g[0],h=g[1],c=g[2]}else{l=Mt(q(t,r+1,a||1)),l.setHours(o||0,i||0,u||0,s||0);var g=X(yt(l));f=g[0],h=g[1],c=g[2]}this._year=f,this._monthOfYear=h,this._dayOfMonth=c,this._gregorianDate=l}function a(t,e){t._year=e._year,t._monthOfYear=e._monthOfYear,t._dayOfMonth=e._dayOfMonth,t._gregorianDate.setFullYear(e._gregorianDate.getFullYear(),e._gregorianDate.getMonth(),e._gregorianDate.getDate())}function o(r){var n=X(t(r));return new e(n[0],n[1]-1,n[2])}function i(t,e,r){return q(t,e+1,r),!0}function h(t){return"[object Object]"===Object.prototype.toString.call(t)&&t instanceof e}function c(){return this._gregorianDate.getTime()}function l(t,e,n){var o=r(e)?e+1:this._monthOfYear,i=n||this._dayOfMonth,u=B(t,o,i);a(this,u)}function g(){return this._year}function M(t,e,r){return this.setFullYear(t,e,r)}function p(){return this.getFullYear()}function m(t,e){var r=B(this.getFullYear(),t+1,e||this._dayOfMonth);a(this,r)}function d(){return this._monthOfYear-1}function D(t){if(t!==this.getDate())return 0===t?this.minusDays(this.getDate()):t<0?this.minusDays(this.getDate()+Math.abs(t)):this.plusDays(t-this.getMonthLength())}function E(){return this._dayOfMonth}function O(t,r,n,o){var i=this._gregorianDate.setHours(t,r,n,o),u=new e(i);return a(this,u),i}function v(){return this._gregorianDate.getHours()}function S(t,e,r,n){return this._gregorianDate.setUTCHours(t,e,r,n)}function _(){return this._gregorianDate.getUTCHours()}function T(t,e,r){return this._gregorianDate.setMinutes(t,e,r)}function A(){return this._gregorianDate.getMinutes()}function H(t,e){return this._gregorianDate.setSeconds(t,e)}function R(){return this._gregorianDate.getSeconds()}function Y(){return this._gregorianDate.getMilliseconds()}function N(){return et(this._year,this._monthOfYear)}function w(){return rt(this._year)}function F(){return q(this._year,this._monthOfYear,this._dayOfMonth)}function I(){return tt(this._year,this._monthOfYear)+this._dayOfMonth}function b(){return t((this.getDayOfYear()-1)/7)+1}function j(){return this._gregorianDate.getDay()}function P(){return this._gregorianDate.getTimezoneOffset()}function L(){var e=this._year,r=ut(t(e));if(r<0||r>Dt)throw"Hijrah date out of range";var n=rt(t(e));return n>354}function G(t){if(0==t)return this;var e=this._year+t,r=B(e,this._monthOfYear,this._dayOfMonth);return a(this,r),this}function C(e){if(0===e)return this;var r=12*this._year+(this._monthOfYear-1),n=r+e,o=Q(u(n,12)),i=t(s(n,12)+1),f=B(o,i,this._dayOfMonth);return a(this,f),this}function U(t){return this.plusDays(7*t)}function W(t){var e=o(this.toEpochDay()+t);return a(this,e),this}function z(t){return this.plusYears(-t)}function x(t){return this.plusMonths(-t)}function J(t){return this.plusWeeks(-t)}function Z(t){return this.plusDays(-t)}function k(){return this._gregorianDate}function K(t,e){return 0===arguments.length?y.formatter("en")(this):1===arguments.length?y.formatter("en")(this,t):y.formatter(e)(this,t)}function $(){return isNaN(this.getTime())?"Invalid Hijrah Date":this.format("medium")}function B(t,r,n){var a=et(t,r);return n>a&&(n=a),new e(t,r-1,n)}function Q(e){if(e<nt()||e>at())throw"Invalid Hijrah year: "+e;return t(e)}function V(t){if(t<1||t>12)throw"Invalid Hijrah month: "+t}function X(t){if(t<dt||t>=Dt)throw"Hijrah date out of range";var e=ot(t),r=it(e),n=st(e),a=ft(e),o=t-a,i=new Array(3);return i[0]=r,i[1]=n+1,i[2]=o+1,i}function q(t,e,r){V(e);var n=ut(t)+(e-1);if(n<0||n>=mt.length)throw"Invalid Hijrah date, year: "+t+", month: "+e;if(r<1||r>et(t,e))throw"Invalid Hijrah day of month: "+r;return ft(n)+(r-1)}function tt(t,e){return ht(t,e-1)}function et(t,e){var r=ut(t)+(e-1);if(r<0||r>=mt.length)throw"Invalid Hijrah date, year: "+t+", month: "+e;return ct(r)}function rt(t){return ht(t,12)}function nt(){return it(0)}function at(){return it(mt.length-1)-1}function ot(t){var e=f(mt,t);return e<0&&(e=-e-2),e}function it(e){return t((e+Et)/12)}function ut(t){return 12*t-Et}function st(t){return(t+Et)%12}function ft(t){return mt[t]}function ht(t,e){var r=ut(t);return ft(r+e)-ft(r)}function ct(t){return mt[t+1]-mt[t]}function lt(t,e,r,n){var a=12*(r-e+1)+1,o=0,i=new Array(a);Ot=Number.MIN_VALUE,vt=Number.MAX_VALUE;for(var u=e;u<=r;u++)for(var s=n[u],f=0;f<12;f++){var h=s[f];if(i[o++]=t,h<29||h>32)throw"Invalid month length in year: "+e;t+=h,Ot=Math.min(Ot,h),vt=Math.max(vt,h)}if(i[o++]=t,o!=i.length)throw"Did not fill epochMonths exactly: ndx = "+o+" should be "+i.length;return i}function gt(t){return 0==(3&t)&&(t%100!=0||t%400==0)}function yt(e){var r=e.getFullYear(),n=e.getMonth()+1,a=0;return a+=365*r,r>=0?a+=t((r+3)/4)-t((r+99)/100)+t((r+399)/400):a-=t(r/-4-r/-100+r/-400),a+=t((367*n-362)/12),a+=e.getDate()-1,n>2&&(a--,0==gt(e.getFullYear())&&a--),a-At}function Mt(e){var r=e+At;r-=60;var n=0;if(r<0){var a=t((r+1)/Tt-1);n=400*a,r+=-a*Tt}var o=t((400*r+591)/Tt),i=r-(365*o+t(o/4)-t(o/100)+t(o/400));i<0&&(o--,i=r-t(365*o+o/4-o/100+o/400)),o+=n;var u=t(i),s=t((5*u+2)/153),f=(s+2)%12+1,h=u-t((306*s+5)/10)+1;return o+=t(s/10),new Date(o,f-1,h)}function pt(){var t=[];t[1300]=[30,29,30,29,30,29,30,29,30,29,30,29],t[1301]=[30,30,29,30,29,30,29,30,29,30,29,29],t[1302]=[30,30,30,29,30,30,29,29,30,29,29,30],t[1303]=[29,30,30,29,30,30,29,30,29,30,29,29],t[1304]=[29,30,30,29,30,30,30,29,30,29,30,29],t[1305]=[29,29,30,30,29,30,30,29,30,30,29,29],t[1306]=[30,29,30,29,30,29,30,29,30,30,29,30],t[1307]=[29,30,29,30,29,30,29,30,29,30,29,30],t[1308]=[29,30,30,29,30,29,30,29,30,29,29,30],t[1309]=[29,30,30,30,30,29,29,30,29,29,30,29],t[1310]=[30,29,30,30,30,29,30,29,30,29,29,30],t[1311]=[29,30,29,30,30,30,29,30,29,30,29,29],t[1312]=[30,29,30,29,30,30,29,30,30,29,30,29],t[1313]=[29,30,29,30,29,30,29,30,30,30,29,29],t[1314]=[30,30,29,30,29,29,30,29,30,30,29,30],t[1315]=[29,30,30,29,30,29,29,30,29,30,29,30],t[1316]=[29,30,30,30,29,30,29,29,30,29,30,29],t[1317]=[30,29,30,30,29,30,29,30,29,30,29,29],t[1318]=[30,29,30,30,29,30,30,29,30,29,30,29],t[1319]=[29,30,29,30,30,29,30,29,30,30,29,30],t[1320]=[29,30,29,29,30,29,30,29,30,30,30,29],t[1321]=[30,29,30,29,29,30,29,29,30,30,30,30],t[1322]=[29,30,29,30,29,29,29,30,29,30,30,30],t[1323]=[29,30,30,29,30,29,29,29,30,29,30,30],t[1324]=[29,30,30,29,30,29,30,29,29,30,29,30],t[1325]=[30,29,30,29,30,30,29,30,29,30,29,30],t[1326]=[29,29,30,29,30,30,29,30,29,30,30,29],t[1327]=[30,29,29,30,29,30,29,30,30,29,30,30],t[1328]=[29,30,29,29,30,29,29,30,30,30,29,30],t[1329]=[30,29,30,29,29,30,29,29,30,30,29,30],t[1330]=[30,30,29,30,29,29,30,29,29,30,30,29],t[1331]=[30,30,29,30,30,29,29,30,29,30,29,30],t[1332]=[29,30,29,30,30,29,30,29,30,30,29,29],t[1333]=[30,29,29,30,30,29,30,30,29,30,30,29],t[1334]=[29,29,30,29,30,29,30,30,30,29,30,29],t[1335]=[30,29,30,29,29,30,29,30,30,29,30,30],t[1336]=[29,30,29,30,29,29,30,29,30,29,30,30],t[1337]=[30,29,30,29,30,29,29,30,29,30,29,30],t[1338]=[29,30,30,29,30,30,29,29,30,29,30,29],t[1339]=[30,29,30,29,30,30,30,29,30,29,29,30],t[1340]=[29,29,30,29,30,30,30,30,29,30,29,29],t[1341]=[30,29,29,30,29,30,30,30,29,30,30,29],t[1342]=[29,29,30,29,30,29,30,30,29,30,30,29],t[1343]=[30,29,29,30,29,30,29,30,29,30,30,29],t[1344]=[30,29,30,29,30,30,29,29,30,29,30,29],t[1345]=[30,29,30,30,30,29,30,29,29,30,29,29],t[1346]=[30,29,30,30,30,30,29,30,29,29,30,29],t[1347]=[29,30,29,30,30,30,29,30,30,29,29,30],t[1348]=[29,29,30,29,30,30,29,30,30,30,29,29],t[1349]=[30,29,29,30,29,30,30,29,30,30,29,30],t[1350]=[29,30,29,30,29,30,29,29,30,30,29,30],t[1351]=[30,29,30,29,30,29,30,29,29,30,29,30],t[1352]=[30,29,30,30,29,30,29,30,29,29,30,29],t[1353]=[30,29,30,30,30,29,30,29,29,30,29,30],t[1354]=[29,30,29,30,30,29,30,30,29,30,29,29],t[1355]=[30,29,29,30,30,29,30,30,29,30,30,29],t[1356]=[29,30,29,30,29,30,29,30,29,30,30,30],t[1357]=[29,29,30,29,30,29,29,30,29,30,30,30],t[1358]=[29,30,29,30,29,30,29,29,30,29,30,30],t[1359]=[29,30,30,29,30,29,30,29,29,29,30,30],t[1360]=[29,30,30,30,29,30,29,30,29,29,30,29],t[1361]=[30,29,30,30,29,30,30,29,29,30,29,30],t[1362]=[29,30,29,30,29,30,30,29,30,29,30,29],t[1363]=[30,29,30,29,30,29,30,29,30,29,30,30],t[1364]=[29,30,29,30,29,29,30,29,30,29,30,30],t[1365]=[30,30,29,29,30,29,29,30,29,30,29,30],t[1366]=[30,30,29,30,29,30,29,29,30,29,30,29],t[1367]=[30,30,29,30,30,29,30,29,29,30,29,30],t[1368]=[29,30,29,30,30,30,29,29,30,29,30,29],t[1369]=[30,29,30,29,30,30,29,30,29,30,30,29],t[1370]=[30,29,29,30,29,30,29,30,29,30,30,30],t[1371]=[29,30,29,29,30,29,30,29,30,29,30,30],t[1372]=[30,29,29,30,29,30,29,29,30,29,30,30],t[1373]=[30,29,30,29,30,29,30,29,29,30,29,30],t[1374]=[30,29,30,30,29,30,29,30,29,29,30,29],t[1375]=[30,29,30,30,29,30,30,29,30,29,30,29],t[1376]=[29,30,29,30,29,30,30,30,29,30,29,30],t[1377]=[29,29,30,29,29,30,30,30,29,30,30,29],t[1378]=[30,29,29,29,30,29,30,30,29,30,30,30],t[1379]=[29,30,29,29,29,30,29,30,30,29,30,30],t[1380]=[29,30,29,30,29,30,29,30,29,30,29,30],t[1381]=[29,30,29,30,30,29,30,29,30,29,29,30],t[1382]=[29,30,29,30,30,29,30,30,29,30,29,29],t[1383]=[30,29,29,30,30,30,29,30,30,29,30,29],t[1384]=[29,30,29,29,30,30,29,30,30,30,29,30],t[1385]=[29,29,30,29,29,30,30,29,30,30,30,29],t[1386]=[30,29,29,30,29,29,30,30,29,30,30,29],t[1387]=[30,29,30,29,30,29,30,29,30,29,30,29],t[1388]=[30,30,29,30,29,30,29,30,29,30,29,29],t[1389]=[30,30,29,30,30,29,30,30,29,29,30,29],t[1390]=[29,30,29,30,30,30,29,30,29,30,29,30],t[1391]=[29,29,30,29,30,30,29,30,30,29,30,29],t[1392]=[30,29,29,30,29,30,29,30,30,29,30,30],t[1393]=[29,30,29,29,30,29,30,29,30,29,30,30],t[1394]=[30,29,30,29,29,30,29,30,29,30,29,30],t[1395]=[30,29,30,30,29,30,29,29,30,29,29,30],t[1396]=[30,29,30,30,29,30,30,29,29,30,29,29],t[1397]=[30,29,30,30,29,30,30,30,29,29,29,30],t[1398]=[29,30,29,30,30,29,30,30,29,30,29,29],t[1399]=[30,29,30,29,30,29,30,30,29,30,29,30],t[1400]=[30,29,30,29,29,30,29,30,29,30,29,30],t[1401]=[30,30,29,30,29,29,30,29,29,30,29,30],t[1402]=[30,30,30,29,30,29,29,30,29,29,30,29],t[1403]=[30,30,30,29,30,30,29,29,30,29,29,30],t[1404]=[29,30,30,29,30,30,29,30,29,30,29,29],t[1405]=[30,29,30,29,30,30,30,29,30,29,29,30],t[1406]=[30,29,29,30,29,30,30,29,30,29,30,30],t[1407]=[29,30,29,29,30,29,30,29,30,29,30,30],t[1408]=[30,29,30,29,30,29,29,30,29,29,30,30],t[1409]=[30,30,29,30,29,30,29,29,30,29,29,30],t[1410]=[30,30,29,30,30,29,30,29,29,30,29,29],t[1411]=[30,30,29,30,30,29,30,30,29,29,30,29],t[1412]=[30,29,30,29,30,29,30,30,30,29,29,30],t[1413]=[29,30,29,29,30,29,30,30,30,29,30,29],t[1414]=[30,29,30,29,29,30,29,30,30,29,30,30],t[1415]=[29,30,29,30,29,29,30,29,30,29,30,30],t[1416]=[30,29,30,29,30,29,29,30,29,30,29,30],t[1417]=[30,29,30,30,29,29,30,29,30,29,30,29],t[1418]=[30,29,30,30,29,30,29,30,29,30,29,30],t[1419]=[29,30,29,30,29,30,29,30,30,30,29,29],t[1420]=[29,30,29,29,30,29,30,30,30,30,29,30],t[1421]=[29,29,30,29,29,29,30,30,30,30,29,30],t[1422]=[30,29,29,30,29,29,29,30,30,30,29,30],t[1423]=[30,29,30,29,30,29,29,30,29,30,29,30],t[1424]=[30,29,30,30,29,30,29,29,30,29,30,29],t[1425]=[30,29,30,30,29,30,29,30,30,29,30,29],t[1426]=[29,30,29,30,29,30,30,29,30,30,29,30],t[1427]=[29,29,30,29,30,29,30,30,29,30,30,29],t[1428]=[30,29,29,30,29,29,30,30,30,29,30,30],t[1429]=[29,30,29,29,30,29,29,30,30,29,30,30],t[1430]=[29,30,30,29,29,30,29,30,29,30,29,30],t[1431]=[29,30,30,29,30,29,30,29,30,29,29,30],t[1432]=[29,30,30,30,29,30,29,30,29,30,29,29],t[1433]=[30,29,30,30,29,30,30,29,30,29,30,29],t[1434]=[29,30,29,30,29,30,30,29,30,30,29,29],t[1435]=[30,29,30,29,30,29,30,29,30,30,29,30],t[1436]=[29,30,29,30,29,30,29,30,29,30,29,30],t[1437]=[30,29,30,30,29,29,30,29,30,29,29,30],t[1438]=[30,29,30,30,30,29,29,30,29,29,30,29],t[1439]=[30,29,30,30,30,29,30,29,30,29,29,30],t[1440]=[29,30,29,30,30,30,29,30,29,30,29,29],t[1441]=[30,29,30,29,30,30,29,30,30,29,30,29],t[1442]=[29,30,29,30,29,30,29,30,30,29,30,29],t[1443]=[30,29,30,29,30,29,30,29,30,29,30,30],t[1444]=[29,30,29,30,30,29,29,30,29,30,29,30],t[1445]=[29,30,30,30,29,30,29,29,30,29,29,30],t[1446]=[29,30,30,30,29,30,30,29,29,30,29,29],t[1447]=[30,29,30,30,30,29,30,29,30,29,30,29],t[1448]=[29,30,29,30,30,29,30,30,29,30,29,30],t[1449]=[29,29,30,29,30,29,30,30,29,30,30,29],t[1450]=[30,29,30,29,29,30,29,30,29,30,30,29],t[1451]=[30,30,30,29,29,30,29,29,30,30,29,30],t[1452]=[30,29,30,30,29,29,30,29,29,30,29,30],t[1453]=[30,29,30,30,29,30,29,30,29,29,30,29],t[1454]=[30,29,30,30,29,30,30,29,30,29,30,29],t[1455]=[29,30,29,30,30,29,30,29,30,30,29,30],t[1456]=[29,29,30,29,30,29,30,29,30,30,30,29],t[1457]=[30,29,29,30,29,29,30,29,30,30,30,30],t[1458]=[29,30,29,29,30,29,29,30,29,30,30,30],t[1459]=[29,30,30,29,29,30,29,29,30,29,30,30],t[1460]=[29,30,30,29,30,29,30,29,29,30,29,30],t[1461]=[29,30,30,29,30,29,30,29,30,30,29,29],t[1462]=[30,29,30,29,30,30,29,30,29,30,30,29],t[1463]=[29,30,29,30,29,30,29,30,30,30,29,30],t[1464]=[29,30,29,29,30,29,29,30,30,30,29,30],t[1465]=[30,29,30,29,29,30,29,29,30,30,29,30],t[1466]=[30,30,29,30,29,29,29,30,29,30,30,29],t[1467]=[30,30,29,30,30,29,29,30,29,30,29,30],t[1468]=[29,30,29,30,30,29,30,29,30,29,30,29],t[1469]=[29,30,29,30,30,29,30,30,29,30,29,30],t[1470]=[29,29,30,29,30,30,29,30,30,29,30,29],t[1471]=[30,29,29,30,29,30,29,30,30,29,30,30],t[1472]=[29,30,29,29,30,29,30,29,30,30,29,30],t[1473]=[29,30,29,30,30,29,29,30,29,30,29,30],t[1474]=[29,30,30,29,30,30,29,29,30,29,30,29],t[1475]=[29,30,30,29,30,30,30,29,29,30,29,29],t[1476]=[30,29,30,29,30,30,30,29,30,29,30,29],t[1477]=[29,30,29,29,30,30,30,30,29,30,29,30],t[1478]=[29,29,30,29,30,29,30,30,29,30,30,29],t[1479]=[30,29,29,30,29,30,29,30,29,30,30,29],t[1480]=[30,29,30,29,30,29,30,29,30,29,30,29],t[1481]=[30,29,30,30,29,30,29,30,29,30,29,29],t[1482]=[30,29,30,30,30,30,29,30,29,29,30,29],t[1483]=[29,30,29,30,30,30,29,30,30,29,29,30],t[1484]=[29,29,30,29,30,30,30,29,30,29,30,29],t[1485]=[30,29,29,30,29,30,30,29,30,30,29,30],t[1486]=[29,30,29,29,30,29,30,29,30,30,29,30],t[1487]=[30,29,30,29,30,29,29,30,29,30,29,30],t[1488]=[30,29,30,30,29,30,29,29,30,29,30,29],t[1489]=[30,29,30,30,30,29,30,29,29,30,29,30],t[1490]=[29,30,29,30,30,29,30,30,29,29,30,29],t[1491]=[30,29,29,30,30,29,30,30,29,30,29,30],t[1492]=[29,30,29,29,30,30,29,30,29,30,30,29],t[1493]=[30,29,30,29,30,29,29,30,29,30,30,30],t[1494]=[29,30,29,30,29,30,29,29,29,30,30,30],t[1495]=[29,30,30,29,30,29,29,30,29,29,30,30],t[1496]=[29,30,30,30,29,30,29,29,30,29,29,30],t[1497]=[30,29,30,30,29,30,29,30,29,30,29,30],t[1498]=[29,30,29,30,29,30,30,29,30,29,30,29],t[1499]=[30,29,30,29,29,30,30,29,30,29,30,30];t[1500]=[29,30,29,30,29,29,30,29,30,29,30,30];t[1501]=[30,29,30,29,30,29,29,29,30,29,30,30],t[1502]=[30,30,29,30,29,30,29,29,29,30,30,29],t[1503]=[30,30,29,30,30,29,30,29,29,29,30,30],t[1504]=[29,30,29,30,30,30,29,29,30,29,30,29],t[1505]=[30,29,30,29,30,30,29,30,29,30,30,29],t[1506]=[29,30,29,29,30,30,29,30,30,29,30,30],t[1507]=[29,29,30,29,29,30,30,29,30,29,30,30],t[1508]=[30,29,29,30,29,30,29,29,30,29,30,30],t[1509]=[30,29,30,29,30,29,30,29,29,30,29,30],t[1510]=[30,29,30,30,29,30,29,30,29,29,30,29],t[1511]=[30,29,30,30,29,30,30,29,30,29,29,30],t[1512]=[29,30,29,30,29,30,30,30,29,30,29,30],t[1513]=[29,29,29,30,29,30,30,30,29,30,30,29],t[1514]=[30,29,29,29,30,29,30,30,29,30,30,30],t[1515]=[29,29,30,29,29,30,29,30,30,29,30,30],t[1516]=[29,30,29,30,29,29,30,29,30,29,30,30],t[1517]=[29,30,29,30,29,30,30,29,29,30,29,30],t[1518]=[29,30,29,30,30,29,30,30,29,30,29,29],t[1519]=[30,29,29,30,30,30,29,30,30,29,30,29],t[1520]=[29,30,29,29,30,30,30,29,30,30,29,30],t[1521]=[29,29,29,30,29,30,30,29,30,30,29,30],t[1522]=[30,29,29,29,30,29,30,30,29,30,30,29],t[1523]=[30,29,30,29,30,29,30,29,29,30,30,29],t[1524]=[30,30,29,30,29,30,29,30,29,29,30,29],t[1525]=[30,30,29,30,30,29,30,29,30,29,29,30],t[1526]=[29,30,29,30,30,30,29,30,29,30,29,29],t[1527]=[30,29,30,29,30,30,29,30,30,29,30,29],t[1528]=[30,29,29,30,29,30,29,30,30,29,30,30],t[1529]=[29,30,29,29,30,29,30,29,30,29,30,30],t[1530]=[29,30,30,29,29,30,29,30,29,29,30,30],t[1531]=[29,30,30,30,29,29,30,29,30,29,29,30],t[1532]=[29,30,30,30,29,30,30,29,29,29,30,29],t[1533]=[30,29,30,30,30,29,30,29,30,29,29,30],t[1534]=[29,30,29,30,30,29,30,30,29,29,30,29],t[1535]=[30,29,30,29,30,29,30,30,29,30,29,30],t[1536]=[29,30,29,30,29,30,29,30,29,30,29,30],t[1537]=[30,29,30,30,29,29,30,29,29,30,29,30],t[1538]=[30,30,29,30,30,29,29,30,29,29,30,29],t[1539]=[30,30,30,29,30,30,29,29,30,29,29,30],t[1540]=[29,30,30,29,30,30,29,30,29,29,30,29],t[1541]=[30,29,30,29,30,30,30,29,30,29,29,30],t[1542]=[29,30,29,30,29,30,30,29,30,29,30,30],t[1543]=[29,30,29,29,30,29,30,29,30,29,30,30],t[1544]=[30,29,30,29,29,30,29,30,29,30,29,30],t[1545]=[30,30,29,30,29,29,30,29,30,29,29,30],t[1546]=[30,30,29,30,29,30,29,30,29,30,29,29],t[1547]=[30,30,29,30,30,29,30,29,30,29,30,29],t[1548]=[30,29,29,30,30,29,30,30,29,30,29,30],t[1549]=[29,30,29,29,30,29,30,30,30,29,30,29],t[1550]=[30,29,30,29,29,29,30,30,30,29,30,30],t[1551]=[29,30,29,29,30,29,29,30,30,29,30,30],t[1552]=[30,29,30,29,29,30,29,29,30,30,29,30],t[1553]=[30,29,30,29,30,29,30,29,30,29,30,29],t[1554]=[30,29,30,29,30,30,29,30,29,30,29,30],t[1555]=[29,29,30,29,30,30,29,30,30,29,30,29],t[1556]=[30,29,29,30,29,30,29,30,30,30,29,30],t[1557]=[29,30,29,29,29,30,29,30,30,30,30,29],t[1558]=[30,29,30,29,29,29,30,29,30,30,30,29],t[1559]=[30,30,29,29,30,29,29,30,30,29,30,29],t[1560]=[30,30,29,30,29,30,29,30,29,30,29,30],t[1561]=[29,30,30,29,30,29,30,30,29,29,30,29],t[1562]=[29,30,30,29,30,29,30,30,30,29,29,30],t[1563]=[29,30,29,29,30,29,30,30,30,29,30,29],t[1564]=[30,29,30,29,29,30,29,30,30,30,29,30],t[1565]=[29,30,29,30,29,29,30,29,30,30,29,30],t[1566]=[30,29,30,29,30,29,29,30,29,30,29,30],t[1567]=[30,29,30,30,29,30,29,30,29,29,30,29],t[1568]=[30,29,30,30,30,29,30,29,30,29,29,29],t[1569]=[30,29,30,30,30,29,30,30,29,30,29,29],t[1570]=[29,30,29,30,30,29,30,30,30,29,29,30],t[1571]=[29,29,30,29,30,30,29,30,30,29,30,29],t[1572]=[30,29,29,30,29,30,29,30,30,29,30,29],t[1573]=[30,29,30,30,29,30,29,29,30,29,30,29],t[1574]=[30,30,29,30,30,29,30,29,29,30,29,29],t[1575]=[30,30,30,29,30,30,29,30,29,29,29,30],t[1576]=[29,30,30,29,30,30,30,29,30,29,29,29],t[1577]=[30,29,30,30,29,30,30,29,30,29,30,29],t[1578]=[29,30,29,30,29,30,30,29,30,30,29,30],t[1579]=[29,30,29,30,29,29,30,30,29,30,29,30],t[1580]=[29,30,30,29,30,29,29,30,29,30,29,30],t[1581]=[30,30,29,30,29,30,29,29,30,29,30,29],t[1582]=[30,30,29,30,30,29,30,29,30,29,29,29],t[1583]=[30,30,29,30,30,30,29,30,29,30,29,29],t[1584]=[29,30,30,29,30,30,29,30,30,29,30,29],t[1585]=[29,30,29,30,29,30,29,30,30,29,30,30],t[1586]=[29,29,30,29,30,29,29,30,30,30,29,30],t[1587]=[29,30,30,29,29,29,30,29,30,29,30,30],t[1588]=[30,29,30,30,29,29,29,30,29,30,29,30],t[1589]=[30,29,30,30,29,30,29,29,30,29,30,29],t[1590]=[30,29,30,30,30,29,29,30,29,30,29,30],t[1591]=[29,30,29,30,30,29,30,29,30,29,30,29],t[1592]=[30,29,30,29,30,29,30,29,30,30,30,29],t[1593]=[30,29,29,30,29,29,30,29,30,30,30,29],t[1594]=[30,30,29,29,30,29,29,29,30,30,30,30],t[1595]=[29,30,29,30,29,29,30,29,29,30,30,30],t[1596]=[29,30,30,29,30,29,29,30,29,30,29,30],t[1597]=[29,30,30,29,30,29,30,29,30,29,30,29],t[1598]=[30,29,30,29,30,30,29,30,29,30,30,29],t[1599]=[29,30,29,30,29,30,29,30,30,30,29,30],t[1600]=[29,29,30,29,30,29,29,30,30,30,29,30];var e=1300,r=1600,n=yt(new Date(1882,10,12));Et=12*e,dt=n,mt=lt(dt,e,r,t),Dt=mt[mt.length-1],St=0,_t=0;for(var a=e;a<r;a++){var o=rt(a);St=Math.min(St,o),_t=Math.max(_t,o)}}e.isValid=i,e.isHijrahDate=h,e.prototype.getTime=c,e.prototype.setFullYear=l,e.prototype.getFullYear=g,e.prototype.setMonth=m,e.prototype.getMonth=d,e.prototype.setDate=D,e.prototype.getDate=E,e.prototype.setHours=O,e.prototype.getHours=v,e.prototype.setMinutes=T,e.prototype.getMinutes=A,e.prototype.setSeconds=H,e.prototype.getSeconds=R,e.prototype.getMilliseconds=Y,e.prototype.getDayOfYear=I,e.prototype.getWeekOfYear=b,e.prototype.getDay=j,e.prototype.getTimezoneOffset=P,e.prototype.getMonthLength=N,e.prototype.getYearLength=w,e.prototype.isLeapYear=L,e.prototype.toEpochDay=F,e.prototype.setUTCFullYear=M,e.prototype.getUTCFullYear=p,e.prototype.setUTCHours=S,e.prototype.getUTCHours=_,e.prototype.plusYears=G,e.prototype.plusMonths=C,e.prototype.plusWeeks=U,e.prototype.plusDays=W,e.prototype.minusYears=z,e.prototype.minusMonths=x,e.prototype.minusWeeks=J,e.prototype.minusDays=Z,e.prototype.toGregorian=k,e.prototype.toString=$,e.prototype.format=K;var mt,dt,Dt,Et,Ot,vt,St,_t,Tt=146097,At=5*Tt-10957;return pt(),e}();return M});
  2. //# sourceMappingURL=hijrah-date.min.js.map