@calcom/atoms 1.0.95 → 1.0.96-beta-2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (162) hide show
  1. package/dist/{AddressInput-jf7dQUjM.js → AddressInput-BwaFtJdW.js} +9 -8
  2. package/dist/{AlbyPriceComponent-xvHTaJkB.js → AlbyPriceComponent-5_IY8XI4.js} +53 -52
  3. package/dist/AppCard-vvom7JzI.js +162 -0
  4. package/dist/AppListCardPlatformWrapper-BMbohX9G.js +9 -0
  5. package/dist/{AppListCardWebWrapper-mvJDHeHP.js → AppListCardWebWrapper-jgSaE2tc.js} +10 -9
  6. package/dist/AppSettingsInterface-GvEAHqgC.js +23 -0
  7. package/dist/AppSettingsInterface-hahnFvsF.js +29 -0
  8. package/dist/AppSettingsInterface-rwvU2JZ1.js +75 -0
  9. package/dist/{DateRangePicker-sOCh5jbf.js → DateRangePicker-H2MDflCi.js} +784 -783
  10. package/dist/EventTypeAppCardInterface-12lncOdf.js +34 -0
  11. package/dist/EventTypeAppCardInterface-27TiN1LB.js +34 -0
  12. package/dist/EventTypeAppCardInterface-4REsm-ax.js +24 -0
  13. package/dist/EventTypeAppCardInterface-BIBLDaQW.js +41 -0
  14. package/dist/EventTypeAppCardInterface-Bxn2VRDe.js +42 -0
  15. package/dist/EventTypeAppCardInterface-Ia4uQvA6.js +24 -0
  16. package/dist/EventTypeAppCardInterface-IsxbWtC-.js +86 -0
  17. package/dist/EventTypeAppCardInterface-MYYfLsWy.js +31 -0
  18. package/dist/EventTypeAppCardInterface-TvEkNxDI.js +34 -0
  19. package/dist/EventTypeAppCardInterface-W-C-Vuq4.js +32 -0
  20. package/dist/EventTypeAppCardInterface-YC7gXugR.js +41 -0
  21. package/dist/EventTypeAppCardInterface-ZN2mBt9v.js +34 -0
  22. package/dist/EventTypeAppCardInterface-Ze5KpMAZ.js +24 -0
  23. package/dist/EventTypeAppCardInterface-ZshqKbPT.js +34 -0
  24. package/dist/{EventTypeAppCardInterface-fTBMlXsW.js → EventTypeAppCardInterface-_8D8Qs9P.js} +17 -16
  25. package/dist/EventTypeAppCardInterface-cXUeW2Wg.js +24 -0
  26. package/dist/EventTypeAppCardInterface-f4ubwOzR.js +42 -0
  27. package/dist/EventTypeAppCardInterface-g5WwbLf6.js +39 -0
  28. package/dist/EventTypeAppCardInterface-iMFMTR_Q.js +24 -0
  29. package/dist/EventTypeAppCardInterface-kh27UiaS.js +34 -0
  30. package/dist/EventTypeAppCardInterface-loGF0ZWc.js +452 -0
  31. package/dist/EventTypeAppCardInterface-mpaqmq1C.js +32 -0
  32. package/dist/EventTypeAppCardInterface-n2hGNKAo.js +34 -0
  33. package/dist/EventTypeAppCardInterface-nYtaHSPH.js +49 -0
  34. package/dist/EventTypeAppCardInterface-qIAbqcW-.js +51 -0
  35. package/dist/EventTypeAppCardInterface-zTg1f5hR.js +33 -0
  36. package/dist/{EventTypeAppSettingsInterface-uy_EiYRt.js → EventTypeAppSettingsInterface-2iQLRc2L.js} +6 -5
  37. package/dist/{EventTypeAppSettingsInterface-PqMppH4B.js → EventTypeAppSettingsInterface-4j95fNdX.js} +72 -71
  38. package/dist/EventTypeAppSettingsInterface-7r6Eayog.js +221 -0
  39. package/dist/{EventTypeAppSettingsInterface-WFmNo91Z.js → EventTypeAppSettingsInterface-8XJ_he7F.js} +7 -6
  40. package/dist/EventTypeAppSettingsInterface-PHF7Vsmi.js +43 -0
  41. package/dist/EventTypeAppSettingsInterface-ThYijWt9.js +42 -0
  42. package/dist/EventTypeAppSettingsInterface-WrZ3-X7V.js +48 -0
  43. package/dist/{EventTypeAppSettingsInterface-CJVHdj5Z.js → EventTypeAppSettingsInterface-eJdqCSck.js} +39 -38
  44. package/dist/{EventTypeAppSettingsInterface-W6KdgBF4.js → EventTypeAppSettingsInterface-hI24Lgxv.js} +6 -5
  45. package/dist/{EventTypeAppSettingsInterface-5MFFd8K-.js → EventTypeAppSettingsInterface-rDoWsnFN.js} +6 -5
  46. package/dist/EventTypeAppSettingsInterface-vOTw0emu.js +72 -0
  47. package/dist/EventTypeAppSettingsInterface-wRHYYE7a.js +78 -0
  48. package/dist/InstallAppButton-9T0Dl0KY.js +14 -0
  49. package/dist/InstallAppButton-J-143AmA.js +14 -0
  50. package/dist/{InstallAppButton-l1JAKXJ2.js → InstallAppButton-JXhBVaYJ.js} +8 -8
  51. package/dist/InstallAppButton-qpMMTpVW.js +58 -0
  52. package/dist/{PhoneInput-ZSx8kdAN.js → PhoneInput-EZYUI6dU.js} +97 -96
  53. package/dist/StripePaymentForm-N2YTyBqm.js +1157 -0
  54. package/dist/cal-atoms.js +6 -6
  55. package/dist/cal-atoms.umd.cjs +372 -436
  56. package/dist/{framer-features-12oM4SHg.js → framer-features-pqh7SjMd.js} +65 -65
  57. package/dist/{index-3tVCLfaZ.js → index-D4njVTQA.js} +2 -2
  58. package/dist/{index-LgmOiR20.js → index-KPOdbfnz.js} +1 -1
  59. package/dist/{index-xyF3DZet.js → index-_1f6rhg6.js} +72418 -98083
  60. package/dist/{index-sMgQwFEx.js → index-_1xRkNP6.js} +1 -1
  61. package/dist/index-v9tzGygd.js +626 -0
  62. package/dist/{isSupportedCountry-DPaP_R-3.js → isSupportedCountry--S1ZKbg0.js} +1 -1
  63. package/dist/packages/app-store/hitpay/pages/setup/index.d.ts.map +1 -1
  64. package/dist/packages/app-store/salesforce/lib/CrmService.d.ts.map +1 -1
  65. package/dist/packages/app-store/salesforce/lib/__tests__/salesforceMock.d.ts.map +1 -1
  66. package/dist/packages/features/eventtypes/components/EventTypeLayout.d.ts.map +1 -1
  67. package/dist/packages/features/schedules/components/DateOverrideList.d.ts +1 -1
  68. package/dist/packages/features/schedules/components/DateOverrideList.d.ts.map +1 -1
  69. package/dist/packages/features/shell/Shell.d.ts +0 -1
  70. package/dist/packages/features/shell/Shell.d.ts.map +1 -1
  71. package/dist/packages/platform/atoms/availability/AvailabilitySettings.d.ts +1 -1
  72. package/dist/packages/platform/atoms/availability/AvailabilitySettings.d.ts.map +1 -1
  73. package/dist/packages/platform/atoms/hooks/bookings/useHandleBookEvent.d.ts.map +1 -1
  74. package/dist/packages/platform/atoms/vite.config.d.ts.map +1 -1
  75. package/dist/packages/trpc/react/shared.d.ts +1 -1
  76. package/dist/packages/trpc/react/shared.d.ts.map +1 -1
  77. package/dist/packages/trpc/server/routers/_app.d.ts +469 -373
  78. package/dist/packages/trpc/server/routers/_app.d.ts.map +1 -1
  79. package/dist/packages/trpc/server/routers/loggedInViewer/_router.d.ts +0 -124
  80. package/dist/packages/trpc/server/routers/loggedInViewer/_router.d.ts.map +1 -1
  81. package/dist/packages/trpc/server/routers/viewer/__tests__/outOfOffice.handler.test.d.ts.map +1 -0
  82. package/dist/packages/trpc/server/routers/viewer/_router.d.ts +469 -373
  83. package/dist/packages/trpc/server/routers/viewer/_router.d.ts.map +1 -1
  84. package/dist/packages/trpc/server/routers/viewer/ooo/_router.d.ts +132 -0
  85. package/dist/packages/trpc/server/routers/viewer/ooo/_router.d.ts.map +1 -0
  86. package/dist/packages/trpc/server/routers/viewer/ooo/outOfOffice.utils.d.ts.map +1 -0
  87. package/dist/packages/trpc/server/routers/{loggedInViewer → viewer/ooo}/outOfOfficeCreateOrUpdate.handler.d.ts +1 -1
  88. package/dist/packages/trpc/server/routers/viewer/ooo/outOfOfficeCreateOrUpdate.handler.d.ts.map +1 -0
  89. package/dist/packages/trpc/server/routers/viewer/ooo/outOfOfficeCreateOrUpdate.schema.d.ts.map +1 -0
  90. package/dist/packages/trpc/server/routers/{loggedInViewer → viewer/ooo}/outOfOfficeEntriesList.handler.d.ts +6 -6
  91. package/dist/packages/trpc/server/routers/viewer/ooo/outOfOfficeEntriesList.handler.d.ts.map +1 -0
  92. package/dist/packages/trpc/server/routers/viewer/ooo/outOfOfficeEntriesList.schema.d.ts.map +1 -0
  93. package/dist/packages/trpc/server/routers/{loggedInViewer → viewer/ooo}/outOfOfficeEntryDelete.handler.d.ts +1 -1
  94. package/dist/packages/trpc/server/routers/viewer/ooo/outOfOfficeEntryDelete.handler.d.ts.map +1 -0
  95. package/dist/packages/trpc/server/routers/viewer/ooo/outOfOfficeEntryDelete.schema.d.ts.map +1 -0
  96. package/dist/packages/trpc/server/routers/viewer/ooo/outOfOfficeReasons.handler.d.ts.map +1 -0
  97. package/dist/packages/trpc/server/routers/viewer/travelSchedules/_router.d.ts +26 -0
  98. package/dist/packages/trpc/server/routers/viewer/travelSchedules/_router.d.ts.map +1 -0
  99. package/dist/packages/trpc/server/routers/{loggedInViewer → viewer/travelSchedules}/getTravelSchedules.handler.d.ts +1 -1
  100. package/dist/packages/trpc/server/routers/viewer/travelSchedules/getTravelSchedules.handler.d.ts.map +1 -0
  101. package/dist/packages/trpc/server/routers/viewer/travelSchedules/getTravelSchedules.schema.d.ts.map +1 -0
  102. package/dist/{useIsAppEnabled-lWZHByfn.js → useIsAppEnabled-EWMW2qIQ.js} +1 -1
  103. package/package.json +3 -2
  104. package/dist/AppCard-6POsrWUi.js +0 -161
  105. package/dist/AppListCardPlatformWrapper-lBuJfkuH.js +0 -8
  106. package/dist/AppSettingsInterface-4Tks23KV.js +0 -22
  107. package/dist/AppSettingsInterface-FOcRnk3Z.js +0 -28
  108. package/dist/AppSettingsInterface-GkmVYzlh.js +0 -74
  109. package/dist/EventTypeAppCardInterface-3WtIPV90.js +0 -48
  110. package/dist/EventTypeAppCardInterface-59_1Chn3.js +0 -23
  111. package/dist/EventTypeAppCardInterface-6vA3mNLM.js +0 -23
  112. package/dist/EventTypeAppCardInterface-8G0alNRB.js +0 -23
  113. package/dist/EventTypeAppCardInterface-DmRoseb5.js +0 -33
  114. package/dist/EventTypeAppCardInterface-E6oGIXby.js +0 -30
  115. package/dist/EventTypeAppCardInterface-F3iYQZzz.js +0 -33
  116. package/dist/EventTypeAppCardInterface-Gz942CB8.js +0 -41
  117. package/dist/EventTypeAppCardInterface-JtE97AbR.js +0 -38
  118. package/dist/EventTypeAppCardInterface-KoXkfIyN.js +0 -451
  119. package/dist/EventTypeAppCardInterface-O6Qm27_l.js +0 -33
  120. package/dist/EventTypeAppCardInterface-S1ri5C5w.js +0 -33
  121. package/dist/EventTypeAppCardInterface-SDs4emhR.js +0 -40
  122. package/dist/EventTypeAppCardInterface-_ilno5U4.js +0 -32
  123. package/dist/EventTypeAppCardInterface-b4zgfRie.js +0 -31
  124. package/dist/EventTypeAppCardInterface-dDQePpru.js +0 -33
  125. package/dist/EventTypeAppCardInterface-dxJA4SDA.js +0 -40
  126. package/dist/EventTypeAppCardInterface-dyUZdYi1.js +0 -31
  127. package/dist/EventTypeAppCardInterface-hEAZCP4y.js +0 -33
  128. package/dist/EventTypeAppCardInterface-iH8XDMJc.js +0 -23
  129. package/dist/EventTypeAppCardInterface-kzr8i-KV.js +0 -33
  130. package/dist/EventTypeAppCardInterface-nIcRzdps.js +0 -23
  131. package/dist/EventTypeAppCardInterface-n_WURLN6.js +0 -41
  132. package/dist/EventTypeAppCardInterface-oOvyPBbl.js +0 -85
  133. package/dist/EventTypeAppCardInterface-uxE48sJK.js +0 -50
  134. package/dist/EventTypeAppSettingsInterface-11qrPEq9.js +0 -47
  135. package/dist/EventTypeAppSettingsInterface-DQAYuCVY.js +0 -220
  136. package/dist/EventTypeAppSettingsInterface-G9QLW8nF.js +0 -42
  137. package/dist/EventTypeAppSettingsInterface-KP3N_MKJ.js +0 -71
  138. package/dist/EventTypeAppSettingsInterface-jExNP130.js +0 -77
  139. package/dist/EventTypeAppSettingsInterface-wvbPVzEw.js +0 -41
  140. package/dist/InstallAppButton-Texs62TM.js +0 -13
  141. package/dist/InstallAppButton-k-fI7lJG.js +0 -13
  142. package/dist/InstallAppButton-uI0Lr0hc.js +0 -57
  143. package/dist/StripePaymentForm-8vKNcyMv.js +0 -492
  144. package/dist/index-TRud8iK5.js +0 -510
  145. package/dist/packages/trpc/server/routers/loggedInViewer/__tests__/outOfOffice.handler.test.d.ts.map +0 -1
  146. package/dist/packages/trpc/server/routers/loggedInViewer/getTravelSchedules.handler.d.ts.map +0 -1
  147. package/dist/packages/trpc/server/routers/loggedInViewer/getTravelSchedules.schema.d.ts.map +0 -1
  148. package/dist/packages/trpc/server/routers/loggedInViewer/outOfOffice.utils.d.ts.map +0 -1
  149. package/dist/packages/trpc/server/routers/loggedInViewer/outOfOfficeCreateOrUpdate.handler.d.ts.map +0 -1
  150. package/dist/packages/trpc/server/routers/loggedInViewer/outOfOfficeCreateOrUpdate.schema.d.ts.map +0 -1
  151. package/dist/packages/trpc/server/routers/loggedInViewer/outOfOfficeEntriesList.handler.d.ts.map +0 -1
  152. package/dist/packages/trpc/server/routers/loggedInViewer/outOfOfficeEntriesList.schema.d.ts.map +0 -1
  153. package/dist/packages/trpc/server/routers/loggedInViewer/outOfOfficeEntryDelete.handler.d.ts.map +0 -1
  154. package/dist/packages/trpc/server/routers/loggedInViewer/outOfOfficeEntryDelete.schema.d.ts.map +0 -1
  155. package/dist/packages/trpc/server/routers/loggedInViewer/outOfOfficeReasons.handler.d.ts.map +0 -1
  156. /package/dist/packages/trpc/server/routers/{loggedInViewer → viewer}/__tests__/outOfOffice.handler.test.d.ts +0 -0
  157. /package/dist/packages/trpc/server/routers/{loggedInViewer → viewer/ooo}/outOfOffice.utils.d.ts +0 -0
  158. /package/dist/packages/trpc/server/routers/{loggedInViewer → viewer/ooo}/outOfOfficeCreateOrUpdate.schema.d.ts +0 -0
  159. /package/dist/packages/trpc/server/routers/{loggedInViewer → viewer/ooo}/outOfOfficeEntriesList.schema.d.ts +0 -0
  160. /package/dist/packages/trpc/server/routers/{loggedInViewer → viewer/ooo}/outOfOfficeEntryDelete.schema.d.ts +0 -0
  161. /package/dist/packages/trpc/server/routers/{loggedInViewer → viewer/ooo}/outOfOfficeReasons.handler.d.ts +0 -0
  162. /package/dist/packages/trpc/server/routers/{loggedInViewer → viewer/travelSchedules}/getTravelSchedules.schema.d.ts +0 -0
