@wix/form-elements 1.159.0 → 1.160.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 (116) hide show
  1. package/dist/component/{appointment-rac-CpiyUOXo.js → appointment-rac-BmHu56e5.js} +63 -63
  2. package/dist/component/{bookings-address-rac-BBEUV1t7.js → bookings-address-rac-DY9l2g0h.js} +1 -1
  3. package/dist/component/{bookings-email-rac-DdfoeLFV.js → bookings-email-rac-B5vNSOsS.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-DH39yvQ-.js → bookings-first-name-rac-CJiefCNz.js} +1 -1
  5. package/dist/component/{bookings-header-rac-StLm7b4I.js → bookings-header-rac-BFu7Ko5w.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-DHZMPMOO.js → bookings-last-name-rac-DegMM13h.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-DrHp1ojM.js → bookings-login-bar-rac-DrA-5tBH.js} +7 -7
  8. package/dist/component/{bookings-phone-rac-6aGjbavK.js → bookings-phone-rac-DsaeqxCI.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-DBlGZUM5.js → bookings-rich-text-rac-jRHiwqi8.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-Cna1Va1X.js → checkbox-field-rac-CyoBb6Yf.js} +43 -43
  11. package/dist/component/{checkbox-group-field-headless-m_-10Mdx.js → checkbox-group-field-headless-Bv1gU3oL.js} +54 -54
  12. package/dist/component/{checkbox-group-field-rac-BSCi5hmx.js → checkbox-group-field-rac-DasArcdV.js} +6 -6
  13. package/dist/component/{checkbox-group-rac-BWYQZmAI.js → checkbox-group-rac-CzmufV1U.js} +1 -1
  14. package/dist/component/{checkbox-rac-BsUTfSUf.js → checkbox-rac-6C7XoUoZ.js} +1 -1
  15. package/dist/component/{contacts-address-rac-DwCLW8rV.js → contacts-address-rac-BZobbFtz.js} +1 -1
  16. package/dist/component/{contacts-birthdate-rac-DnNgxbKb.js → contacts-birthdate-rac-DIzf41DS.js} +1 -1
  17. package/dist/component/{contacts-company-rac-BQqXzpNl.js → contacts-company-rac-BiBDO28r.js} +1 -1
  18. package/dist/component/{contacts-email-rac-BINnZzxp.js → contacts-email-rac-5mqokCSD.js} +1 -1
  19. package/dist/component/{contacts-first-name-rac-DBWKFkIU.js → contacts-first-name-rac-BXe3_Nz5.js} +1 -1
  20. package/dist/component/{contacts-last-name-rac-D_-qrF7I.js → contacts-last-name-rac-Cfqgh7u1.js} +1 -1
  21. package/dist/component/{contacts-phone-rac-7n7JkSDr.js → contacts-phone-rac-cmLUWnAc.js} +1 -1
  22. package/dist/component/{contacts-position-rac-DvXP8nvT.js → contacts-position-rac-DTyvklfN.js} +1 -1
  23. package/dist/component/{contacts-subscribe-rac-DnLnV5Gm.js → contacts-subscribe-rac-D-ZEX1A3.js} +1 -1
  24. package/dist/component/{contacts-tax-id-rac-BJVWhvYW.js → contacts-tax-id-rac-B4NYJwWt.js} +1 -1
  25. package/dist/component/{date-availability-Df807-eN.js → date-availability-Dach9aRC.js} +1 -1
  26. package/dist/component/date-input-field-rac-B72mHcya.js +309 -0
  27. package/dist/component/{date-input-rac-CSB3MWHW.js → date-input-rac-CYix11gT.js} +1 -1
  28. package/dist/component/{date-picker-field-rac-CySThPfz.js → date-picker-field-rac-B8pvtPir.js} +86 -86
  29. package/dist/component/{date-picker-rac-Fp8_pxtf.js → date-picker-rac-D6cR0zH9.js} +1 -1
  30. package/dist/component/date-time-input-field-rac-B7Y3Yf5l.js +441 -0
  31. package/dist/component/{date-time-input-rac-wctMR4uM.js → date-time-input-rac-DMN-noQX.js} +1 -1
  32. package/dist/component/{dext-checkbox-group-rac-erMPfwFL.js → dext-checkbox-group-rac-Kq0GnteP.js} +2 -2
  33. package/dist/component/{dext-checkbox-rac-DQSq9Lqd.js → dext-checkbox-rac-BY9GZ4n1.js} +1 -1
  34. package/dist/component/{dext-date-picker-rac-RCLcd1VV.js → dext-date-picker-rac-CXArIddp.js} +1 -1
  35. package/dist/component/{dext-date-time-input-rac-DMolWzvy.js → dext-date-time-input-rac-B39TtxGq.js} +1 -1
  36. package/dist/component/{dext-dropdown-rac-wQ2GJL4V.js → dext-dropdown-rac-C3y0G8cS.js} +1 -1
  37. package/dist/component/{dext-email-rac-BtymBVTW.js → dext-email-rac-BIg3cq7Q.js} +1 -1
  38. package/dist/component/{dext-number-input-rac-DHPiK0Z3.js → dext-number-input-rac-27sHJ7yN.js} +1 -1
  39. package/dist/component/{dext-phone-rac-C58vHEEe.js → dext-phone-rac-CcohoFQp.js} +1 -1
  40. package/dist/component/dext-radio-group-rac-eead3Gve.js +18 -0
  41. package/dist/component/{dext-rating-input-rac-DI0k3tVa.js → dext-rating-input-rac-B_E6OcBr.js} +1 -1
  42. package/dist/component/{dext-tags-rac-DmF6ctvQ.js → dext-tags-rac-Yd9aAtnF.js} +2 -2
  43. package/dist/component/{dext-text-area-rac-Bv6ridbR.js → dext-text-area-rac-CMACri2C.js} +1 -1
  44. package/dist/component/{dext-text-input-rac-DoTAdUgU.js → dext-text-input-rac-sNjSCfQ-.js} +1 -1
  45. package/dist/component/{dext-url-input-rac-BuoMS6g2.js → dext-url-input-rac-DwhbzJty.js} +1 -1
  46. package/dist/component/{donation-rac-CjZalSgn.js → donation-rac-BVAN3kMk.js} +77 -77
  47. package/dist/component/{dropdown-field-rac-By_fpqhx.js → dropdown-field-rac-DdoGigWx.js} +14 -14
  48. package/dist/component/{dropdown-rac-BnIEC4RX.js → dropdown-rac-CRkt5w47.js} +1 -1
  49. package/dist/component/{ecom-address-rac-B6Usk1Ty.js → ecom-address-rac-C36hFHW0.js} +1 -1
  50. package/dist/component/{ecom-subscription-checkbox-rac-B4B0wzlC.js → ecom-subscription-checkbox-rac-BKfQ348w.js} +2 -2
  51. package/dist/component/{email-input-field-rac-Df3KI3_v.js → email-input-field-rac-MOaISYxa.js} +59 -59
  52. package/dist/component/{events-repeater-rac-B2iBk8lV.js → events-repeater-rac-D6p-NgE8.js} +20 -20
  53. package/dist/component/{events-rsvp-rac-xl_qCIh3.js → events-rsvp-rac-DVpgN8gm.js} +18 -18
  54. package/dist/component/{field-error-headless-DWc76YmY.js → field-error-headless-XNWmDH3E.js} +4 -4
  55. package/dist/component/{field-label-headless-DKBKqI2X.js → field-label-headless-CORRAJGt.js} +4 -4
  56. package/dist/component/{file-upload-rac-BVj4cRqe.js → file-upload-rac-DRMr7E4b.js} +89 -89
  57. package/dist/component/{fixed-payment-rac-BS1Hb4hg.js → fixed-payment-rac-BUXzNex9.js} +18 -18
  58. package/dist/component/{form-BTUoOcqB.js → form-DSpx-AO8.js} +785 -728
  59. package/dist/component/form.js +1 -1
  60. package/dist/component/{header-field-rac-DTJ_Us6u.js → header-field-rac-CiDXlNsa.js} +6 -6
  61. package/dist/component/{header-rac-CvYp0Jjo.js → header-rac-B5Rg-h8u.js} +1 -1
  62. package/dist/component/{image-choice-rac--qrYqKJl.js → image-choice-rac-CtoA_KDp.js} +22 -22
  63. package/dist/component/{index-DIl9BH2M.js → index-Bz7ZhQsF.js} +53 -53
  64. package/dist/component/{index-CoEV4QEy.js → index-CwruESwc.js} +5 -5
  65. package/dist/component/{isObjectLike-CLN09X5V.js → isObjectLike-C5dHxHP0.js} +11 -11
  66. package/dist/component/multiline-address-field-rac-Z-qF366L.js +1664 -0
  67. package/dist/component/{multiline-address-rac-DtaAJjbR.js → multiline-address-rac-CJIHTMw5.js} +1 -1
  68. package/dist/component/{number-input-field-rac-2gqDUlw9.js → number-input-field-rac-D4vf6I6N.js} +29 -29
  69. package/dist/component/{number-input-rac-BlciEPLN.js → number-input-rac-B2jW6JUQ.js} +1 -1
  70. package/dist/component/{password-rac-BvvQgafk.js → password-rac-DGRZ17Jl.js} +29 -29
  71. package/dist/component/{payment-input-rac-CSRyOPPr.js → payment-input-rac-BtD-tAKv.js} +27 -27
  72. package/dist/component/phone-input-field-rac-KD4-APhr.js +512 -0
  73. package/dist/component/{phone-rac-DMP1MoRs.js → phone-rac-Cw2yccgg.js} +1 -1
  74. package/dist/component/{product-list-rac-WQ9Qhzum.js → product-list-rac-XbzTDdbp.js} +33 -33
  75. package/dist/component/{quiz-radio-group-rac-DzrL3-gZ.js → quiz-radio-group-rac-BDw_mAw5.js} +1 -1
  76. package/dist/component/{radio-button-module-classes-CJk18LzO.js → radio-button-module-classes-CFGf0Hzh.js} +23 -23
  77. package/dist/component/{radio-group-field-rac-DGoMoSgo.js → radio-group-field-rac-CXN7tyVu.js} +6 -6
  78. package/dist/component/{radio-group-rac-DhAELVNV.js → radio-group-rac-COHzqjBh.js} +1 -1
  79. package/dist/component/{rating-input-field-rac-CFoesqmC.js → rating-input-field-rac-DCXNZgf1.js} +37 -37
  80. package/dist/component/{rating-input-rac-CFMIxche.js → rating-input-rac-DwQt9ML7.js} +1 -1
  81. package/dist/component/{rich-content-rac.module-xJ03MegT.js → rich-content-rac.module-B7rPwNns.js} +8 -8
  82. package/dist/component/{rich-text-field-rac-CBMY4JOB.js → rich-text-field-rac-DlER7NRD.js} +4 -4
  83. package/dist/component/{rich-text-rac-CvZ7s1Ct.js → rich-text-rac-CjicsHA7.js} +1 -1
  84. package/dist/component/service-dropdown-rac-B81LC_6_.js +145 -0
  85. package/dist/component/{services-multi-choice-rac-fXOov4K7.js → services-multi-choice-rac-BR6gZeHk.js} +16 -16
  86. package/dist/component/{signature-rac-CG_Q9Oxr.js → signature-rac-XFj7Ddtp.js} +69 -69
  87. package/dist/component/{submit-button-rac-DAsovEp2.js → submit-button-rac-Bz7zs_3W.js} +12 -12
  88. package/dist/component/{tags-field-rac-9mpOMPLm.js → tags-field-rac-DWWkNKqc.js} +22 -22
  89. package/dist/component/{tags-rac-CNBJ08wS.js → tags-rac-BXyiQ9i1.js} +1 -1
  90. package/dist/component/{text-area-field-rac-D4aTm7CM.js → text-area-field-rac-DsIRYi0d.js} +21 -21
  91. package/dist/component/{text-area-rac-DoKiH_Kv.js → text-area-rac-CF9pDP9d.js} +1 -1
  92. package/dist/component/{text-input-field-rac-BbvPB26b.js → text-input-field-rac-BwIDZACz.js} +5 -5
  93. package/dist/component/{text-input-headless-BGaBRrP1.js → text-input-headless-5kQs2_Xu.js} +14 -14
  94. package/dist/component/{text-input-rac-1ac1EKad.js → text-input-rac-CRmSuw1k.js} +1 -1
  95. package/dist/component/{time-input-rac-BS0rR-89.js → time-input-rac-BRMNpe51.js} +20 -20
  96. package/dist/component/{url-input-field-rac-DbO6ATng.js → url-input-field-rac-CKLS3QDk.js} +17 -17
  97. package/dist/component/{url-input-rac-DHuny3d-.js → url-input-rac-Dv-kp50D.js} +1 -1
  98. package/dist/component/use-dropdown-option-class-name-BQi_qE_-.js +116 -0
  99. package/dist/component/use-dropdown-trigger-class-name-bAK8aHiG.js +96 -0
  100. package/dist/component/{use-element-state-class-name-BUsFQfoW.js → use-element-state-class-name-rXM_lHug.js} +1 -1
  101. package/dist/component/{use-hoverable-input-class-name-C2l3G8gb.js → use-hoverable-input-class-name-BnV_uerV.js} +2 -2
  102. package/dist/component/use-is-forced-open-dropdown-Bp-5Xpmw.js +53 -0
  103. package/dist/component/{use-service-options-base-D_enm38a.js → use-service-options-base-CLeE9-Tx.js} +10 -10
  104. package/dist/component/use-text-input-class-name-DIKWvfkm.js +6 -0
  105. package/dist/form.d.ts +8 -0
  106. package/package.json +2 -2
  107. package/dist/component/date-input-field-rac-CEuPElMH.js +0 -303
  108. package/dist/component/date-time-input-field-rac-DG5KSBHe.js +0 -433
  109. package/dist/component/dext-radio-group-rac-Cp-I94HW.js +0 -18
  110. package/dist/component/dropdown-field-headless-BYEjiIUf.js +0 -93
  111. package/dist/component/multiline-address-field-rac-BjWzx-LH.js +0 -1659
  112. package/dist/component/phone-input-field-rac-BVWzH_TY.js +0 -508
  113. package/dist/component/service-dropdown-rac-B627AgPG.js +0 -145
  114. package/dist/component/use-dropdown-trigger-class-name-rcGBzxI1.js +0 -117
  115. package/dist/component/use-is-forced-open-dropdown-CoOk4W4i.js +0 -48
  116. package/dist/component/use-text-input-class-name-BLtPQoYE.js +0 -6
