@wix/form-elements 1.226.0 → 1.228.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.
Files changed (109) hide show
  1. package/dist/component/{appointment-rac-C2ClvRys.js → appointment-rac-BOMSG3ur.js} +100 -100
  2. package/dist/component/{bookings-address-rac-CPQjosbZ.js → bookings-address-rac-2Iqd3heF.js} +1 -1
  3. package/dist/component/{bookings-email-rac-DWvVUcBN.js → bookings-email-rac-vmaFkS3r.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-_iG2xJiA.js → bookings-first-name-rac-DToXUWLK.js} +1 -1
  5. package/dist/component/{bookings-header-rac-BbGm_Z8W.js → bookings-header-rac-DbGFMuV9.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-77Z29aHO.js → bookings-last-name-rac-h6A50NGK.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-DfqRpARE.js → bookings-login-bar-rac-BF6vZYgD.js} +1 -1
  8. package/dist/component/{bookings-phone-rac-BKoU7X0X.js → bookings-phone-rac-NOzy382P.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-DgSN4_f0.js → bookings-rich-text-rac-BRT8O9KI.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-BLJ3Xb7C.js → checkbox-field-rac-BAbzQdm_.js} +4 -4
  11. package/dist/component/{checkbox-group-field-headless-BeU8DG0A.js → checkbox-group-field-headless-QKAVGheB.js} +3 -3
  12. package/dist/component/{checkbox-group-field-rac-ClRi6Ljp.js → checkbox-group-field-rac-PQAdmVdS.js} +4 -4
  13. package/dist/component/{checkbox-group-rac--cM57qqw.js → checkbox-group-rac-DJwR71Aj.js} +1 -1
  14. package/dist/component/{checkbox-rac-DnslW6as.js → checkbox-rac-DVTOVlds.js} +1 -1
  15. package/dist/component/{contacts-address-rac-Bpq_0vvi.js → contacts-address-rac-BxRBeN43.js} +1 -1
  16. package/dist/component/{contacts-birthdate-rac-CB1h6kRm.js → contacts-birthdate-rac-CKaPcju4.js} +1 -1
  17. package/dist/component/{contacts-company-rac-DvYX4SLX.js → contacts-company-rac-7FqfoZ37.js} +1 -1
  18. package/dist/component/{contacts-email-rac-sxbgKBUR.js → contacts-email-rac-Bi4ktv2C.js} +1 -1
  19. package/dist/component/{contacts-first-name-rac-C4_o2nwv.js → contacts-first-name-rac-CM0wYXi8.js} +1 -1
  20. package/dist/component/{contacts-last-name-rac-B3s96wWt.js → contacts-last-name-rac-t3DRn23V.js} +1 -1
  21. package/dist/component/{contacts-phone-rac-B5NZeYaI.js → contacts-phone-rac-DheDoi4v.js} +1 -1
  22. package/dist/component/{contacts-position-rac-CO4Bo4jG.js → contacts-position-rac-D6wdlPMv.js} +1 -1
  23. package/dist/component/{contacts-subscribe-rac-CWmo3C6c.js → contacts-subscribe-rac-L-S8pW12.js} +1 -1
  24. package/dist/component/{contacts-tax-id-rac-pi_bJeA7.js → contacts-tax-id-rac-D4dTB72V.js} +1 -1
  25. package/dist/component/{date-availability-DL8Xboob.js → date-availability-nLp28YJJ.js} +1 -1
  26. package/dist/component/{date-input-field-rac-Di2pwVW7.js → date-input-field-rac-3gJquXLV.js} +8 -8
  27. package/dist/component/{date-input-rac-C5xC7fbz.js → date-input-rac-DIVNbgAN.js} +1 -1
  28. package/dist/component/{date-picker-field-rac-DyPkuVVe.js → date-picker-field-rac-L5-jiuk9.js} +8 -8
  29. package/dist/component/{date-picker-rac-CKNlOGZG.js → date-picker-rac-DTJA96Wt.js} +1 -1
  30. package/dist/component/{date-time-input-field-rac-Dk15pWyb.js → date-time-input-field-rac-D9uxp4Ll.js} +8 -8
  31. package/dist/component/{date-time-input-rac-oOUelldq.js → date-time-input-rac-BBDupf5A.js} +1 -1
  32. package/dist/component/{dext-checkbox-group-rac--jmNDOV2.js → dext-checkbox-group-rac-AUofOKsf.js} +2 -2
  33. package/dist/component/{dext-checkbox-rac-BOjbBRrg.js → dext-checkbox-rac-CJv0ZAL2.js} +1 -1
  34. package/dist/component/{dext-date-picker-rac-CHi5TisB.js → dext-date-picker-rac-CbxqilcA.js} +1 -1
  35. package/dist/component/{dext-date-time-input-rac-CcF4ocHx.js → dext-date-time-input-rac-CWJSNiKG.js} +1 -1
  36. package/dist/component/{dext-dropdown-rac-LLYhuGt_.js → dext-dropdown-rac-Cxhp3hQk.js} +1 -1
  37. package/dist/component/{dext-email-rac-CbC1crzT.js → dext-email-rac-CpA5hnSl.js} +1 -1
  38. package/dist/component/{dext-number-input-rac-3-U9Hxre.js → dext-number-input-rac-_0BhXJKn.js} +1 -1
  39. package/dist/component/{dext-phone-rac-CdMFXUNf.js → dext-phone-rac-rzdoB5YJ.js} +1 -1
  40. package/dist/component/{dext-radio-group-rac-Bg33r95T.js → dext-radio-group-rac-CQVwB4Ey.js} +2 -2
  41. package/dist/component/{dext-rating-input-rac-DV8jA90b.js → dext-rating-input-rac-D_CTi2xa.js} +1 -1
  42. package/dist/component/{dext-tags-rac-B-hpvZgE.js → dext-tags-rac-5HLAKnUE.js} +2 -2
  43. package/dist/component/{dext-text-area-rac-kBBc0Xjo.js → dext-text-area-rac-DSjq3lLs.js} +1 -1
  44. package/dist/component/{dext-text-input-rac-CImXblhX.js → dext-text-input-rac-B9bYNp4-.js} +1 -1
  45. package/dist/component/{dext-url-input-rac-J-7QABnD.js → dext-url-input-rac-BePEEdAf.js} +1 -1
  46. package/dist/component/{dismiss-icon-Bw_zbdk_.js → dismiss-icon-CjOV4_J8.js} +1 -1
  47. package/dist/component/{donation-rac-CvWwng6S.js → donation-rac-mKjY256K.js} +5 -5
  48. package/dist/component/{dropdown-field-rac-Dm9Qs8bh.js → dropdown-field-rac-DOmL7_DY.js} +3 -3
  49. package/dist/component/{dropdown-rac-BHqeUIje.js → dropdown-rac-DmnP9Usg.js} +1 -1
  50. package/dist/component/{ecom-address-rac-NtuG7Q_T.js → ecom-address-rac-CgtdxkRl.js} +1 -1
  51. package/dist/component/{ecom-subscription-checkbox-rac-DAJnX_RJ.js → ecom-subscription-checkbox-rac-C8qt8iqj.js} +2 -2
  52. package/dist/component/{email-input-field-rac-ompvaCLM.js → email-input-field-rac-D6ZmdvBn.js} +3 -3
  53. package/dist/component/{events-repeater-rac-kHEFBH7l.js → events-repeater-rac-CNTAWLn5.js} +4 -4
  54. package/dist/component/{events-rsvp-rac-R4F9aw6y.js → events-rsvp-rac-eVjqML27.js} +3 -3
  55. package/dist/component/{field-error-headless-o2u5ldAp.js → field-error-headless-CBInIAMD.js} +1 -1
  56. package/dist/component/{field-label-headless-DvNWYzXc.js → field-label-headless-DV4KBQmG.js} +1 -1
  57. package/dist/component/{file-upload-rac-DlE4dp0D.js → file-upload-rac-CrrDfZSa.js} +4 -4
  58. package/dist/component/{fixed-payment-rac-BxsFHhXP.js → fixed-payment-rac-Bkn5klPT.js} +3 -3
  59. package/dist/component/{form-Co7SkMqj.js → form-B1uAYoBy.js} +69 -69
  60. package/dist/component/form.css +1 -1
  61. package/dist/component/form.js +1 -1
  62. package/dist/component/{header-field-rac-D56CKAtM.js → header-field-rac-DSX3MNZb.js} +2 -2
  63. package/dist/component/{header-rac-DdYSBcq1.js → header-rac-BYn1jiFB.js} +1 -1
  64. package/dist/component/{image-choice-rac-g23R5qLL.js → image-choice-rac-CMi9bw4W.js} +4 -4
  65. package/dist/component/{index-C0yPsVXz.js → index-DYQsCsW0.js} +4 -4
  66. package/dist/component/{index-BmOwghzn.js → index-XnVV9Wkp.js} +2 -2
  67. package/dist/component/{isObjectLike-mlNAmhLJ.js → isObjectLike-D1IFTIp7.js} +1 -1
  68. package/dist/component/{multiline-address-field-rac-ApBLSWB_.js → multiline-address-field-rac-DWasVZf-.js} +8 -8
  69. package/dist/component/{multiline-address-rac-tdENoXBT.js → multiline-address-rac-DL199k_x.js} +1 -1
  70. package/dist/component/{number-input-field-rac-CCIuPPeP.js → number-input-field-rac-JmonZiSz.js} +4 -4
  71. package/dist/component/{number-input-rac-DxodjaRb.js → number-input-rac-CXXuNJv5.js} +1 -1
  72. package/dist/component/{password-rac-h9U6siGg.js → password-rac-CCN-CJEe.js} +4 -4
  73. package/dist/component/{payment-input-rac-YFXgnLS6.js → payment-input-rac-C9hrBzZx.js} +4 -4
  74. package/dist/component/{phone-input-field-rac-B9PUQJUP.js → phone-input-field-rac-vxg49cas.js} +7 -7
  75. package/dist/component/{phone-rac-B1Q9HXAB.js → phone-rac-DUGx4mGi.js} +1 -1
  76. package/dist/component/{product-list-rac-D63k_IAW.js → product-list-rac-fxGEBQac.js} +4 -4
  77. package/dist/component/{quiz-radio-group-rac-Bl6DYjmg.js → quiz-radio-group-rac-MPTXz8Cu.js} +1 -1
  78. package/dist/component/{radio-button-module-classes-BRHKk6XZ.js → radio-button-module-classes-DyYUSl5o.js} +3 -3
  79. package/dist/component/{radio-group-field-rac-B8yEmx79.js → radio-group-field-rac-CrmkbfuW.js} +4 -4
  80. package/dist/component/{radio-group-rac-xX_sfxL0.js → radio-group-rac-CsowZhl8.js} +1 -1
  81. package/dist/component/{rating-input-field-rac-_p1u5oCL.js → rating-input-field-rac-SiHlMtly.js} +4 -4
  82. package/dist/component/{rating-input-rac-C_i6Nwdz.js → rating-input-rac-DXRb8Hjv.js} +1 -1
  83. package/dist/component/{rich-content-rac.module-BlHWoitq.js → rich-content-rac.module-BcqSpi17.js} +1 -1
  84. package/dist/component/{rich-text-field-rac-EiH-NdJm.js → rich-text-field-rac-Ik1cWY9H.js} +2 -2
  85. package/dist/component/{rich-text-rac-eZvghmFV.js → rich-text-rac-BIAPuNWy.js} +1 -1
  86. package/dist/component/{service-dropdown-rac-bujnhWyl.js → service-dropdown-rac-C-ivm8sd.js} +4 -4
  87. package/dist/component/{services-multi-choice-rac-FXrJOBdY.js → services-multi-choice-rac-BaFFFJpX.js} +5 -5
  88. package/dist/component/{signature-rac-CoVHMOpK.js → signature-rac-BZBC-nmD.js} +4 -4
  89. package/dist/component/{submit-button-rac-B8w753Be.js → submit-button-rac-DHylWJnK.js} +2 -2
  90. package/dist/component/{tags-field-rac-iitBlZ8l.js → tags-field-rac-FMK19M5h.js} +5 -5
  91. package/dist/component/{tags-rac-DJSUQlkc.js → tags-rac-CH6YHlp4.js} +1 -1
  92. package/dist/component/{text-area-field-rac-CePWfCbx.js → text-area-field-rac-r8O6HyU3.js} +4 -4
  93. package/dist/component/{text-area-rac-m18L6Zwk.js → text-area-rac-BD100QYM.js} +1 -1
  94. package/dist/component/{text-input-field-rac-BSo_dbkm.js → text-input-field-rac-DDRG3cfb.js} +3 -3
  95. package/dist/component/{text-input-headless-D-o9wyGb.js → text-input-headless-TEmX8piX.js} +3 -3
  96. package/dist/component/{text-input-rac-CcGgoWaF.js → text-input-rac-Va4l5vzg.js} +1 -1
  97. package/dist/component/{time-input-rac-DRIFM107.js → time-input-rac-wchwGOoj.js} +6 -6
  98. package/dist/component/{url-input-field-rac-Dpn9-sDD.js → url-input-field-rac-BzABcDX7.js} +4 -4
  99. package/dist/component/{url-input-rac-CDSl1LX1.js → url-input-rac-C8AI9XyZ.js} +1 -1
  100. package/dist/component/{use-dropdown-option-class-name-CHg44uaJ.js → use-dropdown-option-class-name-CWzaXzXZ.js} +2 -2
  101. package/dist/component/{use-dropdown-trigger-class-name-Dpwl6OCY.js → use-dropdown-trigger-class-name-Ul2EwQ_0.js} +7 -7
  102. package/dist/component/{use-element-state-class-name-BUu6zq-d.js → use-element-state-class-name-BDRRB7Xj.js} +1 -1
  103. package/dist/component/{use-hoverable-input-class-name-B1V7zCNe.js → use-hoverable-input-class-name-Cls93_JF.js} +2 -2
  104. package/dist/component/{use-is-forced-open-dropdown-BbHOZTaj.js → use-is-forced-open-dropdown-BG3ujqxx.js} +1 -1
  105. package/dist/component/{use-native-mobile-input-Ct8ysLL3.js → use-native-mobile-input-CThbfprl.js} +1 -1
  106. package/dist/component/{use-service-options-base-u-WCeJHQ.js → use-service-options-base-DYUrMRXR.js} +1 -1
  107. package/dist/component/use-text-input-class-name-CvP3SARU.js +6 -0
  108. package/package.json +2 -2
  109. package/dist/component/use-text-input-class-name-DfNU2oQf.js +0 -6
