@wix/form-elements 1.80.0 → 1.82.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 (106) hide show
  1. package/dist/component/{appointment-rac-BYisg594.js → appointment-rac-DmwbqZse.js} +82 -82
  2. package/dist/component/{bookings-address-rac-CsILj67y.js → bookings-address-rac-RCzVU87c.js} +1 -1
  3. package/dist/component/{bookings-email-rac-CVmAPK_5.js → bookings-email-rac-Df_Wte1_.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-Dh41-RQ_.js → bookings-first-name-rac-BmdRGYxF.js} +1 -1
  5. package/dist/component/{bookings-header-rac-B6Fgfiz5.js → bookings-header-rac-DewQWtkZ.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-CuY8aaXv.js → bookings-last-name-rac-DmmNBuqy.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-B8JBcGs8.js → bookings-login-bar-rac-QskvFo0C.js} +5 -5
  8. package/dist/component/{bookings-phone-rac-Bspc3F7g.js → bookings-phone-rac-7wn8IXna.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-B1o0ZcfK.js → bookings-rich-text-rac-B5nk0BlD.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-thaR4lXB.js → checkbox-field-rac-BnVNfYWL.js} +5 -5
  11. package/dist/component/{checkbox-group-field-headless-DryeaW7l.js → checkbox-group-field-headless-Bx5Y-RMP.js} +3 -3
  12. package/dist/component/{checkbox-group-field-rac-CJfbT13O.js → checkbox-group-field-rac-CZW28rj5.js} +7 -7
  13. package/dist/component/{checkbox-group-rac-BwI7UHzO.js → checkbox-group-rac-B20t8dTB.js} +1 -1
  14. package/dist/component/{checkbox-rac-HRTKCRY4.js → checkbox-rac-ifC6qSE8.js} +1 -1
  15. package/dist/component/{contacts-address-rac-BIn9plXb.js → contacts-address-rac-XJRKvPlp.js} +1 -1
  16. package/dist/component/{contacts-birthdate-rac-oGP8bO3I.js → contacts-birthdate-rac-CKYESrPO.js} +1 -1
  17. package/dist/component/{contacts-company-rac-ChdjTt8-.js → contacts-company-rac-BXwEeb0p.js} +1 -1
  18. package/dist/component/{contacts-email-rac-BUluFo-o.js → contacts-email-rac-D8Yspo_m.js} +1 -1
  19. package/dist/component/{contacts-first-name-rac-tmboINSq.js → contacts-first-name-rac-mvCGP1LJ.js} +1 -1
  20. package/dist/component/{contacts-last-name-rac-BaD5OBVf.js → contacts-last-name-rac-Clg9RXal.js} +1 -1
  21. package/dist/component/{contacts-phone-rac-BoX2-IEP.js → contacts-phone-rac-qEwjhByI.js} +1 -1
  22. package/dist/component/{contacts-position-rac-BNDskehr.js → contacts-position-rac-Bh8fvf2M.js} +1 -1
  23. package/dist/component/{contacts-subscribe-rac-CVaQG4Qy.js → contacts-subscribe-rac-DEQ2XkZo.js} +2 -2
  24. package/dist/component/{contacts-tax-id-rac-Dxgxcv7c.js → contacts-tax-id-rac-0DUZ4tJz.js} +1 -1
  25. package/dist/component/{date-availability-BbrBYxgL.js → date-availability-2ek2RtXx.js} +1 -1
  26. package/dist/component/{date-input-field-rac-oibxt2dz.js → date-input-field-rac-Bp4SQB-t.js} +29 -29
  27. package/dist/component/{date-input-rac-h2vrPoah.js → date-input-rac-CYsJcMe5.js} +1 -1
  28. package/dist/component/{date-picker-field-rac-Cr9PMglz.js → date-picker-field-rac-BGQvnSYI.js} +9 -9
  29. package/dist/component/{date-picker-rac-8BOHRpaJ.js → date-picker-rac-BVncggYR.js} +1 -1
  30. package/dist/component/{date-time-input-field-rac-C7CZ4i6-.js → date-time-input-field-rac-B1mggelc.js} +33 -33
  31. package/dist/component/{date-time-input-rac-BARK1BJc.js → date-time-input-rac-DzdCno0L.js} +1 -1
  32. package/dist/component/{dext-checkbox-group-rac-CWc0W-zr.js → dext-checkbox-group-rac-CNCpeolD.js} +2 -2
  33. package/dist/component/{dext-checkbox-rac-NKcTYwpg.js → dext-checkbox-rac-BYDQ58Mo.js} +1 -1
  34. package/dist/component/{dext-date-picker-rac-SllyCpYt.js → dext-date-picker-rac-aYYk8Nrl.js} +1 -1
  35. package/dist/component/{dext-date-time-input-rac-JT9Pa7TG.js → dext-date-time-input-rac-v2v974p5.js} +1 -1
  36. package/dist/component/{dext-dropdown-rac-aBU9t_U4.js → dext-dropdown-rac-C846KZCe.js} +1 -1
  37. package/dist/component/{dext-email-rac-DKoJiyjE.js → dext-email-rac-izjbfME9.js} +1 -1
  38. package/dist/component/{dext-number-input-rac-BHkzAyzd.js → dext-number-input-rac-CnOFsD7l.js} +1 -1
  39. package/dist/component/{dext-phone-rac-Ou-fxcN5.js → dext-phone-rac-D8GMXD88.js} +1 -1
  40. package/dist/component/{dext-radio-group-rac-CH0WlRsF.js → dext-radio-group-rac-BtiyGCRh.js} +2 -2
  41. package/dist/component/{dext-rating-input-rac-D_jXx_VN.js → dext-rating-input-rac-BHJ1kitb.js} +1 -1
  42. package/dist/component/{dext-tags-rac-DBaT-lQT.js → dext-tags-rac-CvNjwS5R.js} +2 -2
  43. package/dist/component/{dext-text-area-rac-DWcCktYi.js → dext-text-area-rac-X5L0Q3sC.js} +1 -1
  44. package/dist/component/{dext-text-input-rac-CBX2wgW-.js → dext-text-input-rac-swkyAJqC.js} +1 -1
  45. package/dist/component/{dext-url-input-rac-DaqWDzIt.js → dext-url-input-rac-BYlXOAkz.js} +1 -1
  46. package/dist/component/donation-rac-CDWLBZZM.js +318 -0
  47. package/dist/component/{dropdown-field-headless-D7mOjVEJ.js → dropdown-field-headless-JJzbZvps.js} +3 -3
  48. package/dist/component/{dropdown-field-rac-DsRuMFo4.js → dropdown-field-rac-BodpIQ9Q.js} +5 -5
  49. package/dist/component/{dropdown-rac-8Fe66UGi.js → dropdown-rac-Bfbxxx9k.js} +1 -1
  50. package/dist/component/{ecom-address-rac-DbR_WEgu.js → ecom-address-rac-BCnsL5tr.js} +1 -1
  51. package/dist/component/{ecom-subscription-checkbox-rac-ByQsK79_.js → ecom-subscription-checkbox-rac-CNSdI_ty.js} +3 -3
  52. package/dist/component/{email-input-field-rac-BS0bFS0-.js → email-input-field-rac-Btaa4O5T.js} +48 -48
  53. package/dist/component/{events-repeater-rac-xhXarOw_.js → events-repeater-rac-xBwqJddt.js} +10 -10
  54. package/dist/component/{events-rsvp-rac-BLq-ro2E.js → events-rsvp-rac-D90PwkHd.js} +3 -3
  55. package/dist/component/{field-error-headless-C7IUibkK.js → field-error-headless-BErhh9GG.js} +1 -1
  56. package/dist/component/{field-label-headless-BQFy2iAr.js → field-label-headless-BGyK-5xW.js} +1 -1
  57. package/dist/component/{file-upload-rac-B84R44Bt.js → file-upload-rac-MxH3CVml.js} +21 -21
  58. package/dist/component/{fixed-payment-rac-D7Asu-Ws.js → fixed-payment-rac-DpBA9irF.js} +10 -10
  59. package/dist/component/{form-element-classes-BuM-vthE.js → form-element-classes-jC8D0LnK.js} +77 -63
  60. package/dist/component/{form-BmioUKtQ.js → form-f0tqdMye.js} +69 -69
  61. package/dist/component/form.css +1 -1
  62. package/dist/component/form.js +1 -1
  63. package/dist/component/{header-field-rac-CN5SyZpH.js → header-field-rac-BXxFqu9u.js} +3 -3
  64. package/dist/component/{header-rac-B9ITu2YO.js → header-rac-BN70esac.js} +1 -1
  65. package/dist/component/image-choice-rac-DLBGIBXL.js +158 -0
  66. package/dist/component/{index-3q1aCLZ8.js → index-BvB-uE1H.js} +2 -2
  67. package/dist/component/{index-CvWMG1x1.js → index-DXLEHYlA.js} +4 -4
  68. package/dist/component/{isObjectLike-xDv2bEeI.js → isObjectLike-BYOX5XY4.js} +1 -1
  69. package/dist/component/{multiline-address-field-rac-BLDqei5I.js → multiline-address-field-rac-fcQYnPlO.js} +52 -52
  70. package/dist/component/{multiline-address-rac-Dy9Km8P8.js → multiline-address-rac-D82Gbj3n.js} +1 -1
  71. package/dist/component/{number-input-field-rac-Dxu4WHzh.js → number-input-field-rac-B0-4Rz3w.js} +16 -16
  72. package/dist/component/{number-input-rac-hHEmwPao.js → number-input-rac-Bnsvb-SO.js} +1 -1
  73. package/dist/component/{password-rac-CEylicEt.js → password-rac-BdBjFa8y.js} +15 -15
  74. package/dist/component/{payment-input-rac-bvK_YQ78.js → payment-input-rac-DkAGOvaF.js} +18 -18
  75. package/dist/component/{phone-input-field-rac-CqYNWmiA.js → phone-input-field-rac-Ce_wuE46.js} +54 -54
  76. package/dist/component/{phone-rac-C72xrPL6.js → phone-rac-DslINtcH.js} +1 -1
  77. package/dist/component/{product-list-rac-DbftZgIh.js → product-list-rac-C4P_SOyG.js} +25 -25
  78. package/dist/component/{quiz-radio-group-rac-Bkg5poft.js → quiz-radio-group-rac-noy4fmD8.js} +2 -2
  79. package/dist/component/{radio-button-module-classes-Do4JmHrh.js → radio-button-module-classes-DXQ1UlmI.js} +3 -3
  80. package/dist/component/{radio-group-field-rac-BkoqJYp4.js → radio-group-field-rac-CYBDq7R1.js} +5 -5
  81. package/dist/component/{radio-group-rac-BGp1iRNt.js → radio-group-rac-CGHQFyJY.js} +1 -1
  82. package/dist/component/{rating-input-field-rac-Bozwq2E7.js → rating-input-field-rac-elaferlI.js} +18 -18
  83. package/dist/component/{rating-input-rac-Cxha4VPg.js → rating-input-rac-fnOtTKN8.js} +1 -1
  84. package/dist/component/{rich-content-rac.module-ZXCfVPY-.js → rich-content-rac.module-DbwuwQeo.js} +1 -1
  85. package/dist/component/{rich-text-field-rac-Ct4KowMZ.js → rich-text-field-rac-DtcQC8zU.js} +3 -3
  86. package/dist/component/{rich-text-rac-Cek5wjXa.js → rich-text-rac-CuT97sby.js} +1 -1
  87. package/dist/component/{service-dropdown-rac-B3K93XxF.js → service-dropdown-rac-rk2tzikX.js} +24 -24
  88. package/dist/component/{services-multi-choice-rac-2RTQqyG6.js → services-multi-choice-rac-BMQyF_xs.js} +7 -7
  89. package/dist/component/{signature-rac-BIbRkW1j.js → signature-rac-DeV9C6ta.js} +41 -41
  90. package/dist/component/{submit-button-rac-DofUaqHk.js → submit-button-rac-BpN-FYtM.js} +2 -2
  91. package/dist/component/tags-field-rac-ByC9DnyH.js +217 -0
  92. package/dist/component/{tags-rac-DuMX91gd.js → tags-rac-Dabz4jHd.js} +1 -1
  93. package/dist/component/{text-area-field-rac-BbHdTAJP.js → text-area-field-rac-CtSa8XW_.js} +14 -14
  94. package/dist/component/{text-area-rac-B9lDzZAb.js → text-area-rac-CDLF-_56.js} +1 -1
  95. package/dist/component/{text-input-field-rac-B_csZjOh.js → text-input-field-rac-C6fQYKhI.js} +5 -5
  96. package/dist/component/{text-input-headless-CVOWyi55.js → text-input-headless-BwVLU9cp.js} +3 -3
  97. package/dist/component/{text-input-rac-DowwSRpa.js → text-input-rac-CoGTzfo1.js} +1 -1
  98. package/dist/component/{time-input-rac-D9SXITBr.js → time-input-rac-DQDupKTA.js} +17 -17
  99. package/dist/component/{url-input-field-rac-BxT0Lgly.js → url-input-field-rac-4T8gcMHH.js} +8 -8
  100. package/dist/component/{url-input-rac-GX9rvIJd.js → url-input-rac-_d6XRdKX.js} +1 -1
  101. package/dist/component/{use-element-state-class-name-nCwOVSGM.js → use-element-state-class-name-BqmaTba3.js} +1 -1
  102. package/dist/component/{use-service-options-base-BO3Ackpl.js → use-service-options-base-CRgxxz7b.js} +1 -1
  103. package/package.json +2 -2
  104. package/dist/component/donation-rac-D1rcPi17.js +0 -307
  105. package/dist/component/image-choice-rac-9ncRxwZd.js +0 -146
  106. package/dist/component/tags-field-rac-DTOthwA5.js +0 -206