@@ -1,19 +1,19 @@
1
1
  import { RicosViewer as ie } from "@wix/ricos/viewer";
2
- import D from "classnames";
3
- import u, { createContext as z, useContext as Z, createElement as R, isValidElement as B, cloneElement as w, useState as le, useCallback as me, useEffect as ue } from "react";
2
+ import j from "classnames";
3
+ import u, { createContext as Q, useContext as Z, createElement as R, isValidElement as B, cloneElement as w, useState as le, useCallback as me, useEffect as ue } from "react";
4
4
  import { TextField as pe } from "react-aria-components";
5
- import { bl as fe, by as ge, bj as ve, d as ye, bo as Ee, bs as de, bm as be, ao as Se, R as Oe, a0 as he, H as Ie, v as Ne, a9 as Ae } from "./form-BTUoOcqB.js";
5
+ import { bw as fe, bJ as ge, bu as ve, d as ye, bz as Ee, bD as de, bx as be, az as Se, V as Oe, ab as he, L as Ie, z as Ne, ak as Ae } from "./form-DSpx-AO8.js";
6
6
  import { f as C } from "./find-child-C60k4CxG.js";
7
7
  import ee from "@babel/runtime/helpers/objectWithoutProperties";
8
8
  import L from "@babel/runtime/helpers/typeof";
