@movmo_app/react-common 0.6.0 → 0.6.1

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.
package/dist/index.d.ts CHANGED
@@ -111,7 +111,12 @@ export declare interface PassengerFormProps {
111
111
  errorMessage?: string;
112
112
  }
113
113
 
114
- export declare const PassengerFormSkeleton: () => JSX_2.Element;
114
+ export declare const PassengerFormSkeleton: default_2.FC<PassengerFormSkeletonProps>;
115
+
116
+ export declare interface PassengerFormSkeletonProps {
117
+ children?: default_2.ReactNode;
118
+ showFooter?: boolean;
119
+ }
115
120
 
116
121
  export declare const SearchInput: React_2.ForwardRefExoticComponent<SearchInputProps & React_2.RefAttributes<HTMLInputElement>>;
117
122
 
package/dist/index.es.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as g from "react";
2
- import J, { useState as Pe, useCallback as ve, forwardRef as _t, useContext as bo, useLayoutEffect as Aa, useRef as Oe, useMemo as je, createContext as Ea, Component as Sa, Fragment as yn, useEffect as vt, createElement as xn } from "react";
2
+ import J, { useState as Fe, useCallback as ve, forwardRef as _t, useContext as bo, useLayoutEffect as Aa, useRef as Oe, useMemo as je, createContext as Ea, Component as Sa, Fragment as yn, useEffect as vt, createElement as xn } from "react";
3
3
  import { createPortal as wa } from "react-dom";
4
4
  var Rt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, An = { exports: {} }, lt = {};