@@ -1,17 +1,17 @@
1
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-BmioUKtQ.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-f0tqdMye.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-ColNPUt0.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-BuM-vthE.js";
10
- import { u as Ot } from "./use-element-state-class-name-nCwOVSGM.js";
9
+ import { y as pt, O as _t, a as yt, w as We, h as Lt, V as Nt, o as At, i as bt, a0 as Ot } from "./form-element-classes-jC8D0LnK.js";
10
+ import { u as It } from "./use-element-state-class-name-BqmaTba3.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-C7IUibkK.js";
14
- import { L as Ft } from "./field-label-headless-BQFy2iAr.js";
13
+ import { D as wt, E as Mt } from "./field-error-headless-BErhh9GG.js";
14
+ import { L as Ft } from "./field-label-headless-BGyK-5xW.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";
@@ -19,7 +19,7 @@ import { V as Ze } from "./headless-styles-CmcyA_pi.js";
19
19
  function Wt(e) {
20
20
  return { evid: 40, src: 16, endpoint: "", params: e };
21
21
  }
22
- var Oe = /* @__PURE__ */ (function(e) {
22
+ var Ie = /* @__PURE__ */ (function(e) {
23
23
  return e.BOOKING_NOT_INSTALL = "BOOKING_NOT_INSTALL", e.NO_AVAILABILITY_DATES_FOUND = "NO_AVAILABILITY_DATES_FOUND", e.GENERAL = "GENERAL", e;
24
24
  })({}), z = /* @__PURE__ */ (function(e) {
25
25
  return e.LOADING = "LOADING", e.DONE = "DONE", e.ERROR = "ERROR", e;
@@ -81,7 +81,7 @@ var Pe;
81
81
  const xt = (e) => {
82
82
  const { service: n } = e || {};
83
83
  return (n == null ? void 0 : n.id) ? null : {
84
- type: Oe.GENERAL,
84
+ type: Ie.GENERAL,
85
85
  message: "Service ID is missing"
86
86
  };
87
87
  }, Pt = ({ appointmentFieldProps: e, isEditor: n, isComposer: t }) => {
@@ -164,7 +164,7 @@ function Kt(e) {
164
164
  return H(() => {
165
165
  u && !s && !r && c && (async () => {
166
166
  var W, N, A, Y, B;
167
- const v = qe(), O = {
167
+ const v = qe(), I = {
168
168
  currentSlotBulkSize: V,
169
169
  timezone: v,
170
170
  dataStatus: z.LOADING
@@ -180,35 +180,35 @@ function Kt(e) {
180
180
  timeZone: v
181
181
  });
182
182
  };
183
- if (O.availabilityDates = await U(2), (W = O.availabilityDates) != null && W.length || (O.availabilityDates = await U(6)), !((N = O.availabilityDates) != null && N.length)) {
183
+ if (I.availabilityDates = await U(2), (W = I.availabilityDates) != null && W.length || (I.availabilityDates = await U(6)), !((N = I.availabilityDates) != null && N.length)) {
184
184
  E == null || E.report({
185
185
  action: te.LOAD,
186
186
  component: Q.NO_AVAILABILITY_AT_ALL
187
187
  }), S({
188
188
  dataStatus: z.ERROR,
189
189
  error: {
190
- type: Oe.NO_AVAILABILITY_DATES_FOUND,
190
+ type: Ie.NO_AVAILABILITY_DATES_FOUND,
191
191
  message: "No availability dates found"
192
192
  }
193
193
  });
194
194
  return;
195
195
  }
196
- O.selectedDate = Ht(O.availabilityDates), O.selectedDate && (O.availabilitySlots = await ((Y = (A = l.current) == null ? void 0 : A.getAvailabilitySlots) == null ? void 0 : Y.call(A, {
196
+ I.selectedDate = Ht(I.availabilityDates), I.selectedDate && (I.availabilitySlots = await ((Y = (A = l.current) == null ? void 0 : A.getAvailabilitySlots) == null ? void 0 : Y.call(A, {
197
197
  serviceId: u,
198
198
  timeZone: v,
199
- selectedDate: O.selectedDate
199
+ selectedDate: I.selectedDate
200
200
  }))), E == null || E.report({
201
201
  action: te.LOAD,
202
- component: (B = O.availabilityDates) != null && B.length ? Q.FORM : Q.NO_AVAILABILITY_FOR_DATE
202
+ component: (B = I.availabilityDates) != null && B.length ? Q.FORM : Q.NO_AVAILABILITY_FOR_DATE
203
203
  }), a != null && a.startDate || t(void 0), S({
204
- ...O,
204
+ ...I,
205
205
  dataStatus: z.DONE
206
206
  });
207
207
  } catch (U) {
208
208
  console.error(U), S({
209
209
  dataStatus: z.ERROR,
210
210
  error: {
211
- type: Oe.GENERAL,
211
+ type: Ie.GENERAL,
212
212
  message: "An error occurred in initialAppointmentState"
213
213
  }
214
214
  });
@@ -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] = j(!1), [E, f] = j(!1), [g, v] = j(), [O, W] = j();
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(), [I, W] = j();
394
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, X = 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: y, 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(() => Qt(k, Me), [
400
+ }), L = P(() => Qt(k, Me), [
401
401
  k,
402
402
  Me
403
403
  ]);
@@ -410,40 +410,40 @@ const nn = "SLOT_UNAVAILABLE", He = [], an = (e) => {
410
410
  ]), dt((D) => {
411
411
  const b = D == null ? void 0 : D[Y];
412
412
  k != null && k.length && t({
413
- availabilitySlots: k.filter((I) => {
413
+ availabilitySlots: k.filter((O) => {
414
414
  var w;
415
- return ((w = I == null ? void 0 : I.slot) == null ? void 0 : w.startDate) !== (b == null ? void 0 : b.startDate);
415
+ return ((w = O == null ? void 0 : O.slot) == null ? void 0 : w.startDate) !== (b == null ? void 0 : b.startDate);
416
416
  })
417
417
  });
418
418
  }), H(() => {
419
- if (y != null && y.length && R) {
420
- const D = en(Ee(A ?? void 0), y);
419
+ if (L != null && L.length && R) {
420
+ const D = en(Ee(A ?? void 0), L);
421
421
  D && D + 1 > R && t({
422
422
  currentSlotBulkSize: D + 1
423
423
  });
424
- } else !(y != null && y.length) && A && (N == null || N(void 0));
424
+ } else !(L != null && L.length) && A && (N == null || N(void 0));
425
425
  }, [
426
426
  A,
427
- y,
427
+ L,
428
428
  $
429
429
  ]);
430
430
  const _e = P(() => Ct(a), [
431
431
  a
432
- ]), Fe = J(L);
432
+ ]), Fe = J(y);
433
433
  H(() => {
434
434
  const D = Fe.current;
435
- Fe.current = L, !!L && (!D || !ne(D, L)) && v(void 0);
435
+ Fe.current = y, !!y && (!D || !ne(D, y)) && v(void 0);
436
436
  }, [
437
- L
437
+ y
438
438
  ]);
439
- const h = P(() => g ?? Ye(L ?? /* @__PURE__ */ new Date(), _e), [
439
+ const h = P(() => g ?? Ye(y ?? /* @__PURE__ */ new Date(), _e), [
440
440
  g,
441
- L,
441
+ y,
442
442
  _e
443
443
  ]), Xe = P(() => {
444
444
  const D = Te(/* @__PURE__ */ new Date()), b = new Intl.DateTimeFormat(a, {
445
445
  weekday: u ? "narrow" : "short"
446
- }), I = new Intl.DateTimeFormat(a, {
446
+ }), O = new Intl.DateTimeFormat(a, {
447
447
  day: "numeric"
448
448
  }), w = new Intl.DateTimeFormat(a, {
449
449
  weekday: "long",
@@ -453,15 +453,15 @@ const nn = "SLOT_UNAVAILABLE", He = [], an = (e) => {
453
453
  return Array.from({
454
454
  length: q
455
455
  }, (re, be) => {
456
- const x = ee(h, be), Ie = !!L && ne(x, L), rt = Te(x) < D;
456
+ const x = ee(h, be), Oe = !!y && ne(x, y), rt = Te(x) < D;
457
457
  return {
458
458
  key: rn(x),
459
459
  date: x,
460
- isSelected: Ie,
461
- isAvailable: !Z && !X && !Ie && cn(x, $),
462
- isDisabled: rt || X && !Ie,
460
+ isSelected: Oe,
461
+ isAvailable: !Z && !X && !Oe && cn(x, $),
462
+ isDisabled: rt || X && !Oe,
463
463
  isToday: ne(x, D),
464
- dayOfMonthLabel: I.format(x),
464
+ dayOfMonthLabel: O.format(x),
465
465
  weekdayLabel: b.format(x),
466
466
  label: w.format(x),
467
467
  availabilityLabel: i("form.appointment.accessibility.calendar.has-availability.aria-label")
@@ -469,47 +469,47 @@ const nn = "SLOT_UNAVAILABLE", He = [], an = (e) => {
469
469
  });
470
470
  }, [
471
471
  h,
472
- L,
472
+ y,
473
473
  $,
474
474
  Z,
475
475
  X,
476
476
  a,
477
477
  u,
478
478
  i
479
- ]), Le = Ee(A ?? void 0) || void 0, ye = P(() => Z || d ? [] : (y ?? []).slice(0, R).flatMap((D) => {
480
- const { startDate: b, endDate: I } = D.slot ?? {};
481
- if (!b || !I)
479
+ ]), ye = Ee(A ?? void 0) || void 0, Le = P(() => Z || d ? [] : (L ?? []).slice(0, R).flatMap((D) => {
480
+ const { startDate: b, endDate: O } = D.slot ?? {};
481
+ if (!b || !O)
482
482
  return [];
483
483
  const w = Ee({
484
484
  startDate: b,
485
- endDate: I
485
+ endDate: O
486
486
  });
487
487
  return [
488
488
  {
489
489
  key: w,
490
490
  startDate: b,
491
- endDate: I,
491
+ endDate: O,
492
492
  timeRange: Jt({
493
493
  startDate: b,
494
- endDate: I,
494
+ endDate: O,
495
495
  locale: a,
496
496
  timezone: _
497
497
  }),
498
- isSelected: w === Le
498
+ isSelected: w === ye
499
499
  }
500
500
  ];
501
501
  }), [
502
- y,
502
+ L,
503
503
  R,
504
504
  Z,
505
505
  d,
506
506
  a,
507
507
  _,
508
- Le
509
- ]), Ne = !d && !!(y != null && y.length) && (R || V) < y.length, Ae = h > Ye(/* @__PURE__ */ new Date(), _e), et = ie(
508
+ ye
509
+ ]), Ne = !d && !!(L != null && L.length) && (R || V) < L.length, Ae = h > Ye(/* @__PURE__ */ new Date(), _e), et = ie(
510
510
  async (D) => {
511
511
  var b;
512
- if (!(X || L && ne(D, L))) {
512
+ if (!(X || y && ne(D, y))) {
513
513
  S(!0), N == null || N(void 0), t({
514
514
  currentSlotBulkSize: V,
515
515
  selectedDate: D,
@@ -519,7 +519,7 @@ const nn = "SLOT_UNAVAILABLE", He = [], an = (e) => {
519
519
  component: Q.DATE
520
520
  });
521
521
  try {
522
- const I = await ((b = l == null ? void 0 : l.getAvailabilitySlots) == null ? void 0 : b.call(l, {
522
+ const O = await ((b = l == null ? void 0 : l.getAvailabilitySlots) == null ? void 0 : b.call(l, {
523
523
  serviceId: K,
524
524
  timeZone: _,
525
525
  selectedDate: D
@@ -527,7 +527,7 @@ const nn = "SLOT_UNAVAILABLE", He = [], an = (e) => {
527
527
  t({
528
528
  currentSlotBulkSize: V,
529
529
  selectedDate: D,
530
- availabilitySlots: I
530
+ availabilitySlots: O
531
531
  });
532
532
  } catch {
533
533
  } finally {
@@ -538,7 +538,7 @@ const nn = "SLOT_UNAVAILABLE", He = [], an = (e) => {
538
538
  // eslint-disable-next-line react-hooks/exhaustive-deps
539
539
  [
540
540
  X,
541
- L,
541
+ y,
542
542
  K,
543
543
  _,
544
544
  l,
@@ -550,8 +550,8 @@ const nn = "SLOT_UNAVAILABLE", He = [], an = (e) => {
550
550
  var re;
551
551
  if (D < 0 && !Ae)
552
552
  return;
553
- const b = h, I = ee(h, D * q);
554
- if (v(I), s || r)
553
+ const b = h, O = ee(h, D * q);
554
+ if (v(O), s || r)
555
555
  return;
556
556
  const w = ++de.current;
557
557
  f(!0), c == null || c.report({
@@ -562,8 +562,8 @@ const nn = "SLOT_UNAVAILABLE", He = [], an = (e) => {
562
562
  const be = await ((re = l == null ? void 0 : l.getAvailabilityDates) == null ? void 0 : re.call(l, {
563
563
  serviceId: K,
564
564
  timeZone: _,
565
- fromDate: I,
566
- toDate: sn(ee(I, q - 1))
565
+ fromDate: O,
566
+ toDate: sn(ee(O, q - 1))
567
567
  }));
568
568
  w === de.current && t({
569
569
  availabilityDates: be
@@ -587,24 +587,24 @@ const nn = "SLOT_UNAVAILABLE", He = [], an = (e) => {
587
587
  ]
588
588
  ), nt = ie(
589
589
  (D) => {
590
- const b = ye.find((re) => re.key === D);
590
+ const b = Le.find((re) => re.key === D);
591
591
  if (!b)
592
592
  return;
593
- const { startDate: I, endDate: w } = b;
593
+ const { startDate: O, endDate: w } = b;
594
594
  c == null || c.report({
595
595
  action: te.CLICK,
596
596
  component: Q.SLOT,
597
- startTime: new Date(I).valueOf(),
597
+ startTime: new Date(O).valueOf(),
598
598
  endTime: new Date(w).valueOf()
599
599
  }), N == null || N({
600
- startDate: I,
600
+ startDate: O,
601
601
  endDate: w,
602
602
  timeZone: _
603
603
  });
604
604
  },
605
605
  // eslint-disable-next-line react-hooks/exhaustive-deps
606
606
  [
607
- ye,
607
+ Le,
608
608
  _,
609
609
  N,
610
610
  c
@@ -626,19 +626,19 @@ const nn = "SLOT_UNAVAILABLE", He = [], an = (e) => {
626
626
  ]), ot = ie(() => W(void 0), []), st = P(() => {
627
627
  if (pe)
628
628
  return i("form.appointment.empty-state.notification.text");
629
- if (!Z && !d && !(y != null && y.length))
629
+ if (!Z && !d && !(L != null && L.length))
630
630
  return i("form.appointment.slots-not-found.text");
631
631
  }, [
632
632
  pe,
633
633
  Z,
634
634
  d,
635
- y == null ? void 0 : y.length,
635
+ L == null ? void 0 : L.length,
636
636
  i
637
637
  ]);
638
638
  return {
639
639
  days: Xe,
640
- slots: ye,
641
- selectedSlotKey: Le,
640
+ slots: Le,
641
+ selectedSlotKey: ye,
642
642
  selectDate: et,
643
643
  selectSlot: nt,
644
644
  changeWeek: tt,
@@ -655,7 +655,7 @@ const nn = "SLOT_UNAVAILABLE", He = [], an = (e) => {
655
655
  endOfWeek: ee(h, q - 1)
656
656
  }, a),
657
657
  selectedDateLabel: Xt({
658
- selectedDate: L,
658
+ selectedDate: y,
659
659
  locale: a,
660
660
  timezone: _
661
661
  }),
@@ -668,7 +668,7 @@ const nn = "SLOT_UNAVAILABLE", He = [], an = (e) => {
668
668
  showMoreSlotsLabel: i("form.appointment.show-more-slots.text"),
669
669
  previousWeekLabel: i("form.appointment.accessibility.calendar.previous-week.aria-label"),
670
670
  nextWeekLabel: i("form.appointment.accessibility.calendar.next-week.aria-label"),
671
- pendingFocusIndex: O,
671
+ pendingFocusIndex: I,
672
672
  consumePendingFocusIndex: ot
673
673
  };
674
674
  }, Qe = $e(void 0), Je = (e) => `${e}-timezone-note`, F = () => {
@@ -690,7 +690,7 @@ const nn = "SLOT_UNAVAILABLE", He = [], an = (e) => {
690
690
  return;
691
691
  const [g] = [
692
692
  ...f
693
- ], v = t.find(({ key: O }) => O === g);
693
+ ], v = t.find(({ key: I }) => I === g);
694
694
  v && a(v.date);
695
695
  };
696
696
  return /* @__PURE__ */ o.createElement("div", {
@@ -770,12 +770,12 @@ 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 = 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, $ = [
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: I } = 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
775
  a && c ? Je(W) : void 0
776
776
  ].filter(Boolean).join(" ") || void 0, k = (_) => {
777
- var L, R, G;
778
- (G = (R = (L = Y.current) == null ? void 0 : L.querySelectorAll(Ke)) == null ? void 0 : R[_]) == null || G.focus();
777
+ var y, R, G;
778
+ (G = (R = (y = Y.current) == null ? void 0 : y.querySelectorAll(Ke)) == null ? void 0 : R[_]) == null || G.focus();
779
779
  };
780
780
  return ft(() => {
781
781
  var G, ue;
@@ -783,7 +783,7 @@ const Ke = 'input[type="radio"]', ae = ({ children: e, className: n, ...t }) =>
783
783
  k(0);
784
784
  return;
785
785
  }
786
- const L = Array.from(((ue = document.getElementById(W)) == null ? void 0 : ue.querySelectorAll('[role="option"]')) ?? []), R = L.find((K) => K.getAttribute("aria-selected") === "true") ?? L.find((K) => K.getAttribute("aria-disabled") !== "true");
786
+ const y = Array.from(((ue = document.getElementById(W)) == null ? void 0 : ue.querySelectorAll('[role="option"]')) ?? []), R = y.find((K) => K.getAttribute("aria-selected") === "true") ?? y.find((K) => K.getAttribute("aria-disabled") !== "true");
787
787
  R == null || R.focus();
788
788
  }, E), H(() => {
789
789
  d !== void 0 && (k(d), S());
@@ -801,7 +801,7 @@ const Ke = 'input[type="radio"]', ae = ({ children: e, className: n, ...t }) =>
801
801
  isDisabled: f,
802
802
  isReadOnly: g,
803
803
  isRequired: v,
804
- isInvalid: O,
804
+ isInvalid: I,
805
805
  "aria-labelledby": se ? B : N,
806
806
  "aria-describedby": $,
807
807
  "data-refetch": l || void 0
@@ -877,7 +877,7 @@ const m = ({ children: e, className: n }) => {
877
877
  }, S, E, f, le(g, {
878
878
  hasTimezoneNote: !!E
879
879
  }), d, v)));
880
- }, Ln = ({ children: e, className: n }) => {
880
+ }, yn = ({ children: e, className: n }) => {
881
881
  const { isLoading: t, isRefetching: a } = F();
882
882
  return !t && !a ? null : /* @__PURE__ */ o.createElement("div", {
883
883
  className: n,
@@ -886,7 +886,7 @@ const m = ({ children: e, className: n }) => {
886
886
  "data-initial": t || void 0,
887
887
  "data-refetch": !t && a || void 0
888
888
  }, e);
889
- }, yn = ({ children: e, className: n }) => {
889
+ }, Ln = ({ children: e, className: n }) => {
890
890
  const { notificationMessage: t } = F();
891
891
  return t ? /* @__PURE__ */ o.createElement("div", {
892
892
  className: n,
@@ -920,8 +920,8 @@ const m = ({ children: e, className: n }) => {
920
920
  }) : s) : null;
921
921
  };
922
922
  m.Label = Ft;
923
- m.Loader = Ln;
924
- m.Notification = yn;
923
+ m.Loader = yn;
924
+ m.Notification = Ln;
925
925
  m.Dates = C;
926
926
  m.Timezone = Nn;
927
927
  m.Format = An;
@@ -929,9 +929,9 @@ m.Slots = ae;
929
929
  m.ShowMoreSlots = bn;
930
930
  m.Description = wt;
931
931
  m.Error = Mt;
932
- const In = "_appointment_743lv_1", On = "_dates_743lv_5", gn = "_weekHeading_743lv_26", Tn = "_weekButton_743lv_35", vn = "_previousWeek_743lv_67", kn = "_nextWeek_743lv_71", Rn = "_day_743lv_83", wn = "_weekdayLabel_743lv_97", Mn = "_dayNumber_743lv_109", Fn = "_indicator_743lv_174", hn = "_hint_743lv_204", Cn = "_slots_743lv_217", Wn = "_slotsMobile_743lv_226", Bn = "_slotsLabel_743lv_230", Un = "_slot_743lv_217", xn = "_slotHover_743lv_269", Pn = "_slotSelected_743lv_277", zn = "_showMoreSlots_743lv_331", Hn = "_loader_743lv_361", Yn = "_notification_743lv_397", p = {
933
- appointment: In,
934
- dates: On,
932
+ const On = "_appointment_743lv_1", In = "_dates_743lv_5", gn = "_weekHeading_743lv_26", Tn = "_weekButton_743lv_35", vn = "_previousWeek_743lv_67", kn = "_nextWeek_743lv_71", Rn = "_day_743lv_83", wn = "_weekdayLabel_743lv_97", Mn = "_dayNumber_743lv_109", Fn = "_indicator_743lv_174", hn = "_hint_743lv_204", Cn = "_slots_743lv_217", Wn = "_slotsMobile_743lv_226", Bn = "_slotsLabel_743lv_230", Un = "_slot_743lv_217", xn = "_slotHover_743lv_269", Pn = "_slotSelected_743lv_277", zn = "_showMoreSlots_743lv_331", Hn = "_loader_743lv_361", Yn = "_notification_743lv_397", p = {
933
+ appointment: On,
934
+ dates: In,
935
935
  weekHeading: gn,
936
936
  weekButton: Tn,
937
937
  previousWeek: vn,
@@ -958,8 +958,8 @@ const In = "_appointment_743lv_1", On = "_dates_743lv_5", gn = "_weekHeading_743
958
958
  selected: p.slotSelected,
959
959
  hover: p.slotHover
960
960
  }, Gn = () => {
961
- const { isMobile: e } = ce(), n = Ot({
962
- globalClasses: It,
961
+ const { isMobile: e } = ce(), n = It({
962
+ globalClasses: Ot,
963
963
  moduleClasses: $n
964
964
  });
965
965
  return /* @__PURE__ */ o.createElement(m, {
@@ -971,7 +971,7 @@ const In = "_appointment_743lv_1", On = "_dates_743lv_5", gn = "_weekHeading_743
971
971
  })), /* @__PURE__ */ o.createElement(m.Loader, {
972
972
  className: p.loader
973
973
  }), /* @__PURE__ */ o.createElement(m.Dates, {
974
- className: M(Lt, p.dates)
974
+ className: M(yt, p.dates)
975
975
  }, /* @__PURE__ */ o.createElement(m.Dates.PreviousWeek, {
976
976
  className: M(fe, p.weekButton, p.previousWeek)
977
977
  }, /* @__PURE__ */ o.createElement(Ce, null)), /* @__PURE__ */ o.createElement(m.Dates.Heading, {
@@ -995,7 +995,7 @@ const In = "_appointment_743lv_1", On = "_dates_743lv_5", gn = "_weekHeading_743
995
995
  [p.slotsMobile]: e
996
996
  })
997
997
  }, /* @__PURE__ */ o.createElement(m.Slots.Label, {
998
- className: M(yt, p.slotsLabel)
998
+ className: M(Lt, p.slotsLabel)
999
999
  }), /* @__PURE__ */ o.createElement(m.Slots.Slot, {
1000
1000
  className: ({ isSelected: t, isHovered: a, isDisabled: s, isReadOnly: r }) => n({
1001
1001
  isSelected: t,
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { M as o } from "./multiline-address-field-rac-BLDqei5I.js";
2
+ import { M as o } from "./multiline-address-field-rac-fcQYnPlO.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-BS0bFS0-.js";
2
+ import { E as e } from "./email-input-field-rac-Btaa4O5T.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-B_csZjOh.js";
2
+ import { T as e } from "./text-input-field-rac-C6fQYKhI.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-CN5SyZpH.js";
2
+ import { H as r } from "./header-field-rac-BXxFqu9u.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-B_csZjOh.js";
2
+ import { T as e } from "./text-input-field-rac-C6fQYKhI.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-BmioUKtQ.js";
3
+ import { ai as d, as as B, ab as f, ae as p } from "./form-f0tqdMye.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-BuM-vthE.js";
6
+ import { v as _ } from "./form-element-classes-jC8D0LnK.js";
7
7
  const a = ({ children: n }) => {
8
8
  const { id: r, FieldLayout: t } = d();
9
9
  return /* @__PURE__ */ o.createElement(t, {
@@ -45,10 +45,10 @@ const a = ({ children: n }) => {
45
45
  a.LoginBar = x;
46
46
  a.Text = N;
47
47
  a.Button = F;
48
- const T = "_container_1mvrn_1", C = "_text_1mvrn_34", v = "_button_1mvrn_39", u = {
48
+ const T = "_container_1mvrn_1", v = "_text_1mvrn_34", C = "_button_1mvrn_39", u = {
49
49
  container: T,
50
- text: C,
51
- button: v
50
+ text: v,
51
+ button: C
52
52
  }, A = () => {
53
53
  const { userData: n, language: r } = f(), { actions: t } = p();
54
54
  return /* @__PURE__ */ o.createElement(a, null, /* @__PURE__ */ o.createElement(a.LoginBar, {
@@ -1,5 +1,5 @@
1
1
  import o from "react";
2
- import { P as e } from "./phone-input-field-rac-CqYNWmiA.js";
2
+ import { P as e } from "./phone-input-field-rac-Ce_wuE46.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-Ct4KowMZ.js";
2
+ import { R as t } from "./rich-text-field-rac-DtcQC8zU.js";
3
3
  const c = () => /* @__PURE__ */ e.createElement(t, {
4
4
  truncate: !1
5
5
  });
@@ -2,17 +2,17 @@ import { RicosViewer as $n } from "@wix/ricos/viewer";
2
2
  import U from "classnames";
3
3
  import b, { useMemo as Xn, useRef as Jn, useCallback as Yn } from "react";
4
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-BmioUKtQ.js";
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-f0tqdMye.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-C7IUibkK.js";
7
+ import { D as ui, E as ci } from "./field-error-headless-BErhh9GG.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-xDv2bEeI.js";
9
+ import { c as re, r as X, e as R, a as J, d as li, b as _i } from "./isObjectLike-BYOX5XY4.js";
10
10
  import { S as vi } from "./selection-indicator-XQ8MYHUQ.js";
11
11
  import { E as hi } from "./error-icon-hZxQ6DEy.js";
12
12
  import { C as pi } from "./checkbox-indicator-module-classes-DqzGZQRQ.js";
13
13
  import { s as oe } from "./field-rac.module-ColNPUt0.js";
14
- import { f as di, g as yi, b as bi, P as gi, p as qi, i as Ci } from "./form-element-classes-BuM-vthE.js";
15
- import { u as Ai } from "./use-element-state-class-name-nCwOVSGM.js";
14
+ import { f as di, g as yi, b as bi, O as gi, o as qi, i as Ci } from "./form-element-classes-jC8D0LnK.js";
15
+ import { u as Ai } from "./use-element-state-class-name-BqmaTba3.js";
16
16
  var ue, dt;
17
17
  function mi() {
18
18
  if (dt) return ue;
@@ -1,10 +1,10 @@
1
1
  import i, { useMemo as F, 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-BmioUKtQ.js";
4
+ import { ai as N, af as Q, as as X, ab as Y, ak as Z } from "./form-f0tqdMye.js";
5
5
  import { f as L, a as k } from "./find-child-C60k4CxG.js";
6
- import { D as ee, E as te } from "./field-error-headless-C7IUibkK.js";
7
- import { L as ae } from "./field-label-headless-BQFy2iAr.js";
6
+ import { D as ee, E as te } from "./field-error-headless-BErhh9GG.js";
7
+ import { L as ae } from "./field-label-headless-BGyK-5xW.js";
8
8
  import { F as ne } from "./fieldset-headless-CD3fds9J.js";
9
9
  import { N as se } from "./options-layout-constants-DEfIEJWD.js";
10
10
  import { S as le } from "./selection-indicator-XQ8MYHUQ.js";
@@ -1,17 +1,17 @@
1
1
  import { RicosViewer as n } from "@wix/ricos/viewer";
2
2
  import a from "classnames";
3
3
  import e from "react";
4
- import { C as t } from "./checkbox-group-field-headless-DryeaW7l.js";
4
+ import { C as t } from "./checkbox-group-field-headless-Bx5Y-RMP.js";
5
5
  import { E as m } from "./error-icon-hZxQ6DEy.js";
6
6
  import { C as c } from "./checkbox-indicator-module-classes-DqzGZQRQ.js";
7
7
  import { s } from "./field-rac.module-ColNPUt0.js";
8
- import { z as i, P as E, c as p, e as O, y as C, p as _, i as L, d as R } from "./form-element-classes-BuM-vthE.js";
8
+ import { y as i, O as E, c as O, e as p, x as C, o as _, i as L, d as R } from "./form-element-classes-jC8D0LnK.js";
9
9
  import { o as r } from "./options-rac.module-KM-VT_KY.js";
10
- import { u as I } from "./use-element-state-class-name-nCwOVSGM.js";
10
+ import { u as I } from "./use-element-state-class-name-BqmaTba3.js";
11
11
  const S = ({ content: o, locale: l }) => /* @__PURE__ */ e.createElement(n, {
12
12
  content: o,
13
13
  locale: l
14
- }), x = () => {
14
+ }), h = () => {
15
15
  const o = I({
16
16
  globalClasses: R,
17
17
  moduleClasses: c
@@ -21,13 +21,13 @@ const S = ({ content: o, locale: l }) => /* @__PURE__ */ e.createElement(n, {
21
21
  }, /* @__PURE__ */ e.createElement(t.Label.Required, {
22
22
  className: a(E, s.requiredMark)
23
23
  })), /* @__PURE__ */ e.createElement(t.Options, {
24
- className: a(p, r.options)
24
+ className: a(O, r.options)
25
25
  }, /* @__PURE__ */ e.createElement(t.Options.Option, null, /* @__PURE__ */ e.createElement(t.Options.Option.Checkbox, {
26
26
  className: s.checkbox
27
27
  }, /* @__PURE__ */ e.createElement(t.Options.Option.Checkbox.Input, {
28
28
  className: o
29
29
  }), /* @__PURE__ */ e.createElement(t.Options.Option.Checkbox.Label, {
30
- className: a(O, r.optionLabel)
30
+ className: a(p, r.optionLabel)
31
31
  })), /* @__PURE__ */ e.createElement(t.Options.Option.OtherInput, {
32
32
  inputClassName: a(C, s.input)
33
33
  }))), /* @__PURE__ */ e.createElement(t.Error, {
@@ -37,5 +37,5 @@ const S = ({ content: o, locale: l }) => /* @__PURE__ */ e.createElement(n, {
37
37
  }, S));
38
38
  };
39
39
  export {
40
- x as C
40
+ h as C
41
41
  };
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { C as o } from "./checkbox-group-field-rac-CJfbT13O.js";
2
+ import { C as o } from "./checkbox-group-field-rac-CZW28rj5.js";
3
3
  const c = () => /* @__PURE__ */ e.createElement(o, null);
4
4
  export {
5
5
  c as CheckboxGroupRAC