9
- import Fe from "@babel/runtime/helpers/defineProperty";
10
- import ke from "html-parse-stringify";
11
- import Te from "@babel/runtime/helpers/classCallCheck";
12
- import xe from "@babel/runtime/helpers/createClass";
13
- import { T as U } from "./text-input-headless-BGaBRrP1.js";
14
- import { E as je } from "./error-icon-hZxQ6DEy.js";
9
+ import ke from "@babel/runtime/helpers/defineProperty";
10
+ import Fe from "html-parse-stringify";
11
+ import xe from "@babel/runtime/helpers/classCallCheck";
12
+ import Te from "@babel/runtime/helpers/createClass";
13
+ import { T as U } from "./text-input-headless-5kQs2_Xu.js";
14
+ import { E as De } from "./error-icon-hZxQ6DEy.js";
15
15
  import { s as H } from "./field-rac.module-DP0lkkEv.js";
16
- import { u as De } from "./use-text-input-class-name-BLtPQoYE.js";
16
+ import { u as je } from "./use-text-input-class-name-DIKWvfkm.js";
17
17
  var Ce = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, Le = {
18
18
  "&": "&",
19
19
  "&": "&",
@@ -48,15 +48,15 @@ var Ce = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#1
48
48
  transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
49
49
  useSuspense: !0,
50
50
  unescape: Pe
51
- }, we, He = z();
51
+ }, we, He = Q();
52
52
  function Re() {
53
53
  return _e;
54
54
  }
