@calcom/atoms 1.0.35 → 1.0.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (144) hide show
  1. package/dist/{AddressInput-xdpADZ6a.js → AddressInput-T_CrBmRf.js} +4 -4
  2. package/dist/{AlbyPriceComponent-Or92Wq38.js → AlbyPriceComponent-EO_dsJvE.js} +24 -24
  3. package/dist/{Card-YXRwzLYs.js → Card-soWSbQyc.js} +1 -1
  4. package/dist/{DatePicker-kEtLX40X.js → DatePicker-lcmLJngR.js} +6 -6
  5. package/dist/{PhoneInput-z6tWOjjy.js → PhoneInput-4L3NBgx-.js} +61 -61
  6. package/dist/{PoweredBy-nFGX9x4g.js → PoweredBy-CbuMIwI6.js} +2 -2
  7. package/dist/{UnpublishedEntity-AeOec7kC.js → UnpublishedEntity-6AN6CU-I.js} +3 -3
  8. package/dist/cal-atoms.js +4 -4
  9. package/dist/cal-atoms.umd.cjs +126 -126
  10. package/dist/{framer-features-FRV_NUF8.js → framer-features-XhnOIXwJ.js} +7 -7
  11. package/dist/{index-CVilpVrZ.js → index-JcDhjvCF.js} +2 -2
  12. package/dist/index-KAnRs-wx.js +76 -0
  13. package/dist/{index-YVMeafN8.js → index-My3dnUlx.js} +13203 -13181
  14. package/dist/index-psDs_9O0.js +4 -0
  15. package/dist/{index-0P289PZn.js → index-sA_u6z9V.js} +1 -1
  16. package/dist/{index-dVp-Ebnc.js → index-zWVUe7ha.js} +2 -2
  17. package/dist/{isSupportedCountry-0hC9cf87.js → isSupportedCountry-HO7hQD0z.js} +1 -1
  18. package/dist/packages/app-store/_utils/getParsedAppKeysFromSlug.d.ts +2 -1
  19. package/dist/packages/app-store/_utils/getParsedAppKeysFromSlug.d.ts.map +1 -1
  20. package/dist/packages/app-store/_utils/invalidateCredential.d.ts +3 -0
  21. package/dist/packages/app-store/_utils/invalidateCredential.d.ts.map +1 -0
  22. package/dist/packages/app-store/_utils/oauth/AxiosLikeResponseToFetchResponse.d.ts +13 -0
  23. package/dist/packages/app-store/_utils/oauth/AxiosLikeResponseToFetchResponse.d.ts.map +1 -0
  24. package/dist/packages/app-store/_utils/oauth/OAuthManager.d.ts +168 -0
  25. package/dist/packages/app-store/_utils/oauth/OAuthManager.d.ts.map +1 -0
  26. package/dist/packages/app-store/_utils/oauth/OAuthManager.test.d.ts +1 -0
  27. package/dist/packages/app-store/_utils/oauth/OAuthManager.test.d.ts.map +1 -0
  28. package/dist/packages/app-store/_utils/oauth/getTokenObjectFromCredential.d.ts +10 -0
  29. package/dist/packages/app-store/_utils/oauth/getTokenObjectFromCredential.d.ts.map +1 -0
  30. package/dist/packages/app-store/_utils/oauth/markTokenAsExpired.d.ts +3 -0
  31. package/dist/packages/app-store/_utils/oauth/markTokenAsExpired.d.ts.map +1 -0
  32. package/dist/packages/app-store/_utils/oauth/oAuthManagerHelper.d.ts +41 -0
  33. package/dist/packages/app-store/_utils/oauth/oAuthManagerHelper.d.ts.map +1 -0
  34. package/dist/packages/app-store/_utils/oauth/universalSchema.d.ts +110 -0
  35. package/dist/packages/app-store/_utils/oauth/universalSchema.d.ts.map +1 -0
  36. package/dist/packages/app-store/_utils/oauth/updateTokenObject.d.ts +7 -0
  37. package/dist/packages/app-store/_utils/oauth/updateTokenObject.d.ts.map +1 -0
  38. package/dist/packages/app-store/_utils/testUtils.d.ts +19 -0
  39. package/dist/packages/app-store/_utils/testUtils.d.ts.map +1 -0
  40. package/dist/packages/app-store/apps.metadata.generated.d.ts +16 -0
  41. package/dist/packages/app-store/apps.metadata.generated.d.ts.map +1 -1
  42. package/dist/packages/app-store/apps.server.generated.d.ts +1 -0
  43. package/dist/packages/app-store/apps.server.generated.d.ts.map +1 -1
  44. package/dist/packages/app-store/clic/api/add.d.ts +4 -0
  45. package/dist/packages/app-store/clic/api/add.d.ts.map +1 -0
  46. package/dist/packages/app-store/clic/api/index.d.ts +2 -0
  47. package/dist/packages/app-store/clic/api/index.d.ts.map +1 -0
  48. package/dist/packages/app-store/clic/config.json.d.ts +19 -0
  49. package/dist/packages/app-store/clic/index.d.ts +2 -0
  50. package/dist/packages/app-store/clic/index.d.ts.map +1 -0
  51. package/dist/packages/app-store/googlecalendar/lib/CalendarService.d.ts +4 -1
  52. package/dist/packages/app-store/googlecalendar/lib/CalendarService.d.ts.map +1 -1
  53. package/dist/packages/app-store/googlecalendar/lib/getGoogleAppKeys.d.ts +5 -1
  54. package/dist/packages/app-store/googlecalendar/lib/getGoogleAppKeys.d.ts.map +1 -1
  55. package/dist/packages/app-store/office365calendar/lib/CalendarService.d.ts +1 -5
  56. package/dist/packages/app-store/office365calendar/lib/CalendarService.d.ts.map +1 -1
  57. package/dist/packages/app-store/office365calendar/lib/getOfficeAppKeys.d.ts +4 -1
  58. package/dist/packages/app-store/office365calendar/lib/getOfficeAppKeys.d.ts.map +1 -1
  59. package/dist/packages/app-store/office365video/lib/VideoApiAdapter.d.ts.map +1 -1
  60. package/dist/packages/app-store/office365video/lib/VideoApiAdapter.test.d.ts +2 -0
  61. package/dist/packages/app-store/office365video/lib/VideoApiAdapter.test.d.ts.map +1 -0
  62. package/dist/packages/app-store/stripepayment/lib/getStripeAppKeys.d.ts +6 -1
  63. package/dist/packages/app-store/stripepayment/lib/getStripeAppKeys.d.ts.map +1 -1
  64. package/dist/packages/app-store/zoomvideo/api/callback.d.ts.map +1 -1
  65. package/dist/packages/app-store/zoomvideo/lib/VideoApiAdapter.d.ts.map +1 -1
  66. package/dist/packages/features/bookings/Booker/utils/event.d.ts +2 -2
  67. package/dist/packages/features/bookings/components/event-meta/Members.d.ts.map +1 -1
  68. package/dist/packages/features/bookings/lib/handleNewBooking.d.ts +1 -0
  69. package/dist/packages/features/bookings/lib/handleNewBooking.d.ts.map +1 -1
  70. package/dist/packages/features/ee/support/lib/intercom/useIntercom.d.ts.map +1 -1
  71. package/dist/packages/features/ee/workflows/components/WorkflowDetailsPage.d.ts.map +1 -1
  72. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts +2 -2
  73. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts.map +1 -1
  74. package/dist/packages/features/filters/components/TeamsFilter.d.ts.map +1 -1
  75. package/dist/packages/features/insights/components/BookingKPICards.d.ts.map +1 -1
  76. package/dist/packages/features/insights/components/FeedbackTable.d.ts +12 -0
  77. package/dist/packages/features/insights/components/FeedbackTable.d.ts.map +1 -0
  78. package/dist/packages/features/insights/components/HighestNoShowHostTable.d.ts +2 -0
  79. package/dist/packages/features/insights/components/HighestNoShowHostTable.d.ts.map +1 -0
  80. package/dist/packages/features/insights/components/HighestRatedMembersTable.d.ts +2 -0
  81. package/dist/packages/features/insights/components/HighestRatedMembersTable.d.ts.map +1 -0
  82. package/dist/packages/features/insights/components/LowestRatedMembersTable.d.ts +2 -0
  83. package/dist/packages/features/insights/components/LowestRatedMembersTable.d.ts.map +1 -0
  84. package/dist/packages/features/insights/components/RecentFeedbackTable.d.ts +2 -0
  85. package/dist/packages/features/insights/components/RecentFeedbackTable.d.ts.map +1 -0
  86. package/dist/packages/features/insights/components/TotalBookingUsersTable.d.ts.map +1 -1
  87. package/dist/packages/features/insights/components/TotalUserFeedbackTable.d.ts +12 -0
  88. package/dist/packages/features/insights/components/TotalUserFeedbackTable.d.ts.map +1 -0
  89. package/dist/packages/features/insights/components/index.d.ts +4 -0
  90. package/dist/packages/features/insights/components/index.d.ts.map +1 -1
  91. package/dist/packages/features/insights/server/events.d.ts +670 -0
  92. package/dist/packages/features/insights/server/events.d.ts.map +1 -1
  93. package/dist/packages/features/insights/server/trpc-router.d.ts +106 -0
  94. package/dist/packages/features/insights/server/trpc-router.d.ts.map +1 -1
  95. package/dist/packages/lib/constants.d.ts +1 -0
  96. package/dist/packages/lib/constants.d.ts.map +1 -1
  97. package/dist/packages/lib/defaultAvatarImage.d.ts +4 -0
  98. package/dist/packages/lib/defaultAvatarImage.d.ts.map +1 -1
  99. package/dist/packages/lib/entityPermissionUtils.d.ts.map +1 -1
  100. package/dist/packages/lib/errors.d.ts.map +1 -1
  101. package/dist/packages/lib/isOutOfBounds.d.ts +1 -1
  102. package/dist/packages/lib/isOutOfBounds.d.ts.map +1 -1
  103. package/dist/packages/lib/safeStringify.d.ts +3 -0
  104. package/dist/packages/lib/safeStringify.d.ts.map +1 -1
  105. package/dist/packages/lib/server/queries/teams/index.d.ts +0 -23
  106. package/dist/packages/lib/server/queries/teams/index.d.ts.map +1 -1
  107. package/dist/packages/lib/server/repository/profile.d.ts +0 -84
  108. package/dist/packages/lib/server/repository/profile.d.ts.map +1 -1
  109. package/dist/packages/lib/server/repository/user.d.ts +0 -42
  110. package/dist/packages/lib/server/repository/user.d.ts.map +1 -1
  111. package/dist/packages/platform/atoms/booker/BookerPlatformWrapper.d.ts.map +1 -1
  112. package/dist/packages/platform/atoms/hooks/usePublicEvent.d.ts +2 -2
  113. package/dist/packages/prisma/zod/bookingtimestatus.d.ts +9 -0
  114. package/dist/packages/prisma/zod/bookingtimestatus.d.ts.map +1 -1
  115. package/dist/packages/trpc/react/hooks/useMeQuery.d.ts +5 -42
  116. package/dist/packages/trpc/react/hooks/useMeQuery.d.ts.map +1 -1
  117. package/dist/packages/trpc/server/middlewares/sessionMiddleware.d.ts +0 -210
  118. package/dist/packages/trpc/server/middlewares/sessionMiddleware.d.ts.map +1 -1
  119. package/dist/packages/trpc/server/procedures/authedProcedure.d.ts +0 -126
  120. package/dist/packages/trpc/server/procedures/authedProcedure.d.ts.map +1 -1
  121. package/dist/packages/trpc/server/routers/_app.d.ts +354 -258
  122. package/dist/packages/trpc/server/routers/_app.d.ts.map +1 -1
  123. package/dist/packages/trpc/server/routers/loggedInViewer/_router.d.ts +5 -42
  124. package/dist/packages/trpc/server/routers/loggedInViewer/_router.d.ts.map +1 -1
  125. package/dist/packages/trpc/server/routers/loggedInViewer/me.handler.d.ts +5 -42
  126. package/dist/packages/trpc/server/routers/loggedInViewer/me.handler.d.ts.map +1 -1
  127. package/dist/packages/trpc/server/routers/loggedInViewer/outOfOffice.handler.d.ts.map +1 -1
  128. package/dist/packages/trpc/server/routers/loggedInViewer/procedures/me.d.ts +5 -42
  129. package/dist/packages/trpc/server/routers/loggedInViewer/procedures/me.d.ts.map +1 -1
  130. package/dist/packages/trpc/server/routers/publicViewer/_router.d.ts +2 -2
  131. package/dist/packages/trpc/server/routers/publicViewer/event.handler.d.ts +2 -2
  132. package/dist/packages/trpc/server/routers/publicViewer/procedures/event.d.ts +2 -2
  133. package/dist/packages/trpc/server/routers/viewer/_router.d.ts +354 -258
  134. package/dist/packages/trpc/server/routers/viewer/_router.d.ts.map +1 -1
  135. package/dist/packages/trpc/server/routers/viewer/bookings/util.d.ts +0 -42
  136. package/dist/packages/trpc/server/routers/viewer/bookings/util.d.ts.map +1 -1
  137. package/dist/packages/trpc/server/routers/viewer/eventTypes/util.d.ts +0 -42
  138. package/dist/packages/trpc/server/routers/viewer/eventTypes/util.d.ts.map +1 -1
  139. package/dist/packages/trpc/server/routers/viewer/webhook/util.d.ts +0 -42
  140. package/dist/packages/trpc/server/routers/viewer/webhook/util.d.ts.map +1 -1
  141. package/globals.min.css +1 -1
  142. package/package.json +1 -1
  143. package/dist/index-4R6rlJjY.js +0 -4
  144. package/dist/index-swucF4c_.js +0 -77