@@ -1,4 +1,4 @@
1
- import o, { useRef as J, useState as Q, useEffect as P, createContext as Ke, useContext as $e, useMemo as B, useCallback as re } from "react";
1
+ import o, { useRef as J, useState as Q, useEffect as U, createContext as Ke, useContext as $e, useMemo as P, useCallback as re } from "react";
2
2
  import { RicosViewer as it } from "@wix/ricos/viewer";
3
3
  import g from "classnames";
4
4
  import { C as he } from "./chevron-down-icon-CcpVm6B-.js";
@@ -6,16 +6,16 @@ import { E as lt } from "./error-icon-hZxQ6DEy.js";
6
6
  import { g as ct, c as Ce } from "./calendar.module-BMUyMVja.js";
7
7
  import { H as me } from "./custom-focus-class-_483Pkwp.js";
8
8
  import { s as ue } from "./field-rac.module-D0QzJXUv.js";
9
- import { bF as Ee, bE as mt, bJ as ge, bH as ut, bY as dt, bX as Dt, bN as ie, bK as le, bP as ft, bM as Et, F as St, h as _t, X as Nt, am as pt, g as At, j as We, i as yt, n as It, k as Ot, l as Lt, M as Tt, I as bt, m as gt } from "./form-Co7SkMqj.js";
10
- import { u as vt } from "./use-element-state-class-name-BUu6zq-d.js";
11
- import { ListBox as Rt, Button as ve, ListBoxItem as kt, RadioGroup as Mt, RadioField as Ft, RadioButton as wt } from "react-aria-components";
12
- import { f as v, a as Se } from "./find-child-C60k4CxG.js";
13
- import { D as ht, E as Ct } from "./field-error-headless-o2u5ldAp.js";
14
- import { L as Wt } from "./field-label-headless-DvNWYzXc.js";
15
- import { F as xt } from "./fieldset-headless-CD3fds9J.js";
9
+ import { bF as Ee, bE as mt, bJ as ge, bH as ut, bY as dt, bX as Dt, bN as ie, bK as le, bP as ft, bM as Et, F as St, h as _t, X as Nt, am as pt, g as At, j as We, i as yt, n as It, k as Ot, l as Lt, M as Tt, I as bt, m as gt } from "./form-B1uAYoBy.js";
10
+ import { u as kt } from "./use-element-state-class-name-BDRRB7Xj.js";
11
+ import { ListBox as vt, Button as ke, ListBoxItem as Rt, RadioGroup as Mt, RadioField as Ft, RadioButton as wt } from "react-aria-components";
12
+ import { f as k, a as Se } from "./find-child-C60k4CxG.js";
13
+ import { D as ht, E as Ct } from "./field-error-headless-CBInIAMD.js";
14
+ import { L as Wt } from "./field-label-headless-DV4KBQmG.js";
15
+ import { F as Bt } from "./fieldset-headless-CD3fds9J.js";
16
16
  import "date-fns";
