@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
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
2
2
  import "react";
3
3
  import "classnames";
4
4
  import "@wix/fed-cli-i18next";
5
- import { at as i, aO as e } from "./form-BTUoOcqB.js";
5
+ import { aE as i, aZ as e } from "./form-DSpx-AO8.js";
6
6
  export {
7
7
  i as default,
8
8
  e as defaultProps
@@ -1,8 +1,8 @@
1
1
  import m from "classnames";
2
2
  import e from "react";
3
- import { bo as u, b0 as i, a$ as C, b2 as R, aB as T, aj as d } from "./form-BTUoOcqB.js";
4
- import { u as g, R as p, s as S, T as h } from "./rich-content-rac.module-xJ03MegT.js";
5
- const y = ({ truncate: t = !0 } = {}) => {
3
+ import { bz as u, bb as i, ba as C, bd as R, aM as d, au as T } from "./form-DSpx-AO8.js";
4
+ import { u as g, R as p, s as S, T as h } from "./rich-content-rac.module-B7rPwNns.js";
5
+ const f = ({ truncate: t = !0 } = {}) => {
6
6
  const { content: a, maxShownParagraphs: s } = u(), n = e.useMemo(() => ({
7
7
  colorPalette: R(),
8
8
  customStyles: {
@@ -10,8 +10,8 @@ const y = ({ truncate: t = !0 } = {}) => {
10
10
  ...i()
11
11
  }
12
12
  }), []), { displayedContent: o, isTruncated: r, isTruncateButtonShown: c, toggleTruncate: l } = g(a, t ? s : void 0);
13
- return /* @__PURE__ */ e.createElement(p, null, () => /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(T, {
14
- className: m(d, S.richContent),
13
+ return /* @__PURE__ */ e.createElement(p, null, () => /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(d, {
14
+ className: m(T, S.richContent),
15
15
  content: o,
16
16
  customTheme: n
17
17
  }), c && /* @__PURE__ */ e.createElement(h, {
@@ -20,5 +20,5 @@ const y = ({ truncate: t = !0 } = {}) => {
20
20
  })));
21
21
  };
22
22
  export {
23
- y as H
23
+ f as H
24
24
  };
@@ -1,5 +1,5 @@
1
1
  import e from "react";
2
- import { H as r } from "./header-field-rac-DTJ_Us6u.js";
2
+ import { H as r } from "./header-field-rac-CiDXlNsa.js";
3
3
  const a = () => /* @__PURE__ */ e.createElement(r, null);
4
4
  export {
5
5
  a as HeaderRAC
@@ -1,30 +1,30 @@
1
- import e, { useMemo as y, useCallback as T, useRef as G } from "react";
1
+ import e, { useMemo as H, useCallback as T, useRef as G } from "react";
2
2
  import { RicosViewer as k } from "@wix/ricos/viewer";
3
3
  import I from "classnames";
4
- import { bo as b, bl as P, bq as x, bh as B, R as q, a0 as U, N as w, P as V, H as z, v as K, O as Q, f } from "./form-BTUoOcqB.js";
4
+ import { bz as b, bw as x, bB as B, bs as P, V as q, ab as U, R as w, T as z, L as V, z as K, S as Q, f } from "./form-DSpx-AO8.js";
5
5
  import { CheckboxGroup as Y, CheckboxField as $, CheckboxButton as j } from "react-aria-components";
6
- import { f as m, a as h } from "./find-child-C60k4CxG.js";
7
- import { L as J, g as W } from "./field-label-headless-DKBKqI2X.js";
8
- import { D as X, E as Z } from "./field-error-headless-DWc76YmY.js";
6
+ import { f as m, a as F } from "./find-child-C60k4CxG.js";
7
+ import { L as J, g as W } from "./field-label-headless-CORRAJGt.js";
8
+ import { D as X, E as Z } from "./field-error-headless-XNWmDH3E.js";
9
9
  import { F as ee } from "./fieldset-headless-CD3fds9J.js";
10
10
  import { E as te } from "./error-icon-hZxQ6DEy.js";
11
11
  import { s as O } from "./field-rac.module-DP0lkkEv.js";
12
- import { u as oe } from "./use-element-state-class-name-BUsFQfoW.js";
12
+ import { u as oe } from "./use-element-state-class-name-rXM_lHug.js";
13
13
  const o = ({ children: t, className: n }) => {
14
- const { id: s, value: a, onChange: i, disabled: l, readOnly: r, required: c, onBlur: u, onFocus: p, hasError: C, FieldLayout: L } = b(), { inputId: g, labelId: _, ariaDescribedBy: N } = P(), R = m(t, o.Label), S = m(t, o.Options), A = m(t, o.Description), D = m(t, o.Error), M = y(() => a || [], [
14
+ const { id: s, value: a, onChange: i, disabled: l, readOnly: r, required: c, onBlur: u, onFocus: p, hasError: C, FieldLayout: L } = b(), { inputId: g, labelId: _, ariaDescribedBy: h } = x(), N = m(t, o.Label), S = m(t, o.Options), A = m(t, o.Description), D = m(t, o.Error), M = H(() => a || [], [
15
15
  a
16
- ]), v = T((H) => {
17
- i == null || i(H);
16
+ ]), v = T((y) => {
17
+ i == null || i(y);
18
18
  }, [
19
19
  i
20
20
  ]);
21
21
  return /* @__PURE__ */ e.createElement(L, {
22
22
  fieldId: s,
23
- renderLabel: () => R,
23
+ renderLabel: () => N,
24
24
  renderInput: () => /* @__PURE__ */ e.createElement(ee, {
25
25
  id: g,
26
26
  ariaLabelledBy: _,
27
- ariaDescribedBy: N,
27
+ ariaDescribedBy: h,
28
28
  required: c,
29
29
  onBlur: u,
30
30
  onFocus: p
@@ -40,12 +40,12 @@ const o = ({ children: t, className: n }) => {
40
40
  }, S)),
41
41
  renderDescription: () => /* @__PURE__ */ e.createElement(e.Fragment, null, D, A)
42
42
  });
43
- }, F = ({ children: t, className: n }) => {
44
- const { id: s, options: a, numberOfColumns: i } = b(), l = m(t, F.Option);
43
+ }, R = ({ children: t, className: n }) => {
44
+ const { id: s, options: a, numberOfColumns: i } = b(), l = m(t, R.Option);
45
45
  return /* @__PURE__ */ e.createElement("div", {
46
46
  className: n,
47
47
  "data-columns": i
48
- }, a == null ? void 0 : a.map((r, c) => h(l, {
48
+ }, a == null ? void 0 : a.map((r, c) => F(l, {
49
49
  key: r.id || r.label,
50
50
  option: r,
51
51
  isFirst: c === 0,
@@ -79,7 +79,7 @@ const o = ({ children: t, className: n }) => {
79
79
  }, s.label);
80
80
  }, E = ({ children: t, className: n, ...s }) => {
81
81
  const { option: a, isFirst: i = !1, fieldId: l } = s, { disabled: r, readOnly: c, hasError: u } = b(), p = G(null);
82
- x(() => {
82
+ B(() => {
83
83
  var _;
84
84
  i && ((_ = p.current) == null || _.focus({
85
85
  preventScroll: !0
@@ -96,9 +96,9 @@ const o = ({ children: t, className: n }) => {
96
96
  "aria-label": a.isLabelHidden ? a.label : void 0,
97
97
  className: n,
98
98
  "data-hook": `image-choice-${a.label}`
99
- }, C, h(L, {
99
+ }, C, F(L, {
100
100
  option: a
101
- }), h(g, {
101
+ }), F(g, {
102
102
  option: a
103
103
  })));
104
104
  };
@@ -106,8 +106,8 @@ E.Input = ae;
106
106
  E.Image = ne;
107
107
  E.Label = se;
108
108
  o.Label = J;
109
- o.Options = F;
110
- F.Option = E;
109
+ o.Options = R;
110
+ R.Option = E;
111
111
  o.Description = X;
112
112
  o.Error = Z;
113
113
  const le = "_options_1h2d0_1", ie = "_optionInput_1h2d0_33", re = "_option_1h2d0_1", ce = "_optionHover_1h2d0_67", me = "_optionSelected_1h2d0_67", pe = "_optionLabel_1h2d0_107", de = "_optionImage_1h2d0_152", d = {
@@ -129,7 +129,7 @@ const le = "_options_1h2d0_1", ie = "_optionInput_1h2d0_33", re = "_option_1h2d0
129
129
  const t = oe({
130
130
  globalClasses: Q,
131
131
  moduleClasses: ue
132
- }), n = B(f.IMAGE_CHOICE, f.IMAGE_CHOICE_OPTION, f.IMAGE_CHOICE_OPTION_IMAGE);
132
+ }), n = P(f.IMAGE_CHOICE, f.IMAGE_CHOICE_OPTION, f.IMAGE_CHOICE_OPTION_IMAGE);
133
133
  return /* @__PURE__ */ e.createElement(o, null, /* @__PURE__ */ e.createElement(o.Label, {
134
134
  className: I(q, O.label)
135
135
  }, /* @__PURE__ */ e.createElement(o.Label.Required, {
@@ -141,11 +141,11 @@ const le = "_options_1h2d0_1", ie = "_optionInput_1h2d0_33", re = "_option_1h2d0
141
141
  }, /* @__PURE__ */ e.createElement(o.Options.Option.Input, {
142
142
  className: d.optionInput
143
143
  }), /* @__PURE__ */ e.createElement(o.Options.Option.Image, {
144
- className: I(V, d.optionImage, n)
144
+ className: I(z, d.optionImage, n)
145
145
  }), /* @__PURE__ */ e.createElement(o.Options.Option.Label, {
146
146
  className: d.optionLabel
147
147
  }))), /* @__PURE__ */ e.createElement(o.Error, {
148
- className: I(z, O.error)
148
+ className: I(V, O.error)
149
149
  }, /* @__PURE__ */ e.createElement(te, null), /* @__PURE__ */ e.createElement(o.Error.Text, null)), /* @__PURE__ */ e.createElement(o.Description, {
150
150
  className: I(K, O.description)
151
151
  }, Ee));
@@ -1,13 +1,13 @@
1
- import { e as R, aJ as _, aY as de, aK as O, ap as Ge, B as Be, aD as qe, aw as He, av as I, aE as Ee, aN as re, aH as Fe, c as B, ax as M, b8 as Te, az as je, ay as he, aA as q } from "./form-BTUoOcqB.js";
2
- import { b3 as Mn } from "./form-BTUoOcqB.js";
1
+ import { e as R, aU as _, b7 as de, aV as g, aA as Ge, B as Be, aO as qe, aH as He, aG as I, aP as Ee, aY as re, aS as Fe, c as B, aI as M, bj as Te, aK as je, aJ as he, aL as q } from "./form-DSpx-AO8.js";
2
+ import { be as Mn } from "./form-DSpx-AO8.js";
3
3
  import Xe from "ajv";
4
4
  import ke from "ajv-errors";
5
5
  import We from "ajv-formats";
6
6
  import Ke from "fast-deep-equal";
7
7
  import { parsePhoneNumber as ze, parsePhoneNumberWithError as Ve, ParseError as Ze } from "libphonenumber-js/max";
8
8
  import Je from "libphonenumber-js/metadata.max.json";
9
- import { p as Qe, i as et } from "./date-availability-Df807-eN.js";
10
- import { a as Sn } from "./date-availability-Df807-eN.js";
9
+ import { p as Qe, i as et } from "./date-availability-Dach9aRC.js";
10
+ import { a as Sn } from "./date-availability-Dach9aRC.js";
11
11
  import { C as tt } from "./calling-country-codes-PyWuOTmF.js";
12
12
  function rt(e) {
13
13
  var t, r;
@@ -531,10 +531,10 @@ const Nt = [
531
531
  "ZWN",
532
532
  "ZWR"
533
533
  ], yt = new Set(Nt.map((e) => e.toLowerCase()));
534
- function gt(e) {
534
+ function Ot(e) {
535
535
  return yt.has(e.toLowerCase());
536
536
  }
537
- const oe = "¡-퟿-￿-a-zA-Z", $e = "0-9", U = `${oe}${$e}`, Ne = "!#$%&'*+/=?^_`{|}~-", Ot = `[${U}${Ne}]+(?:\\.[${U}${Ne}]+)*`, _t = "(?:[-\b\v\f-!#-[]-]|\\[- \v\f-])*", Dt = `(?:${Ot}|${_t})`, Mt = `(?:[${U}](?:[${U}-]*[${U}])?\\.)+(?:(?:[${$e}]+[${oe}][${U}]*)|(?:[${oe}][${U}]{1,}))`, Pt = "^" + Dt + "@" + Mt + "$", St = [
537
+ const oe = "¡-퟿-￿-a-zA-Z", $e = "0-9", U = `${oe}${$e}`, Ne = "!#$%&'*+/=?^_`{|}~-", gt = `[${U}${Ne}]+(?:\\.[${U}${Ne}]+)*`, _t = "(?:[-\b\v\f-!#-[]-]|\\[- \v\f-])*", Dt = `(?:${gt}|${_t})`, Mt = `(?:[${U}](?:[${U}-]*[${U}])?\\.)+(?:(?:[${$e}]+[${oe}][${U}]*)|(?:[${oe}][${U}]{1,}))`, Pt = "^" + Dt + "@" + Mt + "$", St = [
538
538
  "aa",
539
539
  "ab",
540
540
  "ae",
@@ -749,7 +749,7 @@ const ye = {
749
749
  phone: "^[\\d \\u00A0()+\\-.]+$",
750
750
  email: Pt,
751
751
  "color-hex": /^#(?:[0-9A-F]{3,4}|[0-9A-F]{6}|[0-9A-F]{8})$/i,
752
- currency: gt,
752
+ currency: Ot,
753
753
  language: Ct,
754
754
  "time-zone": Ft
755
755
  };
@@ -912,11 +912,11 @@ var y = /* @__PURE__ */ (function(e) {
912
912
  })({});
913
913
  function Xt(e, t) {
914
914
  return function(c) {
915
- const E = c.fields || [], d = c.deletedFields || [], m = E.filter(o), T = d.filter(o), g = r(m, T), N = t === O.UNRESTRICTED_UPDATE ? [] : m.filter((A) => !u(A)).filter(i).map((A) => h(A.target, A, "target"));
915
+ const E = c.fields || [], d = c.deletedFields || [], m = E.filter(o), T = d.filter(o), O = r(m, T), N = t === g.UNRESTRICTED_UPDATE ? [] : m.filter((A) => !u(A)).filter(i).map((A) => h(A.target, A, "target"));
916
916
  return {
917
917
  $id: h(c.id, c, "id"),
918
918
  type: y.OBJECT,
919
- properties: g,
919
+ properties: O,
920
920
  additionalProperties: !1,
921
921
  required: N
922
922
  };
@@ -979,7 +979,7 @@ function kt(e, t) {
979
979
  };
980
980
  };
981
981
  function r(f) {
982
- return t === O.UNRESTRICTED_UPDATE ? [] : f.filter((l) => !s(l)).filter((l) => !i(l)).map((l) => l.inputOptions).filter(o).map((l) => h(l.target, l, "target"));
982
+ return t === g.UNRESTRICTED_UPDATE ? [] : f.filter((l) => !s(l)).filter((l) => !i(l)).map((l) => l.inputOptions).filter(o).map((l) => h(l.target, l, "target"));
983
983
  }
984
984
  function n(f, l) {
985
985
  return [
@@ -1038,7 +1038,7 @@ function J(e, t) {
1038
1038
  };
1039
1039
  }
1040
1040
  function zt(e, t) {
1041
- return t !== O.UNRESTRICTED_UPDATE ? {
1041
+ return t !== g.UNRESTRICTED_UPDATE ? {
1042
1042
  ...G(Be, e)
1043
1043
  } : {};
1044
1044
  }
@@ -1051,7 +1051,7 @@ function Q(e, t) {
1051
1051
  };
1052
1052
  }
1053
1053
  function Vt(e, t) {
1054
- return t !== O.UNRESTRICTED_UPDATE ? {
1054
+ return t !== g.UNRESTRICTED_UPDATE ? {
1055
1055
  ...G(qe, e, {
1056
1056
  maximum: (r) => Math.min(r ?? Number.MAX_SAFE_INTEGER, Number.MAX_SAFE_INTEGER),
1057
1057
  minimum: (r) => Math.max(r ?? Number.MIN_SAFE_INTEGER, Number.MIN_SAFE_INTEGER),
@@ -1063,7 +1063,7 @@ const Zt = [
1063
1063
  "minItems",
1064
1064
  "maxItems"
1065
1065
  ], ue = 100;
1066
- function ge(e, t) {
1066
+ function Oe(e, t) {
1067
1067
  const n = Qt(t, (e || {}).items);
1068
1068
  return {
1069
1069
  type: y.ARRAY,
@@ -1075,7 +1075,7 @@ function ge(e, t) {
1075
1075
  };
1076
1076
  }
1077
1077
  function Jt(e, t) {
1078
- return t !== O.UNRESTRICTED_UPDATE ? {
1078
+ return t !== g.UNRESTRICTED_UPDATE ? {
1079
1079
  ...xe(e)
1080
1080
  } : {};
1081
1081
  }
@@ -1098,20 +1098,20 @@ function er(e, t) {
1098
1098
  };
1099
1099
  }
1100
1100
  function tr(e, t) {
1101
- return t !== O.UNRESTRICTED_UPDATE ? {
1101
+ return t !== g.UNRESTRICTED_UPDATE ? {
1102
1102
  ...G(He, e, {
1103
1103
  maximum: (r) => Math.min(r ?? Number.MAX_SAFE_INTEGER, Number.MAX_SAFE_INTEGER),
1104
1104
  minimum: (r) => Math.max(r ?? Number.MIN_SAFE_INTEGER, Number.MIN_SAFE_INTEGER)
1105
1105
  })
1106
1106
  } : {};
1107
1107
  }
1108
- function K(e, t, r = O.UNKNOWN) {
1108
+ function K(e, t, r = g.UNKNOWN) {
1109
1109
  const { format: n } = t;
1110
1110
  switch (n) {
1111
1111
  case _.WIX_FILE:
1112
- return Y(Oe[_.WIX_FILE], r);
1112
+ return Y(ge[_.WIX_FILE], r);
1113
1113
  case _.SCHEDULING:
1114
- return Y(Oe[_.SCHEDULING], r);
1114
+ return Y(ge[_.SCHEDULING], r);
1115
1115
  case _.PAYMENT:
1116
1116
  return nr(t.paymentOptions, r);
1117
1117
  case _.OBJECT_ARRAY:
@@ -1125,10 +1125,10 @@ function K(e, t, r = O.UNKNOWN) {
1125
1125
  function rr(e, t, r) {
1126
1126
  return {
1127
1127
  type: y.ARRAY,
1128
- ...t.maxItems && r !== O.UNRESTRICTED_UPDATE && {
1128
+ ...t.maxItems && r !== g.UNRESTRICTED_UPDATE && {
1129
1129
  maxItems: t.maxItems
1130
1130
  },
1131
- ...t.minItems && r !== O.UNRESTRICTED_UPDATE && {
1131
+ ...t.minItems && r !== g.UNRESTRICTED_UPDATE && {
1132
1132
  minItems: t.minItems
1133
1133
  },
1134
1134
  items: {
@@ -1137,7 +1137,7 @@ function rr(e, t, r) {
1137
1137
  };
1138
1138
  }
1139
1139
  function nr(e, t) {
1140
- if (t === O.UNRESTRICTED_UPDATE)
1140
+ if (t === g.UNRESTRICTED_UPDATE)
1141
1141
  return {
1142
1142
  type: y.ARRAY,
1143
1143
  items: {
@@ -1249,7 +1249,7 @@ function sr(e) {
1249
1249
  throw new Error(`Unknown price type ${t}`);
1250
1250
  }
1251
1251
  }
1252
- const Oe = {
1252
+ const ge = {
1253
1253
  [_.WIX_FILE]: {
1254
1254
  array: {
1255
1255
  maxItems: 30,
@@ -1327,15 +1327,15 @@ function or() {
1327
1327
  return function(s, i, o) {
1328
1328
  var a, u = function(c, E, d) {
1329
1329
  d === void 0 && (d = {});
1330
- var m = new Date(c), T = (function(g, N) {
1330
+ var m = new Date(c), T = (function(O, N) {
1331
1331
  N === void 0 && (N = {});
1332
- var A = N.timeZoneName || "short", P = g + "|" + A, D = n[P];
1333
- return D || (D = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: g, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: A }), n[P] = D), D;
1332
+ var A = N.timeZoneName || "short", P = O + "|" + A, D = n[P];
1333
+ return D || (D = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: O, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: A }), n[P] = D), D;
1334
1334
  })(E, d);
1335
1335
  return T.formatToParts(m);
1336
1336
  }, f = function(c, E) {
1337
1337
  for (var d = u(c, E), m = [], T = 0; T < d.length; T += 1) {
1338
- var g = d[T], N = g.type, A = g.value, P = r[N];
1338
+ var O = d[T], N = O.type, A = O.value, P = r[N];
1339
1339
  P >= 0 && (m[P] = parseInt(A, 10));
1340
1340
  }
1341
1341
  var D = m[3], F = D === 24 ? 0 : D, b = m[0] + "-" + m[1] + "-" + m[2] + " " + F + ":" + m[4] + ":" + m[5] + ":000", L = +c;
@@ -1343,9 +1343,9 @@ function or() {
1343
1343
  }, l = i.prototype;
1344
1344
  l.tz = function(c, E) {
1345
1345
  c === void 0 && (c = a);
1346
- var d, m = this.utcOffset(), T = this.toDate(), g = T.toLocaleString("en-US", { timeZone: c }), N = Math.round((T - new Date(g)) / 1e3 / 60), A = 15 * -Math.round(T.getTimezoneOffset() / 15) - N;
1346
+ var d, m = this.utcOffset(), T = this.toDate(), O = T.toLocaleString("en-US", { timeZone: c }), N = Math.round((T - new Date(O)) / 1e3 / 60), A = 15 * -Math.round(T.getTimezoneOffset() / 15) - N;
1347
1347
  if (!Number(A)) d = this.utcOffset(0, E);
1348
- else if (d = o(g, { locale: this.$L }).$set("millisecond", this.$ms).utcOffset(A, !0), E) {
1348
+ else if (d = o(O, { locale: this.$L }).$set("millisecond", this.$ms).utcOffset(A, !0), E) {
1349
1349
  var P = d.utcOffset();
1350
1350
  d = d.add(m - P, "minute");
1351
1351
  }
@@ -1362,14 +1362,14 @@ function or() {
1362
1362
  var d = o(this.format("YYYY-MM-DD HH:mm:ss:SSS"), { locale: this.$L });
1363
1363
  return p.call(d, c, E).tz(this.$x.$timezone, !0);
1364
1364
  }, o.tz = function(c, E, d) {
1365
- var m = d && E, T = d || E || a, g = f(+o(), T);
1365
+ var m = d && E, T = d || E || a, O = f(+o(), T);
1366
1366
  if (typeof c != "string") return o(c).tz(T);
1367
1367
  var N = (function(F, b, L) {
1368
1368
  var C = F - 60 * b * 1e3, $ = f(C, L);
1369
1369
  if (b === $) return [C, b];
1370
1370
  var se = f(C -= 60 * ($ - b) * 1e3, L);
1371
1371
  return $ === se ? [C, $] : [F - 60 * Math.min($, se) * 1e3, Math.max($, se)];
1372
- })(o.utc(c, m).valueOf(), g, T), A = N[0], P = N[1], D = o(A).utcOffset(P);
1372
+ })(o.utc(c, m).valueOf(), O, T), A = N[0], P = N[1], D = o(A).utcOffset(P);
1373
1373
  return D.$x.$timezone = T, D;
1374
1374
  }, o.tz.guess = function() {
1375
1375
  return Intl.DateTimeFormat().resolvedOptions().timeZone;
@@ -1413,8 +1413,8 @@ function mr() {
1413
1413
  };
1414
1414
  var p = u.utcOffset;
1415
1415
  u.utcOffset = function(m, T) {
1416
- var g = this.$utils().u;
1417
- if (g(m)) return this.$u ? 0 : g(this.$offset) ? p.call(this) : this.$offset;
1416
+ var O = this.$utils().u;
1417
+ if (O(m)) return this.$u ? 0 : O(this.$offset) ? p.call(this) : this.$offset;
1418
1418
  if (typeof m == "string" && (m = (function(D) {
1419
1419
  D === void 0 && (D = "");
1420
1420
  var F = D.match(n);
@@ -1448,10 +1448,10 @@ function mr() {
1448
1448
  return m === "s" && this.$offset ? a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : E.call(this);
1449
1449
  };
1450
1450
  var d = u.diff;
1451
- u.diff = function(m, T, g) {
1452
- if (m && this.$u === m.$u) return d.call(this, m, T, g);
1451
+ u.diff = function(m, T, O) {
1452
+ if (m && this.$u === m.$u) return d.call(this, m, T, O);
1453
1453
  var N = this.local(), A = a(m).local();
1454
- return d.call(N, A, T, g);
1454
+ return d.call(N, A, T, O);
1455
1455
  };
1456
1456
  };
1457
1457
  }));
@@ -1492,7 +1492,7 @@ function Ir(e, t) {
1492
1492
  if (e === "$now")
1493
1493
  return t;
1494
1494
  try {
1495
- const [, r, n, s] = e.match(we) ?? [], i = Nr(n), o = gr(s);
1495
+ const [, r, n, s] = e.match(we) ?? [], i = Nr(n), o = Or(s);
1496
1496
  return i && o ? yr(t, r)(i, o) : void 0;
1497
1497
  } catch (r) {
1498
1498
  console.error(`Failed to parse format ${e}`, r);
@@ -1513,7 +1513,7 @@ function yr(e, t) {
1513
1513
  return () => e;
1514
1514
  }
1515
1515
  }
1516
- function gr(e) {
1516
+ function Or(e) {
1517
1517
  if ([
1518
1518
  "d",
1519
1519
  "M",
@@ -1538,7 +1538,7 @@ function Me(e) {
1538
1538
  }
1539
1539
  const ce = 2e4;
1540
1540
  function ee(e, t) {
1541
- const r = Or(e) ? Wt(Fe, e) : {};
1541
+ const r = gr(e) ? Wt(Fe, e) : {};
1542
1542
  return {
1543
1543
  type: y.STRING,
1544
1544
  maxLength: ce,
@@ -1547,14 +1547,14 @@ function ee(e, t) {
1547
1547
  ..._r(e, t)
1548
1548
  };
1549
1549
  }
1550
- function Or(e) {
1550
+ function gr(e) {
1551
1551
  return "validationMessages" in e;
1552
1552
  }
1553
1553
  function _r(e, t) {
1554
1554
  const r = Sr(e), n = r ? {
1555
1555
  dateAvailability: r
1556
1556
  } : {};
1557
- return t !== O.UNRESTRICTED_UPDATE ? {
1557
+ return t !== g.UNRESTRICTED_UPDATE ? {
1558
1558
  ...G(Fe.filter((s) => s !== "format"), e, {
1559
1559
  maxLength: (s) => Math.min(s ?? ce, ce)
1560
1560
  }),
@@ -1631,7 +1631,7 @@ function Sr(e) {
1631
1631
  const t = "dateOptions" in e ? e.dateOptions : void 0;
1632
1632
  return t == null ? void 0 : t.availability;
1633
1633
  }
1634
- function Y(e, t = void 0, r = O.UNKNOWN) {
1634
+ function Y(e, t = void 0, r = g.UNKNOWN) {
1635
1635
  if (e != null && e.string)
1636
1636
  return ee(e.string, r);
1637
1637
  if (e != null && e.stringOptions)
@@ -1647,9 +1647,9 @@ function Y(e, t = void 0, r = O.UNKNOWN) {
1647
1647
  if (e != null && e.booleanOptions)
1648
1648
  return J(e == null ? void 0 : e.booleanOptions, r);
1649
1649
  if (e != null && e.array)
1650
- return ge(e.array, r);
1650
+ return Oe(e.array, r);
1651
1651
  if (e != null && e.arrayOptions)
1652
- return ge(e.arrayOptions, r);
1652
+ return Oe(e.arrayOptions, r);
1653
1653
  if (e != null && e.object)
1654
1654
  return te(e.object, r);
1655
1655
  if (e != null && e.objectOptions)
@@ -1667,7 +1667,7 @@ function te(e, t) {
1667
1667
  };
1668
1668
  }
1669
1669
  function br(e, t) {
1670
- return t !== O.UNRESTRICTED_UPDATE ? {
1670
+ return t !== g.UNRESTRICTED_UPDATE ? {
1671
1671
  required: Cr(e.properties)
1672
1672
  } : {
1673
1673
  required: []
@@ -1816,7 +1816,7 @@ class Nn {
1816
1816
  if (!n)
1817
1817
  throw new Error(`Missing form ${t} for validation`);
1818
1818
  let s = this.submissionValueProvider ? this.submissionValueProvider(r, n) : r;
1819
- return this.validationMode !== O.UNRESTRICTED_UPDATE && (s = dt(s, n)), {
1819
+ return this.validationMode !== g.UNRESTRICTED_UPDATE && (s = dt(s, n)), {
1820
1820
  ajv: this.initAJvWithSchemas(n, s),
1821
1821
  submission: s,
1822
1822
  currentlyValidatableForm: n
@@ -1853,7 +1853,7 @@ class Nn {
1853
1853
  });
1854
1854
  }
1855
1855
  validateCanUpdateFormNotDisabled(t) {
1856
- return this.validationMode !== O.UNRESTRICTED_UPDATE && this.isFormDisabled(t) ? {
1856
+ return this.validationMode !== g.UNRESTRICTED_UPDATE && this.isFormDisabled(t) ? {
1857
1857
  errors: [
1858
1858
  {
1859
1859
  errorPath: "form.properties.disabled",
@@ -1935,10 +1935,10 @@ class Nn {
1935
1935
  return !!((s = t == null ? void 0 : t.properties) != null && s.disabled || r);
1936
1936
  }
1937
1937
  getFormSchemaMapper() {
1938
- return this.platformisedFieldBasedValidation ? kt(wr, this.validationMode ?? O.UNKNOWN) : Xt(Y, this.validationMode ?? O.UNKNOWN);
1938
+ return this.platformisedFieldBasedValidation ? kt(wr, this.validationMode ?? g.UNKNOWN) : Xt(Y, this.validationMode ?? g.UNKNOWN);
1939
1939
  }
1940
1940
  initAJvWithSchemas(t, r) {
1941
- const n = this.getFormSchemaMapper(), s = jt(n, this.validationMode !== O.UNRESTRICTED_UPDATE, this.lenientPhoneValidation), i = this.formSchemas.flatMap((u) => (u.nestedForms || []).flatMap(({ targets: f, form: l }) => (f || []).map((p) => ({
1941
+ const n = this.getFormSchemaMapper(), s = jt(n, this.validationMode !== g.UNRESTRICTED_UPDATE, this.lenientPhoneValidation), i = this.formSchemas.flatMap((u) => (u.nestedForms || []).flatMap(({ targets: f, form: l }) => (f || []).map((p) => ({
1942
1942
  ...l,
1943
1943
  id: p
1944
1944
  })))), o = this.getAddressForms(t, r), a = this.getObjectArrayForms(t);
@@ -2057,7 +2057,7 @@ var fe;
2057
2057
  e.UNKNOWN_FEATURE = "UNKNOWN_FEATURE", e.FILE_UPLOAD_FIELD = "FILE_UPLOAD_FIELD", e.ACCEPT_PAYMENTS = "ACCEPT_PAYMENTS", e.REMOVE_WIX_BRANDING = "REMOVE_WIX_BRANDING", e.SIGNATURE_FIELD = "SIGNATURE_FIELD", e.FILE_DOWNLOAD = "FILE_DOWNLOAD";
2058
2058
  })(fe || (fe = {}));
2059
2059
  const Xr = "FILE_UPLOAD";
2060
- function gn(e, t, r) {
2060
+ function On(e, t, r) {
2061
2061
  var s, i, o, a;
2062
2062
  const n = [
2063
2063
  Wr({
@@ -2233,7 +2233,7 @@ function fn(e, t, r) {
2233
2233
  writable: !0
2234
2234
  }) : e[t] = r, e;
2235
2235
  }
2236
- class On {
2236
+ class gn {
2237
2237
  validate(t, r) {
2238
2238
  var s;
2239
2239
  const n = ((s = t.formFields) == null ? void 0 : s.reduce((i, { inputOptions: o }) => {
@@ -2277,14 +2277,14 @@ export {
2277
2277
  v as DateTimeFieldErrorSuffix,
2278
2278
  R as ErrorTypes,
2279
2279
  Xr as FILE_UPLOAD_FIELD_TYPE,
2280
- On as FormSchemaValidator,
2280
+ gn as FormSchemaValidator,
2281
2281
  Nn as FormValidator,
2282
- O as ValidationMode,
2282
+ g as ValidationMode,
2283
2283
  yn as compareSchemaBackwardCompatibility,
2284
2284
  un as getDefaultValue,
2285
2285
  Mn as groupErrorsByTarget,
2286
2286
  et as isDateAvailable,
2287
2287
  Qe as parseDateInput,
2288
2288
  Sn as parseLocalDate,
2289
- gn as validatePremiumRestrictions
2289
+ On as validatePremiumRestrictions
2290
2290
  };
@@ -1,5 +1,5 @@
1
- import { b7 as n } from "./form-BTUoOcqB.js";
2
- import { A as S, a as p, C as N, aC as g, aT as q, aU as D, b9 as L } from "./form-BTUoOcqB.js";
1
+ import { bi as n } from "./form-DSpx-AO8.js";
2
+ import { A as N, a as S, C as p, aN as g, b2 as q, b3 as D, bk as L } from "./form-DSpx-AO8.js";
3
3
  const l = (e = !1) => ({
4
4
  country: {
5
5
  required: e
@@ -52,9 +52,9 @@ function m(e, r) {
52
52
  }, t == null ? void 0 : t.key).replace(/^[\s,]+|[\s,]+$/g, "");
53
53
  }
54
54
  export {
55
- S as ADDRESS_FORM_IDS,
56
- p as ADDRESS_FORM_ID_BY_COUNTRY,
57
- N as COUNTRY_CODES,
55
+ N as ADDRESS_FORM_IDS,
56
+ S as ADDRESS_FORM_ID_BY_COUNTRY,
57
+ p as COUNTRY_CODES,
58
58
  g as MultilineAddressToolkit,
59
59
  m as formatMultilineAddress,
60
60
  q as getCountryField,
@@ -1,27 +1,27 @@
1
- import { aL as c } from "./form-BTUoOcqB.js";
1
+ import { aW as c } from "./form-DSpx-AO8.js";
2
2
  var b, d;
3
- function L() {
3
+ function k() {
4
4
  if (d) return b;
5
5
  d = 1;
6
6
  var r = typeof c == "object" && c && c.Object === Object && c;
7
7
  return b = r, b;
8
8
  }
9
9
  var f, S;
10
- function k() {
10
+ function I() {
11
11
  if (S) return f;
12
12
  S = 1;
13
- var r = L(), e = typeof self == "object" && self && self.Object === Object && self, t = r || e || Function("return this")();
13
+ var r = k(), e = typeof self == "object" && self && self.Object === Object && self, t = r || e || Function("return this")();
14
14
  return f = t, f;
15
15
  }
16
16
  var s, O;
17
17
  function R() {
18
18
  if (O) return s;
19
19
  O = 1;
20
- var r = k(), e = r.Symbol;
20
+ var r = I(), e = r.Symbol;
21
21
  return s = e, s;
22
22
  }
23
23
  var g, _;
24
- function I() {
24
+ function L() {
25
25
  if (_) return g;
26
26
  _ = 1;
27
27
  var r = R(), e = Object.prototype, t = e.hasOwnProperty, i = e.toString, o = r ? r.toStringTag : void 0;
@@ -51,7 +51,7 @@ var j, q;
51
51
  function N() {
52
52
  if (q) return j;
53
53
  q = 1;
54
- var r = R(), e = I(), t = P(), i = "[object Null]", o = "[object Undefined]", u = r ? r.toStringTag : void 0;
54
+ var r = R(), e = L(), t = P(), i = "[object Null]", o = "[object Undefined]", u = r ? r.toStringTag : void 0;
55
55
  function n(a) {
56
56
  return a == null ? a === void 0 ? o : i : u && u in Object(a) ? e(a) : t(a);
57
57
  }
@@ -68,7 +68,7 @@ function U() {
68
68
  return v = r, v;
69
69
  }
70
70
  var T, p;
71
- function z() {
71
+ function W() {
72
72
  if (p) return T;
73
73
  p = 1;
74
74
  function r(e) {
@@ -77,10 +77,10 @@ function z() {
77
77
  return T = r, T;
78
78
  }
79
79
  export {
80
- z as a,
80
+ W as a,
81
81
  R as b,
82
82
  N as c,
83
- L as d,
84
- k as e,
83
+ k as d,
84
+ I as e,
85
85
  U as r
86
86
  };