@@ -1,12 +1,12 @@
1
- import { ar as m, aq as e, am as n, m as c, aD as o } from "./index-YVMeafN8.js";
1
+ import { aq as n, ap as e, al as m, l as c, aC as p } from "./index-My3dnUlx.js";
2
2
  function u({
3
3
  value: s,
4
4
  onChange: l,
5
5
  ...a
6
6
  }) {
7
- return /* @__PURE__ */ m("div", {
7
+ return /* @__PURE__ */ n("div", {
8
8
  className: "relative flex items-center",
9
- children: [/* @__PURE__ */ e(n, {
9
+ children: [/* @__PURE__ */ e(m, {
10
10
  name: "map-pin",
11
11
  className: "text-muted absolute left-0.5 ml-3 h-4 w-4 -translate-y-1/2",
12
12
  style: {
@@ -18,7 +18,7 @@ function u({
18
18
  onChange: (t) => {
19
19
  l(t.target.value);
20
20
  },
21
- className: o("pl-10", a == null ? void 0 : a.className)
21
+ className: p("pl-10", a == null ? void 0 : a.className)
22
22
  })]
23
23
  });
24
24
  }
@@ -1,4 +1,4 @@
1
- import { aM as ee, aN as P, aO as re, aq as K, a6 as ne, ar as te, aP as oe } from "./index-YVMeafN8.js";
1
+ import { aL as ee, aM as F, aN as re, ap as K, a5 as ne, aq as te, aO as oe } from "./index-My3dnUlx.js";
2
2
  import J from "react";
3
3
  var ie = { exports: {} }, D = { exports: {} };
4
4
  const ae = {}, se = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -10,10 +10,10 @@ function Z() {
10
10
  return Q || (Q = 1, function(o, v) {
11
11
  (function(l, w) {
12
12
  o.exports = w();
13
- })(P, function() {
13
+ })(F, function() {
14
14
  var l = l || function(w, m) {
15
15
  var b;
16
- if (typeof window < "u" && window.crypto && (b = window.crypto), typeof self < "u" && self.crypto && (b = self.crypto), typeof globalThis < "u" && globalThis.crypto && (b = globalThis.crypto), !b && typeof window < "u" && window.msCrypto && (b = window.msCrypto), !b && typeof P < "u" && P.crypto && (b = P.crypto), !b && typeof re == "function")
16
+ if (typeof window < "u" && window.crypto && (b = window.crypto), typeof self < "u" && self.crypto && (b = self.crypto), typeof globalThis < "u" && globalThis.crypto && (b = globalThis.crypto), !b && typeof window < "u" && window.msCrypto && (b = window.msCrypto), !b && typeof F < "u" && F.crypto && (b = F.crypto), !b && typeof re == "function")
17
17
  try {
18
18
  b = ce;
19
19
  } catch {
@@ -39,7 +39,7 @@ function Z() {
39
39
  var f;
40
40
  return t.prototype = i, f = new t(), t.prototype = null, f;
41
41
  };
42
- }(), O = {}, H = O.lib = {}, U = H.Base = /* @__PURE__ */ function() {
42
+ }(), L = {}, H = L.lib = {}, U = H.Base = /* @__PURE__ */ function() {
43
43
  return {
44
44
  /**
45
45
  * Creates a new object that inherits from this object.
@@ -221,7 +221,7 @@ function Z() {
221
221
  i.push(N());
222
222
  return new B.init(i, t);
223
223
  }
224
- }), S = O.enc = {}, C = S.Hex = {
224
+ }), S = L.enc = {}, C = S.Hex = {
225
225
  /**
226
226
  * Converts a word array to a hex string.
227
227
  *
@@ -499,8 +499,8 @@ function Z() {
499
499
  };
500
500
  }
501
501
  });
502
- var k = O.algo = {};
503
- return O;
502
+ var k = L.algo = {};
503
+ return L;
504
504
  }(Math);
505
505
  return l;
506
506
  });
@@ -509,7 +509,7 @@ function Z() {
509
509
  (function(o, v) {
510
510
  (function(l, w) {
511
511
  o.exports = w(Z());
512
- })(P, function(l) {
512
+ })(F, function(l) {
513
513
  return l.enc.Hex;
514
514
  });
515
515
  })(ie);
@@ -517,9 +517,9 @@ var fe = { exports: {} };
517
517
  (function(o, v) {
518
518
  (function(l, w) {
519
519
  o.exports = w(Z());
520
- })(P, function(l) {
520
+ })(F, function(l) {
521
521
  return function(w) {
522
- var m = l, b = m.lib, N = b.WordArray, I = b.Hasher, O = m.algo, H = [], U = [];
522
+ var m = l, b = m.lib, N = b.WordArray, I = b.Hasher, L = m.algo, H = [], U = [];
523
523
  (function() {
524
524
  function C(k) {
525
525
  for (var t = w.sqrt(k), i = 2; i <= t; i++)
@@ -533,7 +533,7 @@ var fe = { exports: {} };
533
533
  for (var h = 2, g = 0; g < 64; )
534
534
  C(h) && (g < 8 && (H[g] = $(w.pow(h, 1 / 2))), U[g] = $(w.pow(h, 1 / 3)), g++), h++;
535
535
  })();
536
- var B = [], S = O.SHA256 = I.extend({
536
+ var B = [], S = L.SHA256 = I.extend({
537
537
  _doReset: function() {
538
538
  this._hash = new N.init(H.slice(0));
539
539
  },
@@ -672,8 +672,8 @@ var ue = {};
672
672
  }); ; ) {
673
673
  let u = 0, T = !0;
674
674
  for (let x = c; x < s.length; x++) {
675
- const F = s[x], y = r * u + F;
676
- if (!Number.isSafeInteger(y) || r * u / r !== u || y - F !== r * u)
675
+ const P = s[x], y = r * u + P;
676
+ if (!Number.isSafeInteger(y) || r * u / r !== u || y - P !== r * u)
677
677
  throw new Error("convertRadix: carry overflow");
678
678
  if (u = y % n, s[x] = Math.floor(y / n), !Number.isSafeInteger(s[x]) || s[x] * n + u !== y)
679
679
  throw new Error("convertRadix: carry overflow");
@@ -689,7 +689,7 @@ var ue = {};
689
689
  a.push(0);
690
690
  return a.reverse();
691
691
  }
692
- const O = (e, r) => r ? O(r, e % r) : e, H = (e, r) => e + (r - O(e, r));
692
+ const L = (e, r) => r ? L(r, e % r) : e, H = (e, r) => e + (r - L(e, r));
693
693
  function U(e, r, n, c) {
694
694
  if (!Array.isArray(e))
695
695
  throw new Error("convertRadix2: data should be array");
@@ -834,14 +834,14 @@ var ue = {};
834
834
  }
835
835
  function E(e) {
836
836
  const r = e === "bech32" ? 1 : 734539939, n = S(5), c = n.decode, a = n.encode, s = C(c);
837
- function u(y, R, L = 90) {
837
+ function u(y, R, O = 90) {
838
838
  if (typeof y != "string")
839
839
  throw new Error(`bech32.encode prefix should be string, not ${typeof y}`);
840
840
  if (!Array.isArray(R) || R.length && typeof R[0] != "number")
841
841
  throw new Error(`bech32.encode words should be array of numbers, not ${typeof R}`);
842
842
  const j = y.length + 7 + R.length;
843
- if (L !== !1 && j > L)
844
- throw new TypeError(`Length ${j} exceeds limit ${L}`);
843
+ if (O !== !1 && j > O)
844
+ throw new TypeError(`Length ${j} exceeds limit ${O}`);
845
845
  return y = y.toLowerCase(), `${y}1${t.encode(R)}${d(y, R, r)}`;
846
846
  }
847
847
  function T(y, R = 90) {
@@ -849,10 +849,10 @@ var ue = {};
849
849
  throw new Error(`bech32.decode input should be string, not ${typeof y}`);
850
850
  if (y.length < 8 || R !== !1 && y.length > R)
851
851
  throw new TypeError(`Wrong string length: ${y.length} (${y}). Expected (8..${R})`);
852
- const L = y.toLowerCase();
853
- if (y !== L && y !== y.toUpperCase())
852
+ const O = y.toLowerCase();
853
+ if (y !== O && y !== y.toUpperCase())
854
854
  throw new Error("String must be lowercase or uppercase");
855
- y = L;
855
+ y = O;
856
856
  const j = y.lastIndexOf("1");
857
857
  if (j === 0 || j === -1)
858
858
  throw new Error('Letter "1" must be present between prefix and data only');
@@ -865,11 +865,11 @@ var ue = {};
865
865
  return { prefix: q, words: M };
866
866
  }
867
867
  const x = C(T);
868
- function F(y) {
869
- const { prefix: R, words: L } = T(y, !1);
870
- return { prefix: R, words: L, bytes: c(L) };
868
+ function P(y) {
869
+ const { prefix: R, words: O } = T(y, !1);
870
+ return { prefix: R, words: O, bytes: c(O) };
871
871
  }
872
- return { encode: u, decode: T, decodeToBytes: F, decodeUnsafe: x, fromWords: c, fromWordsUnsafe: s, toWords: a };
872
+ return { encode: u, decode: T, decodeToBytes: P, decodeUnsafe: x, fromWords: c, fromWordsUnsafe: s, toWords: a };
873
873
  }
874
874
  o.bech32 = E("bech32"), o.bech32m = E("bech32m"), o.utf8 = {
875
875
  encode: (e) => new TextDecoder().decode(e),
@@ -1,4 +1,4 @@
1
- import { as as N, ar as d, aD as m, aq as r, h as u, aE as p } from "./index-YVMeafN8.js";
1
+ import { ar as N, aq as d, aC as m, ap as r, e as u, aD as p } from "./index-My3dnUlx.js";
2
2
  const c = p("", {
3
3
  // Variants won't have any style by default. Style will only be applied if the variants are combined.
4
4
  // So, style is defined in compoundVariants.
@@ -1,5 +1,5 @@
1
- import { an as T, aw as g, ax as y, ay as f, aq as u, az as x, aA as M, aB as A } from "./index-YVMeafN8.js";
2
- const B = ({
1
+ import { am as T, av as g, aw as y, ax as f, ap as u, ay as x, az as M, aA as A } from "./index-My3dnUlx.js";
2
+ const E = ({
3
3
  event: n,
4
4
  schedule: e,
5
5
  classNames: t
@@ -7,7 +7,7 @@ const B = ({
7
7
  var D, k, d, P, Y;
8
8
  const {
9
9
  i18n: C
10
- } = T(), [r, S] = g((o) => [o.month, o.selectedDate], y), [i, a, w] = g((o) => [o.setSelectedDate, o.setMonth, o.setDayCount], y), p = f((D = e == null ? void 0 : e.data) == null ? void 0 : D.slots);
10
+ } = T(), [r, S] = g((o) => [o.month, o.selectedDate], y), [i, a, p] = g((o) => [o.setSelectedDate, o.setMonth, o.setDayCount], y), w = f((D = e == null ? void 0 : e.data) == null ? void 0 : D.slots);
11
11
  return /* @__PURE__ */ u(x, {
12
12
  customClassNames: {
13
13
  datePickerTitle: t == null ? void 0 : t.datePickerTitle,
@@ -22,9 +22,9 @@ const B = ({
22
22
  i(o === null ? o : o.format("YYYY-MM-DD"));
23
23
  },
24
24
  onMonthChange: (o) => {
25
- a(o.format("YYYY-MM")), i(o.format("YYYY-MM-DD")), w(null);
25
+ a(o.format("YYYY-MM")), i(o.format("YYYY-MM-DD")), p(null);
26
26
  },
27
- includedDates: p,
27
+ includedDates: w,
28
28
  locale: C.language,
29
29
  browsingDate: r ? M(r) : void 0,
30
30
  selected: M(S),
@@ -33,5 +33,5 @@ const B = ({
33
33
  });
34
34
  };
35
35
  export {
36
- B as DatePicker
36
+ E as DatePicker
37
37
  };
@@ -1,7 +1,7 @@
1
1
  import Lt, { useState as Rt, useEffect as zt } from "react";
2
- import { aL as Bt, aq as Gt, aD as $t, aK as Vt } from "./index-YVMeafN8.js";
3
- import { i as Kt } from "./isSupportedCountry-0hC9cf87.js";
4
- var qt = function(Z) {
2
+ import { aK as Bt, ap as Gt, aC as $t, aJ as Vt } from "./index-My3dnUlx.js";
3
+ import { i as Kt } from "./isSupportedCountry-HO7hQD0z.js";
4
+ var Ut = function(Z) {
5
5
  var Q = {};
6
6
  function l(u) {
7
7
  if (Q[u])
@@ -92,8 +92,8 @@ var qt = function(Z) {
92
92
  if (R(b))
93
93
  return NaN;
94
94
  if (ke(b)) {
95
- var U = typeof b.valueOf == "function" ? b.valueOf() : b;
96
- b = ke(U) ? U + "" : U;
95
+ var q = typeof b.valueOf == "function" ? b.valueOf() : b;
96
+ b = ke(q) ? q + "" : q;
97
97
  }
98
98
  if (typeof b != "string")
99
99
  return b === 0 ? b : +b;
@@ -102,12 +102,12 @@ var qt = function(Z) {
102
102
  return ue || se.test(b) ? te(b.slice(2), ue ? 2 : 8) : F.test(b) ? NaN : +b;
103
103
  }(j)) === 1 / 0 || j === -1 / 0 ? 17976931348623157e292 * (j < 0 ? -1 : 1) : j == j ? j : 0 : j === 0 ? j : 0;
104
104
  }
105
- Z.exports = function(j, b, U) {
105
+ Z.exports = function(j, b, q) {
106
106
  var ue, G, le, K;
107
107
  return j = (ue = j) == null ? "" : g(ue), G = function(Ce) {
108
108
  var me = V(Ce), we = me % 1;
109
109
  return me == me ? we ? me - we : me : 0;
110
- }(U), le = 0, K = j.length, G == G && (K !== void 0 && (G = G <= K ? G : K), le !== void 0 && (G = G >= le ? G : le)), U = G, b = g(b), j.slice(U, U + b.length) == b;
110
+ }(q), le = 0, K = j.length, G == G && (K !== void 0 && (G = G <= K ? G : K), le !== void 0 && (G = G >= le ? G : le)), q = G, b = g(b), j.slice(q, q + b.length) == b;
111
111
  };
112
112
  }).call(this, l(3));
113
113
  }, function(Z, Q) {
@@ -131,7 +131,7 @@ var qt = function(Z) {
131
131
  this.set(E[0], E[1]);
132
132
  }
133
133
  }
134
- function U(s) {
134
+ function q(s) {
135
135
  var y = -1, C = s ? s.length : 0;
136
136
  for (this.clear(); ++y < C; ) {
137
137
  var E = s[y];
@@ -220,21 +220,21 @@ var qt = function(Z) {
220
220
  return j ? y[s] !== void 0 : _e.call(y, s);
221
221
  }, b.prototype.set = function(s, y) {
222
222
  return this.__data__[s] = j && y === void 0 ? "__lodash_hash_undefined__" : y, this;
223
- }, U.prototype.clear = function() {
223
+ }, q.prototype.clear = function() {
224
224
  this.__data__ = [];
225
- }, U.prototype.delete = function(s) {
225
+ }, q.prototype.delete = function(s) {
226
226
  var y = this.__data__, C = G(y, s);
227
227
  return !(C < 0) && (C == y.length - 1 ? y.pop() : R.call(y, C, 1), !0);
228
- }, U.prototype.get = function(s) {
228
+ }, q.prototype.get = function(s) {
229
229
  var y = this.__data__, C = G(y, s);
230
230
  return C < 0 ? void 0 : y[C][1];
231
- }, U.prototype.has = function(s) {
231
+ }, q.prototype.has = function(s) {
232
232
  return G(this.__data__, s) > -1;
233
- }, U.prototype.set = function(s, y) {
233
+ }, q.prototype.set = function(s, y) {
234
234
  var C = this.__data__, E = G(C, s);
235
235
  return E < 0 ? C.push([s, y]) : C[E][1] = y, this;
236
236
  }, ue.prototype.clear = function() {
237
- this.__data__ = { hash: new b(), map: new (V || U)(), string: new b() };
237
+ this.__data__ = { hash: new b(), map: new (V || q)(), string: new b() };
238
238
  }, ue.prototype.delete = function(s) {
239
239
  return K(this, s).delete(s);
240
240
  }, ue.prototype.get = function(s) {
@@ -258,8 +258,8 @@ var qt = function(Z) {
258
258
  if (typeof R == "number")
259
259
  return R;
260
260
  if (function(b) {
261
- return typeof b == "symbol" || /* @__PURE__ */ function(U) {
262
- return !!U && typeof U == "object";
261
+ return typeof b == "symbol" || /* @__PURE__ */ function(q) {
262
+ return !!q && typeof q == "object";
263
263
  }(b) && ve.call(b) == "[object Symbol]";
264
264
  }(R))
265
265
  return NaN;
@@ -274,12 +274,12 @@ var qt = function(Z) {
274
274
  return j || se.test(R) ? te(R.slice(2), j ? 2 : 8) : F.test(R) ? NaN : +R;
275
275
  }
276
276
  Z.exports = function(R, V, j) {
277
- var b, U, ue, G, le, K, Ce = 0, me = !1, we = !1, s = !0;
277
+ var b, q, ue, G, le, K, Ce = 0, me = !1, we = !1, s = !0;
278
278
  if (typeof R != "function")
279
279
  throw new TypeError("Expected a function");
280
280
  function y(c) {
281
- var x = b, A = U;
282
- return b = U = void 0, Ce = c, G = R.apply(A, x);
281
+ var x = b, A = q;
282
+ return b = q = void 0, Ce = c, G = R.apply(A, x);
283
283
  }
284
284
  function C(c) {
285
285
  return Ce = c, le = setTimeout(fe, V), me ? y(c) : G;
@@ -298,11 +298,11 @@ var qt = function(Z) {
298
298
  }(c));
299
299
  }
300
300
  function Ae(c) {
301
- return le = void 0, s && b ? y(c) : (b = U = void 0, G);
301
+ return le = void 0, s && b ? y(c) : (b = q = void 0, G);
302
302
  }
303
303
  function m() {
304
304
  var c = _e(), x = E(c);
305
- if (b = arguments, U = this, K = c, x) {
305
+ if (b = arguments, q = this, K = c, x) {
306
306
  if (le === void 0)
307
307
  return C(K);
308
308
  if (we)
@@ -311,7 +311,7 @@ var qt = function(Z) {
311
311
  return le === void 0 && (le = setTimeout(fe, V)), G;
312
312
  }
313
313
  return V = ke(V) || 0, g(j) && (me = !!j.leading, ue = (we = "maxWait" in j) ? Oe(ke(j.maxWait) || 0, V) : ue, s = "trailing" in j ? !!j.trailing : s), m.cancel = function() {
314
- le !== void 0 && clearTimeout(le), Ce = 0, b = K = U = le = void 0;
314
+ le !== void 0 && clearTimeout(le), Ce = 0, b = K = q = le = void 0;
315
315
  }, m.flush = function() {
316
316
  return le === void 0 ? G : Ae(_e());
317
317
  }, m;
@@ -321,9 +321,9 @@ var qt = function(Z) {
321
321
  (function(u, O) {
322
322
  var F = "[object Arguments]", ie = "[object Map]", se = "[object Object]", te = "[object Set]", Se = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, be = /^\w*$/, ge = /^\./, ve = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Oe = /\\(\\)?/g, Ee = /^\[object .+?Constructor\]$/, _e = /^(?:0|[1-9]\d*)$/, g = {};
323
323
  g["[object Float32Array]"] = g["[object Float64Array]"] = g["[object Int8Array]"] = g["[object Int16Array]"] = g["[object Int32Array]"] = g["[object Uint8Array]"] = g["[object Uint8ClampedArray]"] = g["[object Uint16Array]"] = g["[object Uint32Array]"] = !0, g[F] = g["[object Array]"] = g["[object ArrayBuffer]"] = g["[object Boolean]"] = g["[object DataView]"] = g["[object Date]"] = g["[object Error]"] = g["[object Function]"] = g[ie] = g["[object Number]"] = g[se] = g["[object RegExp]"] = g[te] = g["[object String]"] = g["[object WeakMap]"] = !1;
324
- var ke = typeof u == "object" && u && u.Object === Object && u, R = typeof self == "object" && self && self.Object === Object && self, V = ke || R || Function("return this")(), j = Q && !Q.nodeType && Q, b = j && typeof O == "object" && O && !O.nodeType && O, U = b && b.exports === j && ke.process, ue = function() {
324
+ var ke = typeof u == "object" && u && u.Object === Object && u, R = typeof self == "object" && self && self.Object === Object && self, V = ke || R || Function("return this")(), j = Q && !Q.nodeType && Q, b = j && typeof O == "object" && O && !O.nodeType && O, q = b && b.exports === j && ke.process, ue = function() {
325
325
  try {
326
- return U && U.binding("util");
326
+ return q && q.binding("util");
327
327
  } catch {
328
328
  }
329
329
  }(), G = ue && ue.isTypedArray;
@@ -367,7 +367,7 @@ var qt = function(Z) {
367
367
  }
368
368
  var y, C, E, fe = Array.prototype, Ae = Function.prototype, m = Object.prototype, c = V["__core-js_shared__"], x = (y = /[^.]+$/.exec(c && c.keys && c.keys.IE_PROTO || "")) ? "Symbol(src)_1." + y : "", A = Ae.toString, f = m.hasOwnProperty, t = m.toString, z = RegExp("^" + A.call(f).replace(/[\\^$.*+?()[\]{}|]/g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"), M = V.Symbol, L = V.Uint8Array, re = m.propertyIsEnumerable, Y = fe.splice, ne = (C = Object.keys, E = Object, function(e) {
369
369
  return C(E(e));
370
- }), ce = Ue(V, "DataView"), de = Ue(V, "Map"), ae = Ue(V, "Promise"), n = Ue(V, "Set"), o = Ue(V, "WeakMap"), d = Ue(Object, "create"), k = $e(ce), N = $e(de), T = $e(ae), D = $e(n), q = $e(o), p = M ? M.prototype : void 0, S = p ? p.valueOf : void 0, P = p ? p.toString : void 0;
370
+ }), ce = qe(V, "DataView"), de = qe(V, "Map"), ae = qe(V, "Promise"), n = qe(V, "Set"), o = qe(V, "WeakMap"), d = qe(Object, "create"), k = $e(ce), N = $e(de), T = $e(ae), D = $e(n), U = $e(o), p = M ? M.prototype : void 0, S = p ? p.valueOf : void 0, P = p ? p.toString : void 0;
371
371
  function h(e) {
372
372
  var r = -1, a = e ? e.length : 0;
373
373
  for (this.clear(); ++r < a; ) {
@@ -475,7 +475,7 @@ var qt = function(Z) {
475
475
  return a.set(e, r), this;
476
476
  };
477
477
  var Ge, pe = (Ge = function(e, r) {
478
- return e && qe(e, r, at);
478
+ return e && Ue(e, r, at);
479
479
  }, function(e, r) {
480
480
  if (e == null)
481
481
  return e;
@@ -484,7 +484,7 @@ var qt = function(Z) {
484
484
  for (var a = e.length, i = -1, _ = Object(e); ++i < a && r(_[i], i, _) !== !1; )
485
485
  ;
486
486
  return e;
487
- }), qe = /* @__PURE__ */ function(e) {
487
+ }), Ue = /* @__PURE__ */ function(e) {
488
488
  return function(r, a, i) {
489
489
  for (var _ = -1, w = Object(r), I = i(r), H = I.length; H--; ) {
490
490
  var ee = I[e ? H : ++_];
@@ -699,7 +699,7 @@ var qt = function(Z) {
699
699
  var a, i, _ = e.__data__;
700
700
  return ((i = typeof (a = r)) == "string" || i == "number" || i == "symbol" || i == "boolean" ? a !== "__proto__" : a === null) ? _[typeof r == "string" ? "string" : "hash"] : _.map;
701
701
  }
702
- function Ue(e, r) {
702
+ function qe(e, r) {
703
703
  var a = function(i, _) {
704
704
  return i == null ? void 0 : i[_];
705
705
  }(e, r);
@@ -737,7 +737,7 @@ var qt = function(Z) {
737
737
  return "[object Promise]";
738
738
  case D:
739
739
  return te;
740
- case q:
740
+ case U:
741
741
  return "[object WeakMap]";
742
742
  }
743
743
  return r;
@@ -915,7 +915,7 @@ var qt = function(Z) {
915
915
  })(m, c);
916
916
  }
917
917
  l.r(Q);
918
- var _e = l(0), g = l.n(_e), ke = l(5), R = l.n(ke), V = l(4), j = l.n(V), b = l(6), U = l.n(b), ue = l(2), G = l.n(ue), le = l(1), K = l.n(le);
918
+ var _e = l(0), g = l.n(_e), ke = l(5), R = l.n(ke), V = l(4), j = l.n(V), b = l(6), q = l.n(b), ue = l(2), G = l.n(ue), le = l(1), K = l.n(le);
919
919
  l(8);
920
920
  function Ce(m, c) {
921
921
  return ie(m) || function(x, A) {
@@ -1048,8 +1048,8 @@ var qt = function(Z) {
1048
1048
  return C(h, 1, p, !0), C(h, 3, S), C(h, 2, P), h;
1049
1049
  }(L, re, Y), o = E(JSON.parse(JSON.stringify(me)), n), d = E(JSON.parse(JSON.stringify(we)), n), k = Ce(y(o, c, ce, de, ae), 2), N = k[0], T = k[1];
1050
1050
  if (x) {
1051
- var D = Ce(y(d, c, ce, de, ae), 2), q = D[0];
1052
- D[1], N = this.sortTerritories(q, N);
1051
+ var D = Ce(y(d, c, ce, de, ae), 2), U = D[0];
1052
+ D[1], N = this.sortTerritories(U, N);
1053
1053
  }
1054
1054
  A && (N = this.filterRegions(A, N)), this.onlyCountries = this.localizeCountries(this.excludeCountries(this.getFilteredCountryList(f, N, M.includes("onlyCountries")), z), ne, M.includes("onlyCountries")), this.preferredCountries = t.length === 0 ? [] : this.localizeCountries(this.getFilteredCountryList(t, N, M.includes("preferredCountries")), ne, M.includes("preferredCountries")), this.hiddenAreaCodes = this.excludeCountries(this.getFilteredCountryList(f, T), z);
1055
1055
  }, Ae = function(m) {
@@ -1063,21 +1063,21 @@ var qt = function(Z) {
1063
1063
  }, ve(ve(t)))[0] : null;
1064
1064
  }), t.guessSelectedCountry = j()(function(n, o, d, k) {
1065
1065
  var N;
1066
- if (t.props.enableAreaCodes === !1 && (k.some(function(q) {
1067
- if (G()(n, q.dialCode))
1066
+ if (t.props.enableAreaCodes === !1 && (k.some(function(U) {
1067
+ if (G()(n, U.dialCode))
1068
1068
  return d.some(function(p) {
1069
- if (q.iso2 === p.iso2 && p.mainCode)
1069
+ if (U.iso2 === p.iso2 && p.mainCode)
1070
1070
  return N = p, !0;
1071
1071
  }), !0;
1072
1072
  }), N))
1073
1073
  return N;
1074
- var T = d.find(function(q) {
1075
- return q.iso2 == o;
1074
+ var T = d.find(function(U) {
1075
+ return U.iso2 == o;
1076
1076
  });
1077
1077
  if (n.trim() === "")
1078
1078
  return T;
1079
- var D = d.reduce(function(q, p) {
1080
- return G()(n, p.dialCode) && (p.dialCode.length > q.dialCode.length || p.dialCode.length === q.dialCode.length && p.priority < q.priority) ? p : q;
1079
+ var D = d.reduce(function(U, p) {
1080
+ return G()(n, p.dialCode) && (p.dialCode.length > U.dialCode.length || p.dialCode.length === U.dialCode.length && p.priority < U.priority) ? p : U;
1081
1081
  }, { dialCode: "", priority: 10001 }, ve(ve(t)));
1082
1082
  return D.name ? D : T;
1083
1083
  }), t.updateCountry = function(n) {
@@ -1091,7 +1091,7 @@ var qt = function(Z) {
1091
1091
  if (n) {
1092
1092
  var d = t.dropdownRef;
1093
1093
  if (d && document.body) {
1094
- var k = d.offsetHeight, N = d.getBoundingClientRect().top + document.body.scrollTop, T = N + k, D = n, q = D.getBoundingClientRect(), p = D.offsetHeight, S = q.top + document.body.scrollTop, P = S + p, h = S - N + d.scrollTop, v = k / 2 - p / 2;
1094
+ var k = d.offsetHeight, N = d.getBoundingClientRect().top + document.body.scrollTop, T = N + k, D = n, U = D.getBoundingClientRect(), p = D.offsetHeight, S = U.top + document.body.scrollTop, P = S + p, h = S - N + d.scrollTop, v = k / 2 - p / 2;
1095
1095
  if (t.props.enableSearch ? S < N + 32 : S < N)
1096
1096
  o && (h -= v), d.scrollTop = h;
1097
1097
  else if (P > T) {
@@ -1107,12 +1107,12 @@ var qt = function(Z) {
1107
1107
  }, t.formatNumber = function(n, o) {
1108
1108
  if (!o)
1109
1109
  return n;
1110
- var d, k = o.format, N = t.props, T = N.disableCountryCode, D = N.enableAreaCodeStretch, q = N.enableLongNumbers, p = N.autoFormat;
1110
+ var d, k = o.format, N = t.props, T = N.disableCountryCode, D = N.enableAreaCodeStretch, U = N.enableLongNumbers, p = N.autoFormat;
1111
1111
  if (T ? ((d = k.split(" ")).shift(), d = d.join(" ")) : D && o.isAreaCode ? ((d = k.split(" "))[1] = d[1].replace(/\.+/, "".padEnd(o.areaCodeLength, ".")), d = d.join(" ")) : d = k, !n || n.length === 0)
1112
1112
  return T ? "" : t.props.prefix;
1113
1113
  if (n && n.length < 2 || !d || !p)
1114
1114
  return T ? n : t.props.prefix + n;
1115
- var S, P = U()(d, function(h, v) {
1115
+ var S, P = q()(d, function(h, v) {
1116
1116
  if (h.remainingText.length === 0)
1117
1117
  return h;
1118
1118
  if (v !== ".")
@@ -1120,7 +1120,7 @@ var qt = function(Z) {
1120
1120
  var X, je = ie(X = h.remainingText) || O(X) || se(), ye = je[0], Te = je.slice(1);
1121
1121
  return { formattedText: h.formattedText + ye, remainingText: Te };
1122
1122
  }, { formattedText: "", remainingText: n.split("") });
1123
- return (S = q ? P.formattedText + P.remainingText.join("") : P.formattedText).includes("(") && !S.includes(")") && (S += ")"), S;
1123
+ return (S = U ? P.formattedText + P.remainingText.join("") : P.formattedText).includes("(") && !S.includes(")") && (S += ")"), S;
1124
1124
  }, t.cursorToEnd = function() {
1125
1125
  var n = t.numberInputRef;
1126
1126
  if (document.activeElement === n) {
@@ -1142,7 +1142,7 @@ var qt = function(Z) {
1142
1142
  });
1143
1143
  }
1144
1144
  }, t.handleInput = function(n) {
1145
- var o = n.target.value, d = t.props, k = d.prefix, N = d.onChange, T = t.props.disableCountryCode ? "" : k, D = t.state.selectedCountry, q = t.state.freezeSelection;
1145
+ var o = n.target.value, d = t.props, k = d.prefix, N = d.onChange, T = t.props.disableCountryCode ? "" : k, D = t.state.selectedCountry, U = t.state.freezeSelection;
1146
1146
  if (!t.props.countryCodeEditable) {
1147
1147
  var p = k + (D.hasAreaCodes ? t.state.onlyCountries.find(function(pe) {
1148
1148
  return pe.iso2 === D.iso2 && pe.mainCode;
@@ -1157,10 +1157,10 @@ var qt = function(Z) {
1157
1157
  var S = t.props.country, P = t.state, h = P.onlyCountries, v = P.selectedCountry, X = P.hiddenAreaCodes;
1158
1158
  if (N && n.persist(), o.length > 0) {
1159
1159
  var je = o.replace(/\D/g, "");
1160
- (!t.state.freezeSelection || v && v.dialCode.length > je.length) && (D = t.props.disableCountryGuess ? v : t.guessSelectedCountry(je.substring(0, 6), S, h, X) || v, q = !1), T = t.formatNumber(je, D), D = D.dialCode ? D : v;
1160
+ (!t.state.freezeSelection || v && v.dialCode.length > je.length) && (D = t.props.disableCountryGuess ? v : t.guessSelectedCountry(je.substring(0, 6), S, h, X) || v, U = !1), T = t.formatNumber(je, D), D = D.dialCode ? D : v;
1161
1161
  }
1162
1162
  var ye = n.target.selectionStart, Te = n.target.selectionStart, Pe = t.state.formattedNumber, Ge = T.length - Pe.length;
1163
- t.setState({ formattedNumber: T, freezeSelection: q, selectedCountry: D }, function() {
1163
+ t.setState({ formattedNumber: T, freezeSelection: U, selectedCountry: D }, function() {
1164
1164
  Ge > 0 && (Te -= Ge), T.charAt(T.length - 1) == ")" ? t.numberInputRef.setSelectionRange(T.length - 1, T.length - 1) : Te > 0 && Pe.length >= T.length ? t.numberInputRef.setSelectionRange(Te, Te) : ye < Pe.length && t.numberInputRef.setSelectionRange(ye, ye), N && N(T.replace(/[^0-9]+/g, ""), t.getCountryData(), n, T);
1165
1165
  });
1166
1166
  }
@@ -1170,8 +1170,8 @@ var qt = function(Z) {
1170
1170
  var o = n.target.value.length;
1171
1171
  n.target.setSelectionRange(0, o);
1172
1172
  }, t.handleFlagItemClick = function(n, o) {
1173
- var d = t.state.selectedCountry, k = t.state.onlyCountries.find(function(q) {
1174
- return q == n;
1173
+ var d = t.state.selectedCountry, k = t.state.onlyCountries.find(function(U) {
1174
+ return U == n;
1175
1175
  });
1176
1176
  if (k) {
1177
1177
  var N = t.state.formattedNumber.replace(" ", "").replace("(", "").replace(")", "").replace("-", ""), T = N.length > 1 ? N.replace(d.dialCode, k.dialCode) : k.dialCode, D = t.formatNumber(T.replace(/\D/g, ""), k);
@@ -1238,8 +1238,8 @@ var qt = function(Z) {
1238
1238
  var o = n.currentTarget.value, d = t.state, k = d.preferredCountries, N = d.selectedCountry, T = 0;
1239
1239
  if (o === "" && N) {
1240
1240
  var D = t.state.onlyCountries;
1241
- T = t.concatPreferredCountries(k, D).findIndex(function(q) {
1242
- return q == N;
1241
+ T = t.concatPreferredCountries(k, D).findIndex(function(U) {
1242
+ return U == N;
1243
1243
  }), setTimeout(function() {
1244
1244
  return t.scrollTo(t.getElement(T));
1245
1245
  }, 100);
@@ -1259,7 +1259,7 @@ var qt = function(Z) {
1259
1259
  return h.toLowerCase().includes(D);
1260
1260
  });
1261
1261
  });
1262
- var q = T.filter(function(S) {
1262
+ var U = T.filter(function(S) {
1263
1263
  var P = S.iso2;
1264
1264
  return ["".concat(P)].some(function(h) {
1265
1265
  return h.toLowerCase().includes(D);
@@ -1270,17 +1270,17 @@ var qt = function(Z) {
1270
1270
  return v.toLowerCase().includes(D);
1271
1271
  });
1272
1272
  });
1273
- return t.scrollToTop(), F(new Set([].concat(q, p)));
1273
+ return t.scrollToTop(), F(new Set([].concat(U, p)));
1274
1274
  }
1275
1275
  return T;
1276
1276
  }, t.getCountryDropdownList = function() {
1277
- var n = t.state, o = n.preferredCountries, d = n.highlightCountryIndex, k = n.showDropdown, N = n.searchValue, T = t.props, D = T.disableDropdown, q = T.prefix, p = t.props, S = p.enableSearch, P = p.searchNotFound, h = p.disableSearchIcon, v = p.searchClass, X = p.searchStyle, je = p.searchPlaceholder, ye = p.autocompleteSearch, Te = t.getSearchFilteredCountries().map(function(pe, qe) {
1278
- var He = d === qe, dt = K()({ country: !0, preferred: pe.iso2 === "us" || pe.iso2 === "gb", active: pe.iso2 === "us", highlight: He }), Je = "flag ".concat(pe.iso2);
1277
+ var n = t.state, o = n.preferredCountries, d = n.highlightCountryIndex, k = n.showDropdown, N = n.searchValue, T = t.props, D = T.disableDropdown, U = T.prefix, p = t.props, S = p.enableSearch, P = p.searchNotFound, h = p.disableSearchIcon, v = p.searchClass, X = p.searchStyle, je = p.searchPlaceholder, ye = p.autocompleteSearch, Te = t.getSearchFilteredCountries().map(function(pe, Ue) {
1278
+ var He = d === Ue, dt = K()({ country: !0, preferred: pe.iso2 === "us" || pe.iso2 === "gb", active: pe.iso2 === "us", highlight: He }), Je = "flag ".concat(pe.iso2);
1279
1279
  return g.a.createElement("li", Object.assign({ ref: function(Ze) {
1280
- return t["flag_no_".concat(qe)] = Ze;
1281
- }, key: "flag_no_".concat(qe), "data-flag-key": "flag_no_".concat(qe), className: dt, "data-dial-code": "1", tabIndex: D ? "-1" : "0", "data-country-code": pe.iso2, onClick: function(Ze) {
1280
+ return t["flag_no_".concat(Ue)] = Ze;
1281
+ }, key: "flag_no_".concat(Ue), "data-flag-key": "flag_no_".concat(Ue), className: dt, "data-dial-code": "1", tabIndex: D ? "-1" : "0", "data-country-code": pe.iso2, onClick: function(Ze) {
1282
1282
  return t.handleFlagItemClick(pe, Ze);
1283
- }, role: "option" }, He ? { "aria-selected": !0 } : {}), g.a.createElement("div", { className: Je }), g.a.createElement("span", { className: "country-name" }, t.getDropdownCountryName(pe)), g.a.createElement("span", { className: "dial-code" }, pe.format ? t.formatNumber(pe.dialCode, pe) : q + pe.dialCode));
1283
+ }, role: "option" }, He ? { "aria-selected": !0 } : {}), g.a.createElement("div", { className: Je }), g.a.createElement("span", { className: "country-name" }, t.getDropdownCountryName(pe)), g.a.createElement("span", { className: "dial-code" }, pe.format ? t.formatNumber(pe.dialCode, pe) : U + pe.dialCode));
1284
1284
  }), Pe = g.a.createElement("li", { key: "dashes", className: "divider" });
1285
1285
  o.length > 0 && (!S || S && !N.trim()) && Te.splice(o.length, 0, Pe);
1286
1286
  var Ge = K()(u({ "country-list": !0, hide: !k }, t.props.dropdownClass, !0));
@@ -1331,17 +1331,17 @@ var qt = function(Z) {
1331
1331
  var T = d(ce.replace(/\D/g, ""), Y, re, de);
1332
1332
  typeof T == "boolean" ? (t = T) === !1 && (z = k) : (t = !1, z = T);
1333
1333
  }
1334
- var D = K()((u(f = {}, this.props.containerClass, !0), u(f, "react-tel-input", !0), f)), q = K()({ arrow: !0, up: ne }), p = K()(u({ "form-control": !0, "invalid-number": !t, open: ne }, this.props.inputClass, !0)), S = K()({ "selected-flag": !0, open: ne }), P = K()(u({ "flag-dropdown": !0, "invalid-number": !t, open: ne }, this.props.buttonClass, !0)), h = "flag ".concat(Y && Y.iso2);
1334
+ var D = K()((u(f = {}, this.props.containerClass, !0), u(f, "react-tel-input", !0), f)), U = K()({ arrow: !0, up: ne }), p = K()(u({ "form-control": !0, "invalid-number": !t, open: ne }, this.props.inputClass, !0)), S = K()({ "selected-flag": !0, open: ne }), P = K()(u({ "flag-dropdown": !0, "invalid-number": !t, open: ne }, this.props.buttonClass, !0)), h = "flag ".concat(Y && Y.iso2);
1335
1335
  return g.a.createElement("div", { className: "".concat(D, " ").concat(this.props.className), style: this.props.style || this.props.containerStyle, onKeyDown: this.handleKeydown }, N && g.a.createElement("div", { className: "special-label" }, N), z && g.a.createElement("div", { className: "invalid-number-message" }, z), g.a.createElement("input", Object.assign({ className: p, style: this.props.inputStyle, onChange: this.handleInput, onClick: this.handleInputClick, onDoubleClick: this.handleDoubleClick, onFocus: this.handleInputFocus, onBlur: this.handleInputBlur, onCopy: this.handleInputCopy, value: ce, onKeyDown: this.handleInputKeyDown, placeholder: this.props.placeholder, disabled: this.props.disabled, type: "tel" }, this.props.inputProps, { ref: function(v) {
1336
1336
  M.numberInputRef = v, typeof M.props.inputProps.ref == "function" ? M.props.inputProps.ref(v) : typeof M.props.inputProps.ref == "object" && (M.props.inputProps.ref.current = v);
1337
1337
  } })), g.a.createElement("div", { className: P, style: this.props.buttonStyle, ref: function(v) {
1338
1338
  return M.dropdownContainerRef = v;
1339
- } }, o ? g.a.createElement("div", { className: S }, o) : g.a.createElement("div", { onClick: n ? void 0 : this.handleFlagDropdownClick, className: S, title: Y ? "".concat(Y.localName || Y.name, ": + ").concat(Y.dialCode) : "", tabIndex: n ? "-1" : "0", role: "button", "aria-haspopup": "listbox", "aria-expanded": !!ne || void 0 }, g.a.createElement("div", { className: h }, !n && g.a.createElement("div", { className: q }))), ne && this.getCountryDropdownList()));
1339
+ } }, o ? g.a.createElement("div", { className: S }, o) : g.a.createElement("div", { onClick: n ? void 0 : this.handleFlagDropdownClick, className: S, title: Y ? "".concat(Y.localName || Y.name, ": + ").concat(Y.dialCode) : "", tabIndex: n ? "-1" : "0", role: "button", "aria-haspopup": "listbox", "aria-expanded": !!ne || void 0 }, g.a.createElement("div", { className: h }, !n && g.a.createElement("div", { className: U }))), ne && this.getCountryDropdownList()));
1340
1340
  } }]) && Se(x.prototype, A), c;
1341
1341
  }(g.a.Component);
1342
1342
  Ae.defaultProps = { country: "", value: "", onlyCountries: [], preferredCountries: [], excludeCountries: [], placeholder: "1 (702) 123-4567", searchPlaceholder: "search", searchNotFound: "No entries to show", flagsImagePath: "./flags.png", disabled: !1, containerStyle: {}, inputStyle: {}, buttonStyle: {}, dropdownStyle: {}, searchStyle: {}, containerClass: "", inputClass: "", buttonClass: "", dropdownClass: "", searchClass: "", className: "", autoFormat: !0, enableAreaCodes: !1, enableTerritories: !1, disableCountryCode: !1, disableDropdown: !1, enableLongNumbers: !1, countryCodeEditable: !0, enableSearch: !1, disableSearchIcon: !1, disableInitialCountryGuess: !1, disableCountryGuess: !1, regions: "", inputProps: {}, localization: {}, masks: null, priority: null, areaCodes: null, preserveOrder: [], defaultMask: "... ... ... ... ..", alwaysDefaultMask: !1, prefix: "+", copyNumbersOnly: !0, renderStringAsFlag: "", autocompleteSearch: !1, jumpCursorToEnd: !0, enableAreaCodeStretch: !1, enableClickOutside: !0, showDropdown: !1, isValid: !0, defaultErrorMessage: "", specialLabel: "Phone", onEnterKeyPress: null, keys: { UP: 38, DOWN: 40, RIGHT: 39, LEFT: 37, ENTER: 13, ESC: 27, PLUS: 43, A: 65, Z: 90, SPACE: 32, TAB: 9 } }, Q.default = Ae;
1343
1343
  }]);
1344
- const Ut = /* @__PURE__ */ Bt(qt);
1344
+ const qt = /* @__PURE__ */ Bt(Ut);
1345
1345
  function Qt({
1346
1346
  name: Z,
1347
1347
  className: Q = "",
@@ -1350,7 +1350,7 @@ function Qt({
1350
1350
  ...O
1351
1351
  }) {
1352
1352
  const F = Wt();
1353
- return /* @__PURE__ */ Gt(Ut, {
1353
+ return /* @__PURE__ */ Gt(qt, {
1354
1354
  ...O,
1355
1355
  value: u ? u.trim().replace(/^\+?/, "+") : void 0,
1356
1356
  country: u ? void 0 : F,
@@ -1,10 +1,10 @@
1
- import { an as r, ao as d, ap as m, aq as a, ar as e, as as x, at as h, au as t, av as i } from "./index-YVMeafN8.js";
1
+ import { am as r, an as m, ao as d, ap as a, aq as e, ar as x, as as h, at as t, au as i } from "./index-My3dnUlx.js";
2
2
  const u = ({
3
3
  logoOnly: l
4
4
  }) => {
5
5
  const {
6
6
  t: n
7
- } = r(), s = d.useSession(), o = m(), c = s.data ? s.data.hasValidLicense : null;
7
+ } = r(), s = m.useSession(), o = d(), c = s.data ? s.data.hasValidLicense : null;
8
8
  return /* @__PURE__ */ a("div", {
9
9
  className: `p-2 text-center text-xs sm:text-right${o ? " max-w-3xl" : ""}`,
10
10
  children: /* @__PURE__ */ e(x, {
@@ -1,5 +1,5 @@
1
- import { an as s, aq as a, Z as l, A as n, aC as r } from "./index-YVMeafN8.js";
2
- function u(e) {
1
+ import { am as s, ap as a, Y as l, A as n, aB as r } from "./index-My3dnUlx.js";
2
+ function m(e) {
3
3
  const {
4
4
  t
5
5
  } = s(), i = e.orgSlug || e.teamSlug;
@@ -19,5 +19,5 @@ function u(e) {
19
19
  });
20
20
  }
21
21
  export {
22
- u as U
22
+ m as U
23
23
  };
package/dist/cal-atoms.js CHANGED
@@ -1,4 +1,4 @@
1
- import { b2 as a, b3 as b, b0 as o, b1 as t, b5 as n, ba as u, b6 as i, b7 as l, bb as c, bc as r, b9 as C, b4 as d, bd as v, b8 as B } from "./index-YVMeafN8.js";
1
+ import { b1 as a, b2 as b, a$ as o, b0 as t, b4 as n, b9 as u, b5 as i, b6 as l, ba as c, bb as r, b8 as C, b3 as v, bc as B, b7 as d } from "./index-My3dnUlx.js";
2
2
  export {
3
3
  a as AvailabilitySettings,
4
4
  b as Booker,
@@ -11,7 +11,7 @@ export {
11
11
  c as useGetBooking,
12
12
  r as useGetBookings,
13
13
  C as useGetEventTypeById,
14
- d as useIsPlatform,
15
- v as useMe,
16
- B as usePublicEvent
14
+ v as useIsPlatform,
15
+ B as useMe,
16
+ d as usePublicEvent
17
17
  };