bs-ad-calendar-react 1.0.2 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,8 @@
1
- import _t, { useMemo as ht, useState as X, useEffect as xt, useRef as xr } from "react";
2
- var Re = { exports: {} }, xe = {};
1
+ import _t, { useMemo as ht, useState as X, useEffect as wt, useRef as wr } from "react";
2
+ var Re = { exports: {} }, we = {};
3
3
  var ft;
4
- function wr() {
5
- if (ft) return xe;
4
+ function xr() {
5
+ if (ft) return we;
6
6
  ft = 1;
7
7
  var t = _t, e = /* @__PURE__ */ Symbol.for("react.element"), n = /* @__PURE__ */ Symbol.for("react.fragment"), a = Object.prototype.hasOwnProperty, s = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, o = { key: !0, ref: !0, __self: !0, __source: !0 };
8
8
  function c(l, u, d) {
@@ -12,9 +12,9 @@ function wr() {
12
12
  if (l && l.defaultProps) for (h in u = l.defaultProps, u) y[h] === void 0 && (y[h] = u[h]);
13
13
  return { $$typeof: e, type: l, key: m, ref: R, props: y, _owner: s.current };
14
14
  }
15
- return xe.Fragment = n, xe.jsx = c, xe.jsxs = c, xe;
15
+ return we.Fragment = n, we.jsx = c, we.jsxs = c, we;
16
16
  }
17
- var we = {};
17
+ var xe = {};
18
18
  var gt;
19
19
  function kr() {
20
20
  return gt || (gt = 1, process.env.NODE_ENV !== "production" && (function() {
@@ -26,7 +26,7 @@ function kr() {
26
26
  return typeof i == "function" ? i : null;
27
27
  }
28
28
  var _ = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
29
- function w(r) {
29
+ function x(r) {
30
30
  {
31
31
  for (var i = arguments.length, f = new Array(i > 1 ? i - 1 : 0), p = 1; p < i; p++)
32
32
  f[p - 1] = arguments[p];
@@ -43,10 +43,10 @@ function kr() {
43
43
  C.unshift("Warning: " + i), Function.prototype.apply.call(console[r], console, C);
44
44
  }
45
45
  }
46
- var T = !1, ne = !1, S = !1, j = !1, ue = !1, P;
46
+ var T = !1, ae = !1, S = !1, j = !1, ue = !1, P;
47
47
  P = /* @__PURE__ */ Symbol.for("react.module.reference");
48
- function ae(r) {
49
- return !!(typeof r == "string" || typeof r == "function" || r === a || r === o || ue || r === s || r === d || r === h || j || r === R || T || ne || S || typeof r == "object" && r !== null && (r.$$typeof === m || r.$$typeof === y || r.$$typeof === c || r.$$typeof === l || r.$$typeof === u || // This needs to include all possible module reference object
48
+ function se(r) {
49
+ return !!(typeof r == "string" || typeof r == "function" || r === a || r === o || ue || r === s || r === d || r === h || j || r === R || T || ae || S || typeof r == "object" && r !== null && (r.$$typeof === m || r.$$typeof === y || r.$$typeof === c || r.$$typeof === l || r.$$typeof === u || // This needs to include all possible module reference object
50
50
  // types supported by any Flight configuration anywhere since
51
51
  // we don't know which Flight build this will end up being used
52
52
  // with.
@@ -65,7 +65,7 @@ function kr() {
65
65
  function U(r) {
66
66
  if (r == null)
67
67
  return null;
68
- if (typeof r.tag == "number" && w("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof r == "function")
68
+ if (typeof r.tag == "number" && x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof r == "function")
69
69
  return r.displayName || r.name || null;
70
70
  if (typeof r == "string")
71
71
  return r;
@@ -166,10 +166,10 @@ function kr() {
166
166
  })
167
167
  });
168
168
  }
169
- z < 0 && w("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
169
+ z < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
170
170
  }
171
171
  }
172
- var se = _.ReactCurrentDispatcher, ce;
172
+ var oe = _.ReactCurrentDispatcher, ce;
173
173
  function le(r, i, f) {
174
174
  {
175
175
  if (ce === void 0)
@@ -183,16 +183,16 @@ function kr() {
183
183
  ` + ce + r;
184
184
  }
185
185
  }
186
- var _e = !1, oe;
186
+ var _e = !1, ie;
187
187
  {
188
188
  var Ne = typeof WeakMap == "function" ? WeakMap : Map;
189
- oe = new Ne();
189
+ ie = new Ne();
190
190
  }
191
191
  function Be(r, i) {
192
192
  if (!r || _e)
193
193
  return "";
194
194
  {
195
- var f = oe.get(r);
195
+ var f = ie.get(r);
196
196
  if (f !== void 0)
197
197
  return f;
198
198
  }
@@ -201,7 +201,7 @@ function kr() {
201
201
  var M = Error.prepareStackTrace;
202
202
  Error.prepareStackTrace = void 0;
203
203
  var C;
204
- C = se.current, se.current = null, Ie();
204
+ C = oe.current, oe.current = null, Ie();
205
205
  try {
206
206
  if (i) {
207
207
  var E = function() {
@@ -247,17 +247,17 @@ function kr() {
247
247
  if (O--, A--, A < 0 || D[O] !== B[A]) {
248
248
  var G = `
249
249
  ` + D[O].replace(" at new ", " at ");
250
- return r.displayName && G.includes("<anonymous>") && (G = G.replace("<anonymous>", r.displayName)), typeof r == "function" && oe.set(r, G), G;
250
+ return r.displayName && G.includes("<anonymous>") && (G = G.replace("<anonymous>", r.displayName)), typeof r == "function" && ie.set(r, G), G;
251
251
  }
252
252
  while (O >= 1 && A >= 0);
253
253
  break;
254
254
  }
255
255
  }
256
256
  } finally {
257
- _e = !1, se.current = C, ke(), Error.prepareStackTrace = M;
257
+ _e = !1, oe.current = C, ke(), Error.prepareStackTrace = M;
258
258
  }
259
259
  var be = r ? r.displayName || r.name : "", de = be ? le(be) : "";
260
- return typeof r == "function" && oe.set(r, de), de;
260
+ return typeof r == "function" && ie.set(r, de), de;
261
261
  }
262
262
  function He(r, i, f) {
263
263
  return Be(r, !1);
@@ -318,7 +318,7 @@ function kr() {
318
318
  } catch (O) {
319
319
  D = O;
320
320
  }
321
- D && !(D instanceof Error) && (Ce(M), w("%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).", p || "React class", f, E, typeof D), Ce(null)), D instanceof Error && !(D.message in te) && (te[D.message] = !0, Ce(M), w("Failed %s type: %s", f, D.message), Ce(null));
321
+ D && !(D instanceof Error) && (Ce(M), x("%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).", p || "React class", f, E, typeof D), Ce(null)), D instanceof Error && !(D.message in te) && (te[D.message] = !0, Ce(M), x("Failed %s type: %s", f, D.message), Ce(null));
322
322
  }
323
323
  }
324
324
  }
@@ -344,7 +344,7 @@ function kr() {
344
344
  }
345
345
  function tt(r) {
346
346
  if (or(r))
347
- return w("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", sr(r)), et(r);
347
+ return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", sr(r)), et(r);
348
348
  }
349
349
  var rt = _.ReactCurrentOwner, ir = {
350
350
  key: !0,
@@ -374,7 +374,7 @@ function kr() {
374
374
  function dr(r, i) {
375
375
  {
376
376
  var f = function() {
377
- nt || (nt = !0, w("%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)", i));
377
+ nt || (nt = !0, x("%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)", i));
378
378
  };
379
379
  f.isReactWarning = !0, Object.defineProperty(r, "key", {
380
380
  get: f,
@@ -385,7 +385,7 @@ function kr() {
385
385
  function hr(r, i) {
386
386
  {
387
387
  var f = function() {
388
- at || (at = !0, w("%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)", i));
388
+ at || (at = !0, x("%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)", i));
389
389
  };
390
390
  f.isReactWarning = !0, Object.defineProperty(r, "ref", {
391
391
  get: f,
@@ -491,7 +491,7 @@ Check the top-level render call using <` + f + ">.");
491
491
  return;
492
492
  it[f] = !0;
493
493
  var p = "";
494
- r && r._owner && r._owner !== We.current && (p = " It was passed a child from " + U(r._owner.type) + "."), ve(r), w('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', f, p), ve(null);
494
+ r && r._owner && r._owner !== We.current && (p = " It was passed a child from " + U(r._owner.type) + "."), ve(r), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', f, p), ve(null);
495
495
  }
496
496
  }
497
497
  function ct(r, i) {
@@ -533,9 +533,9 @@ Check the top-level render call using <` + f + ">.");
533
533
  } else if (i.PropTypes !== void 0 && !Ue) {
534
534
  Ue = !0;
535
535
  var M = U(i);
536
- w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", M || "Unknown");
536
+ x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", M || "Unknown");
537
537
  }
538
- typeof i.getDefaultProps == "function" && !i.getDefaultProps.isReactClassApproved && w("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
538
+ typeof i.getDefaultProps == "function" && !i.getDefaultProps.isReactClassApproved && x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
539
539
  }
540
540
  }
541
541
  function vr(r) {
@@ -543,24 +543,24 @@ Check the top-level render call using <` + f + ">.");
543
543
  for (var i = Object.keys(r.props), f = 0; f < i.length; f++) {
544
544
  var p = i[f];
545
545
  if (p !== "children" && p !== "key") {
546
- ve(r), w("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", p), ve(null);
546
+ ve(r), x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", p), ve(null);
547
547
  break;
548
548
  }
549
549
  }
550
- r.ref !== null && (ve(r), w("Invalid attribute `ref` supplied to `React.Fragment`."), ve(null));
550
+ r.ref !== null && (ve(r), x("Invalid attribute `ref` supplied to `React.Fragment`."), ve(null));
551
551
  }
552
552
  }
553
553
  var lt = {};
554
554
  function dt(r, i, f, p, M, C) {
555
555
  {
556
- var E = ae(r);
556
+ var E = se(r);
557
557
  if (!E) {
558
558
  var D = "";
559
559
  (r === void 0 || typeof r == "object" && r !== null && Object.keys(r).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.");
560
560
  var B = mr();
561
561
  B ? D += B : D += ot();
562
562
  var O;
563
- r === null ? O = "null" : qe(r) ? O = "array" : r !== void 0 && r.$$typeof === e ? (O = "<" + (U(r.type) || "Unknown") + " />", D = " Did you accidentally export a JSX literal instead of a component?") : O = typeof r, w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", O, D);
563
+ r === null ? O = "null" : qe(r) ? O = "array" : r !== void 0 && r.$$typeof === e ? (O = "<" + (U(r.type) || "Unknown") + " />", D = " Did you accidentally export a JSX literal instead of a component?") : O = typeof r, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", O, D);
564
564
  }
565
565
  var A = gr(r, i, f, M, C);
566
566
  if (A == null)
@@ -574,7 +574,7 @@ Check the top-level render call using <` + f + ">.");
574
574
  ct(G[be], r);
575
575
  Object.freeze && Object.freeze(G);
576
576
  } else
577
- w("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
577
+ x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
578
578
  else
579
579
  ct(G, r);
580
580
  }
@@ -584,7 +584,7 @@ Check the top-level render call using <` + f + ">.");
584
584
  }), Je = L.length > 0 ? "{key: someKey, " + L.join(": ..., ") + ": ...}" : "{key: someKey}";
585
585
  if (!lt[de + Je]) {
586
586
  var Mr = L.length > 0 ? "{" + L.join(": ..., ") + ": ...}" : "{}";
587
- w(`A props object containing a "key" prop is being spread into JSX:
587
+ x(`A props object containing a "key" prop is being spread into JSX:
588
588
  let props = %s;
589
589
  <%s {...props} />
590
590
  React keys must be passed directly to JSX without using spread:
@@ -602,23 +602,23 @@ React keys must be passed directly to JSX without using spread:
602
602
  return dt(r, i, f, !1);
603
603
  }
604
604
  var Er = Dr, Sr = br;
605
- we.Fragment = a, we.jsx = Er, we.jsxs = Sr;
606
- })()), we;
605
+ xe.Fragment = a, xe.jsx = Er, xe.jsxs = Sr;
606
+ })()), xe;
607
607
  }
608
608
  var mt;
609
609
  function Cr() {
610
- return mt || (mt = 1, process.env.NODE_ENV === "production" ? Re.exports = wr() : Re.exports = kr()), Re.exports;
610
+ return mt || (mt = 1, process.env.NODE_ENV === "production" ? Re.exports = xr() : Re.exports = kr()), Re.exports;
611
611
  }
612
612
  var g = Cr();
613
- const Ee = [1943, 4, 14], wt = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], Rr = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], ee = [[[30, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31], 365], [[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31], 366], [[30, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31], 365], [[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31], 366], [[31, 31, 31, 32, 31, 31, 29, 30, 30, 29, 29, 31], 365], [[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31], 366], [[31, 31, 31, 32, 31, 31, 29, 30, 30, 29, 30, 30], 365], [[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31], 366], [[31, 31, 31, 32, 31, 31, 29, 30, 30, 29, 30, 30], 365], [[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 29, 30, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31], 366], [[31, 31, 31, 32, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31], 366], [[31, 31, 31, 32, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31], 366], [[30, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31], 365], [[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 31, 32, 31, 32, 30, 30, 29, 30, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31], 366], [[30, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31], 365], [[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31], 366], [[30, 32, 31, 32, 31, 31, 29, 30, 30, 29, 29, 31], 365], [[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31], 366], [[31, 31, 31, 32, 31, 31, 29, 30, 30, 29, 30, 30], 365], [[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31], 366], [[31, 31, 31, 32, 31, 31, 29, 30, 30, 29, 30, 30], 365], [[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 29, 30, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31], 366], [[31, 31, 31, 32, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31], 366], [[31, 31, 31, 32, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31], 366], [[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 31, 32, 31, 32, 30, 30, 29, 30, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31], 366], [[30, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31], 365], [[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31], 366], [[30, 32, 31, 32, 31, 31, 29, 30, 29, 30, 29, 31], 365], [[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31], 366], [[31, 31, 31, 32, 31, 31, 29, 30, 30, 29, 29, 31], 365], [[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31], 366], [[31, 31, 31, 32, 31, 31, 29, 30, 30, 29, 30, 30], 365], [[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 29, 30, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31], 366], [[31, 31, 31, 32, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31], 366], [[31, 31, 31, 32, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31], 366], [[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31], 366], [[30, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31], 365], [[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31], 366], [[30, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31], 365], [[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31], 366], [[31, 31, 31, 32, 31, 31, 29, 30, 30, 29, 29, 31], 365], [[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31], 366], [[31, 31, 31, 32, 31, 31, 29, 30, 30, 29, 30, 30], 365], [[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30], 365]];
613
+ const Ee = [1943, 4, 14], xt = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], Rr = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], ee = [[[30, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31], 365], [[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31], 366], [[30, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31], 365], [[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31], 366], [[31, 31, 31, 32, 31, 31, 29, 30, 30, 29, 29, 31], 365], [[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31], 366], [[31, 31, 31, 32, 31, 31, 29, 30, 30, 29, 30, 30], 365], [[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31], 366], [[31, 31, 31, 32, 31, 31, 29, 30, 30, 29, 30, 30], 365], [[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 29, 30, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31], 366], [[31, 31, 31, 32, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31], 366], [[31, 31, 31, 32, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31], 366], [[30, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31], 365], [[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 31, 32, 31, 32, 30, 30, 29, 30, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31], 366], [[30, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31], 365], [[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31], 366], [[30, 32, 31, 32, 31, 31, 29, 30, 30, 29, 29, 31], 365], [[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31], 366], [[31, 31, 31, 32, 31, 31, 29, 30, 30, 29, 30, 30], 365], [[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31], 366], [[31, 31, 31, 32, 31, 31, 29, 30, 30, 29, 30, 30], 365], [[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 29, 30, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31], 366], [[31, 31, 31, 32, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31], 366], [[31, 31, 31, 32, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31], 366], [[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 31, 32, 31, 32, 30, 30, 29, 30, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31], 366], [[30, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31], 365], [[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31], 366], [[30, 32, 31, 32, 31, 31, 29, 30, 29, 30, 29, 31], 365], [[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31], 366], [[31, 31, 31, 32, 31, 31, 29, 30, 30, 29, 29, 31], 365], [[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31], 366], [[31, 31, 31, 32, 31, 31, 29, 30, 30, 29, 30, 30], 365], [[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 29, 30, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31], 366], [[31, 31, 31, 32, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31], 366], [[31, 31, 31, 32, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31], 366], [[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31], 366], [[30, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31], 365], [[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31], 366], [[30, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31], 365], [[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31], 366], [[31, 31, 31, 32, 31, 31, 29, 30, 30, 29, 29, 31], 365], [[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30], 365], [[31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31], 366], [[31, 31, 31, 32, 31, 31, 29, 30, 30, 29, 30, 30], 365], [[31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30], 365], [[31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30], 365]];
614
614
  let kt = class extends Error {
615
615
  constructor(e) {
616
616
  super(e), this.name = "DateOutOfRangeError";
617
617
  }
618
618
  };
619
- const Ct = () => Ee[0] + 1, Rt = () => Ee[0] + ee.length - 1, jt = () => 2e3, Tt = () => 2e3 + ee.length - 1, Ye = (t) => t % 400 === 0 || t % 4 === 0 && t % 100 !== 0, ze = (t) => Ye(t) ? Rr : wt, jr = (t, e, n) => !(t < Ct() || t > Rt() || e < 1 || e > 12 || n < 1 || n > ze(t)[e - 1]), pt = (t, e, n) => {
619
+ const Ct = () => Ee[0] + 1, Rt = () => Ee[0] + ee.length - 1, jt = () => 2e3, Tt = () => 2e3 + ee.length - 1, Ye = (t) => t % 400 === 0 || t % 4 === 0 && t % 100 !== 0, ze = (t) => Ye(t) ? Rr : xt, jr = (t, e, n) => !(t < Ct() || t > Rt() || e < 1 || e > 12 || n < 1 || n > ze(t)[e - 1]), pt = (t, e, n) => {
620
620
  let a = t * 365 + n;
621
- for (let s = 0; s < e - 1; s++) a += wt[s];
621
+ for (let s = 0; s < e - 1; s++) a += xt[s];
622
622
  return e <= 2 && (t -= 1), a += Math.floor(t / 4) - Math.floor(t / 100) + Math.floor(t / 400), a;
623
623
  };
624
624
  function Tr(t, e, n) {
@@ -856,7 +856,7 @@ const En = (t) => {
856
856
  if (t < 0 || t > 59) throw new Pe("Second should be in the range 0-59");
857
857
  }, _n = (t) => {
858
858
  if (t < 0 || t > 999) throw new Pe("Millisecond should be in the range 0-999");
859
- }, xn = (t, e, n, a) => {
859
+ }, wn = (t, e, n, a) => {
860
860
  En(t), Sn(e), Mn(n), _n(a);
861
861
  };
862
862
  class I {
@@ -975,7 +975,7 @@ class I {
975
975
  this._setDateObject(new Date(e));
976
976
  }
977
977
  set(e, n, a, s, o, c, l) {
978
- xn(s, o, c, l);
978
+ wn(s, o, c, l);
979
979
  const [u, d, h] = re.nepaliToEnglish(e, n, a);
980
980
  this.year = e, this.month = n, this.day = a, this._setDateObject(yt(u, d, h, s, o, c, l), !1);
981
981
  }
@@ -1034,7 +1034,7 @@ class I {
1034
1034
  return console.warn("`NepaliDate.maximum()` is deprecated and will be removed in a future version. Please use `NepaliDate.maxSupportedDate()` instead."), this.maxSupportedDate();
1035
1035
  }
1036
1036
  }
1037
- const wn = [
1037
+ const xn = [
1038
1038
  "बैशाख",
1039
1039
  "जेठ",
1040
1040
  "आषाढ",
@@ -1138,7 +1138,7 @@ const wn = [
1138
1138
  return 0;
1139
1139
  }
1140
1140
  return new Date(e, n, 1).getDay();
1141
- }, ie = (t) => {
1141
+ }, ne = (t) => {
1142
1142
  const e = /* @__PURE__ */ new Date();
1143
1143
  if (t === "BS")
1144
1144
  try {
@@ -1223,13 +1223,13 @@ const wn = [
1223
1223
  }
1224
1224
  return !1;
1225
1225
  }, An = (t = "AD") => {
1226
- const e = ht(() => ie(t), [t]), [n, a] = X(e.year), [s, o] = X(e.month), [c, l] = X(null), [u, d] = X(null), [h, y] = X(null);
1227
- xt(() => {
1226
+ const e = ht(() => ne(t), [t]), [n, a] = X(e.year), [s, o] = X(e.month), [c, l] = X(null), [u, d] = X(null), [h, y] = X(null);
1227
+ wt(() => {
1228
1228
  a(e.year), o(e.month);
1229
1229
  }, [e.year, e.month]);
1230
1230
  const m = ht(() => {
1231
- const _ = Tn(t, n, s), w = Yn(t, n, s), $ = [];
1232
- for (let T = 0; T < w; T++)
1231
+ const _ = Tn(t, n, s), x = Yn(t, n, s), $ = [];
1232
+ for (let T = 0; T < x; T++)
1233
1233
  $.push(null);
1234
1234
  for (let T = 1; T <= _; T++)
1235
1235
  $.push(T);
@@ -1260,11 +1260,11 @@ const wn = [
1260
1260
  },
1261
1261
  // Helpers
1262
1262
  isToday: (_) => n === e.year && s === e.month && _ === e.day,
1263
- isSelected: (_, w = "single") => w === "range" ? !!(u && u.year === n && u.month === s && u.day === _) || !!(h && h.year === n && h.month === s && h.day === _) : !!(c && c.year === n && c.month === s && c.day === _),
1263
+ isSelected: (_, x = "single") => x === "range" ? !!(u && u.year === n && u.month === s && u.day === _) || !!(h && h.year === n && h.month === s && h.day === _) : !!(c && c.year === n && c.month === s && c.day === _),
1264
1264
  isInRange: (_) => {
1265
1265
  if (!u || !h) return !1;
1266
- const w = new Date(n, s, _).getTime(), $ = new Date(u.year, u.month, u.day).getTime(), T = new Date(h.year, h.month, h.day).getTime();
1267
- return w >= $ && w <= T;
1266
+ const x = new Date(n, s, _).getTime(), $ = new Date(u.year, u.month, u.day).getTime(), T = new Date(h.year, h.month, h.day).getTime();
1267
+ return x >= $ && x <= T;
1268
1268
  }
1269
1269
  };
1270
1270
  }, $n = () => [
@@ -1272,7 +1272,7 @@ const wn = [
1272
1272
  key: "today",
1273
1273
  label: "Today",
1274
1274
  getValue: (t) => {
1275
- const e = ie(t);
1275
+ const e = ne(t);
1276
1276
  return { start: e, end: e };
1277
1277
  }
1278
1278
  },
@@ -1280,7 +1280,7 @@ const wn = [
1280
1280
  key: "yesterday",
1281
1281
  label: "Yesterday",
1282
1282
  getValue: (t) => {
1283
- const e = ie(t), n = { ...e, day: e.day - 1 };
1283
+ const e = ne(t), n = { ...e, day: e.day - 1 };
1284
1284
  return { start: n, end: n };
1285
1285
  }
1286
1286
  },
@@ -1288,7 +1288,7 @@ const wn = [
1288
1288
  key: "last7days",
1289
1289
  label: "Last 7 Days",
1290
1290
  getValue: (t) => {
1291
- const e = ie(t);
1291
+ const e = ne(t);
1292
1292
  return { start: { ...e, day: e.day - 6 }, end: e };
1293
1293
  }
1294
1294
  },
@@ -1296,7 +1296,7 @@ const wn = [
1296
1296
  key: "last30days",
1297
1297
  label: "Last 30 Days",
1298
1298
  getValue: (t) => {
1299
- const e = ie(t);
1299
+ const e = ne(t);
1300
1300
  return { start: { ...e, day: e.day - 29 }, end: e };
1301
1301
  }
1302
1302
  },
@@ -1304,7 +1304,7 @@ const wn = [
1304
1304
  key: "thisMonth",
1305
1305
  label: "This Month",
1306
1306
  getValue: (t) => {
1307
- const e = ie(t);
1307
+ const e = ne(t);
1308
1308
  return { start: { ...e, day: 1 }, end: e };
1309
1309
  }
1310
1310
  },
@@ -1312,7 +1312,7 @@ const wn = [
1312
1312
  key: "lastMonth",
1313
1313
  label: "Last Month",
1314
1314
  getValue: (t) => {
1315
- const e = ie(t), n = e.month === 0 ? 11 : e.month - 1, a = e.month === 0 ? e.year - 1 : e.year;
1315
+ const e = ne(t), n = e.month === 0 ? 11 : e.month - 1, a = e.month === 0 ? e.year - 1 : e.year;
1316
1316
  return { start: { year: a, month: n, day: 1 }, end: { year: a, month: n, day: 30 } };
1317
1317
  }
1318
1318
  },
@@ -1320,15 +1320,23 @@ const wn = [
1320
1320
  key: "last3months",
1321
1321
  label: "Last 3 Months",
1322
1322
  getValue: (t) => {
1323
- const e = ie(t);
1323
+ const e = ne(t);
1324
1324
  return { start: {
1325
1325
  year: e.month < 3 ? e.year - 1 : e.year,
1326
1326
  month: e.month < 3 ? e.month + 9 : e.month - 3,
1327
1327
  day: 1
1328
1328
  }, end: e };
1329
1329
  }
1330
+ },
1331
+ {
1332
+ key: "last180days",
1333
+ label: "Last 180 Days",
1334
+ getValue: (t) => {
1335
+ const e = ne(t);
1336
+ return { start: { ...e, day: e.day - 179 }, end: e };
1337
+ }
1330
1338
  }
1331
- ], Fn = "_calendar_1qlbw_1", Pn = "_grid_1qlbw_11", In = "_header_1qlbw_22", Nn = "_navButton_1qlbw_29", Bn = "_monthYear_1qlbw_55", Hn = "_pickerOverlay_1qlbw_75", Ln = "_pickerContent_1qlbw_85", qn = "_pickerHeader_1qlbw_95", Wn = "_closeButton_1qlbw_109", Un = "_pickerBody_1qlbw_128", Vn = "_pickerSection_1qlbw_132", Jn = "_pickerSectionHeader_1qlbw_148", Gn = "_yearNav_1qlbw_159", Kn = "_yearGrid_1qlbw_191", zn = "_selected_1qlbw_211", Xn = "_monthGrid_1qlbw_217", Zn = "_dayHeader_1qlbw_249", Qn = "_day_1qlbw_249", ea = "_dayDisabled_1qlbw_270", ta = "_dayOtherMonth_1qlbw_270", ra = "_daySelected_1qlbw_274", na = "_dayToday_1qlbw_279", aa = "_dayInRange_1qlbw_285", x = {
1339
+ ], Fn = "_calendar_1qlbw_1", Pn = "_grid_1qlbw_11", In = "_header_1qlbw_22", Nn = "_navButton_1qlbw_29", Bn = "_monthYear_1qlbw_55", Hn = "_pickerOverlay_1qlbw_75", Ln = "_pickerContent_1qlbw_85", qn = "_pickerHeader_1qlbw_95", Wn = "_closeButton_1qlbw_109", Un = "_pickerBody_1qlbw_128", Vn = "_pickerSection_1qlbw_132", Jn = "_pickerSectionHeader_1qlbw_148", Gn = "_yearNav_1qlbw_159", Kn = "_yearGrid_1qlbw_191", zn = "_selected_1qlbw_211", Xn = "_monthGrid_1qlbw_217", Zn = "_dayHeader_1qlbw_249", Qn = "_day_1qlbw_249", ea = "_dayDisabled_1qlbw_270", ta = "_dayOtherMonth_1qlbw_270", ra = "_daySelected_1qlbw_274", na = "_dayToday_1qlbw_279", aa = "_dayInRange_1qlbw_285", w = {
1332
1340
  calendar: Fn,
1333
1341
  grid: Pn,
1334
1342
  header: In,
@@ -1369,23 +1377,23 @@ const wn = [
1369
1377
  return /* @__PURE__ */ g.jsx(
1370
1378
  "div",
1371
1379
  {
1372
- className: x.pickerOverlay,
1380
+ className: w.pickerOverlay,
1373
1381
  onClick: o,
1374
1382
  children: /* @__PURE__ */ g.jsxs(
1375
1383
  "div",
1376
1384
  {
1377
- className: x.pickerContent,
1385
+ className: w.pickerContent,
1378
1386
  onClick: (R) => R.stopPropagation(),
1379
1387
  children: [
1380
- /* @__PURE__ */ g.jsxs("div", { className: x.pickerHeader, children: [
1388
+ /* @__PURE__ */ g.jsxs("div", { className: w.pickerHeader, children: [
1381
1389
  /* @__PURE__ */ g.jsx("h3", { children: "Select Month & Year" }),
1382
- /* @__PURE__ */ g.jsx("button", { onClick: o, className: x.closeButton, children: "×" })
1390
+ /* @__PURE__ */ g.jsx("button", { onClick: o, className: w.closeButton, children: "×" })
1383
1391
  ] }),
1384
- /* @__PURE__ */ g.jsxs("div", { className: x.pickerBody, children: [
1385
- /* @__PURE__ */ g.jsxs("div", { className: x.pickerSection, children: [
1386
- /* @__PURE__ */ g.jsxs("div", { className: x.pickerSectionHeader, children: [
1392
+ /* @__PURE__ */ g.jsxs("div", { className: w.pickerBody, children: [
1393
+ /* @__PURE__ */ g.jsxs("div", { className: w.pickerSection, children: [
1394
+ /* @__PURE__ */ g.jsxs("div", { className: w.pickerSectionHeader, children: [
1387
1395
  /* @__PURE__ */ g.jsx("label", { children: "Year" }),
1388
- /* @__PURE__ */ g.jsxs("div", { className: x.yearNav, children: [
1396
+ /* @__PURE__ */ g.jsxs("div", { className: w.yearNav, children: [
1389
1397
  /* @__PURE__ */ g.jsx(
1390
1398
  "button",
1391
1399
  {
@@ -1409,28 +1417,28 @@ const wn = [
1409
1417
  )
1410
1418
  ] })
1411
1419
  ] }),
1412
- /* @__PURE__ */ g.jsx("div", { className: x.yearGrid, children: Array.from({ length: 12 }, (R, v) => {
1420
+ /* @__PURE__ */ g.jsx("div", { className: w.yearGrid, children: Array.from({ length: 12 }, (R, v) => {
1413
1421
  const N = d + v;
1414
1422
  return N > m ? null : /* @__PURE__ */ g.jsx(
1415
1423
  "button",
1416
1424
  {
1417
1425
  onClick: () => a(N),
1418
- className: N === t ? x.selected : "",
1426
+ className: N === t ? w.selected : "",
1419
1427
  children: c ? l(N) : N
1420
1428
  },
1421
1429
  N
1422
1430
  );
1423
1431
  }) })
1424
1432
  ] }),
1425
- /* @__PURE__ */ g.jsxs("div", { className: x.pickerSection, children: [
1433
+ /* @__PURE__ */ g.jsxs("div", { className: w.pickerSection, children: [
1426
1434
  /* @__PURE__ */ g.jsx("label", { children: "Month" }),
1427
- /* @__PURE__ */ g.jsx("div", { className: x.monthGrid, children: n.map((R, v) => /* @__PURE__ */ g.jsx(
1435
+ /* @__PURE__ */ g.jsx("div", { className: w.monthGrid, children: n.map((R, v) => /* @__PURE__ */ g.jsx(
1428
1436
  "button",
1429
1437
  {
1430
1438
  onClick: () => {
1431
1439
  s(v), o();
1432
1440
  },
1433
- className: v === e ? x.selected : "",
1441
+ className: v === e ? w.selected : "",
1434
1442
  children: R
1435
1443
  },
1436
1444
  v
@@ -1455,11 +1463,11 @@ const wn = [
1455
1463
  calendarType: d
1456
1464
  }) => {
1457
1465
  const [h, y] = X(!1);
1458
- return /* @__PURE__ */ g.jsxs("div", { className: x.header, children: [
1466
+ return /* @__PURE__ */ g.jsxs("div", { className: w.header, children: [
1459
1467
  /* @__PURE__ */ g.jsx(
1460
1468
  "button",
1461
1469
  {
1462
- className: x.navButton,
1470
+ className: w.navButton,
1463
1471
  onClick: () => a(-12),
1464
1472
  disabled: c,
1465
1473
  "aria-label": "Previous year",
@@ -1470,7 +1478,7 @@ const wn = [
1470
1478
  /* @__PURE__ */ g.jsx(
1471
1479
  "button",
1472
1480
  {
1473
- className: x.navButton,
1481
+ className: w.navButton,
1474
1482
  onClick: () => a(-1),
1475
1483
  disabled: c,
1476
1484
  "aria-label": "Previous month",
@@ -1480,7 +1488,7 @@ const wn = [
1480
1488
  /* @__PURE__ */ g.jsxs(
1481
1489
  "button",
1482
1490
  {
1483
- className: x.monthYear,
1491
+ className: w.monthYear,
1484
1492
  onClick: () => y(!0),
1485
1493
  disabled: c,
1486
1494
  children: [
@@ -1493,7 +1501,7 @@ const wn = [
1493
1501
  /* @__PURE__ */ g.jsx(
1494
1502
  "button",
1495
1503
  {
1496
- className: x.navButton,
1504
+ className: w.navButton,
1497
1505
  onClick: () => a(1),
1498
1506
  disabled: c,
1499
1507
  "aria-label": "Next month",
@@ -1503,7 +1511,7 @@ const wn = [
1503
1511
  /* @__PURE__ */ g.jsx(
1504
1512
  "button",
1505
1513
  {
1506
- className: x.navButton,
1514
+ className: w.navButton,
1507
1515
  onClick: () => a(12),
1508
1516
  disabled: c,
1509
1517
  "aria-label": "Next year",
@@ -1537,14 +1545,14 @@ const wn = [
1537
1545
  disabled: l = !1,
1538
1546
  showNepaliNumbers: u = !1,
1539
1547
  convertToNepaliNumber: d
1540
- }) => /* @__PURE__ */ g.jsxs("div", { className: x.grid, children: [
1541
- e.map((h) => /* @__PURE__ */ g.jsx("div", { className: x.dayHeader, children: h }, h)),
1548
+ }) => /* @__PURE__ */ g.jsxs("div", { className: w.grid, children: [
1549
+ e.map((h) => /* @__PURE__ */ g.jsx("div", { className: w.dayHeader, children: h }, h)),
1542
1550
  t.map((h, y) => {
1543
1551
  const m = h ? c?.(h) || l : !1;
1544
1552
  return /* @__PURE__ */ g.jsx(
1545
1553
  "div",
1546
1554
  {
1547
- className: `${x.day} ${h === null ? x.dayOtherMonth : m ? x.dayDisabled : a(h) ? x.daySelected : s(h) ? x.dayInRange : o(h) ? x.dayToday : ""}`,
1555
+ className: `${w.day} ${h === null ? w.dayOtherMonth : m ? w.dayDisabled : a(h) ? w.daySelected : s(h) ? w.dayInRange : o(h) ? w.dayToday : ""}`,
1548
1556
  onClick: () => h && !m && n(h),
1549
1557
  children: h ? u ? d(h) : h : ""
1550
1558
  },
@@ -1612,17 +1620,17 @@ const wn = [
1612
1620
  showNepaliMonths: N = !1,
1613
1621
  showNepaliDays: K = !1,
1614
1622
  showNepaliNumbers: _ = !1,
1615
- theme: w = "light",
1623
+ theme: x = "light",
1616
1624
  colors: $,
1617
1625
  minDate: T,
1618
- maxDate: ne
1626
+ maxDate: ae
1619
1627
  }) => {
1620
1628
  const {
1621
1629
  currentYear: S,
1622
1630
  currentMonth: j,
1623
1631
  selectedDate: ue,
1624
1632
  rangeStart: P,
1625
- rangeEnd: ae,
1633
+ rangeEnd: se,
1626
1634
  today: F,
1627
1635
  calendarDays: W,
1628
1636
  setSelectedDate: U,
@@ -1634,16 +1642,16 @@ const wn = [
1634
1642
  isToday: ge,
1635
1643
  isSelected: me,
1636
1644
  isInRange: pe
1637
- } = An(t), [Me, ye] = X(), Ie = $n(), ke = m || Ie, se = t === "BS" && N ? wn : t === "BS" ? rr : kn, ce = t === "BS" && K ? Cn : Rn, le = (b, k) => {
1645
+ } = An(t), [Me, ye] = X(), Ie = $n(), ke = m || Ie, oe = t === "BS" && N ? xn : t === "BS" ? rr : kn, ce = t === "BS" && K ? Cn : Rn, le = (b, k) => {
1638
1646
  k.start && k.end && (V(k.start), z(k.end), ye(b.key), R?.(b, k), d?.(k));
1639
1647
  }, _e = (b, k) => {
1640
1648
  V(b), z(k), ye(void 0), d?.({ start: b, end: k });
1641
- }, oe = (b) => {
1649
+ }, ie = (b) => {
1642
1650
  if (o) return;
1643
1651
  const k = { year: S, month: j, day: b };
1644
- if (je(k, T, ne, t)) return;
1652
+ if (je(k, T, ae, t)) return;
1645
1653
  if (u === "range") {
1646
- if (ye(void 0), !P || P && ae)
1654
+ if (ye(void 0), !P || P && se)
1647
1655
  V(k), z(null);
1648
1656
  else {
1649
1657
  const te = new Date(P.year, P.month, P.day).getTime();
@@ -1652,7 +1660,7 @@ const wn = [
1652
1660
  return;
1653
1661
  }
1654
1662
  U(k);
1655
- const J = On(t, S, j, b, se);
1663
+ const J = On(t, S, j, b, oe);
1656
1664
  if (l?.(J), n) {
1657
1665
  let te;
1658
1666
  switch (c) {
@@ -1700,9 +1708,9 @@ const wn = [
1700
1708
  return /* @__PURE__ */ g.jsxs(
1701
1709
  "div",
1702
1710
  {
1703
- className: `${x.calendar} ${a}`,
1711
+ className: `${w.calendar} ${a}`,
1704
1712
  style: He,
1705
- "data-theme": w,
1713
+ "data-theme": x,
1706
1714
  onKeyDown: Ne,
1707
1715
  tabIndex: 0,
1708
1716
  role: "application",
@@ -1716,7 +1724,7 @@ const wn = [
1716
1724
  {
1717
1725
  currentMonth: j,
1718
1726
  currentYear: S,
1719
- months: se,
1727
+ months: oe,
1720
1728
  onNavigateMonth: H,
1721
1729
  onYearChange: he,
1722
1730
  onMonthChange: fe,
@@ -1731,11 +1739,11 @@ const wn = [
1731
1739
  {
1732
1740
  calendarDays: W,
1733
1741
  days: ce,
1734
- onDateSelect: oe,
1742
+ onDateSelect: ie,
1735
1743
  isSelected: (b) => me(b, u),
1736
1744
  isInRange: pe,
1737
1745
  isToday: (b) => s && ge(b),
1738
- isDisabled: (b) => je({ year: S, month: j, day: b }, T, ne, t),
1746
+ isDisabled: (b) => je({ year: S, month: j, day: b }, T, ae, t),
1739
1747
  disabled: o,
1740
1748
  showNepaliNumbers: _,
1741
1749
  convertToNepaliNumber: De
@@ -1743,7 +1751,7 @@ const wn = [
1743
1751
  )
1744
1752
  ] })
1745
1753
  ] }),
1746
- u === "range" && h && y === "left" && !v && /* @__PURE__ */ g.jsxs("div", { style: { display: "flex", gap: "16px", flexWrap: "wrap" }, children: [
1754
+ u === "range" && h && y === "left" && !v && /* @__PURE__ */ g.jsxs("div", { style: { display: "flex", gap: "16px", flexWrap: "nowrap", overflow: "auto" }, children: [
1747
1755
  /* @__PURE__ */ g.jsx(
1748
1756
  Mt,
1749
1757
  {
@@ -1754,13 +1762,13 @@ const wn = [
1754
1762
  position: "left"
1755
1763
  }
1756
1764
  ),
1757
- /* @__PURE__ */ g.jsxs("div", { style: { flex: "1 1 280px", minWidth: "280px" }, children: [
1765
+ /* @__PURE__ */ g.jsxs("div", { style: { flex: "0 0 auto", minWidth: "280px" }, children: [
1758
1766
  /* @__PURE__ */ g.jsx(
1759
1767
  Ge,
1760
1768
  {
1761
1769
  currentMonth: j,
1762
1770
  currentYear: S,
1763
- months: se,
1771
+ months: oe,
1764
1772
  onNavigateMonth: H,
1765
1773
  onYearChange: he,
1766
1774
  onMonthChange: fe,
@@ -1775,11 +1783,11 @@ const wn = [
1775
1783
  {
1776
1784
  calendarDays: W,
1777
1785
  days: ce,
1778
- onDateSelect: oe,
1786
+ onDateSelect: ie,
1779
1787
  isSelected: (b) => me(b, u),
1780
1788
  isInRange: pe,
1781
1789
  isToday: (b) => s && ge(b),
1782
- isDisabled: (b) => je({ year: S, month: j, day: b }, T, ne, t),
1790
+ isDisabled: (b) => je({ year: S, month: j, day: b }, T, ae, t),
1783
1791
  disabled: o,
1784
1792
  showNepaliNumbers: _,
1785
1793
  convertToNepaliNumber: De
@@ -1803,7 +1811,7 @@ const wn = [
1803
1811
  {
1804
1812
  currentMonth: j,
1805
1813
  currentYear: S,
1806
- months: se,
1814
+ months: oe,
1807
1815
  onNavigateMonth: H,
1808
1816
  onYearChange: he,
1809
1817
  onMonthChange: fe,
@@ -1818,11 +1826,11 @@ const wn = [
1818
1826
  {
1819
1827
  calendarDays: W,
1820
1828
  days: ce,
1821
- onDateSelect: oe,
1829
+ onDateSelect: ie,
1822
1830
  isSelected: (b) => me(b, u),
1823
1831
  isInRange: pe,
1824
1832
  isToday: (b) => s && ge(b),
1825
- isDisabled: (b) => je({ year: S, month: j, day: b }, T, ne, t),
1833
+ isDisabled: (b) => je({ year: S, month: j, day: b }, T, ae, t),
1826
1834
  disabled: o,
1827
1835
  showNepaliNumbers: _,
1828
1836
  convertToNepaliNumber: De
@@ -1850,8 +1858,8 @@ const wn = [
1850
1858
  calendarType: d = "AD",
1851
1859
  ...h
1852
1860
  }) => {
1853
- const [y, m] = X(!1), [R, v] = X(null), [N, K] = X(""), _ = xr(null);
1854
- xt(() => {
1861
+ const [y, m] = X(!1), [R, v] = X(null), [N, K] = X(""), _ = wr(null);
1862
+ wt(() => {
1855
1863
  const S = (j) => {
1856
1864
  _.current && !_.current.contains(j.target) && m(!1);
1857
1865
  };
@@ -1859,7 +1867,7 @@ const wn = [
1859
1867
  document.removeEventListener("mousedown", S);
1860
1868
  };
1861
1869
  }, [y]);
1862
- const w = (S) => {
1870
+ const x = (S) => {
1863
1871
  v(S);
1864
1872
  const j = d === "BS" ? S.bs : S.ad;
1865
1873
  K(j), m(!1), n?.(S);
@@ -1885,14 +1893,14 @@ const wn = [
1885
1893
  }
1886
1894
  const j = S.match(/^(\d{4})-(\d{2})-(\d{2})$/);
1887
1895
  if (j) {
1888
- const [, ue, P, ae] = j, F = parseInt(P), W = parseInt(ae);
1896
+ const [, ue, P, se] = j, F = parseInt(P), W = parseInt(se);
1889
1897
  if (F < 1 || F > 12 || W < 1 || W > 32) {
1890
1898
  K(R ? d === "BS" ? R.formatted.bs : R.formatted.ad : "");
1891
1899
  return;
1892
1900
  }
1893
1901
  const U = {
1894
- bs: d === "BS" ? `${ue}-${P}-${ae}` : "",
1895
- ad: d === "AD" ? `${ue}-${P}-${ae}` : "",
1902
+ bs: d === "BS" ? `${ue}-${P}-${se}` : "",
1903
+ ad: d === "AD" ? `${ue}-${P}-${se}` : "",
1896
1904
  formatted: {
1897
1905
  bs: d === "BS" ? S : "",
1898
1906
  ad: d === "AD" ? S : ""
@@ -1900,7 +1908,7 @@ const wn = [
1900
1908
  };
1901
1909
  v(U), n?.(U);
1902
1910
  } else S.length < 10 && K(R ? d === "BS" ? R.formatted.bs : R.formatted.ad : "");
1903
- }, ne = (S) => {
1911
+ }, ae = (S) => {
1904
1912
  S.key === "Enter" ? (T(), m(!1)) : S.key === "Escape" && m(!1);
1905
1913
  };
1906
1914
  return /* @__PURE__ */ g.jsxs("div", { className: `${Te.datePicker} ${a}`, ref: _, style: o, children: [
@@ -1912,7 +1920,7 @@ const wn = [
1912
1920
  placeholder: t || "YYYY-MM-DD",
1913
1921
  onChange: $,
1914
1922
  onBlur: T,
1915
- onKeyDown: ne,
1923
+ onKeyDown: ae,
1916
1924
  className: Te.input,
1917
1925
  style: c,
1918
1926
  "aria-label": "Date picker input",
@@ -1941,7 +1949,7 @@ const wn = [
1941
1949
  oa,
1942
1950
  {
1943
1951
  calendarType: d,
1944
- onDateSelect: w,
1952
+ onDateSelect: x,
1945
1953
  ...h
1946
1954
  }
1947
1955
  ) })
@@ -1957,13 +1965,13 @@ export {
1957
1965
  rr as ENGLISH_MONTHS_BS,
1958
1966
  Cn as NEPALI_DAYS,
1959
1967
  jn as NEPALI_DIGITS,
1960
- wn as NEPALI_MONTHS,
1968
+ xn as NEPALI_MONTHS,
1961
1969
  De as convertToNepaliNumber,
1962
1970
  On as createDateOutput,
1963
1971
  $n as createPredefinedRanges,
1964
1972
  Tn as getDaysInMonth,
1965
1973
  Yn as getFirstDayOfMonth,
1966
- ie as getTodayDate,
1974
+ ne as getTodayDate,
1967
1975
  ga as isDateInRange,
1968
1976
  An as useCalendar
1969
1977
  };