@vehiclehistory/property-lib 0.0.57 → 0.0.59

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/main.es.js CHANGED
@@ -1,6 +1,6 @@
1
- import { jsx as o, jsxs as M, Fragment as S } from "react/jsx-runtime";
1
+ import { jsx as o, jsxs as M, Fragment as k } from "react/jsx-runtime";
2
2
  import { memo as x, useState as Z, useEffect as N, useRef as Q } from "react";
3
- import p from "classnames";
3
+ import u from "classnames";
4
4
  const U = {
5
5
  xxSmall: "w-4 h-4",
6
6
  xSmall: "w-5 h-5",
@@ -508,13 +508,13 @@ const U = {
508
508
  isOpen: r = !1
509
509
  }) => {
510
510
  const [l, i] = Z(r);
511
- return /* @__PURE__ */ o("div", { className: p("shadow rounded-lg", e), children: /* @__PURE__ */ M(S, { children: [
511
+ return /* @__PURE__ */ o("div", { className: u("shadow rounded-lg", e), children: /* @__PURE__ */ M(k, { children: [
512
512
  /* @__PURE__ */ M(
513
513
  "button",
514
514
  {
515
515
  type: "button",
516
516
  "data-div-track": `report | accordion | ${n}`,
517
- className: p(
517
+ className: u(
518
518
  "acc-a flex w-full justify-between items-center bg-gray-50 px-4 py-2 text-left font-medium text-slate-700 border border-gray-200 focus:outline-none focus-visible:ring focus-visible:ring-gray-500 focus-visible:ring-opacity-75",
519
519
  {
520
520
  "acc-o": l
@@ -540,7 +540,7 @@ const U = {
540
540
  s && l && /* @__PURE__ */ o(
541
541
  "div",
542
542
  {
543
- className: p(
543
+ className: u(
544
544
  "acc-p p-4 border-x border-b rounded-bl-lg rounded-br-lg border-gray-200 relative",
545
545
  a
546
546
  ),
@@ -550,7 +550,7 @@ const U = {
550
550
  !s && /* @__PURE__ */ o(
551
551
  "div",
552
552
  {
553
- className: p(
553
+ className: u(
554
554
  "acc-p p-4 border-x border-b rounded-bl-lg rounded-br-lg border-gray-200 relative",
555
555
  a,
556
556
  { hidden: !l }
@@ -559,7 +559,7 @@ const U = {
559
559
  }
560
560
  )
561
561
  ] }) });
562
- }, Q1 = x(X), _ = ({
562
+ }, U1 = x(X), _ = ({
563
563
  children: c,
564
564
  className: e = "",
565
565
  messages: t = [],
@@ -594,7 +594,7 @@ const U = {
594
594
  "div",
595
595
  {
596
596
  id: r,
597
- className: p(
597
+ className: u(
598
598
  "rounded w-full py-2 px-4 mb-4 border",
599
599
  h,
600
600
  e
@@ -611,13 +611,13 @@ const U = {
611
611
  }
612
612
  ) }),
613
613
  /* @__PURE__ */ M("div", { className: "ml-3", children: [
614
- /* @__PURE__ */ o("div", { className: p("font-medium text-sm", n), children: a }),
615
- t.length > 0 ? /* @__PURE__ */ o("div", { className: "mt-2 text-xs", children: /* @__PURE__ */ o("ul", { role: "list", className: "list-disc space-y-1 pl-5", children: t.map((u, C) => /* @__PURE__ */ o("li", { children: u }, C)) }) }) : ""
614
+ /* @__PURE__ */ o("div", { className: u("font-medium text-sm", n), children: a }),
615
+ t.length > 0 ? /* @__PURE__ */ o("div", { className: "mt-2 text-xs", children: /* @__PURE__ */ o("ul", { role: "list", className: "list-disc space-y-1 pl-5", children: t.map((p, C) => /* @__PURE__ */ o("li", { children: p }, C)) }) }) : ""
616
616
  ] })
617
617
  ] })
618
618
  }
619
619
  );
620
- }, U1 = x(_), e1 = ({
620
+ }, J1 = x(_), e1 = ({
621
621
  autoFocus: c = !1,
622
622
  className: e = "",
623
623
  dataSearch: t = "container",
@@ -629,7 +629,7 @@ const U = {
629
629
  mobileBackdrop: i = !1,
630
630
  name: d = "",
631
631
  options: h = [],
632
- placeholder: u = "",
632
+ placeholder: p = "",
633
633
  props: C = {},
634
634
  required: g = !1,
635
635
  showSearchIcon: v = !0,
@@ -643,13 +643,13 @@ const U = {
643
643
  id: s,
644
644
  "data-search": t,
645
645
  "data-search-type": w,
646
- className: p("Autocomplete", e),
646
+ className: u("Autocomplete", e),
647
647
  style: m ? { ...m } : null,
648
648
  children: [
649
649
  v && /* @__PURE__ */ M(
650
650
  "span",
651
651
  {
652
- className: p(
652
+ className: u(
653
653
  "search-icon-left absolute inset-y-0 left-0 flex items-center pl-2",
654
654
  {
655
655
  "pointer-events-none": i
@@ -682,7 +682,7 @@ const U = {
682
682
  {
683
683
  "data-lpignore": "true",
684
684
  autoFocus: c,
685
- className: p(
685
+ className: u(
686
686
  "w-full bg-white placeholder:bg-white rounded border border-gray-300 py-2 pr-8 shadow-sm focus:outline-none sm-max:text-sm placeholder:text-gray-500 sm-max:placeholder:text-sm placeholder-shown:text-ellipsis truncate",
687
687
  {
688
688
  "pl-8": v === !0,
@@ -696,7 +696,7 @@ const U = {
696
696
  required: g,
697
697
  autoComplete: "off",
698
698
  value: a,
699
- placeholder: !u && n ? " " : u,
699
+ placeholder: !p && n ? " " : p,
700
700
  type: "search",
701
701
  name: d || "search-input",
702
702
  "data-id": "search-input",
@@ -706,7 +706,7 @@ const U = {
706
706
  n && /* @__PURE__ */ o(
707
707
  "label",
708
708
  {
709
- className: p(
709
+ className: u(
710
710
  "floating-label absolute text-sm !normal-case text-gray-500 duration-300 transform -translate-y-4 scale-75 top-2 z-10 origin-[0] bg-white px-2 peer-focus:text-[#222] peer-focus:px-2 peer-focus:bg-white peer-placeholder-shown:bg-white peer-placeholder-shown:scale-100 peer-placeholder-shown:-translate-y-1/2 peer-placeholder-shown:top-1/2 peer-focus:top-2 peer-focus:scale-75 peer-focus:-translate-y-4 start-1 pointer-events-none",
711
711
  {
712
712
  "!left-7": v === !0,
@@ -765,17 +765,17 @@ const U = {
765
765
  "data-title": V,
766
766
  "aria-labelledby": "Label",
767
767
  "aria-activedescendant": "search-item-0",
768
- children: h.length > 0 ? h.map((b, k) => /* @__PURE__ */ o(
768
+ children: h.length > 0 ? h.map((b, S) => /* @__PURE__ */ o(
769
769
  "li",
770
770
  {
771
- id: `search-item-${k}`,
771
+ id: `search-item-${S}`,
772
772
  tabIndex: -1,
773
773
  className: "dropdown-item text-gray-900 cursor-default select-none py-2 pl-3 pr-4 truncate hover:bg-gray-50 font-normal focus:bg-gray-50 focus:text-green-400 focus-visible:outline-0",
774
- "aria-selected": k === 0,
774
+ "aria-selected": S === 0,
775
775
  role: "option",
776
776
  children: (b == null ? void 0 : b.name) || b
777
777
  },
778
- `search-item-${k}`
778
+ `search-item-${S}`
779
779
  )) : ""
780
780
  }
781
781
  )
@@ -784,7 +784,7 @@ const U = {
784
784
  )
785
785
  ]
786
786
  }
787
- ), J1 = e1, t1 = ({
787
+ ), Y1 = e1, t1 = ({
788
788
  children: c,
789
789
  className: e,
790
790
  size: t = "sm",
@@ -792,7 +792,7 @@ const U = {
792
792
  }) => /* @__PURE__ */ o(
793
793
  a || "span",
794
794
  {
795
- className: p(
795
+ className: u(
796
796
  " bg-gray-200 font-semibold py-1 px-2 rounded",
797
797
  {
798
798
  "text-sm": t === "sm",
@@ -803,7 +803,7 @@ const U = {
803
803
  ),
804
804
  children: c
805
805
  }
806
- ), Y1 = t1, a1 = ({
806
+ ), K1 = t1, a1 = ({
807
807
  borderless: c = !1,
808
808
  leftIcon: e,
809
809
  leftIconProps: t = {},
@@ -815,7 +815,7 @@ const U = {
815
815
  rightIcon: i,
816
816
  rightIconProps: d = {},
817
817
  rounded: h = !1,
818
- size: u = "md",
818
+ size: p = "md",
819
819
  type: C = "button",
820
820
  uppercase: g = !1,
821
821
  variation: v = "primary"
@@ -825,11 +825,11 @@ const U = {
825
825
  f,
826
826
  {
827
827
  type: f !== "a" ? C : null,
828
- className: p(
828
+ className: u(
829
829
  "button",
830
830
  {
831
831
  [`button--${v}`]: v,
832
- [`button--${u}`]: u,
832
+ [`button--${p}`]: p,
833
833
  "button--rounded": h,
834
834
  "button--disabled": s,
835
835
  "button--custom-link": r,
@@ -846,7 +846,7 @@ const U = {
846
846
  y,
847
847
  {
848
848
  name: e,
849
- size: u === "md" ? "small" : "xSmall",
849
+ size: p === "md" ? "small" : "xSmall",
850
850
  viewBox: "0 0 24 24",
851
851
  ...t
852
852
  }
@@ -856,7 +856,7 @@ const U = {
856
856
  y,
857
857
  {
858
858
  name: i,
859
- size: u === "md" ? "small" : "xSmall",
859
+ size: p === "md" ? "small" : "xSmall",
860
860
  viewBox: "0 0 24 24",
861
861
  ...d
862
862
  }
@@ -864,7 +864,7 @@ const U = {
864
864
  ]
865
865
  }
866
866
  );
867
- }, E = x(a1), n1 = ({ children: c, className: e }) => /* @__PURE__ */ o("div", { className: p("flex md:max-w-min border border-gray-300 divide-x divide-gray-200 rounded-lg", e), children: c }), K1 = n1, s1 = ({
867
+ }, E = x(a1), n1 = ({ children: c, className: e }) => /* @__PURE__ */ o("div", { className: u("flex md:max-w-min border border-gray-300 divide-x divide-gray-200 rounded-lg", e), children: c }), X1 = n1, s1 = ({
868
868
  block: c = !1,
869
869
  borderless: e = !1,
870
870
  children: t,
@@ -876,7 +876,7 @@ const U = {
876
876
  }) => /* @__PURE__ */ o(
877
877
  "div",
878
878
  {
879
- className: p(
879
+ className: u(
880
880
  "bg-white",
881
881
  {
882
882
  f1: !e,
@@ -890,7 +890,7 @@ const U = {
890
890
  role: l,
891
891
  children: t
892
892
  }
893
- ), X1 = s1, l1 = ({
893
+ ), _1 = s1, l1 = ({
894
894
  checked: c = !1,
895
895
  children: e,
896
896
  className: t = "",
@@ -903,18 +903,18 @@ const U = {
903
903
  variation: d = "primary",
904
904
  value: h = ""
905
905
  }) => {
906
- const u = r ? "div" : "label", C = u === "label" ? { htmlFor: s } : {};
906
+ const p = r ? "div" : "label", C = p === "label" ? { htmlFor: s } : {};
907
907
  return /* @__PURE__ */ M(
908
- u,
908
+ p,
909
909
  {
910
- className: p("checkbox flex items-center", d, t),
910
+ className: u("checkbox flex items-center", d, t),
911
911
  ...C,
912
912
  children: [
913
913
  /* @__PURE__ */ o(
914
914
  "input",
915
915
  {
916
916
  checked: c,
917
- className: p(
917
+ className: u(
918
918
  "form-checkbox ",
919
919
  {
920
920
  "!border-red-500 !bg-red-500 focus:!ring-red-500 focus:!border-red-500": a
@@ -932,11 +932,11 @@ const U = {
932
932
  ]
933
933
  }
934
934
  );
935
- }, _1 = x(l1), r1 = ({ children: c, aside: e, direction: t = "right" }) => /* @__PURE__ */ M("div", { className: "flex flex-col lg:flex-row lg:p-0 max-w-screen-lg", children: [
935
+ }, e2 = x(l1), r1 = ({ children: c, aside: e, direction: t = "right" }) => /* @__PURE__ */ M("div", { className: "flex flex-col lg:flex-row lg:p-0 max-w-screen-lg", children: [
936
936
  /* @__PURE__ */ o(
937
937
  "main",
938
938
  {
939
- className: p(
939
+ className: u(
940
940
  "w-full md:mb-0 flex-1 md:block lg:max-w-container",
941
941
  {
942
942
  "lg:order-2": t === "left"
@@ -948,7 +948,7 @@ const U = {
948
948
  /* @__PURE__ */ o(
949
949
  "aside",
950
950
  {
951
- className: p(
951
+ className: u(
952
952
  "sm-max:hidden md:hidden lg:block flex-1 max-w-aside mb-6 md:mb-0 empty:!hidden",
953
953
  {
954
954
  "md:ml-8": t === "right",
@@ -958,7 +958,7 @@ const U = {
958
958
  children: e
959
959
  }
960
960
  )
961
- ] }), e2 = x(r1), i1 = ({
961
+ ] }), t2 = x(r1), i1 = ({
962
962
  activator: c,
963
963
  id: e = "",
964
964
  children: t,
@@ -970,23 +970,23 @@ const U = {
970
970
  headerClass: i = "",
971
971
  hideClose: d = !1,
972
972
  iconSize: h = "medium",
973
- preventPageScroll: u = !0,
973
+ preventPageScroll: p = !0,
974
974
  stickyHeader: C = !1,
975
975
  title: g = "",
976
976
  titleClass: v = ""
977
- }) => /* @__PURE__ */ M(S, { children: [
977
+ }) => /* @__PURE__ */ M(k, { children: [
978
978
  c && /* @__PURE__ */ o("span", { id: `${e}-dialog-activator`, children: c }),
979
979
  /* @__PURE__ */ o(
980
980
  "dialog",
981
981
  {
982
982
  inert: "",
983
983
  id: `${e}-dialog`,
984
- className: p(
984
+ className: u(
985
985
  "dialog",
986
986
  {
987
987
  "dialog-full-mobile": l,
988
988
  dark: s,
989
- "prevent-scroll": u
989
+ "prevent-scroll": p
990
990
  },
991
991
  a
992
992
  ),
@@ -994,7 +994,7 @@ const U = {
994
994
  /* @__PURE__ */ M(
995
995
  "header",
996
996
  {
997
- className: p(
997
+ className: u(
998
998
  "dialog-header",
999
999
  {
1000
1000
  "sticky top-0 bg-white z-10": C,
@@ -1030,7 +1030,7 @@ const U = {
1030
1030
  "div",
1031
1031
  {
1032
1032
  id: `${e}-dialog-content`,
1033
- className: p("dialog-content", n),
1033
+ className: u("dialog-content", n),
1034
1034
  children: t
1035
1035
  }
1036
1036
  ),
@@ -1038,7 +1038,7 @@ const U = {
1038
1038
  ] })
1039
1039
  }
1040
1040
  )
1041
- ] }), t2 = x(i1), o1 = ({
1041
+ ] }), a2 = x(i1), o1 = ({
1042
1042
  activator: c,
1043
1043
  id: e = "",
1044
1044
  children: t,
@@ -1050,7 +1050,7 @@ const U = {
1050
1050
  fullMobile: i = !0,
1051
1051
  headerClass: d = "",
1052
1052
  hideClose: h = !1,
1053
- iconSize: u = "medium",
1053
+ iconSize: p = "medium",
1054
1054
  isOpen: C = !1,
1055
1055
  setDialogOpen: g,
1056
1056
  stickyHeader: v = !1,
@@ -1061,7 +1061,7 @@ const U = {
1061
1061
  V.current.classList.add("closing"), await q(V.current), V.current.classList.remove("closing"), s && s(), g(!1);
1062
1062
  }, b = async (A) => {
1063
1063
  A.key === "Escape" && await w();
1064
- }, k = async ({ clientX: A, clientY: z, target: j }) => {
1064
+ }, S = async ({ clientX: A, clientY: z, target: j }) => {
1065
1065
  const { left: P, right: R, top: W, bottom: G } = V.current.getBoundingClientRect() ?? {};
1066
1066
  (!V.current.contains(j) || A < P || A > R || z < W || z > G) && await w();
1067
1067
  }, q = (A) => Promise.allSettled(
@@ -1070,14 +1070,14 @@ const U = {
1070
1070
  return N(() => {
1071
1071
  const A = V.current;
1072
1072
  A && (C ? A.showModal() : typeof A.close == "function" && A.close());
1073
- }, [C]), /* @__PURE__ */ M(S, { children: [
1073
+ }, [C]), /* @__PURE__ */ M(k, { children: [
1074
1074
  c && /* @__PURE__ */ o("span", { id: `${e}-dialog-activator`, onClick: () => g(!0), children: c }),
1075
1075
  /* @__PURE__ */ M(
1076
1076
  "dialog",
1077
1077
  {
1078
1078
  ref: V,
1079
1079
  id: `${e}-dialog`,
1080
- className: p(
1080
+ className: u(
1081
1081
  "dialog",
1082
1082
  {
1083
1083
  hidden: !C,
@@ -1086,12 +1086,12 @@ const U = {
1086
1086
  a
1087
1087
  ),
1088
1088
  onKeyDown: b,
1089
- onClick: (A) => r ? null : k(A),
1089
+ onClick: (A) => r ? null : S(A),
1090
1090
  children: [
1091
1091
  /* @__PURE__ */ M(
1092
1092
  "header",
1093
1093
  {
1094
- className: p(
1094
+ className: u(
1095
1095
  "dialog-header flex items-center p-4",
1096
1096
  { "sticky top-0 bg-white": v },
1097
1097
  d
@@ -1110,7 +1110,7 @@ const U = {
1110
1110
  y,
1111
1111
  {
1112
1112
  name: "close",
1113
- size: u,
1113
+ size: p,
1114
1114
  className: "pointer-events-none"
1115
1115
  }
1116
1116
  )
@@ -1123,7 +1123,7 @@ const U = {
1123
1123
  "div",
1124
1124
  {
1125
1125
  id: `${e}-dialog-content`,
1126
- className: p("dialog-content p-4", n),
1126
+ className: u("dialog-content p-4", n),
1127
1127
  children: t
1128
1128
  }
1129
1129
  ),
@@ -1139,7 +1139,7 @@ const U = {
1139
1139
  }
1140
1140
  )
1141
1141
  ] });
1142
- }, a2 = x(o1), c1 = ({ className: c = "" }) => /* @__PURE__ */ M("div", { id: "dots", className: p("mx-auto", c), children: [
1142
+ }, n2 = x(o1), c1 = ({ className: c = "" }) => /* @__PURE__ */ M("div", { id: "dots", className: u("mx-auto", c), children: [
1143
1143
  /* @__PURE__ */ o("span", { style: { animationDelay: "0.1s" } }),
1144
1144
  /* @__PURE__ */ o("span", { style: { animationDelay: "0.2s" } }),
1145
1145
  /* @__PURE__ */ o("span", { style: { animationDelay: "0.3s" } }),
@@ -1148,7 +1148,7 @@ const U = {
1148
1148
  /* @__PURE__ */ o("span", { style: { animationDelay: "0.6s" } }),
1149
1149
  /* @__PURE__ */ o("span", { style: { animationDelay: "0.7s" } }),
1150
1150
  /* @__PURE__ */ o("span", { style: { animationDelay: "0.8s" } })
1151
- ] }), n2 = c1, d1 = ({
1151
+ ] }), s2 = c1, d1 = ({
1152
1152
  cb: c,
1153
1153
  onUpdate: e,
1154
1154
  className: t = "",
@@ -1159,15 +1159,15 @@ const U = {
1159
1159
  function r({ cb: l }) {
1160
1160
  const i = document.querySelector(".loading-bar__inner");
1161
1161
  if (!i) return;
1162
- let d, h, u = !1;
1162
+ let d, h, p = !1;
1163
1163
  function C(g) {
1164
1164
  d === void 0 && (d = g);
1165
1165
  const v = g - d;
1166
1166
  if (h !== g) {
1167
1167
  const f = v / n * 101;
1168
- i.style.width = `${f}%`, e && e({ elapsed: v, percentage: f }), f >= 101 && (l && l(), u = !0, window.cancelAnimationFrame(g));
1168
+ i.style.width = `${f}%`, e && e({ elapsed: v, percentage: f }), f >= 101 && (l && l(), p = !0, window.cancelAnimationFrame(g));
1169
1169
  }
1170
- v < n && (h = g, u || window.requestAnimationFrame(C));
1170
+ v < n && (h = g, p || window.requestAnimationFrame(C));
1171
1171
  }
1172
1172
  window.requestAnimationFrame(C);
1173
1173
  }
@@ -1176,7 +1176,7 @@ const U = {
1176
1176
  }, []), /* @__PURE__ */ o(
1177
1177
  "div",
1178
1178
  {
1179
- className: p(
1179
+ className: u(
1180
1180
  "loading-bar my-8",
1181
1181
  `loading-bar__${s}`,
1182
1182
  {
@@ -1190,18 +1190,7 @@ const U = {
1190
1190
  children: /* @__PURE__ */ o("div", { className: "loading-bar__inner", "data-size": "100" })
1191
1191
  }
1192
1192
  );
1193
- }, s2 = x(d1), h1 = {
1194
- name: "spinnerDark",
1195
- color: "text-teal-700",
1196
- viewBox: "0 0 24 24"
1197
- }, u1 = ({ className: c = "" }) => /* @__PURE__ */ o("div", { className: "rounded-r-md px-2 focus:outline-none", children: /* @__PURE__ */ o(
1198
- y,
1199
- {
1200
- size: "xSmall",
1201
- ...h1,
1202
- className: `animate-spin ${c}`
1203
- }
1204
- ) }), l2 = x(u1), p1 = ({
1193
+ }, l2 = x(d1), h1 = ({ className: c }) => /* @__PURE__ */ o("div", { className: u("processing-spinner", c) }), r2 = x(h1), u1 = ({
1205
1194
  activator: c,
1206
1195
  activatorClass: e = "",
1207
1196
  attrs: t = {},
@@ -1212,15 +1201,15 @@ const U = {
1212
1201
  disabled: l = !1,
1213
1202
  id: i = "",
1214
1203
  trigger: d = "click"
1215
- }) => /* @__PURE__ */ M(S, { children: [
1204
+ }) => /* @__PURE__ */ M(k, { children: [
1216
1205
  /* @__PURE__ */ o(
1217
1206
  "div",
1218
1207
  {
1219
- className: p("popover z-10 max-w-[350px] hidden", s),
1208
+ className: u("popover z-10 max-w-[350px] hidden", s),
1220
1209
  children: /* @__PURE__ */ M(
1221
1210
  "div",
1222
1211
  {
1223
- className: p(
1212
+ className: u(
1224
1213
  "popover-container rounded border bg-gray-50 border-gray-300 shadow-md text-gray-500 animate-menu-close",
1225
1214
  r
1226
1215
  ),
@@ -1241,7 +1230,7 @@ const U = {
1241
1230
  /* @__PURE__ */ o(
1242
1231
  "div",
1243
1232
  {
1244
- className: p(
1233
+ className: u(
1245
1234
  "popover-activator",
1246
1235
  `trigger-${d}`,
1247
1236
  l ? "is-disabled" : "",
@@ -1252,7 +1241,7 @@ const U = {
1252
1241
  children: c
1253
1242
  }
1254
1243
  )
1255
- ] }), r2 = p1, m1 = ({
1244
+ ] }), i2 = u1, p1 = ({
1256
1245
  ariaValuemax: c = 100,
1257
1246
  ariaValuemin: e = 0,
1258
1247
  bgColor: t = "bg-orange-500",
@@ -1262,9 +1251,9 @@ const U = {
1262
1251
  rounded: r = !0,
1263
1252
  showLabel: l = !1
1264
1253
  }) => {
1265
- const d = ((h, u) => {
1254
+ const d = ((h, p) => {
1266
1255
  if (h) {
1267
- const C = Number(u) / h;
1256
+ const C = Number(p) / h;
1268
1257
  return C > 1 ? 100 : C * 100;
1269
1258
  }
1270
1259
  return n;
@@ -1272,7 +1261,7 @@ const U = {
1272
1261
  return /* @__PURE__ */ o(
1273
1262
  "div",
1274
1263
  {
1275
- className: p(
1264
+ className: u(
1276
1265
  "w-full bg-gray-200",
1277
1266
  { "rounded-full": r },
1278
1267
  a
@@ -1285,7 +1274,7 @@ const U = {
1285
1274
  children: /* @__PURE__ */ o(
1286
1275
  "div",
1287
1276
  {
1288
- className: p(
1277
+ className: u(
1289
1278
  "h-full text-right flex items-center justify-end rounded-full",
1290
1279
  t
1291
1280
  ),
@@ -1295,7 +1284,7 @@ const U = {
1295
1284
  )
1296
1285
  }
1297
1286
  );
1298
- }, i2 = x(m1), f1 = ({
1287
+ }, o2 = x(p1), m1 = ({
1299
1288
  checked: c = !1,
1300
1289
  children: e,
1301
1290
  className: t = "",
@@ -1310,14 +1299,14 @@ const U = {
1310
1299
  return /* @__PURE__ */ M(
1311
1300
  d,
1312
1301
  {
1313
- className: p("radio flex items-center", t),
1302
+ className: u("radio flex items-center", t),
1314
1303
  ...h,
1315
1304
  children: [
1316
1305
  /* @__PURE__ */ o(
1317
1306
  "input",
1318
1307
  {
1319
1308
  checked: c,
1320
- className: p(
1309
+ className: u(
1321
1310
  "form-radio focus:ring-2 focus:ring-offset-2 focus-within:outline-none",
1322
1311
  {
1323
1312
  "focus:ring-[#222]": l === "primary"
@@ -1334,7 +1323,7 @@ const U = {
1334
1323
  ]
1335
1324
  }
1336
1325
  );
1337
- }, o2 = x(f1), V1 = ({
1326
+ }, c2 = x(m1), f1 = ({
1338
1327
  children: c,
1339
1328
  className: e = "",
1340
1329
  error: t = !1,
@@ -1346,7 +1335,7 @@ const U = {
1346
1335
  placeholder: i = "",
1347
1336
  props: d = {},
1348
1337
  selectClass: h = "",
1349
- styles: u = null,
1338
+ styles: p = null,
1350
1339
  variation: C = "primary",
1351
1340
  value: g
1352
1341
  }) => {
@@ -1354,14 +1343,14 @@ const U = {
1354
1343
  return /* @__PURE__ */ M(
1355
1344
  "label",
1356
1345
  {
1357
- className: p("relative select", e, C),
1358
- style: u ? { ...u } : null,
1346
+ className: u("relative select", e, C),
1347
+ style: p ? { ...p } : null,
1359
1348
  children: [
1360
1349
  s,
1361
1350
  /* @__PURE__ */ M(
1362
1351
  "select",
1363
1352
  {
1364
- className: p(
1353
+ className: u(
1365
1354
  "form-select relative bg-white pl-3 pr-10 text-left cursor-default",
1366
1355
  t ? "!border-red-500 !bg-red-500/10 !text-red-700 focus:!ring-red-500 focus:!border-red-500" : "",
1367
1356
  h
@@ -1388,10 +1377,10 @@ const U = {
1388
1377
  ]
1389
1378
  }
1390
1379
  );
1391
- }, c2 = x(V1), H1 = ({ className: c = "" }) => /* @__PURE__ */ M(
1380
+ }, d2 = x(f1), V1 = ({ className: c = "" }) => /* @__PURE__ */ M(
1392
1381
  "div",
1393
1382
  {
1394
- className: p(
1383
+ className: u(
1395
1384
  "flex justify-center items-center bg-gray-200 rounded-lg animate-pulse",
1396
1385
  c
1397
1386
  ),
@@ -1400,13 +1389,13 @@ const U = {
1400
1389
  /* @__PURE__ */ o("span", { className: "sr-only", children: "Loading..." })
1401
1390
  ]
1402
1391
  }
1403
- ), d2 = x(H1), C1 = ({
1392
+ ), h2 = x(V1), H1 = ({
1404
1393
  placeholderClass: c = "",
1405
1394
  children: e,
1406
1395
  className: t = "",
1407
1396
  id: a = 1,
1408
1397
  padding: n = !0
1409
- }) => /* @__PURE__ */ M("div", { className: p("slider", t), id: `slider-${a}`, children: [
1398
+ }) => /* @__PURE__ */ M("div", { className: u("slider", t), id: `slider-${a}`, children: [
1410
1399
  /* @__PURE__ */ o(
1411
1400
  "button",
1412
1401
  {
@@ -1435,7 +1424,18 @@ const U = {
1435
1424
  children: /* @__PURE__ */ o(y, { name: "chevronRight" })
1436
1425
  }
1437
1426
  )
1438
- ] }), h2 = x(C1), L1 = ({
1427
+ ] }), u2 = x(H1), C1 = {
1428
+ name: "spinnerDark",
1429
+ color: "text-teal-700",
1430
+ viewBox: "0 0 24 24"
1431
+ }, L1 = ({ className: c = "" }) => /* @__PURE__ */ o("div", { className: "rounded-r-md px-2 focus:outline-none", children: /* @__PURE__ */ o(
1432
+ y,
1433
+ {
1434
+ size: "xSmall",
1435
+ ...C1,
1436
+ className: `animate-spin ${c}`
1437
+ }
1438
+ ) }), p2 = x(L1), g1 = ({
1439
1439
  className: c = "",
1440
1440
  value: e
1441
1441
  }) => {
@@ -1445,14 +1445,14 @@ const U = {
1445
1445
  return /* @__PURE__ */ o(
1446
1446
  "div",
1447
1447
  {
1448
- className: p(
1448
+ className: u(
1449
1449
  'Stars inline-block leading-none font-sans text-base before:content-["★★★★★"]',
1450
1450
  c
1451
1451
  ),
1452
1452
  style: t
1453
1453
  }
1454
1454
  );
1455
- }, u2 = L1, g1 = ({
1455
+ }, m2 = g1, M1 = ({
1456
1456
  className: c = "",
1457
1457
  clear: e = !1,
1458
1458
  error: t = !1,
@@ -1464,7 +1464,7 @@ const U = {
1464
1464
  props: i = {},
1465
1465
  rows: d = 4,
1466
1466
  variation: h = "primary"
1467
- }) => /* @__PURE__ */ M("div", { className: p("relative textarea", h, c), children: [
1467
+ }) => /* @__PURE__ */ M("div", { className: u("relative textarea", h, c), children: [
1468
1468
  /* @__PURE__ */ o(
1469
1469
  "textarea",
1470
1470
  {
@@ -1472,7 +1472,7 @@ const U = {
1472
1472
  id: n,
1473
1473
  name: r,
1474
1474
  rows: d,
1475
- className: p(
1475
+ className: u(
1476
1476
  "form-textarea min-h-[40px] pl-4",
1477
1477
  e ? "pr-10" : "pr-4",
1478
1478
  t ? "!border-red-500 !bg-red-500/10 placeholder:!text-red-700 focus:!ring-red-500 focus:!border-red-500" : "",
@@ -1497,7 +1497,7 @@ const U = {
1497
1497
  }
1498
1498
  ),
1499
1499
  a && /* @__PURE__ */ o("span", { className: "relative flex mt-0.5 text-red-700 text-xs text-left", children: a })
1500
- ] }), M1 = x(g1), v1 = ({
1500
+ ] }), v1 = x(M1), b1 = ({
1501
1501
  className: c = "",
1502
1502
  clear: e = !1,
1503
1503
  error: t = !1,
@@ -1509,13 +1509,13 @@ const U = {
1509
1509
  placeholder: i = "",
1510
1510
  props: d = {},
1511
1511
  styles: h = null,
1512
- type: u = "text",
1512
+ type: p = "text",
1513
1513
  value: C,
1514
1514
  variation: g = "primary"
1515
1515
  }) => /* @__PURE__ */ M(
1516
1516
  "div",
1517
1517
  {
1518
- className: p("relative textbox", g, c),
1518
+ className: u("relative textbox", g, c),
1519
1519
  style: h ? { ...h } : null,
1520
1520
  children: [
1521
1521
  n && /* @__PURE__ */ o("div", { className: "pointer-events-none absolute inset-y-0 left-0 flex items-center px-2", children: /* @__PURE__ */ o(
@@ -1533,10 +1533,10 @@ const U = {
1533
1533
  placeholder: i,
1534
1534
  id: s,
1535
1535
  name: l,
1536
- type: u,
1536
+ type: p,
1537
1537
  value: C,
1538
1538
  autoComplete: "off",
1539
- className: p(
1539
+ className: u(
1540
1540
  "form-input",
1541
1541
  e ? "pr-10" : "pr-4",
1542
1542
  n ? "pl-8" : "pl-4",
@@ -1567,7 +1567,7 @@ const U = {
1567
1567
  a && /* @__PURE__ */ o("span", { className: "relative flex mt-0.5 text-red-700 text-xs text-left", children: a })
1568
1568
  ]
1569
1569
  }
1570
- ), F = x(v1), b1 = ({
1570
+ ), F = x(b1), x1 = ({
1571
1571
  btnClass: c,
1572
1572
  className: e = "",
1573
1573
  containerClass: t,
@@ -1576,13 +1576,13 @@ const U = {
1576
1576
  titleClass: s,
1577
1577
  uppercase: r = !0
1578
1578
  }) => {
1579
- const l = a || /* @__PURE__ */ M(S, { children: [
1579
+ const l = a || /* @__PURE__ */ M(k, { children: [
1580
1580
  "Typical email response time is 2-3 hours. If you require immediate assistance you may use our",
1581
1581
  " ",
1582
1582
  /* @__PURE__ */ o(
1583
1583
  E,
1584
1584
  {
1585
- className: p(
1585
+ className: u(
1586
1586
  "text-black-900 items-center gap-2 live-chat uppercase !inline-flex"
1587
1587
  ),
1588
1588
  variation: "link",
@@ -1597,16 +1597,16 @@ const U = {
1597
1597
  "form",
1598
1598
  {
1599
1599
  id: "contactForm",
1600
- className: p("contact-form", t, {
1600
+ className: u("contact-form", t, {
1601
1601
  uppercase: r
1602
1602
  }),
1603
1603
  children: [
1604
- /* @__PURE__ */ o("h2", { id: "contact-title", className: p("mb-4", s), children: n }),
1604
+ /* @__PURE__ */ o("h2", { id: "contact-title", className: u("mb-4", s), children: n }),
1605
1605
  /* @__PURE__ */ o("p", { className: "contact-form__msg", children: l }),
1606
1606
  /* @__PURE__ */ M(
1607
1607
  "div",
1608
1608
  {
1609
- className: p(
1609
+ className: u(
1610
1610
  "p-6 bg-gray-100 flex flex-col gap-y-3 max-w-[458px]",
1611
1611
  e
1612
1612
  ),
@@ -1617,7 +1617,7 @@ const U = {
1617
1617
  id: "contact-name",
1618
1618
  name: "contact-name",
1619
1619
  placeholder: "Name",
1620
- inputClass: p({
1620
+ inputClass: u({
1621
1621
  "placeholder:uppercase": r
1622
1622
  })
1623
1623
  }
@@ -1628,18 +1628,18 @@ const U = {
1628
1628
  id: "contact-email",
1629
1629
  name: "contact-email",
1630
1630
  placeholder: "Email",
1631
- inputClass: p({
1631
+ inputClass: u({
1632
1632
  "placeholder:uppercase": r
1633
1633
  })
1634
1634
  }
1635
1635
  ),
1636
1636
  /* @__PURE__ */ o(
1637
- M1,
1637
+ v1,
1638
1638
  {
1639
1639
  id: "contact-message",
1640
1640
  name: "contact-message",
1641
1641
  placeholder: "Message",
1642
- inputClass: p({
1642
+ inputClass: u({
1643
1643
  "placeholder:uppercase": r
1644
1644
  })
1645
1645
  }
@@ -1647,7 +1647,7 @@ const U = {
1647
1647
  /* @__PURE__ */ o(
1648
1648
  E,
1649
1649
  {
1650
- className: p(
1650
+ className: u(
1651
1651
  "flex mx-auto items-center",
1652
1652
  {
1653
1653
  uppercase: r
@@ -1665,7 +1665,7 @@ const U = {
1665
1665
  ]
1666
1666
  }
1667
1667
  );
1668
- }, p2 = x(b1), x1 = ({
1668
+ }, f2 = x(x1), y1 = ({
1669
1669
  block: c = !1,
1670
1670
  children: e,
1671
1671
  className: t,
@@ -1678,11 +1678,11 @@ const U = {
1678
1678
  props: d = {},
1679
1679
  variation: h = "primary"
1680
1680
  }) => {
1681
- const u = i ? "ul" : "div";
1681
+ const p = i ? "ul" : "div";
1682
1682
  return /* @__PURE__ */ M(
1683
1683
  "div",
1684
1684
  {
1685
- className: p(
1685
+ className: u(
1686
1686
  "content-card",
1687
1687
  { "content-card--block": c },
1688
1688
  `content-card--${h}`,
@@ -1690,20 +1690,20 @@ const U = {
1690
1690
  ),
1691
1691
  ...d,
1692
1692
  children: [
1693
- r && /* @__PURE__ */ o("div", { className: p("content-card__header", l), children: typeof r == "string" ? /* @__PURE__ */ o("h3", { children: r }) : r }),
1693
+ r && /* @__PURE__ */ o("div", { className: u("content-card__header", l), children: typeof r == "string" ? /* @__PURE__ */ o("h3", { children: r }) : r }),
1694
1694
  /* @__PURE__ */ o(
1695
- u,
1695
+ p,
1696
1696
  {
1697
- className: p("content-card__content", a),
1697
+ className: u("content-card__content", a),
1698
1698
  role: i ? "list" : null,
1699
1699
  children: e
1700
1700
  }
1701
1701
  ),
1702
- s && /* @__PURE__ */ o("div", { className: p("content-card__footer", n), children: s })
1702
+ s && /* @__PURE__ */ o("div", { className: u("content-card__footer", n), children: s })
1703
1703
  ]
1704
1704
  }
1705
1705
  );
1706
- }, m2 = x(x1), y1 = ({
1706
+ }, V2 = x(y1), A1 = ({
1707
1707
  children: c,
1708
1708
  className: e,
1709
1709
  colGap: t = 2,
@@ -1718,7 +1718,7 @@ const U = {
1718
1718
  }) => /* @__PURE__ */ M(
1719
1719
  "div",
1720
1720
  {
1721
- className: p(
1721
+ className: u(
1722
1722
  "flex",
1723
1723
  {
1724
1724
  "flex-col items-start": a === "col",
@@ -1733,12 +1733,12 @@ const U = {
1733
1733
  },
1734
1734
  ...r,
1735
1735
  children: [
1736
- n && /* @__PURE__ */ o("div", { className: p("item-label", s), children: n }),
1737
- i && /* @__PURE__ */ o("div", { className: p("item-value", d), children: i }),
1736
+ n && /* @__PURE__ */ o("div", { className: u("item-label", s), children: n }),
1737
+ i && /* @__PURE__ */ o("div", { className: u("item-value", d), children: i }),
1738
1738
  c
1739
1739
  ]
1740
1740
  }
1741
- ), f2 = x(y1), A1 = ({
1741
+ ), H2 = x(A1), w1 = ({
1742
1742
  breakPage: c = !1,
1743
1743
  children: e,
1744
1744
  className: t,
@@ -1750,7 +1750,7 @@ const U = {
1750
1750
  }) => /* @__PURE__ */ M(
1751
1751
  "section",
1752
1752
  {
1753
- className: p(
1753
+ className: u(
1754
1754
  "spacer",
1755
1755
  {
1756
1756
  "print:!hidden": a,
@@ -1760,20 +1760,20 @@ const U = {
1760
1760
  ),
1761
1761
  ...n,
1762
1762
  children: [
1763
- s && /* @__PURE__ */ o("h2", { className: p("spacer-title", r), id: l, children: s }),
1763
+ s && /* @__PURE__ */ o("h2", { className: u("spacer-title", r), id: l, children: s }),
1764
1764
  e
1765
1765
  ]
1766
1766
  }
1767
- ), V2 = A1, w1 = ({ children: c, className: e, list: t = !0 }) => /* @__PURE__ */ o(t ? "li" : "div", { className: p("stacked-list", e), children: c }), H2 = w1, k1 = ({ children: c, className: e = "", tag: t = "h1", title: a }) => /* @__PURE__ */ o(
1767
+ ), C2 = w1, S1 = ({ children: c, className: e, list: t = !0 }) => /* @__PURE__ */ o(t ? "li" : "div", { className: u("stacked-list", e), children: c }), L2 = S1, k1 = ({ children: c, className: e = "", tag: t = "h1", title: a }) => /* @__PURE__ */ o(
1768
1768
  t,
1769
1769
  {
1770
- className: p(
1770
+ className: u(
1771
1771
  "!header-4-medium text-center mb-6 flex items-center justify-center",
1772
1772
  e
1773
1773
  ),
1774
1774
  children: a || c
1775
1775
  }
1776
- ), C2 = x(k1), S1 = {
1776
+ ), g2 = x(k1), z1 = {
1777
1777
  circular: "circular 3s linear infinite",
1778
1778
  "circular-reverse": "circular 3s linear reverse infinite",
1779
1779
  "fade-in": "fade-in 0.2.5s ease-out",
@@ -1785,17 +1785,17 @@ const U = {
1785
1785
  "menu-open": "menu-open 0.1s ease-out",
1786
1786
  "menu-close": "menu-close 0.1s ease-in-out",
1787
1787
  indeterminate_first: "indeterminate_first 1.1s ease-in-out infinite"
1788
- }, z1 = {
1789
- map: "var(--map)"
1790
1788
  }, N1 = {
1789
+ map: "var(--map)"
1790
+ }, Z1 = {
1791
1791
  "3xs": "0.5rem",
1792
1792
  xxs: "0.625rem",
1793
1793
  "2.5xl": "1.625rem",
1794
1794
  "2.75xl": "1.75rem",
1795
1795
  "3.5xl": "2rem"
1796
- }, Z1 = {
1797
- 17: "repeat(17, minmax(0, 1fr))"
1798
1796
  }, E1 = {
1797
+ 17: "repeat(17, minmax(0, 1fr))"
1798
+ }, F1 = {
1799
1799
  circular: {
1800
1800
  "100%": {
1801
1801
  transform: "rotate(360deg)"
@@ -1885,46 +1885,49 @@ const U = {
1885
1885
  transform: "translateX(100%)"
1886
1886
  }
1887
1887
  }
1888
- }, F1 = {
1888
+ }, B1 = {
1889
1889
  20: "5rem",
1890
1890
  24: "6rem",
1891
1891
  28: "7rem",
1892
1892
  32: "8rem"
1893
- }, B1 = {
1893
+ }, D1 = {
1894
1894
  aside: "268px",
1895
1895
  container: "724px",
1896
1896
  page: "1200px"
1897
- }, D1 = {
1898
- "sm-max": {
1899
- max: "767px"
1900
- },
1897
+ }, $1 = {
1901
1898
  "xs-max": {
1902
1899
  max: "639px"
1903
1900
  },
1901
+ "sm-max": {
1902
+ max: "767px"
1903
+ },
1904
1904
  "md-max": {
1905
1905
  max: "895px"
1906
1906
  },
1907
1907
  "md-up": "896px",
1908
+ "screen-lg-max": {
1909
+ max: "1023px"
1910
+ },
1908
1911
  "lg-max": {
1909
1912
  max: "1199px"
1910
1913
  },
1911
1914
  "lg-up": "1200px"
1912
- }, $1 = {
1915
+ }, T1 = {
1913
1916
  0: "0ms",
1914
1917
  50: "50ms"
1915
- }, T1 = {
1918
+ }, I1 = {
1916
1919
  "center-top": "center 30%"
1917
1920
  }, D = {
1918
- animation: S1,
1919
- backgroundImage: z1,
1920
- fontSize: N1,
1921
- gridTemplateColumns: Z1,
1922
- keyframes: E1,
1923
- margin: F1,
1924
- maxWidth: B1,
1925
- screens: D1,
1926
- transitionDuration: $1,
1927
- transformOrigin: T1
1921
+ animation: z1,
1922
+ backgroundImage: N1,
1923
+ fontSize: Z1,
1924
+ gridTemplateColumns: E1,
1925
+ keyframes: F1,
1926
+ margin: B1,
1927
+ maxWidth: D1,
1928
+ screens: $1,
1929
+ transitionDuration: T1,
1930
+ transformOrigin: I1
1928
1931
  }, $ = {
1929
1932
  black: {
1930
1933
  50: "#FCFCFC",
@@ -2030,10 +2033,10 @@ const U = {
2030
2033
  purple: "hsl(279 85% 57%)",
2031
2034
  white: "hsl(0 0% 100%)",
2032
2035
  transparent: "hsl(0 0% 100% / 0)"
2033
- }, L2 = {
2036
+ }, M2 = {
2034
2037
  ...$,
2035
2038
  ...T
2036
- }, I1 = ({ matchUtilities: c, theme: e }) => c(
2039
+ }, O1 = ({ matchUtilities: c, theme: e }) => c(
2037
2040
  {
2038
2041
  aspect: (t) => ({
2039
2042
  "@supports (aspect-ratio: 1 / 1)": {
@@ -2054,7 +2057,7 @@ const U = {
2054
2057
  })
2055
2058
  },
2056
2059
  { values: e("aspectRatio") }
2057
- ), O1 = ({ matchUtilities: c, theme: e }) => c(
2060
+ ), q1 = ({ matchUtilities: c, theme: e }) => c(
2058
2061
  {
2059
2062
  "animation-delay": (t) => ({
2060
2063
  "animation-delay": t
@@ -2063,11 +2066,11 @@ const U = {
2063
2066
  {
2064
2067
  values: e("transitionDelay")
2065
2068
  }
2066
- ), q1 = ({ matchUtilities: c }) => c({
2069
+ ), j1 = ({ matchUtilities: c }) => c({
2067
2070
  "max-inline": (e) => ({
2068
2071
  "max-inline-size": e
2069
2072
  })
2070
- }), j1 = ({ matchUtilities: c }) => c({
2073
+ }), P1 = ({ matchUtilities: c }) => c({
2071
2074
  "max-block": (e) => ({
2072
2075
  "max-block-size": e
2073
2076
  })
@@ -2083,17 +2086,17 @@ const U = {
2083
2086
  }) => {
2084
2087
  const i = {};
2085
2088
  Object.entries(s).forEach(([d, h]) => {
2086
- const u = {
2089
+ const p = {
2087
2090
  "font-size": h,
2088
2091
  ...a
2089
2092
  }, C = `.${e(`${t}-${d}`)}`, g = n ? n({ sizeKey: d, sizeValue: h }) : {};
2090
2093
  i[C] = {
2091
- ...u,
2094
+ ...p,
2092
2095
  ...g
2093
2096
  }, Object.entries(r).forEach(([v, f]) => {
2094
2097
  const m = `.${e(`${t}-${d}-${v}`)}`, V = l ? l({ sizeKey: d, sizeValue: h, weightKey: v, weightValue: f }) : {};
2095
2098
  i[m] = {
2096
- ...u,
2099
+ ...p,
2097
2100
  "font-weight": f,
2098
2101
  ...V
2099
2102
  };
@@ -2202,16 +2205,16 @@ const U = {
2202
2205
  classPrefix: "text-body",
2203
2206
  sizes: l,
2204
2207
  weights: s
2205
- }), I1({ matchUtilities: e, theme: t }), O1({ matchUtilities: e, theme: t }), q1({ matchUtilities: e }), j1({ matchUtilities: e });
2208
+ }), O1({ matchUtilities: e, theme: t }), q1({ matchUtilities: e, theme: t }), j1({ matchUtilities: e }), P1({ matchUtilities: e });
2206
2209
  }
2207
- ], g2 = {
2210
+ ], v2 = {
2208
2211
  theme: {
2209
2212
  extend: D,
2210
2213
  colors: $
2211
2214
  },
2212
2215
  plugins: O,
2213
2216
  corePlugins: I
2214
- }, M2 = {
2217
+ }, b2 = {
2215
2218
  theme: {
2216
2219
  extend: D,
2217
2220
  colors: T
@@ -2219,7 +2222,7 @@ const U = {
2219
2222
  plugins: O,
2220
2223
  corePlugins: I
2221
2224
  };
2222
- function P1(c, e = []) {
2225
+ function R1(c, e = []) {
2223
2226
  return new Proxy(c, {
2224
2227
  get: function(t, a) {
2225
2228
  return t[a];
@@ -2230,39 +2233,39 @@ function P1(c, e = []) {
2230
2233
  }
2231
2234
  });
2232
2235
  }
2233
- function v2(c, e = []) {
2236
+ function x2(c, e = []) {
2234
2237
  e.length && (c == null || c.classList.add(...e));
2235
2238
  }
2236
- function b2(c, e = []) {
2239
+ function y2(c, e = []) {
2237
2240
  e.length && (c == null || c.classList.remove(...e));
2238
2241
  }
2239
- function x2({ cb: c, form: e, formData: t, validations: a, reactive: n = !1 }) {
2242
+ function A2({ cb: c, form: e, formData: t, validations: a, reactive: n = !1 }) {
2240
2243
  let s = !0;
2241
2244
  for (const [r, l] of t.entries()) {
2242
2245
  const i = e.querySelector(`[name="${r}"]`), d = a[r], h = [];
2243
- d.forEach((u) => {
2244
- u.isValid(l) || h.push(u.message);
2245
- }), h.length ? (s = !1, i.classList.add("field-error"), c && c({ isValid: s, field: i, validations: a })) : (i.classList.remove("field-error"), c && c({ isValid: !0, field: i, validations: a })), n && (i == null || i.addEventListener("input", (u) => {
2246
- u.preventDefault(), i.classList.contains("field-error") && i.classList.remove("field-error");
2246
+ d.forEach((p) => {
2247
+ p.isValid(l) || h.push(p.message);
2248
+ }), h.length ? (s = !1, i.classList.add("field-error"), c && c({ isValid: s, field: i, validations: a })) : (i.classList.remove("field-error"), c && c({ isValid: !0, field: i, validations: a })), n && (i == null || i.addEventListener("input", (p) => {
2249
+ p.preventDefault(), i.classList.contains("field-error") && i.classList.remove("field-error");
2247
2250
  }));
2248
2251
  }
2249
2252
  return s;
2250
2253
  }
2251
- function y2(c) {
2254
+ function w2(c) {
2252
2255
  const e = (
2253
2256
  // eslint-disable-next-line
2254
2257
  /(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])/
2255
2258
  ), t = /[^a-zA-Z]+$/;
2256
2259
  return e.test(c.toLowerCase()) && !t.test(c);
2257
2260
  }
2258
- class A2 {
2261
+ class S2 {
2259
2262
  init(e) {
2260
2263
  this.handleSliders(e);
2261
2264
  }
2262
2265
  handleSliders({ items: e, id: t = 1, cb: a }) {
2263
2266
  if (!document.getElementById(`slider-container-${t}`))
2264
2267
  return;
2265
- const n = P1(
2268
+ const n = R1(
2266
2269
  {
2267
2270
  activeIndex: 0,
2268
2271
  computedSlides: [],
@@ -2388,8 +2391,8 @@ class H {
2388
2391
  }), h = d.headers.get("content-type");
2389
2392
  if (h && h.indexOf("application/json") !== -1)
2390
2393
  return d.json();
2391
- const u = await d.text();
2392
- return u ? u.replace("__next", "") : null;
2394
+ const p = await d.text();
2395
+ return p ? p.replace("__next", "") : null;
2393
2396
  } catch (d) {
2394
2397
  console.error("createData", d);
2395
2398
  }
@@ -2548,15 +2551,15 @@ class H {
2548
2551
  if ((i = window == null ? void 0 : window.options) != null && i.isPdf)
2549
2552
  return r;
2550
2553
  try {
2551
- const h = await (await fetch("/api/headers")).json(), u = (h == null ? void 0 : h.token) ?? null, C = (h == null ? void 0 : h.ip) ?? null;
2554
+ const h = await (await fetch("/api/headers")).json(), p = (h == null ? void 0 : h.token) ?? null, C = (h == null ? void 0 : h.ip) ?? null;
2552
2555
  return localStorage.setItem(
2553
2556
  "headerTolken",
2554
2557
  JSON.stringify({
2555
- tolken: u,
2558
+ tolken: p,
2556
2559
  ip: C,
2557
2560
  expire: (/* @__PURE__ */ new Date()).getTime() + e * 1e3
2558
2561
  })
2559
- ), { tolken: u, ip: C, userAgent: t, platform: s };
2562
+ ), { tolken: p, ip: C, userAgent: t, platform: s };
2560
2563
  } catch (d) {
2561
2564
  console.error("getHeaders", d);
2562
2565
  }
@@ -2576,8 +2579,8 @@ class H {
2576
2579
  var i, d, h;
2577
2580
  const a = ((i = e == null ? void 0 : e.state) == null ? void 0 : i.slug) ?? null, n = ((d = e == null ? void 0 : e.city) == null ? void 0 : d.slug) ?? null, s = ((h = e == null ? void 0 : e.name) == null ? void 0 : h.slug) ?? null, r = (e == null ? void 0 : e.zip) ?? null;
2578
2581
  t = t || ((e == null ? void 0 : e.id) ?? null);
2579
- const l = [r, "-piq", t].filter((u) => u).join("");
2580
- return "/" + [a, n, s].filter((u) => u).map((u) => H.toSlug(u)).join("/") + "/" + l;
2582
+ const l = [r, "-piq", t].filter((p) => p).join("");
2583
+ return "/" + [a, n, s].filter((p) => p).map((p) => H.toSlug(p)).join("/") + "/" + l;
2581
2584
  }
2582
2585
  static async getSearchValue(e = "recsSearchValue") {
2583
2586
  try {
@@ -2804,16 +2807,16 @@ class H {
2804
2807
  b == null || b.removeAttribute("inert"), b == null || b.dispatchEvent(d.opening), b && await f(b), b == null || b.dispatchEvent(d.opened);
2805
2808
  }
2806
2809
  });
2807
- }), u = new MutationObserver((m, V) => {
2810
+ }), p = new MutationObserver((m, V) => {
2808
2811
  m.forEach((w) => {
2809
2812
  w.removedNodes.forEach((b) => {
2810
- b.nodeName === "DIALOG" && (b.removeEventListener("click", v), b.removeEventListener("close", g), b.dispatchEvent(d.removed), u == null || u.disconnect(), h == null || h.disconnect());
2813
+ b.nodeName === "DIALOG" && (b.removeEventListener("click", v), b.removeEventListener("close", g), b.dispatchEvent(d.removed), p == null || p.disconnect(), h == null || h.disconnect());
2811
2814
  });
2812
2815
  });
2813
2816
  });
2814
2817
  l && (h.observe(l, {
2815
2818
  attributes: !0
2816
- }), u.observe(document.body, {
2819
+ }), p.observe(document.body, {
2817
2820
  attributes: !1,
2818
2821
  subtree: !1,
2819
2822
  childList: !0
@@ -2992,12 +2995,12 @@ class H {
2992
2995
  city: i = null,
2993
2996
  state: d = null,
2994
2997
  vin: h = null,
2995
- license: u = null,
2998
+ license: p = null,
2996
2999
  token: C = null,
2997
3000
  phone: g = null
2998
3001
  } = e || {}, v = t && t !== "", f = r && r !== "" && r !== "18", m = l && l !== "" && r !== "99";
2999
3002
  let V = [];
3000
- return t && t !== "" && V.push("name=" + t), v || (a && a !== "" && V.push("first=" + a), n && n !== "" && V.push("middle=" + n), s && s !== "" && V.push("last=" + s)), f && m ? parseInt(r) > parseInt(l) ? (V.push("min=" + l), V.push("max=" + r)) : (V.push("min=" + r), V.push("max=" + l)) : (f && V.push("min=" + r), m && V.push("max=" + l)), g && g !== "" && V.push("phone=" + g), i && i !== "" && V.push("city=" + i), u && u !== "" && V.push("license=" + u), h && h !== "" && V.push("vin=" + h), d && d !== "" && V.push("state=" + d), C && C !== "" && V.push("token=" + C), V.join("&");
3003
+ return t && t !== "" && V.push("name=" + t), v || (a && a !== "" && V.push("first=" + a), n && n !== "" && V.push("middle=" + n), s && s !== "" && V.push("last=" + s)), f && m ? parseInt(r) > parseInt(l) ? (V.push("min=" + l), V.push("max=" + r)) : (V.push("min=" + r), V.push("max=" + l)) : (f && V.push("min=" + r), m && V.push("max=" + l)), g && g !== "" && V.push("phone=" + g), i && i !== "" && V.push("city=" + i), p && p !== "" && V.push("license=" + p), h && h !== "" && V.push("vin=" + h), d && d !== "" && V.push("state=" + d), C && C !== "" && V.push("token=" + C), V.join("&");
3001
3004
  }
3002
3005
  static padTo2Digits(e) {
3003
3006
  return e.toString().padStart(2, "0");
@@ -3015,7 +3018,7 @@ class H {
3015
3018
  useLocation: l = !0,
3016
3019
  state: i = "",
3017
3020
  useGoogle: d = !1
3018
- } = t ?? {}, { tolken: h = null, ip: u = null } = await H.getHeaders(), g = [
3021
+ } = t ?? {}, { tolken: h = null, ip: p = null } = await H.getHeaders(), g = [
3019
3022
  "query=" + encodeURIComponent(this.cleanupAddress(e)),
3020
3023
  "addressesOnly=" + a,
3021
3024
  "useSearch=" + r,
@@ -3024,7 +3027,7 @@ class H {
3024
3027
  "useLocation=" + l,
3025
3028
  "useGoogle=" + d
3026
3029
  ];
3027
- i && i !== "" && !s && g.push("state=" + i), h && h !== "" && g.push("tolken=" + h), u && u !== "" && g.push("ip=" + u);
3030
+ i && i !== "" && !s && g.push("state=" + i), h && h !== "" && g.push("tolken=" + h), p && p !== "" && g.push("ip=" + p);
3028
3031
  const v = g.join("&"), m = (n || s ? "/api/autocomplete-city" : "/api/autocomplete") + "?" + v;
3029
3032
  return await H.makeSearchFetchCall(m);
3030
3033
  }
@@ -3120,46 +3123,47 @@ class H {
3120
3123
  }
3121
3124
  }
3122
3125
  export {
3123
- Q1 as Accordion,
3124
- U1 as Alert,
3125
- J1 as Autocomplete,
3126
- Y1 as Badge,
3126
+ U1 as Accordion,
3127
+ J1 as Alert,
3128
+ Y1 as Autocomplete,
3129
+ K1 as Badge,
3127
3130
  E as Button,
3128
- K1 as ButtonGroup,
3129
- X1 as Card,
3130
- A2 as CardSlider,
3131
- _1 as Checkbox,
3131
+ X1 as ButtonGroup,
3132
+ _1 as Card,
3133
+ S2 as CardSlider,
3134
+ e2 as Checkbox,
3132
3135
  H as Common,
3133
- p2 as ContactForm,
3134
- e2 as Container,
3135
- m2 as ContentCard,
3136
- t2 as Dialog,
3137
- a2 as DialogOld,
3138
- n2 as Dots,
3139
- f2 as FlexItem,
3140
- C2 as FunnelHeader,
3136
+ f2 as ContactForm,
3137
+ t2 as Container,
3138
+ V2 as ContentCard,
3139
+ a2 as Dialog,
3140
+ n2 as DialogOld,
3141
+ s2 as Dots,
3142
+ H2 as FlexItem,
3143
+ g2 as FunnelHeader,
3141
3144
  y as Icon,
3142
- s2 as LoadingBar,
3143
- r2 as Popover,
3144
- i2 as ProgressBar,
3145
- o2 as Radio,
3146
- c2 as Select,
3147
- d2 as Skeleton,
3148
- h2 as Slider,
3149
- V2 as Spacer,
3150
- l2 as Spinner,
3151
- H2 as StackedListItem,
3152
- u2 as Stars,
3153
- M1 as TextArea,
3145
+ l2 as LoadingBar,
3146
+ i2 as Popover,
3147
+ r2 as ProcessingSpinner,
3148
+ o2 as ProgressBar,
3149
+ c2 as Radio,
3150
+ d2 as Select,
3151
+ h2 as Skeleton,
3152
+ u2 as Slider,
3153
+ C2 as Spacer,
3154
+ p2 as Spinner,
3155
+ L2 as StackedListItem,
3156
+ m2 as Stars,
3157
+ v1 as TextArea,
3154
3158
  F as Textbox,
3155
- v2 as addClass,
3156
- L2 as colors,
3159
+ x2 as addClass,
3160
+ M2 as colors,
3157
3161
  I as corePlugins,
3158
- M2 as elerisPreset,
3162
+ b2 as elerisPreset,
3159
3163
  D as extensions,
3160
3164
  O as plugins,
3161
- g2 as propertyPreset,
3162
- b2 as removeClass,
3163
- y2 as validateEmail,
3164
- x2 as validateForm
3165
+ v2 as propertyPreset,
3166
+ y2 as removeClass,
3167
+ w2 as validateEmail,
3168
+ A2 as validateForm
3165
3169
  };