digital-rabbit-cl 1.3.13 → 1.3.15

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.
@@ -1,6 +1,6 @@
1
1
  (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.Button-module__button___2ZuB7{border-style:solid;cursor:pointer;font-weight:700;line-height:1.25;outline:none}.Button-module__button___2ZuB7:disabled{cursor:default}.Button-module__sizeSmall___DRT8P{padding:var(--button-padding-small)}.Button-module__sizeLarge___yeZSH{padding:var(--button-padding-large)}.Checkbox-module__container___aV9qz{display:flex;align-items:center;line-height:1.2}.Checkbox-module__svg___kkluC{flex-shrink:0}.Checkbox-module__label___cwRtI{font-weight:700;margin-left:.25em;-webkit-user-select:none;user-select:none}.FormLabel-module__label___0M-fo{display:inline-block;font-weight:700;padding-bottom:var(--form-label-padding-bottom)}.FormLabel-module__label___0M-fo.FormLabel-module__disabled___ktIFp{opacity:.5;cursor:not-allowed}.FormLabel-module__label___0M-fo:not(.FormLabel-module__disabled___ktIFp){cursor:default}:root{--font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--font-size: 16px;--line-height: 1.5;--font-weight-header: 700;--primary-color: #000;--background-color: #fff;--accent-color: #0066cc;--font-size-h1: 2.5rem;--font-size-h2: 1.75rem;--font-size-h3: 1.38316rem;--font-size-h4: 1rem;--font-size-h5: .85028rem;--font-size-h6: .78405rem;--breakpoint-xs: 350px;--breakpoint-sm: 475px;--breakpoint-md: 769px;--breakpoint-lg: 1025px;--layout-max-width: 1280px;--layout-wrapper-padding-sm: .5rem;--layout-wrapper-padding: 1rem}html{line-height:var(--line-height);-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;font-size:var(--font-size);font-family:var(--font-family);box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}body{margin:0;font-family:var(--font-family);font-size:var(--font-size);line-height:var(--line-height);color:var(--primary-color);background-color:var(--background-color);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}main{display:block}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:var(--font-weight-header)}h1{font-size:var(--font-size-h1)}h2{font-size:var(--font-size-h2)}h3{font-size:var(--font-size-h3)}h4{font-size:var(--font-size-h4)}h5{font-size:var(--font-size-h5)}h6{font-size:var(--font-size-h6)}hr{box-sizing:content-box;height:0;overflow:visible;border:0;border-top:1px solid rgba(0,0,0,.1);margin:1em 0}pre{font-family:monospace,monospace;font-size:1em;overflow:auto}a{background-color:transparent;text-decoration:none}a:link{color:var(--accent-color)}a:hover{text-decoration:underline}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none;max-width:100%;height:auto;vertical-align:middle}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:var(--line-height);margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;cursor:pointer}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto;resize:vertical}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item;cursor:pointer}template,[hidden]{display:none}table{border-collapse:collapse;width:100%}ul,ol{padding-left:1.5em}p{margin-top:0;margin-bottom:1em}.FormError-module__formError___kaUBn{font-size:.875em;margin-top:var(--form-error-margin-top);font-weight:400}.FormGroup-module__formGroup___aVI-B{display:flex;flex-direction:column;margin-bottom:var(--form-group-margin-bottom)}.FormGroup-module__inputWrapper___429QE{display:flex;flex-direction:column;gap:.5em}.FormGroup-module__indented___t61iz{padding-left:.5em}.FormGroup-module__formGroup___aVI-B.FormGroup-module__disabled___W-tJ0{opacity:.6;pointer-events:none}.FormGroup-module__required___mO3xA{color:inherit;margin-left:.125em}.FormGroup-module__errorMessage___SHzl3{font-size:.875em;margin-top:.25rem;font-weight:400}.Input-module__input___WjT81{background-color:transparent;border-style:solid;box-sizing:border-box;display:block;font-weight:700;line-height:1.25;outline:none;width:100%}.Input-module__input___WjT81::placeholder{color:inherit;opacity:var(--placeholder-opacity, .3)}.Input-module__input___WjT81:disabled{opacity:.3}.Input-module__sizeSmall___NFvsi{padding:var(--input-padding-small)}.Input-module__sizeLarge___4Boj3{padding:var(--input-padding-large)}.Textarea-module__textarea___Z-y6g{background-color:transparent;border-style:solid;box-sizing:border-box;display:block;font-weight:700;line-height:1.25;outline:none;width:100%}.Textarea-module__textarea___Z-y6g::placeholder{color:inherit;opacity:var(--placeholder-opacity, .3)}.Textarea-module__textarea___Z-y6g:disabled{opacity:.3}.Textarea-module__sizeSmall___HHFEM{padding:var(--textarea-padding-small)}.Textarea-module__sizeLarge___5a3sf{padding:var(--textarea-padding-large)}.Select-module__select___cjdcr{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;background-position:right center;background-repeat:no-repeat;background-size:auto 85%;border-style:solid;box-sizing:border-box;display:block;font-weight:700;line-height:1.25;outline:none;width:100%}.Select-module__select___cjdcr:disabled{cursor:default;opacity:.3}.Select-module__select___cjdcr:not(:disabled){cursor:pointer}.Select-module__sizeSmall___i1quj{padding:var(--select-padding-small)}.Select-module__sizeLarge___eBA1T{padding:var(--select-padding-large)}.Radio-module__container___AQxhk{display:flex;align-items:center;line-height:1.25}.Radio-module__svg___zl5kF{flex-shrink:0}.Radio-module__label___vAFIP{font-weight:700;margin-left:.25em;-webkit-user-select:none;user-select:none}.Hamburger-module__hamburger___Tf4-t{background:transparent;border:none;cursor:pointer;display:none;flex-direction:column;justify-content:space-around;height:2em;outline:none;padding:0;position:relative;width:2em;z-index:11}.Hamburger-module__line___gybZM{background:currentColor;border-radius:var(--hamburger-border-radius, 10px);height:12.5%;position:relative;transform-origin:1px;transition:all .3s linear;width:100%}.Hamburger-module__line___gybZM:first-child{transform:rotate(0)}.Hamburger-module__line___gybZM:nth-child(2){opacity:1;transform:translate(0)}.Hamburger-module__line___gybZM:nth-child(3){transform:rotate(0)}.Hamburger-module__hamburger___Tf4-t.Hamburger-module__open___gRswh .Hamburger-module__line___gybZM:first-child{transform:rotate(45deg)}.Hamburger-module__hamburger___Tf4-t.Hamburger-module__open___gRswh .Hamburger-module__line___gybZM:nth-child(2){opacity:0;transform:translate(20px)}.Hamburger-module__hamburger___Tf4-t.Hamburger-module__open___gRswh .Hamburger-module__line___gybZM:nth-child(3){transform:rotate(-45deg)}.Header-module__header___RUooH{width:100%}.Header-module__container___t68M9{display:flex;align-items:center;justify-content:space-between;margin:0 auto;font-size:var(--header-font-size);max-width:var(--header-max-width);padding:var(--header-padding);position:relative}.ResponsiveNav-module__nav___xOfv5{display:flex}.ResponsiveNav-module__nav___xOfv5>*,.ResponsiveNav-module__nav___xOfv5>a{color:inherit;font-weight:700;text-decoration:none}.ResponsiveNav-module__navMobile___h795P{flex-direction:column;font-size:2rem;height:100vh;position:fixed;top:0;right:0;text-align:left;text-transform:uppercase;transition:transform .3s ease-in-out;width:100%;z-index:10;transform:translate(100%);overflow-y:auto;overflow-x:hidden;padding-top:3.5em}.ResponsiveNav-module__navHeader___Me8bB{position:fixed;top:0;left:0;right:0;height:3.5em;background:inherit;z-index:11}.ResponsiveNav-module__navMobile___h795P.ResponsiveNav-module__compact___UhuAE{padding-top:3em}.ResponsiveNav-module__navMobile___h795P.ResponsiveNav-module__compact___UhuAE .ResponsiveNav-module__navHeader___Me8bB{height:3em}.ResponsiveNav-module__navMobile___h795P.ResponsiveNav-module__open___WDCAf{transform:translate(0)}.ResponsiveNav-module__navMobile___h795P>a{padding:.35em 2em;text-align:center;width:100%}.ResponsiveNav-module__navMobile___h795P.ResponsiveNav-module__compact___UhuAE>a{padding:.25em 1.5em}.ResponsiveNav-module__navMobile___h795P>a.active{background:var(--mobile-active-bg);color:var(--mobile-active-color)}.ResponsiveNav-module__navMobile___h795P>button{align-self:center;margin:.5em 1.4em}.ResponsiveNav-module__navMobile___h795P.ResponsiveNav-module__compact___UhuAE>button{margin:.35em 1em}.ResponsiveNav-module__navDesktop___9wscZ{align-items:center;flex-direction:row;height:auto}.ResponsiveNav-module__navDesktop___9wscZ>*{margin-left:1.25rem}.ResponsiveNav-module__navDesktop___9wscZ>a.active,.ResponsiveNav-module__navDesktop___9wscZ>a:hover{opacity:var(--desktop-hover-opacity)}.Stack-module__stack___yUU-B{display:flex;gap:.5em}.Stack-module__vertical___sKTyQ{flex-direction:column;margin-bottom:.5em}.Stack-module__horizontal___YsvtV{flex-direction:row;align-items:center}.ResponsiveSection-module__section___gBESK{width:100%;padding:0}.ResponsiveSection-module__innerDiv___r1bky{max-width:var(--max-width);margin:0 auto;padding:var(--section-padding)}.Hero-module__hero___IB2tg{padding:var(--hero-padding, 3rem 0)}.Hero-module__content___rkkfQ h1{font-size:var(--hero-h1-font-size, 2rem);margin-bottom:var(--hero-h1-margin-bottom)}.Hero-module__content___rkkfQ p{font-size:var(--hero-p-font-size, 1.125rem);line-height:1.6}.Footer-module__footer___A76NF{width:100%;margin-top:auto}.Footer-module__container___QneNs{display:flex;align-items:center;justify-content:space-between;margin:0 auto}.FeatureCard-module__card___XQt66{display:flex;flex-direction:column;align-items:center;text-align:center;padding:var(--feature-card-padding)}.FeatureCard-module__icon___dXJ92{font-size:var(--feature-icon-font-size, 2.5rem);margin-bottom:var(--feature-icon-margin-bottom);color:var(--feature-icon-color, var(--primary-color))}.FeatureCard-module__title___KxXyA{font-size:var(--feature-title-font-size, 1.25rem);font-weight:600;margin-bottom:var(--feature-title-margin-bottom);color:var(--feature-title-color, inherit)}.FeatureCard-module__content___68xkw{font-size:1rem;line-height:1.6;color:var(--feature-content-color, var(--primary-color))}.FeatureGridSection-module__section___wZrbC{padding:var(--section-padding-vertical) 0}.FeatureGridSection-module__grid___iwPJv{display:grid;gap:2rem;grid-template-columns:var(--grid-template-columns, 1fr)}.PageLayout-module__layoutContainer___diLdT{display:flex;flex-direction:column;min-height:100vh}.PageLayout-module__content___h2mBr{flex:1 0 auto;display:flex;flex-direction:column}.PageLayout-module__main___Sw7Pv{flex:1}')),document.head.appendChild(e)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
2
- import { jsx as C, jsxs as Z, Fragment as xe } from "react/jsx-runtime";
3
- import z, { createContext as kr, useContext as zr, useState as st, useLayoutEffect as $r, useSyncExternalStore as Ar, useMemo as De, useRef as Ft, useEffect as Ke } from "react";
2
+ import { jsx as F, jsxs as Z, Fragment as xe } from "react/jsx-runtime";
3
+ import z, { createContext as kr, useContext as zr, useState as st, useLayoutEffect as $r, useSyncExternalStore as Ar, useMemo as Pe, useRef as Ft, useEffect as Ke } from "react";
4
4
  const Er = "Button-module__button___2ZuB7", Nr = "Button-module__sizeSmall___DRT8P", Rr = "Button-module__sizeLarge___yeZSH", Ve = {
5
5
  button: Er,
6
6
  sizeSmall: Nr,
@@ -8,24 +8,21 @@ const Er = "Button-module__button___2ZuB7", Nr = "Button-module__sizeSmall___DRT
8
8
  }, Br = ({
9
9
  isActive: e,
10
10
  disabled: r,
11
- backgroundColor: t,
12
- color: s,
13
- hoverBackgroundColor: o,
14
- hoverTextColor: n,
15
- outline: i,
16
- theme: l
11
+ color: t,
12
+ hoverColor: s,
13
+ hoverTextColor: o,
14
+ outline: n,
15
+ theme: i
17
16
  }) => {
18
- const d = t || l.colors.primary;
19
- let u;
20
- i ? u = s || d : s ? u = s : u = t ? l.buttons.textColor : l.buttons.primary.textColor;
21
- let y, m, h;
22
- i ? (y = "transparent", m = u, h = u, e && (y = o || u, m = o || u, h = n || l.buttons.textColor)) : (y = d, m = d, h = u, e && (y = o || d, m = o || d, h = n || u));
23
- let x = 1;
24
- return r ? x = 0.3 : e && (x = o ? 1 : 0.75), {
25
- backgroundColor: y,
26
- borderColor: m,
17
+ const l = t || i.colors.primary, d = i.buttons.textColor;
18
+ let f, y, h;
19
+ n ? (f = "transparent", y = l, h = l, e && (f = s || l, y = s || l, h = o || d)) : (f = l, y = l, h = d, e && (f = s || l, y = s || l, h = o || d));
20
+ let m = 1;
21
+ return r ? m = 0.3 : e && !s && (m = 0.75), {
22
+ backgroundColor: f,
23
+ borderColor: y,
27
24
  color: h,
28
- opacity: x
25
+ opacity: m
29
26
  };
30
27
  };
31
28
  function Gt(e, r) {
@@ -56,7 +53,7 @@ function Ee(e) {
56
53
  unit: s
57
54
  };
58
55
  }
59
- const Ct = {
56
+ const wt = {
60
57
  primary: "#000",
61
58
  secondary: "#FFF",
62
59
  accent: "#4381C1",
@@ -64,7 +61,7 @@ const Ct = {
64
61
  success: "#008000",
65
62
  warning: "#FFEB3B"
66
63
  }, Je = {
67
- colors: Ct,
64
+ colors: wt,
68
65
  fonts: {
69
66
  color: "#000",
70
67
  lineHeight: 1.5,
@@ -83,7 +80,7 @@ const Ct = {
83
80
  textColor: "#FFF",
84
81
  paddingHorizontal: 0.35,
85
82
  primary: {
86
- textColor: Ct.secondary
83
+ textColor: wt.secondary
87
84
  }
88
85
  },
89
86
  inputs: {
@@ -114,69 +111,67 @@ const Ct = {
114
111
  }
115
112
  }, Zt = kr(Je), Io = ({ theme: e, children: r }) => {
116
113
  const t = e ? Gt(Je, e) : Je;
117
- return /* @__PURE__ */ C(Zt.Provider, { value: t, children: r });
114
+ return /* @__PURE__ */ F(Zt.Provider, { value: t, children: r });
118
115
  }, H = () => zr(Zt), Uo = ({
119
- // Color props
120
- backgroundColor: e,
121
- color: r,
122
- hoverBackgroundColor: t,
123
- hoverTextColor: s,
124
- // Semantic props
125
- disabled: o = !1,
126
- size: n = "large",
127
- outline: i = !1,
128
- type: l = "button",
116
+ // Core styling
117
+ color: e,
118
+ hoverColor: r,
119
+ hoverTextColor: t,
120
+ // Variant props
121
+ disabled: s = !1,
122
+ size: o = "large",
123
+ outline: n = !1,
124
+ type: i = "button",
129
125
  // Standard React props
130
- className: d,
131
- style: u,
132
- buttonProps: y = {},
133
- onClick: m,
126
+ className: l,
127
+ style: d,
128
+ buttonProps: f = {},
129
+ onClick: y,
134
130
  children: h
135
131
  }) => {
136
- const x = H(), [F, g] = st(!1), w = {
132
+ const m = H(), [k, x] = st(!1), V = {
137
133
  ...Br({
138
- isActive: F,
139
- disabled: o,
140
- backgroundColor: e,
141
- color: r,
142
- hoverBackgroundColor: t,
143
- hoverTextColor: s,
144
- outline: i,
145
- theme: x
134
+ isActive: k,
135
+ disabled: s,
136
+ color: e,
137
+ hoverColor: r,
138
+ hoverTextColor: t,
139
+ outline: n,
140
+ theme: m
146
141
  }),
147
- fontSize: x.fonts.size,
148
- borderWidth: x.border.width,
149
- borderRadius: x.border.radius,
150
- "--button-padding-small": `calc(${x.fonts.rhythm} * ${x.sizes.small.paddingVertical}) calc(${x.fonts.rhythm} * ${x.buttons.paddingHorizontal})`,
151
- "--button-padding-large": `calc(${x.fonts.rhythm} * ${x.sizes.large.paddingVertical}) calc(${x.fonts.rhythm} * ${x.buttons.paddingHorizontal})`,
152
- ...u
142
+ fontSize: m.fonts.size,
143
+ borderWidth: m.border.width,
144
+ borderRadius: m.border.radius,
145
+ "--button-padding-small": `calc(${m.fonts.rhythm} * ${m.sizes.small.paddingVertical}) calc(${m.fonts.rhythm} * ${m.buttons.paddingHorizontal})`,
146
+ "--button-padding-large": `calc(${m.fonts.rhythm} * ${m.sizes.large.paddingVertical}) calc(${m.fonts.rhythm} * ${m.buttons.paddingHorizontal})`,
147
+ ...d
153
148
  // Top-level style overrides
154
- }, b = [
149
+ }, w = [
155
150
  Ve.button,
156
- n === "small" ? Ve.sizeSmall : Ve.sizeLarge,
157
- i ? Ve.outline : "",
158
- d
151
+ o === "small" ? Ve.sizeSmall : Ve.sizeLarge,
152
+ n ? Ve.outline : "",
153
+ l
159
154
  ].filter(Boolean).join(" ");
160
- return /* @__PURE__ */ C(
155
+ return /* @__PURE__ */ F(
161
156
  "button",
162
157
  {
163
- ...y,
164
- className: b,
165
- disabled: o,
166
- onClick: m,
167
- onMouseEnter: () => g(!0),
168
- onMouseLeave: () => g(!1),
169
- type: l,
170
- style: w,
158
+ ...f,
159
+ className: w,
160
+ disabled: s,
161
+ onClick: y,
162
+ onMouseEnter: () => x(!0),
163
+ onMouseLeave: () => x(!1),
164
+ type: i,
165
+ style: V,
171
166
  children: h
172
167
  }
173
168
  );
174
169
  };
175
- var wt = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto < "u" && typeof msCrypto.getRandomValues == "function" && msCrypto.getRandomValues.bind(msCrypto), Dr = new Uint8Array(16);
176
- function Pr() {
177
- if (!wt)
170
+ var Ct = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto < "u" && typeof msCrypto.getRandomValues == "function" && msCrypto.getRandomValues.bind(msCrypto), Pr = new Uint8Array(16);
171
+ function Dr() {
172
+ if (!Ct)
178
173
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
179
- return wt(Dr);
174
+ return Ct(Pr);
180
175
  }
181
176
  var Qt = [];
182
177
  for (var ze = 0; ze < 256; ++ze)
@@ -188,7 +183,7 @@ function Lr(e, r) {
188
183
  function Kt(e, r, t) {
189
184
  var s = r && t || 0;
190
185
  typeof e == "string" && (r = e === "binary" ? new Array(16) : null, e = null), e = e || {};
191
- var o = e.random || (e.rng || Pr)();
186
+ var o = e.random || (e.rng || Dr)();
192
187
  if (o[6] = o[6] & 15 | 64, o[8] = o[8] & 63 | 128, r)
193
188
  for (var n = 0; n < 16; ++n)
194
189
  r[s + n] = o[n];
@@ -239,20 +234,20 @@ const Hr = "Checkbox-module__container___aV9qz", Or = "Checkbox-module__svg___kk
239
234
  // Element-specific props
240
235
  labelProps: l
241
236
  }) => {
242
- const d = H(), u = d.colors.error, y = t ? u : e || d.colors.primary, m = Ur({
237
+ const d = H(), f = d.colors.error, y = t ? f : e || d.colors.primary, h = Ur({
243
238
  color: y,
244
239
  disabled: r,
245
240
  fontSize: ".85em"
246
- }), h = {
241
+ }), m = {
247
242
  "--form-label-padding-bottom": `calc(${d.fonts.rhythm} * 0.17)`,
248
- color: m.color,
249
- fontSize: m.fontSize,
250
- opacity: m.opacity,
251
- cursor: m.cursor,
243
+ color: h.color,
244
+ fontSize: h.fontSize,
245
+ opacity: h.opacity,
246
+ cursor: h.cursor,
252
247
  ...i
253
248
  // Top level style prop overrides
254
- }, x = [Vt.label, r ? Vt.disabled : "", n].filter(Boolean).join(" ");
255
- return /* @__PURE__ */ C("label", { ...l, className: x, htmlFor: s, style: h, children: o });
249
+ }, k = [Vt.label, r ? Vt.disabled : "", n].filter(Boolean).join(" ");
250
+ return /* @__PURE__ */ F("label", { ...l, className: k, htmlFor: s, style: m, children: o });
256
251
  }, Ye = ({
257
252
  // Color props
258
253
  color: e,
@@ -266,15 +261,15 @@ const Hr = "Checkbox-module__container___aV9qz", Or = "Checkbox-module__svg___kk
266
261
  name: i,
267
262
  id: l,
268
263
  onChange: d,
269
- label: u,
264
+ label: f,
270
265
  labelStyle: y,
271
266
  // Style overrides
272
- className: m,
273
- style: h,
267
+ className: h,
268
+ style: m,
274
269
  // Element-specific props
275
- divProps: x
270
+ divProps: k
276
271
  }) => {
277
- const F = H(), g = l || Kt(), k = F.colors.error, w = n ? k : e || F.colors.primary, b = Mr({
272
+ const x = H(), g = l || Kt(), V = x.colors.error, w = n ? V : e || x.colors.primary, b = Mr({
278
273
  color: w,
279
274
  checkmarkColor: r,
280
275
  disabled: o,
@@ -283,9 +278,9 @@ const Hr = "Checkbox-module__container___aV9qz", Or = "Checkbox-module__svg___kk
283
278
  o || d(U);
284
279
  }, $ = {
285
280
  cursor: b.cursor,
286
- fontSize: F.fonts.size,
281
+ fontSize: x.fonts.size,
287
282
  opacity: b.opacity,
288
- ...h
283
+ ...m
289
284
  // Top-level style prop overrides
290
285
  }, E = {
291
286
  width: "1em"
@@ -297,9 +292,9 @@ const Hr = "Checkbox-module__container___aV9qz", Or = "Checkbox-module__svg___kk
297
292
  stroke: b.checkmarkColor,
298
293
  strokeWidth: "15",
299
294
  fill: "transparent"
300
- }, te = [je.container, m].filter(Boolean).join(" ");
301
- return /* @__PURE__ */ Z("div", { ...x, className: te, style: $, children: [
302
- /* @__PURE__ */ C(
295
+ }, te = [je.container, h].filter(Boolean).join(" ");
296
+ return /* @__PURE__ */ Z("div", { ...k, className: te, style: $, children: [
297
+ /* @__PURE__ */ F(
303
298
  "input",
304
299
  {
305
300
  id: g,
@@ -320,12 +315,12 @@ const Hr = "Checkbox-module__container___aV9qz", Or = "Checkbox-module__svg___kk
320
315
  style: E,
321
316
  className: je.svg,
322
317
  children: [
323
- /* @__PURE__ */ C("rect", { x: "0", y: "0", height: "100", width: "100", style: O }),
324
- t && /* @__PURE__ */ C("path", { d: "M 25 45 L 45 65 L 75 30", style: M })
318
+ /* @__PURE__ */ F("rect", { x: "0", y: "0", height: "100", width: "100", style: O }),
319
+ t && /* @__PURE__ */ F("path", { d: "M 25 45 L 45 65 L 75 30", style: M })
325
320
  ]
326
321
  }
327
322
  ),
328
- u && /* @__PURE__ */ C(
323
+ f && /* @__PURE__ */ F(
329
324
  ot,
330
325
  {
331
326
  htmlFor: g,
@@ -334,7 +329,7 @@ const Hr = "Checkbox-module__container___aV9qz", Or = "Checkbox-module__svg___kk
334
329
  color: b.checkboxColor,
335
330
  disabled: o,
336
331
  error: n,
337
- children: u
332
+ children: f
338
333
  }
339
334
  )
340
335
  ] });
@@ -366,20 +361,20 @@ function W(e) {
366
361
  return e;
367
362
  return r;
368
363
  }
369
- var Pe = (e) => /^\w*$/.test(e), L = (e) => e === void 0, it = (e) => Array.isArray(e) ? e.filter(Boolean) : [], at = (e) => it(e.replace(/["|']|\]/g, "").split(/\.|\[/)), v = (e, r, t) => {
364
+ var De = (e) => /^\w*$/.test(e), L = (e) => e === void 0, it = (e) => Array.isArray(e) ? e.filter(Boolean) : [], at = (e) => it(e.replace(/["|']|\]/g, "").split(/\.|\[/)), v = (e, r, t) => {
370
365
  if (!r || !I(e))
371
366
  return t;
372
- const s = (Pe(r) ? [r] : at(r)).reduce((o, n) => K(o) ? o : o[n], e);
367
+ const s = (De(r) ? [r] : at(r)).reduce((o, n) => K(o) ? o : o[n], e);
373
368
  return L(s) || s === e ? L(e[r]) ? t : e[r] : s;
374
- }, Y = (e) => typeof e == "boolean", D = (e, r, t) => {
369
+ }, Y = (e) => typeof e == "boolean", P = (e, r, t) => {
375
370
  let s = -1;
376
- const o = Pe(r) ? [r] : at(r), n = o.length, i = n - 1;
371
+ const o = De(r) ? [r] : at(r), n = o.length, i = n - 1;
377
372
  for (; ++s < n; ) {
378
373
  const l = o[s];
379
374
  let d = t;
380
375
  if (s !== i) {
381
- const u = e[l];
382
- d = I(u) || Array.isArray(u) ? u : isNaN(+o[s + 1]) ? {} : [];
376
+ const f = e[l];
377
+ d = I(f) || Array.isArray(f) ? f : isNaN(+o[s + 1]) ? {} : [];
383
378
  }
384
379
  if (l === "__proto__" || l === "constructor" || l === "prototype")
385
380
  return;
@@ -436,10 +431,10 @@ function Gr(e) {
436
431
  name: o,
437
432
  formState: d.current,
438
433
  exact: n,
439
- callback: (u) => {
434
+ callback: (f) => {
440
435
  !s && l({
441
436
  ...t._formState,
442
- ...u
437
+ ...f
443
438
  });
444
439
  }
445
440
  }), [o, s, n]), z.useEffect(() => {
@@ -471,44 +466,44 @@ function se(e, r, t = /* @__PURE__ */ new WeakSet()) {
471
466
  return !0;
472
467
  }
473
468
  function Zr(e) {
474
- const r = lt(), { control: t = r.control, name: s, defaultValue: o, disabled: n, exact: i, compute: l } = e || {}, d = z.useRef(o), u = z.useRef(l), y = z.useRef(void 0), m = z.useRef(t), h = z.useRef(s);
475
- u.current = l;
476
- const [x, F] = z.useState(() => {
469
+ const r = lt(), { control: t = r.control, name: s, defaultValue: o, disabled: n, exact: i, compute: l } = e || {}, d = z.useRef(o), f = z.useRef(l), y = z.useRef(void 0), h = z.useRef(t), m = z.useRef(s);
470
+ f.current = l;
471
+ const [k, x] = z.useState(() => {
477
472
  const $ = t._getWatch(s, d.current);
478
- return u.current ? u.current($) : $;
473
+ return f.current ? f.current($) : $;
479
474
  }), g = z.useCallback(($) => {
480
475
  const E = Xe(s, t._names, $ || t._formValues, !1, d.current);
481
- return u.current ? u.current(E) : E;
482
- }, [t._formValues, t._names, s]), k = z.useCallback(($) => {
476
+ return f.current ? f.current(E) : E;
477
+ }, [t._formValues, t._names, s]), V = z.useCallback(($) => {
483
478
  if (!n) {
484
479
  const E = Xe(s, t._names, $ || t._formValues, !1, d.current);
485
- if (u.current) {
486
- const O = u.current(E);
487
- se(O, y.current) || (F(O), y.current = O);
480
+ if (f.current) {
481
+ const O = f.current(E);
482
+ se(O, y.current) || (x(O), y.current = O);
488
483
  } else
489
- F(E);
484
+ x(E);
490
485
  }
491
486
  }, [t._formValues, t._names, n, s]);
492
- ct(() => ((m.current !== t || !se(h.current, s)) && (m.current = t, h.current = s, k()), t._subscribe({
487
+ ct(() => ((h.current !== t || !se(m.current, s)) && (h.current = t, m.current = s, V()), t._subscribe({
493
488
  name: s,
494
489
  formState: {
495
490
  values: !0
496
491
  },
497
492
  exact: i,
498
493
  callback: ($) => {
499
- k($.values);
494
+ V($.values);
500
495
  }
501
- })), [t, i, s, k]), z.useEffect(() => t._removeUnmounted());
502
- const w = m.current !== t, b = h.current, A = z.useMemo(() => {
496
+ })), [t, i, s, V]), z.useEffect(() => t._removeUnmounted());
497
+ const w = h.current !== t, b = m.current, A = z.useMemo(() => {
503
498
  if (n)
504
499
  return null;
505
500
  const $ = !w && !se(b, s);
506
501
  return w || $ ? g() : null;
507
502
  }, [n, w, s, b, g]);
508
- return A !== null ? A : x;
503
+ return A !== null ? A : k;
509
504
  }
510
505
  function Qr(e) {
511
- const r = lt(), { name: t, disabled: s, control: o = r.control, shouldUnregister: n, defaultValue: i } = e, l = Xt(o._names.array, t), d = z.useMemo(() => v(o._formValues, t, v(o._defaultValues, t, i)), [o, t, i]), u = Zr({
506
+ const r = lt(), { name: t, disabled: s, control: o = r.control, shouldUnregister: n, defaultValue: i } = e, l = Xt(o._names.array, t), d = z.useMemo(() => v(o._formValues, t, v(o._defaultValues, t, i)), [o, t, i]), f = Zr({
512
507
  control: o,
513
508
  name: t,
514
509
  defaultValue: d,
@@ -517,13 +512,13 @@ function Qr(e) {
517
512
  control: o,
518
513
  name: t,
519
514
  exact: !0
520
- }), m = z.useRef(e), h = z.useRef(void 0), x = z.useRef(o.register(t, {
515
+ }), h = z.useRef(e), m = z.useRef(void 0), k = z.useRef(o.register(t, {
521
516
  ...e.rules,
522
- value: u,
517
+ value: f,
523
518
  ...Y(e.disabled) ? { disabled: e.disabled } : {}
524
519
  }));
525
- m.current = e;
526
- const F = z.useMemo(() => Object.defineProperties({}, {
520
+ h.current = e;
521
+ const x = z.useMemo(() => Object.defineProperties({}, {
527
522
  invalid: {
528
523
  enumerable: !0,
529
524
  get: () => !!v(y.errors, t)
@@ -544,13 +539,13 @@ function Qr(e) {
544
539
  enumerable: !0,
545
540
  get: () => v(y.errors, t)
546
541
  }
547
- }), [y, t]), g = z.useCallback((A) => x.current.onChange({
542
+ }), [y, t]), g = z.useCallback((A) => k.current.onChange({
548
543
  target: {
549
544
  value: Yt(A),
550
545
  name: t
551
546
  },
552
547
  type: Ne.CHANGE
553
- }), [t]), k = z.useCallback(() => x.current.onBlur({
548
+ }), [t]), V = z.useCallback(() => k.current.onBlur({
554
549
  target: {
555
550
  value: v(o._formValues, t),
556
551
  name: t
@@ -566,27 +561,27 @@ function Qr(e) {
566
561
  });
567
562
  }, [o._fields, t]), b = z.useMemo(() => ({
568
563
  name: t,
569
- value: u,
564
+ value: f,
570
565
  ...Y(s) || y.disabled ? { disabled: y.disabled || s } : {},
571
566
  onChange: g,
572
- onBlur: k,
567
+ onBlur: V,
573
568
  ref: w
574
- }), [t, s, y.disabled, g, k, w, u]);
569
+ }), [t, s, y.disabled, g, V, w, f]);
575
570
  return z.useEffect(() => {
576
- const A = o._options.shouldUnregister || n, $ = h.current;
571
+ const A = o._options.shouldUnregister || n, $ = m.current;
577
572
  $ && $ !== t && !l && o.unregister($), o.register(t, {
578
- ...m.current.rules,
579
- ...Y(m.current.disabled) ? { disabled: m.current.disabled } : {}
573
+ ...h.current.rules,
574
+ ...Y(h.current.disabled) ? { disabled: h.current.disabled } : {}
580
575
  });
581
576
  const E = (O, M) => {
582
577
  const te = v(o._fields, O);
583
578
  te && te._f && (te._f.mount = M);
584
579
  };
585
580
  if (E(t, !0), A) {
586
- const O = W(v(o._options.defaultValues, t, m.current.defaultValue));
587
- D(o._defaultValues, t, O), L(v(o._formValues, t)) && D(o._formValues, t, O);
581
+ const O = W(v(o._options.defaultValues, t, h.current.defaultValue));
582
+ P(o._defaultValues, t, O), L(v(o._formValues, t)) && P(o._formValues, t, O);
588
583
  }
589
- return !l && o.register(t), h.current = t, () => {
584
+ return !l && o.register(t), m.current = t, () => {
590
585
  (l ? A && !o._state.action : A) ? o.unregister(t) : E(t, !1);
591
586
  };
592
587
  }, [t, o, l, n]), z.useEffect(() => {
@@ -597,8 +592,8 @@ function Qr(e) {
597
592
  }, [s, t, o]), z.useMemo(() => ({
598
593
  field: b,
599
594
  formState: y,
600
- fieldState: F
601
- }), [b, y, F]);
595
+ fieldState: x
596
+ }), [b, y, x]);
602
597
  }
603
598
  var ut = (e, r, t, s, o) => r ? {
604
599
  ...t[e],
@@ -658,7 +653,7 @@ function Yr(e) {
658
653
  return !0;
659
654
  }
660
655
  function j(e, r) {
661
- const t = Array.isArray(r) ? r : Pe(r) ? [r] : at(r), s = t.length === 1 ? e : Jr(e, t), o = t.length - 1, n = t[o];
656
+ const t = Array.isArray(r) ? r : De(r) ? [r] : at(r), s = t.length === 1 ? e : Jr(e, t), o = t.length - 1, n = t[o];
662
657
  return s && delete s[n], o !== 0 && (I(s) && G(s) || Array.isArray(s) && Yr(s)) && j(e, t.slice(0, -1)), e;
663
658
  }
664
659
  var Xr = (e) => {
@@ -714,7 +709,7 @@ var es = (e, r, t, s) => {
714
709
  const o = {};
715
710
  for (const n of e) {
716
711
  const i = v(r, n);
717
- i && D(o, n, i._f);
712
+ i && P(o, n, i._f);
718
713
  }
719
714
  return {
720
715
  criteriaMode: t,
@@ -748,9 +743,9 @@ const Se = (e, r, t, s) => {
748
743
  }
749
744
  }
750
745
  };
751
- function Dt(e, r, t) {
746
+ function Pt(e, r, t) {
752
747
  const s = v(e, t);
753
- if (s || Pe(t))
748
+ if (s || De(t))
754
749
  return {
755
750
  error: s,
756
751
  name: t
@@ -782,9 +777,9 @@ var ss = (e, r, t, s) => {
782
777
  return G(n) || Object.keys(n).length >= Object.keys(r).length || Object.keys(n).find((i) => r[i] === (!s || re.all));
783
778
  }, os = (e, r, t) => !e || !r || e === r || be(e).some((s) => s && (t ? s === r : s.startsWith(r) || r.startsWith(s))), ns = (e, r, t, s, o) => o.isOnAll ? !1 : !t && o.isOnTouch ? !(r || e) : (t ? s.isOnBlur : o.isOnBlur) ? !e : (t ? s.isOnChange : o.isOnChange) ? e : !0, is = (e, r) => !it(v(e, r)).length && j(e, r), as = (e, r, t) => {
784
779
  const s = be(v(e, t));
785
- return D(s, "root", r[t]), D(e, t, s), e;
780
+ return P(s, "root", r[t]), P(e, t, s), e;
786
781
  };
787
- function Pt(e, r, t = "validate") {
782
+ function Dt(e, r, t = "validate") {
788
783
  if (X(e) || Array.isArray(e) && e.every(X) || Y(e) && !e)
789
784
  return {
790
785
  type: t,
@@ -796,12 +791,12 @@ var ye = (e) => I(e) && !Be(e) ? e : {
796
791
  value: e,
797
792
  message: ""
798
793
  }, Lt = async (e, r, t, s, o, n) => {
799
- const { ref: i, refs: l, required: d, maxLength: u, minLength: y, min: m, max: h, pattern: x, validate: F, name: g, valueAsNumber: k, mount: w } = e._f, b = v(t, g);
794
+ const { ref: i, refs: l, required: d, maxLength: f, minLength: y, min: h, max: m, pattern: k, validate: x, name: g, valueAsNumber: V, mount: w } = e._f, b = v(t, g);
800
795
  if (!w || r.has(g))
801
796
  return {};
802
797
  const A = l ? l[0] : i, $ = (N) => {
803
798
  o && A.reportValidity && (A.setCustomValidity(Y(N) ? "" : N || ""), A.reportValidity());
804
- }, E = {}, O = ft(i), M = Fe(i), te = O || M, U = (k || dt(i)) && L(i.value) && L(b) || Re(i) && i.value === "" || b === "" || Array.isArray(b) && !b.length, ae = ut.bind(null, g, s, E), J = (N, R, T, q = le.maxLength, Q = le.minLength) => {
799
+ }, E = {}, O = ft(i), M = Fe(i), te = O || M, U = (V || dt(i)) && L(i.value) && L(b) || Re(i) && i.value === "" || b === "" || Array.isArray(b) && !b.length, ae = ut.bind(null, g, s, E), J = (N, R, T, q = le.maxLength, Q = le.minLength) => {
805
800
  const ne = N ? R : T;
806
801
  E[g] = {
807
802
  type: N ? q : Q,
@@ -820,26 +815,26 @@ var ye = (e) => I(e) && !Be(e) ? e : {
820
815
  }, !s))
821
816
  return $(R), E;
822
817
  }
823
- if (!U && (!K(m) || !K(h))) {
818
+ if (!U && (!K(h) || !K(m))) {
824
819
  let N, R;
825
- const T = ye(h), q = ye(m);
820
+ const T = ye(m), q = ye(h);
826
821
  if (!K(b) && !isNaN(b)) {
827
822
  const Q = i.valueAsNumber || b && +b;
828
823
  K(T.value) || (N = Q > T.value), K(q.value) || (R = Q < q.value);
829
824
  } else {
830
- const Q = i.valueAsDate || new Date(b), ne = (Ce) => /* @__PURE__ */ new Date((/* @__PURE__ */ new Date()).toDateString() + " " + Ce), _e = i.type == "time", fe = i.type == "week";
825
+ const Q = i.valueAsDate || new Date(b), ne = (we) => /* @__PURE__ */ new Date((/* @__PURE__ */ new Date()).toDateString() + " " + we), _e = i.type == "time", fe = i.type == "week";
831
826
  X(T.value) && b && (N = _e ? ne(b) > ne(T.value) : fe ? b > T.value : Q > new Date(T.value)), X(q.value) && b && (R = _e ? ne(b) < ne(q.value) : fe ? b < q.value : Q < new Date(q.value));
832
827
  }
833
828
  if ((N || R) && (J(!!N, T.message, q.message, le.max, le.min), !s))
834
829
  return $(E[g].message), E;
835
830
  }
836
- if ((u || y) && !U && (X(b) || n && Array.isArray(b))) {
837
- const N = ye(u), R = ye(y), T = !K(N.value) && b.length > +N.value, q = !K(R.value) && b.length < +R.value;
831
+ if ((f || y) && !U && (X(b) || n && Array.isArray(b))) {
832
+ const N = ye(f), R = ye(y), T = !K(N.value) && b.length > +N.value, q = !K(R.value) && b.length < +R.value;
838
833
  if ((T || q) && (J(T, N.message, R.message), !s))
839
834
  return $(E[g].message), E;
840
835
  }
841
- if (x && !U && X(b)) {
842
- const { value: N, message: R } = ye(x);
836
+ if (k && !U && X(b)) {
837
+ const { value: N, message: R } = ye(k);
843
838
  if (Be(N) && !b.match(N) && (E[g] = {
844
839
  type: le.pattern,
845
840
  message: R,
@@ -848,20 +843,20 @@ var ye = (e) => I(e) && !Be(e) ? e : {
848
843
  }, !s))
849
844
  return $(R), E;
850
845
  }
851
- if (F) {
852
- if (oe(F)) {
853
- const N = await F(b, t), R = Pt(N, A);
846
+ if (x) {
847
+ if (oe(x)) {
848
+ const N = await x(b, t), R = Dt(N, A);
854
849
  if (R && (E[g] = {
855
850
  ...R,
856
851
  ...ae(le.validate, R.message)
857
852
  }, !s))
858
853
  return $(R.message), E;
859
- } else if (I(F)) {
854
+ } else if (I(x)) {
860
855
  let N = {};
861
- for (const R in F) {
856
+ for (const R in x) {
862
857
  if (!G(N) && !s)
863
858
  break;
864
- const T = Pt(await F[R](b, t), A, R);
859
+ const T = Dt(await x[R](b, t), A, R);
865
860
  T && (N = {
866
861
  ...T,
867
862
  ...ae(R, T.message)
@@ -910,7 +905,7 @@ function cs(e = {}) {
910
905
  unMount: /* @__PURE__ */ new Set(),
911
906
  array: /* @__PURE__ */ new Set(),
912
907
  watch: /* @__PURE__ */ new Set()
913
- }, d, u = 0;
908
+ }, d, f = 0;
914
909
  const y = {
915
910
  isDirty: !1,
916
911
  dirtyFields: !1,
@@ -920,43 +915,43 @@ function cs(e = {}) {
920
915
  isValid: !1,
921
916
  errors: !1
922
917
  };
923
- let m = {
918
+ let h = {
924
919
  ...y
925
920
  };
926
- const h = {
921
+ const m = {
927
922
  array: kt(),
928
923
  state: kt()
929
- }, x = r.criteriaMode === re.all, F = (a) => (c) => {
930
- clearTimeout(u), u = setTimeout(a, c);
924
+ }, k = r.criteriaMode === re.all, x = (a) => (c) => {
925
+ clearTimeout(f), f = setTimeout(a, c);
931
926
  }, g = async (a) => {
932
- if (!r.disabled && (y.isValid || m.isValid || a)) {
927
+ if (!r.disabled && (y.isValid || h.isValid || a)) {
933
928
  const c = r.resolver ? G((await M()).errors) : await U(s, !0);
934
- c !== t.isValid && h.state.next({
929
+ c !== t.isValid && m.state.next({
935
930
  isValid: c
936
931
  });
937
932
  }
938
- }, k = (a, c) => {
939
- !r.disabled && (y.isValidating || y.validatingFields || m.isValidating || m.validatingFields) && ((a || Array.from(l.mount)).forEach((f) => {
940
- f && (c ? D(t.validatingFields, f, c) : j(t.validatingFields, f));
941
- }), h.state.next({
933
+ }, V = (a, c) => {
934
+ !r.disabled && (y.isValidating || y.validatingFields || h.isValidating || h.validatingFields) && ((a || Array.from(l.mount)).forEach((u) => {
935
+ u && (c ? P(t.validatingFields, u, c) : j(t.validatingFields, u));
936
+ }), m.state.next({
942
937
  validatingFields: t.validatingFields,
943
938
  isValidating: !G(t.validatingFields)
944
939
  }));
945
- }, w = (a, c = [], f, S, p = !0, _ = !0) => {
946
- if (S && f && !r.disabled) {
940
+ }, w = (a, c = [], u, S, p = !0, _ = !0) => {
941
+ if (S && u && !r.disabled) {
947
942
  if (i.action = !0, _ && Array.isArray(v(s, a))) {
948
- const V = f(v(s, a), S.argA, S.argB);
949
- p && D(s, a, V);
943
+ const C = u(v(s, a), S.argA, S.argB);
944
+ p && P(s, a, C);
950
945
  }
951
946
  if (_ && Array.isArray(v(t.errors, a))) {
952
- const V = f(v(t.errors, a), S.argA, S.argB);
953
- p && D(t.errors, a, V), is(t.errors, a);
947
+ const C = u(v(t.errors, a), S.argA, S.argB);
948
+ p && P(t.errors, a, C), is(t.errors, a);
954
949
  }
955
- if ((y.touchedFields || m.touchedFields) && _ && Array.isArray(v(t.touchedFields, a))) {
956
- const V = f(v(t.touchedFields, a), S.argA, S.argB);
957
- p && D(t.touchedFields, a, V);
950
+ if ((y.touchedFields || h.touchedFields) && _ && Array.isArray(v(t.touchedFields, a))) {
951
+ const C = u(v(t.touchedFields, a), S.argA, S.argB);
952
+ p && P(t.touchedFields, a, C);
958
953
  }
959
- (y.dirtyFields || m.dirtyFields) && (t.dirtyFields = ge(o, n)), h.state.next({
954
+ (y.dirtyFields || h.dirtyFields) && (t.dirtyFields = ge(o, n)), m.state.next({
960
955
  name: a,
961
956
  isDirty: J(a, c),
962
957
  dirtyFields: t.dirtyFields,
@@ -964,44 +959,44 @@ function cs(e = {}) {
964
959
  isValid: t.isValid
965
960
  });
966
961
  } else
967
- D(n, a, c);
962
+ P(n, a, c);
968
963
  }, b = (a, c) => {
969
- D(t.errors, a, c), h.state.next({
964
+ P(t.errors, a, c), m.state.next({
970
965
  errors: t.errors
971
966
  });
972
967
  }, A = (a) => {
973
- t.errors = a, h.state.next({
968
+ t.errors = a, m.state.next({
974
969
  errors: t.errors,
975
970
  isValid: !1
976
971
  });
977
- }, $ = (a, c, f, S) => {
972
+ }, $ = (a, c, u, S) => {
978
973
  const p = v(s, a);
979
974
  if (p) {
980
- const _ = v(n, a, L(f) ? v(o, a) : f);
981
- L(_) || S && S.defaultChecked || c ? D(n, a, c ? _ : Et(p._f)) : T(a, _), i.mount && g();
975
+ const _ = v(n, a, L(u) ? v(o, a) : u);
976
+ L(_) || S && S.defaultChecked || c ? P(n, a, c ? _ : Et(p._f)) : T(a, _), i.mount && g();
982
977
  }
983
- }, E = (a, c, f, S, p) => {
984
- let _ = !1, V = !1;
978
+ }, E = (a, c, u, S, p) => {
979
+ let _ = !1, C = !1;
985
980
  const B = {
986
981
  name: a
987
982
  };
988
983
  if (!r.disabled) {
989
- if (!f || S) {
990
- (y.isDirty || m.isDirty) && (V = t.isDirty, t.isDirty = B.isDirty = J(), _ = V !== B.isDirty);
991
- const P = se(v(o, a), c);
992
- V = !!v(t.dirtyFields, a), P ? j(t.dirtyFields, a) : D(t.dirtyFields, a, !0), B.dirtyFields = t.dirtyFields, _ = _ || (y.dirtyFields || m.dirtyFields) && V !== !P;
984
+ if (!u || S) {
985
+ (y.isDirty || h.isDirty) && (C = t.isDirty, t.isDirty = B.isDirty = J(), _ = C !== B.isDirty);
986
+ const D = se(v(o, a), c);
987
+ C = !!v(t.dirtyFields, a), D ? j(t.dirtyFields, a) : P(t.dirtyFields, a, !0), B.dirtyFields = t.dirtyFields, _ = _ || (y.dirtyFields || h.dirtyFields) && C !== !D;
993
988
  }
994
- if (f) {
995
- const P = v(t.touchedFields, a);
996
- P || (D(t.touchedFields, a, f), B.touchedFields = t.touchedFields, _ = _ || (y.touchedFields || m.touchedFields) && P !== f);
989
+ if (u) {
990
+ const D = v(t.touchedFields, a);
991
+ D || (P(t.touchedFields, a, u), B.touchedFields = t.touchedFields, _ = _ || (y.touchedFields || h.touchedFields) && D !== u);
997
992
  }
998
- _ && p && h.state.next(B);
993
+ _ && p && m.state.next(B);
999
994
  }
1000
995
  return _ ? B : {};
1001
- }, O = (a, c, f, S) => {
1002
- const p = v(t.errors, a), _ = (y.isValid || m.isValid) && Y(c) && t.isValid !== c;
1003
- if (r.delayError && f ? (d = F(() => b(a, f)), d(r.delayError)) : (clearTimeout(u), d = null, f ? D(t.errors, a, f) : j(t.errors, a)), (f ? !se(p, f) : p) || !G(S) || _) {
1004
- const V = {
996
+ }, O = (a, c, u, S) => {
997
+ const p = v(t.errors, a), _ = (y.isValid || h.isValid) && Y(c) && t.isValid !== c;
998
+ if (r.delayError && u ? (d = x(() => b(a, u)), d(r.delayError)) : (clearTimeout(f), d = null, u ? P(t.errors, a, u) : j(t.errors, a)), (u ? !se(p, u) : p) || !G(S) || _) {
999
+ const C = {
1005
1000
  ...S,
1006
1001
  ..._ && Y(c) ? { isValid: c } : {},
1007
1002
  errors: t.errors,
@@ -1009,134 +1004,134 @@ function cs(e = {}) {
1009
1004
  };
1010
1005
  t = {
1011
1006
  ...t,
1012
- ...V
1013
- }, h.state.next(V);
1007
+ ...C
1008
+ }, m.state.next(C);
1014
1009
  }
1015
1010
  }, M = async (a) => {
1016
- k(a, !0);
1011
+ V(a, !0);
1017
1012
  const c = await r.resolver(n, r.context, es(a || l.mount, s, r.criteriaMode, r.shouldUseNativeValidation));
1018
- return k(a), c;
1013
+ return V(a), c;
1019
1014
  }, te = async (a) => {
1020
1015
  const { errors: c } = await M(a);
1021
1016
  if (a)
1022
- for (const f of a) {
1023
- const S = v(c, f);
1024
- S ? D(t.errors, f, S) : j(t.errors, f);
1017
+ for (const u of a) {
1018
+ const S = v(c, u);
1019
+ S ? P(t.errors, u, S) : j(t.errors, u);
1025
1020
  }
1026
1021
  else
1027
1022
  t.errors = c;
1028
1023
  return c;
1029
- }, U = async (a, c, f = {
1024
+ }, U = async (a, c, u = {
1030
1025
  valid: !0
1031
1026
  }) => {
1032
1027
  for (const S in a) {
1033
1028
  const p = a[S];
1034
1029
  if (p) {
1035
- const { _f: _, ...V } = p;
1030
+ const { _f: _, ...C } = p;
1036
1031
  if (_) {
1037
- const B = l.array.has(_.name), P = p._f && ts(p._f);
1038
- P && y.validatingFields && k([_.name], !0);
1039
- const ee = await Lt(p, l.disabled, n, x, r.shouldUseNativeValidation && !c, B);
1040
- if (P && y.validatingFields && k([_.name]), ee[_.name] && (f.valid = !1, c))
1032
+ const B = l.array.has(_.name), D = p._f && ts(p._f);
1033
+ D && y.validatingFields && V([_.name], !0);
1034
+ const ee = await Lt(p, l.disabled, n, k, r.shouldUseNativeValidation && !c, B);
1035
+ if (D && y.validatingFields && V([_.name]), ee[_.name] && (u.valid = !1, c))
1041
1036
  break;
1042
- !c && (v(ee, _.name) ? B ? as(t.errors, ee, _.name) : D(t.errors, _.name, ee[_.name]) : j(t.errors, _.name));
1037
+ !c && (v(ee, _.name) ? B ? as(t.errors, ee, _.name) : P(t.errors, _.name, ee[_.name]) : j(t.errors, _.name));
1043
1038
  }
1044
- !G(V) && await U(V, c, f);
1039
+ !G(C) && await U(C, c, u);
1045
1040
  }
1046
1041
  }
1047
- return f.valid;
1042
+ return u.valid;
1048
1043
  }, ae = () => {
1049
1044
  for (const a of l.unMount) {
1050
1045
  const c = v(s, a);
1051
- c && (c._f.refs ? c._f.refs.every((f) => !Ie(f)) : !Ie(c._f.ref)) && Le(a);
1046
+ c && (c._f.refs ? c._f.refs.every((u) => !Ie(u)) : !Ie(c._f.ref)) && Le(a);
1052
1047
  }
1053
1048
  l.unMount = /* @__PURE__ */ new Set();
1054
- }, J = (a, c) => !r.disabled && (a && c && D(n, a, c), !se(Ce(), o)), N = (a, c, f) => Xe(a, l, {
1049
+ }, J = (a, c) => !r.disabled && (a && c && P(n, a, c), !se(we(), o)), N = (a, c, u) => Xe(a, l, {
1055
1050
  ...i.mount ? n : L(c) ? o : X(a) ? { [a]: c } : c
1056
- }, f, c), R = (a) => it(v(i.mount ? n : o, a, r.shouldUnregister ? v(o, a, []) : [])), T = (a, c, f = {}) => {
1051
+ }, u, c), R = (a) => it(v(i.mount ? n : o, a, r.shouldUnregister ? v(o, a, []) : [])), T = (a, c, u = {}) => {
1057
1052
  const S = v(s, a);
1058
1053
  let p = c;
1059
1054
  if (S) {
1060
1055
  const _ = S._f;
1061
- _ && (!_.disabled && D(n, a, ir(c, _)), p = Re(_.ref) && K(c) ? "" : c, sr(_.ref) ? [..._.ref.options].forEach((V) => V.selected = p.includes(V.value)) : _.refs ? Fe(_.ref) ? _.refs.forEach((V) => {
1062
- (!V.defaultChecked || !V.disabled) && (Array.isArray(p) ? V.checked = !!p.find((B) => B === V.value) : V.checked = p === V.value || !!p);
1063
- }) : _.refs.forEach((V) => V.checked = V.value === p) : dt(_.ref) ? _.ref.value = "" : (_.ref.value = p, _.ref.type || h.state.next({
1056
+ _ && (!_.disabled && P(n, a, ir(c, _)), p = Re(_.ref) && K(c) ? "" : c, sr(_.ref) ? [..._.ref.options].forEach((C) => C.selected = p.includes(C.value)) : _.refs ? Fe(_.ref) ? _.refs.forEach((C) => {
1057
+ (!C.defaultChecked || !C.disabled) && (Array.isArray(p) ? C.checked = !!p.find((B) => B === C.value) : C.checked = p === C.value || !!p);
1058
+ }) : _.refs.forEach((C) => C.checked = C.value === p) : dt(_.ref) ? _.ref.value = "" : (_.ref.value = p, _.ref.type || m.state.next({
1064
1059
  name: a,
1065
1060
  values: W(n)
1066
1061
  })));
1067
1062
  }
1068
- (f.shouldDirty || f.shouldTouch) && E(a, p, f.shouldTouch, f.shouldDirty, !0), f.shouldValidate && fe(a);
1069
- }, q = (a, c, f) => {
1063
+ (u.shouldDirty || u.shouldTouch) && E(a, p, u.shouldTouch, u.shouldDirty, !0), u.shouldValidate && fe(a);
1064
+ }, q = (a, c, u) => {
1070
1065
  for (const S in c) {
1071
1066
  if (!c.hasOwnProperty(S))
1072
1067
  return;
1073
- const p = c[S], _ = a + "." + S, V = v(s, _);
1074
- (l.array.has(a) || I(p) || V && !V._f) && !ue(p) ? q(_, p, f) : T(_, p, f);
1068
+ const p = c[S], _ = a + "." + S, C = v(s, _);
1069
+ (l.array.has(a) || I(p) || C && !C._f) && !ue(p) ? q(_, p, u) : T(_, p, u);
1075
1070
  }
1076
- }, Q = (a, c, f = {}) => {
1071
+ }, Q = (a, c, u = {}) => {
1077
1072
  const S = v(s, a), p = l.array.has(a), _ = W(c);
1078
- D(n, a, _), p ? (h.array.next({
1073
+ P(n, a, _), p ? (m.array.next({
1079
1074
  name: a,
1080
1075
  values: W(n)
1081
- }), (y.isDirty || y.dirtyFields || m.isDirty || m.dirtyFields) && f.shouldDirty && h.state.next({
1076
+ }), (y.isDirty || y.dirtyFields || h.isDirty || h.dirtyFields) && u.shouldDirty && m.state.next({
1082
1077
  name: a,
1083
1078
  dirtyFields: ge(o, n),
1084
1079
  isDirty: J(a, _)
1085
- })) : S && !S._f && !K(_) ? q(a, _, f) : T(a, _, f), Bt(a, l) && h.state.next({ ...t, name: a }), h.state.next({
1080
+ })) : S && !S._f && !K(_) ? q(a, _, u) : T(a, _, u), Bt(a, l) && m.state.next({ ...t, name: a }), m.state.next({
1086
1081
  name: i.mount ? a : void 0,
1087
1082
  values: W(n)
1088
1083
  });
1089
1084
  }, ne = async (a) => {
1090
1085
  i.mount = !0;
1091
1086
  const c = a.target;
1092
- let f = c.name, S = !0;
1093
- const p = v(s, f), _ = (P) => {
1094
- S = Number.isNaN(P) || ue(P) && isNaN(P.getTime()) || se(P, v(n, f, P));
1095
- }, V = Nt(r.mode), B = Nt(r.reValidateMode);
1087
+ let u = c.name, S = !0;
1088
+ const p = v(s, u), _ = (D) => {
1089
+ S = Number.isNaN(D) || ue(D) && isNaN(D.getTime()) || se(D, v(n, u, D));
1090
+ }, C = Nt(r.mode), B = Nt(r.reValidateMode);
1096
1091
  if (p) {
1097
- let P, ee;
1098
- const we = c.type ? Et(p._f) : Yt(a), ce = a.type === Ne.BLUR || a.type === Ne.FOCUS_OUT, Cr = !rs(p._f) && !r.resolver && !v(t.errors, f) && !p._f.deps || ns(ce, v(t.touchedFields, f), t.isSubmitted, B, V), Te = Bt(f, l, ce);
1099
- D(n, f, we), ce ? (!c || !c.readOnly) && (p._f.onBlur && p._f.onBlur(a), d && d(0)) : p._f.onChange && p._f.onChange(a);
1100
- const Me = E(f, we, ce), wr = !G(Me) || Te;
1101
- if (!ce && h.state.next({
1102
- name: f,
1092
+ let D, ee;
1093
+ const Ce = c.type ? Et(p._f) : Yt(a), ce = a.type === Ne.BLUR || a.type === Ne.FOCUS_OUT, wr = !rs(p._f) && !r.resolver && !v(t.errors, u) && !p._f.deps || ns(ce, v(t.touchedFields, u), t.isSubmitted, B, C), Te = Bt(u, l, ce);
1094
+ P(n, u, Ce), ce ? (!c || !c.readOnly) && (p._f.onBlur && p._f.onBlur(a), d && d(0)) : p._f.onChange && p._f.onChange(a);
1095
+ const Me = E(u, Ce, ce), Cr = !G(Me) || Te;
1096
+ if (!ce && m.state.next({
1097
+ name: u,
1103
1098
  type: a.type,
1104
1099
  values: W(n)
1105
- }), Cr)
1106
- return (y.isValid || m.isValid) && (r.mode === "onBlur" ? ce && g() : ce || g()), wr && h.state.next({ name: f, ...Te ? {} : Me });
1107
- if (!ce && Te && h.state.next({ ...t }), r.resolver) {
1108
- const { errors: St } = await M([f]);
1109
- if (_(we), S) {
1110
- const Vr = Dt(t.errors, s, f), xt = Dt(St, s, Vr.name || f);
1111
- P = xt.error, f = xt.name, ee = G(St);
1100
+ }), wr)
1101
+ return (y.isValid || h.isValid) && (r.mode === "onBlur" ? ce && g() : ce || g()), Cr && m.state.next({ name: u, ...Te ? {} : Me });
1102
+ if (!ce && Te && m.state.next({ ...t }), r.resolver) {
1103
+ const { errors: St } = await M([u]);
1104
+ if (_(Ce), S) {
1105
+ const Vr = Pt(t.errors, s, u), xt = Pt(St, s, Vr.name || u);
1106
+ D = xt.error, u = xt.name, ee = G(St);
1112
1107
  }
1113
1108
  } else
1114
- k([f], !0), P = (await Lt(p, l.disabled, n, x, r.shouldUseNativeValidation))[f], k([f]), _(we), S && (P ? ee = !1 : (y.isValid || m.isValid) && (ee = await U(s, !0)));
1115
- S && (p._f.deps && (!Array.isArray(p._f.deps) || p._f.deps.length > 0) && fe(p._f.deps), O(f, ee, P, Me));
1109
+ V([u], !0), D = (await Lt(p, l.disabled, n, k, r.shouldUseNativeValidation))[u], V([u]), _(Ce), S && (D ? ee = !1 : (y.isValid || h.isValid) && (ee = await U(s, !0)));
1110
+ S && (p._f.deps && (!Array.isArray(p._f.deps) || p._f.deps.length > 0) && fe(p._f.deps), O(u, ee, D, Me));
1116
1111
  }
1117
1112
  }, _e = (a, c) => {
1118
1113
  if (v(t.errors, c) && a.focus)
1119
1114
  return a.focus(), 1;
1120
1115
  }, fe = async (a, c = {}) => {
1121
- let f, S;
1116
+ let u, S;
1122
1117
  const p = be(a);
1123
1118
  if (r.resolver) {
1124
1119
  const _ = await te(L(a) ? a : p);
1125
- f = G(_), S = a ? !p.some((V) => v(_, V)) : f;
1120
+ u = G(_), S = a ? !p.some((C) => v(_, C)) : u;
1126
1121
  } else a ? (S = (await Promise.all(p.map(async (_) => {
1127
- const V = v(s, _);
1128
- return await U(V && V._f ? { [_]: V } : V);
1129
- }))).every(Boolean), !(!S && !t.isValid) && g()) : S = f = await U(s);
1130
- return h.state.next({
1131
- ...!X(a) || (y.isValid || m.isValid) && f !== t.isValid ? {} : { name: a },
1132
- ...r.resolver || !a ? { isValid: f } : {},
1122
+ const C = v(s, _);
1123
+ return await U(C && C._f ? { [_]: C } : C);
1124
+ }))).every(Boolean), !(!S && !t.isValid) && g()) : S = u = await U(s);
1125
+ return m.state.next({
1126
+ ...!X(a) || (y.isValid || h.isValid) && u !== t.isValid ? {} : { name: a },
1127
+ ...r.resolver || !a ? { isValid: u } : {},
1133
1128
  errors: t.errors
1134
1129
  }), c.shouldFocus && !S && Se(s, _e, a ? p : l.mount), S;
1135
- }, Ce = (a, c) => {
1136
- let f = {
1130
+ }, we = (a, c) => {
1131
+ let u = {
1137
1132
  ...i.mount ? n : o
1138
1133
  };
1139
- return c && (f = rr(c.dirtyFields ? t.dirtyFields : t.touchedFields, f)), L(a) ? f : X(a) ? v(f, a) : a.map((S) => v(f, S));
1134
+ return c && (u = rr(c.dirtyFields ? t.dirtyFields : t.touchedFields, u)), L(a) ? u : X(a) ? v(u, a) : a.map((S) => v(u, S));
1140
1135
  }, yt = (a, c) => ({
1141
1136
  invalid: !!v((c || t).errors, a),
1142
1137
  isDirty: !!v((c || t).dirtyFields, a),
@@ -1144,23 +1139,23 @@ function cs(e = {}) {
1144
1139
  isValidating: !!v(t.validatingFields, a),
1145
1140
  isTouched: !!v((c || t).touchedFields, a)
1146
1141
  }), _r = (a) => {
1147
- a && be(a).forEach((c) => j(t.errors, c)), h.state.next({
1142
+ a && be(a).forEach((c) => j(t.errors, c)), m.state.next({
1148
1143
  errors: a ? t.errors : {}
1149
1144
  });
1150
- }, mt = (a, c, f) => {
1151
- const S = (v(s, a, { _f: {} })._f || {}).ref, p = v(t.errors, a) || {}, { ref: _, message: V, type: B, ...P } = p;
1152
- D(t.errors, a, {
1153
- ...P,
1145
+ }, mt = (a, c, u) => {
1146
+ const S = (v(s, a, { _f: {} })._f || {}).ref, p = v(t.errors, a) || {}, { ref: _, message: C, type: B, ...D } = p;
1147
+ P(t.errors, a, {
1148
+ ...D,
1154
1149
  ...c,
1155
1150
  ref: S
1156
- }), h.state.next({
1151
+ }), m.state.next({
1157
1152
  name: a,
1158
1153
  errors: t.errors,
1159
1154
  isValid: !1
1160
- }), f && f.shouldFocus && S && S.focus && S.focus();
1161
- }, pr = (a, c) => oe(a) ? h.state.subscribe({
1162
- next: (f) => "values" in f && a(N(void 0, c), f)
1163
- }) : N(a, c, !0), ht = (a) => h.state.subscribe({
1155
+ }), u && u.shouldFocus && S && S.focus && S.focus();
1156
+ }, pr = (a, c) => oe(a) ? m.state.subscribe({
1157
+ next: (u) => "values" in u && a(N(void 0, c), u)
1158
+ }) : N(a, c, !0), ht = (a) => m.state.subscribe({
1164
1159
  next: (c) => {
1165
1160
  os(a.name, c.name, a.exact) && ss(c, a.formState || y, Fr, a.reRenderRoot) && a.callback({
1166
1161
  values: { ...n },
@@ -1169,35 +1164,35 @@ function cs(e = {}) {
1169
1164
  defaultValues: o
1170
1165
  });
1171
1166
  }
1172
- }).unsubscribe, vr = (a) => (i.mount = !0, m = {
1173
- ...m,
1167
+ }).unsubscribe, vr = (a) => (i.mount = !0, h = {
1168
+ ...h,
1174
1169
  ...a.formState
1175
1170
  }, ht({
1176
1171
  ...a,
1177
- formState: m
1172
+ formState: h
1178
1173
  })), Le = (a, c = {}) => {
1179
- for (const f of a ? be(a) : l.mount)
1180
- l.mount.delete(f), l.array.delete(f), c.keepValue || (j(s, f), j(n, f)), !c.keepError && j(t.errors, f), !c.keepDirty && j(t.dirtyFields, f), !c.keepTouched && j(t.touchedFields, f), !c.keepIsValidating && j(t.validatingFields, f), !r.shouldUnregister && !c.keepDefaultValue && j(o, f);
1181
- h.state.next({
1174
+ for (const u of a ? be(a) : l.mount)
1175
+ l.mount.delete(u), l.array.delete(u), c.keepValue || (j(s, u), j(n, u)), !c.keepError && j(t.errors, u), !c.keepDirty && j(t.dirtyFields, u), !c.keepTouched && j(t.touchedFields, u), !c.keepIsValidating && j(t.validatingFields, u), !r.shouldUnregister && !c.keepDefaultValue && j(o, u);
1176
+ m.state.next({
1182
1177
  values: W(n)
1183
- }), h.state.next({
1178
+ }), m.state.next({
1184
1179
  ...t,
1185
1180
  ...c.keepDirty ? { isDirty: J() } : {}
1186
1181
  }), !c.keepIsValid && g();
1187
1182
  }, gt = ({ disabled: a, name: c }) => {
1188
1183
  (Y(a) && i.mount || a || l.disabled.has(c)) && (a ? l.disabled.add(c) : l.disabled.delete(c));
1189
1184
  }, He = (a, c = {}) => {
1190
- let f = v(s, a);
1185
+ let u = v(s, a);
1191
1186
  const S = Y(c.disabled) || Y(r.disabled);
1192
- return D(s, a, {
1193
- ...f || {},
1187
+ return P(s, a, {
1188
+ ...u || {},
1194
1189
  _f: {
1195
- ...f && f._f ? f._f : { ref: { name: a } },
1190
+ ...u && u._f ? u._f : { ref: { name: a } },
1196
1191
  name: a,
1197
1192
  mount: !0,
1198
1193
  ...c
1199
1194
  }
1200
- }), l.mount.add(a), f ? gt({
1195
+ }), l.mount.add(a), u ? gt({
1201
1196
  disabled: Y(c.disabled) ? c.disabled : r.disabled,
1202
1197
  name: a
1203
1198
  }) : $(a, !0, c.value), {
@@ -1215,14 +1210,14 @@ function cs(e = {}) {
1215
1210
  onBlur: ne,
1216
1211
  ref: (p) => {
1217
1212
  if (p) {
1218
- He(a, c), f = v(s, a);
1219
- const _ = L(p.value) && p.querySelectorAll && p.querySelectorAll("input,select,textarea")[0] || p, V = Kr(_), B = f._f.refs || [];
1220
- if (V ? B.find((P) => P === _) : _ === f._f.ref)
1213
+ He(a, c), u = v(s, a);
1214
+ const _ = L(p.value) && p.querySelectorAll && p.querySelectorAll("input,select,textarea")[0] || p, C = Kr(_), B = u._f.refs || [];
1215
+ if (C ? B.find((D) => D === _) : _ === u._f.ref)
1221
1216
  return;
1222
- D(s, a, {
1217
+ P(s, a, {
1223
1218
  _f: {
1224
- ...f._f,
1225
- ...V ? {
1219
+ ...u._f,
1220
+ ...C ? {
1226
1221
  refs: [
1227
1222
  ...B.filter(Ie),
1228
1223
  _,
@@ -1233,42 +1228,42 @@ function cs(e = {}) {
1233
1228
  }
1234
1229
  }), $(a, !1, void 0, _);
1235
1230
  } else
1236
- f = v(s, a, {}), f._f && (f._f.mount = !1), (r.shouldUnregister || c.shouldUnregister) && !(Xt(l.array, a) && i.action) && l.unMount.add(a);
1231
+ u = v(s, a, {}), u._f && (u._f.mount = !1), (r.shouldUnregister || c.shouldUnregister) && !(Xt(l.array, a) && i.action) && l.unMount.add(a);
1237
1232
  }
1238
1233
  };
1239
1234
  }, Oe = () => r.shouldFocusError && Se(s, _e, l.mount), br = (a) => {
1240
- Y(a) && (h.state.next({ disabled: a }), Se(s, (c, f) => {
1241
- const S = v(s, f);
1235
+ Y(a) && (m.state.next({ disabled: a }), Se(s, (c, u) => {
1236
+ const S = v(s, u);
1242
1237
  S && (c.disabled = S._f.disabled || a, Array.isArray(S._f.refs) && S._f.refs.forEach((p) => {
1243
1238
  p.disabled = S._f.disabled || a;
1244
1239
  }));
1245
1240
  }, 0, !1));
1246
- }, _t = (a, c) => async (f) => {
1241
+ }, _t = (a, c) => async (u) => {
1247
1242
  let S;
1248
- f && (f.preventDefault && f.preventDefault(), f.persist && f.persist());
1243
+ u && (u.preventDefault && u.preventDefault(), u.persist && u.persist());
1249
1244
  let p = W(n);
1250
- if (h.state.next({
1245
+ if (m.state.next({
1251
1246
  isSubmitting: !0
1252
1247
  }), r.resolver) {
1253
- const { errors: _, values: V } = await M();
1254
- t.errors = _, p = W(V);
1248
+ const { errors: _, values: C } = await M();
1249
+ t.errors = _, p = W(C);
1255
1250
  } else
1256
1251
  await U(s);
1257
1252
  if (l.disabled.size)
1258
1253
  for (const _ of l.disabled)
1259
1254
  j(p, _);
1260
1255
  if (j(t.errors, "root"), G(t.errors)) {
1261
- h.state.next({
1256
+ m.state.next({
1262
1257
  errors: {}
1263
1258
  });
1264
1259
  try {
1265
- await a(p, f);
1260
+ await a(p, u);
1266
1261
  } catch (_) {
1267
1262
  S = _;
1268
1263
  }
1269
1264
  } else
1270
- c && await c({ ...t.errors }, f), Oe(), setTimeout(Oe);
1271
- if (h.state.next({
1265
+ c && await c({ ...t.errors }, u), Oe(), setTimeout(Oe);
1266
+ if (m.state.next({
1272
1267
  isSubmitted: !0,
1273
1268
  isSubmitting: !1,
1274
1269
  isSubmitSuccessful: G(t.errors) && !S,
@@ -1277,25 +1272,25 @@ function cs(e = {}) {
1277
1272
  }), S)
1278
1273
  throw S;
1279
1274
  }, Sr = (a, c = {}) => {
1280
- v(s, a) && (L(c.defaultValue) ? Q(a, W(v(o, a))) : (Q(a, c.defaultValue), D(o, a, W(c.defaultValue))), c.keepTouched || j(t.touchedFields, a), c.keepDirty || (j(t.dirtyFields, a), t.isDirty = c.defaultValue ? J(a, W(v(o, a))) : J()), c.keepError || (j(t.errors, a), y.isValid && g()), h.state.next({ ...t }));
1275
+ v(s, a) && (L(c.defaultValue) ? Q(a, W(v(o, a))) : (Q(a, c.defaultValue), P(o, a, W(c.defaultValue))), c.keepTouched || j(t.touchedFields, a), c.keepDirty || (j(t.dirtyFields, a), t.isDirty = c.defaultValue ? J(a, W(v(o, a))) : J()), c.keepError || (j(t.errors, a), y.isValid && g()), m.state.next({ ...t }));
1281
1276
  }, pt = (a, c = {}) => {
1282
- const f = a ? W(a) : o, S = W(f), p = G(a), _ = p ? o : S;
1283
- if (c.keepDefaultValues || (o = f), !c.keepValues) {
1277
+ const u = a ? W(a) : o, S = W(u), p = G(a), _ = p ? o : S;
1278
+ if (c.keepDefaultValues || (o = u), !c.keepValues) {
1284
1279
  if (c.keepDirtyValues) {
1285
- const V = /* @__PURE__ */ new Set([
1280
+ const C = /* @__PURE__ */ new Set([
1286
1281
  ...l.mount,
1287
1282
  ...Object.keys(ge(o, n))
1288
1283
  ]);
1289
- for (const B of Array.from(V))
1290
- v(t.dirtyFields, B) ? D(_, B, v(n, B)) : Q(B, v(_, B));
1284
+ for (const B of Array.from(C))
1285
+ v(t.dirtyFields, B) ? P(_, B, v(n, B)) : Q(B, v(_, B));
1291
1286
  } else {
1292
1287
  if (nt && L(a))
1293
- for (const V of l.mount) {
1294
- const B = v(s, V);
1288
+ for (const C of l.mount) {
1289
+ const B = v(s, C);
1295
1290
  if (B && B._f) {
1296
- const P = Array.isArray(B._f.refs) ? B._f.refs[0] : B._f.ref;
1297
- if (Re(P)) {
1298
- const ee = P.closest("form");
1291
+ const D = Array.isArray(B._f.refs) ? B._f.refs[0] : B._f.ref;
1292
+ if (Re(D)) {
1293
+ const ee = D.closest("form");
1299
1294
  if (ee) {
1300
1295
  ee.reset();
1301
1296
  break;
@@ -1304,14 +1299,14 @@ function cs(e = {}) {
1304
1299
  }
1305
1300
  }
1306
1301
  if (c.keepFieldsRef)
1307
- for (const V of l.mount)
1308
- Q(V, v(_, V));
1302
+ for (const C of l.mount)
1303
+ Q(C, v(_, C));
1309
1304
  else
1310
1305
  s = {};
1311
1306
  }
1312
- n = r.shouldUnregister ? c.keepDefaultValues ? W(o) : {} : W(_), h.array.next({
1307
+ n = r.shouldUnregister ? c.keepDefaultValues ? W(o) : {} : W(_), m.array.next({
1313
1308
  values: { ..._ }
1314
- }), h.state.next({
1309
+ }), m.state.next({
1315
1310
  values: { ..._ }
1316
1311
  });
1317
1312
  }
@@ -1323,7 +1318,7 @@ function cs(e = {}) {
1323
1318
  watch: /* @__PURE__ */ new Set(),
1324
1319
  watchAll: !1,
1325
1320
  focus: ""
1326
- }, i.mount = !y.isValid || !!c.keepIsValid || !!c.keepDirtyValues || !r.shouldUnregister && !G(_), i.watch = !!r.shouldUnregister, h.state.next({
1321
+ }, i.mount = !y.isValid || !!c.keepIsValid || !!c.keepDirtyValues || !r.shouldUnregister && !G(_), i.watch = !!r.shouldUnregister, m.state.next({
1327
1322
  submitCount: c.keepSubmitCount ? t.submitCount : 0,
1328
1323
  isDirty: p ? !1 : c.keepDirty ? t.isDirty : !!(c.keepDefaultValues && !se(a, o)),
1329
1324
  isSubmitted: c.keepIsSubmitted ? t.isSubmitted : !1,
@@ -1335,7 +1330,7 @@ function cs(e = {}) {
1335
1330
  defaultValues: o
1336
1331
  });
1337
1332
  }, vt = (a, c) => pt(oe(a) ? a(n) : a, c), xr = (a, c = {}) => {
1338
- const f = v(s, a), S = f && f._f;
1333
+ const u = v(s, a), S = u && u._f;
1339
1334
  if (S) {
1340
1335
  const p = S.refs ? S.refs[0] : S.ref;
1341
1336
  p.focus && (p.focus(), c.shouldSelect && oe(p.select) && p.select());
@@ -1364,13 +1359,13 @@ function cs(e = {}) {
1364
1359
  _getFieldArray: R,
1365
1360
  _reset: pt,
1366
1361
  _resetDefaultValues: () => oe(r.defaultValues) && r.defaultValues().then((a) => {
1367
- vt(a, r.resetOptions), h.state.next({
1362
+ vt(a, r.resetOptions), m.state.next({
1368
1363
  isLoading: !1
1369
1364
  });
1370
1365
  }),
1371
1366
  _removeUnmounted: ae,
1372
1367
  _disableForm: br,
1373
- _subjects: h,
1368
+ _subjects: m,
1374
1369
  _proxyFormState: y,
1375
1370
  get _fields() {
1376
1371
  return s;
@@ -1412,7 +1407,7 @@ function cs(e = {}) {
1412
1407
  handleSubmit: _t,
1413
1408
  watch: pr,
1414
1409
  setValue: Q,
1415
- getValues: Ce,
1410
+ getValues: we,
1416
1411
  reset: vt,
1417
1412
  resetField: Sr,
1418
1413
  clearErrors: _r,
@@ -1509,8 +1504,8 @@ const Ht = (e, r, t) => {
1509
1504
  const o = v(r.fields, s), n = Object.assign(e[s] || {}, { ref: o && o.ref });
1510
1505
  if (ds(r.names || Object.keys(e), s)) {
1511
1506
  const i = Object.assign({}, v(t, s));
1512
- D(i, "root", n), D(t, s, i);
1513
- } else D(t, s, n);
1507
+ P(i, "root", n), P(t, s, i);
1508
+ } else P(t, s, n);
1514
1509
  }
1515
1510
  return t;
1516
1511
  }, ds = (e, r) => {
@@ -1522,11 +1517,11 @@ function Tt(e) {
1522
1517
  }
1523
1518
  function lr(e, r, t) {
1524
1519
  function s(l, d) {
1525
- var u;
1520
+ var f;
1526
1521
  Object.defineProperty(l, "_zod", {
1527
1522
  value: l._zod ?? {},
1528
1523
  enumerable: !1
1529
- }), (u = l._zod).traits ?? (u.traits = /* @__PURE__ */ new Set()), l._zod.traits.add(e), r(l, d);
1524
+ }), (f = l._zod).traits ?? (f.traits = /* @__PURE__ */ new Set()), l._zod.traits.add(e), r(l, d);
1530
1525
  for (const y in i.prototype)
1531
1526
  y in l || Object.defineProperty(l, y, { value: i.prototype[y].bind(l) });
1532
1527
  l._zod.constr = i, l._zod.def = d;
@@ -1537,16 +1532,16 @@ function lr(e, r, t) {
1537
1532
  Object.defineProperty(n, "name", { value: e });
1538
1533
  function i(l) {
1539
1534
  var d;
1540
- const u = t != null && t.Parent ? new n() : this;
1541
- s(u, l), (d = u._zod).deferred ?? (d.deferred = []);
1542
- for (const y of u._zod.deferred)
1535
+ const f = t != null && t.Parent ? new n() : this;
1536
+ s(f, l), (d = f._zod).deferred ?? (d.deferred = []);
1537
+ for (const y of f._zod.deferred)
1543
1538
  y();
1544
- return u;
1539
+ return f;
1545
1540
  }
1546
1541
  return Object.defineProperty(i, "init", { value: s }), Object.defineProperty(i, Symbol.hasInstance, {
1547
1542
  value: (l) => {
1548
- var d, u;
1549
- return t != null && t.Parent && l instanceof t.Parent ? !0 : (u = (d = l == null ? void 0 : l._zod) == null ? void 0 : d.traits) == null ? void 0 : u.has(e);
1543
+ var d, f;
1544
+ return t != null && t.Parent && l instanceof t.Parent ? !0 : (f = (d = l == null ? void 0 : l._zod) == null ? void 0 : d.traits) == null ? void 0 : f.has(e);
1550
1545
  }
1551
1546
  }), Object.defineProperty(i, "name", { value: e }), i;
1552
1547
  }
@@ -1568,10 +1563,10 @@ function $e(e) {
1568
1563
  return typeof e == "string" ? e : e == null ? void 0 : e.message;
1569
1564
  }
1570
1565
  function dr(e, r, t) {
1571
- var o, n, i, l, d, u;
1566
+ var o, n, i, l, d, f;
1572
1567
  const s = { ...e, path: e.path ?? [] };
1573
1568
  if (!e.message) {
1574
- const y = $e((i = (n = (o = e.inst) == null ? void 0 : o._zod.def) == null ? void 0 : n.error) == null ? void 0 : i.call(n, e)) ?? $e((l = r == null ? void 0 : r.error) == null ? void 0 : l.call(r, e)) ?? $e((d = t.customError) == null ? void 0 : d.call(t, e)) ?? $e((u = t.localeError) == null ? void 0 : u.call(t, e)) ?? "Invalid input";
1569
+ const y = $e((i = (n = (o = e.inst) == null ? void 0 : o._zod.def) == null ? void 0 : n.error) == null ? void 0 : i.call(n, e)) ?? $e((l = r == null ? void 0 : r.error) == null ? void 0 : l.call(r, e)) ?? $e((d = t.customError) == null ? void 0 : d.call(t, e)) ?? $e((f = t.localeError) == null ? void 0 : f.call(t, e)) ?? "Invalid input";
1575
1570
  s.message = y;
1576
1571
  }
1577
1572
  return delete s.inst, delete s.continue, r != null && r.reportInput || delete s.input, s;
@@ -1621,12 +1616,12 @@ function bs(e, r) {
1621
1616
  t[i] = { message: l.message, type: l.code };
1622
1617
  } else t[i] = { message: n, type: o };
1623
1618
  if ("unionErrors" in s && s.unionErrors.forEach(function(y) {
1624
- return y.errors.forEach(function(m) {
1625
- return e.push(m);
1619
+ return y.errors.forEach(function(h) {
1620
+ return e.push(h);
1626
1621
  });
1627
1622
  }), r) {
1628
- var d = t[i].types, u = d && d[s.code];
1629
- t[i] = ut(i, r, t, o, u ? [].concat(u, s.message) : s.message);
1623
+ var d = t[i].types, f = d && d[s.code];
1624
+ t[i] = ut(i, r, t, o, f ? [].concat(f, s.message) : s.message);
1630
1625
  }
1631
1626
  e.shift();
1632
1627
  }
@@ -1640,12 +1635,12 @@ function Ss(e, r) {
1640
1635
  t[i] = { message: l.message, type: l.code };
1641
1636
  } else t[i] = { message: n, type: o };
1642
1637
  if (s.code === "invalid_union" && s.errors.forEach(function(y) {
1643
- return y.forEach(function(m) {
1644
- return e.push(m);
1638
+ return y.forEach(function(h) {
1639
+ return e.push(h);
1645
1640
  });
1646
1641
  }), r) {
1647
- var d = t[i].types, u = d && d[s.code];
1648
- t[i] = ut(i, r, t, o, u ? [].concat(u, s.message) : s.message);
1642
+ var d = t[i].types, f = d && d[s.code];
1643
+ t[i] = ut(i, r, t, o, f ? [].concat(f, s.message) : s.message);
1649
1644
  }
1650
1645
  e.shift();
1651
1646
  }
@@ -1697,7 +1692,7 @@ function Fs() {
1697
1692
  throw new Error("useFormContext must be used within a Form component");
1698
1693
  return e;
1699
1694
  }
1700
- function Cs({
1695
+ function ws({
1701
1696
  onSubmit: e,
1702
1697
  children: r,
1703
1698
  schema: t,
@@ -1708,16 +1703,16 @@ function Cs({
1708
1703
  style: l,
1709
1704
  formProps: d
1710
1705
  }) {
1711
- const u = us({
1706
+ const f = us({
1712
1707
  resolver: t ? xs(t) : void 0,
1713
1708
  defaultValues: s,
1714
1709
  mode: o,
1715
1710
  reValidateMode: n
1716
- }), y = u.handleSubmit(e);
1717
- return /* @__PURE__ */ C(mr.Provider, { value: u, children: /* @__PURE__ */ C("form", { ...d, className: i, style: l, onSubmit: y, children: typeof r == "function" ? r(u) : r }) });
1711
+ }), y = f.handleSubmit(e);
1712
+ return /* @__PURE__ */ F(mr.Provider, { value: f, children: /* @__PURE__ */ F("form", { ...d, className: i, style: l, onSubmit: y, children: typeof r == "function" ? r(f) : r }) });
1718
1713
  }
1719
- const qo = Cs, ws = "FormError-module__formError___kaUBn", Vs = {
1720
- formError: ws
1714
+ const qo = ws, Cs = "FormError-module__formError___kaUBn", Vs = {
1715
+ formError: Cs
1721
1716
  }, ks = ({
1722
1717
  // Color prop
1723
1718
  color: e,
@@ -1735,7 +1730,7 @@ const qo = Cs, ws = "FormError-module__formError___kaUBn", Vs = {
1735
1730
  ...s
1736
1731
  // Top level style prop overrides
1737
1732
  }, l = [Vs.formError, t].filter(Boolean).join(" ");
1738
- return /* @__PURE__ */ C("div", { ...o, className: l, style: i, role: "alert", "aria-live": "polite", children: r });
1733
+ return /* @__PURE__ */ F("div", { ...o, className: l, style: i, role: "alert", "aria-live": "polite", children: r });
1739
1734
  }, zs = "FormGroup-module__formGroup___aVI-B", $s = "FormGroup-module__inputWrapper___429QE", As = "FormGroup-module__indented___t61iz", Es = "FormGroup-module__disabled___W-tJ0", Ns = "FormGroup-module__required___mO3xA", me = {
1740
1735
  formGroup: zs,
1741
1736
  inputWrapper: $s,
@@ -1757,28 +1752,28 @@ const qo = Cs, ws = "FormError-module__formError___kaUBn", Vs = {
1757
1752
  // Content
1758
1753
  children: d,
1759
1754
  // Style overrides
1760
- className: u,
1755
+ className: f,
1761
1756
  style: y,
1762
1757
  // Element-specific props
1763
- divProps: m
1758
+ divProps: h
1764
1759
  }) => {
1765
- const h = H(), x = [
1760
+ const m = H(), k = [
1766
1761
  me.formGroup,
1767
1762
  r ? me.error : "",
1768
1763
  e ? me.disabled : "",
1769
- u
1770
- ].filter(Boolean).join(" "), F = {
1771
- "--form-group-margin-bottom": `calc(${h.fonts.rhythm} * 0.35)`,
1764
+ f
1765
+ ].filter(Boolean).join(" "), x = {
1766
+ "--form-group-margin-bottom": `calc(${m.fonts.rhythm} * 0.35)`,
1772
1767
  ...y
1773
- }, g = z.Children.map(d, (k) => {
1774
- if (z.isValidElement(k)) {
1768
+ }, g = z.Children.map(d, (V) => {
1769
+ if (z.isValidElement(V)) {
1775
1770
  const w = {};
1776
- if (e && k.props.disabled === void 0 && (w.disabled = !0), r && k.props.error === void 0 && (w.error = !0), o && k.props.id === void 0 && (w.id = o), Object.keys(w).length > 0)
1777
- return z.cloneElement(k, w);
1771
+ if (e && V.props.disabled === void 0 && (w.disabled = !0), r && V.props.error === void 0 && (w.error = !0), o && V.props.id === void 0 && (w.id = o), Object.keys(w).length > 0)
1772
+ return z.cloneElement(V, w);
1778
1773
  }
1779
- return k;
1774
+ return V;
1780
1775
  });
1781
- return /* @__PURE__ */ Z("div", { ...m, className: x, style: F, children: [
1776
+ return /* @__PURE__ */ Z("div", { ...h, className: k, style: x, children: [
1782
1777
  n && /* @__PURE__ */ Z(ot, { htmlFor: o, disabled: e, error: r, ...l, children: [
1783
1778
  n,
1784
1779
  t && /* @__PURE__ */ Z("span", { className: me.required, "aria-label": "required", children: [
@@ -1786,8 +1781,8 @@ const qo = Cs, ws = "FormError-module__formError___kaUBn", Vs = {
1786
1781
  "*"
1787
1782
  ] })
1788
1783
  ] }),
1789
- /* @__PURE__ */ C("div", { className: `${me.inputWrapper} ${s ? me.indented : ""}`, children: g }),
1790
- r && i && /* @__PURE__ */ C(ks, { children: i })
1784
+ /* @__PURE__ */ F("div", { className: `${me.inputWrapper} ${s ? me.indented : ""}`, children: g }),
1785
+ r && i && /* @__PURE__ */ F(ks, { children: i })
1791
1786
  ] });
1792
1787
  };
1793
1788
  function de({
@@ -1800,44 +1795,44 @@ function de({
1800
1795
  className: i,
1801
1796
  style: l,
1802
1797
  indent: d,
1803
- labelProps: u
1798
+ labelProps: f
1804
1799
  }) {
1805
1800
  const { control: y } = Fs(), {
1806
- field: m,
1807
- fieldState: { error: h }
1801
+ field: h,
1802
+ fieldState: { error: m }
1808
1803
  } = Qr({
1809
1804
  name: e,
1810
1805
  control: y,
1811
1806
  rules: o
1812
1807
  });
1813
- return /* @__PURE__ */ C(
1808
+ return /* @__PURE__ */ F(
1814
1809
  Rs,
1815
1810
  {
1816
1811
  label: r,
1817
1812
  name: e,
1818
- error: !!h,
1819
- errorMessage: h == null ? void 0 : h.message,
1813
+ error: !!m,
1814
+ errorMessage: m == null ? void 0 : m.message,
1820
1815
  disabled: n,
1821
1816
  required: t,
1822
1817
  className: i,
1823
1818
  style: l,
1824
1819
  indent: d,
1825
- labelProps: u,
1820
+ labelProps: f,
1826
1821
  children: s({
1827
- value: m.value,
1828
- onChange: m.onChange,
1829
- onBlur: m.onBlur,
1830
- name: m.name,
1831
- error: !!h,
1822
+ value: h.value,
1823
+ onChange: h.onChange,
1824
+ onBlur: h.onBlur,
1825
+ name: h.name,
1826
+ error: !!m,
1832
1827
  indent: d
1833
1828
  })
1834
1829
  }
1835
1830
  );
1836
1831
  }
1837
- const Bs = "Input-module__input___WjT81", Ds = "Input-module__sizeSmall___NFvsi", Ps = "Input-module__sizeLarge___4Boj3", Ue = {
1832
+ const Bs = "Input-module__input___WjT81", Ps = "Input-module__sizeSmall___NFvsi", Ds = "Input-module__sizeLarge___4Boj3", Ue = {
1838
1833
  input: Bs,
1839
- sizeSmall: Ds,
1840
- sizeLarge: Ps
1834
+ sizeSmall: Ps,
1835
+ sizeLarge: Ds
1841
1836
  }, Ls = ({
1842
1837
  color: e = "#000",
1843
1838
  disabled: r = !1,
@@ -1863,17 +1858,17 @@ const Bs = "Input-module__input___WjT81", Ds = "Input-module__sizeSmall___NFvsi"
1863
1858
  placeholder: i,
1864
1859
  placeholderOpacity: l = 0.3,
1865
1860
  type: d = "text",
1866
- value: u = "",
1861
+ value: f = "",
1867
1862
  // Event handlers
1868
1863
  onChange: y,
1869
- onBlur: m,
1864
+ onBlur: h,
1870
1865
  // Standard React props
1871
- className: h,
1872
- style: x,
1866
+ className: m,
1867
+ style: k,
1873
1868
  // Element-specific props
1874
- inputProps: F
1869
+ inputProps: x
1875
1870
  }) => {
1876
- const g = H(), k = g.colors.error, w = r ? k : t || g.colors.primary, b = Ls({
1871
+ const g = H(), V = g.colors.error, w = r ? V : t || g.colors.primary, b = Ls({
1877
1872
  color: w,
1878
1873
  disabled: e,
1879
1874
  fontSize: g.fonts.size,
@@ -1888,26 +1883,26 @@ const Bs = "Input-module__input___WjT81", Ds = "Input-module__sizeSmall___NFvsi"
1888
1883
  color: b.color,
1889
1884
  fontSize: b.fontSize,
1890
1885
  opacity: b.opacity,
1891
- ...x
1886
+ ...k
1892
1887
  // Top level style prop overrides
1893
1888
  }, $ = [
1894
1889
  Ue.input,
1895
1890
  s === "small" ? Ue.sizeSmall : Ue.sizeLarge,
1896
- h
1891
+ m
1897
1892
  ].filter(Boolean).join(" ");
1898
- return /* @__PURE__ */ C(
1893
+ return /* @__PURE__ */ F(
1899
1894
  "input",
1900
1895
  {
1901
- ...F,
1896
+ ...x,
1902
1897
  className: $,
1903
1898
  disabled: e,
1904
1899
  id: o,
1905
1900
  name: n,
1906
1901
  onChange: y,
1907
- onBlur: m,
1902
+ onBlur: h,
1908
1903
  placeholder: i,
1909
1904
  type: d,
1910
- value: u,
1905
+ value: f,
1911
1906
  style: A
1912
1907
  }
1913
1908
  );
@@ -1922,7 +1917,7 @@ function Go({
1922
1917
  style: i,
1923
1918
  ...l
1924
1919
  }) {
1925
- return /* @__PURE__ */ C(
1920
+ return /* @__PURE__ */ F(
1926
1921
  de,
1927
1922
  {
1928
1923
  name: e,
@@ -1932,15 +1927,15 @@ function Go({
1932
1927
  disabled: o,
1933
1928
  className: n,
1934
1929
  style: i,
1935
- children: ({ value: d, onChange: u, onBlur: y, name: m, error: h }) => /* @__PURE__ */ C(
1930
+ children: ({ value: d, onChange: f, onBlur: y, name: h, error: m }) => /* @__PURE__ */ F(
1936
1931
  Hs,
1937
1932
  {
1938
1933
  ...l,
1939
- name: m,
1934
+ name: h,
1940
1935
  value: d || "",
1941
- onChange: (x) => u(x.target.value),
1936
+ onChange: (k) => f(k.target.value),
1942
1937
  inputProps: { onBlur: y },
1943
- error: h
1938
+ error: m
1944
1939
  }
1945
1940
  )
1946
1941
  }
@@ -1973,17 +1968,17 @@ const Os = "Textarea-module__textarea___Z-y6g", Ts = "Textarea-module__sizeSmall
1973
1968
  placeholder: i,
1974
1969
  placeholderOpacity: l = 0.3,
1975
1970
  rows: d = 3,
1976
- value: u = "",
1971
+ value: f = "",
1977
1972
  // Event handlers
1978
1973
  onChange: y,
1979
- onBlur: m,
1974
+ onBlur: h,
1980
1975
  // Standard React props
1981
- className: h,
1982
- style: x,
1976
+ className: m,
1977
+ style: k,
1983
1978
  // Element-specific props
1984
- textareaProps: F
1979
+ textareaProps: x
1985
1980
  }) => {
1986
- const g = H(), k = g.colors.error, w = r ? k : t || g.colors.primary, b = js({
1981
+ const g = H(), V = g.colors.error, w = r ? V : t || g.colors.primary, b = js({
1987
1982
  color: w,
1988
1983
  disabled: e,
1989
1984
  placeholderOpacity: l
@@ -1997,26 +1992,26 @@ const Os = "Textarea-module__textarea___Z-y6g", Ts = "Textarea-module__sizeSmall
1997
1992
  color: b.color,
1998
1993
  fontSize: g.fonts.size,
1999
1994
  opacity: b.opacity,
2000
- ...x
1995
+ ...k
2001
1996
  // Top level style overrides
2002
1997
  }, $ = [
2003
1998
  We.textarea,
2004
1999
  s === "small" ? We.sizeSmall : We.sizeLarge,
2005
- h
2000
+ m
2006
2001
  ].filter(Boolean).join(" ");
2007
- return /* @__PURE__ */ C(
2002
+ return /* @__PURE__ */ F(
2008
2003
  "textarea",
2009
2004
  {
2010
- ...F,
2005
+ ...x,
2011
2006
  className: $,
2012
2007
  disabled: e,
2013
2008
  id: o,
2014
2009
  name: n,
2015
2010
  onChange: y,
2016
- onBlur: m,
2011
+ onBlur: h,
2017
2012
  placeholder: i,
2018
2013
  rows: d,
2019
- value: u,
2014
+ value: f,
2020
2015
  style: A
2021
2016
  }
2022
2017
  );
@@ -2031,7 +2026,7 @@ function Zo({
2031
2026
  style: i,
2032
2027
  ...l
2033
2028
  }) {
2034
- return /* @__PURE__ */ C(
2029
+ return /* @__PURE__ */ F(
2035
2030
  de,
2036
2031
  {
2037
2032
  name: e,
@@ -2041,15 +2036,15 @@ function Zo({
2041
2036
  disabled: o,
2042
2037
  className: n,
2043
2038
  style: i,
2044
- children: ({ value: d, onChange: u, onBlur: y, name: m, error: h }) => /* @__PURE__ */ C(
2039
+ children: ({ value: d, onChange: f, onBlur: y, name: h, error: m }) => /* @__PURE__ */ F(
2045
2040
  Is,
2046
2041
  {
2047
2042
  ...l,
2048
- name: m,
2043
+ name: h,
2049
2044
  value: d || "",
2050
- onChange: (x) => u(x.target.value),
2045
+ onChange: (k) => f(k.target.value),
2051
2046
  onBlur: y,
2052
- error: h
2047
+ error: m
2053
2048
  }
2054
2049
  )
2055
2050
  }
@@ -2101,53 +2096,53 @@ const Us = "Select-module__select___cjdcr", Ws = "Select-module__sizeSmall___i1q
2101
2096
  value: l = "",
2102
2097
  // Event handlers
2103
2098
  onChange: d,
2104
- onBlur: u,
2099
+ onBlur: f,
2105
2100
  // Standard React props
2106
2101
  children: y,
2107
- className: m,
2108
- style: h,
2102
+ className: h,
2103
+ style: m,
2109
2104
  // Element-specific props
2110
- selectProps: x
2105
+ selectProps: k
2111
2106
  }) => {
2112
- const F = H(), g = F.colors.error, k = r ? g : t || F.colors.primary, w = Gs({
2113
- color: k,
2107
+ const x = H(), g = x.colors.error, V = r ? g : t || x.colors.primary, w = Gs({
2108
+ color: V,
2114
2109
  disabled: e
2115
2110
  }), b = {
2116
- "--select-padding-small": `calc(${F.fonts.rhythm} * ${F.sizes.small.paddingVertical}) calc(${F.fonts.rhythm} * 1.2) calc(${F.fonts.rhythm} * ${F.sizes.small.paddingVertical}) calc(${F.fonts.rhythm} * ${F.inputs.paddingHorizontal})`,
2117
- "--select-padding-large": `calc(${F.fonts.rhythm} * ${F.sizes.large.paddingVertical}) calc(${F.fonts.rhythm} * 1.4) calc(${F.fonts.rhythm} * ${F.sizes.large.paddingVertical}) calc(${F.fonts.rhythm} * ${F.inputs.paddingHorizontal})`,
2111
+ "--select-padding-small": `calc(${x.fonts.rhythm} * ${x.sizes.small.paddingVertical}) calc(${x.fonts.rhythm} * 1.2) calc(${x.fonts.rhythm} * ${x.sizes.small.paddingVertical}) calc(${x.fonts.rhythm} * ${x.inputs.paddingHorizontal})`,
2112
+ "--select-padding-large": `calc(${x.fonts.rhythm} * ${x.sizes.large.paddingVertical}) calc(${x.fonts.rhythm} * 1.4) calc(${x.fonts.rhythm} * ${x.sizes.large.paddingVertical}) calc(${x.fonts.rhythm} * ${x.inputs.paddingHorizontal})`,
2118
2113
  backgroundImage: w.backgroundImage,
2119
2114
  backgroundPosition: "right center",
2120
2115
  backgroundRepeat: "no-repeat",
2121
2116
  backgroundSize: "auto 85%",
2122
2117
  backgroundColor: "transparent",
2123
2118
  borderColor: w.borderColor,
2124
- borderWidth: F.border.width,
2125
- borderRadius: F.border.radius,
2119
+ borderWidth: x.border.width,
2120
+ borderRadius: x.border.radius,
2126
2121
  color: w.color,
2127
2122
  cursor: w.cursor,
2128
- fontSize: F.fonts.size,
2123
+ fontSize: x.fonts.size,
2129
2124
  opacity: w.opacity,
2130
- ...h
2125
+ ...m
2131
2126
  // Top level style overrides
2132
2127
  }, A = [
2133
2128
  qe.select,
2134
2129
  s === "small" ? qe.sizeSmall : qe.sizeLarge,
2135
- m
2130
+ h
2136
2131
  ].filter(Boolean).join(" ");
2137
2132
  return /* @__PURE__ */ Z(
2138
2133
  "select",
2139
2134
  {
2140
- ...x,
2135
+ ...k,
2141
2136
  className: A,
2142
2137
  disabled: e,
2143
2138
  id: o,
2144
2139
  name: n,
2145
2140
  onChange: d,
2146
- onBlur: u,
2141
+ onBlur: f,
2147
2142
  value: l,
2148
2143
  style: b,
2149
2144
  children: [
2150
- i !== "" && /* @__PURE__ */ C("option", { disabled: !0, value: "", children: i }),
2145
+ i !== "" && /* @__PURE__ */ F("option", { disabled: !0, value: "", children: i }),
2151
2146
  y
2152
2147
  ]
2153
2148
  }
@@ -2164,7 +2159,7 @@ function Qo({
2164
2159
  children: l,
2165
2160
  ...d
2166
2161
  }) {
2167
- return /* @__PURE__ */ C(
2162
+ return /* @__PURE__ */ F(
2168
2163
  de,
2169
2164
  {
2170
2165
  name: e,
@@ -2174,15 +2169,15 @@ function Qo({
2174
2169
  disabled: o,
2175
2170
  className: n,
2176
2171
  style: i,
2177
- children: ({ value: u, onChange: y, onBlur: m, name: h, error: x }) => /* @__PURE__ */ C(
2172
+ children: ({ value: f, onChange: y, onBlur: h, name: m, error: k }) => /* @__PURE__ */ F(
2178
2173
  Zs,
2179
2174
  {
2180
2175
  ...d,
2181
- name: h,
2182
- value: u || "",
2183
- onChange: (F) => y(F.target.value),
2184
- onBlur: m,
2185
- error: x,
2176
+ name: m,
2177
+ value: f || "",
2178
+ onChange: (x) => y(x.target.value),
2179
+ onBlur: h,
2180
+ error: k,
2186
2181
  children: l
2187
2182
  }
2188
2183
  )
@@ -2198,7 +2193,7 @@ function Ko({
2198
2193
  style: n,
2199
2194
  ...i
2200
2195
  }) {
2201
- return /* @__PURE__ */ C(
2196
+ return /* @__PURE__ */ F(
2202
2197
  de,
2203
2198
  {
2204
2199
  name: e,
@@ -2207,13 +2202,13 @@ function Ko({
2207
2202
  disabled: s,
2208
2203
  className: o,
2209
2204
  style: n,
2210
- children: ({ value: l, onChange: d, name: u, error: y }) => /* @__PURE__ */ C(
2205
+ children: ({ value: l, onChange: d, name: f, error: y }) => /* @__PURE__ */ F(
2211
2206
  Ye,
2212
2207
  {
2213
2208
  ...i,
2214
- name: u,
2209
+ name: f,
2215
2210
  checked: !!l,
2216
- onChange: (m) => d(m.target.checked),
2211
+ onChange: (h) => d(h.target.checked),
2217
2212
  error: y
2218
2213
  }
2219
2214
  )
@@ -2245,20 +2240,20 @@ const Qs = "Radio-module__container___AQxhk", Ks = "Radio-module__svg___zl5kF",
2245
2240
  label: l,
2246
2241
  labelStyle: d,
2247
2242
  // Style overrides
2248
- className: u,
2243
+ className: f,
2249
2244
  style: y,
2250
2245
  // Element-specific props
2251
- divProps: m
2246
+ divProps: h
2252
2247
  }) => {
2253
- const h = H(), x = n || Kt(), F = h.colors.error, g = s ? F : e || h.colors.primary, k = Ys({
2248
+ const m = H(), k = n || Kt(), x = m.colors.error, g = s ? x : e || m.colors.primary, V = Ys({
2254
2249
  color: g,
2255
2250
  disabled: t
2256
2251
  }), w = (M) => {
2257
2252
  t || i(M);
2258
2253
  }, b = {
2259
- cursor: k.cursor,
2260
- fontSize: h.fonts.size,
2261
- opacity: k.opacity,
2254
+ cursor: V.cursor,
2255
+ fontSize: m.fonts.size,
2256
+ opacity: V.opacity,
2262
2257
  ...y
2263
2258
  // Top level style overrides
2264
2259
  }, A = {
@@ -2266,15 +2261,15 @@ const Qs = "Radio-module__container___AQxhk", Ks = "Radio-module__svg___zl5kF",
2266
2261
  }, $ = {
2267
2262
  fill: "transparent",
2268
2263
  strokeWidth: "12.5",
2269
- stroke: k.radioColor
2264
+ stroke: V.radioColor
2270
2265
  }, E = {
2271
- fill: k.radioColor
2272
- }, O = [Ge.container, u].filter(Boolean).join(" ");
2273
- return /* @__PURE__ */ Z("div", { ...m, className: O, style: b, children: [
2274
- /* @__PURE__ */ C(
2266
+ fill: V.radioColor
2267
+ }, O = [Ge.container, f].filter(Boolean).join(" ");
2268
+ return /* @__PURE__ */ Z("div", { ...h, className: O, style: b, children: [
2269
+ /* @__PURE__ */ F(
2275
2270
  "input",
2276
2271
  {
2277
- id: x,
2272
+ id: k,
2278
2273
  checked: r,
2279
2274
  disabled: t,
2280
2275
  name: o,
@@ -2292,18 +2287,18 @@ const Qs = "Radio-module__container___AQxhk", Ks = "Radio-module__svg___zl5kF",
2292
2287
  className: Ge.svg,
2293
2288
  style: A,
2294
2289
  children: [
2295
- /* @__PURE__ */ C("circle", { cx: "50", cy: "50", r: "42.5", width: "100%", style: $ }),
2296
- r && /* @__PURE__ */ C("circle", { cx: "50", cy: "50", r: "25", style: E })
2290
+ /* @__PURE__ */ F("circle", { cx: "50", cy: "50", r: "42.5", width: "100%", style: $ }),
2291
+ r && /* @__PURE__ */ F("circle", { cx: "50", cy: "50", r: "25", style: E })
2297
2292
  ]
2298
2293
  }
2299
2294
  ),
2300
- l && /* @__PURE__ */ C(
2295
+ l && /* @__PURE__ */ F(
2301
2296
  ot,
2302
2297
  {
2303
- htmlFor: x,
2298
+ htmlFor: k,
2304
2299
  className: Ge.label,
2305
2300
  style: { paddingBottom: 0, ...d },
2306
- color: k.radioColor,
2301
+ color: V.radioColor,
2307
2302
  disabled: t,
2308
2303
  error: s,
2309
2304
  children: l
@@ -2322,7 +2317,7 @@ function Jo({
2322
2317
  value: l,
2323
2318
  ...d
2324
2319
  }) {
2325
- return /* @__PURE__ */ C(
2320
+ return /* @__PURE__ */ F(
2326
2321
  de,
2327
2322
  {
2328
2323
  name: e,
@@ -2331,14 +2326,14 @@ function Jo({
2331
2326
  disabled: o,
2332
2327
  className: n,
2333
2328
  style: i,
2334
- children: ({ value: u, onChange: y, name: m, error: h }) => /* @__PURE__ */ C(
2329
+ children: ({ value: f, onChange: y, name: h, error: m }) => /* @__PURE__ */ F(
2335
2330
  hr,
2336
2331
  {
2337
2332
  ...d,
2338
- name: m,
2339
- checked: u === l,
2333
+ name: h,
2334
+ checked: f === l,
2340
2335
  onChange: () => y(l),
2341
- error: h,
2336
+ error: m,
2342
2337
  label: r
2343
2338
  }
2344
2339
  )
@@ -2355,7 +2350,7 @@ function Yo({
2355
2350
  style: i,
2356
2351
  indent: l = !0
2357
2352
  }) {
2358
- return /* @__PURE__ */ C(
2353
+ return /* @__PURE__ */ F(
2359
2354
  de,
2360
2355
  {
2361
2356
  name: e,
@@ -2370,17 +2365,17 @@ function Yo({
2370
2365
  marginBottom: ".25em"
2371
2366
  }
2372
2367
  },
2373
- children: ({ value: d, onChange: u, name: y, error: m }) => /* @__PURE__ */ C(xe, { children: s.map((h) => /* @__PURE__ */ C(
2368
+ children: ({ value: d, onChange: f, name: y, error: h }) => /* @__PURE__ */ F(xe, { children: s.map((m) => /* @__PURE__ */ F(
2374
2369
  hr,
2375
2370
  {
2376
2371
  name: y,
2377
- checked: d === h.value,
2378
- onChange: () => u(h.value),
2379
- label: h.label,
2380
- disabled: o || h.disabled,
2381
- error: m
2372
+ checked: d === m.value,
2373
+ onChange: () => f(m.value),
2374
+ label: m.label,
2375
+ disabled: o || m.disabled,
2376
+ error: h
2382
2377
  },
2383
- h.value
2378
+ m.value
2384
2379
  )) })
2385
2380
  }
2386
2381
  );
@@ -2396,7 +2391,7 @@ function Xo({
2396
2391
  style: l,
2397
2392
  indent: d = !0
2398
2393
  }) {
2399
- return /* @__PURE__ */ C(
2394
+ return /* @__PURE__ */ F(
2400
2395
  de,
2401
2396
  {
2402
2397
  name: e,
@@ -2411,29 +2406,29 @@ function Xo({
2411
2406
  marginBottom: ".25em"
2412
2407
  }
2413
2408
  },
2414
- children: ({ value: u, onChange: y, name: m, error: h }) => {
2415
- const x = Array.isArray(u) ? u : [], F = (g, k) => {
2416
- y(k ? [...x, g] : x.filter((w) => w !== g));
2409
+ children: ({ value: f, onChange: y, name: h, error: m }) => {
2410
+ const k = Array.isArray(f) ? f : [], x = (g, V) => {
2411
+ y(V ? [...k, g] : k.filter((w) => w !== g));
2417
2412
  };
2418
- return /* @__PURE__ */ C(xe, { children: s ? s.map((g) => /* @__PURE__ */ C(
2413
+ return /* @__PURE__ */ F(xe, { children: s ? s.map((g) => /* @__PURE__ */ F(
2419
2414
  Ye,
2420
2415
  {
2421
- name: `${m}[]`,
2422
- checked: x.includes(g.value),
2423
- onChange: (k) => F(g.value, k.target.checked),
2416
+ name: `${h}[]`,
2417
+ checked: k.includes(g.value),
2418
+ onChange: (V) => x(g.value, V.target.checked),
2424
2419
  label: g.label,
2425
2420
  disabled: n || g.disabled,
2426
- error: h
2421
+ error: m
2427
2422
  },
2428
2423
  g.value
2429
2424
  )) : z.Children.map(o, (g) => {
2430
2425
  if (z.isValidElement(g) && g.type === Ye) {
2431
- const k = g.props.value || g.props.name;
2426
+ const V = g.props.value || g.props.name;
2432
2427
  return z.cloneElement(g, {
2433
- name: `${m}[]`,
2434
- checked: x.includes(k),
2435
- onChange: (w) => F(k, w.target.checked),
2436
- error: h || g.props.error,
2428
+ name: `${h}[]`,
2429
+ checked: k.includes(V),
2430
+ onChange: (w) => x(V, w.target.checked),
2431
+ error: m || g.props.error,
2437
2432
  disabled: n || g.props.disabled
2438
2433
  });
2439
2434
  }
@@ -2477,7 +2472,7 @@ const Xs = "Hamburger-module__hamburger___Tf4-t", eo = "Hamburger-module__line__
2477
2472
  className: l,
2478
2473
  style: d
2479
2474
  }) => {
2480
- const u = ro({
2475
+ const f = ro({
2481
2476
  compact: t,
2482
2477
  color: e,
2483
2478
  visible: r,
@@ -2489,13 +2484,13 @@ const Xs = "Hamburger-module__hamburger___Tf4-t", eo = "Hamburger-module__line__
2489
2484
  ref: s,
2490
2485
  className: y,
2491
2486
  onClick: () => i(!o),
2492
- style: { ...u, ...d },
2487
+ style: { ...f, ...d },
2493
2488
  "aria-label": "Toggle menu",
2494
2489
  "aria-expanded": o,
2495
2490
  children: [
2496
- /* @__PURE__ */ C("div", { className: ve.line }),
2497
- /* @__PURE__ */ C("div", { className: ve.line }),
2498
- /* @__PURE__ */ C("div", { className: ve.line })
2491
+ /* @__PURE__ */ F("div", { className: ve.line }),
2492
+ /* @__PURE__ */ F("div", { className: ve.line }),
2493
+ /* @__PURE__ */ F("div", { className: ve.line })
2499
2494
  ]
2500
2495
  }
2501
2496
  );
@@ -2512,19 +2507,19 @@ const Xs = "Hamburger-module__hamburger___Tf4-t", eo = "Hamburger-module__line__
2512
2507
  padding: i,
2513
2508
  margin: l,
2514
2509
  gap: d,
2515
- backgroundColor: u,
2510
+ backgroundColor: f,
2516
2511
  color: y
2517
2512
  } = {}) => {
2518
- const m = H();
2513
+ const h = H();
2519
2514
  return {
2520
- "--header-max-width": r || m.layout.maxWidth,
2515
+ "--header-max-width": r || h.layout.maxWidth,
2521
2516
  "--header-min-width": t,
2522
2517
  "--header-width": s,
2523
2518
  "--header-height": o,
2524
- "--header-padding": e ? n || m.layout.paddingSm : i || m.layout.padding,
2519
+ "--header-padding": e ? n || h.layout.paddingSm : i || h.layout.padding,
2525
2520
  "--header-margin": l,
2526
2521
  "--header-gap": d,
2527
- backgroundColor: u,
2522
+ backgroundColor: f,
2528
2523
  color: y
2529
2524
  };
2530
2525
  }, ie = (e) => {
@@ -2547,18 +2542,18 @@ const Xs = "Hamburger-module__hamburger___Tf4-t", eo = "Hamburger-module__line__
2547
2542
  padding: i,
2548
2543
  paddingSm: l,
2549
2544
  margin: d,
2550
- gap: u,
2545
+ gap: f,
2551
2546
  breakpoint: y,
2552
- fixed: m = !1,
2547
+ fixed: h = !1,
2553
2548
  // Content
2554
- children: h,
2549
+ children: m,
2555
2550
  // Style overrides
2556
- className: x,
2557
- style: F,
2551
+ className: k,
2552
+ style: x,
2558
2553
  // Element-specific props
2559
2554
  headerProps: g
2560
2555
  }) => {
2561
- const k = H(), w = y || k.breakpoints.sm, { maxWidth: b, unit: A } = Ee(w), $ = ie(`(max-width: ${b}${A})`), E = io({
2556
+ const V = H(), w = y || V.breakpoints.sm, { maxWidth: b, unit: A } = Ee(w), $ = ie(`(max-width: ${b}${A})`), E = io({
2562
2557
  isSmallScreen: $,
2563
2558
  maxWidth: t,
2564
2559
  minWidth: s,
@@ -2567,16 +2562,16 @@ const Xs = "Hamburger-module__hamburger___Tf4-t", eo = "Hamburger-module__line__
2567
2562
  paddingSm: l,
2568
2563
  padding: i,
2569
2564
  margin: d,
2570
- gap: u,
2565
+ gap: f,
2571
2566
  backgroundColor: e,
2572
2567
  color: r
2573
- }), O = [jt.container, x].filter(Boolean).join(" "), M = m ? { position: "fixed", top: 0, left: 0, right: 0, zIndex: 1e3 } : {};
2574
- return /* @__PURE__ */ C("header", { ...g, className: jt.header, style: M, children: /* @__PURE__ */ C(
2568
+ }), O = [jt.container, k].filter(Boolean).join(" "), M = h ? { position: "fixed", top: 0, left: 0, right: 0, zIndex: 1e3 } : {};
2569
+ return /* @__PURE__ */ F("header", { ...g, className: jt.header, style: M, children: /* @__PURE__ */ F(
2575
2570
  "div",
2576
2571
  {
2577
2572
  className: O,
2578
- style: { ...E, ...F },
2579
- children: h
2573
+ style: { ...E, ...x },
2574
+ children: m
2580
2575
  }
2581
2576
  ) });
2582
2577
  }, lo = "ResponsiveNav-module__nav___xOfv5", co = "ResponsiveNav-module__navMobile___h795P", uo = "ResponsiveNav-module__navHeader___Me8bB", fo = "ResponsiveNav-module__compact___UhuAE", yo = "ResponsiveNav-module__open___WDCAf", mo = "ResponsiveNav-module__navDesktop___9wscZ", he = {
@@ -2593,14 +2588,14 @@ const Xs = "Hamburger-module__hamburger___Tf4-t", eo = "Hamburger-module__line__
2593
2588
  desktop: s
2594
2589
  }) => {
2595
2590
  const o = H();
2596
- return De(() => {
2591
+ return Pe(() => {
2597
2592
  if (e) {
2598
- const n = (t == null ? void 0 : t.backgroundColor) || o.colors.primary, i = (t == null ? void 0 : t.color) || o.colors.secondary, l = (t == null ? void 0 : t.activeBackgroundColor) || o.colors.secondary, d = (t == null ? void 0 : t.activeColor) || o.colors.primary, u = r || t != null && t.compact ? "1.5rem" : "2rem";
2593
+ const n = (t == null ? void 0 : t.backgroundColor) || o.colors.primary, i = (t == null ? void 0 : t.color) || o.colors.secondary, l = (t == null ? void 0 : t.activeBackgroundColor) || o.colors.secondary, d = (t == null ? void 0 : t.activeColor) || o.colors.primary, f = r || t != null && t.compact ? "1.5rem" : "2rem";
2599
2594
  return {
2600
2595
  navStyles: {
2601
2596
  backgroundColor: n,
2602
2597
  color: i,
2603
- fontSize: u,
2598
+ fontSize: f,
2604
2599
  ...t == null ? void 0 : t.style
2605
2600
  },
2606
2601
  linkActiveStyles: {
@@ -2612,7 +2607,7 @@ const Xs = "Hamburger-module__hamburger___Tf4-t", eo = "Hamburger-module__line__
2612
2607
  }
2613
2608
  };
2614
2609
  } else {
2615
- const n = s == null ? void 0 : s.backgroundColor, i = (s == null ? void 0 : s.color) || o.fonts.color, l = (s == null ? void 0 : s.hoverOpacity) ?? 0.5, d = s == null ? void 0 : s.activeBackgroundColor, u = s == null ? void 0 : s.activeColor;
2610
+ const n = s == null ? void 0 : s.backgroundColor, i = (s == null ? void 0 : s.color) || o.fonts.color, l = (s == null ? void 0 : s.hoverOpacity) ?? 0.5, d = s == null ? void 0 : s.activeBackgroundColor, f = s == null ? void 0 : s.activeColor;
2616
2611
  return {
2617
2612
  navStyles: {
2618
2613
  ...n && { backgroundColor: n },
@@ -2621,8 +2616,8 @@ const Xs = "Hamburger-module__hamburger___Tf4-t", eo = "Hamburger-module__line__
2621
2616
  },
2622
2617
  linkActiveStyles: {
2623
2618
  ...d && { backgroundColor: d },
2624
- ...u && { color: u },
2625
- opacity: d || u ? 1 : l
2619
+ ...f && { color: f },
2620
+ opacity: d || f ? 1 : l
2626
2621
  },
2627
2622
  linkHoverStyles: {
2628
2623
  opacity: l
@@ -2640,7 +2635,7 @@ const Xs = "Hamburger-module__hamburger___Tf4-t", eo = "Hamburger-module__line__
2640
2635
  navProps: i
2641
2636
  }) => {
2642
2637
  var J;
2643
- const [l, d] = st(!1), u = Ft(null), y = Ft(null), m = H(), h = { ...m.breakpoints, ...t }, { maxWidth: x, unit: F } = Ee(h.md), { maxWidth: g, unit: k } = Ee(h.sm), w = ie(`(max-width: ${x}${F})`), b = ie(`(max-width: ${g}${k})`), { navStyles: A, linkActiveStyles: $, linkHoverStyles: E } = ho({
2638
+ const [l, d] = st(!1), f = Ft(null), y = Ft(null), h = H(), m = { ...h.breakpoints, ...t }, { maxWidth: k, unit: x } = Ee(m.md), { maxWidth: g, unit: V } = Ee(m.sm), w = ie(`(max-width: ${k}${x})`), b = ie(`(max-width: ${g}${V})`), { navStyles: A, linkActiveStyles: $, linkHoverStyles: E } = ho({
2644
2639
  isMobile: w,
2645
2640
  isCompact: b,
2646
2641
  mobile: e,
@@ -2666,12 +2661,12 @@ const Xs = "Hamburger-module__hamburger___Tf4-t", eo = "Hamburger-module__line__
2666
2661
  }
2667
2662
  }, [w, l]), Ke(() => {
2668
2663
  const N = (R) => {
2669
- !y.current || y.current.contains(R.target) || u.current && u.current.contains(R.target) || d(!1);
2664
+ !y.current || y.current.contains(R.target) || f.current && f.current.contains(R.target) || d(!1);
2670
2665
  };
2671
2666
  return document.addEventListener("mousedown", N), () => {
2672
2667
  document.removeEventListener("mousedown", N);
2673
2668
  };
2674
- }, [u, y, d]);
2669
+ }, [f, y, d]);
2675
2670
  const M = [
2676
2671
  he.nav,
2677
2672
  w ? he.navMobile : he.navDesktop,
@@ -2681,12 +2676,12 @@ const Xs = "Hamburger-module__hamburger___Tf4-t", eo = "Hamburger-module__line__
2681
2676
  ].filter(Boolean).join(" "), te = (N) => {
2682
2677
  if (!w) return;
2683
2678
  N.target.closest("a, button") && d(!1);
2684
- }, U = w ? (e == null ? void 0 : e.content) || s : (r == null ? void 0 : r.content) || s, ae = l ? (e == null ? void 0 : e.hamburgerColor) || (e == null ? void 0 : e.color) || m.colors.secondary : (J = e == null ? void 0 : e.hamburgerProps) == null ? void 0 : J.color;
2679
+ }, U = w ? (e == null ? void 0 : e.content) || s : (r == null ? void 0 : r.content) || s, ae = l ? (e == null ? void 0 : e.hamburgerColor) || (e == null ? void 0 : e.color) || h.colors.secondary : (J = e == null ? void 0 : e.hamburgerProps) == null ? void 0 : J.color;
2685
2680
  return /* @__PURE__ */ Z(xe, { children: [
2686
- /* @__PURE__ */ C(
2681
+ /* @__PURE__ */ F(
2687
2682
  so,
2688
2683
  {
2689
- hamburgerRef: u,
2684
+ hamburgerRef: f,
2690
2685
  visible: w,
2691
2686
  compact: b,
2692
2687
  open: l,
@@ -2704,7 +2699,7 @@ const Xs = "Hamburger-module__hamburger___Tf4-t", eo = "Hamburger-module__line__
2704
2699
  style: { ...O, ...n },
2705
2700
  onClickCapture: te,
2706
2701
  children: [
2707
- w && l && /* @__PURE__ */ C("div", { className: he.navHeader }),
2702
+ w && l && /* @__PURE__ */ F("div", { className: he.navHeader }),
2708
2703
  typeof U == "function" ? U({ setOpen: d }) : U
2709
2704
  ]
2710
2705
  }
@@ -2722,7 +2717,7 @@ const Xs = "Hamburger-module__hamburger___Tf4-t", eo = "Hamburger-module__line__
2722
2717
  // Element-specific props
2723
2718
  divProps: n
2724
2719
  }) => {
2725
- const i = H(), l = e || i.colors.primary, d = r || i.colors.secondary, u = /* @__PURE__ */ C(
2720
+ const i = H(), l = e || i.colors.primary, d = r || i.colors.secondary, f = /* @__PURE__ */ F(
2726
2721
  "div",
2727
2722
  {
2728
2723
  ...t ? void 0 : n,
@@ -2742,15 +2737,15 @@ const Xs = "Hamburger-module__hamburger___Tf4-t", eo = "Hamburger-module__line__
2742
2737
  }
2743
2738
  }
2744
2739
  ), y = /* @__PURE__ */ Z(xe, { children: [
2745
- u,
2746
- /* @__PURE__ */ C("style", { children: `
2740
+ f,
2741
+ /* @__PURE__ */ F("style", { children: `
2747
2742
  @keyframes spin {
2748
2743
  0% { transform: rotate(0deg); }
2749
2744
  100% { transform: rotate(360deg); }
2750
2745
  }
2751
2746
  ` })
2752
2747
  ] });
2753
- return t ? /* @__PURE__ */ C(
2748
+ return t ? /* @__PURE__ */ F(
2754
2749
  "div",
2755
2750
  {
2756
2751
  ...n,
@@ -2773,7 +2768,7 @@ const Xs = "Hamburger-module__hamburger___Tf4-t", eo = "Hamburger-module__line__
2773
2768
  requestAnimationFrame(() => {
2774
2769
  s(!0);
2775
2770
  });
2776
- }, []), t ? /* @__PURE__ */ C(xe, { children: e }) : r || /* @__PURE__ */ C(go, {});
2771
+ }, []), t ? /* @__PURE__ */ F(xe, { children: e }) : r || /* @__PURE__ */ F(go, {});
2777
2772
  }, _o = "Stack-module__stack___yUU-B", po = "Stack-module__vertical___sKTyQ", vo = "Stack-module__horizontal___YsvtV", Ze = {
2778
2773
  stack: _o,
2779
2774
  vertical: po,
@@ -2794,7 +2789,7 @@ const Xs = "Hamburger-module__hamburger___Tf4-t", eo = "Hamburger-module__line__
2794
2789
  e === "row" ? Ze.horizontal : Ze.vertical,
2795
2790
  t
2796
2791
  ].filter(Boolean).join(" ");
2797
- return /* @__PURE__ */ C("div", { ...o, className: n, style: s, children: r });
2792
+ return /* @__PURE__ */ F("div", { ...o, className: n, style: s, children: r });
2798
2793
  }, bo = "ResponsiveSection-module__section___gBESK", So = "ResponsiveSection-module__innerDiv___r1bky", It = {
2799
2794
  section: bo,
2800
2795
  innerDiv: So
@@ -2810,39 +2805,39 @@ const Xs = "Hamburger-module__hamburger___Tf4-t", eo = "Hamburger-module__line__
2810
2805
  padding: i,
2811
2806
  paddingSm: l,
2812
2807
  margin: d,
2813
- gap: u,
2808
+ gap: f,
2814
2809
  verticalRhythm: y = 3,
2815
2810
  // Content
2816
- children: m,
2811
+ children: h,
2817
2812
  // Style overrides
2818
- className: h,
2819
- style: x,
2813
+ className: m,
2814
+ style: k,
2820
2815
  // Element-specific props
2821
- sectionProps: F
2816
+ sectionProps: x
2822
2817
  }) => {
2823
- const g = H(), k = ie(`(min-width: ${g.breakpoints.sm})`), w = {
2818
+ const g = H(), V = ie(`(min-width: ${g.breakpoints.sm})`), w = {
2824
2819
  backgroundColor: e,
2825
2820
  color: r || g.fonts.color,
2826
2821
  margin: d,
2827
- ...x
2822
+ ...k
2828
2823
  // Top level style prop overrides
2829
- }, b = `calc(${g.fonts.rhythm} * ${y})`, A = k ? i || g.layout.padding : l || g.layout.paddingSm, $ = {
2824
+ }, b = `calc(${g.fonts.rhythm} * ${y})`, A = V ? i || g.layout.padding : l || g.layout.paddingSm, $ = {
2830
2825
  "--max-width": t || g.layout.maxWidth,
2831
2826
  "--min-width": s,
2832
2827
  "--width": o,
2833
2828
  "--height": n,
2834
2829
  "--section-padding": `${b} ${A}`,
2835
- "--gap": u
2836
- }, E = [It.section, h].filter(Boolean).join(" ");
2837
- return /* @__PURE__ */ C("section", { ...F, className: E, style: w, children: /* @__PURE__ */ C("div", { className: It.innerDiv, style: $, children: m }) });
2830
+ "--gap": f
2831
+ }, E = [It.section, m].filter(Boolean).join(" ");
2832
+ return /* @__PURE__ */ F("section", { ...x, className: E, style: w, children: /* @__PURE__ */ F("div", { className: It.innerDiv, style: $, children: h }) });
2838
2833
  }, xo = "Hero-module__hero___IB2tg", Fo = "Hero-module__content___rkkfQ", Ut = {
2839
2834
  hero: xo,
2840
2835
  content: Fo
2841
- }, Co = ({
2836
+ }, wo = ({
2842
2837
  isMd: e = !1,
2843
2838
  isLg: r = !1,
2844
2839
  theme: t
2845
- }) => De(() => {
2840
+ }) => Pe(() => {
2846
2841
  const { rhythm: s } = t.fonts;
2847
2842
  let o = `calc(${s} * 2) 0`, n = "2rem", i = "1.125rem";
2848
2843
  return r ? (o = `calc(${s} * 4) 0`, n = "3.5rem", i = "1.5rem") : e && (o = `calc(${s} * 3.5) 0`, n = "3rem", i = "1.25rem"), {
@@ -2863,19 +2858,19 @@ const Xs = "Hamburger-module__hamburger___Tf4-t", eo = "Hamburger-module__line__
2863
2858
  style: o,
2864
2859
  ...n
2865
2860
  }) => {
2866
- const i = H(), l = [Ut.hero, s].filter(Boolean).join(" "), d = (r == null ? void 0 : r.md) || i.breakpoints.md, u = (r == null ? void 0 : r.lg) || i.breakpoints.lg, y = ie(`(min-width: ${d})`), m = ie(`(min-width: ${u})`), h = Co({ isMd: y, isLg: m, theme: i });
2867
- return /* @__PURE__ */ C(
2861
+ const i = H(), l = [Ut.hero, s].filter(Boolean).join(" "), d = (r == null ? void 0 : r.md) || i.breakpoints.md, f = (r == null ? void 0 : r.lg) || i.breakpoints.lg, y = ie(`(min-width: ${d})`), h = ie(`(min-width: ${f})`), m = wo({ isMd: y, isLg: h, theme: i });
2862
+ return /* @__PURE__ */ F(
2868
2863
  gr,
2869
2864
  {
2870
2865
  className: l,
2871
2866
  color: e || i.fonts.color,
2872
- style: { ...h, ...o },
2867
+ style: { ...m, ...o },
2873
2868
  ...n,
2874
- children: /* @__PURE__ */ C("div", { className: Ut.content, children: t })
2869
+ children: /* @__PURE__ */ F("div", { className: Ut.content, children: t })
2875
2870
  }
2876
2871
  );
2877
- }, wo = "Footer-module__footer___A76NF", Vo = "Footer-module__container___QneNs", Wt = {
2878
- footer: wo,
2872
+ }, Co = "Footer-module__footer___A76NF", Vo = "Footer-module__container___QneNs", Wt = {
2873
+ footer: Co,
2879
2874
  container: Vo
2880
2875
  }, ko = ({
2881
2876
  isSmallScreen: e = !1,
@@ -2887,20 +2882,20 @@ const Xs = "Hamburger-module__hamburger___Tf4-t", eo = "Hamburger-module__line__
2887
2882
  padding: i,
2888
2883
  margin: l,
2889
2884
  gap: d,
2890
- backgroundColor: u,
2885
+ backgroundColor: f,
2891
2886
  color: y
2892
2887
  } = {}) => {
2893
- const m = H();
2888
+ const h = H();
2894
2889
  return {
2895
- maxWidth: r || m.layout.maxWidth,
2890
+ maxWidth: r || h.layout.maxWidth,
2896
2891
  minWidth: t,
2897
2892
  width: s,
2898
2893
  height: o,
2899
- padding: e ? n || m.layout.paddingSm : i || m.layout.padding,
2894
+ padding: e ? n || h.layout.paddingSm : i || h.layout.padding,
2900
2895
  margin: l,
2901
2896
  gap: d,
2902
- backgroundColor: u,
2903
- color: y || m.fonts.color
2897
+ backgroundColor: f,
2898
+ color: y || h.fonts.color
2904
2899
  };
2905
2900
  }, zo = ({
2906
2901
  // Color props
@@ -2914,17 +2909,17 @@ const Xs = "Hamburger-module__hamburger___Tf4-t", eo = "Hamburger-module__line__
2914
2909
  padding: i,
2915
2910
  paddingSm: l,
2916
2911
  margin: d,
2917
- gap: u,
2912
+ gap: f,
2918
2913
  breakPoint: y,
2919
2914
  // Content
2920
- children: m,
2915
+ children: h,
2921
2916
  // Style overrides
2922
- className: h,
2923
- style: x,
2917
+ className: m,
2918
+ style: k,
2924
2919
  // Element-specific props
2925
- footerProps: F
2920
+ footerProps: x
2926
2921
  }) => {
2927
- const g = H(), k = y || g.breakpoints.sm, { maxWidth: w, unit: b } = Ee(k), A = ie(`(max-width: ${w}${b})`), $ = ko({
2922
+ const g = H(), V = y || g.breakpoints.sm, { maxWidth: w, unit: b } = Ee(V), A = ie(`(max-width: ${w}${b})`), $ = ko({
2928
2923
  isSmallScreen: A,
2929
2924
  maxWidth: t,
2930
2925
  minWidth: s,
@@ -2933,11 +2928,11 @@ const Xs = "Hamburger-module__hamburger___Tf4-t", eo = "Hamburger-module__line__
2933
2928
  paddingSm: l,
2934
2929
  padding: i,
2935
2930
  margin: d,
2936
- gap: u,
2931
+ gap: f,
2937
2932
  backgroundColor: e,
2938
2933
  color: r
2939
- }), E = [Wt.container, h].filter(Boolean).join(" ");
2940
- return /* @__PURE__ */ C("footer", { ...F, className: Wt.footer, children: /* @__PURE__ */ C("div", { className: E, style: { ...$, ...x }, children: m }) });
2934
+ }), E = [Wt.container, m].filter(Boolean).join(" ");
2935
+ return /* @__PURE__ */ F("footer", { ...x, className: Wt.footer, children: /* @__PURE__ */ F("div", { className: E, style: { ...$, ...k }, children: h }) });
2941
2936
  }, $o = "FeatureCard-module__card___XQt66", Ao = "FeatureCard-module__icon___dXJ92", Eo = "FeatureCard-module__title___KxXyA", No = "FeatureCard-module__content___68xkw", Ae = {
2942
2937
  card: $o,
2943
2938
  icon: Ao,
@@ -2946,7 +2941,7 @@ const Xs = "Hamburger-module__hamburger___Tf4-t", eo = "Hamburger-module__line__
2946
2941
  }, Ro = ({
2947
2942
  isMd: e = !1,
2948
2943
  theme: r
2949
- }) => De(() => {
2944
+ }) => Pe(() => {
2950
2945
  const { rhythm: t } = r.fonts;
2951
2946
  return {
2952
2947
  "--feature-icon-font-size": e ? "3rem" : "2.5rem",
@@ -2968,28 +2963,28 @@ const Xs = "Hamburger-module__hamburger___Tf4-t", eo = "Hamburger-module__line__
2968
2963
  // Element-specific props
2969
2964
  divProps: i
2970
2965
  }) => {
2971
- const l = H(), d = [Ae.card, o].filter(Boolean).join(" "), u = e || l.breakpoints.md, y = ie(`(min-width: ${u})`), m = Ro({ isMd: y, theme: l });
2966
+ const l = H(), d = [Ae.card, o].filter(Boolean).join(" "), f = e || l.breakpoints.md, y = ie(`(min-width: ${f})`), h = Ro({ isMd: y, theme: l });
2972
2967
  return /* @__PURE__ */ Z(
2973
2968
  "div",
2974
2969
  {
2975
2970
  ...i,
2976
2971
  className: d,
2977
- style: { ...m, ...n },
2972
+ style: { ...h, ...n },
2978
2973
  children: [
2979
- r && /* @__PURE__ */ C("div", { className: Ae.icon, children: r }),
2980
- /* @__PURE__ */ C("h3", { className: Ae.title, children: t }),
2981
- /* @__PURE__ */ C("div", { className: Ae.content, children: s })
2974
+ r && /* @__PURE__ */ F("div", { className: Ae.icon, children: r }),
2975
+ /* @__PURE__ */ F("h3", { className: Ae.title, children: t }),
2976
+ /* @__PURE__ */ F("div", { className: Ae.content, children: s })
2982
2977
  ]
2983
2978
  }
2984
2979
  );
2985
- }, Bo = "FeatureGridSection-module__section___wZrbC", Do = "FeatureGridSection-module__grid___iwPJv", qt = {
2980
+ }, Bo = "FeatureGridSection-module__section___wZrbC", Po = "FeatureGridSection-module__grid___iwPJv", qt = {
2986
2981
  section: Bo,
2987
- grid: Do
2988
- }, Po = ({
2982
+ grid: Po
2983
+ }, Do = ({
2989
2984
  columns: e,
2990
2985
  isMd: r = !1,
2991
2986
  isLg: t = !1
2992
- }) => De(() => r ? r && !t && (e === 3 || e === 4) ? {
2987
+ }) => Pe(() => r ? r && !t && (e === 3 || e === 4) ? {
2993
2988
  "--grid-template-columns": "repeat(2, 1fr)"
2994
2989
  } : {
2995
2990
  "--grid-template-columns": {
@@ -3012,14 +3007,14 @@ const Xs = "Hamburger-module__hamburger___Tf4-t", eo = "Hamburger-module__line__
3012
3007
  style: n,
3013
3008
  ...i
3014
3009
  }) => {
3015
- const l = H(), d = [qt.section, o].filter(Boolean).join(" "), u = (r == null ? void 0 : r.md) || l.breakpoints.md, y = (r == null ? void 0 : r.lg) || l.breakpoints.lg, m = ie(`(min-width: ${u})`), h = ie(`(min-width: ${y})`), x = Po({ columns: e, isMd: m, isLg: h }), F = {
3010
+ const l = H(), d = [qt.section, o].filter(Boolean).join(" "), f = (r == null ? void 0 : r.md) || l.breakpoints.md, y = (r == null ? void 0 : r.lg) || l.breakpoints.lg, h = ie(`(min-width: ${f})`), m = ie(`(min-width: ${y})`), k = Do({ columns: e, isMd: h, isLg: m }), x = {
3016
3011
  "--section-padding-vertical": `calc(${l.fonts.rhythm} * 2)`
3017
3012
  }, g = {
3018
- ...x,
3013
+ ...k,
3019
3014
  gap: t,
3020
3015
  ...n
3021
3016
  };
3022
- return /* @__PURE__ */ C(gr, { className: d, style: F, ...i, children: /* @__PURE__ */ C("div", { className: qt.grid, style: g, children: s }) });
3017
+ return /* @__PURE__ */ F(gr, { className: d, style: x, ...i, children: /* @__PURE__ */ F("div", { className: qt.grid, style: g, children: s }) });
3023
3018
  }, Lo = "PageLayout-module__layoutContainer___diLdT", Ho = "PageLayout-module__content___h2mBr", Oo = "PageLayout-module__main___Sw7Pv", Qe = {
3024
3019
  layoutContainer: Lo,
3025
3020
  content: Ho,
@@ -3038,13 +3033,13 @@ const Xs = "Hamburger-module__hamburger___Tf4-t", eo = "Hamburger-module__line__
3038
3033
  divProps: l,
3039
3034
  mainProps: d
3040
3035
  }) => {
3041
- const u = [Qe.layoutContainer, s].filter(Boolean).join(" ");
3042
- return /* @__PURE__ */ Z("div", { ...l, className: u, style: o, children: [
3036
+ const f = [Qe.layoutContainer, s].filter(Boolean).join(" ");
3037
+ return /* @__PURE__ */ Z("div", { ...l, className: f, style: o, children: [
3043
3038
  /* @__PURE__ */ Z("div", { className: Qe.content, children: [
3044
- e && /* @__PURE__ */ C(ao, { ...n, children: e }),
3045
- /* @__PURE__ */ C("main", { ...d, className: Qe.main, children: t })
3039
+ e && /* @__PURE__ */ F(ao, { ...n, children: e }),
3040
+ /* @__PURE__ */ F("main", { ...d, className: Qe.main, children: t })
3046
3041
  ] }),
3047
- r && /* @__PURE__ */ C(zo, { ...i, children: r })
3042
+ r && /* @__PURE__ */ F(zo, { ...i, children: r })
3048
3043
  ] });
3049
3044
  };
3050
3045
  export {