@@ -1,4 +1,4 @@
1
- import { aF as L, aG as V, aH as H, aI as B, aJ as Y, aK as j, aL as W, aM as q, aN as re, aO as ie, aP as oe, aQ as ae } from "./index-xyF3DZet.js";
1
+ import { au as L, av as V, aw as D, ax as G, ay as j, az as q, aA as _, aB as Q, aC as re, aD as ie, aE as oe, aF as ae } from "./index-_1f6rhg6.js";
2
2
  function b(t, e, n, s = { passive: !0 }) {
3
3
  return t.addEventListener(e, n, s), () => t.removeEventListener(e, n);
4
4
  }
@@ -12,7 +12,7 @@ function Z(t, e = "page") {
12
12
  };
13
13
  }
14
14
  const ue = (t) => (e) => ce(e) && t(e, Z(e));
15
- function O(t, e, n, s) {
15
+ function T(t, e, n, s) {
16
16
  return b(t, e, ue(n), s);
17
17
  }
18
18
  function $(t) {
@@ -24,15 +24,15 @@ function $(t) {
24
24
  return e === null ? (e = t, n) : !1;
25
25
  };
26
26
  }
27
- const _ = $("dragHorizontal"), Q = $("dragVertical");
27
+ const J = $("dragHorizontal"), X = $("dragVertical");
28
28
  function le(t) {
29
29
  let e = !1;
30
30
  if (t === "y")
31
- e = Q();
31
+ e = X();
32
32
  else if (t === "x")
33
- e = _();
33
+ e = J();
34
34
  else {
35
- const n = _(), s = Q();
35
+ const n = J(), s = X();
36
36
  n && s ? e = () => {
37
37
  n(), s();
38
38
  } : (n && n(), s && s());
@@ -50,20 +50,20 @@ class w {
50
50
  update() {
51
51
  }
52
52
  }
53
- function X(t, e) {
53
+ function Y(t, e) {
54
54
  const n = "pointer" + (e ? "enter" : "leave"), s = "onHover" + (e ? "Start" : "End"), o = (a, l) => {
55
55
  if (a.type === "touch" || ee())
56
56
  return;
57
57
  const c = t.getProps();
58
58
  t.animationState && c.whileHover && t.animationState.setActive("whileHover", e), c[s] && V.update(() => c[s](a, l));
59
59
  };
60
- return O(t.current, n, o, {
60
+ return T(t.current, n, o, {
61
61
  passive: !t.getProps()[s]
62
62
  });
63
63
  }
64
64
  class he extends w {
65
65
  mount() {
66
- this.unmount = L(X(this.node, !0), X(this.node, !1));
66
+ this.unmount = L(Y(this.node, !0), Y(this.node, !1));
67
67
  }
68
68
  unmount() {
69
69
  }
@@ -91,7 +91,7 @@ class de extends w {
91
91
  }
92
92
  }
93
93
  const te = (t, e) => e ? t === e ? !0 : te(t, e.parentElement) : !1;
94
- function K(t, e) {
94
+ function H(t, e) {
95
95
  if (!e)
96
96
  return;
97
97
  const n = new PointerEvent("pointer" + t);
@@ -99,33 +99,33 @@ function K(t, e) {
99
99
  }
100
100
  class fe extends w {
101
101
  constructor() {
102
- super(...arguments), this.removeStartListeners = H, this.removeEndListeners = H, this.removeAccessibleListeners = H, this.startPointerPress = (e, n) => {
102
+ super(...arguments), this.removeStartListeners = D, this.removeEndListeners = D, this.removeAccessibleListeners = D, this.startPointerPress = (e, n) => {
103
103
  if (this.removeEndListeners(), this.isPressing)
104
104
  return;
105
- const s = this.node.getProps(), a = O(window, "pointerup", (c, i) => {
105
+ const s = this.node.getProps(), a = T(window, "pointerup", (c, i) => {
106
106
  if (!this.checkPressEnd())
107
107
  return;
108
108
  const { onTap: r, onTapCancel: u } = this.node.getProps();
109
109
  V.update(() => {
110
110
  te(this.node.current, c.target) ? r && r(c, i) : u && u(c, i);
111
111
  });
112
- }, { passive: !(s.onTap || s.onPointerUp) }), l = O(window, "pointercancel", (c, i) => this.cancelPress(c, i), { passive: !(s.onTapCancel || s.onPointerCancel) });
112
+ }, { passive: !(s.onTap || s.onPointerUp) }), l = T(window, "pointercancel", (c, i) => this.cancelPress(c, i), { passive: !(s.onTapCancel || s.onPointerCancel) });
113
113
  this.removeEndListeners = L(a, l), this.startPress(e, n);
114
114
  }, this.startAccessiblePress = () => {
115
115
  const e = (a) => {
116
116
  if (a.key !== "Enter" || this.isPressing)
117
117
  return;
118
118
  const l = (c) => {
119
- c.key !== "Enter" || !this.checkPressEnd() || K("up", (i, r) => {
119
+ c.key !== "Enter" || !this.checkPressEnd() || H("up", (i, r) => {
120
120
  const { onTap: u } = this.node.getProps();
121
121
  u && V.update(() => u(i, r));
122
122
  });
123
123
  };
124
- this.removeEndListeners(), this.removeEndListeners = b(this.node.current, "keyup", l), K("down", (c, i) => {
124
+ this.removeEndListeners(), this.removeEndListeners = b(this.node.current, "keyup", l), H("down", (c, i) => {
125
125
  this.startPress(c, i);
126
126
  });
127
127
  }, n = b(this.node.current, "keydown", e), s = () => {
128
- this.isPressing && K("cancel", (a, l) => this.cancelPress(a, l));
128
+ this.isPressing && H("cancel", (a, l) => this.cancelPress(a, l));
129
129
  }, o = b(this.node.current, "blur", s);
130
130
  this.removeAccessibleListeners = L(n, o);
131
131
  };
@@ -145,29 +145,29 @@ class fe extends w {
145
145
  s && V.update(() => s(e, n));
146
146
  }
147
147
  mount() {
148
- const e = this.node.getProps(), n = O(this.node.current, "pointerdown", this.startPointerPress, { passive: !(e.onTapStart || e.onPointerStart) }), s = b(this.node.current, "focus", this.startAccessiblePress);
148
+ const e = this.node.getProps(), n = T(this.node.current, "pointerdown", this.startPointerPress, { passive: !(e.onTapStart || e.onPointerStart) }), s = b(this.node.current, "focus", this.startAccessiblePress);
149
149
  this.removeStartListeners = L(n, s);
150
150
  }
151
151
  unmount() {
152
152
  this.removeStartListeners(), this.removeEndListeners(), this.removeAccessibleListeners();
153
153
  }
154
154
  }
155
- const G = /* @__PURE__ */ new WeakMap(), D = /* @__PURE__ */ new WeakMap(), pe = (t) => {
156
- const e = G.get(t.target);
155
+ const B = /* @__PURE__ */ new WeakMap(), K = /* @__PURE__ */ new WeakMap(), pe = (t) => {
156
+ const e = B.get(t.target);
157
157
  e && e(t);
158
158
  }, me = (t) => {
159
159
  t.forEach(pe);
160
160
  };
161
161
  function ve({ root: t, ...e }) {
162
162
  const n = t || document;
163
- D.has(n) || D.set(n, {});
164
- const s = D.get(n), o = JSON.stringify(e);
163
+ K.has(n) || K.set(n, {});
164
+ const s = K.get(n), o = JSON.stringify(e);
165
165
  return s[o] || (s[o] = new IntersectionObserver(me, { root: t, ...e })), s[o];
166
166
  }
167
167
  function Pe(t, e, n) {
168
168
  const s = ve(e);
169
- return G.set(t, n), s.observe(t), () => {
170
- G.delete(t), s.unobserve(t);
169
+ return B.set(t, n), s.observe(t), () => {
170
+ B.delete(t), s.unobserve(t);
171
171
  };
172
172
  }
173
173
  const ge = {
@@ -234,11 +234,11 @@ function ne(t, e) {
234
234
  return !1;
235
235
  return !0;
236
236
  }
237
- function M(t, e, n = {}) {
238
- const s = B(t, e, n.custom);
237
+ function z(t, e, n = {}) {
238
+ const s = G(t, e, n.custom);
239
239
  let { transition: o = t.getDefaultTransition() || {} } = s || {};
240
240
  n.transitionOverride && (o = n.transitionOverride);
241
- const a = s ? () => Promise.all(Y(t, s, n)) : () => Promise.resolve(), l = t.variantChildren && t.variantChildren.size ? (i = 0) => {
241
+ const a = s ? () => Promise.all(j(t, s, n)) : () => Promise.resolve(), l = t.variantChildren && t.variantChildren.size ? (i = 0) => {
242
242
  const { delayChildren: r = 0, staggerChildren: u, staggerDirection: p } = o;
243
243
  return we(t, e, r + i, u, p, n);
244
244
  } : () => Promise.resolve(), { when: c } = o;
@@ -251,7 +251,7 @@ function M(t, e, n = {}) {
251
251
  function we(t, e, n = 0, s = 0, o = 1, a) {
252
252
  const l = [], c = (t.variantChildren.size - 1) * s, i = o === 1 ? (r = 0) => r * s : (r = 0) => c - r * s;
253
253
  return Array.from(t.variantChildren).sort(Se).forEach((r, u) => {
254
- r.notify("AnimationStart", e), l.push(M(r, e, {
254
+ r.notify("AnimationStart", e), l.push(z(r, e, {
255
255
  ...a,
256
256
  delay: n + i(u)
257
257
  }).then(() => r.notify("AnimationComplete", e)));
@@ -264,26 +264,26 @@ function Ce(t, e, n = {}) {
264
264
  t.notify("AnimationStart", e);
265
265
  let s;
266
266
  if (Array.isArray(e)) {
267
- const o = e.map((a) => M(t, a, n));
267
+ const o = e.map((a) => z(t, a, n));
268
268
  s = Promise.all(o);
269
269
  } else if (typeof e == "string")
270
- s = M(t, e, n);
270
+ s = z(t, e, n);
271
271
  else {
272
- const o = typeof e == "function" ? B(t, e, n.custom) : e;
273
- s = Promise.all(Y(t, o, n));
272
+ const o = typeof e == "function" ? G(t, e, n.custom) : e;
273
+ s = Promise.all(j(t, o, n));
274
274
  }
275
275
  return s.then(() => t.notify("AnimationComplete", e));
276
276
  }
277
- const Ve = [...q].reverse(), Le = q.length;
277
+ const Ve = [...Q].reverse(), Le = Q.length;
278
278
  function ke(t) {
279
279
  return (e) => Promise.all(e.map(({ animation: n, options: s }) => Ce(t, n, s)));
280
280
  }
281
- function Oe(t) {
281
+ function Te(t) {
282
282
  let e = ke(t);
283
- const n = Ie();
283
+ const n = xe();
284
284
  let s = !0;
285
285
  const o = (i, r) => {
286
- const u = B(t, r);
286
+ const u = G(t, r);
287
287
  if (u) {
288
288
  const { transition: p, transitionEnd: m, ...v } = u;
289
289
  i = { ...i, ...v, ...m };
@@ -295,34 +295,34 @@ function Oe(t) {
295
295
  }
296
296
  function l(i, r) {
297
297
  const u = t.getProps(), p = t.getVariantContext(!0) || {}, m = [], v = /* @__PURE__ */ new Set();
298
- let g = {}, z = 1 / 0;
298
+ let g = {}, M = 1 / 0;
299
299
  for (let A = 0; A < Le; A++) {
300
- const f = Ve[A], h = n[f], P = u[f] !== void 0 ? u[f] : p[f], T = re(P), I = f === r ? h.isActive : null;
301
- I === !1 && (z = A);
302
- let k = P === p[f] && P !== u[f] && T;
300
+ const f = Ve[A], h = n[f], P = u[f] !== void 0 ? u[f] : p[f], O = re(P), x = f === r ? h.isActive : null;
301
+ x === !1 && (M = A);
302
+ let k = P === p[f] && P !== u[f] && O;
303
303
  if (k && s && t.manuallyAnimateOnMount && (k = !1), h.protectedKeys = { ...g }, // If it isn't active and hasn't *just* been set as inactive
304
- !h.isActive && I === null || // If we didn't and don't have any defined prop for this animation type
304
+ !h.isActive && x === null || // If we didn't and don't have any defined prop for this animation type
305
305
  !P && !h.prevProp || // Or if the prop doesn't define an animation
306
- j(P) || typeof P == "boolean")
306
+ q(P) || typeof P == "boolean")
307
307
  continue;
308
- const R = Te(h.prevProp, P);
309
- let x = R || // If we're making this variant active, we want to always make it active
310
- f === r && h.isActive && !k && T || // If we removed a higher-priority variant (i is in reverse order)
311
- A > z && T;
308
+ const N = Oe(h.prevProp, P);
309
+ let I = N || // If we're making this variant active, we want to always make it active
310
+ f === r && h.isActive && !k && O || // If we removed a higher-priority variant (i is in reverse order)
311
+ A > M && O;
312
312
  const U = Array.isArray(P) ? P : [P];
313
313
  let S = U.reduce(o, {});
314
- I === !1 && (S = {});
315
- const { prevResolvedValues: J = {} } = h, se = {
316
- ...J,
314
+ x === !1 && (S = {});
315
+ const { prevResolvedValues: W = {} } = h, se = {
316
+ ...W,
317
317
  ...S
318
318
  }, F = (d) => {
319
- x = !0, v.delete(d), h.needsAnimating[d] = !0;
319
+ I = !0, v.delete(d), h.needsAnimating[d] = !0;
320
320
  };
321
321
  for (const d in se) {
322
- const C = S[d], E = J[d];
323
- g.hasOwnProperty(d) || (C !== E ? W(C) && W(E) ? !ne(C, E) || R ? F(d) : h.protectedKeys[d] = !0 : C !== void 0 ? F(d) : v.add(d) : C !== void 0 && v.has(d) ? F(d) : h.protectedKeys[d] = !0);
322
+ const C = S[d], E = W[d];
323
+ g.hasOwnProperty(d) || (C !== E ? _(C) && _(E) ? !ne(C, E) || N ? F(d) : h.protectedKeys[d] = !0 : C !== void 0 ? F(d) : v.add(d) : C !== void 0 && v.has(d) ? F(d) : h.protectedKeys[d] = !0);
324
324
  }
325
- h.prevProp = P, h.prevResolvedValues = S, h.isActive && (g = { ...g, ...S }), s && t.blockInitialAnimation && (x = !1), x && !k && m.push(...U.map((d) => ({
325
+ h.prevProp = P, h.prevResolvedValues = S, h.isActive && (g = { ...g, ...S }), s && t.blockInitialAnimation && (I = !1), I && !k && m.push(...U.map((d) => ({
326
326
  animation: d,
327
327
  options: { type: f, ...i }
328
328
  })));
@@ -334,8 +334,8 @@ function Oe(t) {
334
334
  h !== void 0 && (A[f] = h);
335
335
  }), m.push({ animation: A });
336
336
  }
337
- let N = !!m.length;
338
- return s && u.initial === !1 && !t.manuallyAnimateOnMount && (N = !1), s = !1, N ? e(m) : Promise.resolve();
337
+ let R = !!m.length;
338
+ return s && u.initial === !1 && !t.manuallyAnimateOnMount && (R = !1), s = !1, R ? e(m) : Promise.resolve();
339
339
  }
340
340
  function c(i, r, u) {
341
341
  var p;
@@ -357,7 +357,7 @@ function Oe(t) {
357
357
  getState: () => n
358
358
  };
359
359
  }
360
- function Te(t, e) {
360
+ function Oe(t, e) {
361
361
  return typeof e == "string" ? e !== t : Array.isArray(e) ? !ne(e, t) : !1;
362
362
  }
363
363
  function y(t = !1) {
@@ -368,7 +368,7 @@ function y(t = !1) {
368
368
  prevResolvedValues: {}
369
369
  };
370
370
  }
371
- function Ie() {
371
+ function xe() {
372
372
  return {
373
373
  animate: y(!0),
374
374
  whileInView: y(),
@@ -379,18 +379,18 @@ function Ie() {
379
379
  exit: y()
380
380
  };
381
381
  }
382
- class xe extends w {
382
+ class Ie extends w {
383
383
  /**
384
384
  * We dynamically generate the AnimationState manager as it contains a reference
385
385
  * to the underlying animation library. We only want to load that if we load this,
386
386
  * so people can optionally code split it out using the `m` component.
387
387
  */
388
388
  constructor(e) {
389
- super(e), e.animationState || (e.animationState = Oe(e));
389
+ super(e), e.animationState || (e.animationState = Te(e));
390
390
  }
391
391
  updateAnimationControlsSubscription() {
392
392
  const { animate: e } = this.node.getProps();
393
- this.unmount(), j(e) && (this.unmount = e.subscribe(this.node));
393
+ this.unmount(), q(e) && (this.unmount = e.subscribe(this.node));
394
394
  }
395
395
  /**
396
396
  * Subscribe any provided AnimationControls to the component's VisualElement
@@ -426,18 +426,18 @@ class Ee extends w {
426
426
  unmount() {
427
427
  }
428
428
  }
429
- const He = {
429
+ const De = {
430
430
  animation: {
431
- Feature: xe
431
+ Feature: Ie
432
432
  },
433
433
  exit: {
434
434
  Feature: Ee
435
435
  }
436
- }, Ke = (t, e) => ie(t) ? new oe(e, { enableHardwareAcceleration: !1 }) : new ae(e, { enableHardwareAcceleration: !0 }), Ge = {
437
- renderer: Ke,
438
- ...He,
436
+ }, He = (t, e) => ie(t) ? new oe(e, { enableHardwareAcceleration: !1 }) : new ae(e, { enableHardwareAcceleration: !0 }), Be = {
437
+ renderer: He,
438
+ ...De,
439
439
  ...be
440
440
  };
441
441
  export {
442
- Ge as default
442
+ Be as default
443
443
  };
@@ -1,5 +1,5 @@
1
- import { D as a, P as o, f as s, g as t, g as m, i as C, p as n, a as p } from "./index-xyF3DZet.js";
2
- import { i } from "./isSupportedCountry-DPaP_R-3.js";
1
+ import { D as a, P as o, f as s, g as t, g as m, i as C, p as n, a as p } from "./index-_1f6rhg6.js";
2
+ import { i } from "./isSupportedCountry--S1ZKbg0.js";
3
3
  export {
4
4
  a as DIGITS,
5
5
  o as ParseError,
@@ -1,4 +1,4 @@
1
- import { B as s, s as l, C as o, c as t, u as r, r as i, E as c, F as d, H as g, j as n, m as F, I as p, L as u, d as S, S as T, n as x, o as h, v as k, w as m, e as C, h as E, k as I, t as P, q as b, l as w } from "./index-xyF3DZet.js";
1
+ import { B as s, s as l, C as o, c as t, u as r, r as i, E as c, F as d, H as g, j as n, m as F, I as p, L as u, d as S, S as T, n as x, o as h, v as k, w as m, e as C, h as E, k as I, t as P, q as b, l as w } from "./index-_1f6rhg6.js";
2
2
  export {
3
3
  s as BooleanToggleGroup,
4
4
  l as BooleanToggleGroupField,