gs-calendar 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +59 -0
- package/dist/App.d.ts +3 -0
- package/dist/App.d.ts.map +1 -0
- package/dist/Calendar.d.ts +4 -0
- package/dist/Calendar.d.ts.map +1 -0
- package/dist/components/DaysComponent.d.ts +15 -0
- package/dist/components/DaysComponent.d.ts.map +1 -0
- package/dist/components/NavigationComponent.d.ts +14 -0
- package/dist/components/NavigationComponent.d.ts.map +1 -0
- package/dist/components/WeekComponent.d.ts +8 -0
- package/dist/components/WeekComponent.d.ts.map +1 -0
- package/dist/components/index.d.ts +5 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/interfaces/index.d.ts +3 -0
- package/dist/interfaces/index.d.ts.map +1 -0
- package/dist/interfaces/type.d.ts +21 -0
- package/dist/interfaces/type.d.ts.map +1 -0
- package/dist/interfaces/utils.interface.d.ts +10 -0
- package/dist/interfaces/utils.interface.d.ts.map +1 -0
- package/dist/main.d.ts +2 -0
- package/dist/main.d.ts.map +1 -0
- package/dist/react-ad-bs-calendar.es.js +4050 -0
- package/dist/react-ad-bs-calendar.umd.js +36 -0
- package/dist/style.css +1 -0
- package/dist/types.d.ts +3 -0
- package/dist/utils/bs.constants.d.ts +2 -0
- package/dist/utils/bs.constants.d.ts.map +1 -0
- package/dist/utils/constants.d.ts +8 -0
- package/dist/utils/constants.d.ts.map +1 -0
- package/dist/utils/fnUtils.d.ts +22 -0
- package/dist/utils/fnUtils.d.ts.map +1 -0
- package/dist/utils/getIconHandler.d.ts +4 -0
- package/dist/utils/getIconHandler.d.ts.map +1 -0
- package/dist/utils/index.d.ts +6 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/vite.svg +1 -0
- package/package.json +71 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
(function(j,xe){typeof exports=="object"&&typeof module<"u"?module.exports=xe(require("react")):typeof define=="function"&&define.amd?define(["react"],xe):(j=typeof globalThis<"u"?globalThis:j||self,j.ReactAdBsCalendar=xe(j.React))})(this,function(j){"use strict";var xe={exports:{}},tt={};/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react-jsx-runtime.development.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/var Lr;function gs(){return Lr||(Lr=1,process.env.NODE_ENV!=="production"&&function(){var e=j,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),u=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),v=Symbol.for("react.suspense_list"),E=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),N=Symbol.for("react.offscreen"),L=Symbol.iterator,Z="@@iterator";function P(i){if(i===null||typeof i!="object")return null;var c=L&&i[L]||i[Z];return typeof c=="function"?c:null}var ue=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function $(i){{for(var c=arguments.length,m=new Array(c>1?c-1:0),w=1;w<c;w++)m[w-1]=arguments[w];We("error",i,m)}}function We(i,c,m){{var w=ue.ReactDebugCurrentFrame,R=w.getStackAddendum();R!==""&&(c+="%s",m=m.concat([R]));var A=m.map(function(Y){return String(Y)});A.unshift("Warning: "+c),Function.prototype.apply.call(console[i],console,A)}}var Ce=!1,Ke=!1,Oe=!1,me=!1,yt=!1,V;V=Symbol.for("react.module.reference");function O(i){return!!(typeof i=="string"||typeof i=="function"||i===n||i===a||yt||i===s||i===p||i===v||me||i===N||Ce||Ke||Oe||typeof i=="object"&&i!==null&&(i.$$typeof===C||i.$$typeof===E||i.$$typeof===o||i.$$typeof===u||i.$$typeof===d||i.$$typeof===V||i.getModuleId!==void 0))}function Le(i,c,m){var w=i.displayName;if(w)return w;var R=c.displayName||c.name||"";return R!==""?m+"("+R+")":m}function Vt(i){return i.displayName||"Context"}function fe(i){if(i==null)return null;if(typeof i.tag=="number"&&$("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i;switch(i){case n:return"Fragment";case r:return"Portal";case a:return"Profiler";case s:return"StrictMode";case p:return"Suspense";case v:return"SuspenseList"}if(typeof i=="object")switch(i.$$typeof){case u:var c=i;return Vt(c)+".Consumer";case o:var m=i;return Vt(m._context)+".Provider";case d:return Le(i,i.render,"ForwardRef");case E:var w=i.displayName||null;return w!==null?w:fe(i.type)||"Memo";case C:{var R=i,A=R._payload,Y=R._init;try{return fe(Y(A))}catch{return null}}}return null}var je=Object.assign,vt=0,Xn,Jn,Kn,Qn,es,ts,rs;function ns(){}ns.__reactDisabledLog=!0;function Bo(){{if(vt===0){Xn=console.log,Jn=console.info,Kn=console.warn,Qn=console.error,es=console.group,ts=console.groupCollapsed,rs=console.groupEnd;var i={configurable:!0,enumerable:!0,value:ns,writable:!0};Object.defineProperties(console,{info:i,log:i,warn:i,error:i,group:i,groupCollapsed:i,groupEnd:i})}vt++}}function Zo(){{if(vt--,vt===0){var i={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:je({},i,{value:Xn}),info:je({},i,{value:Jn}),warn:je({},i,{value:Kn}),error:je({},i,{value:Qn}),group:je({},i,{value:es}),groupCollapsed:je({},i,{value:ts}),groupEnd:je({},i,{value:rs})})}vt<0&&$("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Nr=ue.ReactCurrentDispatcher,xr;function Gt(i,c,m){{if(xr===void 0)try{throw Error()}catch(R){var w=R.stack.trim().match(/\n( *(at )?)/);xr=w&&w[1]||""}return`
|
|
10
|
+
`+xr+i}}var Pr=!1,$t;{var qo=typeof WeakMap=="function"?WeakMap:Map;$t=new qo}function ss(i,c){if(!i||Pr)return"";{var m=$t.get(i);if(m!==void 0)return m}var w;Pr=!0;var R=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var A;A=Nr.current,Nr.current=null,Bo();try{if(c){var Y=function(){throw Error()};if(Object.defineProperty(Y.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Y,[])}catch(Ye){w=Ye}Reflect.construct(i,[],Y)}else{try{Y.call()}catch(Ye){w=Ye}i.call(Y.prototype)}}else{try{throw Error()}catch(Ye){w=Ye}i()}}catch(Ye){if(Ye&&w&&typeof Ye.stack=="string"){for(var D=Ye.stack.split(`
|
|
11
|
+
`),K=w.stack.split(`
|
|
12
|
+
`),G=D.length-1,z=K.length-1;G>=1&&z>=0&&D[G]!==K[z];)z--;for(;G>=1&&z>=0;G--,z--)if(D[G]!==K[z]){if(G!==1||z!==1)do if(G--,z--,z<0||D[G]!==K[z]){var se=`
|
|
13
|
+
`+D[G].replace(" at new "," at ");return i.displayName&&se.includes("<anonymous>")&&(se=se.replace("<anonymous>",i.displayName)),typeof i=="function"&&$t.set(i,se),se}while(G>=1&&z>=0);break}}}finally{Pr=!1,Nr.current=A,Zo(),Error.prepareStackTrace=R}var et=i?i.displayName||i.name:"",vs=et?Gt(et):"";return typeof i=="function"&&$t.set(i,vs),vs}function Xo(i,c,m){return ss(i,!1)}function Jo(i){var c=i.prototype;return!!(c&&c.isReactComponent)}function zt(i,c,m){if(i==null)return"";if(typeof i=="function")return ss(i,Jo(i));if(typeof i=="string")return Gt(i);switch(i){case p:return Gt("Suspense");case v:return Gt("SuspenseList")}if(typeof i=="object")switch(i.$$typeof){case d:return Xo(i.render);case E:return zt(i.type,c,m);case C:{var w=i,R=w._payload,A=w._init;try{return zt(A(R),c,m)}catch{}}}return""}var Bt=Object.prototype.hasOwnProperty,as={},is=ue.ReactDebugCurrentFrame;function Zt(i){if(i){var c=i._owner,m=zt(i.type,i._source,c?c.type:null);is.setExtraStackFrame(m)}else is.setExtraStackFrame(null)}function Ko(i,c,m,w,R){{var A=Function.call.bind(Bt);for(var Y in i)if(A(i,Y)){var D=void 0;try{if(typeof i[Y]!="function"){var K=Error((w||"React class")+": "+m+" type `"+Y+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[Y]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw K.name="Invariant Violation",K}D=i[Y](c,Y,w,m,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(G){D=G}D&&!(D instanceof Error)&&(Zt(R),$("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",w||"React class",m,Y,typeof D),Zt(null)),D instanceof Error&&!(D.message in as)&&(as[D.message]=!0,Zt(R),$("Failed %s type: %s",m,D.message),Zt(null))}}}var Qo=Array.isArray;function Ar(i){return Qo(i)}function el(i){{var c=typeof Symbol=="function"&&Symbol.toStringTag,m=c&&i[Symbol.toStringTag]||i.constructor.name||"Object";return m}}function tl(i){try{return os(i),!1}catch{return!0}}function os(i){return""+i}function ls(i){if(tl(i))return $("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",el(i)),os(i)}var gt=ue.ReactCurrentOwner,rl={key:!0,ref:!0,__self:!0,__source:!0},us,fs,Ir;Ir={};function nl(i){if(Bt.call(i,"ref")){var c=Object.getOwnPropertyDescriptor(i,"ref").get;if(c&&c.isReactWarning)return!1}return i.ref!==void 0}function sl(i){if(Bt.call(i,"key")){var c=Object.getOwnPropertyDescriptor(i,"key").get;if(c&&c.isReactWarning)return!1}return i.key!==void 0}function al(i,c){if(typeof i.ref=="string"&>.current&&c&>.current.stateNode!==c){var m=fe(gt.current.type);Ir[m]||($('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',fe(gt.current.type),i.ref),Ir[m]=!0)}}function il(i,c){{var m=function(){us||(us=!0,$("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",c))};m.isReactWarning=!0,Object.defineProperty(i,"key",{get:m,configurable:!0})}}function ol(i,c){{var m=function(){fs||(fs=!0,$("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",c))};m.isReactWarning=!0,Object.defineProperty(i,"ref",{get:m,configurable:!0})}}var ll=function(i,c,m,w,R,A,Y){var D={$$typeof:t,type:i,key:c,ref:m,props:Y,_owner:A};return D._store={},Object.defineProperty(D._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(D,"_self",{configurable:!1,enumerable:!1,writable:!1,value:w}),Object.defineProperty(D,"_source",{configurable:!1,enumerable:!1,writable:!1,value:R}),Object.freeze&&(Object.freeze(D.props),Object.freeze(D)),D};function ul(i,c,m,w,R){{var A,Y={},D=null,K=null;m!==void 0&&(ls(m),D=""+m),sl(c)&&(ls(c.key),D=""+c.key),nl(c)&&(K=c.ref,al(c,R));for(A in c)Bt.call(c,A)&&!rl.hasOwnProperty(A)&&(Y[A]=c[A]);if(i&&i.defaultProps){var G=i.defaultProps;for(A in G)Y[A]===void 0&&(Y[A]=G[A])}if(D||K){var z=typeof i=="function"?i.displayName||i.name||"Unknown":i;D&&il(Y,z),K&&ol(Y,z)}return ll(i,D,K,R,w,gt.current,Y)}}var Fr=ue.ReactCurrentOwner,cs=ue.ReactDebugCurrentFrame;function Qe(i){if(i){var c=i._owner,m=zt(i.type,i._source,c?c.type:null);cs.setExtraStackFrame(m)}else cs.setExtraStackFrame(null)}var Wr;Wr=!1;function Cr(i){return typeof i=="object"&&i!==null&&i.$$typeof===t}function ds(){{if(Fr.current){var i=fe(Fr.current.type);if(i)return`
|
|
14
|
+
|
|
15
|
+
Check the render method of \``+i+"`."}return""}}function fl(i){{if(i!==void 0){var c=i.fileName.replace(/^.*[\\\/]/,""),m=i.lineNumber;return`
|
|
16
|
+
|
|
17
|
+
Check your code at `+c+":"+m+"."}return""}}var hs={};function cl(i){{var c=ds();if(!c){var m=typeof i=="string"?i:i.displayName||i.name;m&&(c=`
|
|
18
|
+
|
|
19
|
+
Check the top-level render call using <`+m+">.")}return c}}function _s(i,c){{if(!i._store||i._store.validated||i.key!=null)return;i._store.validated=!0;var m=cl(c);if(hs[m])return;hs[m]=!0;var w="";i&&i._owner&&i._owner!==Fr.current&&(w=" It was passed a child from "+fe(i._owner.type)+"."),Qe(i),$('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',m,w),Qe(null)}}function ms(i,c){{if(typeof i!="object")return;if(Ar(i))for(var m=0;m<i.length;m++){var w=i[m];Cr(w)&&_s(w,c)}else if(Cr(i))i._store&&(i._store.validated=!0);else if(i){var R=P(i);if(typeof R=="function"&&R!==i.entries)for(var A=R.call(i),Y;!(Y=A.next()).done;)Cr(Y.value)&&_s(Y.value,c)}}}function dl(i){{var c=i.type;if(c==null||typeof c=="string")return;var m;if(typeof c=="function")m=c.propTypes;else if(typeof c=="object"&&(c.$$typeof===d||c.$$typeof===E))m=c.propTypes;else return;if(m){var w=fe(c);Ko(m,i.props,"prop",w,i)}else if(c.PropTypes!==void 0&&!Wr){Wr=!0;var R=fe(c);$("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",R||"Unknown")}typeof c.getDefaultProps=="function"&&!c.getDefaultProps.isReactClassApproved&&$("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function hl(i){{for(var c=Object.keys(i.props),m=0;m<c.length;m++){var w=c[m];if(w!=="children"&&w!=="key"){Qe(i),$("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",w),Qe(null);break}}i.ref!==null&&(Qe(i),$("Invalid attribute `ref` supplied to `React.Fragment`."),Qe(null))}}function ys(i,c,m,w,R,A){{var Y=O(i);if(!Y){var D="";(i===void 0||typeof i=="object"&&i!==null&&Object.keys(i).length===0)&&(D+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var K=fl(R);K?D+=K:D+=ds();var G;i===null?G="null":Ar(i)?G="array":i!==void 0&&i.$$typeof===t?(G="<"+(fe(i.type)||"Unknown")+" />",D=" Did you accidentally export a JSX literal instead of a component?"):G=typeof i,$("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",G,D)}var z=ul(i,c,m,R,A);if(z==null)return z;if(Y){var se=c.children;if(se!==void 0)if(w)if(Ar(se)){for(var et=0;et<se.length;et++)ms(se[et],i);Object.freeze&&Object.freeze(se)}else $("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else ms(se,i)}return i===n?hl(z):dl(z),z}}function _l(i,c,m){return ys(i,c,m,!0)}function ml(i,c,m){return ys(i,c,m,!1)}var yl=ml,vl=_l;tt.Fragment=n,tt.jsx=yl,tt.jsxs=vl}()),tt}var rt={};/**
|
|
20
|
+
* @license React
|
|
21
|
+
* react-jsx-runtime.production.min.js
|
|
22
|
+
*
|
|
23
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
24
|
+
*
|
|
25
|
+
* This source code is licensed under the MIT license found in the
|
|
26
|
+
* LICENSE file in the root directory of this source tree.
|
|
27
|
+
*/var jr;function ps(){if(jr)return rt;jr=1;var e=j,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,s=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function o(u,d,p){var v,E={},C=null,N=null;p!==void 0&&(C=""+p),d.key!==void 0&&(C=""+d.key),d.ref!==void 0&&(N=d.ref);for(v in d)n.call(d,v)&&!a.hasOwnProperty(v)&&(E[v]=d[v]);if(u&&u.defaultProps)for(v in d=u.defaultProps,d)E[v]===void 0&&(E[v]=d[v]);return{$$typeof:t,type:u,key:C,ref:N,props:E,_owner:s.current}}return rt.Fragment=r,rt.jsx=o,rt.jsxs=o,rt}process.env.NODE_ENV==="production"?xe.exports=ps():xe.exports=gs();var H=xe.exports;//! moment.js
|
|
28
|
+
//! version : 2.30.1
|
|
29
|
+
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
30
|
+
//! license : MIT
|
|
31
|
+
//! momentjs.com
|
|
32
|
+
var Hr;function _(){return Hr.apply(null,arguments)}function ws(e){Hr=e}function ae(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function Pe(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function T(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function qt(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(T(e,t))return!1;return!0}function Q(e){return e===void 0}function ye(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function nt(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function Ur(e,t){var r=[],n,s=e.length;for(n=0;n<s;++n)r.push(t(e[n],n));return r}function Te(e,t){for(var r in t)T(t,r)&&(e[r]=t[r]);return T(t,"toString")&&(e.toString=t.toString),T(t,"valueOf")&&(e.valueOf=t.valueOf),e}function ce(e,t,r,n){return yn(e,t,r,n,!0).utc()}function Ss(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function S(e){return e._pf==null&&(e._pf=Ss()),e._pf}var Xt;Array.prototype.some?Xt=Array.prototype.some:Xt=function(e){var t=Object(this),r=t.length>>>0,n;for(n=0;n<r;n++)if(n in t&&e.call(this,t[n],n,t))return!0;return!1};function Jt(e){var t=null,r=!1,n=e._d&&!isNaN(e._d.getTime());if(n&&(t=S(e),r=Xt.call(t.parsedDateParts,function(s){return s!=null}),n=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r),e._strict&&(n=n&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=n;else return n;return e._isValid}function pt(e){var t=ce(NaN);return e!=null?Te(S(t),e):S(t).userInvalidated=!0,t}var Vr=_.momentProperties=[],Kt=!1;function Qt(e,t){var r,n,s,a=Vr.length;if(Q(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),Q(t._i)||(e._i=t._i),Q(t._f)||(e._f=t._f),Q(t._l)||(e._l=t._l),Q(t._strict)||(e._strict=t._strict),Q(t._tzm)||(e._tzm=t._tzm),Q(t._isUTC)||(e._isUTC=t._isUTC),Q(t._offset)||(e._offset=t._offset),Q(t._pf)||(e._pf=S(t)),Q(t._locale)||(e._locale=t._locale),a>0)for(r=0;r<a;r++)n=Vr[r],s=t[n],Q(s)||(e[n]=s);return e}function st(e){Qt(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),Kt===!1&&(Kt=!0,_.updateOffset(this),Kt=!1)}function ie(e){return e instanceof st||e!=null&&e._isAMomentObject!=null}function Gr(e){_.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+e)}function te(e,t){var r=!0;return Te(function(){if(_.deprecationHandler!=null&&_.deprecationHandler(null,e),r){var n=[],s,a,o,u=arguments.length;for(a=0;a<u;a++){if(s="",typeof arguments[a]=="object"){s+=`
|
|
33
|
+
[`+a+"] ";for(o in arguments[0])T(arguments[0],o)&&(s+=o+": "+arguments[0][o]+", ");s=s.slice(0,-2)}else s=arguments[a];n.push(s)}Gr(e+`
|
|
34
|
+
Arguments: `+Array.prototype.slice.call(n).join("")+`
|
|
35
|
+
`+new Error().stack),r=!1}return t.apply(this,arguments)},t)}var $r={};function zr(e,t){_.deprecationHandler!=null&&_.deprecationHandler(e,t),$r[e]||(Gr(t),$r[e]=!0)}_.suppressDeprecationWarnings=!1,_.deprecationHandler=null;function de(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function Ms(e){var t,r;for(r in e)T(e,r)&&(t=e[r],de(t)?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function er(e,t){var r=Te({},e),n;for(n in t)T(t,n)&&(Pe(e[n])&&Pe(t[n])?(r[n]={},Te(r[n],e[n]),Te(r[n],t[n])):t[n]!=null?r[n]=t[n]:delete r[n]);for(n in e)T(e,n)&&!T(t,n)&&Pe(e[n])&&(r[n]=Te({},r[n]));return r}function tr(e){e!=null&&this.set(e)}var rr;Object.keys?rr=Object.keys:rr=function(e){var t,r=[];for(t in e)T(e,t)&&r.push(t);return r};var Ds={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function ks(e,t,r){var n=this._calendar[e]||this._calendar.sameElse;return de(n)?n.call(t,r):n}function he(e,t,r){var n=""+Math.abs(e),s=t-n.length,a=e>=0;return(a?r?"+":"":"-")+Math.pow(10,Math.max(0,s)).toString().substr(1)+n}var nr=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,wt=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,sr={},He={};function g(e,t,r,n){var s=n;typeof n=="string"&&(s=function(){return this[n]()}),e&&(He[e]=s),t&&(He[t[0]]=function(){return he(s.apply(this,arguments),t[1],t[2])}),r&&(He[r]=function(){return this.localeData().ordinal(s.apply(this,arguments),e)})}function Os(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Ys(e){var t=e.match(nr),r,n;for(r=0,n=t.length;r<n;r++)He[t[r]]?t[r]=He[t[r]]:t[r]=Os(t[r]);return function(s){var a="",o;for(o=0;o<n;o++)a+=de(t[o])?t[o].call(s,e):t[o];return a}}function St(e,t){return e.isValid()?(t=Br(t,e.localeData()),sr[t]=sr[t]||Ys(t),sr[t](e)):e.localeData().invalidDate()}function Br(e,t){var r=5;function n(s){return t.longDateFormat(s)||s}for(wt.lastIndex=0;r>=0&&wt.test(e);)e=e.replace(wt,n),wt.lastIndex=0,r-=1;return e}var Ts={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function bs(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(nr).map(function(n){return n==="MMMM"||n==="MM"||n==="DD"||n==="dddd"?n.slice(1):n}).join(""),this._longDateFormat[e])}var Es="Invalid date";function Rs(){return this._invalidDate}var Ns="%d",xs=/\d{1,2}/;function Ps(e){return this._ordinal.replace("%d",e)}var As={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Is(e,t,r,n){var s=this._relativeTime[r];return de(s)?s(e,t,r,n):s.replace(/%d/i,e)}function Fs(e,t){var r=this._relativeTime[e>0?"future":"past"];return de(r)?r(t):r.replace(/%s/i,t)}var Zr={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function re(e){return typeof e=="string"?Zr[e]||Zr[e.toLowerCase()]:void 0}function ar(e){var t={},r,n;for(n in e)T(e,n)&&(r=re(n),r&&(t[r]=e[n]));return t}var Ws={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function Cs(e){var t=[],r;for(r in e)T(e,r)&&t.push({unit:r,priority:Ws[r]});return t.sort(function(n,s){return n.priority-s.priority}),t}var qr=/\d/,ee=/\d\d/,Xr=/\d{3}/,ir=/\d{4}/,Mt=/[+-]?\d{6}/,I=/\d\d?/,Jr=/\d\d\d\d?/,Kr=/\d\d\d\d\d\d?/,Dt=/\d{1,3}/,or=/\d{1,4}/,kt=/[+-]?\d{1,6}/,Ue=/\d+/,Ot=/[+-]?\d+/,Ls=/Z|[+-]\d\d:?\d\d/gi,Yt=/Z|[+-]\d\d(?::?\d\d)?/gi,js=/[+-]?\d+(\.\d{1,3})?/,at=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Ve=/^[1-9]\d?/,lr=/^([1-9]\d|\d)/,Tt;Tt={};function y(e,t,r){Tt[e]=de(t)?t:function(n,s){return n&&r?r:t}}function Hs(e,t){return T(Tt,e)?Tt[e](t._strict,t._locale):new RegExp(Us(e))}function Us(e){return ve(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,r,n,s,a){return r||n||s||a}))}function ve(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ne(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function M(e){var t=+e,r=0;return t!==0&&isFinite(t)&&(r=ne(t)),r}var ur={};function x(e,t){var r,n=t,s;for(typeof e=="string"&&(e=[e]),ye(t)&&(n=function(a,o){o[t]=M(a)}),s=e.length,r=0;r<s;r++)ur[e[r]]=n}function it(e,t){x(e,function(r,n,s,a){s._w=s._w||{},t(r,s._w,s,a)})}function Vs(e,t,r){t!=null&&T(ur,e)&&ur[e](t,r._a,r,e)}function bt(e){return e%4===0&&e%100!==0||e%400===0}var X=0,ge=1,_e=2,B=3,oe=4,pe=5,Ae=6,Gs=7,$s=8;g("Y",0,0,function(){var e=this.year();return e<=9999?he(e,4):"+"+e}),g(0,["YY",2],0,function(){return this.year()%100}),g(0,["YYYY",4],0,"year"),g(0,["YYYYY",5],0,"year"),g(0,["YYYYYY",6,!0],0,"year"),y("Y",Ot),y("YY",I,ee),y("YYYY",or,ir),y("YYYYY",kt,Mt),y("YYYYYY",kt,Mt),x(["YYYYY","YYYYYY"],X),x("YYYY",function(e,t){t[X]=e.length===2?_.parseTwoDigitYear(e):M(e)}),x("YY",function(e,t){t[X]=_.parseTwoDigitYear(e)}),x("Y",function(e,t){t[X]=parseInt(e,10)});function ot(e){return bt(e)?366:365}_.parseTwoDigitYear=function(e){return M(e)+(M(e)>68?1900:2e3)};var Qr=Ge("FullYear",!0);function zs(){return bt(this.year())}function Ge(e,t){return function(r){return r!=null?(en(this,e,r),_.updateOffset(this,t),this):lt(this,e)}}function lt(e,t){if(!e.isValid())return NaN;var r=e._d,n=e._isUTC;switch(t){case"Milliseconds":return n?r.getUTCMilliseconds():r.getMilliseconds();case"Seconds":return n?r.getUTCSeconds():r.getSeconds();case"Minutes":return n?r.getUTCMinutes():r.getMinutes();case"Hours":return n?r.getUTCHours():r.getHours();case"Date":return n?r.getUTCDate():r.getDate();case"Day":return n?r.getUTCDay():r.getDay();case"Month":return n?r.getUTCMonth():r.getMonth();case"FullYear":return n?r.getUTCFullYear():r.getFullYear();default:return NaN}}function en(e,t,r){var n,s,a,o,u;if(!(!e.isValid()||isNaN(r))){switch(n=e._d,s=e._isUTC,t){case"Milliseconds":return void(s?n.setUTCMilliseconds(r):n.setMilliseconds(r));case"Seconds":return void(s?n.setUTCSeconds(r):n.setSeconds(r));case"Minutes":return void(s?n.setUTCMinutes(r):n.setMinutes(r));case"Hours":return void(s?n.setUTCHours(r):n.setHours(r));case"Date":return void(s?n.setUTCDate(r):n.setDate(r));case"FullYear":break;default:return}a=r,o=e.month(),u=e.date(),u=u===29&&o===1&&!bt(a)?28:u,s?n.setUTCFullYear(a,o,u):n.setFullYear(a,o,u)}}function Bs(e){return e=re(e),de(this[e])?this[e]():this}function Zs(e,t){if(typeof e=="object"){e=ar(e);var r=Cs(e),n,s=r.length;for(n=0;n<s;n++)this[r[n].unit](e[r[n].unit])}else if(e=re(e),de(this[e]))return this[e](t);return this}function qs(e,t){return(e%t+t)%t}var U;Array.prototype.indexOf?U=Array.prototype.indexOf:U=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function fr(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=qs(t,12);return e+=(t-r)/12,r===1?bt(e)?29:28:31-r%7%2}g("M",["MM",2],"Mo",function(){return this.month()+1}),g("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),g("MMMM",0,0,function(e){return this.localeData().months(this,e)}),y("M",I,Ve),y("MM",I,ee),y("MMM",function(e,t){return t.monthsShortRegex(e)}),y("MMMM",function(e,t){return t.monthsRegex(e)}),x(["M","MM"],function(e,t){t[ge]=M(e)-1}),x(["MMM","MMMM"],function(e,t,r,n){var s=r._locale.monthsParse(e,n,r._strict);s!=null?t[ge]=s:S(r).invalidMonth=e});var Xs="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),tn="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),rn=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Js=at,Ks=at;function Qs(e,t){return e?ae(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||rn).test(t)?"format":"standalone"][e.month()]:ae(this._months)?this._months:this._months.standalone}function ea(e,t){return e?ae(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[rn.test(t)?"format":"standalone"][e.month()]:ae(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function ta(e,t,r){var n,s,a,o=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)a=ce([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(a,"").toLocaleLowerCase();return r?t==="MMM"?(s=U.call(this._shortMonthsParse,o),s!==-1?s:null):(s=U.call(this._longMonthsParse,o),s!==-1?s:null):t==="MMM"?(s=U.call(this._shortMonthsParse,o),s!==-1?s:(s=U.call(this._longMonthsParse,o),s!==-1?s:null)):(s=U.call(this._longMonthsParse,o),s!==-1?s:(s=U.call(this._shortMonthsParse,o),s!==-1?s:null))}function ra(e,t,r){var n,s,a;if(this._monthsParseExact)return ta.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(s=ce([2e3,n]),r&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(s,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(s,"").replace(".","")+"$","i")),!r&&!this._monthsParse[n]&&(a="^"+this.months(s,"")+"|^"+this.monthsShort(s,""),this._monthsParse[n]=new RegExp(a.replace(".",""),"i")),r&&t==="MMMM"&&this._longMonthsParse[n].test(e))return n;if(r&&t==="MMM"&&this._shortMonthsParse[n].test(e))return n;if(!r&&this._monthsParse[n].test(e))return n}}function nn(e,t){if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=M(t);else if(t=e.localeData().monthsParse(t),!ye(t))return e}var r=t,n=e.date();return n=n<29?n:Math.min(n,fr(e.year(),r)),e._isUTC?e._d.setUTCMonth(r,n):e._d.setMonth(r,n),e}function sn(e){return e!=null?(nn(this,e),_.updateOffset(this,!0),this):lt(this,"Month")}function na(){return fr(this.year(),this.month())}function sa(e){return this._monthsParseExact?(T(this,"_monthsRegex")||an.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(T(this,"_monthsShortRegex")||(this._monthsShortRegex=Js),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function aa(e){return this._monthsParseExact?(T(this,"_monthsRegex")||an.call(this),e?this._monthsStrictRegex:this._monthsRegex):(T(this,"_monthsRegex")||(this._monthsRegex=Ks),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function an(){function e(d,p){return p.length-d.length}var t=[],r=[],n=[],s,a,o,u;for(s=0;s<12;s++)a=ce([2e3,s]),o=ve(this.monthsShort(a,"")),u=ve(this.months(a,"")),t.push(o),r.push(u),n.push(u),n.push(o);t.sort(e),r.sort(e),n.sort(e),this._monthsRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function ia(e,t,r,n,s,a,o){var u;return e<100&&e>=0?(u=new Date(e+400,t,r,n,s,a,o),isFinite(u.getFullYear())&&u.setFullYear(e)):u=new Date(e,t,r,n,s,a,o),u}function ut(e){var t,r;return e<100&&e>=0?(r=Array.prototype.slice.call(arguments),r[0]=e+400,t=new Date(Date.UTC.apply(null,r)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Et(e,t,r){var n=7+t-r,s=(7+ut(e,0,n).getUTCDay()-t)%7;return-s+n-1}function on(e,t,r,n,s){var a=(7+r-n)%7,o=Et(e,n,s),u=1+7*(t-1)+a+o,d,p;return u<=0?(d=e-1,p=ot(d)+u):u>ot(e)?(d=e+1,p=u-ot(e)):(d=e,p=u),{year:d,dayOfYear:p}}function ft(e,t,r){var n=Et(e.year(),t,r),s=Math.floor((e.dayOfYear()-n-1)/7)+1,a,o;return s<1?(o=e.year()-1,a=s+we(o,t,r)):s>we(e.year(),t,r)?(a=s-we(e.year(),t,r),o=e.year()+1):(o=e.year(),a=s),{week:a,year:o}}function we(e,t,r){var n=Et(e,t,r),s=Et(e+1,t,r);return(ot(e)-n+s)/7}g("w",["ww",2],"wo","week"),g("W",["WW",2],"Wo","isoWeek"),y("w",I,Ve),y("ww",I,ee),y("W",I,Ve),y("WW",I,ee),it(["w","ww","W","WW"],function(e,t,r,n){t[n.substr(0,1)]=M(e)});function oa(e){return ft(e,this._week.dow,this._week.doy).week}var la={dow:0,doy:6};function ua(){return this._week.dow}function fa(){return this._week.doy}function ca(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function da(e){var t=ft(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}g("d",0,"do","day"),g("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),g("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),g("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),g("e",0,0,"weekday"),g("E",0,0,"isoWeekday"),y("d",I),y("e",I),y("E",I),y("dd",function(e,t){return t.weekdaysMinRegex(e)}),y("ddd",function(e,t){return t.weekdaysShortRegex(e)}),y("dddd",function(e,t){return t.weekdaysRegex(e)}),it(["dd","ddd","dddd"],function(e,t,r,n){var s=r._locale.weekdaysParse(e,n,r._strict);s!=null?t.d=s:S(r).invalidWeekday=e}),it(["d","e","E"],function(e,t,r,n){t[n]=M(e)});function ha(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function _a(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function cr(e,t){return e.slice(t,7).concat(e.slice(0,t))}var ma="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ln="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),ya="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),va=at,ga=at,pa=at;function wa(e,t){var r=ae(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?cr(r,this._week.dow):e?r[e.day()]:r}function Sa(e){return e===!0?cr(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Ma(e){return e===!0?cr(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Da(e,t,r){var n,s,a,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)a=ce([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(a,"").toLocaleLowerCase();return r?t==="dddd"?(s=U.call(this._weekdaysParse,o),s!==-1?s:null):t==="ddd"?(s=U.call(this._shortWeekdaysParse,o),s!==-1?s:null):(s=U.call(this._minWeekdaysParse,o),s!==-1?s:null):t==="dddd"?(s=U.call(this._weekdaysParse,o),s!==-1||(s=U.call(this._shortWeekdaysParse,o),s!==-1)?s:(s=U.call(this._minWeekdaysParse,o),s!==-1?s:null)):t==="ddd"?(s=U.call(this._shortWeekdaysParse,o),s!==-1||(s=U.call(this._weekdaysParse,o),s!==-1)?s:(s=U.call(this._minWeekdaysParse,o),s!==-1?s:null)):(s=U.call(this._minWeekdaysParse,o),s!==-1||(s=U.call(this._weekdaysParse,o),s!==-1)?s:(s=U.call(this._shortWeekdaysParse,o),s!==-1?s:null))}function ka(e,t,r){var n,s,a;if(this._weekdaysParseExact)return Da.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(s=ce([2e3,1]).day(n),r&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(s,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(s,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(s,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(a="^"+this.weekdays(s,"")+"|^"+this.weekdaysShort(s,"")+"|^"+this.weekdaysMin(s,""),this._weekdaysParse[n]=new RegExp(a.replace(".",""),"i")),r&&t==="dddd"&&this._fullWeekdaysParse[n].test(e))return n;if(r&&t==="ddd"&&this._shortWeekdaysParse[n].test(e))return n;if(r&&t==="dd"&&this._minWeekdaysParse[n].test(e))return n;if(!r&&this._weekdaysParse[n].test(e))return n}}function Oa(e){if(!this.isValid())return e!=null?this:NaN;var t=lt(this,"Day");return e!=null?(e=ha(e,this.localeData()),this.add(e-t,"d")):t}function Ya(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function Ta(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=_a(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function ba(e){return this._weekdaysParseExact?(T(this,"_weekdaysRegex")||dr.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(T(this,"_weekdaysRegex")||(this._weekdaysRegex=va),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Ea(e){return this._weekdaysParseExact?(T(this,"_weekdaysRegex")||dr.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(T(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ga),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Ra(e){return this._weekdaysParseExact?(T(this,"_weekdaysRegex")||dr.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(T(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=pa),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function dr(){function e(v,E){return E.length-v.length}var t=[],r=[],n=[],s=[],a,o,u,d,p;for(a=0;a<7;a++)o=ce([2e3,1]).day(a),u=ve(this.weekdaysMin(o,"")),d=ve(this.weekdaysShort(o,"")),p=ve(this.weekdays(o,"")),t.push(u),r.push(d),n.push(p),s.push(u),s.push(d),s.push(p);t.sort(e),r.sort(e),n.sort(e),s.sort(e),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function hr(){return this.hours()%12||12}function Na(){return this.hours()||24}g("H",["HH",2],0,"hour"),g("h",["hh",2],0,hr),g("k",["kk",2],0,Na),g("hmm",0,0,function(){return""+hr.apply(this)+he(this.minutes(),2)}),g("hmmss",0,0,function(){return""+hr.apply(this)+he(this.minutes(),2)+he(this.seconds(),2)}),g("Hmm",0,0,function(){return""+this.hours()+he(this.minutes(),2)}),g("Hmmss",0,0,function(){return""+this.hours()+he(this.minutes(),2)+he(this.seconds(),2)});function un(e,t){g(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}un("a",!0),un("A",!1);function fn(e,t){return t._meridiemParse}y("a",fn),y("A",fn),y("H",I,lr),y("h",I,Ve),y("k",I,Ve),y("HH",I,ee),y("hh",I,ee),y("kk",I,ee),y("hmm",Jr),y("hmmss",Kr),y("Hmm",Jr),y("Hmmss",Kr),x(["H","HH"],B),x(["k","kk"],function(e,t,r){var n=M(e);t[B]=n===24?0:n}),x(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e}),x(["h","hh"],function(e,t,r){t[B]=M(e),S(r).bigHour=!0}),x("hmm",function(e,t,r){var n=e.length-2;t[B]=M(e.substr(0,n)),t[oe]=M(e.substr(n)),S(r).bigHour=!0}),x("hmmss",function(e,t,r){var n=e.length-4,s=e.length-2;t[B]=M(e.substr(0,n)),t[oe]=M(e.substr(n,2)),t[pe]=M(e.substr(s)),S(r).bigHour=!0}),x("Hmm",function(e,t,r){var n=e.length-2;t[B]=M(e.substr(0,n)),t[oe]=M(e.substr(n))}),x("Hmmss",function(e,t,r){var n=e.length-4,s=e.length-2;t[B]=M(e.substr(0,n)),t[oe]=M(e.substr(n,2)),t[pe]=M(e.substr(s))});function xa(e){return(e+"").toLowerCase().charAt(0)==="p"}var Pa=/[ap]\.?m?\.?/i,Aa=Ge("Hours",!0);function Ia(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var cn={calendar:Ds,longDateFormat:Ts,invalidDate:Es,ordinal:Ns,dayOfMonthOrdinalParse:xs,relativeTime:As,months:Xs,monthsShort:tn,week:la,weekdays:ma,weekdaysMin:ya,weekdaysShort:ln,meridiemParse:Pa},W={},ct={},dt;function Fa(e,t){var r,n=Math.min(e.length,t.length);for(r=0;r<n;r+=1)if(e[r]!==t[r])return r;return n}function dn(e){return e&&e.toLowerCase().replace("_","-")}function Wa(e){for(var t=0,r,n,s,a;t<e.length;){for(a=dn(e[t]).split("-"),r=a.length,n=dn(e[t+1]),n=n?n.split("-"):null;r>0;){if(s=Rt(a.slice(0,r).join("-")),s)return s;if(n&&n.length>=r&&Fa(a,n)>=r-1)break;r--}t++}return dt}function Ca(e){return!!(e&&e.match("^[^/\\\\]*$"))}function Rt(e){var t=null,r;if(W[e]===void 0&&typeof module<"u"&&module&&module.exports&&Ca(e))try{t=dt._abbr,r=require,r("./locale/"+e),be(t)}catch{W[e]=null}return W[e]}function be(e,t){var r;return e&&(Q(t)?r=Se(e):r=_r(e,t),r?dt=r:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),dt._abbr}function _r(e,t){if(t!==null){var r,n=cn;if(t.abbr=e,W[e]!=null)zr("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=W[e]._config;else if(t.parentLocale!=null)if(W[t.parentLocale]!=null)n=W[t.parentLocale]._config;else if(r=Rt(t.parentLocale),r!=null)n=r._config;else return ct[t.parentLocale]||(ct[t.parentLocale]=[]),ct[t.parentLocale].push({name:e,config:t}),null;return W[e]=new tr(er(n,t)),ct[e]&&ct[e].forEach(function(s){_r(s.name,s.config)}),be(e),W[e]}else return delete W[e],null}function La(e,t){if(t!=null){var r,n,s=cn;W[e]!=null&&W[e].parentLocale!=null?W[e].set(er(W[e]._config,t)):(n=Rt(e),n!=null&&(s=n._config),t=er(s,t),n==null&&(t.abbr=e),r=new tr(t),r.parentLocale=W[e],W[e]=r),be(e)}else W[e]!=null&&(W[e].parentLocale!=null?(W[e]=W[e].parentLocale,e===be()&&be(e)):W[e]!=null&&delete W[e]);return W[e]}function Se(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return dt;if(!ae(e)){if(t=Rt(e),t)return t;e=[e]}return Wa(e)}function ja(){return rr(W)}function mr(e){var t,r=e._a;return r&&S(e).overflow===-2&&(t=r[ge]<0||r[ge]>11?ge:r[_e]<1||r[_e]>fr(r[X],r[ge])?_e:r[B]<0||r[B]>24||r[B]===24&&(r[oe]!==0||r[pe]!==0||r[Ae]!==0)?B:r[oe]<0||r[oe]>59?oe:r[pe]<0||r[pe]>59?pe:r[Ae]<0||r[Ae]>999?Ae:-1,S(e)._overflowDayOfYear&&(t<X||t>_e)&&(t=_e),S(e)._overflowWeeks&&t===-1&&(t=Gs),S(e)._overflowWeekday&&t===-1&&(t=$s),S(e).overflow=t),e}var Ha=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ua=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Va=/Z|[+-]\d\d(?::?\d\d)?/,Nt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],yr=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Ga=/^\/?Date\((-?\d+)/i,$a=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,za={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function hn(e){var t,r,n=e._i,s=Ha.exec(n)||Ua.exec(n),a,o,u,d,p=Nt.length,v=yr.length;if(s){for(S(e).iso=!0,t=0,r=p;t<r;t++)if(Nt[t][1].exec(s[1])){o=Nt[t][0],a=Nt[t][2]!==!1;break}if(o==null){e._isValid=!1;return}if(s[3]){for(t=0,r=v;t<r;t++)if(yr[t][1].exec(s[3])){u=(s[2]||" ")+yr[t][0];break}if(u==null){e._isValid=!1;return}}if(!a&&u!=null){e._isValid=!1;return}if(s[4])if(Va.exec(s[4]))d="Z";else{e._isValid=!1;return}e._f=o+(u||"")+(d||""),gr(e)}else e._isValid=!1}function Ba(e,t,r,n,s,a){var o=[Za(e),tn.indexOf(t),parseInt(r,10),parseInt(n,10),parseInt(s,10)];return a&&o.push(parseInt(a,10)),o}function Za(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function qa(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Xa(e,t,r){if(e){var n=ln.indexOf(e),s=new Date(t[0],t[1],t[2]).getDay();if(n!==s)return S(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function Ja(e,t,r){if(e)return za[e];if(t)return 0;var n=parseInt(r,10),s=n%100,a=(n-s)/100;return a*60+s}function _n(e){var t=$a.exec(qa(e._i)),r;if(t){if(r=Ba(t[4],t[3],t[2],t[5],t[6],t[7]),!Xa(t[1],r,e))return;e._a=r,e._tzm=Ja(t[8],t[9],t[10]),e._d=ut.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),S(e).rfc2822=!0}else e._isValid=!1}function Ka(e){var t=Ga.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(hn(e),e._isValid===!1)delete e._isValid;else return;if(_n(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:_.createFromInputFallback(e)}_.createFromInputFallback=te("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function $e(e,t,r){return e??t??r}function Qa(e){var t=new Date(_.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function vr(e){var t,r,n=[],s,a,o;if(!e._d){for(s=Qa(e),e._w&&e._a[_e]==null&&e._a[ge]==null&&ei(e),e._dayOfYear!=null&&(o=$e(e._a[X],s[X]),(e._dayOfYear>ot(o)||e._dayOfYear===0)&&(S(e)._overflowDayOfYear=!0),r=ut(o,0,e._dayOfYear),e._a[ge]=r.getUTCMonth(),e._a[_e]=r.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=n[t]=s[t];for(;t<7;t++)e._a[t]=n[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[B]===24&&e._a[oe]===0&&e._a[pe]===0&&e._a[Ae]===0&&(e._nextDay=!0,e._a[B]=0),e._d=(e._useUTC?ut:ia).apply(null,n),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[B]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==a&&(S(e).weekdayMismatch=!0)}}function ei(e){var t,r,n,s,a,o,u,d,p;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(a=1,o=4,r=$e(t.GG,e._a[X],ft(F(),1,4).year),n=$e(t.W,1),s=$e(t.E,1),(s<1||s>7)&&(d=!0)):(a=e._locale._week.dow,o=e._locale._week.doy,p=ft(F(),a,o),r=$e(t.gg,e._a[X],p.year),n=$e(t.w,p.week),t.d!=null?(s=t.d,(s<0||s>6)&&(d=!0)):t.e!=null?(s=t.e+a,(t.e<0||t.e>6)&&(d=!0)):s=a),n<1||n>we(r,a,o)?S(e)._overflowWeeks=!0:d!=null?S(e)._overflowWeekday=!0:(u=on(r,n,s,a,o),e._a[X]=u.year,e._dayOfYear=u.dayOfYear)}_.ISO_8601=function(){},_.RFC_2822=function(){};function gr(e){if(e._f===_.ISO_8601){hn(e);return}if(e._f===_.RFC_2822){_n(e);return}e._a=[],S(e).empty=!0;var t=""+e._i,r,n,s,a,o,u=t.length,d=0,p,v;for(s=Br(e._f,e._locale).match(nr)||[],v=s.length,r=0;r<v;r++)a=s[r],n=(t.match(Hs(a,e))||[])[0],n&&(o=t.substr(0,t.indexOf(n)),o.length>0&&S(e).unusedInput.push(o),t=t.slice(t.indexOf(n)+n.length),d+=n.length),He[a]?(n?S(e).empty=!1:S(e).unusedTokens.push(a),Vs(a,n,e)):e._strict&&!n&&S(e).unusedTokens.push(a);S(e).charsLeftOver=u-d,t.length>0&&S(e).unusedInput.push(t),e._a[B]<=12&&S(e).bigHour===!0&&e._a[B]>0&&(S(e).bigHour=void 0),S(e).parsedDateParts=e._a.slice(0),S(e).meridiem=e._meridiem,e._a[B]=ti(e._locale,e._a[B],e._meridiem),p=S(e).era,p!==null&&(e._a[X]=e._locale.erasConvertYear(p,e._a[X])),vr(e),mr(e)}function ti(e,t,r){var n;return r==null?t:e.meridiemHour!=null?e.meridiemHour(t,r):(e.isPM!=null&&(n=e.isPM(r),n&&t<12&&(t+=12),!n&&t===12&&(t=0)),t)}function ri(e){var t,r,n,s,a,o,u=!1,d=e._f.length;if(d===0){S(e).invalidFormat=!0,e._d=new Date(NaN);return}for(s=0;s<d;s++)a=0,o=!1,t=Qt({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[s],gr(t),Jt(t)&&(o=!0),a+=S(t).charsLeftOver,a+=S(t).unusedTokens.length*10,S(t).score=a,u?a<n&&(n=a,r=t):(n==null||a<n||o)&&(n=a,r=t,o&&(u=!0));Te(e,r||t)}function ni(e){if(!e._d){var t=ar(e._i),r=t.day===void 0?t.date:t.day;e._a=Ur([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],function(n){return n&&parseInt(n,10)}),vr(e)}}function si(e){var t=new st(mr(mn(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function mn(e){var t=e._i,r=e._f;return e._locale=e._locale||Se(e._l),t===null||r===void 0&&t===""?pt({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),ie(t)?new st(mr(t)):(nt(t)?e._d=t:ae(r)?ri(e):r?gr(e):ai(e),Jt(e)||(e._d=null),e))}function ai(e){var t=e._i;Q(t)?e._d=new Date(_.now()):nt(t)?e._d=new Date(t.valueOf()):typeof t=="string"?Ka(e):ae(t)?(e._a=Ur(t.slice(0),function(r){return parseInt(r,10)}),vr(e)):Pe(t)?ni(e):ye(t)?e._d=new Date(t):_.createFromInputFallback(e)}function yn(e,t,r,n,s){var a={};return(t===!0||t===!1)&&(n=t,t=void 0),(r===!0||r===!1)&&(n=r,r=void 0),(Pe(e)&&qt(e)||ae(e)&&e.length===0)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=s,a._l=r,a._i=e,a._f=t,a._strict=n,si(a)}function F(e,t,r,n){return yn(e,t,r,n,!1)}var ii=te("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=F.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:pt()}),oi=te("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=F.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:pt()});function vn(e,t){var r,n;if(t.length===1&&ae(t[0])&&(t=t[0]),!t.length)return F();for(r=t[0],n=1;n<t.length;++n)(!t[n].isValid()||t[n][e](r))&&(r=t[n]);return r}function li(){var e=[].slice.call(arguments,0);return vn("isBefore",e)}function ui(){var e=[].slice.call(arguments,0);return vn("isAfter",e)}var fi=function(){return Date.now?Date.now():+new Date},ht=["year","quarter","month","week","day","hour","minute","second","millisecond"];function ci(e){var t,r=!1,n,s=ht.length;for(t in e)if(T(e,t)&&!(U.call(ht,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(n=0;n<s;++n)if(e[ht[n]]){if(r)return!1;parseFloat(e[ht[n]])!==M(e[ht[n]])&&(r=!0)}return!0}function di(){return this._isValid}function hi(){return le(NaN)}function xt(e){var t=ar(e),r=t.year||0,n=t.quarter||0,s=t.month||0,a=t.week||t.isoWeek||0,o=t.day||0,u=t.hour||0,d=t.minute||0,p=t.second||0,v=t.millisecond||0;this._isValid=ci(t),this._milliseconds=+v+p*1e3+d*6e4+u*1e3*60*60,this._days=+o+a*7,this._months=+s+n*3+r*12,this._data={},this._locale=Se(),this._bubble()}function Pt(e){return e instanceof xt}function pr(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function _i(e,t,r){var n=Math.min(e.length,t.length),s=Math.abs(e.length-t.length),a=0,o;for(o=0;o<n;o++)(r&&e[o]!==t[o]||!r&&M(e[o])!==M(t[o]))&&a++;return a+s}function gn(e,t){g(e,0,0,function(){var r=this.utcOffset(),n="+";return r<0&&(r=-r,n="-"),n+he(~~(r/60),2)+t+he(~~r%60,2)})}gn("Z",":"),gn("ZZ",""),y("Z",Yt),y("ZZ",Yt),x(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=wr(Yt,e)});var mi=/([\+\-]|\d\d)/gi;function wr(e,t){var r=(t||"").match(e),n,s,a;return r===null?null:(n=r[r.length-1]||[],s=(n+"").match(mi)||["-",0,0],a=+(s[1]*60)+M(s[2]),a===0?0:s[0]==="+"?a:-a)}function Sr(e,t){var r,n;return t._isUTC?(r=t.clone(),n=(ie(e)||nt(e)?e.valueOf():F(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+n),_.updateOffset(r,!1),r):F(e).local()}function Mr(e){return-Math.round(e._d.getTimezoneOffset())}_.updateOffset=function(){};function yi(e,t,r){var n=this._offset||0,s;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=wr(Yt,e),e===null)return this}else Math.abs(e)<16&&!r&&(e=e*60);return!this._isUTC&&t&&(s=Mr(this)),this._offset=e,this._isUTC=!0,s!=null&&this.add(s,"m"),n!==e&&(!t||this._changeInProgress?Mn(this,le(e-n,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,_.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?n:Mr(this)}function vi(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function gi(e){return this.utcOffset(0,e)}function pi(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Mr(this),"m")),this}function wi(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=wr(Ls,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Si(e){return this.isValid()?(e=e?F(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function Mi(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Di(){if(!Q(this._isDSTShifted))return this._isDSTShifted;var e={},t;return Qt(e,this),e=mn(e),e._a?(t=e._isUTC?ce(e._a):F(e._a),this._isDSTShifted=this.isValid()&&_i(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function ki(){return this.isValid()?!this._isUTC:!1}function Oi(){return this.isValid()?this._isUTC:!1}function pn(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Yi=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ti=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function le(e,t){var r=e,n=null,s,a,o;return Pt(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:ye(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(n=Yi.exec(e))?(s=n[1]==="-"?-1:1,r={y:0,d:M(n[_e])*s,h:M(n[B])*s,m:M(n[oe])*s,s:M(n[pe])*s,ms:M(pr(n[Ae]*1e3))*s}):(n=Ti.exec(e))?(s=n[1]==="-"?-1:1,r={y:Ie(n[2],s),M:Ie(n[3],s),w:Ie(n[4],s),d:Ie(n[5],s),h:Ie(n[6],s),m:Ie(n[7],s),s:Ie(n[8],s)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(o=bi(F(r.from),F(r.to)),r={},r.ms=o.milliseconds,r.M=o.months),a=new xt(r),Pt(e)&&T(e,"_locale")&&(a._locale=e._locale),Pt(e)&&T(e,"_isValid")&&(a._isValid=e._isValid),a}le.fn=xt.prototype,le.invalid=hi;function Ie(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function wn(e,t){var r={};return r.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function bi(e,t){var r;return e.isValid()&&t.isValid()?(t=Sr(t,e),e.isBefore(t)?r=wn(e,t):(r=wn(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function Sn(e,t){return function(r,n){var s,a;return n!==null&&!isNaN(+n)&&(zr(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),a=r,r=n,n=a),s=le(r,n),Mn(this,s,e),this}}function Mn(e,t,r,n){var s=t._milliseconds,a=pr(t._days),o=pr(t._months);e.isValid()&&(n=n??!0,o&&nn(e,lt(e,"Month")+o*r),a&&en(e,"Date",lt(e,"Date")+a*r),s&&e._d.setTime(e._d.valueOf()+s*r),n&&_.updateOffset(e,a||o))}var Ei=Sn(1,"add"),Ri=Sn(-1,"subtract");function Dn(e){return typeof e=="string"||e instanceof String}function Ni(e){return ie(e)||nt(e)||Dn(e)||ye(e)||Pi(e)||xi(e)||e===null||e===void 0}function xi(e){var t=Pe(e)&&!qt(e),r=!1,n=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],s,a,o=n.length;for(s=0;s<o;s+=1)a=n[s],r=r||T(e,a);return t&&r}function Pi(e){var t=ae(e),r=!1;return t&&(r=e.filter(function(n){return!ye(n)&&Dn(e)}).length===0),t&&r}function Ai(e){var t=Pe(e)&&!qt(e),r=!1,n=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],s,a;for(s=0;s<n.length;s+=1)a=n[s],r=r||T(e,a);return t&&r}function Ii(e,t){var r=e.diff(t,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"}function Fi(e,t){arguments.length===1&&(arguments[0]?Ni(arguments[0])?(e=arguments[0],t=void 0):Ai(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||F(),n=Sr(r,this).startOf("day"),s=_.calendarFormat(this,n)||"sameElse",a=t&&(de(t[s])?t[s].call(this,r):t[s]);return this.format(a||this.localeData().calendar(s,this,F(r)))}function Wi(){return new st(this)}function Ci(e,t){var r=ie(e)?e:F(e);return this.isValid()&&r.isValid()?(t=re(t)||"millisecond",t==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(t).valueOf()):!1}function Li(e,t){var r=ie(e)?e:F(e);return this.isValid()&&r.isValid()?(t=re(t)||"millisecond",t==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf()):!1}function ji(e,t,r,n){var s=ie(e)?e:F(e),a=ie(t)?t:F(t);return this.isValid()&&s.isValid()&&a.isValid()?(n=n||"()",(n[0]==="("?this.isAfter(s,r):!this.isBefore(s,r))&&(n[1]===")"?this.isBefore(a,r):!this.isAfter(a,r))):!1}function Hi(e,t){var r=ie(e)?e:F(e),n;return this.isValid()&&r.isValid()?(t=re(t)||"millisecond",t==="millisecond"?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf())):!1}function Ui(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Vi(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Gi(e,t,r){var n,s,a;if(!this.isValid())return NaN;if(n=Sr(e,this),!n.isValid())return NaN;switch(s=(n.utcOffset()-this.utcOffset())*6e4,t=re(t),t){case"year":a=At(this,n)/12;break;case"month":a=At(this,n);break;case"quarter":a=At(this,n)/3;break;case"second":a=(this-n)/1e3;break;case"minute":a=(this-n)/6e4;break;case"hour":a=(this-n)/36e5;break;case"day":a=(this-n-s)/864e5;break;case"week":a=(this-n-s)/6048e5;break;default:a=this-n}return r?a:ne(a)}function At(e,t){if(e.date()<t.date())return-At(t,e);var r=(t.year()-e.year())*12+(t.month()-e.month()),n=e.clone().add(r,"months"),s,a;return t-n<0?(s=e.clone().add(r-1,"months"),a=(t-n)/(n-s)):(s=e.clone().add(r+1,"months"),a=(t-n)/(s-n)),-(r+a)||0}_.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",_.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function $i(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function zi(e){if(!this.isValid())return null;var t=e!==!0,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?St(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):de(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",St(r,"Z")):St(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Bi(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",r,n,s,a;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),r="["+e+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",s="-MM-DD[T]HH:mm:ss.SSS",a=t+'[")]',this.format(r+n+s+a)}function Zi(e){e||(e=this.isUtc()?_.defaultFormatUtc:_.defaultFormat);var t=St(this,e);return this.localeData().postformat(t)}function qi(e,t){return this.isValid()&&(ie(e)&&e.isValid()||F(e).isValid())?le({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Xi(e){return this.from(F(),e)}function Ji(e,t){return this.isValid()&&(ie(e)&&e.isValid()||F(e).isValid())?le({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Ki(e){return this.to(F(),e)}function kn(e){var t;return e===void 0?this._locale._abbr:(t=Se(e),t!=null&&(this._locale=t),this)}var On=te("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function Yn(){return this._locale}var It=1e3,ze=60*It,Ft=60*ze,Tn=(365*400+97)*24*Ft;function Be(e,t){return(e%t+t)%t}function bn(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-Tn:new Date(e,t,r).valueOf()}function En(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-Tn:Date.UTC(e,t,r)}function Qi(e){var t,r;if(e=re(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?En:bn,e){case"year":t=r(this.year(),0,1);break;case"quarter":t=r(this.year(),this.month()-this.month()%3,1);break;case"month":t=r(this.year(),this.month(),1);break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=r(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=Be(t+(this._isUTC?0:this.utcOffset()*ze),Ft);break;case"minute":t=this._d.valueOf(),t-=Be(t,ze);break;case"second":t=this._d.valueOf(),t-=Be(t,It);break}return this._d.setTime(t),_.updateOffset(this,!0),this}function e3(e){var t,r;if(e=re(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?En:bn,e){case"year":t=r(this.year()+1,0,1)-1;break;case"quarter":t=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=r(this.year(),this.month()+1,1)-1;break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=Ft-Be(t+(this._isUTC?0:this.utcOffset()*ze),Ft)-1;break;case"minute":t=this._d.valueOf(),t+=ze-Be(t,ze)-1;break;case"second":t=this._d.valueOf(),t+=It-Be(t,It)-1;break}return this._d.setTime(t),_.updateOffset(this,!0),this}function t3(){return this._d.valueOf()-(this._offset||0)*6e4}function r3(){return Math.floor(this.valueOf()/1e3)}function n3(){return new Date(this.valueOf())}function s3(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function a3(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function i3(){return this.isValid()?this.toISOString():null}function o3(){return Jt(this)}function l3(){return Te({},S(this))}function u3(){return S(this).overflow}function f3(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}g("N",0,0,"eraAbbr"),g("NN",0,0,"eraAbbr"),g("NNN",0,0,"eraAbbr"),g("NNNN",0,0,"eraName"),g("NNNNN",0,0,"eraNarrow"),g("y",["y",1],"yo","eraYear"),g("y",["yy",2],0,"eraYear"),g("y",["yyy",3],0,"eraYear"),g("y",["yyyy",4],0,"eraYear"),y("N",Dr),y("NN",Dr),y("NNN",Dr),y("NNNN",S3),y("NNNNN",M3),x(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,n){var s=r._locale.erasParse(e,n,r._strict);s?S(r).era=s:S(r).invalidEra=e}),y("y",Ue),y("yy",Ue),y("yyy",Ue),y("yyyy",Ue),y("yo",D3),x(["y","yy","yyy","yyyy"],X),x(["yo"],function(e,t,r,n){var s;r._locale._eraYearOrdinalRegex&&(s=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[X]=r._locale.eraYearOrdinalParse(e,s):t[X]=parseInt(e,10)});function c3(e,t){var r,n,s,a=this._eras||Se("en")._eras;for(r=0,n=a.length;r<n;++r){switch(typeof a[r].since){case"string":s=_(a[r].since).startOf("day"),a[r].since=s.valueOf();break}switch(typeof a[r].until){case"undefined":a[r].until=1/0;break;case"string":s=_(a[r].until).startOf("day").valueOf(),a[r].until=s.valueOf();break}}return a}function d3(e,t,r){var n,s,a=this.eras(),o,u,d;for(e=e.toUpperCase(),n=0,s=a.length;n<s;++n)if(o=a[n].name.toUpperCase(),u=a[n].abbr.toUpperCase(),d=a[n].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(u===e)return a[n];break;case"NNNN":if(o===e)return a[n];break;case"NNNNN":if(d===e)return a[n];break}else if([o,u,d].indexOf(e)>=0)return a[n]}function h3(e,t){var r=e.since<=e.until?1:-1;return t===void 0?_(e.since).year():_(e.since).year()+(t-e.offset)*r}function _3(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].name;return""}function m3(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].narrow;return""}function y3(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return n[e].abbr;return""}function v3(){var e,t,r,n,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=s[e].since<=s[e].until?1:-1,n=this.clone().startOf("day").valueOf(),s[e].since<=n&&n<=s[e].until||s[e].until<=n&&n<=s[e].since)return(this.year()-_(s[e].since).year())*r+s[e].offset;return this.year()}function g3(e){return T(this,"_erasNameRegex")||kr.call(this),e?this._erasNameRegex:this._erasRegex}function p3(e){return T(this,"_erasAbbrRegex")||kr.call(this),e?this._erasAbbrRegex:this._erasRegex}function w3(e){return T(this,"_erasNarrowRegex")||kr.call(this),e?this._erasNarrowRegex:this._erasRegex}function Dr(e,t){return t.erasAbbrRegex(e)}function S3(e,t){return t.erasNameRegex(e)}function M3(e,t){return t.erasNarrowRegex(e)}function D3(e,t){return t._eraYearOrdinalRegex||Ue}function kr(){var e=[],t=[],r=[],n=[],s,a,o,u,d,p=this.eras();for(s=0,a=p.length;s<a;++s)o=ve(p[s].name),u=ve(p[s].abbr),d=ve(p[s].narrow),t.push(o),e.push(u),r.push(d),n.push(o),n.push(u),n.push(d);this._erasRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}g(0,["gg",2],0,function(){return this.weekYear()%100}),g(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Wt(e,t){g(0,[e,e.length],0,t)}Wt("gggg","weekYear"),Wt("ggggg","weekYear"),Wt("GGGG","isoWeekYear"),Wt("GGGGG","isoWeekYear"),y("G",Ot),y("g",Ot),y("GG",I,ee),y("gg",I,ee),y("GGGG",or,ir),y("gggg",or,ir),y("GGGGG",kt,Mt),y("ggggg",kt,Mt),it(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,n){t[n.substr(0,2)]=M(e)}),it(["gg","GG"],function(e,t,r,n){t[n]=_.parseTwoDigitYear(e)});function k3(e){return Rn.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function O3(e){return Rn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Y3(){return we(this.year(),1,4)}function T3(){return we(this.isoWeekYear(),1,4)}function b3(){var e=this.localeData()._week;return we(this.year(),e.dow,e.doy)}function E3(){var e=this.localeData()._week;return we(this.weekYear(),e.dow,e.doy)}function Rn(e,t,r,n,s){var a;return e==null?ft(this,n,s).year:(a=we(e,n,s),t>a&&(t=a),R3.call(this,e,t,r,n,s))}function R3(e,t,r,n,s){var a=on(e,t,r,n,s),o=ut(a.year,0,a.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}g("Q",0,"Qo","quarter"),y("Q",qr),x("Q",function(e,t){t[ge]=(M(e)-1)*3});function N3(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}g("D",["DD",2],"Do","date"),y("D",I,Ve),y("DD",I,ee),y("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),x(["D","DD"],_e),x("Do",function(e,t){t[_e]=M(e.match(I)[0])});var Nn=Ge("Date",!0);g("DDD",["DDDD",3],"DDDo","dayOfYear"),y("DDD",Dt),y("DDDD",Xr),x(["DDD","DDDD"],function(e,t,r){r._dayOfYear=M(e)});function x3(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}g("m",["mm",2],0,"minute"),y("m",I,lr),y("mm",I,ee),x(["m","mm"],oe);var P3=Ge("Minutes",!1);g("s",["ss",2],0,"second"),y("s",I,lr),y("ss",I,ee),x(["s","ss"],pe);var A3=Ge("Seconds",!1);g("S",0,0,function(){return~~(this.millisecond()/100)}),g(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),g(0,["SSS",3],0,"millisecond"),g(0,["SSSS",4],0,function(){return this.millisecond()*10}),g(0,["SSSSS",5],0,function(){return this.millisecond()*100}),g(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),g(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),g(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),g(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),y("S",Dt,qr),y("SS",Dt,ee),y("SSS",Dt,Xr);var Ee,xn;for(Ee="SSSS";Ee.length<=9;Ee+="S")y(Ee,Ue);function I3(e,t){t[Ae]=M(("0."+e)*1e3)}for(Ee="S";Ee.length<=9;Ee+="S")x(Ee,I3);xn=Ge("Milliseconds",!1),g("z",0,0,"zoneAbbr"),g("zz",0,0,"zoneName");function F3(){return this._isUTC?"UTC":""}function W3(){return this._isUTC?"Coordinated Universal Time":""}var h=st.prototype;h.add=Ei,h.calendar=Fi,h.clone=Wi,h.diff=Gi,h.endOf=e3,h.format=Zi,h.from=qi,h.fromNow=Xi,h.to=Ji,h.toNow=Ki,h.get=Bs,h.invalidAt=u3,h.isAfter=Ci,h.isBefore=Li,h.isBetween=ji,h.isSame=Hi,h.isSameOrAfter=Ui,h.isSameOrBefore=Vi,h.isValid=o3,h.lang=On,h.locale=kn,h.localeData=Yn,h.max=oi,h.min=ii,h.parsingFlags=l3,h.set=Zs,h.startOf=Qi,h.subtract=Ri,h.toArray=s3,h.toObject=a3,h.toDate=n3,h.toISOString=zi,h.inspect=Bi,typeof Symbol<"u"&&Symbol.for!=null&&(h[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),h.toJSON=i3,h.toString=$i,h.unix=r3,h.valueOf=t3,h.creationData=f3,h.eraName=_3,h.eraNarrow=m3,h.eraAbbr=y3,h.eraYear=v3,h.year=Qr,h.isLeapYear=zs,h.weekYear=k3,h.isoWeekYear=O3,h.quarter=h.quarters=N3,h.month=sn,h.daysInMonth=na,h.week=h.weeks=ca,h.isoWeek=h.isoWeeks=da,h.weeksInYear=b3,h.weeksInWeekYear=E3,h.isoWeeksInYear=Y3,h.isoWeeksInISOWeekYear=T3,h.date=Nn,h.day=h.days=Oa,h.weekday=Ya,h.isoWeekday=Ta,h.dayOfYear=x3,h.hour=h.hours=Aa,h.minute=h.minutes=P3,h.second=h.seconds=A3,h.millisecond=h.milliseconds=xn,h.utcOffset=yi,h.utc=gi,h.local=pi,h.parseZone=wi,h.hasAlignedHourOffset=Si,h.isDST=Mi,h.isLocal=ki,h.isUtcOffset=Oi,h.isUtc=pn,h.isUTC=pn,h.zoneAbbr=F3,h.zoneName=W3,h.dates=te("dates accessor is deprecated. Use date instead.",Nn),h.months=te("months accessor is deprecated. Use month instead",sn),h.years=te("years accessor is deprecated. Use year instead",Qr),h.zone=te("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",vi),h.isDSTShifted=te("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Di);function C3(e){return F(e*1e3)}function L3(){return F.apply(null,arguments).parseZone()}function Pn(e){return e}var b=tr.prototype;b.calendar=ks,b.longDateFormat=bs,b.invalidDate=Rs,b.ordinal=Ps,b.preparse=Pn,b.postformat=Pn,b.relativeTime=Is,b.pastFuture=Fs,b.set=Ms,b.eras=c3,b.erasParse=d3,b.erasConvertYear=h3,b.erasAbbrRegex=p3,b.erasNameRegex=g3,b.erasNarrowRegex=w3,b.months=Qs,b.monthsShort=ea,b.monthsParse=ra,b.monthsRegex=aa,b.monthsShortRegex=sa,b.week=oa,b.firstDayOfYear=fa,b.firstDayOfWeek=ua,b.weekdays=wa,b.weekdaysMin=Ma,b.weekdaysShort=Sa,b.weekdaysParse=ka,b.weekdaysRegex=ba,b.weekdaysShortRegex=Ea,b.weekdaysMinRegex=Ra,b.isPM=xa,b.meridiem=Ia;function Ct(e,t,r,n){var s=Se(),a=ce().set(n,t);return s[r](a,e)}function An(e,t,r){if(ye(e)&&(t=e,e=void 0),e=e||"",t!=null)return Ct(e,t,r,"month");var n,s=[];for(n=0;n<12;n++)s[n]=Ct(e,n,r,"month");return s}function Or(e,t,r,n){typeof e=="boolean"?(ye(t)&&(r=t,t=void 0),t=t||""):(t=e,r=t,e=!1,ye(t)&&(r=t,t=void 0),t=t||"");var s=Se(),a=e?s._week.dow:0,o,u=[];if(r!=null)return Ct(t,(r+a)%7,n,"day");for(o=0;o<7;o++)u[o]=Ct(t,(o+a)%7,n,"day");return u}function j3(e,t){return An(e,t,"months")}function H3(e,t){return An(e,t,"monthsShort")}function U3(e,t,r){return Or(e,t,r,"weekdays")}function V3(e,t,r){return Or(e,t,r,"weekdaysShort")}function G3(e,t,r){return Or(e,t,r,"weekdaysMin")}be("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,r=M(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+r}}),_.lang=te("moment.lang is deprecated. Use moment.locale instead.",be),_.langData=te("moment.langData is deprecated. Use moment.localeData instead.",Se);var Me=Math.abs;function $3(){var e=this._data;return this._milliseconds=Me(this._milliseconds),this._days=Me(this._days),this._months=Me(this._months),e.milliseconds=Me(e.milliseconds),e.seconds=Me(e.seconds),e.minutes=Me(e.minutes),e.hours=Me(e.hours),e.months=Me(e.months),e.years=Me(e.years),this}function In(e,t,r,n){var s=le(t,r);return e._milliseconds+=n*s._milliseconds,e._days+=n*s._days,e._months+=n*s._months,e._bubble()}function z3(e,t){return In(this,e,t,1)}function B3(e,t){return In(this,e,t,-1)}function Fn(e){return e<0?Math.floor(e):Math.ceil(e)}function Z3(){var e=this._milliseconds,t=this._days,r=this._months,n=this._data,s,a,o,u,d;return e>=0&&t>=0&&r>=0||e<=0&&t<=0&&r<=0||(e+=Fn(Yr(r)+t)*864e5,t=0,r=0),n.milliseconds=e%1e3,s=ne(e/1e3),n.seconds=s%60,a=ne(s/60),n.minutes=a%60,o=ne(a/60),n.hours=o%24,t+=ne(o/24),d=ne(Wn(t)),r+=d,t-=Fn(Yr(d)),u=ne(r/12),r%=12,n.days=t,n.months=r,n.years=u,this}function Wn(e){return e*4800/146097}function Yr(e){return e*146097/4800}function q3(e){if(!this.isValid())return NaN;var t,r,n=this._milliseconds;if(e=re(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+n/864e5,r=this._months+Wn(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(Yr(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return t*24+n/36e5;case"minute":return t*1440+n/6e4;case"second":return t*86400+n/1e3;case"millisecond":return Math.floor(t*864e5)+n;default:throw new Error("Unknown unit "+e)}}function De(e){return function(){return this.as(e)}}var Cn=De("ms"),X3=De("s"),J3=De("m"),K3=De("h"),Q3=De("d"),eo=De("w"),to=De("M"),ro=De("Q"),no=De("y"),so=Cn;function ao(){return le(this)}function io(e){return e=re(e),this.isValid()?this[e+"s"]():NaN}function Fe(e){return function(){return this.isValid()?this._data[e]:NaN}}var oo=Fe("milliseconds"),lo=Fe("seconds"),uo=Fe("minutes"),fo=Fe("hours"),co=Fe("days"),ho=Fe("months"),_o=Fe("years");function mo(){return ne(this.days()/7)}var ke=Math.round,Ze={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function yo(e,t,r,n,s){return s.relativeTime(t||1,!!r,e,n)}function vo(e,t,r,n){var s=le(e).abs(),a=ke(s.as("s")),o=ke(s.as("m")),u=ke(s.as("h")),d=ke(s.as("d")),p=ke(s.as("M")),v=ke(s.as("w")),E=ke(s.as("y")),C=a<=r.ss&&["s",a]||a<r.s&&["ss",a]||o<=1&&["m"]||o<r.m&&["mm",o]||u<=1&&["h"]||u<r.h&&["hh",u]||d<=1&&["d"]||d<r.d&&["dd",d];return r.w!=null&&(C=C||v<=1&&["w"]||v<r.w&&["ww",v]),C=C||p<=1&&["M"]||p<r.M&&["MM",p]||E<=1&&["y"]||["yy",E],C[2]=t,C[3]=+e>0,C[4]=n,yo.apply(null,C)}function go(e){return e===void 0?ke:typeof e=="function"?(ke=e,!0):!1}function po(e,t){return Ze[e]===void 0?!1:t===void 0?Ze[e]:(Ze[e]=t,e==="s"&&(Ze.ss=t-1),!0)}function wo(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,n=Ze,s,a;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(r=e),typeof t=="object"&&(n=Object.assign({},Ze,t),t.s!=null&&t.ss==null&&(n.ss=t.s-1)),s=this.localeData(),a=vo(this,!r,n,s),r&&(a=s.pastFuture(+this,a)),s.postformat(a)}var Tr=Math.abs;function qe(e){return(e>0)-(e<0)||+e}function Lt(){if(!this.isValid())return this.localeData().invalidDate();var e=Tr(this._milliseconds)/1e3,t=Tr(this._days),r=Tr(this._months),n,s,a,o,u=this.asSeconds(),d,p,v,E;return u?(n=ne(e/60),s=ne(n/60),e%=60,n%=60,a=ne(r/12),r%=12,o=e?e.toFixed(3).replace(/\.?0+$/,""):"",d=u<0?"-":"",p=qe(this._months)!==qe(u)?"-":"",v=qe(this._days)!==qe(u)?"-":"",E=qe(this._milliseconds)!==qe(u)?"-":"",d+"P"+(a?p+a+"Y":"")+(r?p+r+"M":"")+(t?v+t+"D":"")+(s||n||e?"T":"")+(s?E+s+"H":"")+(n?E+n+"M":"")+(e?E+o+"S":"")):"P0D"}var k=xt.prototype;k.isValid=di,k.abs=$3,k.add=z3,k.subtract=B3,k.as=q3,k.asMilliseconds=Cn,k.asSeconds=X3,k.asMinutes=J3,k.asHours=K3,k.asDays=Q3,k.asWeeks=eo,k.asMonths=to,k.asQuarters=ro,k.asYears=no,k.valueOf=so,k._bubble=Z3,k.clone=ao,k.get=io,k.milliseconds=oo,k.seconds=lo,k.minutes=uo,k.hours=fo,k.days=co,k.weeks=mo,k.months=ho,k.years=_o,k.humanize=wo,k.toISOString=Lt,k.toString=Lt,k.toJSON=Lt,k.locale=kn,k.localeData=Yn,k.toIsoString=te("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Lt),k.lang=On,g("X",0,0,"unix"),g("x",0,0,"valueOf"),y("x",Ot),y("X",js),x("X",function(e,t,r){r._d=new Date(parseFloat(e)*1e3)}),x("x",function(e,t,r){r._d=new Date(M(e))});//! moment.js
|
|
36
|
+
_.version="2.30.1",ws(F),_.fn=h,_.min=li,_.max=ui,_.now=fi,_.utc=ce,_.unix=C3,_.months=j3,_.isDate=nt,_.locale=be,_.invalid=pt,_.duration=le,_.isMoment=ie,_.weekdays=U3,_.parseZone=L3,_.localeData=Se,_.isDuration=Pt,_.monthsShort=H3,_.weekdaysMin=G3,_.defineLocale=_r,_.updateLocale=La,_.locales=ja,_.weekdaysShort=V3,_.normalizeUnits=re,_.relativeTimeRounding=go,_.relativeTimeThreshold=po,_.calendarFormat=Ii,_.prototype=h,_.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};var _t=(e=>(e.LEFT="LEFT",e.RIGHT="RIGHT",e))(_t||{}),J=(e=>(e.NEXT_MONTH="NEXT_MONTH",e.PRE_MONTH="PRE_MONTH",e.SET_YEAR="SET_YEAR",e.SET_MONTH="SET_MONTH",e.SET_DAY="SET_DAY",e.TODAY="TODAY",e))(J||{}),Re=(e=>(e.AD="AD",e.BS="bs",e))(Re||{}),Xe=(e=>(e.ENGLISH="en",e.NEPALI="np",e))(Xe||{}),Ln={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},jn=j.createContext&&j.createContext(Ln),So=["attr","size","title"];function Mo(e,t){if(e==null)return{};var r=Do(e,t),n,s;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(s=0;s<a.length;s++)n=a[s],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Do(e,t){if(e==null)return{};var r={},n=Object.keys(e),s,a;for(a=0;a<n.length;a++)s=n[a],!(t.indexOf(s)>=0)&&(r[s]=e[s]);return r}function jt(){return jt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},jt.apply(this,arguments)}function Hn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),r.push.apply(r,n)}return r}function Ht(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Hn(Object(r),!0).forEach(function(n){ko(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Hn(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function ko(e,t,r){return t=Oo(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Oo(e){var t=Yo(e,"string");return typeof t=="symbol"?t:String(t)}function Yo(e,t){if(typeof e!="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Un(e){return e&&e.map((t,r)=>j.createElement(t.tag,Ht({key:r},t.attr),Un(t.child)))}function Vn(e){return t=>j.createElement(To,jt({attr:Ht({},e.attr)},t),Un(e.child))}function To(e){var t=r=>{var{attr:n,size:s,title:a}=e,o=Mo(e,So),u=s||r.size||"1em",d;return r.className&&(d=r.className),e.className&&(d=(d?d+" ":"")+e.className),j.createElement("svg",jt({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,n,o,{className:d,style:Ht(Ht({color:e.color||r.color},r.style),e.style),height:u,width:u,xmlns:"http://www.w3.org/2000/svg"}),a&&j.createElement("title",null,a),e.children)};return jn!==void 0?j.createElement(jn.Consumer,null,r=>t(r)):t(Ln)}function bo(e){return Vn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M11.8284 12.0005L14.6569 14.8289L13.2426 16.2431L9 12.0005L13.2426 7.75781L14.6569 9.17203L11.8284 12.0005Z"},child:[]}]})(e)}function Eo(e){return Vn({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M12.1717 12.0005L9.34326 9.17203L10.7575 7.75781L15.0001 12.0005L10.7575 16.2431L9.34326 14.8289L12.1717 12.0005Z"},child:[]}]})(e)}const Gn=e=>{switch(e){case _t.LEFT:return bo;case _t.RIGHT:return Eo}},Ro=["January","February","March","April","May","June","July","August","September","October","November","December"],No=["SUN","MON","TUE","WED","THU","FRI","SAT"],xo=["आइत","सोम","मंगल","बुध","बिहि","शुक्र","शनि"],$n=["Baishakh","Jestha","Ashadh","Shrawan","Bhadra","Ashoj","Kartik","Mangsir","Poush","Magh","Falgun","Chaitra"],Po=["बैशाख","जेठ","असार","श्रावण","भदौ","असोज","कार्तिक","मंसिर","पुष","माघ","फाल्गुन","चैत्र"],Ao=["०","१","२","३","४","५","६","७","८","९"],f=[];f[2e3]=[2e3,30,32,31,32,31,30,30,30,29,30,29,31],f[2001]=[2001,31,31,32,31,31,31,30,29,30,29,30,30],f[2002]=[2002,31,31,32,32,31,30,30,29,30,29,30,30],f[2003]=[2003,31,32,31,32,31,30,30,30,29,29,30,31],f[2004]=[2004,30,32,31,32,31,30,30,30,29,30,29,31],f[2005]=[2005,31,31,32,31,31,31,30,29,30,29,30,30],f[2006]=[2006,31,31,32,32,31,30,30,29,30,29,30,30],f[2007]=[2007,31,32,31,32,31,30,30,30,29,29,30,31],f[2008]=[2008,31,31,31,32,31,31,29,30,30,29,29,31],f[2009]=[2009,31,31,32,31,31,31,30,29,30,29,30,30],f[2010]=[2010,31,31,32,32,31,30,30,29,30,29,30,30],f[2011]=[2011,31,32,31,32,31,30,30,30,29,29,30,31],f[2012]=[2012,31,31,31,32,31,31,29,30,30,29,30,30],f[2013]=[2013,31,31,32,31,31,31,30,29,30,29,30,30],f[2014]=[2014,31,31,32,32,31,30,30,29,30,29,30,30],f[2015]=[2015,31,32,31,32,31,30,30,30,29,29,30,31],f[2016]=[2016,31,31,31,32,31,31,29,30,30,29,30,30],f[2017]=[2017,31,31,32,31,31,31,30,29,30,29,30,30],f[2018]=[2018,31,32,31,32,31,30,30,29,30,29,30,30],f[2019]=[2019,31,32,31,32,31,30,30,30,29,30,29,31],f[2020]=[2020,31,31,31,32,31,31,30,29,30,29,30,30],f[2021]=[2021,31,31,32,31,31,31,30,29,30,29,30,30],f[2022]=[2022,31,32,31,32,31,30,30,30,29,29,30,30],f[2023]=[2023,31,32,31,32,31,30,30,30,29,30,29,31],f[2024]=[2024,31,31,31,32,31,31,30,29,30,29,30,30],f[2025]=[2025,31,31,32,31,31,31,30,29,30,29,30,30],f[2026]=[2026,31,32,31,32,31,30,30,30,29,29,30,31],f[2027]=[2027,30,32,31,32,31,30,30,30,29,30,29,31],f[2028]=[2028,31,31,32,31,31,31,30,29,30,29,30,30],f[2029]=[2029,31,31,32,31,32,30,30,29,30,29,30,30],f[2030]=[2030,31,32,31,32,31,30,30,30,29,29,30,31],f[2031]=[2031,30,32,31,32,31,30,30,30,29,30,29,31],f[2032]=[2032,31,31,32,31,31,31,30,29,30,29,30,30],f[2033]=[2033,31,31,32,32,31,30,30,29,30,29,30,30],f[2034]=[2034,31,32,31,32,31,30,30,30,29,29,30,31],f[2035]=[2035,30,32,31,32,31,31,29,30,30,29,29,31],f[2036]=[2036,31,31,32,31,31,31,30,29,30,29,30,30],f[2037]=[2037,31,31,32,32,31,30,30,29,30,29,30,30],f[2038]=[2038,31,32,31,32,31,30,30,30,29,29,30,31],f[2039]=[2039,31,31,31,32,31,31,29,30,30,29,30,30],f[2040]=[2040,31,31,32,31,31,31,30,29,30,29,30,30],f[2041]=[2041,31,31,32,32,31,30,30,29,30,29,30,30],f[2042]=[2042,31,32,31,32,31,30,30,30,29,29,30,31],f[2043]=[2043,31,31,31,32,31,31,29,30,30,29,30,30],f[2044]=[2044,31,31,32,31,31,31,30,29,30,29,30,30],f[2045]=[2045,31,32,31,32,31,30,30,29,30,29,30,30],f[2046]=[2046,31,32,31,32,31,30,30,30,29,29,30,31],f[2047]=[2047,31,31,31,32,31,31,30,29,30,29,30,30],f[2048]=[2048,31,31,32,31,31,31,30,29,30,29,30,30],f[2049]=[2049,31,32,31,32,31,30,30,30,29,29,30,30],f[2050]=[2050,31,32,31,32,31,30,30,30,29,30,29,31],f[2051]=[2051,31,31,31,32,31,31,30,29,30,29,30,30],f[2052]=[2052,31,31,32,31,31,31,30,29,30,29,30,30],f[2053]=[2053,31,32,31,32,31,30,30,30,29,29,30,30],f[2054]=[2054,31,32,31,32,31,30,30,30,29,30,29,31],f[2055]=[2055,31,31,32,31,31,31,30,29,30,29,30,30],f[2056]=[2056,31,31,32,31,32,30,30,29,30,29,30,30],f[2057]=[2057,31,32,31,32,31,30,30,30,29,29,30,31],f[2058]=[2058,30,32,31,32,31,30,30,30,29,30,29,31],f[2059]=[2059,31,31,32,31,31,31,30,29,30,29,30,30],f[2060]=[2060,31,31,32,32,31,30,30,29,30,29,30,30],f[2061]=[2061,31,32,31,32,31,30,30,30,29,29,30,31],f[2062]=[2062,30,32,31,32,31,31,29,30,29,30,29,31],f[2063]=[2063,31,31,32,31,31,31,30,29,30,29,30,30],f[2064]=[2064,31,31,32,32,31,30,30,29,30,29,30,30],f[2065]=[2065,31,32,31,32,31,30,30,30,29,29,30,31],f[2066]=[2066,31,31,31,32,31,31,29,30,30,29,29,31],f[2067]=[2067,31,31,32,31,31,31,30,29,30,29,30,30],f[2068]=[2068,31,31,32,32,31,30,30,29,30,29,30,30],f[2069]=[2069,31,32,31,32,31,30,30,30,29,29,30,31],f[2070]=[2070,31,31,31,32,31,31,29,30,30,29,30,30],f[2071]=[2071,31,31,32,31,31,31,30,29,30,29,30,30],f[2072]=[2072,31,32,31,32,31,30,30,29,30,29,30,30],f[2073]=[2073,31,32,31,32,31,30,30,30,29,29,30,31],f[2074]=[2074,31,31,31,32,31,31,30,29,30,29,30,30],f[2075]=[2075,31,31,32,31,31,31,30,29,30,29,30,30],f[2076]=[2076,31,32,31,32,31,30,30,30,29,29,30,30],f[2077]=[2077,31,32,31,32,31,30,30,30,29,30,29,31],f[2078]=[2078,31,31,31,32,31,31,30,29,30,29,30,30],f[2079]=[2079,31,31,32,31,31,31,30,29,30,29,30,30],f[2080]=[2080,31,32,31,32,31,30,30,30,29,29,30,30],f[2081]=[2081,31,31,32,32,31,30,30,30,29,30,30,30],f[2082]=[2082,30,32,31,32,31,30,30,30,29,30,30,30],f[2083]=[2083,31,31,32,31,31,30,30,30,29,30,30,30],f[2084]=[2084,31,31,32,31,31,30,30,30,29,30,30,30],f[2085]=[2085,31,32,31,32,30,31,30,30,29,30,30,30],f[2086]=[2086,30,32,31,32,31,30,30,30,29,30,30,30],f[2087]=[2087,31,31,32,31,31,31,30,30,29,30,30,30],f[2088]=[2088,30,31,32,32,30,31,30,30,29,30,30,30],f[2089]=[2089,30,32,31,32,31,30,30,30,29,30,30,30],f[2090]=[2090,30,32,31,32,31,30,30,30,29,30,30,30],f[2091]=[2091,31,31,32,31,31,31,30,30,29,30,30,30],f[2092]=[2092,30,31,32,32,31,30,30,30,29,30,30,30],f[2093]=[2093,30,32,31,32,31,30,30,30,29,30,30,30],f[2094]=[2094,31,31,32,31,31,30,30,30,29,30,30,30],f[2095]=[2095,31,31,32,31,31,31,30,29,30,30,30,30],f[2096]=[2096,30,31,32,32,31,30,30,29,30,29,30,30],f[2097]=[2097,31,32,31,32,31,30,30,30,29,30,30,30],f[2098]=[2098,31,31,32,31,31,31,29,30,29,30,29,31],f[2099]=[2099,31,32,31,32,31,30,30,30,29,29,30,31];var br;(function(e){e.INVALID_DAY="Day is invalid.",e.INVALID_YEAR="Year is invalid.",e.INVALID_MONTH="Month is invalid.",e.BS_DATE_OUT_OF_RANGE="BS Date out of range",e.AD_DATE_OUT_OF_RANGE="AD Date out of range",e.DATE_FORMAT_INVALID="Date format is invalid",e.DATE_GREATER_THAN_TODAY="Date cannot be greater then today"})(br||(br={}));const Ne=br,l=[];l[1978]=[1978,31,31,32,31,31,31,30,29,30,29,30,30],l[1979]=[1979,31,31,32,32,31,30,30,29,30,29,30,30],l[1980]=[1980,31,32,31,32,31,30,30,30,29,29,30,31],l[1981]=[1981,31,31,31,32,31,31,29,30,30,29,30,30],l[1982]=[1982,31,31,32,31,31,31,30,29,30,29,30,30],l[1983]=[1983,31,31,32,32,31,30,30,29,30,29,30,30],l[1984]=[1984,31,32,31,32,31,30,30,30,29,29,30,31],l[1985]=[1985,31,31,31,32,31,31,29,30,30,29,30,30],l[1986]=[1986,31,31,32,31,31,31,30,29,30,29,30,30],l[1987]=[1987,31,32,31,32,31,30,30,29,30,29,30,30],l[1988]=[1988,31,32,31,32,31,30,30,30,29,29,30,31],l[1989]=[1989,31,31,31,32,31,31,30,29,30,29,30,30],l[1990]=[1990,31,31,32,31,31,31,30,29,30,29,30,30],l[1991]=[1991,31,32,31,32,31,30,30,29,30,29,30,30],l[1992]=[1992,31,32,31,32,31,30,30,30,29,30,29,31],l[1993]=[1993,31,31,31,32,31,31,30,29,30,29,30,30],l[1994]=[1994,31,31,32,31,31,31,30,29,30,29,30,30],l[1995]=[1995,31,32,31,32,31,30,30,30,29,29,30,30],l[1996]=[1996,31,32,31,32,31,30,30,30,29,30,29,31],l[1997]=[1997,31,31,32,31,31,31,30,29,30,29,30,30],l[1998]=[1998,31,31,32,31,31,31,30,29,30,29,30,30],l[1999]=[1999,31,32,31,32,31,30,30,30,29,29,30,31],l[2e3]=[2e3,30,32,31,32,31,30,30,30,29,30,29,31],l[2001]=[2001,31,31,32,31,31,31,30,29,30,29,30,30],l[2002]=[2002,31,31,32,32,31,30,30,29,30,29,30,30],l[2003]=[2003,31,32,31,32,31,30,30,30,29,29,30,31],l[2004]=[2004,30,32,31,32,31,30,30,30,29,30,29,31],l[2005]=[2005,31,31,32,31,31,31,30,29,30,29,30,30],l[2006]=[2006,31,31,32,32,31,30,30,29,30,29,30,30],l[2007]=[2007,31,32,31,32,31,30,30,30,29,29,30,31],l[2008]=[2008,31,31,31,32,31,31,29,30,30,29,29,31],l[2009]=[2009,31,31,32,31,31,31,30,29,30,29,30,30],l[2010]=[2010,31,31,32,32,31,30,30,29,30,29,30,30],l[2011]=[2011,31,32,31,32,31,30,30,30,29,29,30,31],l[2012]=[2012,31,31,31,32,31,31,29,30,30,29,30,30],l[2013]=[2013,31,31,32,31,31,31,30,29,30,29,30,30],l[2014]=[2014,31,31,32,32,31,30,30,29,30,29,30,30],l[2015]=[2015,31,32,31,32,31,30,30,30,29,29,30,31],l[2016]=[2016,31,31,31,32,31,31,29,30,30,29,30,30],l[2017]=[2017,31,31,32,31,31,31,30,29,30,29,30,30],l[2018]=[2018,31,32,31,32,31,30,30,29,30,29,30,30],l[2019]=[2019,31,32,31,32,31,30,30,30,29,30,29,31],l[2020]=[2020,31,31,31,32,31,31,30,29,30,29,30,30],l[2021]=[2021,31,31,32,31,31,31,30,29,30,29,30,30],l[2022]=[2022,31,32,31,32,31,30,30,30,29,29,30,30],l[2023]=[2023,31,32,31,32,31,30,30,30,29,30,29,31],l[2024]=[2024,31,31,31,32,31,31,30,29,30,29,30,30],l[2025]=[2025,31,31,32,31,31,31,30,29,30,29,30,30],l[2026]=[2026,31,32,31,32,31,30,30,30,29,29,30,31],l[2027]=[2027,30,32,31,32,31,30,30,30,29,30,29,31],l[2028]=[2028,31,31,32,31,31,31,30,29,30,29,30,30],l[2029]=[2029,31,31,32,31,32,30,30,29,30,29,30,30],l[2030]=[2030,31,32,31,32,31,30,30,30,29,29,30,31],l[2031]=[2031,30,32,31,32,31,30,30,30,29,30,29,31],l[2032]=[2032,31,31,32,31,31,31,30,29,30,29,30,30],l[2033]=[2033,31,31,32,32,31,30,30,29,30,29,30,30],l[2034]=[2034,31,32,31,32,31,30,30,30,29,29,30,31],l[2035]=[2035,30,32,31,32,31,31,29,30,30,29,29,31],l[2036]=[2036,31,31,32,31,31,31,30,29,30,29,30,30],l[2037]=[2037,31,31,32,32,31,30,30,29,30,29,30,30],l[2038]=[2038,31,32,31,32,31,30,30,30,29,29,30,31],l[2039]=[2039,31,31,31,32,31,31,29,30,30,29,30,30],l[2040]=[2040,31,31,32,31,31,31,30,29,30,29,30,30],l[2041]=[2041,31,31,32,32,31,30,30,29,30,29,30,30],l[2042]=[2042,31,32,31,32,31,30,30,30,29,29,30,31],l[2043]=[2043,31,31,31,32,31,31,29,30,30,29,30,30],l[2044]=[2044,31,31,32,31,31,31,30,29,30,29,30,30],l[2045]=[2045,31,32,31,32,31,30,30,29,30,29,30,30],l[2046]=[2046,31,32,31,32,31,30,30,30,29,29,30,31],l[2047]=[2047,31,31,31,32,31,31,30,29,30,29,30,30],l[2048]=[2048,31,31,32,31,31,31,30,29,30,29,30,30],l[2049]=[2049,31,32,31,32,31,30,30,30,29,29,30,30],l[2050]=[2050,31,32,31,32,31,30,30,30,29,30,29,31],l[2051]=[2051,31,31,31,32,31,31,30,29,30,29,30,30],l[2052]=[2052,31,31,32,31,31,31,30,29,30,29,30,30],l[2053]=[2053,31,32,31,32,31,30,30,30,29,29,30,30],l[2054]=[2054,31,32,31,32,31,30,30,30,29,30,29,31],l[2055]=[2055,31,31,32,31,31,31,30,29,30,29,30,30],l[2056]=[2056,31,31,32,31,32,30,30,29,30,29,30,30],l[2057]=[2057,31,32,31,32,31,30,30,30,29,29,30,31],l[2058]=[2058,30,32,31,32,31,30,30,30,29,30,29,31],l[2059]=[2059,31,31,32,31,31,31,30,29,30,29,30,30],l[2060]=[2060,31,31,32,32,31,30,30,29,30,29,30,30],l[2061]=[2061,31,32,31,32,31,30,30,30,29,29,30,31],l[2062]=[2062,30,32,31,32,31,31,29,30,29,30,29,31],l[2063]=[2063,31,31,32,31,31,31,30,29,30,29,30,30],l[2064]=[2064,31,31,32,32,31,30,30,29,30,29,30,30],l[2065]=[2065,31,32,31,32,31,30,30,30,29,29,30,31],l[2066]=[2066,31,31,31,32,31,31,29,30,30,29,29,31],l[2067]=[2067,31,31,32,31,31,31,30,29,30,29,30,30],l[2068]=[2068,31,31,32,32,31,30,30,29,30,29,30,30],l[2069]=[2069,31,32,31,32,31,30,30,30,29,29,30,31],l[2070]=[2070,31,31,31,32,31,31,29,30,30,29,30,30],l[2071]=[2071,31,31,32,31,31,31,30,29,30,29,30,30],l[2072]=[2072,31,32,31,32,31,30,30,29,30,29,30,30],l[2073]=[2073,31,32,31,32,31,30,30,30,29,29,30,31],l[2074]=[2074,31,31,31,32,31,31,30,29,30,29,30,30],l[2075]=[2075,31,31,32,31,31,31,30,29,30,29,30,30],l[2076]=[2076,31,32,31,32,31,30,30,30,29,29,30,30],l[2077]=[2077,31,32,31,32,31,30,30,30,29,30,29,31],l[2078]=[2078,31,31,31,32,31,31,30,29,30,29,30,30],l[2079]=[2079,31,31,32,31,31,31,30,29,30,29,30,30],l[2080]=[2080,31,32,31,32,31,30,30,30,29,29,30,30],l[2081]=[2081,31,31,32,32,31,30,30,30,29,30,30,30],l[2082]=[2082,30,32,31,32,31,30,30,30,29,30,30,30],l[2083]=[2083,31,31,32,31,31,30,30,30,29,30,30,30],l[2084]=[2084,31,31,32,31,31,30,30,30,29,30,30,30],l[2085]=[2085,31,32,31,32,30,31,30,30,29,30,30,30],l[2086]=[2086,30,32,31,32,31,30,30,30,29,30,30,30],l[2087]=[2087,31,31,32,31,31,31,30,30,29,30,30,30],l[2088]=[2088,30,31,32,32,30,31,30,30,29,30,30,30],l[2089]=[2089,30,32,31,32,31,30,30,30,29,30,30,30],l[2090]=[2090,30,32,31,32,31,30,30,30,29,30,30,30],l[2091]=[2091,31,31,32,31,31,31,30,30,29,30,30,30],l[2092]=[2092,30,31,32,32,31,30,30,30,29,30,30,30],l[2093]=[2093,30,32,31,32,31,30,30,30,29,30,30,30],l[2094]=[2094,31,31,32,31,31,30,30,30,29,30,30,30],l[2095]=[2095,31,31,32,31,31,31,30,29,30,30,30,30],l[2096]=[2096,30,31,32,32,31,30,30,29,30,29,30,30],l[2097]=[2097,31,32,31,32,31,30,30,30,29,30,30,30],l[2098]=[2098,31,31,32,31,31,31,29,30,29,30,29,31],l[2099]=[2099,31,32,31,32,31,30,30,30,29,29,30,31];const q={MAX_DAY:32,MIN_DAY:1,MAX_MONTH:12,MIN_MONTH:1,YEAR_LENGTH:4,MAX_YEAR_AD:2040,MAX_MONTH_AD:31,MIN_YEAR_BS:1978,MAX_YEAR_BS:2099},zn="1921-04-13",Ut=(e,t,r)=>`${e}-${("0"+t).slice(-2)}-${("0"+r).slice(-2)}`,Bn=e=>{const t=e.split("-");if(t.length!==3)throw new Error(Ne.DATE_FORMAT_INVALID);return t.map(Number)};function Zn(e){const[t,r,n]=Bn(e);if(n>q.MAX_DAY||n<q.MIN_DAY||!n)throw new Error(Ne.INVALID_DAY);if(r>q.MAX_MONTH||r<q.MIN_MONTH||!r)throw new Error(Ne.INVALID_MONTH);if(!t||t.toString().length!==q.YEAR_LENGTH)throw new Error(Ne.INVALID_YEAR);return{year:t,month:r,day:n}}function Io(e){const{year:t,month:r,day:n}=Zn(e);if(t>q.MAX_YEAR_AD)throw new Error(Ne.AD_DATE_OUT_OF_RANGE);if(r>q.MAX_MONTH_AD)throw new Error(Ne.INVALID_MONTH);return Ut(t,r,n)}function Fo(e){const{year:t,month:r,day:n}=Zn(e);if(t<q.MIN_YEAR_BS||t>q.MAX_YEAR_BS)throw new Error(Ne.BS_DATE_OUT_OF_RANGE);if(n>l[t][r])throw new Error(`No ${n} day exits in this month.`);return Ut(t,r,n)}function Wo(e,t=!0){let r=0,n=0,s=0,a=0,o=!1;for(let u=q.MIN_YEAR_BS;u<=q.MAX_YEAR_BS&&!o;u++)for(let d=q.MIN_MONTH;d<=q.MAX_MONTH;d++)if(a+=l[u][d],e-a<0){s=e-a+l[u][d]+1,o=!0,r=u,n=d;break}return t?Ut(r,n,s):{currentYear:r,currentMonth:n,currentDay:s}}function Er(e){e=Io(e);const t=new Date(zn),r=new Date(e),n=Math.floor((r.getTime()-t.getTime())/864e5);if(n<0)throw new Error(Ne.AD_DATE_OUT_OF_RANGE);return Wo(n)}function Co(e,t){const r=new Date(e);r.setDate(r.getDate()+t);const n=r.getFullYear(),s=r.getMonth()+1,a=r.getDate();return Ut(n,s,a)}function Rr(e){e=Fo(e);const[t,r,n]=Bn(e);let s=0;for(let a=q.MIN_YEAR_BS;a<=t;a++)if(a===t){for(let o=q.MIN_MONTH;o<r;o++)s+=l[a][o];s+=n-1}else for(let o=q.MIN_MONTH;o<=q.MAX_MONTH;o++)s+=l[a][o];return Co(zn,s)}function Je(e){const t=e==null?void 0:e.year,r=e==null?void 0:e.month,n=e==null?void 0:e.day;return`${t}-${r}-${n||1}`}function Lo({date:{month:e,year:t},mode:r}){try{let n;return r===Re.BS?n=f[t][e]:n=new Date(t,e,0).getDate(),console.log(`📅 Day in ${t}-${e} ${$n[e-1]} = ${n}`),n}catch(n){throw n}}function jo({date:{year:e,month:t,day:r},mode:n}){try{let s;return n===Re.BS?s=new Date(Rr(`${e}-${t}-${r}`)):s=new Date(e,t-1,1),s.getDay()}catch(s){throw s}}function Ho({date:e,mode:t}){var r,n;try{let s=e;if(!s)return;if(t===Re.BS){const v=Er(Je(e));s.year=parseInt((r=v==null?void 0:v.split("-"))==null?void 0:r[0]),s.month=parseInt((n=v==null?void 0:v.split("-"))==null?void 0:n[1]),s.day=1}const a=Lo({date:s,mode:t}),o=jo({date:s,mode:t}),u=[];let d=1;const p=o>4&&a>30?6:5;for(let v=0;v<p;v++){u.push([]);for(let E=0;E<7;E++)if(d>a)u[v].push({selectedDate_ad:Je(e)});else if(v==0&&E<o)u[v].push({selectedDate_ad:Je(e)});else{let C={day:d,month:s==null?void 0:s.month,year:s==null?void 0:s.year};u[v].push({date:C,selectedDate_ad:Je(e)}),d++}}return u}catch{return[]}}const Uo=e=>{let t=[];for(let r=e==null?void 0:e.lowerLimit;r<=(e==null?void 0:e.upperLimit);r++)t.push(r);return t},mt=({type:e,value:t,defaultDate:r})=>{var n,s;try{let a=Er(_(r).format("YYYY-MM-DD")),o=parseInt((n=a==null?void 0:a.split("-"))==null?void 0:n[0]),u=parseInt((s=a==null?void 0:a.split("-"))==null?void 0:s[1]),d=1;switch(e){case"month_inc":u+=t,u>12?(o=o+1,u=1):u<1&&(o=o-1,u=12);break;case"year_inc":o+=t;break;case"set_year":o=t;break;case"set_month":u=t;break;case"set_day":d=t;break}a=`${o}-${u}-${d}`;let p=Rr(a);return new Date(p)}catch{return null}},qn=e=>e.toString().split("").map(t=>Ao[t]).join("");function Vo({defaultDate:e,renderDay:t,weekends:r,mode:n,language:s,onClickDate:a,selectedDate:o,maxDate:u,minDate:d}){const p=s===Xe.ENGLISH,v=j.useMemo(()=>Ho({date:{year:e==null?void 0:e.year,month:e==null?void 0:e.month,day:e==null?void 0:e.day},mode:n}),[e]);return v==null?void 0:v.map((E,C)=>H.jsx("div",{className:"gs_calendar_layout_row",children:E==null?void 0:E.map(({date:N,selectedDate_ad:L},Z)=>{let P=N&&Je(N);n===Re.BS&&P&&(P=Rr(P));let ue=P&&_(P).format("YYYY-MM-DD")===_().format("YYYY-MM-DD");const $=(()=>{var Oe;return o&&((Oe=Object.keys(o))!=null&&Oe.length)?(o==null?void 0:o.year)===(N==null?void 0:N.year)&&(o==null?void 0:o.month)==(N==null?void 0:N.month)&&(o==null?void 0:o.day)==(N==null?void 0:N.day):!1})(),We=!N,Ce=u&&new Date(P)>new Date(u)||d&&new Date(P)<new Date(d),Ke=r==null?void 0:r.some(Oe=>Oe===Z);return H.jsxs("div",{onClick:()=>{typeof a=="function"&&!Ce&&!We&&a(N,P)},className:`gs_day ${Ke&&"gs_weekend"} ${Ce?"gs_day__disable":$?"gs_day__select":ue&&"gs_day__today"} ${We&&"gs_day_empty"}`,children:[N?p?N==null?void 0:N.day:qn(N==null?void 0:N.day):"",typeof t=="function"&&t(P)]},Z)})},C))}function Go({language:e,weekends:t}){let r=e==Xe.ENGLISH?No:xo;return H.jsx("div",{className:"gs_calendar_layout_row ",children:r.map((n,s)=>{const a=t==null?void 0:t.some(o=>o==s);return H.jsx("div",{className:`gs_day gs_day_empty ${a&&"gs_weekend"}`,children:n},n)})})}function $o({selectedDate:e,changeDateHandler:t,mode:r,language:n=Xe.ENGLISH}){const[s,a]=j.useState(0),[o,u]=j.useState(0),d=r===Re.AD,p=n===Xe.ENGLISH;j.useEffect(()=>{var L,Z;if(e)if(d)u(e==null?void 0:e.year),a(e==null?void 0:e.month);else{const P=Er(_(Je(e)).format("YYYY-MM-DD"));u(parseInt((L=P==null?void 0:P.split("-"))==null?void 0:L[0])),a(parseInt((Z=P==null?void 0:P.split("-"))==null?void 0:Z[1]))}},[e,d]);const v=Gn(_t.RIGHT),E=Gn(_t.LEFT),C=Uo({lowerLimit:d?1999:2e3,upperLimit:d?2050:2099}),N=d?Ro:p?$n:Po;return H.jsxs("div",{className:"gs_navigation",children:[H.jsxs("div",{style:{display:"flex",gap:5},children:[H.jsx("select",{value:o,name:"year",onChange:L=>{var P;const Z=(P=L==null?void 0:L.target)==null?void 0:P.value;u(Z),t(J.SET_YEAR,r,{year:parseInt(Z)})},children:C.map(L=>H.jsx("option",{value:L,children:p?L:qn(L)},L))}),H.jsx("select",{value:s,name:"month",onChange:L=>{var P;const Z=(P=L==null?void 0:L.target)==null?void 0:P.value;console.log("navigation->",Z),a(Z),t(J.SET_MONTH,r,{month:parseInt(Z)})},children:N.map((L,Z)=>H.jsx("option",{value:Z+1,children:L},Z))})]}),H.jsxs("div",{style:{display:"flex",gap:5},children:[H.jsx("div",{className:"today_btn",onClick:()=>t(J.TODAY,r),children:p?"Today":"आज"}),H.jsxs("div",{children:[H.jsx(E,{onClick:()=>t(J.PRE_MONTH,r),className:"gs_navigation_icon"}),H.jsx(v,{onClick:()=>t(J.NEXT_MONTH,r),className:"gs_navigation_icon"})]})]})]})}function zo({maxDate:e,minDate:t,onClickDate:r,onChangeMonth:n,onChangeYear:s,language:a=Xe.ENGLISH,value:o,mode:u=Re.BS,weekends:d,tileContent:p}){var P,ue,$,We,Ce,Ke,Oe;const[v,E]=j.useState((P=new Date)==null?void 0:P.toDateString()),[C,N]=j.useState({}),L=u;j.useEffect(()=>{o&&E(new Date(o).toDateString()),u&&N({})},[o,u]);const Z=(me,yt,V)=>{let O=new Date(v);const Le=yt===Re.BS;switch(me){case J.PRE_MONTH:Le?O=mt({defaultDate:O,type:"month_inc",value:-1}):O=_(O).add(-1,"month").toDate();break;case J.NEXT_MONTH:O=Le?mt({defaultDate:O,type:"month_inc",value:1}):_(O).add(1,"month").toDate();break;case J.TODAY:O=new Date;break;case J.SET_MONTH:Le?O=mt({defaultDate:O,type:"set_month",value:V==null?void 0:V.month}):O==null||O.setMonth((V==null?void 0:V.month)-1);break;case J.SET_YEAR:Le?O=mt({defaultDate:O,type:"set_year",value:V==null?void 0:V.year}):O==null||O.setFullYear(V==null?void 0:V.year);break;case J.SET_DAY:Le?O=mt({defaultDate:O,type:"set_day",value:V==null?void 0:V.day}):O==null||O.setDate(V==null?void 0:V.day);break}const Vt=me===J.SET_MONTH||me===J.PRE_MONTH||me===J.NEXT_MONTH,fe=me===J.SET_YEAR;typeof n=="function"&&Vt&&n(O==null?void 0:O.toDateString()),typeof s=="function"&&fe&&s(O==null?void 0:O.toDateString()),E(O==null?void 0:O.toDateString())};return H.jsxs("div",{className:"gs_calendar",children:[H.jsx("div",{children:H.jsx($o,{mode:L,language:a,changeDateHandler:Z,selectedDate:{day:(ue=new Date(v))==null?void 0:ue.getDate(),month:(($=new Date(v))==null?void 0:$.getMonth())+1,year:(We=new Date(v))==null?void 0:We.getFullYear()}})}),H.jsx("div",{children:H.jsx(Go,{weekends:d,language:a})}),H.jsx(Vo,{onClickDate:(me,yt)=>{r(me,yt),N(me)},language:a,selectedDate:C,mode:L,weekends:d,maxDate:e,minDate:t,renderDay:p,defaultDate:{day:(Ce=new Date(v))==null?void 0:Ce.getDate(),month:((Ke=new Date(v))==null?void 0:Ke.getMonth())+1,year:(Oe=new Date(v))==null?void 0:Oe.getFullYear()}})]})}return zo});
|
package/dist/style.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.gs_calendar{display:flex;flex-direction:column;min-width:300px;min-height:300px;box-shadow:0 4px 8px #0000001a;background-color:#fff;overflow:hidden;font-size:16px;font-family:inherit;padding:0 10px;border-radius:10px;-webkit-user-select:none;user-select:none}.gs_navigation{display:flex;flex:1;justify-content:space-between;align-content:center;padding:10px 0}.gs_navigation>div>select{background-color:#fff;border:1px solid gray;padding:5px;cursor:pointer;border-radius:5px}.today_btn{cursor:pointer;padding:5px;border-radius:5px}.today_btn:hover{background-color:#f6f6f6}.gs_navigation_icon{font-size:22px;cursor:pointer;height:100%;padding:0 3px}.gs_navigation_icon:hover{border-radius:5px;background-color:#f6f6f6}.gs_calendar_layout_row{display:grid;height:100%;grid-template-columns:1fr 1fr 1fr 1fr 1fr 1fr 1fr}.gs_day{display:flex;align-items:center;justify-content:center;padding:10px 5px;text-align:center;box-sizing:border-box;cursor:pointer}.gs_day:hover{background-color:#0a79df;color:#fff}.gs_day__today{background-color:#218f76;color:#fff}.gs_day__select,.gs_day__select:hover{background-color:#0a79df;color:#fff}.gs_day_empty:hover{background-color:transparent;color:#000;cursor:auto}.gs_day__disable{background-color:#f1f1f1;color:#dad7d7;cursor:not-allowed}.gs_day__disable:hover{background-color:#f1f1f1;color:#dad7d7}.gs_weekend{color:red}
|
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bs.constants.d.ts","sourceRoot":"","sources":["../../src/utils/bs.constants.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,EAAE,OAAK,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const AdMonths: string[];
|
|
2
|
+
export declare const DaysInEnglish: string[];
|
|
3
|
+
export declare const DaysInNepali: string[];
|
|
4
|
+
export declare const fullDaysInNepali: string[];
|
|
5
|
+
export declare const MonthsInEnglish: string[];
|
|
6
|
+
export declare const MonthsInNepali: string[];
|
|
7
|
+
export declare const NepaliNumber: string[];
|
|
8
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/utils/constants.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,UAapB,CAAC;AACF,eAAO,MAAM,aAAa,UAAoD,CAAC;AAC/E,eAAO,MAAM,YAAY,UAQxB,CAAC;AACF,eAAO,MAAM,gBAAgB,UAQ5B,CAAC;AACF,eAAO,MAAM,eAAe,UAa3B,CAAC;AAEF,eAAO,MAAM,cAAc,UAa1B,CAAC;AAEF,eAAO,MAAM,YAAY,UAAqD,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { DateInterface, DayInterface, LanguageTypeEnum, ModeTypeEnum } from "../interfaces";
|
|
2
|
+
type propsType = {
|
|
3
|
+
date: DateInterface;
|
|
4
|
+
mode?: ModeTypeEnum;
|
|
5
|
+
language?: LanguageTypeEnum;
|
|
6
|
+
};
|
|
7
|
+
export declare function convertToDateStringHandler(date: DateInterface): string;
|
|
8
|
+
export declare function getDaysInMonth({ date: { month, year }, mode, }: propsType): number;
|
|
9
|
+
export declare function getFirstDayPosition({ date: { year, month, day }, mode, }: propsType): number;
|
|
10
|
+
export declare function getDaysPositionsHandler({ date, mode, }: propsType): DayInterface[][];
|
|
11
|
+
export declare const generateYearOptionsHandler: (range: {
|
|
12
|
+
lowerLimit: number;
|
|
13
|
+
upperLimit: number;
|
|
14
|
+
}) => number[];
|
|
15
|
+
export declare const manipulateBSDDateHandler: ({ type, value, defaultDate, }: {
|
|
16
|
+
type: "set_year" | "set_day" | "set_month" | "month_inc" | "year_inc";
|
|
17
|
+
value: number;
|
|
18
|
+
defaultDate: Date;
|
|
19
|
+
}) => Date;
|
|
20
|
+
export declare const getNepaliNumber: (engNum: any) => any;
|
|
21
|
+
export {};
|
|
22
|
+
//# sourceMappingURL=fnUtils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fnUtils.d.ts","sourceRoot":"","sources":["../../src/utils/fnUtils.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,YAAY,EACZ,gBAAgB,EAChB,YAAY,EACb,MAAM,eAAe,CAAC;AAMvB,KAAK,SAAS,GAAG;IACf,IAAI,EAAE,aAAa,CAAC;IACpB,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,QAAQ,CAAC,EAAE,gBAAgB,CAAC;CAC7B,CAAC;AACF,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,aAAa,GAAG,MAAM,CAKtE;AAED,wBAAgB,cAAc,CAAC,EAC7B,IAAI,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,EACrB,IAAI,GACL,EAAE,SAAS,GAAG,MAAM,CAiBpB;AAED,wBAAgB,mBAAmB,CAAC,EAClC,IAAI,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,EAAE,EAC1B,IAAI,GACL,EAAE,SAAS,GAAG,MAAM,CAcpB;AAED,wBAAgB,uBAAuB,CAAC,EACtC,IAAI,EACJ,IAAI,GACL,EAAE,SAAS,GAAG,YAAY,EAAE,EAAE,CAmD9B;AAED,eAAO,MAAM,0BAA0B,UAAW;IAChD,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;CACpB,KAAG,MAAM,EAMT,CAAC;AACF,eAAO,MAAM,wBAAwB;UAK7B,UAAU,GAAG,SAAS,GAAG,WAAW,GAAG,WAAW,GAAG,UAAU;WAC9D,MAAM;iBACA,IAAI;MACf,IAoCH,CAAC;AAEF,eAAO,MAAM,eAAe,sBAM3B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getIconHandler.d.ts","sourceRoot":"","sources":["../../src/utils/getIconHandler.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAG7C,QAAA,MAAM,cAAc,SAAU,YAAY,aAOzC,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAC9C,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAE/B,OAAO,EAAE,cAAc,EAAE,CAAC"}
|
package/dist/vite.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
|
package/package.json
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "gs-calendar",
|
|
3
|
+
"private": false,
|
|
4
|
+
"version": "0.0.1",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"files": [
|
|
7
|
+
"dist"
|
|
8
|
+
],
|
|
9
|
+
"sideEffects": [
|
|
10
|
+
"*.css"
|
|
11
|
+
],
|
|
12
|
+
"scripts": {
|
|
13
|
+
"dev": "vite",
|
|
14
|
+
"build": "tsc && vite build",
|
|
15
|
+
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
16
|
+
"preview": "vite preview",
|
|
17
|
+
"prepare": "npm run build"
|
|
18
|
+
},
|
|
19
|
+
"main": "./dist/react-ad-bs-calendar.umd.js",
|
|
20
|
+
"module": "./dist/react-ad-bs-calendar.es.js",
|
|
21
|
+
"types": "./dist/types.d.ts",
|
|
22
|
+
"exports": {
|
|
23
|
+
".": {
|
|
24
|
+
"import": "./dist/react-ad-bs-calendar.es.js",
|
|
25
|
+
"require": "./dist/react-ad-bs-calendar.umd.js"
|
|
26
|
+
},
|
|
27
|
+
"./dist/style.css": "./dist/style.css"
|
|
28
|
+
},
|
|
29
|
+
"repository": {
|
|
30
|
+
"type": "git",
|
|
31
|
+
"url": "git+https://github.com/arajchalise/react-ad-bs-calendar"
|
|
32
|
+
},
|
|
33
|
+
"keywords": [
|
|
34
|
+
"react",
|
|
35
|
+
"calendar",
|
|
36
|
+
"bs",
|
|
37
|
+
"ad",
|
|
38
|
+
"bikramsambat",
|
|
39
|
+
"nepali-calendar",
|
|
40
|
+
"nepal"
|
|
41
|
+
],
|
|
42
|
+
"author": {
|
|
43
|
+
"name": "Araj Chalise"
|
|
44
|
+
},
|
|
45
|
+
"homepage": "https://github.com/arajchalise/react-ad-bs-calendar#readme",
|
|
46
|
+
"dependencies": {
|
|
47
|
+
"@sbmdkl/nepali-date-converter": "^2.0.2",
|
|
48
|
+
"moment": "^2.30.1",
|
|
49
|
+
"path": "^0.12.7",
|
|
50
|
+
"react": "^18.2.0",
|
|
51
|
+
"react-dom": "^18.2.0",
|
|
52
|
+
"react-icons": "^5.0.0",
|
|
53
|
+
"vite-plugin-dts": "^3.7.0",
|
|
54
|
+
"vite-plugin-lib-inject-css": "^1.3.0",
|
|
55
|
+
"vite-plugin-style-import": "^2.0.0"
|
|
56
|
+
},
|
|
57
|
+
"devDependencies": {
|
|
58
|
+
"@types/node": "^20.11.0",
|
|
59
|
+
"@types/react": "^18.2.43",
|
|
60
|
+
"@types/react-dom": "^18.2.17",
|
|
61
|
+
"@typescript-eslint/eslint-plugin": "^6.14.0",
|
|
62
|
+
"@typescript-eslint/parser": "^6.14.0",
|
|
63
|
+
"@vitejs/plugin-react": "^4.2.1",
|
|
64
|
+
"eslint": "^8.55.0",
|
|
65
|
+
"eslint-plugin-react-hooks": "^4.6.0",
|
|
66
|
+
"eslint-plugin-react-refresh": "^0.4.5",
|
|
67
|
+
"typescript": "^5.2.2",
|
|
68
|
+
"vite": "^5.0.8",
|
|
69
|
+
"vite-tsconfig-paths": "^4.2.3"
|
|
70
|
+
}
|
|
71
|
+
}
|