@wix/form-elements 1.77.0 → 1.78.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 (105) hide show
  1. package/dist/component/{appointment-rac-BQsFMmBg.js → appointment-rac-DWxisWGW.js} +47 -47
  2. package/dist/component/{bookings-address-rac-AJNyTdok.js → bookings-address-rac-BT-VBypp.js} +1 -1
  3. package/dist/component/{bookings-email-rac-BHZ0MFgI.js → bookings-email-rac-CVpK16ZI.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-Bw5FuWNX.js → bookings-first-name-rac-CDe5wve0.js} +1 -1
  5. package/dist/component/{bookings-header-rac-C1M2Pg1f.js → bookings-header-rac-BsMQ2QGm.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-DKkPY0CO.js → bookings-last-name-rac-Bpg5n4Dr.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-P6pziSl1.js → bookings-login-bar-rac-DnMB_v13.js} +2 -2
  8. package/dist/component/{bookings-phone-rac-CiOZWKHz.js → bookings-phone-rac-B8FoaVqv.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-D9ZComtY.js → bookings-rich-text-rac-CqD2O9X7.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-4zG3Sf1c.js → checkbox-field-rac-CydYZGle.js} +46 -46
  11. package/dist/component/{checkbox-group-field-headless-DN2aNw9g.js → checkbox-group-field-headless-BdrQjLsc.js} +3 -3
  12. package/dist/component/{checkbox-group-field-rac-B1qhet83.js → checkbox-group-field-rac-D2mXFpmR.js} +3 -3
  13. package/dist/component/{checkbox-group-rac-DGsE7xGu.js → checkbox-group-rac-CTQRNdXf.js} +1 -1
  14. package/dist/component/{checkbox-rac-CFWQW9_K.js → checkbox-rac-d8u0ahzA.js} +1 -1
  15. package/dist/component/{contacts-address-rac-G5ZH3Odo.js → contacts-address-rac-CJYLD7fU.js} +1 -1
  16. package/dist/component/{contacts-birthdate-rac-C7TDUfT0.js → contacts-birthdate-rac-BYWcPC9J.js} +1 -1
  17. package/dist/component/{contacts-company-rac-8queUhWT.js → contacts-company-rac-B-hxWRwZ.js} +1 -1
  18. package/dist/component/{contacts-email-rac-CYOs5N_I.js → contacts-email-rac-9M965qjz.js} +1 -1
  19. package/dist/component/{contacts-first-name-rac-D8Goc_Ym.js → contacts-first-name-rac-BD6j79WW.js} +1 -1
  20. package/dist/component/{contacts-last-name-rac-lBmtuEnr.js → contacts-last-name-rac-DJ3UqnhZ.js} +1 -1
  21. package/dist/component/{contacts-phone-rac-DSUWUNBX.js → contacts-phone-rac-BQo85LSR.js} +1 -1
  22. package/dist/component/{contacts-position-rac-wA-aw5Id.js → contacts-position-rac-D1EEYf-q.js} +1 -1
  23. package/dist/component/contacts-subscribe-rac-D3_UmlB-.js +13 -0
  24. package/dist/component/{contacts-tax-id-rac-BpjVM1Ye.js → contacts-tax-id-rac-BUFbFFLw.js} +1 -1
  25. package/dist/component/{date-availability-CeiMjrtD.js → date-availability-Vtj_pmEf.js} +1 -1
  26. package/dist/component/{date-input-field-rac-CVaajAFM.js → date-input-field-rac-BN7Dec-O.js} +8 -8
  27. package/dist/component/{date-input-rac-DhEzawuM.js → date-input-rac-D0EknjCI.js} +1 -1
  28. package/dist/component/{date-picker-field-rac-1Q6yyNmK.js → date-picker-field-rac-JmIyqlEg.js} +8 -8
  29. package/dist/component/{date-picker-rac-BCGtmXMJ.js → date-picker-rac-CzbmZuUr.js} +1 -1
  30. package/dist/component/{date-time-input-field-rac-Dd-HNgKP.js → date-time-input-field-rac-9TAf-9BT.js} +15 -15
  31. package/dist/component/{date-time-input-rac-CsCWEsH5.js → date-time-input-rac-BMC95LdQ.js} +1 -1
  32. package/dist/component/{dext-checkbox-group-rac-CauN5uuV.js → dext-checkbox-group-rac-2IUeY8CX.js} +2 -2
  33. package/dist/component/{dext-checkbox-rac-q-g9gDnw.js → dext-checkbox-rac-DC-tLcqg.js} +1 -1
  34. package/dist/component/{dext-date-picker-rac-CZT3dTLv.js → dext-date-picker-rac-DgQdlofb.js} +1 -1
  35. package/dist/component/{dext-date-time-input-rac-DVUoZZbX.js → dext-date-time-input-rac-DgU7Nkxk.js} +1 -1
  36. package/dist/component/{dext-dropdown-rac-GRltutt5.js → dext-dropdown-rac-BKxqCr4C.js} +1 -1
  37. package/dist/component/{dext-email-rac-74Y8S9GA.js → dext-email-rac-coWG-88b.js} +1 -1
  38. package/dist/component/{dext-number-input-rac-CF9d_GTl.js → dext-number-input-rac--WG5wQFz.js} +1 -1
  39. package/dist/component/{dext-phone-rac-DObx_gOd.js → dext-phone-rac-ikgoCqRF.js} +1 -1
  40. package/dist/component/{dext-radio-group-rac-CzU9KX5_.js → dext-radio-group-rac-CSmi7-KP.js} +2 -2
  41. package/dist/component/{dext-rating-input-rac-BjRwwgXr.js → dext-rating-input-rac-CrUReQ7k.js} +1 -1
  42. package/dist/component/{dext-tags-rac-Vif4x1yF.js → dext-tags-rac-C0iyj2fA.js} +2 -2
  43. package/dist/component/{dext-text-area-rac-DmZwl_ax.js → dext-text-area-rac-k1bspboS.js} +1 -1
  44. package/dist/component/{dext-text-input-rac-B6FVbjUM.js → dext-text-input-rac-DvapRpAx.js} +1 -1
  45. package/dist/component/{dext-url-input-rac-17Dj3ICM.js → dext-url-input-rac-CAut8IVQ.js} +1 -1
  46. package/dist/component/{donation-rac-bgHep0Xi.js → donation-rac-BOqNDuTc.js} +23 -23
  47. package/dist/component/{dropdown-field-headless-BGfJ1FyZ.js → dropdown-field-headless-CS5wUgQ6.js} +3 -3
  48. package/dist/component/{dropdown-field-rac-DGiysJQY.js → dropdown-field-rac-MRo5oOWE.js} +2 -2
  49. package/dist/component/{dropdown-rac-FHjz8fKp.js → dropdown-rac-BjdsRMD6.js} +1 -1
  50. package/dist/component/{ecom-address-rac-DSbpf4z8.js → ecom-address-rac-DfYVinX3.js} +1 -1
  51. package/dist/component/{ecom-subscription-checkbox-rac-DiZWNwnt.js → ecom-subscription-checkbox-rac-S_Wzz9Jb.js} +3 -3
  52. package/dist/component/{email-input-field-rac-BQKK2O7L.js → email-input-field-rac-Ci2MzEdX.js} +47 -47
  53. package/dist/component/{events-repeater-rac-Dudnyhal.js → events-repeater-rac-DiuDVYBS.js} +4 -4
  54. package/dist/component/{events-rsvp-rac-008H5Ska.js → events-rsvp-rac-Cc27Vkvf.js} +2 -2
  55. package/dist/component/{field-error-headless-C5ZsFUKv.js → field-error-headless-DvmM1k0W.js} +1 -1
  56. package/dist/component/{field-label-headless-CS5OYsiI.js → field-label-headless-DKn04-OM.js} +1 -1
  57. package/dist/component/{file-upload-rac-bQ2QOO8Q.js → file-upload-rac-CB6xdN8j.js} +34 -34
  58. package/dist/component/{fixed-payment-rac-B6FvXoCU.js → fixed-payment-rac-ATi0oywP.js} +4 -4
  59. package/dist/component/{form-BpHElSwH.js → form-_3vjdih8.js} +69 -69
  60. package/dist/component/{form-element-classes-BXNs5k3q.js → form-element-classes-DZiFyihd.js} +37 -33
  61. package/dist/component/form.css +1 -1
  62. package/dist/component/form.js +1 -1
  63. package/dist/component/{header-field-rac-D4UYcmok.js → header-field-rac-pd3cDG5d.js} +3 -3
  64. package/dist/component/{header-rac-KavPiBdn.js → header-rac-fSMu24tQ.js} +1 -1
  65. package/dist/component/{image-choice-rac-BJQqBhBD.js → image-choice-rac-B7kSWlmM.js} +8 -8
  66. package/dist/component/{index-RSEYrQef.js → index-BTVyiZNf.js} +2 -2
  67. package/dist/component/{index-Y8iTxLat.js → index-QsnKRW-J.js} +4 -4
  68. package/dist/component/{isObjectLike-jwHec4Ap.js → isObjectLike-YK6n3FVo.js} +1 -1
  69. package/dist/component/{multiline-address-field-rac-D4Ibno80.js → multiline-address-field-rac-CDKbEU14.js} +37 -37
  70. package/dist/component/{multiline-address-rac-CrTSjzBN.js → multiline-address-rac-DflLsZ5w.js} +1 -1
  71. package/dist/component/{number-input-field-rac-DW1SjB-Z.js → number-input-field-rac-Bc6vH-Nl.js} +7 -7
  72. package/dist/component/{number-input-rac-CdE_hRbA.js → number-input-rac-J3DpYc9U.js} +1 -1
  73. package/dist/component/{password-rac-BCxl5mMQ.js → password-rac-DUsCGTgT.js} +10 -10
  74. package/dist/component/{payment-input-rac-DmO4s4ue.js → payment-input-rac-C7ir9WYG.js} +10 -10
  75. package/dist/component/{phone-input-field-rac-BYAnwk5h.js → phone-input-field-rac-BTCDRtYe.js} +26 -26
  76. package/dist/component/{phone-rac-gS4k9Yn8.js → phone-rac-Dk5FzIxX.js} +1 -1
  77. package/dist/component/{product-list-rac-CO0o3yOg.js → product-list-rac-BnXK6jhc.js} +22 -22
  78. package/dist/component/{quiz-radio-group-rac-Dhk7nkzb.js → quiz-radio-group-rac-BW3Vh-ZF.js} +2 -2
  79. package/dist/component/{radio-group-field-rac-DdlyQ3m6.js → radio-group-field-rac-C7IlBNGI.js} +2 -2
  80. package/dist/component/{radio-group-field-rac.module-emin6sSc.js → radio-group-field-rac.module-BRkiHqU7.js} +3 -3
  81. package/dist/component/{radio-group-rac-B-9q91fJ.js → radio-group-rac-DWJRHfZS.js} +1 -1
  82. package/dist/component/rating-input-field-rac-Bic4P2NB.js +136 -0
  83. package/dist/component/{rating-input-rac-BVO62LmE.js → rating-input-rac-B9M2UXqM.js} +1 -1
  84. package/dist/component/{rich-content-rac.module-CdiaAjxG.js → rich-content-rac.module-CuxZg6ls.js} +1 -1
  85. package/dist/component/{rich-text-field-rac-C4RrbyEX.js → rich-text-field-rac-CLEYP_pZ.js} +3 -3
  86. package/dist/component/{rich-text-rac-BG376ww9.js → rich-text-rac-YRAKNkpJ.js} +1 -1
  87. package/dist/component/{service-dropdown-rac-Dy6-OpVR.js → service-dropdown-rac-Dg4ijvf0.js} +11 -11
  88. package/dist/component/{services-multi-choice-rac-BKW9MP_b.js → services-multi-choice-rac-DcDxYaDU.js} +11 -11
  89. package/dist/component/{signature-rac-Cxgixp4o.js → signature-rac-BDj4xTdv.js} +35 -35
  90. package/dist/component/{submit-button-rac-BqPJ7WPI.js → submit-button-rac-DIigBeH5.js} +2 -2
  91. package/dist/component/{tags-field-rac-wwqpztG7.js → tags-field-rac-CJp9XBhV.js} +15 -15
  92. package/dist/component/{tags-rac-DUxITYxU.js → tags-rac-zlatHQ0n.js} +1 -1
  93. package/dist/component/{text-area-field-rac-Cen6O33S.js → text-area-field-rac-CFm-_Tz9.js} +13 -13
  94. package/dist/component/{text-area-rac-CRlO56GA.js → text-area-rac-BSJfRYEx.js} +1 -1
  95. package/dist/component/{text-input-field-rac-CbnKn03g.js → text-input-field-rac-ZTDIhRqT.js} +2 -2
  96. package/dist/component/{text-input-headless-C_NTJmLe.js → text-input-headless-4hu-GjTm.js} +3 -3
  97. package/dist/component/{text-input-rac-DvwV7Igm.js → text-input-rac-BTx8ELp7.js} +1 -1
  98. package/dist/component/{time-input-rac-TSEXiODs.js → time-input-rac-DmPMNJPn.js} +7 -7
  99. package/dist/component/{url-input-field-rac-Cxgh9T8s.js → url-input-field-rac-BPN4hmYh.js} +14 -14
  100. package/dist/component/{url-input-rac-DNw-Jg1U.js → url-input-rac-CEeg1r2O.js} +1 -1
  101. package/dist/component/{use-element-state-class-name-CC65g9mT.js → use-element-state-class-name-DVT9MJFT.js} +1 -1
  102. package/dist/component/{use-service-options-base-EFrxTpGm.js → use-service-options-base-J4FBFnZH.js} +1 -1
  103. package/package.json +2 -2
  104. package/dist/component/contacts-subscribe-rac-CAbBbFxZ.js +0 -13
  105. package/dist/component/rating-input-field-rac-VDaJKq-n.js +0 -126