5
5
  /**
@@ -203,13 +203,13 @@ function Ga() {
203
203
  ` + he + f;
204
204
  }
205
205
  }
206
- var Se = !1, De;
206
+ var we = !1, De;
207
207
  {
208
208
  var Ke = typeof WeakMap == "function" ? WeakMap : Map;
209
209
  De = new Ke();
210
210
  }
211
211
  function F(f, S) {
212
- if (!f || Se)
212
+ if (!f || we)
213
213
  return "";
214
214
  {
215
215
  var R = De.get(f);
@@ -217,7 +217,7 @@ function Ga() {
217
217
  return R;
218
218
  }
219
219
  var O;
220
- Se = !0;
220
+ we = !0;
221
221
  var k = Error.prepareStackTrace;
222
222
  Error.prepareStackTrace = void 0;
223
223
  var $;
@@ -274,7 +274,7 @@ function Ga() {
274
274
  }
275
275
  }
276
276
  } finally {
277
- Se = !1, fe.current = $, Ae(), Error.prepareStackTrace = k;
277
+ we = !1, fe.current = $, Ae(), Error.prepareStackTrace = k;
278
278
  }
279
279
  var et = f ? f.displayName || f.name : "", _e = et ? pe(et) : "";
280
280
  return typeof f == "function" && De.set(f, _e), _e;
@@ -282,15 +282,15 @@ function Ga() {
282
282
  function Je(f, S, R) {
283
283
  return F(f, !1);
284
284
  }
285
- function Te(f) {
285
+ function Ne(f) {
286
286
  var S = f.prototype;
287
287
  return !!(S && S.isReactComponent);
288
288
  }
289
- function Ne(f, S, R) {
289
+ function Ve(f, S, R) {
290
290
  if (f == null)
291
291
  return "";
292
292
  if (typeof f == "function")
293
- return F(f, Te(f));
293
+ return F(f, Ne(f));
294
294
  if (typeof f == "string")
295
295
  return pe(f);
296
296
  switch (f) {
@@ -304,11 +304,11 @@ function Ga() {
304
304
  case a:
305
305
  return Je(f.render);
306
306
  case d:
307
- return Ne(f.type, S, R);
307
+ return Ve(f.type, S, R);
308
308
  case p: {
309
309
  var O = f, k = O._payload, $ = O._init;
310
310
  try {
311
- return Ne($(k), S, R);
311
+ return Ve($(k), S, R);
312
312
  } catch {
313
313
  }
314
314
  }
@@ -318,7 +318,7 @@ function Ga() {
318
318
  var ct = Object.prototype.hasOwnProperty, or = {}, ir = v.ReactDebugCurrentFrame;
319
319
  function wt(f) {
320
320
  if (f) {
321
- var S = f._owner, R = Ne(f.type, f._source, S ? S.type : null);
321
+ var S = f._owner, R = Ve(f.type, f._source, S ? S.type : null);
322
322
  ir.setExtraStackFrame(R);
323
323
  } else
324
324
  ir.setExtraStackFrame(null);
@@ -463,7 +463,7 @@ function Ga() {
463
463
  var an = v.ReactCurrentOwner, dr = v.ReactDebugCurrentFrame;
464
464
  function qe(f) {
465
465
  if (f) {
466
- var S = f._owner, R = Ne(f.type, f._source, S ? S.type : null);
466
+ var S = f._owner, R = Ve(f.type, f._source, S ? S.type : null);
467
467
  dr.setExtraStackFrame(R);
468
468
  } else
469
469
  dr.setExtraStackFrame(null);
@@ -860,7 +860,7 @@ function ja(e, ...t) {
860
860
  const ee = (e) => {
861
861
  const t = (r) => r[e] || [];
862
862
  return t.isThemeGetter = !0, t;
863
- }, Co = /^\[(?:([a-z-]+):)?(.+)\]$/i, Ha = /^\d+\/\d+$/, ka = /* @__PURE__ */ new Set(["px", "full", "screen"]), Ya = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, za = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Ja = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, _a = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Ua = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Ve = (e) => rt(e) || ka.has(e) || Ha.test(e), Le = (e) => st(e, "length", rs), rt = (e) => !!e && !Number.isNaN(Number(e)), ln = (e) => st(e, "number", rt), ft = (e) => !!e && Number.isInteger(Number(e)), $a = (e) => e.endsWith("%") && rt(e.slice(0, -1)), M = (e) => Co.test(e), Ze = (e) => Ya.test(e), Qa = /* @__PURE__ */ new Set(["length", "size", "percentage"]), Ka = (e) => st(e, Qa, yo), qa = (e) => st(e, "position", yo), es = /* @__PURE__ */ new Set(["image", "url"]), ts = (e) => st(e, es, is), ns = (e) => st(e, "", os), gt = () => !0, st = (e, t, r) => {
863
+ }, Co = /^\[(?:([a-z-]+):)?(.+)\]$/i, Ha = /^\d+\/\d+$/, ka = /* @__PURE__ */ new Set(["px", "full", "screen"]), Ya = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, za = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Ja = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, _a = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Ua = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Be = (e) => rt(e) || ka.has(e) || Ha.test(e), Le = (e) => st(e, "length", rs), rt = (e) => !!e && !Number.isNaN(Number(e)), ln = (e) => st(e, "number", rt), ft = (e) => !!e && Number.isInteger(Number(e)), $a = (e) => e.endsWith("%") && rt(e.slice(0, -1)), M = (e) => Co.test(e), Ze = (e) => Ya.test(e), Qa = /* @__PURE__ */ new Set(["length", "size", "percentage"]), Ka = (e) => st(e, Qa, yo), qa = (e) => st(e, "position", yo), es = /* @__PURE__ */ new Set(["image", "url"]), ts = (e) => st(e, es, is), ns = (e) => st(e, "", os), gt = () => !0, st = (e, t, r) => {
864
864
  const o = Co.exec(e);
865
865
  return o ? o[1] ? typeof t == "string" ? o[1] === t : t.has(o[1]) : r(o[2]) : !1;
866
866
  }, rs = (e) => (
@@ -869,13 +869,13 @@ const ee = (e) => {
869
869
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
870
870
  za.test(e) && !Ja.test(e)
871
871
  ), yo = () => !1, os = (e) => _a.test(e), is = (e) => Ua.test(e), as = () => {
872
- const e = ee("colors"), t = ee("spacing"), r = ee("blur"), o = ee("brightness"), n = ee("borderColor"), i = ee("borderRadius"), s = ee("borderSpacing"), u = ee("borderWidth"), a = ee("contrast"), c = ee("grayscale"), l = ee("hueRotate"), d = ee("invert"), p = ee("gap"), h = ee("gradientColorStops"), I = ee("gradientColorStopPositions"), m = ee("inset"), b = ee("margin"), v = ee("opacity"), A = ee("padding"), y = ee("saturate"), E = ee("scale"), C = ee("sepia"), G = ee("skew"), w = ee("space"), P = ee("translate"), L = () => ["auto", "contain", "none"], U = () => ["auto", "hidden", "clip", "visible", "scroll"], Q = () => ["auto", M, t], B = () => [M, t], K = () => ["", Ve, Le], q = () => ["auto", rt, M], Z = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], W = () => ["solid", "dashed", "dotted", "double", "none"], ce = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], ne = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], se = () => ["", "0", M], de = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], ue = () => [rt, M];
872
+ const e = ee("colors"), t = ee("spacing"), r = ee("blur"), o = ee("brightness"), n = ee("borderColor"), i = ee("borderRadius"), s = ee("borderSpacing"), u = ee("borderWidth"), a = ee("contrast"), c = ee("grayscale"), l = ee("hueRotate"), d = ee("invert"), p = ee("gap"), h = ee("gradientColorStops"), I = ee("gradientColorStopPositions"), m = ee("inset"), b = ee("margin"), v = ee("opacity"), A = ee("padding"), y = ee("saturate"), E = ee("scale"), C = ee("sepia"), G = ee("skew"), w = ee("space"), P = ee("translate"), L = () => ["auto", "contain", "none"], U = () => ["auto", "hidden", "clip", "visible", "scroll"], Q = () => ["auto", M, t], B = () => [M, t], K = () => ["", Be, Le], q = () => ["auto", rt, M], Z = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], W = () => ["solid", "dashed", "dotted", "double", "none"], ce = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], ne = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], se = () => ["", "0", M], de = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], ue = () => [rt, M];
873
873
  return {
874
874
  cacheSize: 500,
875
875
  separator: ":",
876
876
  theme: {
877
877
  colors: [gt],
878
- spacing: [Ve, Le],
878
+ spacing: [Be, Le],
879
879
  blur: ["none", "", Ze, M],
880
880
  brightness: ue(),
881
881
  borderColor: [e],
@@ -1615,7 +1615,7 @@ const ee = (e) => {
1615
1615
  * @see https://tailwindcss.com/docs/line-height
1616
1616
  */
1617
1617
  leading: [{
1618
- leading: ["none", "tight", "snug", "normal", "relaxed", "loose", Ve, M]
1618
+ leading: ["none", "tight", "snug", "normal", "relaxed", "loose", Be, M]
1619
1619
  }],
1620
1620
  /**
1621
1621
  * List Style Image
@@ -1691,14 +1691,14 @@ const ee = (e) => {
1691
1691
  * @see https://tailwindcss.com/docs/text-decoration-thickness
1692
1692
  */
1693
1693
  "text-decoration-thickness": [{
1694
- decoration: ["auto", "from-font", Ve, Le]
1694
+ decoration: ["auto", "from-font", Be, Le]
1695
1695
  }],
1696
1696
  /**
1697
1697
  * Text Underline Offset
1698
1698
  * @see https://tailwindcss.com/docs/text-underline-offset
1699
1699
  */
1700
1700
  "underline-offset": [{
1701
- "underline-offset": ["auto", Ve, M]
1701
+ "underline-offset": ["auto", Be, M]
1702
1702
  }],
1703
1703
  /**
1704
1704
  * Text Decoration Color
@@ -2180,14 +2180,14 @@ const ee = (e) => {
2180
2180
  * @see https://tailwindcss.com/docs/outline-offset
2181
2181
  */
2182
2182
  "outline-offset": [{
2183
- "outline-offset": [Ve, M]
2183
+ "outline-offset": [Be, M]
2184
2184
  }],
2185
2185
  /**
2186
2186
  * Outline Width
2187
2187
  * @see https://tailwindcss.com/docs/outline-width
2188
2188
  */
2189
2189
  "outline-w": [{
2190
- outline: [Ve, Le]
2190
+ outline: [Be, Le]
2191
2191
  }],
2192
2192
  /**
2193
2193
  * Outline Color
@@ -2227,7 +2227,7 @@ const ee = (e) => {
2227
2227
  * @see https://tailwindcss.com/docs/ring-offset-width
2228
2228
  */
2229
2229
  "ring-offset-w": [{
2230
- "ring-offset": [Ve, Le]
2230
+ "ring-offset": [Be, Le]
2231
2231
  }],
2232
2232
  /**
2233
2233
  * Ring Offset Color
@@ -2822,7 +2822,7 @@ const ee = (e) => {
2822
2822
  * @see https://tailwindcss.com/docs/stroke-width
2823
2823
  */
2824
2824
  "stroke-w": [{
2825
- stroke: [Ve, Le, ln]
2825
+ stroke: [Be, Le, ln]
2826
2826
  }],
2827
2827
  /**
2828
2828
  * Stroke
@@ -3205,7 +3205,7 @@ function Xe(e, t) {
3205
3205
  }
3206
3206
  var Fs = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
3207
3207
  function Ts(e) {
3208
- var t = e.defaultInputValue, r = t === void 0 ? "" : t, o = e.defaultMenuIsOpen, n = o === void 0 ? !1 : o, i = e.defaultValue, s = i === void 0 ? null : i, u = e.inputValue, a = e.menuIsOpen, c = e.onChange, l = e.onInputChange, d = e.onMenuClose, p = e.onMenuOpen, h = e.value, I = Xe(e, Fs), m = Pe(u !== void 0 ? u : r), b = Me(m, 2), v = b[0], A = b[1], y = Pe(a !== void 0 ? a : n), E = Me(y, 2), C = E[0], G = E[1], w = Pe(h !== void 0 ? h : s), P = Me(w, 2), L = P[0], U = P[1], Q = ve(function(ne, se) {
3208
+ var t = e.defaultInputValue, r = t === void 0 ? "" : t, o = e.defaultMenuIsOpen, n = o === void 0 ? !1 : o, i = e.defaultValue, s = i === void 0 ? null : i, u = e.inputValue, a = e.menuIsOpen, c = e.onChange, l = e.onInputChange, d = e.onMenuClose, p = e.onMenuOpen, h = e.value, I = Xe(e, Fs), m = Fe(u !== void 0 ? u : r), b = Me(m, 2), v = b[0], A = b[1], y = Fe(a !== void 0 ? a : n), E = Me(y, 2), C = E[0], G = E[1], w = Fe(h !== void 0 ? h : s), P = Me(w, 2), L = P[0], U = P[1], Q = ve(function(ne, se) {
3209
3209
  typeof c == "function" && c(ne, se), U(ne);
3210
3210
  }, [c]), B = ve(function(ne, se) {
3211
3211
  var de;
@@ -3375,7 +3375,7 @@ function ge(e, t) {
3375
3375
  function ht(e, t, r) {
3376
3376
  return e.slice(t, r);
3377
3377
  }
3378
- function we(e) {
3378
+ function Re(e) {
3379
3379
  return e.length;
3380
3380
  }
3381
3381
  function Yn(e) {
@@ -3403,7 +3403,7 @@ function Ks() {
3403
3403
  function xe() {
3404
3404
  return ae = Ce < Vo ? ge(ut, Ce++) : 0, it++, ae === 10 && (it = 1, $t++), ae;
3405
3405
  }
3406
- function Fe() {
3406
+ function Te() {
3407
3407
  return ge(ut, Ce);
3408
3408
  }
3409
3409
  function Bt() {
@@ -3445,7 +3445,7 @@ function It(e) {
3445
3445
  return 0;
3446
3446
  }
3447
3447
  function Bo(e) {
3448
- return $t = it = 1, Vo = we(ut = e), Ce = 0, [];
3448
+ return $t = it = 1, Vo = Re(ut = e), Ce = 0, [];
3449
3449
  }
3450
3450
  function Oo(e) {
3451
3451
  return ut = "", e;
@@ -3454,14 +3454,14 @@ function Ot(e) {
3454
3454
  return No(xt(Ce - 1, Pn(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
3455
3455
  }
3456
3456
  function qs(e) {
3457
- for (; (ae = Fe()) && ae < 33; )
3457
+ for (; (ae = Te()) && ae < 33; )
3458
3458
  xe();
3459
3459
  return It(e) > 2 || It(ae) > 3 ? "" : " ";
3460
3460
  }
3461
3461
  function eu(e, t) {
3462
3462
  for (; --t && xe() && !(ae < 48 || ae > 102 || ae > 57 && ae < 65 || ae > 70 && ae < 97); )
3463
3463
  ;
3464
- return xt(e, Bt() + (t < 6 && Fe() == 32 && xe() == 32));
3464
+ return xt(e, Bt() + (t < 6 && Te() == 32 && xe() == 32));
3465
3465
  }
3466
3466
  function Pn(e) {
3467
3467
  for (; xe(); )
@@ -3483,12 +3483,12 @@ function Pn(e) {
3483
3483
  }
3484
3484
  function tu(e, t) {
3485
3485
  for (; xe() && e + ae !== 57; )
3486
- if (e + ae === 84 && Fe() === 47)
3486
+ if (e + ae === 84 && Te() === 47)
3487
3487
  break;
3488
3488
  return "/*" + xt(t, Ce - 1) + "*" + Ut(e === 47 ? e : xe());
3489
3489
  }
3490
3490
  function nu(e) {
3491
- for (; !It(Fe()); )
3491
+ for (; !It(Te()); )
3492
3492
  xe();
3493
3493
  return xt(e, Ce);
3494
3494
  }
@@ -3518,7 +3518,7 @@ function Mt(e, t, r, o, n, i, s, u, a) {
3518
3518
  w += eu(Bt() - 1, 7);
3519
3519
  continue;
3520
3520
  case 47:
3521
- switch (Fe()) {
3521
+ switch (Te()) {
3522
3522
  case 42:
3523
3523
  case 47:
3524
3524
  Gt(ou(tu(xe(), Bt()), t, r), a);
@@ -3528,7 +3528,7 @@ function Mt(e, t, r, o, n, i, s, u, a) {
3528
3528
  }
3529
3529
  break;
3530
3530
  case 123 * m:
3531
- u[c++] = we(w) * v;
3531
+ u[c++] = Re(w) * v;
3532
3532
  case 125 * m:
3533
3533
  case 59:
3534
3534
  case 0:
@@ -3537,7 +3537,7 @@ function Mt(e, t, r, o, n, i, s, u, a) {
3537
3537
  case 125:
3538
3538
  b = 0;
3539
3539
  case 59 + l:
3540
- v == -1 && (w = H(w, /\f/g, "")), h > 0 && we(w) - d && Gt(h > 32 ? wr(w + ";", o, r, d - 1) : wr(H(w, " ", "") + ";", o, r, d - 2), a);
3540
+ v == -1 && (w = H(w, /\f/g, "")), h > 0 && Re(w) - d && Gt(h > 32 ? wr(w + ";", o, r, d - 1) : wr(H(w, " ", "") + ";", o, r, d - 2), a);
3541
3541
  break;
3542
3542
  case 59:
3543
3543
  w += ";";
@@ -3560,7 +3560,7 @@ function Mt(e, t, r, o, n, i, s, u, a) {
3560
3560
  c = l = h = 0, m = v = 1, y = w = "", d = s;
3561
3561
  break;
3562
3562
  case 58:
3563
- d = 1 + we(w), h = I;
3563
+ d = 1 + Re(w), h = I;
3564
3564
  default:
3565
3565
  if (m < 1) {
3566
3566
  if (A == 123)
@@ -3573,13 +3573,13 @@ function Mt(e, t, r, o, n, i, s, u, a) {
3573
3573
  v = l > 0 ? 1 : (w += "\f", -1);
3574
3574
  break;
3575
3575
  case 44:
3576
- u[c++] = (we(w) - 1) * v, v = 1;
3576
+ u[c++] = (Re(w) - 1) * v, v = 1;
3577
3577
  break;
3578
3578
  case 64:
3579
- Fe() === 45 && (w += Ot(xe())), p = Fe(), l = d = we(y = w += nu(Bt())), A++;
3579
+ Te() === 45 && (w += Ot(xe())), p = Te(), l = d = Re(y = w += nu(Bt())), A++;
3580
3580
  break;
3581
3581
  case 45:
3582
- I === 45 && we(w) == 2 && (m = 0);
3582
+ I === 45 && Re(w) == 2 && (m = 0);
3583
3583
  }
3584
3584
  }
3585
3585
  return i;
@@ -3615,7 +3615,7 @@ function iu(e, t, r, o) {
3615
3615
  case Hn:
3616
3616
  e.value = e.props.join(",");
3617
3617
  }
3618
- return we(r = ot(e.children, o)) ? e.return = e.value + "{" + r + "}" : "";
3618
+ return Re(r = ot(e.children, o)) ? e.return = e.value + "{" + r + "}" : "";
3619
3619
  }
3620
3620
  function au(e) {
3621
3621
  var t = Yn(e);
@@ -3637,7 +3637,7 @@ function uu(e) {
3637
3637
  };
3638
3638
  }
3639
3639
  var cu = function(t, r, o) {
3640
- for (var n = 0, i = 0; n = i, i = Fe(), n === 38 && i === 12 && (r[o] = 1), !It(i); )
3640
+ for (var n = 0, i = 0; n = i, i = Te(), n === 38 && i === 12 && (r[o] = 1), !It(i); )
3641
3641
  xe();
3642
3642
  return xt(t, Ce);
3643
3643
  }, lu = function(t, r) {
@@ -3645,14 +3645,14 @@ var cu = function(t, r, o) {
3645
3645
  do
3646
3646
  switch (It(n)) {
3647
3647
  case 0:
3648
- n === 38 && Fe() === 12 && (r[o] = 1), t[o] += cu(Ce - 1, r, o);
3648
+ n === 38 && Te() === 12 && (r[o] = 1), t[o] += cu(Ce - 1, r, o);
3649
3649
  break;
3650
3650
  case 2:
3651
3651
  t[o] += Ot(n);
3652
3652
  break;
3653
3653
  case 4:
3654
3654
  if (n === 44) {
3655
- t[++o] = Fe() === 58 ? "&\f" : "", r[o] = t[o].length;
3655
+ t[++o] = Te() === 58 ? "&\f" : "", r[o] = t[o].length;
3656
3656
  break;
3657
3657
  }
3658
3658
  default:
@@ -3762,7 +3762,7 @@ function Mo(e, t) {
3762
3762
  case 5789:
3763
3763
  case 5021:
3764
3764
  case 4765:
3765
- if (we(e) - 1 - t > 6) switch (ge(e, t + 1)) {
3765
+ if (Re(e) - 1 - t > 6) switch (ge(e, t + 1)) {
3766
3766
  case 109:
3767
3767
  if (ge(e, t + 4) !== 45) break;
3768
3768
  case 102:
@@ -3774,7 +3774,7 @@ function Mo(e, t) {
3774
3774
  case 4949:
3775
3775
  if (ge(e, t + 1) !== 115) break;
3776
3776
  case 6444:
3777
- switch (ge(e, we(e) - 3 - (~Gn(e, "!important") && 10))) {
3777
+ switch (ge(e, Re(e) - 3 - (~Gn(e, "!important") && 10))) {
3778
3778
  case 107:
3779
3779
  return H(e, ":", ":" + j) + e;
3780
3780
  case 101:
@@ -3967,24 +3967,24 @@ function hu() {
3967
3967
  var Je = F.$$typeof;
3968
3968
  switch (Je) {
3969
3969
  case t:
3970
- var Te = F.type;
3971
- switch (Te) {
3970
+ var Ne = F.type;
3971
+ switch (Ne) {
3972
3972
  case a:
3973
3973
  case c:
3974
3974
  case o:
3975
3975
  case i:
3976
3976
  case n:
3977
3977
  case d:
3978
- return Te;
3978
+ return Ne;
3979
3979
  default:
3980
- var Ne = Te && Te.$$typeof;
3981
- switch (Ne) {
3980
+ var Ve = Ne && Ne.$$typeof;
3981
+ switch (Ve) {
3982
3982
  case u:
3983
3983
  case l:
3984
3984
  case I:
3985
3985
  case h:
3986
3986
  case s:
3987
- return Ne;
3987
+ return Ve;
3988
3988
  default:
3989
3989
  return Je;
3990
3990
  }
@@ -4025,7 +4025,7 @@ function hu() {
4025
4025
  function pe(F) {
4026
4026
  return E(F) === r;
4027
4027
  }
4028
- function Se(F) {
4028
+ function we(F) {
4029
4029
  return E(F) === i;
4030
4030
  }
4031
4031
  function De(F) {
@@ -4034,7 +4034,7 @@ function hu() {
4034
4034
  function Ke(F) {
4035
4035
  return E(F) === d;
4036
4036
  }
4037
- z.AsyncMode = C, z.ConcurrentMode = G, z.ContextConsumer = w, z.ContextProvider = P, z.Element = L, z.ForwardRef = U, z.Fragment = Q, z.Lazy = B, z.Memo = K, z.Portal = q, z.Profiler = Z, z.StrictMode = W, z.Suspense = ce, z.isAsyncMode = se, z.isConcurrentMode = de, z.isContextConsumer = ue, z.isContextProvider = te, z.isElement = le, z.isForwardRef = ye, z.isFragment = Ae, z.isLazy = fe, z.isMemo = he, z.isPortal = pe, z.isProfiler = Se, z.isStrictMode = De, z.isSuspense = Ke, z.isValidElementType = y, z.typeOf = E;
4037
+ z.AsyncMode = C, z.ConcurrentMode = G, z.ContextConsumer = w, z.ContextProvider = P, z.Element = L, z.ForwardRef = U, z.Fragment = Q, z.Lazy = B, z.Memo = K, z.Portal = q, z.Profiler = Z, z.StrictMode = W, z.Suspense = ce, z.isAsyncMode = se, z.isConcurrentMode = de, z.isContextConsumer = ue, z.isContextProvider = te, z.isElement = le, z.isForwardRef = ye, z.isFragment = Ae, z.isLazy = fe, z.isMemo = he, z.isPortal = pe, z.isProfiler = we, z.isStrictMode = De, z.isSuspense = Ke, z.isValidElementType = y, z.typeOf = E;
4038
4038
  }()), z;
4039
4039
  }
4040
4040
  process.env.NODE_ENV === "production" ? Fn.exports = vu() : Fn.exports = hu();
@@ -4163,10 +4163,10 @@ var wu = {
4163
4163
  case "animationName":
4164
4164
  if (typeof r == "string")
4165
4165
  return r.replace(Gu, function(o, n, i) {
4166
- return Re = {
4166
+ return Ge = {
4167
4167
  name: n,
4168
4168
  styles: i,
4169
- next: Re
4169
+ next: Ge
4170
4170
  }, n;
4171
4171
  });
4172
4172
  }
@@ -4184,20 +4184,20 @@ function Ct(e, t, r) {
4184
4184
  case "object": {
4185
4185
  var n = r;
4186
4186
  if (n.anim === 1)
4187
- return Re = {
4187
+ return Ge = {
4188
4188
  name: n.name,
4189
4189
  styles: n.styles,
4190
- next: Re
4190
+ next: Ge
4191
4191
  }, n.name;
4192
4192
  var i = r;
4193
4193
  if (i.styles !== void 0) {
4194
4194
  var s = i.next;
4195
4195
  if (s !== void 0)
4196
4196
  for (; s !== void 0; )
4197
- Re = {
4197
+ Ge = {
4198
4198
  name: s.name,
4199
4199
  styles: s.styles,
4200
- next: Re
4200
+ next: Ge
4201
4201
  }, s = s.next;
4202
4202
  var u = i.styles + ";";
4203
4203
  return u;
@@ -4206,8 +4206,8 @@ function Ct(e, t, r) {
4206
4206
  }
4207
4207
  case "function": {
4208
4208
  if (e !== void 0) {
4209
- var a = Re, c = r(e);
4210
- return Re = a, Ct(e, t, c);
4209
+ var a = Ge, c = r(e);
4210
+ return Ge = a, Ct(e, t, c);
4211
4211
  }
4212
4212
  break;
4213
4213
  }
@@ -4244,12 +4244,12 @@ function Pu(e, t, r) {
4244
4244
  }
4245
4245
  return o;
4246
4246
  }
4247
- var Nr = /label:\s*([^\s;{]+)\s*(;|$)/g, Re;
4247
+ var Nr = /label:\s*([^\s;{]+)\s*(;|$)/g, Ge;
4248
4248
  function Zo(e, t, r) {
4249
4249
  if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
4250
4250
  return e[0];
4251
4251
  var o = !0, n = "";
4252
- Re = void 0;
4252
+ Ge = void 0;
4253
4253
  var i = e[0];
4254
4254
  if (i == null || i.raw === void 0)
4255
4255
  o = !1, n += Ct(r, t, i);
@@ -4269,7 +4269,7 @@ function Zo(e, t, r) {
4269
4269
  return {
4270
4270
  name: d,
4271
4271
  styles: n,
4272
- next: Re
4272
+ next: Ge
4273
4273
  };
4274
4274
  }
4275
4275
  var Fu = function(t) {
@@ -4804,7 +4804,7 @@ var Qo = function(t) {
4804
4804
  marginTop: u.menuGutter
4805
4805
  });
4806
4806
  }, Ko = /* @__PURE__ */ Ea(null), hc = function(t) {
4807
- var r = t.children, o = t.minMenuHeight, n = t.maxMenuHeight, i = t.menuPlacement, s = t.menuPosition, u = t.menuShouldScrollIntoView, a = t.theme, c = bo(Ko) || {}, l = c.setPortalPlacement, d = Oe(null), p = Pe(n), h = Me(p, 2), I = h[0], m = h[1], b = Pe(null), v = Me(b, 2), A = v[0], y = v[1], E = a.spacing.controlHeight;
4807
+ var r = t.children, o = t.minMenuHeight, n = t.maxMenuHeight, i = t.menuPlacement, s = t.menuPosition, u = t.menuShouldScrollIntoView, a = t.theme, c = bo(Ko) || {}, l = c.setPortalPlacement, d = Oe(null), p = Fe(n), h = Me(p, 2), I = h[0], m = h[1], b = Fe(null), v = Me(b, 2), A = v[0], y = v[1], E = a.spacing.controlHeight;
4808
4808
  return Vn(function() {
4809
4809
  var C = d.current;
4810
4810
  if (C) {
@@ -4889,11 +4889,11 @@ var Qo = function(t) {
4889
4889
  zIndex: 1
4890
4890
  };
4891
4891
  }, Gc = function(t) {
4892
- var r = t.appendTo, o = t.children, n = t.controlElement, i = t.innerProps, s = t.menuPlacement, u = t.menuPosition, a = Oe(null), c = Oe(null), l = Pe(Qo(s)), d = Me(l, 2), p = d[0], h = d[1], I = je(function() {
4892
+ var r = t.appendTo, o = t.children, n = t.controlElement, i = t.innerProps, s = t.menuPlacement, u = t.menuPosition, a = Oe(null), c = Oe(null), l = Fe(Qo(s)), d = Me(l, 2), p = d[0], h = d[1], I = je(function() {
4893
4893
  return {
4894
4894
  setPortalPlacement: h
4895
4895
  };
4896
- }, []), m = Pe(null), b = Me(m, 2), v = b[0], A = b[1], y = ve(function() {
4896
+ }, []), m = Fe(null), b = Me(m, 2), v = b[0], A = b[1], y = ve(function() {
4897
4897
  if (n) {
4898
4898
  var w = ac(n), P = u === "fixed" ? 0 : window.pageYOffset, L = w[p] + P;
4899
4899
  (L !== (v == null ? void 0 : v.offset) || w.left !== (v == null ? void 0 : v.rect.left) || w.width !== (v == null ? void 0 : v.rect.width)) && A({
@@ -6949,12 +6949,12 @@ var bi = function(t) {
6949
6949
  var n = this, i = this.getComponents(), s = i.Group, u = i.GroupHeading, a = i.Menu, c = i.MenuList, l = i.MenuPortal, d = i.LoadingMessage, p = i.NoOptionsMessage, h = i.Option, I = this.commonProps, m = this.state.focusedOption, b = this.props, v = b.captureMenuScroll, A = b.inputValue, y = b.isLoading, E = b.loadingMessage, C = b.minMenuHeight, G = b.maxMenuHeight, w = b.menuIsOpen, P = b.menuPlacement, L = b.menuPosition, U = b.menuPortalTarget, Q = b.menuShouldBlockScroll, B = b.menuShouldScrollIntoView, K = b.noOptionsMessage, q = b.onMenuScrollToTop, Z = b.onMenuScrollToBottom;
6950
6950
  if (!w) return null;
6951
6951
  var W = function(le, ye) {
6952
- var Ae = le.type, fe = le.data, he = le.isDisabled, pe = le.isSelected, Se = le.label, De = le.value, Ke = m === fe, F = he ? void 0 : function() {
6952
+ var Ae = le.type, fe = le.data, he = le.isDisabled, pe = le.isSelected, we = le.label, De = le.value, Ke = m === fe, F = he ? void 0 : function() {
6953
6953
  return n.onOptionHover(fe);
6954
6954
  }, Je = he ? void 0 : function() {
6955
6955
  return n.selectOption(fe);
6956
- }, Te = "".concat(n.getElementId("option"), "-").concat(ye), Ne = {
6957
- id: Te,
6956
+ }, Ne = "".concat(n.getElementId("option"), "-").concat(ye), Ve = {
6957
+ id: Ne,
6958
6958
  onClick: Je,
6959
6959
  onMouseMove: F,
6960
6960
  onMouseOver: F,
@@ -6964,12 +6964,12 @@ var bi = function(t) {
6964
6964
  // is not supported on Apple devices
6965
6965
  };
6966
6966
  return /* @__PURE__ */ g.createElement(h, V({}, I, {
6967
- innerProps: Ne,
6967
+ innerProps: Ve,
6968
6968
  data: fe,
6969
6969
  isDisabled: he,
6970
6970
  isSelected: pe,
6971
- key: Te,
6972
- label: Se,
6971
+ key: Ne,
6972
+ label: we,
6973
6973
  type: Ae,
6974
6974
  value: De,
6975
6975
  isFocused: Ke,
@@ -7032,8 +7032,8 @@ var bi = function(t) {
7032
7032
  lockEnabled: Q
7033
7033
  }, function(he) {
7034
7034
  return /* @__PURE__ */ g.createElement(c, V({}, I, {
7035
- innerRef: function(Se) {
7036
- n.getMenuListRef(Se), he(Se);
7035
+ innerRef: function(we) {
7036
+ n.getMenuListRef(we), he(we);
7037
7037
  },
7038
7038
  innerProps: {
7039
7039
  role: "listbox",
@@ -9055,11 +9055,11 @@ const dg = ({
9055
9055
  ], s = (/* @__PURE__ */ new Date()).getUTCFullYear(), u = je(
9056
9056
  () => Array.from({ length: 120 }, (y, E) => s - E),
9057
9057
  [s]
9058
- ), [a, c] = Pe(
9058
+ ), [a, c] = Fe(
9059
9059
  e ? new Date(e).getUTCMonth() : void 0
9060
- ), [l, d] = Pe(
9060
+ ), [l, d] = Fe(
9061
9061
  e ? new Date(e).getUTCDate() : void 0
9062
- ), [p, h] = Pe(
9062
+ ), [p, h] = Fe(
9063
9063
  e ? new Date(e).getUTCFullYear() : void 0
9064
9064
  ), I = (y, E) => new Date(Date.UTC(E, y + 1, 0)).getUTCDate(), m = je(() => a !== void 0 && p !== void 0 ? I(a, p) : 31, [a, p]);
9065
9065
  vt(() => {
@@ -9172,25 +9172,25 @@ var co;
9172
9172
  (function(e) {
9173
9173
  e.ADULT = "adult", e.CHILD = "child", e.SENIOR = "senior", e.YOUNG = "young", e.HELD_INFANT = "held_infant", e.SEATED_INFANT = "seated_infant";
9174
9174
  })(co || (Ye.TravelerType = co = {}));
9175
- var Ge = {};
9176
- Object.defineProperty(Ge, "__esModule", { value: !0 });
9177
- Ge.AuthenticationChallengeResponse = Ge.AuthenticationChallengeName = Ge.AuthenticationUserStatus = Ge.AuthenticationUsernameType = void 0;
9175
+ var Pe = {};
9176
+ Object.defineProperty(Pe, "__esModule", { value: !0 });
9177
+ Pe.AuthenticationChallengeResponse = Pe.AuthenticationChallengeName = Pe.AuthenticationUserStatus = Pe.AuthenticationUsernameType = void 0;
9178
9178
  var lo;
9179
9179
  (function(e) {
9180
9180
  e.EMAIL = "email", e.PHONE_NUMBER = "phoneNumber";
9181
- })(lo || (Ge.AuthenticationUsernameType = lo = {}));
9181
+ })(lo || (Pe.AuthenticationUsernameType = lo = {}));
9182
9182
  var fo;
9183
9183
  (function(e) {
9184
9184
  e.CONFIRMED = "CONFIRMED", e.UNCONFIRMED = "UNCONFIRMED";
9185
- })(fo || (Ge.AuthenticationUserStatus = fo = {}));
9185
+ })(fo || (Pe.AuthenticationUserStatus = fo = {}));
9186
9186
  var go;
9187
9187
  (function(e) {
9188
9188
  e.SMS_OTP = "SMS_OTP", e.EMAIL_OTP = "EMAIL_OTP";
9189
- })(go || (Ge.AuthenticationChallengeName = go = {}));
9189
+ })(go || (Pe.AuthenticationChallengeName = go = {}));
9190
9190
  var po;
9191
9191
  (function(e) {
9192
9192
  e.SMS_OTP_CODE = "SMS_OTP_CODE", e.EMAIL_OTP_CODE = "EMAIL_OTP_CODE";
9193
- })(po || (Ge.AuthenticationChallengeResponse = po = {}));
9193
+ })(po || (Pe.AuthenticationChallengeResponse = po = {}));
9194
9194
  (function(e) {
9195
9195
  var t = Rt && Rt.__createBinding || (Object.create ? function(o, n, i, s) {
9196
9196
  s === void 0 && (s = i);
@@ -9203,7 +9203,7 @@ var po;
9203
9203
  }), r = Rt && Rt.__exportStar || function(o, n) {
9204
9204
  for (var i in o) i !== "default" && !Object.prototype.hasOwnProperty.call(n, i) && t(n, o, i);
9205
9205
  };
9206
- Object.defineProperty(e, "__esModule", { value: !0 }), r(nn, e), r(rn, e), r(qi, e), r(Ye, e), r(Ge, e);
9206
+ Object.defineProperty(e, "__esModule", { value: !0 }), r(nn, e), r(rn, e), r(qi, e), r(Ye, e), r(Pe, e);
9207
9207
  })(Ue);
9208
9208
  const Cg = ({
9209
9209
  firstName: e,
@@ -9319,7 +9319,7 @@ function gg({ baseColor: e, highlightColor: t, width: r, height: o, borderRadius
9319
9319
  const l = {};
9320
9320
  return s === "rtl" && (l["--animation-direction"] = "reverse"), typeof u == "number" && (l["--animation-duration"] = `${u}s`), a || (l["--pseudo-element-display"] = "none"), (typeof r == "string" || typeof r == "number") && (l.width = r), (typeof o == "string" || typeof o == "number") && (l.height = o), (typeof n == "string" || typeof n == "number") && (l.borderRadius = n), i && (l.borderRadius = "50%"), typeof e < "u" && (l["--base-color"] = e), typeof t < "u" && (l["--highlight-color"] = t), typeof c == "string" && (l["--custom-highlight-background"] = c), l;
9321
9321
  }
9322
- function Be({ count: e = 1, wrapper: t, className: r, containerClassName: o, containerTestId: n, circle: i = !1, style: s, ...u }) {
9322
+ function Se({ count: e = 1, wrapper: t, className: r, containerClassName: o, containerTestId: n, circle: i = !1, style: s, ...u }) {
9323
9323
  var a, c, l;
9324
9324
  const d = J.useContext(fg), p = { ...u };
9325
9325
  for (const [y, E] of Object.entries(u))
@@ -9351,23 +9351,31 @@ function Be({ count: e = 1, wrapper: t, className: r, containerClassName: o, con
9351
9351
  }
9352
9352
  return J.createElement("span", { className: o, "data-testid": n, "aria-live": "polite", "aria-busy": (l = h.enableAnimation) !== null && l !== void 0 ? l : ea }, t ? v.map((y, E) => J.createElement(t, { key: E }, y)) : v);
9353
9353
  }
9354
- const yg = () => /* @__PURE__ */ x.jsxs("div", { children: [
9354
+ const yg = ({
9355
+ children: e,
9356
+ showFooter: t = !1
9357
+ }) => /* @__PURE__ */ x.jsxs("div", { children: [
9355
9358
  /* @__PURE__ */ x.jsxs("div", { className: "grid grid-cols-1 md:grid-cols-3 gap-3 place-content-center", children: [
9356
- /* @__PURE__ */ x.jsx(Be, { height: 40, borderRadius: 8 }),
9357
- /* @__PURE__ */ x.jsx(Be, { height: 40, borderRadius: 8 }),
9358
- /* @__PURE__ */ x.jsx(Be, { height: 40, borderRadius: 8 })
9359
+ /* @__PURE__ */ x.jsx(Se, { height: 40, borderRadius: 8 }),
9360
+ /* @__PURE__ */ x.jsx(Se, { height: 40, borderRadius: 8 }),
9361
+ /* @__PURE__ */ x.jsx(Se, { height: 40, borderRadius: 8 })
9359
9362
  ] }),
9360
9363
  /* @__PURE__ */ x.jsxs("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-3 place-content-center mt-3", children: [
9361
- /* @__PURE__ */ x.jsx(Be, { height: 44, borderRadius: 8 }),
9362
- /* @__PURE__ */ x.jsx(Be, { height: 40, borderRadius: 8 })
9364
+ /* @__PURE__ */ x.jsx(Se, { height: 44, borderRadius: 8 }),
9365
+ /* @__PURE__ */ x.jsx(Se, { height: 40, borderRadius: 8 })
9363
9366
  ] }),
9367
+ e,
9364
9368
  /* @__PURE__ */ x.jsxs("div", { className: "mt-7", children: [
9365
- /* @__PURE__ */ x.jsx(Be, { height: 20, width: 100, borderRadius: 4 }),
9369
+ /* @__PURE__ */ x.jsx(Se, { height: 20, width: 100, borderRadius: 4 }),
9366
9370
  /* @__PURE__ */ x.jsxs("div", { className: "flex flex-row gap-4 mt-2", children: [
9367
- /* @__PURE__ */ x.jsx("div", { className: "w-full md:max-w-[140px]", children: /* @__PURE__ */ x.jsx(Be, { height: 44, borderRadius: 8 }) }),
9368
- /* @__PURE__ */ x.jsx("div", { className: "w-full md:max-w-[80px]", children: /* @__PURE__ */ x.jsx(Be, { height: 40, borderRadius: 8 }) }),
9369
- /* @__PURE__ */ x.jsx("div", { className: "w-full md:max-w-[140px]", children: /* @__PURE__ */ x.jsx(Be, { height: 44, borderRadius: 8 }) })
9371
+ /* @__PURE__ */ x.jsx("div", { className: "w-full md:max-w-[140px]", children: /* @__PURE__ */ x.jsx(Se, { height: 44, borderRadius: 8 }) }),
9372
+ /* @__PURE__ */ x.jsx("div", { className: "w-full md:max-w-[80px]", children: /* @__PURE__ */ x.jsx(Se, { height: 40, borderRadius: 8 }) }),
9373
+ /* @__PURE__ */ x.jsx("div", { className: "w-full md:max-w-[140px]", children: /* @__PURE__ */ x.jsx(Se, { height: 44, borderRadius: 8 }) })
9370
9374
  ] })
9375
+ ] }),
9376
+ t && /* @__PURE__ */ x.jsxs("div", { className: "flex gap-3 mt-8 pt-4 border-t border-grayWarm-200", children: [
9377
+ /* @__PURE__ */ x.jsx(Se, { height: 40, borderRadius: 8, containerClassName: "flex-1" }),
9378
+ /* @__PURE__ */ x.jsx(Se, { height: 40, borderRadius: 8, containerClassName: "flex-1" })
9371
9379
  ] })
9372
9380
  ] });
9373
9381
  export {