17
17
  import { V as Ge } from "./headless-styles-CmcyA_pi.js";
18
- function Bt(e) {
18
+ function Pt(e) {
19
19
  return { evid: 40, src: 16, endpoint: "", params: e };
20
20
  }
21
21
  var De = /* @__PURE__ */ (function(e) {
@@ -29,14 +29,14 @@ var X = /* @__PURE__ */ (function(e) {
29
29
  })({}), ne = /* @__PURE__ */ (function(e) {
30
30
  return e.LOAD = "load", e.CLICK = "click", e;
31
31
  })({});
32
- const Pt = (e) => {
32
+ const Ut = (e) => {
33
33
  var t;
34
34
  return {
35
35
  bookingsServiceId: e == null ? void 0 : e.id,
36
36
  formGuid: (t = e == null ? void 0 : e.form) == null ? void 0 : t.id,
37
- serviceProperties: Ut(e)
37
+ serviceProperties: xt(e)
38
38
  };
39
- }, Ut = (e) => {
39
+ }, xt = (e) => {
40
40
  var t;
41
41
  return JSON.stringify({
42
42
  serviceId: e == null ? void 0 : e.id,
@@ -47,12 +47,12 @@ const Pt = (e) => {
47
47
  });
48
48
  }, Ze = (e) => {
49
49
  var l;
50
- const { appointmentFieldProps: t } = Re(), { isEditor: n, isComposer: a } = Ee(), r = mt(), s = e || ((l = t == null ? void 0 : t.initialData) == null ? void 0 : l.service);
50
+ const { appointmentFieldProps: t } = ve(), { isEditor: n, isComposer: a } = Ee(), r = mt(), s = e || ((l = t == null ? void 0 : t.initialData) == null ? void 0 : l.service);
51
51
  if (!(n || a))
52
52
  return {
53
53
  ...r,
54
- report: (i) => r == null ? void 0 : r.report(Bt({
55
- ...Pt(s),
54
+ report: (i) => r == null ? void 0 : r.report(Pt({
55
+ ...Ut(s),
56
56
  ...i
57
57
  }))
58
58
  };
@@ -61,22 +61,22 @@ var Te;
61
61
  (function(e) {
62
62
  e.UNDEFINED = "UNDEFINED", e.OWNER_BUSINESS = "OWNER_BUSINESS", e.OWNER_CUSTOM = "OWNER_CUSTOM", e.CUSTOM = "CUSTOM";
63
63
  })(Te || (Te = {}));
64
- var xe;
65
- (function(e) {
66
- e.UNKNOWN_REQUESTED_GENDER = "UNKNOWN_REQUESTED_GENDER", e.ANY_MALE = "ANY_MALE", e.ANY_FEMALE = "ANY_FEMALE";
67
- })(xe || (xe = {}));
68
64
  var Be;
69
65
  (function(e) {
70
- e.UNKNOWN_LOCATION_TYPE = "UNKNOWN_LOCATION_TYPE", e.BUSINESS = "BUSINESS", e.CUSTOM = "CUSTOM", e.CUSTOMER = "CUSTOMER";
66
+ e.UNKNOWN_REQUESTED_GENDER = "UNKNOWN_REQUESTED_GENDER", e.ANY_MALE = "ANY_MALE", e.ANY_FEMALE = "ANY_FEMALE";
71
67
  })(Be || (Be = {}));
72
68
  var Pe;
73
69
  (function(e) {
74
- e.UNKNOWN_REQUESTED_GENDER = "UNKNOWN_REQUESTED_GENDER", e.ANY_MALE = "ANY_MALE", e.ANY_FEMALE = "ANY_FEMALE";
70
+ e.UNKNOWN_LOCATION_TYPE = "UNKNOWN_LOCATION_TYPE", e.BUSINESS = "BUSINESS", e.CUSTOM = "CUSTOM", e.CUSTOMER = "CUSTOMER";
75
71
  })(Pe || (Pe = {}));
76
72
  var Ue;
77
73
  (function(e) {
78
- e.ASC = "ASC", e.DESC = "DESC";
74
+ e.UNKNOWN_REQUESTED_GENDER = "UNKNOWN_REQUESTED_GENDER", e.ANY_MALE = "ANY_MALE", e.ANY_FEMALE = "ANY_FEMALE";
79
75
  })(Ue || (Ue = {}));
76
+ var xe;
77
+ (function(e) {
78
+ e.ASC = "ASC", e.DESC = "DESC";
79
+ })(xe || (xe = {}));
80
80
  const zt = (e) => {
81
81
  const { service: t } = e || {};
82
82
  return (t == null ? void 0 : t.id) ? null : {
@@ -160,9 +160,9 @@ function Gt(e) {
160
160
  const { initialData: t, onChange: n, value: a } = e, { isEditor: r, isComposer: s } = Ee(), l = (d = t == null ? void 0 : t.service) == null ? void 0 : d.id, { actions: i } = ge(), c = J(i);
161
161
  c.current = i;
162
162
  const D = !!(i != null && i.getAvailabilityDates && (i != null && i.getAvailabilitySlots)), [u, S] = Q(null), E = Ze(t == null ? void 0 : t.service);
163
- return P(() => {
163
+ return U(() => {
164
164
  l && !r && !s && D && (async () => {
165
- var I, O, U, z, Y;
165
+ var I, O, x, z, Y;
166
166
  const M = Ve(), A = {
167
167
  currentSlotBulkSize: q,
168
168
  timezone: M,
@@ -192,7 +192,7 @@ function Gt(e) {
192
192
  });
193
193
  return;
194
194
  }
195
- A.selectedDate = Kt(A.availabilityDates), A.selectedDate && (A.availabilitySlots = await ((z = (U = c.current) == null ? void 0 : U.getAvailabilitySlots) == null ? void 0 : z.call(U, {
195
+ A.selectedDate = Kt(A.availabilityDates), A.selectedDate && (A.availabilitySlots = await ((z = (x = c.current) == null ? void 0 : x.getAvailabilitySlots) == null ? void 0 : z.call(x, {
196
196
  serviceId: l,
197
197
  timeZone: M,
198
198
  selectedDate: A.selectedDate
@@ -237,7 +237,7 @@ const qe = /* @__PURE__ */ Ke({
237
237
  isEditor: n,
238
238
  isComposer: a
239
239
  })), i = Gt(e);
240
- return P(() => {
240
+ return U(() => {
241
241
  i && l({
242
242
  ...s,
243
243
  ...i
@@ -254,7 +254,7 @@ const qe = /* @__PURE__ */ Ke({
254
254
  })
255
255
  }
256
256
  }, t);
257
- }, Re = () => $e(qe), qt = (e, t) => {
257
+ }, ve = () => $e(qe), qt = (e, t) => {
258
258
  if (e.startOfWeek.getMonth() === e.endOfWeek.getMonth())
259
259
  return new Intl.DateTimeFormat(t, {
260
260
  month: "long",
@@ -297,8 +297,8 @@ const qe = /* @__PURE__ */ Ke({
297
297
  toDate: a
298
298
  };
299
299
  }, Jt = ({ setIsReloadingSlots: e }) => {
300
- const { appointmentFieldProps: t, appointmentState: n, setAppointmentState: a } = Re(), { value: r } = t, { actions: s } = ge();
301
- P(() => {
300
+ const { appointmentFieldProps: t, appointmentState: n, setAppointmentState: a } = ve(), { value: r } = t, { actions: s } = ge();
301
+ U(() => {
302
302
  (async () => {
303
303
  var i, c;
304
304
  if (r != null && r.startDate && (n != null && n.selectedDate) && (n == null ? void 0 : n.dataStatus) === W.DONE && !ae(new Date(r.startDate), n == null ? void 0 : n.selectedDate)) {
@@ -360,7 +360,7 @@ const sn = "SLOT_UNAVAILABLE", rn = (e) => {
360
360
  return ((t = e == null ? void 0 : e.params) == null ? void 0 : t.reason) === sn;
361
361
  }, ln = ({ error: e, selectedSlot: t }) => {
362
362
  const [n, a] = Q([]), r = rn(e), s = t == null ? void 0 : t.startDate, l = J(!1);
363
- return P(() => {
363
+ return U(() => {
364
364
  if (!r) {
365
365
  l.current = !1;
366
366
  return;
@@ -396,35 +396,35 @@ const sn = "SLOT_UNAVAILABLE", rn = (e) => {
396
396
  return !!((a = n.slot) != null && a.startDate) && ae(new Date(n.slot.startDate), e);
397
397
  }), Dn = () => {
398
398
  var we;
399
- const { appointmentFieldProps: e, appointmentState: t, setAppointmentState: n } = Re(), { language: a, isEditor: r, isComposer: s } = Ee(), { t: l } = dt(), { actions: i } = ge(), c = Ze(), [D, u] = Q(!1), [S, E] = Q(!1), [d, b] = Q(), [M, A] = Q();
399
+ const { appointmentFieldProps: e, appointmentState: t, setAppointmentState: n } = ve(), { language: a, isEditor: r, isComposer: s } = Ee(), { t: l } = dt(), { actions: i } = ge(), c = Ze(), [D, u] = Q(!1), [S, E] = Q(!1), [d, b] = Q(), [M, A] = Q();
400
400
  Jt({
401
401
  setIsReloadingSlots: u
402
402
  });
403
- const { onChange: I, value: O, target: U, initialData: z, formatDescription: Y, locationType: H, error: oe } = e, { availabilityDates: $, availabilitySlots: F, timezone: _ = "", selectedDate: N, currentSlotBulkSize: R, dataStatus: G, error: Z } = t, K = (we = z == null ? void 0 : z.service) == null ? void 0 : we.id, V = G === W.LOADING, ee = D || S, _e = !!Z, Me = ln({
403
+ const { onChange: I, value: O, target: x, initialData: z, formatDescription: Y, locationType: H, error: oe } = e, { availabilityDates: $, availabilitySlots: F, timezone: _ = "", selectedDate: N, currentSlotBulkSize: v, dataStatus: G, error: Z } = t, K = (we = z == null ? void 0 : z.service) == null ? void 0 : we.id, V = G === W.LOADING, ee = D || S, _e = !!Z, Me = ln({
404
404
  error: oe,
405
405
  selectedSlot: O
406
- }), y = B(() => en(F, Me), [
406
+ }), y = P(() => en(F, Me), [
407
407
  F,
408
408
  Me
409
409
  ]);
410
- P(() => {
410
+ U(() => {
411
411
  I == null || I(jt(O));
412
412
  }, [
413
413
  O == null ? void 0 : O.startDate,
414
414
  O == null ? void 0 : O.endDate,
415
415
  _
416
416
  ]), Dt((f) => {
417
- const L = f == null ? void 0 : f[U];
417
+ const L = f == null ? void 0 : f[x];
418
418
  F != null && F.length && n({
419
419
  availabilitySlots: F.filter((T) => {
420
- var k;
421
- return ((k = T == null ? void 0 : T.slot) == null ? void 0 : k.startDate) !== (L == null ? void 0 : L.startDate);
420
+ var R;
421
+ return ((R = T == null ? void 0 : T.slot) == null ? void 0 : R.startDate) !== (L == null ? void 0 : L.startDate);
422
422
  })
423
423
  });
424
- }), P(() => {
425
- if (y != null && y.length && R) {
424
+ }), U(() => {
425
+ if (y != null && y.length && v) {
426
426
  const f = an(de(O ?? void 0), y);
427
- f && f + 1 > R && n({
427
+ f && f + 1 > v && n({
428
428
  currentSlotBulkSize: f + 1
429
429
  });
430
430
  } else !(y != null && y.length) && O && (I == null || I(void 0));
@@ -433,25 +433,25 @@ const sn = "SLOT_UNAVAILABLE", rn = (e) => {
433
433
  y,
434
434
  $
435
435
  ]);
436
- const Ne = B(() => ct(a), [
436
+ const Ne = P(() => ct(a), [
437
437
  a
438
438
  ]), Fe = J(N);
439
- P(() => {
439
+ U(() => {
440
440
  const f = Fe.current;
441
441
  Fe.current = N, !!N && (!f || !ae(f, N)) && b(void 0);
442
442
  }, [
443
443
  N
444
444
  ]);
445
- const h = B(() => d ?? Ye(N ?? /* @__PURE__ */ new Date(), Ne), [
445
+ const h = P(() => d ?? Ye(N ?? /* @__PURE__ */ new Date(), Ne), [
446
446
  d,
447
447
  N,
448
448
  Ne
449
- ]), Je = B(() => {
449
+ ]), Je = P(() => {
450
450
  const f = be(/* @__PURE__ */ new Date()), L = new Intl.DateTimeFormat(a, {
451
451
  weekday: "short"
452
452
  }), T = new Intl.DateTimeFormat(a, {
453
453
  day: "numeric"
454
- }), k = new Intl.DateTimeFormat(a, {
454
+ }), R = new Intl.DateTimeFormat(a, {
455
455
  weekday: "long",
456
456
  month: "long",
457
457
  day: "numeric"
@@ -459,17 +459,17 @@ const sn = "SLOT_UNAVAILABLE", rn = (e) => {
459
459
  return Array.from({
460
460
  length: j
461
461
  }, (se, Oe) => {
462
- const x = te(h, Oe), Le = !!N && ae(x, N), rt = be(x) < f;
462
+ const B = te(h, Oe), Le = !!N && ae(B, N), rt = be(B) < f;
463
463
  return {
464
- key: mn(x),
465
- date: x,
464
+ key: mn(B),
465
+ date: B,
466
466
  isSelected: Le,
467
- isAvailable: !V && !ee && !Le && dn(x, $),
467
+ isAvailable: !V && !ee && !Le && dn(B, $),
468
468
  isDisabled: rt || ee && !Le,
469
- isToday: ae(x, f),
470
- dayOfMonthLabel: T.format(x),
471
- weekdayLabel: L.format(x),
472
- label: k.format(x),
469
+ isToday: ae(B, f),
470
+ dayOfMonthLabel: T.format(B),
471
+ weekdayLabel: L.format(B),
472
+ label: R.format(B),
473
473
  availabilityLabel: l("form.appointment.accessibility.calendar.has-availability.aria-label")
474
474
  };
475
475
  });
@@ -481,17 +481,17 @@ const sn = "SLOT_UNAVAILABLE", rn = (e) => {
481
481
  ee,
482
482
  a,
483
483
  l
484
- ]), pe = de(O ?? void 0) || void 0, Ae = B(() => V || D ? [] : (y ?? []).slice(0, R).flatMap((f) => {
484
+ ]), pe = de(O ?? void 0) || void 0, Ae = P(() => V || D ? [] : (y ?? []).slice(0, v).flatMap((f) => {
485
485
  const { startDate: L, endDate: T } = f.slot ?? {};
486
486
  if (!L || !T)
487
487
  return [];
488
- const k = de({
488
+ const R = de({
489
489
  startDate: L,
490
490
  endDate: T
491
491
  });
492
492
  return [
493
493
  {
494
- key: k,
494
+ key: R,
495
495
  startDate: L,
496
496
  endDate: T,
497
497
  timeRange: tn({
@@ -500,18 +500,18 @@ const sn = "SLOT_UNAVAILABLE", rn = (e) => {
500
500
  locale: a,
501
501
  timezone: _
502
502
  }),
503
- isSelected: k === pe
503
+ isSelected: R === pe
504
504
  }
505
505
  ];
506
506
  }), [
507
507
  y,
508
- R,
508
+ v,
509
509
  V,
510
510
  D,
511
511
  a,
512
512
  _,
513
513
  pe
514
- ]), ye = !D && !!(y != null && y.length) && (R || q) < y.length, Ie = h > Ye(/* @__PURE__ */ new Date(), Ne), et = re(
514
+ ]), ye = !D && !!(y != null && y.length) && (v || q) < y.length, Ie = h > Ye(/* @__PURE__ */ new Date(), Ne), et = re(
515
515
  async (f) => {
516
516
  var L;
517
517
  if (!(ee || N && ae(f, N))) {
@@ -558,7 +558,7 @@ const sn = "SLOT_UNAVAILABLE", rn = (e) => {
558
558
  const L = h, T = te(h, f * j);
559
559
  if (b(T), r || s)
560
560
  return;
561
- const k = ++ce.current;
561
+ const R = ++ce.current;
562
562
  E(!0), c == null || c.report({
563
563
  action: ne.CLICK,
564
564
  component: X.PAGINATION
@@ -570,13 +570,13 @@ const sn = "SLOT_UNAVAILABLE", rn = (e) => {
570
570
  fromDate: T,
571
571
  toDate: cn(te(T, j - 1))
572
572
  }));
573
- k === ce.current && n({
573
+ R === ce.current && n({
574
574
  availabilityDates: Oe
575
575
  });
576
576
  } catch {
577
- k === ce.current && b(L);
577
+ R === ce.current && b(L);
578
578
  } finally {
579
- k === ce.current && E(!1);
579
+ R === ce.current && E(!1);
580
580
  }
581
581
  },
582
582
  // eslint-disable-next-line react-hooks/exhaustive-deps
@@ -595,15 +595,15 @@ const sn = "SLOT_UNAVAILABLE", rn = (e) => {
595
595
  const L = Ae.find((se) => se.key === f);
596
596
  if (!L)
597
597
  return;
598
- const { startDate: T, endDate: k } = L;
598
+ const { startDate: T, endDate: R } = L;
599
599
  c == null || c.report({
600
600
  action: ne.CLICK,
601
601
  component: X.SLOT,
602
602
  startTime: new Date(T).valueOf(),
603
- endTime: new Date(k).valueOf()
603
+ endTime: new Date(R).valueOf()
604
604
  }), I == null || I({
605
605
  startDate: T,
606
- endDate: k,
606
+ endDate: R,
607
607
  timeZone: _
608
608
  });
609
609
  },
@@ -617,7 +617,7 @@ const sn = "SLOT_UNAVAILABLE", rn = (e) => {
617
617
  ), at = re(() => {
618
618
  if (!ye)
619
619
  return;
620
- const f = R || q;
620
+ const f = v || q;
621
621
  c == null || c.report({
622
622
  action: ne.CLICK,
623
623
  component: X.SHOW_MORE
@@ -626,9 +626,9 @@ const sn = "SLOT_UNAVAILABLE", rn = (e) => {
626
626
  });
627
627
  }, [
628
628
  ye,
629
- R,
629
+ v,
630
630
  c
631
- ]), ot = re(() => A(void 0), []), st = B(() => {
631
+ ]), ot = re(() => A(void 0), []), st = P(() => {
632
632
  if (_e)
633
633
  return l("form.appointment.empty-state.notification.text");
634
634
  if (!V && !D && !(y != null && y.length))
@@ -681,13 +681,13 @@ const sn = "SLOT_UNAVAILABLE", rn = (e) => {
681
681
  if (typeof e > "u")
682
682
  throw new Error("Appointment parts must be used inside an <Appointment> component");
683
683
  return e;
684
- }, ke = () => {
684
+ }, Re = () => {
685
685
  const { disabled: e, readOnly: t } = ie();
686
686
  return !!e || !!t;
687
687
  }, C = ({ children: e, className: t }) => {
688
- const { days: n, selectDate: a, weekRangeLabel: r } = w(), s = v(e, C.PreviousWeek), l = v(e, C.Heading), i = v(e, C.NextWeek), c = v(e, C.Day) ?? /* @__PURE__ */ o.createElement(C.Day, null), D = B(() => n.filter((d) => d.isSelected).map((d) => d.key), [
688
+ const { days: n, selectDate: a, weekRangeLabel: r } = w(), s = k(e, C.PreviousWeek), l = k(e, C.Heading), i = k(e, C.NextWeek), c = k(e, C.Day) ?? /* @__PURE__ */ o.createElement(C.Day, null), D = P(() => n.filter((d) => d.isSelected).map((d) => d.key), [
689
689
  n
690
- ]), u = ke(), S = B(() => n.filter((d) => u || d.isDisabled).map((d) => d.key), [
690
+ ]), u = Re(), S = P(() => n.filter((d) => u || d.isDisabled).map((d) => d.key), [
691
691
  n,
692
692
  u
693
693
  ]), E = (d) => {
@@ -700,7 +700,7 @@ const sn = "SLOT_UNAVAILABLE", rn = (e) => {
700
700
  };
701
701
  return /* @__PURE__ */ o.createElement("div", {
702
702
  className: t
703
- }, s, l, i, /* @__PURE__ */ o.createElement(Rt, {
703
+ }, s, l, i, /* @__PURE__ */ o.createElement(vt, {
704
704
  "aria-label": r,
705
705
  orientation: "horizontal",
706
706
  selectionMode: "single",
@@ -712,8 +712,8 @@ const sn = "SLOT_UNAVAILABLE", rn = (e) => {
712
712
  day: d
713
713
  }))));
714
714
  }, fn = ({ children: e, className: t }) => {
715
- const { changeWeek: n, canGoToPreviousWeek: a, previousWeekLabel: r, nextWeekLabel: s } = w(), l = ke(), i = J(null), c = J(!1);
716
- return P(() => {
715
+ const { changeWeek: n, canGoToPreviousWeek: a, previousWeekLabel: r, nextWeekLabel: s } = w(), l = Re(), i = J(null), c = J(!1);
716
+ return U(() => {
717
717
  var S, E, d;
718
718
  if (a || !c.current)
719
719
  return;
@@ -726,7 +726,7 @@ const sn = "SLOT_UNAVAILABLE", rn = (e) => {
726
726
  }, [
727
727
  a,
728
728
  s
729
- ]), /* @__PURE__ */ o.createElement(ve, {
729
+ ]), /* @__PURE__ */ o.createElement(ke, {
730
730
  ref: i,
731
731
  className: t,
732
732
  "aria-label": r,
@@ -736,8 +736,8 @@ const sn = "SLOT_UNAVAILABLE", rn = (e) => {
736
736
  }
737
737
  }, e ?? "‹");
738
738
  }, En = ({ children: e, className: t }) => {
739
- const { changeWeek: n, nextWeekLabel: a } = w(), r = ke();
740
- return /* @__PURE__ */ o.createElement(ve, {
739
+ const { changeWeek: n, nextWeekLabel: a } = w(), r = Re();
740
+ return /* @__PURE__ */ o.createElement(ke, {
741
741
  className: t,
742
742
  "aria-label": a,
743
743
  isDisabled: r,
@@ -758,7 +758,7 @@ const sn = "SLOT_UNAVAILABLE", rn = (e) => {
758
758
  }, a)));
759
759
  }, _n = ({ children: e, className: t, ...n }) => {
760
760
  const { day: a } = n;
761
- return /* @__PURE__ */ o.createElement(kt, {
761
+ return /* @__PURE__ */ o.createElement(Rt, {
762
762
  id: a.key,
763
763
  className: t,
764
764
  textValue: a.label,
@@ -775,12 +775,12 @@ C.Heading = Sn;
775
775
  C.NextWeek = En;
776
776
  C.Day = _n;
777
777
  const He = 'input[type="radio"]', fe = ({ children: e, className: t, ...n }) => {
778
- const { hasTimezoneNote: a, hasDateTitle: r } = n, { slots: s, selectedSlotKey: l, selectSlot: i, selectedDateLabel: c, isReloadingSlots: D, timezoneLabel: u, pendingFocusIndex: S, consumePendingFocusIndex: E } = w(), { id: d, disabled: b, readOnly: M, required: A, hasError: I } = ie(), { inputId: O, labelId: U, ariaDescribedBy: z } = le(), Y = J(null), H = v(e, fe.Slot) ?? /* @__PURE__ */ o.createElement(fe.Slot, null), oe = !!r && !!c, $ = [
778
+ const { hasTimezoneNote: a, hasDateTitle: r } = n, { slots: s, selectedSlotKey: l, selectSlot: i, selectedDateLabel: c, isReloadingSlots: D, timezoneLabel: u, pendingFocusIndex: S, consumePendingFocusIndex: E } = w(), { id: d, disabled: b, readOnly: M, required: A, hasError: I } = ie(), { inputId: O, labelId: x, ariaDescribedBy: z } = le(), Y = J(null), H = k(e, fe.Slot) ?? /* @__PURE__ */ o.createElement(fe.Slot, null), oe = !!r && !!c, $ = [
779
779
  z,
780
780
  a && u ? Qe(O) : void 0
781
781
  ].filter(Boolean).join(" ") || void 0, F = (_, N) => {
782
- var R, G, Z;
783
- (Z = (G = (R = Y.current) == null ? void 0 : R.querySelectorAll(He)) == null ? void 0 : G[_]) == null || Z.focus(N);
782
+ var v, G, Z;
783
+ (Z = (G = (v = Y.current) == null ? void 0 : v.querySelectorAll(He)) == null ? void 0 : G[_]) == null || Z.focus(N);
784
784
  };
785
785
  return ft(() => {
786
786
  var G, Z;
@@ -790,11 +790,11 @@ const He = 'input[type="radio"]', fe = ({ children: e, className: t, ...n }) =>
790
790
  });
791
791
  return;
792
792
  }
793
- const N = Array.from(((Z = document.getElementById(O)) == null ? void 0 : Z.querySelectorAll('[role="option"]')) ?? []), R = N.find((K) => K.getAttribute("aria-selected") === "true") ?? N.find((K) => K.getAttribute("aria-disabled") !== "true");
794
- R == null || R.focus({
793
+ const N = Array.from(((Z = document.getElementById(O)) == null ? void 0 : Z.querySelectorAll('[role="option"]')) ?? []), v = N.find((K) => K.getAttribute("aria-selected") === "true") ?? N.find((K) => K.getAttribute("aria-disabled") !== "true");
794
+ v == null || v.focus({
795
795
  preventScroll: !0
796
796
  });
797
- }, d), P(() => {
797
+ }, d), U(() => {
798
798
  S !== void 0 && (F(S), E());
799
799
  }, [
800
800
  S,
@@ -811,7 +811,7 @@ const He = 'input[type="radio"]', fe = ({ children: e, className: t, ...n }) =>
811
811
  isReadOnly: M,
812
812
  isRequired: A,
813
813
  isInvalid: I,
814
- "aria-labelledby": oe ? Xe(O) : U,
814
+ "aria-labelledby": oe ? Xe(O) : x,
815
815
  "aria-describedby": $,
816
816
  "data-refetch": D || void 0
817
817
  }, s.map((_) => Se(H, {
@@ -829,7 +829,7 @@ const He = 'input[type="radio"]', fe = ({ children: e, className: t, ...n }) =>
829
829
  };
830
830
  fe.Slot = Nn;
831
831
  const m = ({ children: e, className: t }) => {
832
- const n = ie(), { id: a, FieldLayout: r } = n, { labelId: s, inputId: l, ariaDescribedBy: i } = le(), c = Et(St.APPOINTMENT), D = B(() => ({
832
+ const n = ie(), { id: a, FieldLayout: r } = n, { labelId: s, inputId: l, ariaDescribedBy: i } = le(), c = Et(St.APPOINTMENT), D = P(() => ({
833
833
  ...n,
834
834
  initialData: c,
835
835
  inputId: l,
@@ -843,7 +843,7 @@ const m = ({ children: e, className: t }) => {
843
843
  s,
844
844
  i,
845
845
  a
846
- ]), u = v(e, m.Label), S = v(e, m.Description), E = v(e, m.Error);
846
+ ]), u = k(e, m.Label), S = k(e, m.Description), E = k(e, m.Error);
847
847
  return /* @__PURE__ */ o.createElement(r, {
848
848
  fieldId: a,
849
849
  renderLabel: () => Se(u, {
@@ -859,10 +859,10 @@ const m = ({ children: e, className: t }) => {
859
859
  }, pn = {
860
860
  visibility: "hidden"
861
861
  }, An = ({ children: e, className: t }) => {
862
- const { required: n, onFocus: a, onBlur: r } = ie(), { inputId: s, labelId: l, ariaDescribedBy: i } = le(), c = Dn(), D = v(e, m.Loader), u = v(e, m.Notification), S = v(e, m.Dates), E = v(e, m.Timezone), d = v(e, m.Format), b = v(e, m.DateTitle), M = v(e, m.Slots), A = v(e, m.ShowMoreSlots);
862
+ const { required: n, onFocus: a, onBlur: r } = ie(), { inputId: s, labelId: l, ariaDescribedBy: i } = le(), c = Dn(), D = k(e, m.Loader), u = k(e, m.Notification), S = k(e, m.Dates), E = k(e, m.Timezone), d = k(e, m.Format), b = k(e, m.DateTitle), M = k(e, m.Slots), A = k(e, m.ShowMoreSlots);
863
863
  return /* @__PURE__ */ o.createElement(je.Provider, {
864
864
  value: c
865
- }, /* @__PURE__ */ o.createElement(xt, {
865
+ }, /* @__PURE__ */ o.createElement(Bt, {
866
866
  id: s,
867
867
  className: t,
868
868
  ariaLabelledBy: l,
@@ -918,7 +918,7 @@ const m = ({ children: e, className: t }) => {
918
918
  }) : n) : null;
919
919
  }, bn = ({ children: e, className: t }) => {
920
920
  const { hasMoreSlots: n, showMoreSlots: a, showMoreSlotsLabel: r } = w(), { disabled: s, readOnly: l } = ie();
921
- return n ? /* @__PURE__ */ o.createElement(ve, {
921
+ return n ? /* @__PURE__ */ o.createElement(ke, {
922
922
  className: t,
923
923
  isDisabled: !!s || !!l,
924
924
  onPress: a
@@ -937,21 +937,21 @@ m.Slots = fe;
937
937
  m.ShowMoreSlots = bn;
938
938
  m.Description = ht;
939
939
  m.Error = Ct;
940
- const gn = "_appointment_14etx_1", vn = "_dates_14etx_5", Rn = "_weekHeading_14etx_30", kn = "_weekButton_14etx_36", Mn = "_previousWeek_14etx_68", Fn = "_nextWeek_14etx_72", wn = "_day_14etx_84", hn = "_weekdayLabel_14etx_94", Cn = "_dayNumber_14etx_103", Wn = "_indicator_14etx_107", xn = "_hint_14etx_130", Bn = "_slots_14etx_143", Pn = "_dateTitle_14etx_157", Un = "_slot_14etx_143", zn = "_slotHover_14etx_199", Yn = "_slotSelected_14etx_207", Hn = "_showMoreSlots_14etx_261", Kn = "_loader_14etx_292", $n = "_notification_14etx_328", p = {
940
+ const gn = "_appointment_ki27o_1", kn = "_dates_ki27o_5", vn = "_weekHeading_ki27o_30", Rn = "_weekButton_ki27o_36", Mn = "_previousWeek_ki27o_68", Fn = "_nextWeek_ki27o_72", wn = "_day_ki27o_84", hn = "_weekdayLabel_ki27o_94", Cn = "_dayNumber_ki27o_103", Wn = "_indicator_ki27o_107", Bn = "_hint_ki27o_130", Pn = "_slots_ki27o_143", Un = "_dateTitle_ki27o_157", xn = "_slot_ki27o_143", zn = "_slotHover_ki27o_199", Yn = "_slotSelected_ki27o_207", Hn = "_showMoreSlots_ki27o_261", Kn = "_loader_ki27o_292", $n = "_notification_ki27o_328", p = {
941
941
  appointment: gn,
942
- dates: vn,
943
- weekHeading: Rn,
944
- weekButton: kn,
942
+ dates: kn,
943
+ weekHeading: vn,
944
+ weekButton: Rn,
945
945
  previousWeek: Mn,
946
946
  nextWeek: Fn,
947
947
  day: wn,
948
948
  weekdayLabel: hn,
949
949
  dayNumber: Cn,
950
950
  indicator: Wn,
951
- hint: xn,
952
- slots: Bn,
953
- dateTitle: Pn,
954
- slot: Un,
951
+ hint: Bn,
952
+ slots: Pn,
953
+ dateTitle: Un,
954
+ slot: xn,
955
955
  slotHover: zn,
956
956
  slotSelected: Yn,
957
957
  showMoreSlots: Hn,
@@ -965,7 +965,7 @@ const gn = "_appointment_14etx_1", vn = "_dates_14etx_5", Rn = "_weekHeading_14e
965
965
  selected: p.slotSelected,
966
966
  hover: p.slotHover
967
967
  }, Vn = () => {
968
- const e = vt({
968
+ const e = kt({
969
969
  globalClasses: gt,
970
970
  moduleClasses: Zn
971
971
  });
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { M as o } from "./multiline-address-field-rac-ApBLSWB_.js";
2
+ import { M as o } from "./multiline-address-field-rac-DWasVZf-.js";
3
3
  const s = () => /* @__PURE__ */ e.createElement(o, null);
4
4
  export {
5
5
  s as BookingsAddressRAC
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { E as e } from "./email-input-field-rac-ompvaCLM.js";
2
+ import { E as e } from "./email-input-field-rac-D6ZmdvBn.js";
3
3
  const m = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  m as BookingsEmailRAC
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { T as e } from "./text-input-field-rac-BSo_dbkm.js";
2
+ import { T as e } from "./text-input-field-rac-DDRG3cfb.js";
3
3
  const m = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  m as BookingsFirstNameRAC
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { H as r } from "./header-field-rac-D56CKAtM.js";
2
+ import { H as r } from "./header-field-rac-DSX3MNZb.js";
3
3
  const a = () => /* @__PURE__ */ e.createElement(r, {
4
4
  truncate: !1
5
5
  });
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { T as e } from "./text-input-field-rac-BSo_dbkm.js";
2
+ import { T as e } from "./text-input-field-rac-DDRG3cfb.js";
3
3
  const m = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  m as BookingsLastNameRAC
@@ -1,6 +1,6 @@
1
1
  import o from "react";
2
2
  import E from "classnames";
3
- import { bN as d, bY as b, bF as f, bJ as x, W as p } from "./form-Co7SkMqj.js";
3
+ import { bN as d, bY as b, bF as f, bJ as x, W as p } from "./form-B1uAYoBy.js";
4
4
  import { Button as L } from "react-aria-components";
5
5
  import { a as m, f as g } from "./find-child-C60k4CxG.js";
6
6
  const l = ({ children: n }) => {
@@ -1,5 +1,5 @@
1
1
  import o from "react";
2
- import { P as e } from "./phone-input-field-rac-B9PUQJUP.js";
2
+ import { P as e } from "./phone-input-field-rac-vxg49cas.js";
3
3
  const r = () => /* @__PURE__ */ o.createElement(e, null);
4
4
  export {
5
5
  r as BookingsPhoneRAC
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { R as t } from "./rich-text-field-rac-EiH-NdJm.js";
2
+ import { R as t } from "./rich-text-field-rac-Ik1cWY9H.js";
3
3
  const c = () => /* @__PURE__ */ e.createElement(t, {
4
4
  truncate: !1
5
5
  });
@@ -2,16 +2,16 @@ import { RicosViewer as $n } from "@wix/ricos/viewer";
2
2
  import B from "classnames";
3
3
  import g, { useMemo as Jn, useRef as Yn, useCallback as Qn } from "react";
4
4
  import { CheckboxField as Zn, CheckboxButton as ei } from "react-aria-components";
5
- import { bk as ri, bN as et, b2 as Zr, b1 as ln, bY as ti, bF as ai, bs as ni, bK as ii, bP as si, bW as oi, o as ui, am as ci, t as fi, aY as li, M as _i, I as vi, s as hi } from "./form-Co7SkMqj.js";
5
+ import { bk as ri, bN as et, b2 as Zr, b1 as ln, bY as ti, bF as ai, bs as ni, bK as ii, bP as si, bW as oi, o as ui, am as ci, t as fi, aY as li, M as _i, I as vi, s as hi } from "./form-B1uAYoBy.js";
6
6
  import { f as W, a as yt } from "./find-child-C60k4CxG.js";
7
- import { D as pi, E as di } from "./field-error-headless-o2u5ldAp.js";
7
+ import { D as pi, E as di } from "./field-error-headless-CBInIAMD.js";
8
8
  import { Node_Type as yi } from "@wix/ricos/schema";
9
- import { c as re, r as $, e as E, a as J, d as bi, b as gi } from "./isObjectLike-mlNAmhLJ.js";
9
+ import { c as re, r as $, e as E, a as J, d as bi, b as gi } from "./isObjectLike-D1IFTIp7.js";
10
10
  import { S as qi } from "./selection-indicator-XQ8MYHUQ.js";
11
11
  import { E as Ci } from "./error-icon-hZxQ6DEy.js";
12
12
  import { C as Ai } from "./checkbox-indicator-module-classes-Cozvs_kk.js";
13
13
  import { s as oe } from "./field-rac.module-D0QzJXUv.js";
14
- import { u as mi } from "./use-element-state-class-name-BUu6zq-d.js";
14
+ import { u as mi } from "./use-element-state-class-name-BDRRB7Xj.js";
15
15
  var ue, bt;
16
16
  function Ii() {
17
17
  if (bt) return ue;
@@ -1,10 +1,10 @@
1
1
  import o, { useRef as q, useMemo as F, useCallback as $, useState as w, useEffect as K } from "react";
2
2
  import { CheckboxGroup as A, CheckboxField as M, CheckboxButton as Y, TextField as j, Input as z } from "react-aria-components";
3
3
  import { debounce as J } from "ts-debounce";
4
- import { bN as R, bK as Q, bW as U, bY as X, bP as Z } from "./form-Co7SkMqj.js";
4
+ import { bN as R, bK as Q, bW as U, bY as X, bP as Z } from "./form-B1uAYoBy.js";
5
5
  import { f as I, a as k } from "./find-child-C60k4CxG.js";
6
- import { D as ee, E as te } from "./field-error-headless-o2u5ldAp.js";
7
- import { L as ae } from "./field-label-headless-DvNWYzXc.js";
6
+ import { D as ee, E as te } from "./field-error-headless-CBInIAMD.js";
7
+ import { L as ae } from "./field-label-headless-DV4KBQmG.js";
8
8
  import { F as ne } from "./fieldset-headless-CD3fds9J.js";
9
9
  import { S as le } from "./selection-indicator-XQ8MYHUQ.js";
10
10
  const N = "Other", se = (e, t) => e.some((r) => !t.includes(r)), B = (e, t) => e.length > 0 && se(e, t), re = (e, t) => {