@@ -1,17 +1,17 @@
1
- import o, { useRef as X, useState as Q, useEffect as H, createContext as $e, useContext as Ge, useMemo as P, useCallback as ie } from "react";
1
+ import o, { useRef as J, useState as j, useEffect as H, createContext as $e, useContext as Ge, useMemo as P, useCallback as ie } from "react";
2
2
  import { RicosViewer as it } from "@wix/ricos/viewer";
3
3
  import M from "classnames";
4
- import { ab as ce, aa as lt, ae as ve, ad as ct, c as mt, as as ut, ar as dt, ai as me, af as Se, ak as ft, ah as Dt, F as Et } from "./form-BpHElSwH.js";
4
+ import { ab as ce, aa as lt, ae as ve, ad as ct, c as mt, as as ut, ar as dt, ai as me, af as Se, ak as ft, ah as Dt, F as Et } from "./form-_3vjdih8.js";
5
5
  import { C as Ce } from "./chevron-down-icon-CcpVm6B-.js";
6
6
  import { E as St } from "./error-icon-hZxQ6DEy.js";
7
7
  import { H as fe } from "./custom-focus-class-_483Pkwp.js";
8
8
  import { s as De } from "./field-rac.module-DjmaTYkc.js";
9
- import { z as pt, Q as _t, a as Lt, x as We, h as yt, X as Nt, p as At, i as bt, a3 as It } from "./form-element-classes-BXNs5k3q.js";
10
- import { u as Ot } from "./use-element-state-class-name-CC65g9mT.js";
9
+ import { z as pt, P as _t, a as Lt, x as We, h as yt, W as Nt, p as At, i as bt, a2 as It } from "./form-element-classes-DZiFyihd.js";
10
+ import { u as Ot } from "./use-element-state-class-name-DVT9MJFT.js";
11
11
  import { ListBox as gt, Button as ke, ListBoxItem as Tt, RadioGroup as vt, RadioField as kt, RadioButton as Rt } from "react-aria-components";