55
55
  (function() {
56
56
  function e() {
57
- Te(this, e), this.usedNamespaces = {};
57
+ xe(this, e), this.usedNamespaces = {};
58
58
  }
59
- return xe(e, [{
59
+ return Te(e, [{
60
60
  key: "addUsedNamespaces",
61
61
  value: function(a) {
62
62
  var o = this;
@@ -88,7 +88,7 @@ function Be() {
88
88
  typeof t[0] == "string" && J[t[0]] || (typeof t[0] == "string" && (J[t[0]] = /* @__PURE__ */ new Date()), K.apply(void 0, t));
89
89
  }
90
90
  var Ue = ["format"], Ve = ["children", "count", "parent", "i18nKey", "context", "tOptions", "values", "defaults", "components", "ns", "i18n", "t", "shouldUnescape"];
91
- function Q(e, t) {
91
+ function X(e, t) {
92
92
  var a = Object.keys(e);
93
93
  if (Object.getOwnPropertySymbols) {
94
94
  var o = Object.getOwnPropertySymbols(e);
@@ -101,9 +101,9 @@ function Q(e, t) {
101
101
  function p(e) {
102
102
  for (var t = 1; t < arguments.length; t++) {
103
103
  var a = arguments[t] != null ? arguments[t] : {};
104
- t % 2 ? Q(Object(a), !0).forEach(function(o) {
105
- Fe(e, o, a[o]);
106
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(a)) : Q(Object(a)).forEach(function(o) {
104
+ t % 2 ? X(Object(a), !0).forEach(function(o) {
105
+ ke(e, o, a[o]);
106
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(a)) : X(Object(a)).forEach(function(o) {
107
107
  Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(a, o));
108
108
  });
109
109
  }
@@ -146,13 +146,13 @@ function te(e, t) {
146
146
  else if (d && v === 1 && typeof b == "string")
147
147
  a += "<".concat(r.type, ">").concat(b, "</").concat(r.type, ">");
148
148
  else {
149
- var T = te(b, t);
150
- a += "<".concat(g, ">").concat(T, "</").concat(g, ">");
149
+ var x = te(b, t);
150
+ a += "<".concat(g, ">").concat(x, "</").concat(g, ">");
151
151
  }
152
152
  } else if (r === null)
153
153
  K("Trans: the passed in value is invalid - seems you passed in a null child.");
154
154
  else if (L(r) === "object") {
155
- var O = r.format, F = ee(r, Ue), A = Object.keys(F);
155
+ var O = r.format, k = ee(r, Ue), A = Object.keys(k);
156
156
  if (A.length === 1) {
157
157
  var S = O ? "".concat(A[0], ", ").concat(O) : A[0];
158
158
  a += "{{".concat(S, "}}");
@@ -174,8 +174,8 @@ function Ge(e, t, a, o, c, r) {
174
174
  });
175
175
  }
176
176
  b(e);
177
- var T = ke.parse("<0>".concat(t, "</0>")), O = p(p({}, d), c);
178
- function F(y, h, s) {
177
+ var x = Fe.parse("<0>".concat(t, "</0>")), O = p(p({}, d), c);
178
+ function k(y, h, s) {
179
179
  var i = G(y), I = S(i, h.children, s);
180
180
  return qe(i) && I.length === 0 ? i : I;
181
181
  }
@@ -187,18 +187,18 @@ function Ge(e, t, a, o, c, r) {
187
187
  function S(y, h, s) {
188
188
  var i = M(y), I = M(h);
189
189
  return I.reduce(function(l, n, E) {
190
- var k = n.children && n.children[0] && n.children[0].content && a.services.interpolator.interpolate(n.children[0].content, O, a.language);
190
+ var F = n.children && n.children[0] && n.children[0].content && a.services.interpolator.interpolate(n.children[0].content, O, a.language);
191
191
  if (n.type === "tag") {
192
192
  var N = i[parseInt(n.name, 10)];
193
193
  !N && s.length === 1 && s[0][n.name] && (N = s[0][n.name]), N || (N = {});
194
194
  var m = Object.keys(n.attrs).length !== 0 ? Ye({
195
195
  props: n.attrs
196
- }, N) : N, x = B(m), V = x && Y(n, !0) && !n.voidElement, P = v && L(m) === "object" && m.dummy && !x, _ = L(e) === "object" && e !== null && Object.hasOwnProperty.call(e, n.name);
196
+ }, N) : N, T = B(m), V = T && Y(n, !0) && !n.voidElement, P = v && L(m) === "object" && m.dummy && !T, _ = L(e) === "object" && e !== null && Object.hasOwnProperty.call(e, n.name);
197
197
  if (typeof m == "string") {
198
198
  var q = a.services.interpolator.interpolate(m, O, a.language);
199
199
  l.push(q);
200
200
  } else if (Y(m) || V) {
201
- var ne = F(m, n, s);
201
+ var ne = k(m, n, s);
202
202
  A(m, ne, l, E);
203
203
  } else if (P) {
204
204
  var oe = S(i, n.children, s);
@@ -207,7 +207,7 @@ function Ge(e, t, a, o, c, r) {
207
207
  }), oe));
208
208
  } else if (Number.isNaN(parseFloat(n.name)))
209
209
  if (_) {
210
- var re = F(m, n, s);
210
+ var re = k(m, n, s);
211
211
  A(m, re, l, E, n.voidElement);
212
212
  } else if (o.transSupportBasicHtmlNodes && g.indexOf(n.name) > -1)
213
213
  if (n.voidElement)
@@ -226,31 +226,31 @@ function Ge(e, t, a, o, c, r) {
226
226
  var ce = S(i, n.children, s);
227
227
  l.push("<".concat(n.name, ">").concat(ce, "</").concat(n.name, ">"));
228
228
  }
229
- else if (L(m) === "object" && !x) {
230
- var $ = n.children[0] ? k : null;
229
+ else if (L(m) === "object" && !T) {
230
+ var $ = n.children[0] ? F : null;
231
231
  $ && l.push($);
232
- } else n.children.length === 1 && k ? l.push(w(m, p(p({}, m.props), {}, {
232
+ } else n.children.length === 1 && F ? l.push(w(m, p(p({}, m.props), {}, {
233
233
  key: E
234
- }), k)) : l.push(w(m, p(p({}, m.props), {}, {
234
+ }), F)) : l.push(w(m, p(p({}, m.props), {}, {
235
235
  key: E
236
236
  })));
237
237
  } else if (n.type === "text") {
238
- var W = o.transWrapTextNodes, X = r ? o.unescape(a.services.interpolator.interpolate(n.content, O, a.language)) : a.services.interpolator.interpolate(n.content, O, a.language);
238
+ var W = o.transWrapTextNodes, z = r ? o.unescape(a.services.interpolator.interpolate(n.content, O, a.language)) : a.services.interpolator.interpolate(n.content, O, a.language);
239
239
  W ? l.push(R(W, {
240
240
  key: "".concat(n.name, "-").concat(E)
241
- }, X)) : l.push(X);
241
+ }, z)) : l.push(z);
242
242
  }
243
243
  return l;
244
244
  }, []);
245
245
  }
246
- var j = S([{
246
+ var D = S([{
247
247
  dummy: !0,
248
248
  children: e || []
249
- }], T, M(e || []));
250
- return G(j[0]);
249
+ }], x, M(e || []));
250
+ return G(D[0]);
251
251
  }
252
252
  function $e(e) {
253
- var t = e.children, a = e.count, o = e.parent, c = e.i18nKey, r = e.context, g = e.tOptions, v = g === void 0 ? {} : g, d = e.values, b = e.defaults, T = e.components, O = e.ns, F = e.i18n, A = e.t, S = e.shouldUnescape, j = ee(e, Ve), y = Z(He) || {}, h = y.i18n, s = y.defaultNS, i = F || h || Ke();
253
+ var t = e.children, a = e.count, o = e.parent, c = e.i18nKey, r = e.context, g = e.tOptions, v = g === void 0 ? {} : g, d = e.values, b = e.defaults, x = e.components, O = e.ns, k = e.i18n, A = e.t, S = e.shouldUnescape, D = ee(e, Ve), y = Z(He) || {}, h = y.i18n, s = y.defaultNS, i = k || h || Ke();
254
254
  if (!i)
255
255
  return Be("You will need to pass in an i18next instance by using i18nextReactModule"), t;
256
256
  var I = A || i.t.bind(i) || function(q) {
@@ -259,32 +259,32 @@ function $e(e) {
259
259
  r && (v.context = r);
260
260
  var l = p(p({}, Re()), i.options && i.options.react), n = O || I.ns || s || i.options && i.options.defaultNS;
261
261
  n = typeof n == "string" ? [n] : n || ["translation"];
262
- var E = b || te(t, l) || l.transEmptyNodeValue || c, k = l.hashTransKey, N = c || (k ? k(E) : E), m = d ? v.interpolation : {
262
+ var E = b || te(t, l) || l.transEmptyNodeValue || c, F = l.hashTransKey, N = c || (F ? F(E) : E), m = d ? v.interpolation : {
263
263
  interpolation: p(p({}, v.interpolation), {}, {
264
264
  prefix: "#$?",
265
265
  suffix: "?$#"
266
266
  })
267
- }, x = p(p(p(p({}, v), {}, {
267
+ }, T = p(p(p(p({}, v), {}, {
268
268
  count: a
269
269
  }, d), m), {}, {
270
270
  defaultValue: E,
271
271
  ns: n
272
- }), V = N ? I(N, x) : E, P = Ge(T || t, V, i, l, x, S), _ = o !== void 0 ? o : l.defaultTransParent;
273
- return _ ? R(_, j, P) : P;
272
+ }), V = N ? I(N, T) : E, P = Ge(x || t, V, i, l, T, S), _ = o !== void 0 ? o : l.defaultTransParent;
273
+ return _ ? R(_, D, P) : P;
274
274
  }
275
- const We = "email-mistype-suggestion", Xe = "email-mistype-suggestion-link", ae = /* @__PURE__ */ z(void 0);
275
+ const We = "email-mistype-suggestion", ze = "email-mistype-suggestion-link", ae = /* @__PURE__ */ Q(void 0);
276
276
  function Je() {
277
277
  const e = Z(ae);
278
278
  if (e === void 0)
279
279
  throw new Error("useEmailSuggestion must be used inside <EmailInput>");
280
280
  return e;
281
281
  }
282
- const Qe = ({ activeSuggestion: e, applySuggestion: t, children: a }) => /* @__PURE__ */ u.createElement(ae.Provider, {
282
+ const Xe = ({ activeSuggestion: e, applySuggestion: t, children: a }) => /* @__PURE__ */ u.createElement(ae.Provider, {
283
283
  value: {
284
284
  activeSuggestion: e,
285
285
  applySuggestion: t
286
286
  }
287
- }, a), ze = ({ className: e }) => {
287
+ }, a), Qe = ({ className: e }) => {
288
288
  const { suggestionId: t } = fe(), { activeSuggestion: a, applySuggestion: o } = Je(), { t: c, i18n: r } = ge();
289
289
  return /* @__PURE__ */ u.createElement("div", {
290
290
  id: t,
@@ -302,7 +302,7 @@ const Qe = ({ activeSuggestion: e, applySuggestion: t, children: a }) => /* @__P
302
302
  /* @__PURE__ */ u.createElement("button", {
303
303
  key: "0",
304
304
  type: "button",
305
- "data-hook": Xe,
305
+ "data-hook": ze,
306
306
  "aria-label": c("input.email.mistype-check.fix-aria-label", {
307
307
  email: a
308
308
  }),
@@ -449,20 +449,20 @@ const Qe = ({ activeSuggestion: e, applySuggestion: t, children: a }) => /* @__P
449
449
  validate: v
450
450
  };
451
451
  }, f = ({ children: e }) => {
452
- const { id: t, value: a, onChange: o, disabled: c, readOnly: r, required: g, hasError: v, onBlur: d, onFocus: b, error: T, description: O, FieldLayout: F } = Ee(), { isMistyped: A, suggestedEmail: S, validate: j } = at({
452
+ const { id: t, value: a, onChange: o, disabled: c, readOnly: r, required: g, hasError: v, onBlur: d, onFocus: b, error: x, description: O, FieldLayout: k } = Ee(), { isMistyped: A, suggestedEmail: S, validate: D } = at({
453
453
  email: a,
454
454
  hasError: v
455
- }), { setFocusedFieldId: y } = de(), s = A && (!r && !c) && S ? S : void 0, i = be(t, T, O, s), I = () => {
455
+ }), { setFocusedFieldId: y } = de(), s = A && (!r && !c) && S ? S : void 0, i = be(t, x, O, s), I = () => {
456
456
  o(s), y(t);
457
457
  }, l = () => {
458
- j(), d == null || d();
459
- }, n = C(e, f.Label), E = C(e, f.Input), k = C(e, f.Description), N = C(e, f.Error), m = C(e, f.Suggestion);
458
+ D(), d == null || d();
459
+ }, n = C(e, f.Label), E = C(e, f.Input), F = C(e, f.Description), N = C(e, f.Error), m = C(e, f.Suggestion);
460
460
  return /* @__PURE__ */ u.createElement(Se.Provider, {
461
461
  value: i
462
- }, /* @__PURE__ */ u.createElement(Qe, {
462
+ }, /* @__PURE__ */ u.createElement(Xe, {
463
463
  activeSuggestion: s,
464
464
  applySuggestion: I
465
- }, /* @__PURE__ */ u.createElement(F, {
465
+ }, /* @__PURE__ */ u.createElement(k, {
466
466
  fieldId: t,
467
467
  renderLabel: () => n,
468
468
  renderInput: () => /* @__PURE__ */ u.createElement(pe, {
@@ -478,33 +478,33 @@ const Qe = ({ activeSuggestion: e, applySuggestion: t, children: a }) => /* @__P
478
478
  onBlur: l,
479
479
  onFocus: b
480
480
  }, E),
481
- renderDescription: () => /* @__PURE__ */ u.createElement(u.Fragment, null, N, m, k)
481
+ renderDescription: () => /* @__PURE__ */ u.createElement(u.Fragment, null, N, m, F)
482
482
  })));
483
483
  };
484
484
  f.Label = U.Label;
485
485
  f.Input = U.Input;
486
486
  f.Description = U.Description;
487
487
  f.Error = U.Error;
488
- f.Suggestion = ze;
488
+ f.Suggestion = Qe;
489
489
  const nt = "_suggestion_lysve_1", ot = {
490
490
  suggestion: nt
491
491
  }, rt = ({ content: e, locale: t }) => /* @__PURE__ */ u.createElement(ie, {
492
492
  content: e,
493
493
  locale: t
494
494
  }), ht = () => {
495
- const e = De();
495
+ const e = je();
496
496
  return /* @__PURE__ */ u.createElement(f, null, /* @__PURE__ */ u.createElement(f.Label, {
497
- className: D(Oe, H.label)
497
+ className: j(Oe, H.label)
498
498
  }, /* @__PURE__ */ u.createElement(f.Label.Required, {
499
- className: D(he, H.requiredMark)
499
+ className: j(he, H.requiredMark)
500
500
  })), /* @__PURE__ */ u.createElement(f.Input, {
501
501
  className: e
502
502
  }), /* @__PURE__ */ u.createElement(f.Error, {
503
- className: D(Ie, H.error)
504
- }, /* @__PURE__ */ u.createElement(je, null), /* @__PURE__ */ u.createElement(f.Error.Text, null)), /* @__PURE__ */ u.createElement(f.Description, {
505
- className: D(Ne, H.description)
503
+ className: j(Ie, H.error)
504
+ }, /* @__PURE__ */ u.createElement(De, null), /* @__PURE__ */ u.createElement(f.Error.Text, null)), /* @__PURE__ */ u.createElement(f.Description, {
505
+ className: j(Ne, H.description)
506
506
  }, rt), /* @__PURE__ */ u.createElement(f.Suggestion, {
507
- className: D(Ae, ot.suggestion)
507
+ className: j(Ae, ot.suggestion)
508
508
  }));
509
509
  };
510
510
  export {
@@ -1,20 +1,20 @@
1
- import t, { useState as j, useMemo as h, useCallback as V, useRef as x } from "react";
2
- import M from "classnames";
3
- import { NumberField as z, CheckboxField as J, CheckboxButton as Q, Group as W, Input as Y, Button as w } from "react-aria-components";
4
- import { bu as q, bv as H, bk as K, bp as P, aM as Z, bo as y, bl as X, bq as U, as as ee, R as te, n as se, s as ne, r as oe } from "./form-BTUoOcqB.js";
1
+ import t, { useState as j, useMemo as h, useCallback as V, useRef as M } from "react";
2
+ import w from "classnames";
3
+ import { NumberField as z, CheckboxField as J, CheckboxButton as Q, Group as W, Input as Y, Button as k } from "react-aria-components";
4
+ import { bF as X, bG as q, bv as H, bA as K, aX as Z, bz as y, bw as P, bB as U, aD as ee, V as te, n as se, s as ne, r as oe } from "./form-DSpx-AO8.js";
5
5
  import { f as b, a as L } from "./find-child-C60k4CxG.js";
6
- import { L as re } from "./field-label-headless-DKBKqI2X.js";
6
+ import { L as re } from "./field-label-headless-CORRAJGt.js";
7
7
  import { S as ae } from "./selection-indicator-XQ8MYHUQ.js";
8
8
  import { u as le } from "./use-invoke-callback-UH73A_J3.js";
9
- import { C as k } from "./chevron-down-icon-CcpVm6B-.js";
9
+ import { C as x } from "./chevron-down-icon-CcpVm6B-.js";
10
10
  import { C as ce } from "./checkbox-indicator-module-classes-akWZsZNn.js";
11
11
  import { s as v } from "./field-rac.module-DP0lkkEv.js";
12
- import { u as ue } from "./use-element-state-class-name-BUsFQfoW.js";
13
- import { u as me } from "./use-text-input-class-name-BLtPQoYE.js";
12
+ import { u as ue } from "./use-element-state-class-name-rXM_lHug.js";
13
+ import { u as me } from "./use-text-input-class-name-DIKWvfkm.js";
14
14
  const ie = [], de = ({ id: e, fields: s, layout: a, value: o, onChange: n, errors: l = ie, validation: c }) => {
15
15
  const [m, i] = j((o == null ? void 0 : o.length) || 0), u = h(() => o ?? [], [
16
16
  o
17
- ]), d = q(), g = H(), C = K(), { validateFields: p } = P(), F = c.predefined.objectArrayOptions.maxItems, O = h(() => Z({
17
+ ]), d = X(), g = q(), C = H(), { validateFields: p } = K(), F = c.predefined.objectArrayOptions.maxItems, O = h(() => Z({
18
18
  form: {
19
19
  fields: s,
20
20
  steps: [
@@ -119,7 +119,7 @@ const ie = [], de = ({ id: e, fields: s, layout: a, value: o, onChange: n, error
119
119
  isReadOnly: o
120
120
  }, n, c, l);
121
121
  }, ge = ({ className: e }) => {
122
- const { id: s } = y(), { inputId: a, ariaDescribedBy: o } = X(), n = x(null);
122
+ const { id: s } = y(), { inputId: a, ariaDescribedBy: o } = P(), n = M(null);
123
123
  return U(() => {
124
124
  var l;
125
125
  (l = n.current) == null || l.focus({
@@ -132,14 +132,14 @@ const ie = [], de = ({ id: e, fields: s, layout: a, value: o, onChange: n, error
132
132
  className: e,
133
133
  inputMode: "numeric"
134
134
  });
135
- }, fe = ({ children: e, className: s }) => /* @__PURE__ */ t.createElement(w, {
135
+ }, fe = ({ children: e, className: s }) => /* @__PURE__ */ t.createElement(k, {
136
136
  slot: "decrement",
137
137
  className: s
138
- }, e), Ge = ({ children: e, className: s }) => /* @__PURE__ */ t.createElement(w, {
138
+ }, e), Ge = ({ children: e, className: s }) => /* @__PURE__ */ t.createElement(k, {
139
139
  slot: "increment",
140
140
  className: s
141
141
  }, e), S = ({ children: e, className: s, ...a }) => {
142
- const { guestCount: o, onGuestCountChange: n } = a, { id: l, label: c, disabled: m, readOnly: i, onBlur: u, onFocus: d } = y(), { inputId: g, ariaDescribedBy: C } = X(), p = x(null);
142
+ const { guestCount: o, onGuestCountChange: n } = a, { id: l, label: c, disabled: m, readOnly: i, onBlur: u, onFocus: d } = y(), { inputId: g, ariaDescribedBy: C } = P(), p = M(null);
143
143
  U(() => {
144
144
  var G;
145
145
  (G = p.current) == null || G.focus({
@@ -204,7 +204,7 @@ const ie = [], de = ({ id: e, fields: s, layout: a, value: o, onChange: n, error
204
204
  onFieldChange: m(p)
205
205
  }))) : null;
206
206
  }, Ie = ({ className: e, ...s }) => {
207
- const { index: a, formView: o, values: n, errors: l, onFieldChange: c } = s, m = q(), i = H(), u = K(), { validateFields: d } = P();
207
+ const { index: a, formView: o, values: n, errors: l, onFieldChange: c } = s, m = X(), i = q(), u = H(), { validateFields: d } = K();
208
208
  return /* @__PURE__ */ t.createElement("div", {
209
209
  className: e,
210
210
  "data-hook": `guest-${a}`
@@ -243,21 +243,21 @@ const Ne = "_container_p2psq_1", _e = "_countGroup_p2psq_8", Le = "_increment_p2
243
243
  return /* @__PURE__ */ t.createElement(r, {
244
244
  className: R.container
245
245
  }, /* @__PURE__ */ t.createElement(r.Label, {
246
- className: M(te, v.label)
246
+ className: w(te, v.label)
247
247
  }), /* @__PURE__ */ t.createElement(r.GuestCount, null, /* @__PURE__ */ t.createElement(r.GuestCount.Control, {
248
248
  className: e
249
249
  }, /* @__PURE__ */ t.createElement(r.GuestCount.Input, {
250
250
  className: v.innerInput
251
251
  }), /* @__PURE__ */ t.createElement(r.GuestCount.Increment, {
252
252
  className: R.increment
253
- }, /* @__PURE__ */ t.createElement(k, {
253
+ }, /* @__PURE__ */ t.createElement(x, {
254
254
  style: {
255
255
  transform: "rotate(180deg)"
256
256
  }
257
257
  })), /* @__PURE__ */ t.createElement(r.GuestCount.Decrement, {
258
258
  className: R.decrement
259
- }, /* @__PURE__ */ t.createElement(k, null)))), /* @__PURE__ */ t.createElement(r.GuestToggle, {
260
- className: M(se, v.checkbox)
259
+ }, /* @__PURE__ */ t.createElement(x, null)))), /* @__PURE__ */ t.createElement(r.GuestToggle, {
260
+ className: w(se, v.checkbox)
261
261
  }, /* @__PURE__ */ t.createElement(r.GuestToggle.Input, {
262
262
  className: s
263
263
  }), /* @__PURE__ */ t.createElement(r.GuestToggle.Label, {
@@ -265,7 +265,7 @@ const Ne = "_container_p2psq_1", _e = "_countGroup_p2psq_8", Le = "_increment_p2
265
265
  })), /* @__PURE__ */ t.createElement(r.Guests, {
266
266
  className: R.container
267
267
  }, /* @__PURE__ */ t.createElement(r.Guests.Guest, null)));
268
- }, qe = () => /* @__PURE__ */ t.createElement(Oe, null);
268
+ }, Xe = () => /* @__PURE__ */ t.createElement(Oe, null);
269
269
  export {
270
- qe as EventsRepeaterRAC
270
+ Xe as EventsRepeaterRAC
271
271
  };
@@ -1,20 +1,20 @@
1
1
  import t from "react";
2
2
  import { RicosViewer as m } from "@wix/ricos/viewer";
3
- import s from "classnames";
4
- import { a, s as n, R as c } from "./radio-button-module-classes-CJk18LzO.js";
3
+ import a from "classnames";
4
+ import { a as s, s as n, R as c } from "./radio-button-module-classes-CFGf0Hzh.js";
5
5
  import { E as i } from "./error-icon-hZxQ6DEy.js";
6
6
  import { s as o } from "./field-rac.module-DP0lkkEv.js";
7
- import { R as E, a0 as p, X as R, Y as O, H as _, v as L, Z as D } from "./form-BTUoOcqB.js";
7
+ import { V as E, ab as p, a6 as R, a7 as O, L as _, z as L, a8 as D } from "./form-DSpx-AO8.js";
8
8
  import { o as I } from "./options-rac.module-_THNq6Qq.js";
9
- import { u as S } from "./use-element-state-class-name-BUsFQfoW.js";
10
- const e = ({ children: r, className: l }) => /* @__PURE__ */ t.createElement(a, {
9
+ import { u as S } from "./use-element-state-class-name-rXM_lHug.js";
10
+ const e = ({ children: r, className: l }) => /* @__PURE__ */ t.createElement(s, {
11
11
  className: l
12
12
  }, r);
13
- e.Label = a.Label;
14
- e.Options = a.Options;
15
- e.Option = a.Option;
16
- e.Description = a.Description;
17
- e.Error = a.Error;
13
+ e.Label = s.Label;
14
+ e.Options = s.Options;
15
+ e.Option = s.Option;
16
+ e.Description = s.Description;
17
+ e.Error = s.Error;
18
18
  const N = ({ content: r, locale: l }) => /* @__PURE__ */ t.createElement(m, {
19
19
  content: r,
20
20
  locale: l
@@ -24,11 +24,11 @@ const N = ({ content: r, locale: l }) => /* @__PURE__ */ t.createElement(m, {
24
24
  moduleClasses: c
25
25
  });
26
26
  return /* @__PURE__ */ t.createElement(e, null, /* @__PURE__ */ t.createElement(e.Label, {
27
- className: s(E, o.label)
27
+ className: a(E, o.label)
28
28
  }, /* @__PURE__ */ t.createElement(e.Label.Required, {
29
- className: s(p, o.requiredMark)
29
+ className: a(p, o.requiredMark)
30
30
  })), /* @__PURE__ */ t.createElement(e.Options, {
31
- className: s(R, I.options)
31
+ className: a(R, I.options)
32
32
  }, /* @__PURE__ */ t.createElement(e.Option, {
33
33
  className: n.option
34
34
  }, /* @__PURE__ */ t.createElement(e.Option.Input, {
@@ -36,13 +36,13 @@ const N = ({ content: r, locale: l }) => /* @__PURE__ */ t.createElement(m, {
36
36
  }), /* @__PURE__ */ t.createElement(e.Option.Control, {
37
37
  className: r
38
38
  }), /* @__PURE__ */ t.createElement(e.Option.Label, {
39
- className: s(O, n.optionLabel)
39
+ className: a(O, n.optionLabel)
40
40
  }))), /* @__PURE__ */ t.createElement(e.Error, {
41
- className: s(_, o.error)
41
+ className: a(_, o.error)
42
42
  }, /* @__PURE__ */ t.createElement(i, null), /* @__PURE__ */ t.createElement(e.Error.Text, null)), /* @__PURE__ */ t.createElement(e.Description, {
43
- className: s(L, o.description)
43
+ className: a(L, o.description)
44
44
  }, N));
45
- }, U = () => /* @__PURE__ */ t.createElement(u, null);
45
+ }, v = () => /* @__PURE__ */ t.createElement(u, null);
46
46
  export {
47
- U as EventsRsvpRAC
47
+ v as EventsRsvpRAC
48
48
  };
@@ -1,11 +1,11 @@
1
1
  import t, { createContext as m, useContext as M } from "react";
2
- import { bo as c, bl as i, bg as f, aZ as x, a_ as b } from "./form-BTUoOcqB.js";
2
+ import { bz as c, bw as i, br as b, b8 as f, b9 as x } from "./form-DSpx-AO8.js";
3
3
  const H = ({ className: r, children: e }) => {
4
- const { description: s, target: o } = c(), { descriptionId: a } = i(), { language: n } = f();
4
+ const { description: s, target: o } = c(), { descriptionId: a } = i(), { language: n } = b();
5
5
  return s ? /* @__PURE__ */ t.createElement("div", {
6
6
  className: r,
7
7
  id: a,
8
- "data-hook": x(o)
8
+ "data-hook": f(o)
9
9
  }, e({
10
10
  content: s,
11
11
  locale: n
@@ -21,7 +21,7 @@ const H = ({ className: r, children: e }) => {
21
21
  value: p
22
22
  }, /* @__PURE__ */ t.createElement("div", {
23
23
  id: g,
24
- "data-hook": b(n),
24
+ "data-hook": x(n),
25
25
  className: r
26
26
  }, e)) : null;
27
27
  };
@@ -1,9 +1,9 @@
1
- import { bo as m, aF as d, aG as p, bl as D, by as B } from "./form-BTUoOcqB.js";
1
+ import { bz as m, aQ as d, aR as p, bw as D, bJ as B } from "./form-DSpx-AO8.js";
2
2
  import l from "react";
3
3
  import { f as L } from "./find-child-C60k4CxG.js";
4
- import { sdk as g } from "@wix/image-kit";
4
+ import { sdk as R } from "@wix/image-kit";
5
5
  function N({ id: e, width: t, height: n }, a, r, o = "fill") {
6
- return (o === "fit" ? g.getScaleToFitImageURL : g.getScaleToFillImageURL)(e, t, n, typeof a == "number" ? a : parseInt(a, 10), typeof r == "number" ? r : parseInt(r, 10));
6
+ return (o === "fit" ? R.getScaleToFitImageURL : R.getScaleToFillImageURL)(e, t, n, typeof a == "number" ? a : parseInt(a, 10), typeof r == "number" ? r : parseInt(r, 10));
7
7
  }
8
8
  var u = /* @__PURE__ */ (function(e) {
9
9
  return e.TOP = "top", e.BOTTOM = "bottom", e;
@@ -15,7 +15,7 @@ const S = {
15
15
  margin: 0,
16
16
  padding: 0
17
17
  }, U = "​", i = ({ children: e, className: t, ...n }) => {
18
- const { as: a = "label", requiredIndicatorHidden: r = !1, label: o } = n, { label: T, required: R = !1, hideLabel: F = !1, requiredIndicatorType: q = d.ASTERISK, requiredIndicatorPlacement: O = p.AFTER_FIELD_TITLE, media: y, mediaSettings: s } = m(), { labelId: A, inputId: P } = D(), _ = a, b = R && !r ? L(e, i.Required) : null, c = y ? L(e, i.Image) : null, E = (s == null ? void 0 : s.imagePosition) ?? u.TOP, h = q === d.ASTERISK && O === p.BEFORE_FIELD_TITLE, f = (o ?? T) || U, I = /* @__PURE__ */ l.createElement(_, {
18
+ const { as: a = "label", requiredIndicatorHidden: r = !1, label: o } = n, { label: T, required: g = !1, hideLabel: F = !1, requiredIndicatorType: q = d.ASTERISK, requiredIndicatorPlacement: O = p.AFTER_FIELD_TITLE, media: y, mediaSettings: s } = m(), { labelId: A, inputId: P } = D(), _ = a, b = g && !r ? L(e, i.Required) : null, c = y ? L(e, i.Image) : null, E = (s == null ? void 0 : s.imagePosition) ?? u.TOP, h = q === d.ASTERISK && O === p.BEFORE_FIELD_TITLE, f = (o ?? T) || U, I = /* @__PURE__ */ l.createElement(_, {
19
19
  id: A,
20
20
  htmlFor: a === "label" ? P : void 0,
21
21
  className: t,