12
12
  import { f as T, a as le } from "./find-child-C60k4CxG.js";
13
- import { D as wt, E as Mt } from "./field-error-headless-C5ZsFUKv.js";
14
- import { L as Ft } from "./field-label-headless-CS5OYsiI.js";
13
+ import { D as wt, E as Mt } from "./field-error-headless-DvmM1k0W.js";
14
+ import { L as Ft } from "./field-label-headless-DKn04-OM.js";
15
15
  import { F as ht } from "./fieldset-headless-CD3fds9J.js";
16
16
  import { g as Ct } from "./get-first-day-of-the-week-DvnsxYhQ.js";
17
17
  import "date-fns";
@@ -25,7 +25,7 @@ var Oe = /* @__PURE__ */ (function(e) {
25
25
  return e.LOADING = "LOADING", e.DONE = "DONE", e.ERROR = "ERROR", e;
26
26
  })({});
27
27
  const V = 4;
28
- var j = /* @__PURE__ */ (function(e) {
28
+ var Q = /* @__PURE__ */ (function(e) {
29
29
  return e.FORM = "form", e.NO_AVAILABILITY_FOR_DATE = "no availability for date empty state", e.NO_AVAILABILITY_AT_ALL = "no availability at all empty state", e.SLOT = "slot", e.DATE = "date", e.PAGINATION = "pagination", e.SHOW_MORE = "show more", e;
30
30
  })({}), te = /* @__PURE__ */ (function(e) {
31
31
  return e.LOAD = "load", e.CLICK = "click", e;
@@ -158,9 +158,9 @@ const xt = (e) => {
158
158
  };
159
159
  function Kt(e) {
160
160
  var f;
161
- const { initialData: n, onChange: t, value: a } = e, { isEditor: s, isComposer: r } = ce(), u = (f = n == null ? void 0 : n.service) == null ? void 0 : f.id, { actions: i } = ve(), l = X(i);
161
+ const { initialData: n, onChange: t, value: a } = e, { isEditor: s, isComposer: r } = ce(), u = (f = n == null ? void 0 : n.service) == null ? void 0 : f.id, { actions: i } = ve(), l = J(i);
162
162
  l.current = i;
163
- const c = !!(i != null && i.getAvailabilityDates && (i != null && i.getAvailabilitySlots)), [d, S] = Q(null), E = Ve(n == null ? void 0 : n.service);
163
+ const c = !!(i != null && i.getAvailabilityDates && (i != null && i.getAvailabilitySlots)), [d, S] = j(null), E = Ve(n == null ? void 0 : n.service);
164
164
  return H(() => {
165
165
  u && !s && !r && c && (async () => {
166
166
  var W, N, A, Y, B;
@@ -183,7 +183,7 @@ function Kt(e) {
183
183
  if (O.availabilityDates = await U(2), (W = O.availabilityDates) != null && W.length || (O.availabilityDates = await U(6)), !((N = O.availabilityDates) != null && N.length)) {
184
184
  E == null || E.report({
185
185
  action: te.LOAD,
186
- component: j.NO_AVAILABILITY_AT_ALL
186
+ component: Q.NO_AVAILABILITY_AT_ALL
187
187
  }), S({
188
188
  dataStatus: z.ERROR,
189
189
  error: {
@@ -199,7 +199,7 @@ function Kt(e) {
199
199
  selectedDate: O.selectedDate
200
200
  }))), E == null || E.report({
201
201
  action: te.LOAD,
202
- component: (B = O.availabilityDates) != null && B.length ? j.FORM : j.NO_AVAILABILITY_FOR_DATE
202
+ component: (B = O.availabilityDates) != null && B.length ? Q.FORM : Q.NO_AVAILABILITY_FOR_DATE
203
203
  }), a != null && a.startDate || t(void 0), S({
204
204
  ...O,
205
205
  dataStatus: z.DONE
@@ -221,12 +221,12 @@ function Kt(e) {
221
221
  c
222
222
  ]), d;
223
223
  }
224
- const Qe = /* @__PURE__ */ $e({
224
+ const je = /* @__PURE__ */ $e({
225
225
  appointmentState: {},
226
226
  setAppointmentState: () => {
227
227
  }
228
228
  }), $t = ({ appointmentFieldProps: e, children: n }) => {
229
- const { isEditor: t, isComposer: a } = ce(), [s, r] = Q(() => Pt({
229
+ const { isEditor: t, isComposer: a } = ce(), [s, r] = j(() => Pt({
230
230
  appointmentFieldProps: e,
231
231
  isEditor: t,
232
232
  isComposer: a
@@ -238,7 +238,7 @@ const Qe = /* @__PURE__ */ $e({
238
238
  });
239
239
  }, [
240
240
  u
241
- ]), /* @__PURE__ */ o.createElement(Qe.Provider, {
241
+ ]), /* @__PURE__ */ o.createElement(je.Provider, {
242
242
  value: {
243
243
  appointmentFieldProps: e,
244
244
  appointmentState: s,
@@ -248,7 +248,7 @@ const Qe = /* @__PURE__ */ $e({
248
248
  })
249
249
  }
250
250
  }, n);
251
- }, Re = () => Ge(Qe), Gt = (e, n) => {
251
+ }, Re = () => Ge(je), Gt = (e, n) => {
252
252
  if (e.startOfWeek.getMonth() === e.endOfWeek.getMonth())
253
253
  return new Intl.DateTimeFormat(n, {
254
254
  month: "long",
@@ -290,7 +290,7 @@ const Qe = /* @__PURE__ */ $e({
290
290
  fromDate: t,
291
291
  toDate: a
292
292
  };
293
- }, Qt = ({ setIsReloadingSlots: e }) => {
293
+ }, jt = ({ setIsReloadingSlots: e }) => {
294
294
  const { appointmentFieldProps: n, appointmentState: t, setAppointmentState: a } = Re(), { value: s } = n, { actions: r } = ve();
295
295
  H(() => {
296
296
  (async () => {
@@ -321,17 +321,17 @@ const Qe = /* @__PURE__ */ $e({
321
321
  s,
322
322
  t == null ? void 0 : t.dataStatus
323
323
  ]);
324
- }, jt = (e, n) => !e || !n.length ? e : e.filter((t) => {
324
+ }, Qt = (e, n) => !e || !n.length ? e : e.filter((t) => {
325
325
  var a;
326
326
  return !n.includes(((a = t == null ? void 0 : t.slot) == null ? void 0 : a.startDate) ?? "");
327
- }), Ee = (e) => !(e != null && e.startDate) || !(e != null && e.endDate) ? "" : `${e == null ? void 0 : e.startDate}_${e == null ? void 0 : e.endDate}`, Xt = ({ locale: e, endDate: n, startDate: t, timezone: a }) => {
327
+ }), Ee = (e) => !(e != null && e.startDate) || !(e != null && e.endDate) ? "" : `${e == null ? void 0 : e.startDate}_${e == null ? void 0 : e.endDate}`, Jt = ({ locale: e, endDate: n, startDate: t, timezone: a }) => {
328
328
  const s = {
329
329
  hour: "numeric",
330
330
  minute: "numeric",
331
331
  timeZone: a
332
332
  }, r = new Intl.DateTimeFormat(e, s).format(new Date(t)), u = new Intl.DateTimeFormat(e, s).format(new Date(n));
333
333
  return `${r} - ${u}`;
334
- }, Jt = ({ selectedDate: e, locale: n, timezone: t }) => e ? new Intl.DateTimeFormat(n, {
334
+ }, Xt = ({ selectedDate: e, locale: n, timezone: t }) => e ? new Intl.DateTimeFormat(n, {
335
335
  weekday: "long",
336
336
  month: "short",
337
337
  day: "numeric",
@@ -353,7 +353,7 @@ const nn = "SLOT_UNAVAILABLE", He = [], an = (e) => {
353
353
  var n;
354
354
  return ((n = e == null ? void 0 : e.params) == null ? void 0 : n.reason) === nn;
355
355
  }, on = ({ error: e, selectedSlot: n }) => {
356
- const { isExperimentEnabled: t } = ct(), a = t(mt.BIF_SLOT_HOLD), [s, r] = Q(He), u = a && an(e), i = n == null ? void 0 : n.startDate, l = X(!1);
356
+ const { isExperimentEnabled: t } = ct(), a = t(mt.BIF_SLOT_HOLD), [s, r] = j(He), u = a && an(e), i = n == null ? void 0 : n.startDate, l = J(!1);
357
357
  return H(() => {
358
358
  if (!u) {
359
359
  l.current = !1;
@@ -390,14 +390,14 @@ const nn = "SLOT_UNAVAILABLE", He = [], an = (e) => {
390
390
  return !!((a = t.slot) != null && a.startDate) && ne(new Date(t.slot.startDate), e);
391
391
  }), mn = () => {
392
392
  var he;
393
- const { appointmentFieldProps: e, appointmentState: n, setAppointmentState: t } = Re(), { language: a, isEditor: s, isComposer: r, isMobile: u } = ce(), { t: i } = ut(), { actions: l } = ve(), c = Ve(), [d, S] = Q(!1), [E, f] = Q(!1), [g, v] = Q(), [O, W] = Q();
394
- Qt({
393
+ const { appointmentFieldProps: e, appointmentState: n, setAppointmentState: t } = Re(), { language: a, isEditor: s, isComposer: r, isMobile: u } = ce(), { t: i } = ut(), { actions: l } = ve(), c = Ve(), [d, S] = j(!1), [E, f] = j(!1), [g, v] = j(), [O, W] = j();
394
+ jt({
395
395
  setIsReloadingSlots: S
396
396
  });
397
- const { onChange: N, value: A, target: Y, initialData: B, formatDescription: U, locationType: oe, error: se } = e, { availabilityDates: $, availabilitySlots: k, timezone: _ = "", selectedDate: L, currentSlotBulkSize: R, dataStatus: G, error: ue } = n, K = (he = B == null ? void 0 : B.service) == null ? void 0 : he.id, Z = G === z.LOADING, J = d || E, pe = !!ue, Me = on({
397
+ const { onChange: N, value: A, target: Y, initialData: B, formatDescription: U, locationType: oe, error: se } = e, { availabilityDates: $, availabilitySlots: k, timezone: _ = "", selectedDate: L, currentSlotBulkSize: R, dataStatus: G, error: ue } = n, K = (he = B == null ? void 0 : B.service) == null ? void 0 : he.id, Z = G === z.LOADING, X = d || E, pe = !!ue, Me = on({
398
398
  error: se,
399
399
  selectedSlot: A
400
- }), y = P(() => jt(k, Me), [
400
+ }), y = P(() => Qt(k, Me), [
401
401
  k,
402
402
  Me
403
403
  ]);
@@ -429,7 +429,7 @@ const nn = "SLOT_UNAVAILABLE", He = [], an = (e) => {
429
429
  ]);
430
430
  const _e = P(() => Ct(a), [
431
431
  a
432
- ]), Fe = X(L);
432
+ ]), Fe = J(L);
433
433
  H(() => {
434
434
  const D = Fe.current;
435
435
  Fe.current = L, !!L && (!D || !ne(D, L)) && v(void 0);
@@ -440,7 +440,7 @@ const nn = "SLOT_UNAVAILABLE", He = [], an = (e) => {
440
440
  g,
441
441
  L,
442
442
  _e
443
- ]), Je = P(() => {
443
+ ]), Xe = P(() => {
444
444
  const D = Te(/* @__PURE__ */ new Date()), b = new Intl.DateTimeFormat(a, {
445
445
  weekday: u ? "narrow" : "short"
446
446
  }), I = new Intl.DateTimeFormat(a, {
@@ -458,8 +458,8 @@ const nn = "SLOT_UNAVAILABLE", He = [], an = (e) => {
458
458
  key: rn(x),
459
459
  date: x,
460
460
  isSelected: Ie,
461
- isAvailable: !Z && !J && !Ie && cn(x, $),
462
- isDisabled: rt || J && !Ie,
461
+ isAvailable: !Z && !X && !Ie && cn(x, $),
462
+ isDisabled: rt || X && !Ie,
463
463
  isToday: ne(x, D),
464
464
  dayOfMonthLabel: I.format(x),
465
465
  weekdayLabel: b.format(x),
@@ -472,7 +472,7 @@ const nn = "SLOT_UNAVAILABLE", He = [], an = (e) => {
472
472
  L,
473
473
  $,
474
474
  Z,
475
- J,
475
+ X,
476
476
  a,
477
477
  u,
478
478
  i
@@ -489,7 +489,7 @@ const nn = "SLOT_UNAVAILABLE", He = [], an = (e) => {
489
489
  key: w,
490
490
  startDate: b,
491
491
  endDate: I,
492
- timeRange: Xt({
492
+ timeRange: Jt({
493
493
  startDate: b,
494
494
  endDate: I,
495
495
  locale: a,
@@ -509,14 +509,14 @@ const nn = "SLOT_UNAVAILABLE", He = [], an = (e) => {
509
509
  ]), Ne = !d && !!(y != null && y.length) && (R || V) < y.length, Ae = h > Ye(/* @__PURE__ */ new Date(), _e), et = ie(
510
510
  async (D) => {
511
511
  var b;
512
- if (!(J || L && ne(D, L))) {
512
+ if (!(X || L && ne(D, L))) {
513
513
  S(!0), N == null || N(void 0), t({
514
514
  currentSlotBulkSize: V,
515
515
  selectedDate: D,
516
516
  availabilitySlots: void 0
517
517
  }), c == null || c.report({
518
518
  action: te.CLICK,
519
- component: j.DATE
519
+ component: Q.DATE
520
520
  });
521
521
  try {
522
522
  const I = await ((b = l == null ? void 0 : l.getAvailabilitySlots) == null ? void 0 : b.call(l, {
@@ -537,7 +537,7 @@ const nn = "SLOT_UNAVAILABLE", He = [], an = (e) => {
537
537
  },
538
538
  // eslint-disable-next-line react-hooks/exhaustive-deps
539
539
  [
540
- J,
540
+ X,
541
541
  L,
542
542
  K,
543
543
  _,
@@ -545,7 +545,7 @@ const nn = "SLOT_UNAVAILABLE", He = [], an = (e) => {
545
545
  N,
546
546
  c
547
547
  ]
548
- ), de = X(0), tt = ie(
548
+ ), de = J(0), tt = ie(
549
549
  async (D) => {
550
550
  var re;
551
551
  if (D < 0 && !Ae)
@@ -556,7 +556,7 @@ const nn = "SLOT_UNAVAILABLE", He = [], an = (e) => {
556
556
  const w = ++de.current;
557
557
  f(!0), c == null || c.report({
558
558
  action: te.CLICK,
559
- component: j.PAGINATION
559
+ component: Q.PAGINATION
560
560
  });
561
561
  try {
562
562
  const be = await ((re = l == null ? void 0 : l.getAvailabilityDates) == null ? void 0 : re.call(l, {
@@ -593,7 +593,7 @@ const nn = "SLOT_UNAVAILABLE", He = [], an = (e) => {
593
593
  const { startDate: I, endDate: w } = b;
594
594
  c == null || c.report({
595
595
  action: te.CLICK,
596
- component: j.SLOT,
596
+ component: Q.SLOT,
597
597
  startTime: new Date(I).valueOf(),
598
598
  endTime: new Date(w).valueOf()
599
599
  }), N == null || N({
@@ -615,7 +615,7 @@ const nn = "SLOT_UNAVAILABLE", He = [], an = (e) => {
615
615
  const D = R || V;
616
616
  c == null || c.report({
617
617
  action: te.CLICK,
618
- component: j.SHOW_MORE
618
+ component: Q.SHOW_MORE
619
619
  }), W(D), t({
620
620
  currentSlotBulkSize: D + V
621
621
  });
@@ -636,7 +636,7 @@ const nn = "SLOT_UNAVAILABLE", He = [], an = (e) => {
636
636
  i
637
637
  ]);
638
638
  return {
639
- days: Je,
639
+ days: Xe,
640
640
  slots: ye,
641
641
  selectedSlotKey: Le,
642
642
  selectDate: et,
@@ -647,14 +647,14 @@ const nn = "SLOT_UNAVAILABLE", He = [], an = (e) => {
647
647
  hasMoreSlots: Ne,
648
648
  hasError: pe,
649
649
  isLoading: Z,
650
- isRefetching: J,
650
+ isRefetching: X,
651
651
  isReloadingSlots: d,
652
652
  weekRangeLabel: ln(h, ee(h, q - 1), a),
653
653
  weekCaptionLabel: Gt({
654
654
  startOfWeek: h,
655
655
  endOfWeek: ee(h, q - 1)
656
656
  }, a),
657
- selectedDateLabel: Jt({
657
+ selectedDateLabel: Xt({
658
658
  selectedDate: L,
659
659
  locale: a,
660
660
  timezone: _
@@ -671,8 +671,8 @@ const nn = "SLOT_UNAVAILABLE", He = [], an = (e) => {
671
671
  pendingFocusIndex: O,
672
672
  consumePendingFocusIndex: ot
673
673
  };
674
- }, je = $e(void 0), Xe = (e) => `${e}-timezone-note`, F = () => {
675
- const e = Ge(je);
674
+ }, Qe = $e(void 0), Je = (e) => `${e}-timezone-note`, F = () => {
675
+ const e = Ge(Qe);
676
676
  if (typeof e > "u")
677
677
  throw new Error("Appointment parts must be used inside an <Appointment> component");
678
678
  return e;
@@ -707,7 +707,7 @@ const nn = "SLOT_UNAVAILABLE", He = [], an = (e) => {
707
707
  day: f
708
708
  }))));
709
709
  }, un = ({ children: e, className: n }) => {
710
- const { changeWeek: t, canGoToPreviousWeek: a, previousWeekLabel: s, nextWeekLabel: r } = F(), u = we(), i = X(null), l = X(!1);
710
+ const { changeWeek: t, canGoToPreviousWeek: a, previousWeekLabel: s, nextWeekLabel: r } = F(), u = we(), i = J(null), l = J(!1);
711
711
  return H(() => {
712
712
  var S, E, f;
713
713
  if (a || !l.current)
@@ -770,9 +770,9 @@ C.Heading = fn;
770
770
  C.NextWeek = dn;
771
771
  C.Day = Dn;
772
772
  const Ke = 'input[type="radio"]', ae = ({ children: e, className: n, ...t }) => {
773
- const { hasTimezoneNote: a } = t, { slots: s, selectedSlotKey: r, selectSlot: u, selectedDateLabel: i, isReloadingSlots: l, timezoneLabel: c, pendingFocusIndex: d, consumePendingFocusIndex: S } = F(), { id: E, disabled: f, readOnly: g, required: v, hasError: O } = me(), { inputId: W, labelId: N, ariaDescribedBy: A } = Se(), Y = X(null), B = `${W}-slots-label`, U = T(e, ae.Label), oe = T(e, ae.Slot) ?? /* @__PURE__ */ o.createElement(ae.Slot, null), se = !!U && !!i, $ = [
773
+ const { hasTimezoneNote: a } = t, { slots: s, selectedSlotKey: r, selectSlot: u, selectedDateLabel: i, isReloadingSlots: l, timezoneLabel: c, pendingFocusIndex: d, consumePendingFocusIndex: S } = F(), { id: E, disabled: f, readOnly: g, required: v, hasError: O } = me(), { inputId: W, labelId: N, ariaDescribedBy: A } = Se(), Y = J(null), B = `${W}-slots-label`, U = T(e, ae.Label), oe = T(e, ae.Slot) ?? /* @__PURE__ */ o.createElement(ae.Slot, null), se = !!U && !!i, $ = [
774
774
  A,
775
- a && c ? Xe(W) : void 0
775
+ a && c ? Je(W) : void 0
776
776
  ].filter(Boolean).join(" ") || void 0, k = (_) => {
777
777
  var L, R, G;
778
778
  (G = (R = (L = Y.current) == null ? void 0 : L.querySelectorAll(Ke)) == null ? void 0 : R[_]) == null || G.focus();
@@ -862,7 +862,7 @@ const m = ({ children: e, className: n }) => {
862
862
  visibility: "hidden"
863
863
  }, _n = ({ children: e, className: n }) => {
864
864
  const { required: t, onFocus: a, onBlur: s } = me(), { inputId: r, labelId: u, ariaDescribedBy: i } = Se(), l = mn(), c = T(e, m.Loader), d = T(e, m.Notification), S = T(e, m.Dates), E = T(e, m.Timezone), f = T(e, m.Format), g = T(e, m.Slots), v = T(e, m.ShowMoreSlots);
865
- return /* @__PURE__ */ o.createElement(je.Provider, {
865
+ return /* @__PURE__ */ o.createElement(Qe.Provider, {
866
866
  value: l
867
867
  }, /* @__PURE__ */ o.createElement(ht, {
868
868
  id: r,
@@ -897,7 +897,7 @@ const m = ({ children: e, className: n }) => {
897
897
  }, Nn = ({ children: e, className: n }) => {
898
898
  const { timezoneLabel: t } = F(), { inputId: a } = Se();
899
899
  return t ? /* @__PURE__ */ o.createElement("span", {
900
- id: Xe(a),
900
+ id: Je(a),
901
901
  className: n
902
902
  }, e ? e({
903
903
  label: t
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { M as o } from "./multiline-address-field-rac-D4Ibno80.js";
2
+ import { M as o } from "./multiline-address-field-rac-CDKbEU14.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-BQKK2O7L.js";
2
+ import { E as e } from "./email-input-field-rac-Ci2MzEdX.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-CbnKn03g.js";
2
+ import { T as e } from "./text-input-field-rac-ZTDIhRqT.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-D4UYcmok.js";
2
+ import { H as r } from "./header-field-rac-pd3cDG5d.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-CbnKn03g.js";
2
+ import { T as e } from "./text-input-field-rac-ZTDIhRqT.js";
3
3
  const m = () => /* @__PURE__ */ t.createElement(e, null);
4
4
  export {
5
5
  m as BookingsLastNameRAC
@@ -1,9 +1,9 @@
1
1
  import o from "react";
2
2
  import E from "classnames";
3
- import { ai as d, as as B, ab as f, ae as p } from "./form-BpHElSwH.js";
3
+ import { ai as d, as as B, ab as f, ae as p } from "./form-_3vjdih8.js";
4
4
  import { Button as L } from "react-aria-components";
5
5
  import { a as i, f as g } from "./find-child-C60k4CxG.js";
6
- import { w as _ } from "./form-element-classes-BXNs5k3q.js";
6
+ import { w as _ } from "./form-element-classes-DZiFyihd.js";
7
7
  const a = ({ children: n }) => {
8
8
  const { id: r, FieldLayout: t } = d();
9
9
  return /* @__PURE__ */ o.createElement(t, {
@@ -1,5 +1,5 @@
1
1
  import o from "react";
2
- import { P as e } from "./phone-input-field-rac-BYAnwk5h.js";
2
+ import { P as e } from "./phone-input-field-rac-BTCDRtYe.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-C4RrbyEX.js";
2
+ import { R as t } from "./rich-text-field-rac-CLEYP_pZ.js";
3
3
  const c = () => /* @__PURE__ */ e.createElement(t, {
4
4
  truncate: !1
5
5
  });
@@ -1,17 +1,17 @@
1
1
  import { RicosViewer as $n } from "@wix/ricos/viewer";
2
2
  import U from "classnames";
3
- import b, { useMemo as Xn, useRef as Jn, useCallback as Qn } from "react";
4
- import { CheckboxField as Yn, CheckboxButton as Zn } from "react-aria-components";
5
- import { Q as ei, ai as Zr, q as Yr, R as fn, as as ri, ab as ti, $ as ai, af as ni, ak as ii, L as si } from "./form-BpHElSwH.js";
3
+ import b, { useMemo as Xn, useRef as Jn, useCallback as Yn } from "react";
4
+ import { CheckboxField as Qn, CheckboxButton as Zn } from "react-aria-components";
5
+ import { Q as ei, ai as Zr, q as Qr, R as fn, as as ri, ab as ti, $ as ai, af as ni, ak as ii, L as si } from "./form-_3vjdih8.js";
6
6
  import { f as W, a as oi } from "./find-child-C60k4CxG.js";
7
- import { D as ui, E as ci } from "./field-error-headless-C5ZsFUKv.js";
7
+ import { D as ui, E as ci } from "./field-error-headless-DvmM1k0W.js";
8
8
  import { Node_Type as fi } from "@wix/ricos/schema";
9
- import { c as re, r as X, e as R, a as J, d as li, b as _i } from "./isObjectLike-jwHec4Ap.js";
9
+ import { c as re, r as X, e as R, a as J, d as li, b as _i } from "./isObjectLike-YK6n3FVo.js";
10
10
  import { a as vi, C as hi } from "./checkbox-indicator-module-classes-BcScu147.js";
11
11
  import { E as pi } from "./error-icon-hZxQ6DEy.js";
12
12
  import { s as oe } from "./field-rac.module-DjmaTYkc.js";
13
- import { f as di, g as yi, b as bi, Q as gi, p as qi, i as Ci } from "./form-element-classes-BXNs5k3q.js";
14
- import { u as Ai } from "./use-element-state-class-name-CC65g9mT.js";
13
+ import { f as di, g as yi, b as bi, P as gi, p as qi, i as Ci } from "./form-element-classes-DZiFyihd.js";
14
+ import { u as Ai } from "./use-element-state-class-name-DVT9MJFT.js";
15
15
  var ue, dt;
16
16
  function mi() {
17
17
  if (dt) return ue;
@@ -405,10 +405,10 @@ function $i() {
405
405
  }
406
406
  return i.prototype.clear = e, i.prototype.delete = r, i.prototype.get = t, i.prototype.has = a, i.prototype.set = n, Ge = i, Ge;
407
407
  }
408
- var Ue, Qt;
408
+ var Ue, Yt;
409
409
  function Xi() {
410
- if (Qt) return Ue;
411
- Qt = 1;
410
+ if (Yt) return Ue;
411
+ Yt = 1;
412
412
  var e = ae(), r = et(), t = $i(), a = 200;
413
413
  function n(i, s) {
414
414
  var o = this.__data__;
@@ -422,10 +422,10 @@ function Xi() {
422
422
  }
423
423
  return Ue = n, Ue;
424
424
  }
425
- var He, Yt;
425
+ var He, Qt;
426
426
  function Ji() {
427
- if (Yt) return He;
428
- Yt = 1;
427
+ if (Qt) return He;
428
+ Qt = 1;
429
429
  var e = ae(), r = Ei(), t = Oi(), a = ji(), n = xi(), i = Xi();
430
430
  function s(o) {
431
431
  var u = this.__data__ = new e(o);
@@ -434,7 +434,7 @@ function Ji() {
434
434
  return s.prototype.clear = r, s.prototype.delete = t, s.prototype.get = a, s.prototype.has = n, s.prototype.set = i, He = s, He;
435
435
  }
436
436
  var Ve, Zt;
437
- function Qi() {
437
+ function Yi() {
438
438
  if (Zt) return Ve;
439
439
  Zt = 1;
440
440
  function e(r, t) {
@@ -445,7 +445,7 @@ function Qi() {
445
445
  return Ve = e, Ve;
446
446
  }
447
447
  var ze, ea;
448
- function Yi() {
448
+ function Qi() {
449
449
  if (ea) return ze;
450
450
  ea = 1;
451
451
  var e = L(), r = (function() {
@@ -461,7 +461,7 @@ var We, ra;
461
461
  function hn() {
462
462
  if (ra) return We;
463
463
  ra = 1;
464
- var e = Yi();
464
+ var e = Qi();
465
465
  function r(t, a, n) {
466
466
  a == "__proto__" && e ? e(t, a, {
467
467
  configurable: !0,
@@ -510,26 +510,26 @@ function Zi() {
510
510
  }
511
511
  return Je = e, Je;
512
512
  }
513
- var Qe, ia;
513
+ var Ye, ia;
514
514
  function es() {
515
- if (ia) return Qe;
515
+ if (ia) return Ye;
516
516
  ia = 1;
517
517
  var e = re(), r = J(), t = "[object Arguments]";
518
518
  function a(n) {
519
519
  return r(n) && e(n) == t;
520
520
  }
521
- return Qe = a, Qe;
521
+ return Ye = a, Ye;
522
522
  }
523
- var Ye, sa;
523
+ var Qe, sa;
524
524
  function rs() {
525
- if (sa) return Ye;
525
+ if (sa) return Qe;
526
526
  sa = 1;
527
527
  var e = es(), r = J(), t = Object.prototype, a = t.hasOwnProperty, n = t.propertyIsEnumerable, i = e(/* @__PURE__ */ (function() {
528
528
  return arguments;
529
529
  })()) ? e : function(s) {
530
530
  return r(s) && a.call(s, "callee") && !n.call(s, "callee");
531
531
  };
532
- return Ye = i, Ye;
532
+ return Qe = i, Qe;
533
533
  }
534
534
  var Ze, oa;
535
535
  function rt() {
@@ -1001,20 +1001,20 @@ function Rs() {
1001
1001
  }
1002
1002
  return kr = r, kr;
1003
1003
  }
1004
- var Br, Qa;
1004
+ var Br, Ya;
1005
1005
  function Ss() {
1006
- if (Qa) return Br;
1007
- Qa = 1;
1006
+ if (Ya) return Br;
1007
+ Ya = 1;
1008
1008
  var e = _i(), r = e ? e.prototype : void 0, t = r ? r.valueOf : void 0;
1009
1009
  function a(n) {
1010
1010
  return t ? Object(t.call(n)) : {};
1011
1011
  }
1012
1012
  return Br = a, Br;
1013
1013
  }
1014
- var Nr, Ya;
1014
+ var Nr, Qa;
1015
1015
  function Es() {
1016
- if (Ya) return Nr;
1017
- Ya = 1;
1016
+ if (Qa) return Nr;
1017
+ Qa = 1;
1018
1018
  var e = ct();
1019
1019
  function r(t, a) {
1020
1020
  var n = a ? e(t.buffer) : t.buffer;
@@ -1129,11 +1129,11 @@ var Xr, on;
1129
1129
  function Fs() {
1130
1130
  if (on) return Xr;
1131
1131
  on = 1;
1132
- var e = Ji(), r = Qi(), t = pn(), a = us(), n = ls(), i = _s(), s = vs(), o = ps(), u = ds(), c = ys(), v = bs(), _ = ut(), p = ms(), y = Os(), q = xs(), C = rt(), m = dn(), g = Ps(), d = X(), S = Ls(), E = it(), O = st(), j = 1, k = 2, B = 4, I = "[object Arguments]", N = "[object Array]", f = "[object Boolean]", x = "[object Date]", G = "[object Error]", ft = "[object Function]", Rn = "[object GeneratorFunction]", Sn = "[object Map]", En = "[object Number]", lt = "[object Object]", On = "[object RegExp]", jn = "[object Set]", xn = "[object String]", Dn = "[object Symbol]", Pn = "[object WeakMap]", wn = "[object ArrayBuffer]", Ln = "[object DataView]", Fn = "[object Float32Array]", Mn = "[object Float64Array]", Kn = "[object Int8Array]", kn = "[object Int16Array]", Bn = "[object Int32Array]", Nn = "[object Uint8Array]", Gn = "[object Uint8ClampedArray]", Un = "[object Uint16Array]", Hn = "[object Uint32Array]", h = {};
1132
+ var e = Ji(), r = Yi(), t = pn(), a = us(), n = ls(), i = _s(), s = vs(), o = ps(), u = ds(), c = ys(), v = bs(), _ = ut(), p = ms(), y = Os(), q = xs(), C = rt(), m = dn(), g = Ps(), d = X(), S = Ls(), E = it(), O = st(), j = 1, k = 2, B = 4, I = "[object Arguments]", N = "[object Array]", f = "[object Boolean]", x = "[object Date]", G = "[object Error]", ft = "[object Function]", Rn = "[object GeneratorFunction]", Sn = "[object Map]", En = "[object Number]", lt = "[object Object]", On = "[object RegExp]", jn = "[object Set]", xn = "[object String]", Dn = "[object Symbol]", Pn = "[object WeakMap]", wn = "[object ArrayBuffer]", Ln = "[object DataView]", Fn = "[object Float32Array]", Mn = "[object Float64Array]", Kn = "[object Int8Array]", kn = "[object Int16Array]", Bn = "[object Int32Array]", Nn = "[object Uint8Array]", Gn = "[object Uint8ClampedArray]", Un = "[object Uint16Array]", Hn = "[object Uint32Array]", h = {};
1133
1133
  h[I] = h[N] = h[wn] = h[Ln] = h[f] = h[x] = h[Fn] = h[Mn] = h[Kn] = h[kn] = h[Bn] = h[Sn] = h[En] = h[lt] = h[On] = h[jn] = h[xn] = h[Dn] = h[Nn] = h[Gn] = h[Un] = h[Hn] = !0, h[G] = h[ft] = h[Pn] = !1;
1134
- function Q(l, F, M, Vn, Y, D) {
1134
+ function Y(l, F, M, Vn, Q, D) {
1135
1135
  var A, Z = F & j, ee = F & k, zn = F & B;
1136
- if (M && (A = Y ? M(l, Vn, Y, D) : M(l)), A !== void 0)
1136
+ if (M && (A = Q ? M(l, Vn, Q, D) : M(l)), A !== void 0)
1137
1137
  return A;
1138
1138
  if (!d(l))
1139
1139
  return l;
@@ -1145,12 +1145,12 @@ function Fs() {
1145
1145
  var K = _(l), vt = K == ft || K == Rn;
1146
1146
  if (m(l))
1147
1147
  return i(l, Z);
1148
- if (K == lt || K == I || vt && !Y) {
1148
+ if (K == lt || K == I || vt && !Q) {
1149
1149
  if (A = ee || vt ? {} : q(l), !Z)
1150
1150
  return ee ? u(l, n(A, l)) : o(l, a(A, l));
1151
1151
  } else {
1152
1152
  if (!h[K])
1153
- return Y ? l : {};
1153
+ return Q ? l : {};
1154
1154
  A = y(l, K, Z);
1155
1155
  }
1156
1156
  }
@@ -1159,16 +1159,16 @@ function Fs() {
1159
1159
  if (ht)
1160
1160
  return ht;
1161
1161
  D.set(l, A), S(l) ? l.forEach(function(P) {
1162
- A.add(Q(P, F, M, P, l, D));
1162
+ A.add(Y(P, F, M, P, l, D));
1163
1163
  }) : g(l) && l.forEach(function(P, w) {
1164
- A.set(w, Q(P, F, M, w, l, D));
1164
+ A.set(w, Y(P, F, M, w, l, D));
1165
1165
  });
1166
1166
  var Wn = zn ? ee ? v : c : ee ? O : E, pt = _t ? void 0 : Wn(l);
1167
1167
  return r(pt || l, function(P, w) {
1168
- pt && (w = P, P = l[w]), t(A, w, Q(P, F, M, w, l, D));
1168
+ pt && (w = P, P = l[w]), t(A, w, Y(P, F, M, w, l, D));
1169
1169
  }), A;
1170
1170
  }
1171
- return Xr = Q, Xr;
1171
+ return Xr = Y, Xr;
1172
1172
  }
1173
1173
  var Jr, un;
1174
1174
  function Ms() {
@@ -1203,24 +1203,24 @@ const ks = /* @__PURE__ */ ei(Ks), Bs = (e, r, t) => {
1203
1203
  var n;
1204
1204
  const a = ks(e);
1205
1205
  switch (r) {
1206
- case Yr.BEFORE_FIELD_TITLE:
1206
+ case Qr.BEFORE_FIELD_TITLE:
1207
1207
  const i = a == null ? void 0 : a.nodes.find(Boolean);
1208
1208
  i && (i.nodes ?? (i.nodes = []), i.nodes.unshift(t));
1209
1209
  break;
1210
- case Yr.AFTER_FIELD_TITLE:
1210
+ case Qr.AFTER_FIELD_TITLE:
1211
1211
  const s = (n = a == null ? void 0 : a.nodes) == null ? void 0 : n.findLast(Boolean);
1212
1212
  s && (s.nodes ?? (s.nodes = []), s.nodes.push(t));
1213
1213
  break;
1214
1214
  }
1215
1215
  return a;
1216
- }, Qr = (e) => {
1216
+ }, Yr = (e) => {
1217
1217
  e.target instanceof Element && e.target.closest("a") && e.stopPropagation();
1218
1218
  }, Gs = {
1219
- onPointerDown: Qr,
1220
- onMouseDown: Qr,
1221
- onClick: Qr
1219
+ onPointerDown: Yr,
1220
+ onMouseDown: Yr,
1221
+ onClick: Yr
1222
1222
  }, Us = ({ className: e, requiredClassName: r, theme: t, children: a, ...n }) => {
1223
- const { requiredIndicatorHidden: i = !1 } = n, s = Zr(), { label: o, required: u = !1, disabled: c = !1, requiredIndicatorType: v = fn.ASTERISK, requiredIndicatorPlacement: _ = Yr.AFTER_FIELD_TITLE } = s, { t: p } = ri(), { language: y } = ti(), q = Xn(() => {
1223
+ const { requiredIndicatorHidden: i = !1 } = n, s = Zr(), { label: o, required: u = !1, disabled: c = !1, requiredIndicatorType: v = fn.ASTERISK, requiredIndicatorPlacement: _ = Qr.AFTER_FIELD_TITLE } = s, { t: p } = ri(), { language: y } = ti(), q = Xn(() => {
1224
1224
  if (!u || i || !o)
1225
1225
  return o;
1226
1226
  const C = Bs(v, p, r);
@@ -1256,12 +1256,12 @@ const ks = /* @__PURE__ */ ei(Ks), Bs = (e, r, t) => {
1256
1256
  var g;
1257
1257
  (g = y.current) == null || g.focus();
1258
1258
  }, t);
1259
- const q = W(e, $.RichTextLabel), C = W(e, $.Input), m = Qn((g) => {
1259
+ const q = W(e, $.RichTextLabel), C = W(e, $.Input), m = Yn((g) => {
1260
1260
  n(g);
1261
1261
  }, [
1262
1262
  n
1263
1263
  ]);
1264
- return /* @__PURE__ */ b.createElement(Yn, {
1264
+ return /* @__PURE__ */ b.createElement(Qn, {
1265
1265
  id: _,
1266
1266
  "aria-describedby": p,
1267
1267
  isSelected: !!a,
@@ -1,10 +1,10 @@
1
1
  import i, { useMemo as k, useCallback as _, useRef as P, useState as w, useEffect as U } from "react";
2
2
  import { CheckboxGroup as W, CheckboxField as A, CheckboxButton as j, TextField as z, Input as J } from "react-aria-components";
3
3
  import { debounce as K } from "ts-debounce";
4
- import { ai as N, af as Q, as as X, ab as Y, ak as Z } from "./form-BpHElSwH.js";
4
+ import { ai as N, af as Q, as as X, ab as Y, ak as Z } from "./form-_3vjdih8.js";
5
5
  import { f as L, a as x } from "./find-child-C60k4CxG.js";
6
- import { D as ee, E as te } from "./field-error-headless-C5ZsFUKv.js";
7
- import { L as ae } from "./field-label-headless-CS5OYsiI.js";
6
+ import { D as ee, E as te } from "./field-error-headless-DvmM1k0W.js";
7
+ import { L as ae } from "./field-label-headless-DKn04-OM.js";
8
8
  import { F as se } from "./fieldset-headless-CD3fds9J.js";
9
9
  import { N as ne } from "./options-layout-constants-DEfIEJWD.js";
10
10
  import { a as le } from "./checkbox-indicator-module-classes-BcScu147.js";