@vehiclehistory/property-lib 0.1.94 → 0.1.95

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,7 +1,7 @@
1
- import { jsx as c, jsxs as g, Fragment as z } from "react/jsx-runtime";
1
+ import { jsx as c, jsxs as M, Fragment as z } from "react/jsx-runtime";
2
2
  import p from "classnames";
3
- import { memo as y, useState as N, useEffect as E } from "react";
4
- const G = {
3
+ import { memo as y, useState as F, useEffect as D } from "react";
4
+ const Y = {
5
5
  xxSmall: "w-4 h-4",
6
6
  xSmall: "w-5 h-5",
7
7
  small: "w-6 h-6",
@@ -10,7 +10,7 @@ const G = {
10
10
  mediumPlus: "w-9 h-9",
11
11
  large: "w-10 h-10",
12
12
  xLarge: "w-12 h-12"
13
- }, Q = {
13
+ }, X = {
14
14
  account: {
15
15
  path: '<path d="M12,4A4,4 0 0,1 16,8A4,4 0 0,1 12,12A4,4 0 0,1 8,8A4,4 0 0,1 12,4M12,14C16.42,14 20,15.79 20,18V20H4V18C4,15.79 7.58,14 12,14Z" />'
16
16
  },
@@ -521,17 +521,17 @@ const G = {
521
521
  youtube: {
522
522
  path: '<path d="M10,15L15.19,12L10,9V15M21.56,7.17C21.69,7.64 21.78,8.27 21.84,9.07C21.91,9.87 21.94,10.56 21.94,11.16L22,12C22,14.19 21.84,15.8 21.56,16.83C21.31,17.73 20.73,18.31 19.83,18.56C19.36,18.69 18.5,18.78 17.18,18.84C15.88,18.91 14.69,18.94 13.59,18.94L12,19C7.81,19 5.2,18.84 4.17,18.56C3.27,18.31 2.69,17.73 2.44,16.83C2.31,16.36 2.22,15.73 2.16,14.93C2.09,14.13 2.06,13.44 2.06,12.84L2,12C2,9.81 2.16,8.2 2.44,7.17C2.69,6.27 3.27,5.69 4.17,5.44C4.64,5.31 5.5,5.22 6.82,5.16C8.12,5.09 9.31,5.06 10.41,5.06L12,5C16.19,5 18.8,5.16 19.83,5.44C20.73,5.69 21.31,6.27 21.56,7.17Z" />'
523
523
  }
524
- }, J = (d) => Q[d], Y = ({
524
+ }, _ = (d) => X[d], K = ({
525
525
  color: d = "text-current",
526
526
  className: e,
527
527
  name: t,
528
528
  size: a = "medium",
529
529
  viewBox: n = "0 0 20 20"
530
530
  }) => {
531
- const s = J(t), [r, i] = N(d), [l, o] = N(s);
532
- return E(() => {
531
+ const s = _(t), [r, i] = F(d), [l, o] = F(s);
532
+ return D(() => {
533
533
  o(s);
534
- }, [s]), E(() => {
534
+ }, [s]), D(() => {
535
535
  i(d);
536
536
  }, [d]), !s && console.error("Icon does not exist", t), /* @__PURE__ */ c(
537
537
  "svg",
@@ -539,7 +539,7 @@ const G = {
539
539
  xmlns: "http://www.w3.org/2000/svg",
540
540
  className: p(
541
541
  "fill-current flex-shrink-0",
542
- G[a],
542
+ Y[a],
543
543
  r,
544
544
  e
545
545
  ),
@@ -551,7 +551,7 @@ const G = {
551
551
  }
552
552
  }
553
553
  );
554
- }, x = y(Y), X = ({
554
+ }, x = y(K), e1 = ({
555
555
  children: d,
556
556
  className: e,
557
557
  clickHandler: t,
@@ -560,7 +560,7 @@ const G = {
560
560
  unmount: s = !0,
561
561
  isOpen: r = !1
562
562
  }) => {
563
- const [i, l] = N(r);
563
+ const [i, l] = F(r);
564
564
  return /* @__PURE__ */ c(
565
565
  "div",
566
566
  {
@@ -571,8 +571,8 @@ const G = {
571
571
  },
572
572
  e
573
573
  ),
574
- children: /* @__PURE__ */ g(z, { children: [
575
- /* @__PURE__ */ g(
574
+ children: /* @__PURE__ */ M(z, { children: [
575
+ /* @__PURE__ */ M(
576
576
  "button",
577
577
  {
578
578
  type: "button",
@@ -620,7 +620,7 @@ const G = {
620
620
  ] })
621
621
  }
622
622
  );
623
- }, O1 = y(X), _ = ({
623
+ }, B1 = y(e1), t1 = ({
624
624
  children: d,
625
625
  className: e,
626
626
  messages: t = [],
@@ -662,7 +662,7 @@ const G = {
662
662
  e
663
663
  ),
664
664
  ...r,
665
- children: /* @__PURE__ */ g("div", { className: "flex", children: [
665
+ children: /* @__PURE__ */ M("div", { className: "flex", children: [
666
666
  /* @__PURE__ */ c("div", { className: "flex-shrink-0", children: /* @__PURE__ */ c(
667
667
  x,
668
668
  {
@@ -672,7 +672,7 @@ const G = {
672
672
  size: "xSmall"
673
673
  }
674
674
  ) }),
675
- /* @__PURE__ */ g("div", { className: "ml-3", children: [
675
+ /* @__PURE__ */ M("div", { className: "ml-3", children: [
676
676
  /* @__PURE__ */ c("div", { className: p("font-medium text-sm", s), children: n }),
677
677
  t.length > 0 ? /* @__PURE__ */ c(
678
678
  "ul",
@@ -682,7 +682,7 @@ const G = {
682
682
  "list-disc space-y-1 pl-5 mt-2 text-xs",
683
683
  a
684
684
  ),
685
- children: t.map((V, M) => /* @__PURE__ */ c("li", { children: V }, M))
685
+ children: t.map((V, C) => /* @__PURE__ */ c("li", { children: V }, C))
686
686
  }
687
687
  ) : "",
688
688
  d
@@ -690,7 +690,7 @@ const G = {
690
690
  ] })
691
691
  }
692
692
  );
693
- }, I1 = y(_), T1 = ({
693
+ }, $1 = y(t1), q1 = ({
694
694
  autoFocus: d = !1,
695
695
  className: e,
696
696
  dataSearch: t = "container",
@@ -704,41 +704,44 @@ const G = {
704
704
  mobileBackdrop: u = !1,
705
705
  name: m = "",
706
706
  options: V = [],
707
- parentProps: M = {},
707
+ parentProps: C = {},
708
708
  placeholder: f = "",
709
709
  props: v = {},
710
710
  rightIcon: A = "",
711
711
  required: h = !1,
712
- showSearchIcon: b = !0,
713
- showRightIcon: w = !1,
714
- size: H = "medium",
715
- styles: S = null,
716
- title: P = "",
717
- type: j,
718
- useGoogle: R = !1,
719
- useReact: W = !1
712
+ showClearIcon: b = !0,
713
+ showDropdown: S = !0,
714
+ showLoadingIcon: g = !0,
715
+ showRightIcon: k = !1,
716
+ showSearchIcon: Z = !0,
717
+ size: w = "medium",
718
+ styles: O = null,
719
+ title: W = "",
720
+ type: U,
721
+ useGoogle: G = !1,
722
+ useReact: Q = !1
720
723
  }) => {
721
- const U = W ? { defaultValue: a } : { value: a };
722
- return /* @__PURE__ */ g(
724
+ const J = Q ? { defaultValue: a } : { value: a };
725
+ return /* @__PURE__ */ M(
723
726
  "div",
724
727
  {
725
728
  id: s,
726
729
  "data-search": t,
727
- "data-search-type": j,
728
- "data-use-google": R,
730
+ "data-search-type": U,
731
+ "data-use-google": G,
729
732
  className: p("Autocomplete", e),
730
- style: S ? { ...S } : null,
731
- ...M,
733
+ style: O ? { ...O } : null,
734
+ ...C,
732
735
  children: [
733
- b && /* @__PURE__ */ g(
736
+ Z && /* @__PURE__ */ M(
734
737
  "span",
735
738
  {
736
739
  className: p(
737
740
  "search-icon-left absolute inset-y-0 left-0 flex items-center ",
738
741
  {
739
742
  "pointer-events-none": u,
740
- "pl-2": H === "medium",
741
- "pl-4": H === "large"
743
+ "pl-2": w === "medium",
744
+ "pl-4": w === "large"
742
745
  }
743
746
  ),
744
747
  children: [
@@ -747,7 +750,7 @@ const G = {
747
750
  {
748
751
  className: "home-search select-none text-gray-500",
749
752
  name: i,
750
- size: H === "xLarge" ? "small" : "xSmall",
753
+ size: w === "xLarge" ? "small" : "xSmall",
751
754
  viewBox: "0 0 24 24",
752
755
  ...l
753
756
  }
@@ -757,7 +760,7 @@ const G = {
757
760
  {
758
761
  className: "arrow-left select-none text-gray-500 hidden",
759
762
  name: "arrowLeft",
760
- size: H === "xLarge" ? "small" : "xSmall",
763
+ size: w === "xLarge" ? "small" : "xSmall",
761
764
  viewBox: "0 0 24 24"
762
765
  }
763
766
  )
@@ -772,11 +775,11 @@ const G = {
772
775
  className: p(
773
776
  "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",
774
777
  {
775
- "pl-8": b === !0 && H === "medium",
776
- "pl-10": b === !0 && H === "large",
777
- "px-3 h-10": H === "medium",
778
- "px-4 h-12": H === "large",
779
- "px-5 h-[60px] sm:!text-base": H === "xLarge",
778
+ "pl-8": Z === !0 && w === "medium",
779
+ "pl-10": Z === !0 && w === "large",
780
+ "px-3 h-10": w === "medium",
781
+ "px-4 h-12": w === "large",
782
+ "px-5 h-[60px] sm:!text-base": w === "xLarge",
780
783
  peer: n
781
784
  },
782
785
  r
@@ -787,7 +790,7 @@ const G = {
787
790
  type: "search",
788
791
  name: m || "search-input",
789
792
  "data-id": "search-input",
790
- ...U,
793
+ ...J,
791
794
  ...v
792
795
  }
793
796
  ),
@@ -797,16 +800,16 @@ const G = {
797
800
  className: p(
798
801
  "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",
799
802
  {
800
- "!left-7": b === !0,
801
- "left-2": H === "medium",
802
- "left-3": H === "large",
803
- "left-4": H === "xLarge"
803
+ "!left-7": Z === !0,
804
+ "left-2": w === "medium",
805
+ "left-3": w === "large",
806
+ "left-4": w === "xLarge"
804
807
  }
805
808
  ),
806
809
  children: n
807
810
  }
808
811
  ),
809
- /* @__PURE__ */ c(
812
+ b && /* @__PURE__ */ c(
810
813
  "span",
811
814
  {
812
815
  "data-id": "search-clear",
@@ -822,7 +825,7 @@ const G = {
822
825
  )
823
826
  }
824
827
  ),
825
- /* @__PURE__ */ c(
828
+ g && /* @__PURE__ */ c(
826
829
  "span",
827
830
  {
828
831
  "data-id": "search-loading",
@@ -843,11 +846,11 @@ const G = {
843
846
  "span",
844
847
  {
845
848
  "data-id": "right-icon",
846
- className: `${w ? "" : "hidden"} absolute inset-y-0 right-0 flex items-center px-2 pointer-events-none`,
849
+ className: `${k ? "" : "hidden"} absolute inset-y-0 right-0 flex items-center px-2 pointer-events-none`,
847
850
  children: /* @__PURE__ */ c(x, { name: A, size: "small", viewBox: "0 0 24 24" })
848
851
  }
849
852
  ),
850
- /* @__PURE__ */ g(
853
+ S && /* @__PURE__ */ M(
851
854
  "div",
852
855
  {
853
856
  "data-id": "search-dropdown",
@@ -859,20 +862,20 @@ const G = {
859
862
  {
860
863
  "data-id": "search-dropdown-body",
861
864
  role: "listbox",
862
- "data-title": P,
865
+ "data-title": W,
863
866
  "aria-labelledby": "Label",
864
867
  "aria-activedescendant": "search-item-0",
865
- children: V.length > 0 ? V.map((k, Z) => /* @__PURE__ */ c(
868
+ children: V.length > 0 ? V.map((N, E) => /* @__PURE__ */ c(
866
869
  "li",
867
870
  {
868
- id: `search-item-${Z}`,
871
+ id: `search-item-${E}`,
869
872
  tabIndex: -1,
870
873
  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",
871
- "aria-selected": Z === 0,
874
+ "aria-selected": E === 0,
872
875
  role: "option",
873
- children: (k == null ? void 0 : k.name) || k
876
+ children: (N == null ? void 0 : N.name) || N
874
877
  },
875
- `search-item-${Z}`
878
+ `search-item-${E}`
876
879
  )) : ""
877
880
  }
878
881
  )
@@ -882,7 +885,7 @@ const G = {
882
885
  ]
883
886
  }
884
887
  );
885
- }, B1 = ({
888
+ }, P1 = ({
886
889
  children: d,
887
890
  className: e,
888
891
  size: t = "sm",
@@ -901,7 +904,7 @@ const G = {
901
904
  ),
902
905
  children: d
903
906
  }
904
- ), K = ({
907
+ ), a1 = ({
905
908
  borderless: d = !1,
906
909
  leftIcon: e,
907
910
  leftIconProps: t = {},
@@ -915,15 +918,15 @@ const G = {
915
918
  rightIconProps: u = {},
916
919
  rounded: m = !1,
917
920
  size: V = "md",
918
- type: M = "button",
921
+ type: C = "button",
919
922
  uppercase: f = !1,
920
923
  variation: v = "primary"
921
924
  }) => {
922
925
  const A = r ? "a" : "button";
923
- return /* @__PURE__ */ g(
926
+ return /* @__PURE__ */ M(
924
927
  A,
925
928
  {
926
- type: A !== "a" ? M : null,
929
+ type: A !== "a" ? C : null,
927
930
  className: p(
928
931
  "button",
929
932
  {
@@ -964,7 +967,7 @@ const G = {
964
967
  ]
965
968
  }
966
969
  );
967
- }, F = y(K), e1 = ({
970
+ }, I = y(a1), n1 = ({
968
971
  checked: d = !1,
969
972
  children: e,
970
973
  className: t,
@@ -978,7 +981,7 @@ const G = {
978
981
  value: u = ""
979
982
  }) => {
980
983
  const m = r ? "div" : "label", V = m === "label" ? { htmlFor: s } : {};
981
- return /* @__PURE__ */ g(
984
+ return /* @__PURE__ */ M(
982
985
  m,
983
986
  {
984
987
  className: p(
@@ -1010,7 +1013,7 @@ const G = {
1010
1013
  ]
1011
1014
  }
1012
1015
  );
1013
- }, $1 = y(e1), t1 = ({
1016
+ }, j1 = y(n1), s1 = ({
1014
1017
  activator: d,
1015
1018
  id: e,
1016
1019
  children: t,
@@ -1024,17 +1027,17 @@ const G = {
1024
1027
  headerClass: u,
1025
1028
  hideClose: m = !1,
1026
1029
  iconSize: V = "medium",
1027
- preventPageScroll: M = !0,
1030
+ preventPageScroll: C = !0,
1028
1031
  sheet: f = !1,
1029
1032
  sheetDirection: v = "right",
1030
1033
  stickyHeader: A = !1,
1031
1034
  title: h = "",
1032
1035
  titleClass: b,
1033
- variation: w = "primary",
1034
- useFormMethod: H = !0
1036
+ variation: S = "primary",
1037
+ useFormMethod: g = !0
1035
1038
  }) => {
1036
- const S = H ? "form" : "div";
1037
- return /* @__PURE__ */ g(z, { children: [
1039
+ const k = g ? "form" : "div";
1040
+ return /* @__PURE__ */ M(z, { children: [
1038
1041
  d && /* @__PURE__ */ c("span", { id: `${e}-dialog-activator`, children: d }),
1039
1042
  /* @__PURE__ */ c(
1040
1043
  "dialog",
@@ -1045,22 +1048,22 @@ const G = {
1045
1048
  className: p(
1046
1049
  "dialog",
1047
1050
  {
1048
- [`dialog-${w}`]: w,
1051
+ [`dialog-${S}`]: S,
1049
1052
  "dialog-full-mobile": o,
1050
1053
  "dialog-sheet": f,
1051
1054
  dark: r,
1052
1055
  "dialog-sheet--right": v === "right" && f,
1053
- "prevent-scroll": M
1056
+ "prevent-scroll": C
1054
1057
  },
1055
1058
  a
1056
1059
  ),
1057
- children: /* @__PURE__ */ g(
1058
- S,
1060
+ children: /* @__PURE__ */ M(
1061
+ k,
1059
1062
  {
1060
1063
  className: "dialog-container",
1061
- method: H ? "dialog" : null,
1064
+ method: g ? "dialog" : null,
1062
1065
  children: [
1063
- /* @__PURE__ */ g(
1066
+ /* @__PURE__ */ M(
1064
1067
  "header",
1065
1068
  {
1066
1069
  className: p(
@@ -1123,7 +1126,7 @@ const G = {
1123
1126
  }
1124
1127
  )
1125
1128
  ] });
1126
- }, q1 = y(t1), P1 = ({ className: d }) => /* @__PURE__ */ g("div", { className: p("Dots mx-auto", d), children: [
1129
+ }, R1 = y(s1), W1 = ({ className: d }) => /* @__PURE__ */ M("div", { className: p("Dots mx-auto", d), children: [
1127
1130
  /* @__PURE__ */ c("span", { style: { animationDelay: "0.1s" } }),
1128
1131
  /* @__PURE__ */ c("span", { style: { animationDelay: "0.2s" } }),
1129
1132
  /* @__PURE__ */ c("span", { style: { animationDelay: "0.3s" } }),
@@ -1132,7 +1135,7 @@ const G = {
1132
1135
  /* @__PURE__ */ c("span", { style: { animationDelay: "0.6s" } }),
1133
1136
  /* @__PURE__ */ c("span", { style: { animationDelay: "0.7s" } }),
1134
1137
  /* @__PURE__ */ c("span", { style: { animationDelay: "0.8s" } })
1135
- ] }), a1 = ({
1138
+ ] }), l1 = ({
1136
1139
  cb: d,
1137
1140
  onUpdate: e,
1138
1141
  className: t,
@@ -1147,18 +1150,18 @@ const G = {
1147
1150
  );
1148
1151
  if (!o) return;
1149
1152
  let u, m, V = !1;
1150
- function M(f) {
1153
+ function C(f) {
1151
1154
  u === void 0 && (u = f);
1152
1155
  const v = f - u;
1153
1156
  if (m !== f) {
1154
1157
  const A = v / s * 101;
1155
1158
  o.style.width = `${A}%`, e && e({ elapsed: v, percentage: A }), A >= 101 && (l && l(), V = !0, window.cancelAnimationFrame(f));
1156
1159
  }
1157
- v < s && (m = f, V || window.requestAnimationFrame(M));
1160
+ v < s && (m = f, V || window.requestAnimationFrame(C));
1158
1161
  }
1159
- window.requestAnimationFrame(M);
1162
+ window.requestAnimationFrame(C);
1160
1163
  }
1161
- return E(() => {
1164
+ return D(() => {
1162
1165
  i({ cb: d });
1163
1166
  }, []), /* @__PURE__ */ c(
1164
1167
  "div",
@@ -1177,7 +1180,7 @@ const G = {
1177
1180
  children: /* @__PURE__ */ c("div", { className: `loading-bar--inner ${a}`, "data-size": "100" })
1178
1181
  }
1179
1182
  );
1180
- }, j1 = y(a1), n1 = ({ className: d }) => /* @__PURE__ */ c("div", { className: p("processing-spinner", d) }), R1 = y(n1), W1 = ({
1183
+ }, U1 = y(l1), r1 = ({ className: d }) => /* @__PURE__ */ c("div", { className: p("processing-spinner", d) }), G1 = y(r1), Q1 = ({
1181
1184
  activator: d,
1182
1185
  activatorClass: e = "",
1183
1186
  attrs: t = {},
@@ -1187,12 +1190,12 @@ const G = {
1187
1190
  disabled: r = !1,
1188
1191
  options: i = {},
1189
1192
  trigger: l = "click"
1190
- }) => /* @__PURE__ */ g(z, { children: [
1193
+ }) => /* @__PURE__ */ M(z, { children: [
1191
1194
  /* @__PURE__ */ c(
1192
1195
  "div",
1193
1196
  {
1194
1197
  className: p("popover z-10 max-w-[350px] hidden", n),
1195
- children: /* @__PURE__ */ g(
1198
+ children: /* @__PURE__ */ M(
1196
1199
  "div",
1197
1200
  {
1198
1201
  className: p(
@@ -1229,7 +1232,7 @@ const G = {
1229
1232
  children: d
1230
1233
  }
1231
1234
  )
1232
- ] }), s1 = ({
1235
+ ] }), i1 = ({
1233
1236
  ariaValuemax: d = 100,
1234
1237
  ariaValuemin: e = 0,
1235
1238
  bgColor: t = "bg-orange-500",
@@ -1241,9 +1244,9 @@ const G = {
1241
1244
  rounded: l = !0,
1242
1245
  showLabel: o = !1
1243
1246
  }) => {
1244
- const m = ((V, M) => {
1247
+ const m = ((V, C) => {
1245
1248
  if (V) {
1246
- const f = Number(M) / V;
1249
+ const f = Number(C) / V;
1247
1250
  return f > 1 ? 100 : f * 100;
1248
1251
  }
1249
1252
  return n;
@@ -1283,7 +1286,7 @@ const G = {
1283
1286
  )
1284
1287
  }
1285
1288
  );
1286
- }, U1 = y(s1), l1 = ({
1289
+ }, J1 = y(i1), o1 = ({
1287
1290
  checked: d = !1,
1288
1291
  children: e,
1289
1292
  className: t,
@@ -1296,7 +1299,7 @@ const G = {
1296
1299
  value: o = ""
1297
1300
  }) => {
1298
1301
  const u = s ? "div" : "label", m = u === "label" ? { htmlFor: a } : {};
1299
- return /* @__PURE__ */ g(
1302
+ return /* @__PURE__ */ M(
1300
1303
  u,
1301
1304
  {
1302
1305
  className: p(
@@ -1322,7 +1325,7 @@ const G = {
1322
1325
  ]
1323
1326
  }
1324
1327
  );
1325
- }, G1 = y(l1), r1 = ({
1328
+ }, Y1 = y(o1), c1 = ({
1326
1329
  className: d = "",
1327
1330
  error: e = !1,
1328
1331
  errorMessage: t = "",
@@ -1337,8 +1340,8 @@ const G = {
1337
1340
  variation: m = "primary",
1338
1341
  value: V
1339
1342
  }) => {
1340
- const M = i ? { defaultValue: "" } : {};
1341
- return /* @__PURE__ */ g(
1343
+ const C = i ? { defaultValue: "" } : {};
1344
+ return /* @__PURE__ */ M(
1342
1345
  "label",
1343
1346
  {
1344
1347
  className: p(
@@ -1349,7 +1352,7 @@ const G = {
1349
1352
  style: u ? { ...u } : null,
1350
1353
  children: [
1351
1354
  n,
1352
- /* @__PURE__ */ g(
1355
+ /* @__PURE__ */ M(
1353
1356
  "select",
1354
1357
  {
1355
1358
  className: p(
@@ -1362,7 +1365,7 @@ const G = {
1362
1365
  id: a,
1363
1366
  name: s,
1364
1367
  value: V,
1365
- ...M,
1368
+ ...C,
1366
1369
  ...l,
1367
1370
  children: [
1368
1371
  i && /* @__PURE__ */ c("option", { hidden: !0, value: "", children: i }),
@@ -1381,7 +1384,7 @@ const G = {
1381
1384
  ]
1382
1385
  }
1383
1386
  );
1384
- }, Q1 = y(r1), i1 = ({ className: d }) => /* @__PURE__ */ g(
1387
+ }, X1 = y(c1), d1 = ({ className: d }) => /* @__PURE__ */ M(
1385
1388
  "div",
1386
1389
  {
1387
1390
  className: p(
@@ -1393,13 +1396,13 @@ const G = {
1393
1396
  /* @__PURE__ */ c("span", { className: "sr-only", children: "Loading..." })
1394
1397
  ]
1395
1398
  }
1396
- ), J1 = y(i1), o1 = ({
1399
+ ), _1 = y(d1), h1 = ({
1397
1400
  placeholderClass: d = "",
1398
1401
  children: e,
1399
1402
  className: t,
1400
1403
  id: a = 1,
1401
1404
  padding: n = !0
1402
- }) => /* @__PURE__ */ g("div", { className: p("slider", t), id: `slider-${a}`, children: [
1405
+ }) => /* @__PURE__ */ M("div", { className: p("slider", t), id: `slider-${a}`, children: [
1403
1406
  /* @__PURE__ */ c(
1404
1407
  "button",
1405
1408
  {
@@ -1428,7 +1431,7 @@ const G = {
1428
1431
  children: /* @__PURE__ */ c(x, { name: "chevronRight" })
1429
1432
  }
1430
1433
  )
1431
- ] }), Y1 = y(o1), c1 = ({ className: d, iconClass: e, iconProps: t = {} }) => /* @__PURE__ */ c("div", { className: p("rounded-r-md px-2 focus:outline-none", d), children: /* @__PURE__ */ c(
1434
+ ] }), K1 = y(h1), u1 = ({ className: d, iconClass: e, iconProps: t = {} }) => /* @__PURE__ */ c("div", { className: p("rounded-r-md px-2 focus:outline-none", d), children: /* @__PURE__ */ c(
1432
1435
  x,
1433
1436
  {
1434
1437
  className: p("animate-spin text-black-900", e),
@@ -1437,7 +1440,7 @@ const G = {
1437
1440
  viewBox: "0 0 24 24",
1438
1441
  ...t
1439
1442
  }
1440
- ) }), X1 = y(c1), _1 = ({
1443
+ ) }), e2 = y(u1), t2 = ({
1441
1444
  className: d,
1442
1445
  value: e
1443
1446
  }) => {
@@ -1454,7 +1457,7 @@ const G = {
1454
1457
  style: t
1455
1458
  }
1456
1459
  );
1457
- }, d1 = ({
1460
+ }, p1 = ({
1458
1461
  className: d,
1459
1462
  clear: e = !1,
1460
1463
  error: t = !1,
@@ -1466,7 +1469,7 @@ const G = {
1466
1469
  props: l = {},
1467
1470
  rows: o = 4,
1468
1471
  variation: u = "primary"
1469
- }) => /* @__PURE__ */ g(
1472
+ }) => /* @__PURE__ */ M(
1470
1473
  "div",
1471
1474
  {
1472
1475
  className: p(
@@ -1511,7 +1514,7 @@ const G = {
1511
1514
  a && /* @__PURE__ */ c("span", { className: "relative flex mt-0.5 text-red-700 text-xs text-left", children: a })
1512
1515
  ]
1513
1516
  }
1514
- ), h1 = y(d1), u1 = ({
1517
+ ), m1 = y(p1), f1 = ({
1515
1518
  className: d,
1516
1519
  clear: e = !1,
1517
1520
  error: t = !1,
@@ -1525,13 +1528,13 @@ const G = {
1525
1528
  styles: u = null,
1526
1529
  type: m = "text",
1527
1530
  value: V,
1528
- variation: M = "primary"
1529
- }) => /* @__PURE__ */ g(
1531
+ variation: C = "primary"
1532
+ }) => /* @__PURE__ */ M(
1530
1533
  "div",
1531
1534
  {
1532
1535
  className: p(
1533
1536
  "relative textbox",
1534
- { [`textbox--${M}`]: M },
1537
+ { [`textbox--${C}`]: C },
1535
1538
  d
1536
1539
  ),
1537
1540
  style: u ? { ...u } : null,
@@ -1585,7 +1588,7 @@ const G = {
1585
1588
  a && /* @__PURE__ */ c("span", { className: "relative flex mt-0.5 text-red-700 text-xs text-left", children: a })
1586
1589
  ]
1587
1590
  }
1588
- ), D = y(u1), p1 = ({ checked: d = !1, props: e = {} }) => /* @__PURE__ */ c(z, { children: /* @__PURE__ */ c("label", { className: "flex cursor-pointer select-none items-center", children: /* @__PURE__ */ g("div", { className: "relative", children: [
1591
+ ), T = y(f1), V1 = ({ checked: d = !1, props: e = {} }) => /* @__PURE__ */ c(z, { children: /* @__PURE__ */ c("label", { className: "flex cursor-pointer select-none items-center", children: /* @__PURE__ */ M("div", { className: "relative", children: [
1589
1592
  /* @__PURE__ */ c(
1590
1593
  "input",
1591
1594
  {
@@ -1607,7 +1610,7 @@ const G = {
1607
1610
  className: `absolute left-1 top-1 flex h-6 w-6 items-center justify-center rounded-full bg-white transition ${d ? "translate-x-full" : ""}`
1608
1611
  }
1609
1612
  )
1610
- ] }) }) }), K1 = y(p1), m1 = ({
1613
+ ] }) }) }), a2 = y(V1), H1 = ({
1611
1614
  btnClass: d,
1612
1615
  btnProps: e = {},
1613
1616
  btnTitle: t = "Submit",
@@ -1618,11 +1621,11 @@ const G = {
1618
1621
  titleClass: i,
1619
1622
  uppercase: l = !0
1620
1623
  }) => {
1621
- const o = s || /* @__PURE__ */ g(z, { children: [
1624
+ const o = s || /* @__PURE__ */ M(z, { children: [
1622
1625
  "Typical email response time is 2-3 hours. If you require immediate assistance you may use our",
1623
1626
  " ",
1624
1627
  /* @__PURE__ */ c(
1625
- F,
1628
+ I,
1626
1629
  {
1627
1630
  className: p(
1628
1631
  "text-black-900 items-center gap-2 live-chat uppercase !inline-flex"
@@ -1635,7 +1638,7 @@ const G = {
1635
1638
  }
1636
1639
  )
1637
1640
  ] });
1638
- return /* @__PURE__ */ g(
1641
+ return /* @__PURE__ */ M(
1639
1642
  "form",
1640
1643
  {
1641
1644
  id: "contactForm",
@@ -1645,7 +1648,7 @@ const G = {
1645
1648
  children: [
1646
1649
  /* @__PURE__ */ c("h2", { id: "contact-title", className: p("mb-4", i), children: r }),
1647
1650
  /* @__PURE__ */ c("p", { className: "contact-form__msg", children: o }),
1648
- /* @__PURE__ */ g(
1651
+ /* @__PURE__ */ M(
1649
1652
  "div",
1650
1653
  {
1651
1654
  className: p(
@@ -1654,7 +1657,7 @@ const G = {
1654
1657
  ),
1655
1658
  children: [
1656
1659
  /* @__PURE__ */ c(
1657
- D,
1660
+ T,
1658
1661
  {
1659
1662
  id: "contact-name",
1660
1663
  name: "contact-name",
@@ -1665,7 +1668,7 @@ const G = {
1665
1668
  }
1666
1669
  ),
1667
1670
  /* @__PURE__ */ c(
1668
- D,
1671
+ T,
1669
1672
  {
1670
1673
  id: "contact-email",
1671
1674
  name: "contact-email",
@@ -1676,7 +1679,7 @@ const G = {
1676
1679
  }
1677
1680
  ),
1678
1681
  /* @__PURE__ */ c(
1679
- h1,
1682
+ m1,
1680
1683
  {
1681
1684
  id: "contact-message",
1682
1685
  name: "contact-message",
@@ -1687,7 +1690,7 @@ const G = {
1687
1690
  }
1688
1691
  ),
1689
1692
  /* @__PURE__ */ c(
1690
- F,
1693
+ I,
1691
1694
  {
1692
1695
  className: p(
1693
1696
  "flex mx-auto items-center",
@@ -1708,7 +1711,7 @@ const G = {
1708
1711
  ]
1709
1712
  }
1710
1713
  );
1711
- }, e2 = y(m1), f1 = ({
1714
+ }, n2 = y(H1), C1 = ({
1712
1715
  block: d = !1,
1713
1716
  children: e,
1714
1717
  className: t,
@@ -1722,7 +1725,7 @@ const G = {
1722
1725
  variation: u = "primary"
1723
1726
  }) => {
1724
1727
  const m = l ? "ul" : "div";
1725
- return /* @__PURE__ */ g(
1728
+ return /* @__PURE__ */ M(
1726
1729
  "div",
1727
1730
  {
1728
1731
  className: p(
@@ -1746,7 +1749,7 @@ const G = {
1746
1749
  ]
1747
1750
  }
1748
1751
  );
1749
- }, t2 = y(f1), V1 = ({
1752
+ }, s2 = y(C1), L1 = ({
1750
1753
  children: d,
1751
1754
  className: e,
1752
1755
  colGap: t = 2,
@@ -1758,7 +1761,7 @@ const G = {
1758
1761
  value: l,
1759
1762
  valueClass: o,
1760
1763
  wrap: u = !1
1761
- }) => /* @__PURE__ */ g(
1764
+ }) => /* @__PURE__ */ M(
1762
1765
  "div",
1763
1766
  {
1764
1767
  className: p(
@@ -1781,7 +1784,7 @@ const G = {
1781
1784
  d
1782
1785
  ]
1783
1786
  }
1784
- ), a2 = y(V1), n2 = ({
1787
+ ), l2 = y(L1), r2 = ({
1785
1788
  breakPage: d = !1,
1786
1789
  children: e,
1787
1790
  className: t,
@@ -1790,7 +1793,7 @@ const G = {
1790
1793
  title: s,
1791
1794
  titleClass: r,
1792
1795
  titleId: i
1793
- }) => /* @__PURE__ */ g(
1796
+ }) => /* @__PURE__ */ M(
1794
1797
  "section",
1795
1798
  {
1796
1799
  className: p(
@@ -1807,7 +1810,7 @@ const G = {
1807
1810
  e
1808
1811
  ]
1809
1812
  }
1810
- ), s2 = ({ children: d, className: e, list: t = !0 }) => /* @__PURE__ */ c(t ? "li" : "div", { className: p("stacked-list", e), children: d }), H1 = ({ align: d = "center", children: e, className: t, tag: a = "h1", title: n }) => /* @__PURE__ */ c(
1813
+ ), i2 = ({ children: d, className: e, list: t = !0 }) => /* @__PURE__ */ c(t ? "li" : "div", { className: p("stacked-list", e), children: d }), M1 = ({ align: d = "center", children: e, className: t, tag: a = "h1", title: n }) => /* @__PURE__ */ c(
1811
1814
  a,
1812
1815
  {
1813
1816
  className: p(
@@ -1821,7 +1824,7 @@ const G = {
1821
1824
  ),
1822
1825
  children: n || e
1823
1826
  }
1824
- ), l2 = y(H1), C1 = {
1827
+ ), o2 = y(M1), g1 = {
1825
1828
  circular: "circular 3s linear infinite",
1826
1829
  "circular-reverse": "circular 3s linear reverse infinite",
1827
1830
  "fade-in": "fade-in 0.2.5s ease-out",
@@ -1835,17 +1838,17 @@ const G = {
1835
1838
  "slide-out-to-right": "slide-out-to-right 0.3s ease-in forwards",
1836
1839
  "slide-in-from-right": "slide-in-from-right 0.3s ease-out forwards",
1837
1840
  indeterminate_first: "indeterminate_first 1.1s ease-in-out infinite"
1838
- }, L1 = {
1841
+ }, v1 = {
1839
1842
  map: "var(--map)"
1840
- }, M1 = {
1843
+ }, A1 = {
1841
1844
  "3xs": "0.5rem",
1842
1845
  xxs: "0.625rem",
1843
1846
  "2.5xl": "1.625rem",
1844
1847
  "2.75xl": "1.75rem",
1845
1848
  "3.5xl": "2rem"
1846
- }, g1 = {
1849
+ }, y1 = {
1847
1850
  17: "repeat(17, minmax(0, 1fr))"
1848
- }, v1 = {
1851
+ }, b1 = {
1849
1852
  circular: {
1850
1853
  "100%": {
1851
1854
  transform: "rotate(360deg)"
@@ -1955,16 +1958,16 @@ const G = {
1955
1958
  transform: "translateX(0)"
1956
1959
  }
1957
1960
  }
1958
- }, A1 = {
1961
+ }, x1 = {
1959
1962
  20: "5rem",
1960
1963
  24: "6rem",
1961
1964
  28: "7rem",
1962
1965
  32: "8rem"
1963
- }, y1 = {
1966
+ }, w1 = {
1964
1967
  aside: "268px",
1965
1968
  container: "724px",
1966
1969
  page: "1200px"
1967
- }, b1 = {
1970
+ }, S1 = {
1968
1971
  "xs-max": {
1969
1972
  max: "639px"
1970
1973
  },
@@ -1982,23 +1985,23 @@ const G = {
1982
1985
  max: "1199px"
1983
1986
  },
1984
1987
  "lg-up": "1200px"
1985
- }, x1 = {
1988
+ }, z1 = {
1986
1989
  0: "0ms",
1987
1990
  50: "50ms"
1988
- }, w1 = {
1991
+ }, k1 = {
1989
1992
  "center-top": "center 30%"
1990
- }, I = {
1991
- animation: C1,
1992
- backgroundImage: L1,
1993
- fontSize: M1,
1994
- gridTemplateColumns: g1,
1995
- keyframes: v1,
1996
- margin: A1,
1997
- maxWidth: y1,
1998
- screens: b1,
1999
- transitionDuration: x1,
2000
- transformOrigin: w1
2001
- }, T = {
1993
+ }, $ = {
1994
+ animation: g1,
1995
+ backgroundImage: v1,
1996
+ fontSize: A1,
1997
+ gridTemplateColumns: y1,
1998
+ keyframes: b1,
1999
+ margin: x1,
2000
+ maxWidth: w1,
2001
+ screens: S1,
2002
+ transitionDuration: z1,
2003
+ transformOrigin: k1
2004
+ }, q = {
2002
2005
  black: {
2003
2006
  50: "#FCFCFC",
2004
2007
  100: "#F9F9F9",
@@ -2108,7 +2111,7 @@ const G = {
2108
2111
  current: "currentColor",
2109
2112
  transparent: "transparent",
2110
2113
  white: "#fff"
2111
- }, B = {
2114
+ }, P = {
2112
2115
  blue: {
2113
2116
  100: "hsl(240 42% 22%)",
2114
2117
  60: "hsl(240 24% 34%)",
@@ -2126,10 +2129,10 @@ const G = {
2126
2129
  purple: "hsl(279 85% 57%)",
2127
2130
  white: "hsl(0 0% 100%)",
2128
2131
  transparent: "hsl(0 0% 100% / 0)"
2129
- }, r2 = {
2130
- ...T,
2131
- ...B
2132
- }, S1 = ({ matchUtilities: d, theme: e }) => d(
2132
+ }, c2 = {
2133
+ ...q,
2134
+ ...P
2135
+ }, Z1 = ({ matchUtilities: d, theme: e }) => d(
2133
2136
  {
2134
2137
  aspect: (t) => ({
2135
2138
  "@supports (aspect-ratio: 1 / 1)": {
@@ -2150,7 +2153,7 @@ const G = {
2150
2153
  })
2151
2154
  },
2152
2155
  { values: e("aspectRatio") }
2153
- ), z1 = ({ matchUtilities: d, theme: e }) => d(
2156
+ ), N1 = ({ matchUtilities: d, theme: e }) => d(
2154
2157
  {
2155
2158
  "animation-delay": (t) => ({
2156
2159
  "animation-delay": t
@@ -2159,15 +2162,15 @@ const G = {
2159
2162
  {
2160
2163
  values: e("transitionDelay")
2161
2164
  }
2162
- ), k1 = ({ matchUtilities: d }) => d({
2165
+ ), E1 = ({ matchUtilities: d }) => d({
2163
2166
  "max-inline": (e) => ({
2164
2167
  "max-inline-size": e
2165
2168
  })
2166
- }), Z1 = ({ matchUtilities: d }) => d({
2169
+ }), F1 = ({ matchUtilities: d }) => d({
2167
2170
  "max-block": (e) => ({
2168
2171
  "max-block-size": e
2169
2172
  })
2170
- }), O = ({
2173
+ }), B = ({
2171
2174
  addUtilities: d,
2172
2175
  e,
2173
2176
  classPrefix: t = "",
@@ -2182,10 +2185,10 @@ const G = {
2182
2185
  const m = {
2183
2186
  "font-size": u,
2184
2187
  ...a
2185
- }, V = `.${e(`${t}-${o}`)}`, M = n ? n({ sizeKey: o, sizeValue: u }) : {};
2188
+ }, V = `.${e(`${t}-${o}`)}`, C = n ? n({ sizeKey: o, sizeValue: u }) : {};
2186
2189
  l[V] = {
2187
2190
  ...m,
2188
- ...M
2191
+ ...C
2189
2192
  }, Object.entries(r).forEach(([f, v]) => {
2190
2193
  const A = `.${e(`${t}-${o}-${f}`)}`, h = i ? i({ sizeKey: o, sizeValue: u, weightKey: f, weightValue: v }) : {};
2191
2194
  l[A] = {
@@ -2195,7 +2198,7 @@ const G = {
2195
2198
  };
2196
2199
  });
2197
2200
  }), d(l);
2198
- }, $ = {
2201
+ }, j = {
2199
2202
  aspectRatio: !1,
2200
2203
  backdropBlur: !1,
2201
2204
  backdropBrightness: !1,
@@ -2259,7 +2262,7 @@ const G = {
2259
2262
  textOpacity: !1,
2260
2263
  textUnderlineOffset: !1,
2261
2264
  touchAction: !1
2262
- }, q = [
2265
+ }, R = [
2263
2266
  ({ addUtilities: d, matchUtilities: e, theme: t, e: a }) => {
2264
2267
  const n = ["2", "5"], s = {
2265
2268
  light: "300",
@@ -2281,7 +2284,7 @@ const G = {
2281
2284
  2: "0.813rem",
2282
2285
  3: "0.75rem"
2283
2286
  };
2284
- O({
2287
+ B({
2285
2288
  addUtilities: d,
2286
2289
  e: a,
2287
2290
  classPrefix: "header",
@@ -2293,30 +2296,30 @@ const G = {
2293
2296
  }),
2294
2297
  sizes: r,
2295
2298
  weights: s
2296
- }), O({
2299
+ }), B({
2297
2300
  addUtilities: d,
2298
2301
  e: a,
2299
2302
  classPrefix: "text-body",
2300
2303
  sizes: i,
2301
2304
  weights: s
2302
- }), S1({ matchUtilities: e, theme: t }), z1({ matchUtilities: e, theme: t }), k1({ matchUtilities: e }), Z1({ matchUtilities: e });
2305
+ }), Z1({ matchUtilities: e, theme: t }), N1({ matchUtilities: e, theme: t }), E1({ matchUtilities: e }), F1({ matchUtilities: e });
2303
2306
  }
2304
- ], i2 = {
2307
+ ], d2 = {
2305
2308
  theme: {
2306
- extend: I,
2307
- colors: T
2309
+ extend: $,
2310
+ colors: q
2308
2311
  },
2309
- plugins: q,
2310
- corePlugins: $
2311
- }, o2 = {
2312
+ plugins: R,
2313
+ corePlugins: j
2314
+ }, h2 = {
2312
2315
  theme: {
2313
- extend: I,
2314
- colors: B
2316
+ extend: $,
2317
+ colors: P
2315
2318
  },
2316
- plugins: q,
2317
- corePlugins: $
2319
+ plugins: R,
2320
+ corePlugins: j
2318
2321
  };
2319
- function N1(d, e = []) {
2322
+ function D1(d, e = []) {
2320
2323
  return new Proxy(d, {
2321
2324
  get: function(t, a) {
2322
2325
  return t[a];
@@ -2327,13 +2330,13 @@ function N1(d, e = []) {
2327
2330
  }
2328
2331
  });
2329
2332
  }
2330
- function c2(d, e = []) {
2333
+ function u2(d, e = []) {
2331
2334
  e.length && (d == null || d.classList.add(...e));
2332
2335
  }
2333
- function d2(d, e = []) {
2336
+ function p2(d, e = []) {
2334
2337
  e.length && (d == null || d.classList.remove(...e));
2335
2338
  }
2336
- function h2({ cb: d, form: e, formData: t, validations: a, reactive: n = !1 }) {
2339
+ function m2({ cb: d, form: e, formData: t, validations: a, reactive: n = !1 }) {
2337
2340
  let s = !0;
2338
2341
  for (const [r, i] of t.entries()) {
2339
2342
  const l = e.querySelector(`[name="${r}"]`), o = a[r], u = [];
@@ -2345,21 +2348,21 @@ function h2({ cb: d, form: e, formData: t, validations: a, reactive: n = !1 }) {
2345
2348
  }
2346
2349
  return s;
2347
2350
  }
2348
- function u2(d) {
2351
+ function f2(d) {
2349
2352
  const e = (
2350
2353
  // eslint-disable-next-line
2351
2354
  /(?:[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])+)\])/
2352
2355
  ), t = /[^a-zA-Z]+$/;
2353
2356
  return e.test(d.toLowerCase()) && !t.test(d);
2354
2357
  }
2355
- class p2 {
2358
+ class V2 {
2356
2359
  init(e) {
2357
2360
  this.handleSliders(e);
2358
2361
  }
2359
2362
  handleSliders({ items: e, id: t = 1, cb: a }) {
2360
2363
  if (!document.getElementById(`slider-container-${t}`))
2361
2364
  return;
2362
- const n = N1(
2365
+ const n = D1(
2363
2366
  {
2364
2367
  activeIndex: 0,
2365
2368
  computedSlides: [],
@@ -2441,10 +2444,10 @@ class p2 {
2441
2444
  }
2442
2445
  }
2443
2446
  }
2444
- class C {
2447
+ class H {
2445
2448
  static calcCrow(e, t, a, n) {
2446
- const r = C.toRad(a - e), i = C.toRad(n - t);
2447
- e = C.toRad(e), a = C.toRad(a);
2449
+ const r = H.toRad(a - e), i = H.toRad(n - t);
2450
+ e = H.toRad(e), a = H.toRad(a);
2448
2451
  const l = Math.sin(r / 2) * Math.sin(r / 2) + Math.sin(i / 2) * Math.sin(i / 2) * Math.cos(e) * Math.cos(a);
2449
2452
  return 6371 * (2 * Math.atan2(Math.sqrt(l), Math.sqrt(1 - l)));
2450
2453
  }
@@ -2459,9 +2462,9 @@ class C {
2459
2462
  return;
2460
2463
  window.dataLayer = window.dataLayer || [];
2461
2464
  const t = document.querySelectorAll("[data-div-track]");
2462
- typeof C == "function" && t.forEach((a) => {
2465
+ typeof H == "function" && t.forEach((a) => {
2463
2466
  a.addEventListener("click", () => {
2464
- C.clickTrackEvent(a.dataset.divTrack);
2467
+ H.clickTrackEvent(a.dataset.divTrack);
2465
2468
  });
2466
2469
  });
2467
2470
  }
@@ -2497,9 +2500,9 @@ class C {
2497
2500
  url: u = null,
2498
2501
  ip: m = null,
2499
2502
  sessionId: V = null,
2500
- user: M = null
2501
- } = (window == null ? void 0 : window.options) ?? {}, { id: f = null } = M ?? {};
2502
- t.userId = s ?? f, t.isHeads = l, t.isLoggedIn = o, t.url = u, await C.createData(
2503
+ user: C = null
2504
+ } = (window == null ? void 0 : window.options) ?? {}, { id: f = null } = C ?? {};
2505
+ t.userId = s ?? f, t.isHeads = l, t.isLoggedIn = o, t.url = u, await H.createData(
2503
2506
  "/api/event",
2504
2507
  {
2505
2508
  payload: {
@@ -2519,7 +2522,7 @@ class C {
2519
2522
  static async createData(e, t = null, a = !0, n = {}) {
2520
2523
  if (!t)
2521
2524
  return null;
2522
- const s = typeof t == "string" ? t : JSON.stringify(t), r = (t == null ? void 0 : t.website) ?? C.getWebsiteHeaderName();
2525
+ const s = typeof t == "string" ? t : JSON.stringify(t), r = (t == null ? void 0 : t.website) ?? H.getWebsiteHeaderName();
2523
2526
  try {
2524
2527
  const i = await fetch(e, {
2525
2528
  method: "POST",
@@ -2547,7 +2550,7 @@ class C {
2547
2550
  }
2548
2551
  static async deleteSearchValue(e = "recsSearchValue") {
2549
2552
  try {
2550
- return await C.createData(`/api/cookie/remove?name=${e}`);
2553
+ return await H.createData(`/api/cookie/remove?name=${e}`);
2551
2554
  } catch (t) {
2552
2555
  console.error("deleteSearchValue", t.message);
2553
2556
  }
@@ -2616,8 +2619,8 @@ class C {
2616
2619
  }
2617
2620
  static formatDate(e = null) {
2618
2621
  return e ? (e = new Date(e), [
2619
- C.padTo2Digits(e.getMonth() + 1),
2620
- C.padTo2Digits(e.getDate()),
2622
+ H.padTo2Digits(e.getMonth() + 1),
2623
+ H.padTo2Digits(e.getDate()),
2621
2624
  e.getFullYear()
2622
2625
  ].join("-")) : null;
2623
2626
  }
@@ -2687,13 +2690,13 @@ class C {
2687
2690
  if ((l = window == null ? void 0 : window.options) != null && l.isPdf)
2688
2691
  return r;
2689
2692
  try {
2690
- const u = await (await fetch("/api/client-headers")).json(), m = (u == null ? void 0 : u.sessionId) ?? "noSessionId", V = (u == null ? void 0 : u.ip) ?? null, M = e * 1e3;
2693
+ const u = await (await fetch("/api/client-headers")).json(), m = (u == null ? void 0 : u.sessionId) ?? "noSessionId", V = (u == null ? void 0 : u.ip) ?? null, C = e * 1e3;
2691
2694
  return localStorage.setItem(
2692
2695
  i,
2693
2696
  JSON.stringify({
2694
2697
  tolken: m,
2695
2698
  ip: V,
2696
- expire: (/* @__PURE__ */ new Date()).getTime() + M
2699
+ expire: (/* @__PURE__ */ new Date()).getTime() + C
2697
2700
  })
2698
2701
  ), { tolken: m, ip: V, userAgent: t, platform: s };
2699
2702
  } catch (o) {
@@ -2708,19 +2711,19 @@ class C {
2708
2711
  }[e];
2709
2712
  }
2710
2713
  static async getLocationData(e) {
2711
- const { swLat: t, neLng: a, neLat: n, swLng: s } = C.getBounds(e, 3, 0.05), r = "zip-location&swLat=" + t + "&neLng=" + a + "&neLat=" + n + "&swLng=" + s;
2712
- return await C.fetchData("/api/client?query=" + r);
2714
+ const { swLat: t, neLng: a, neLat: n, swLng: s } = H.getBounds(e, 3, 0.05), r = "zip-location&swLat=" + t + "&neLng=" + a + "&neLat=" + n + "&swLng=" + s;
2715
+ return await H.fetchData("/api/client?query=" + r);
2713
2716
  }
2714
2717
  static getReportUrl(e, t = null) {
2715
2718
  var l, o, u;
2716
2719
  const a = ((l = e == null ? void 0 : e.state) == null ? void 0 : l.slug) ?? null, n = ((o = e == null ? void 0 : e.city) == null ? void 0 : o.slug) ?? null, s = ((u = e == null ? void 0 : e.name) == null ? void 0 : u.slug) ?? null, r = (e == null ? void 0 : e.zip) ?? null;
2717
2720
  t = t || ((e == null ? void 0 : e.id) ?? null);
2718
2721
  const i = [r, "-piq", t].filter((m) => m).join("");
2719
- return "/" + [a, n, s].filter((m) => m).map((m) => C.toSlug(m)).join("/") + "/" + i;
2722
+ return "/" + [a, n, s].filter((m) => m).map((m) => H.toSlug(m)).join("/") + "/" + i;
2720
2723
  }
2721
2724
  static async getSearchValue(e = "recsSearchValue") {
2722
2725
  try {
2723
- return await C.createData(`/api/cookie/fetch?name=${e}`);
2726
+ return await H.createData(`/api/cookie/fetch?name=${e}`);
2724
2727
  } catch (t) {
2725
2728
  console.error("getSearchValue", t.message);
2726
2729
  }
@@ -2848,7 +2851,7 @@ class C {
2848
2851
  if ((e = window == null ? void 0 : window.options) != null && e.isPdf)
2849
2852
  return null;
2850
2853
  try {
2851
- return await C.createData("/api/cookie/fetch?name=odrUser");
2854
+ return await H.createData("/api/cookie/fetch?name=odrUser");
2852
2855
  } catch (t) {
2853
2856
  console.error("getUser", t.message);
2854
2857
  }
@@ -2864,7 +2867,7 @@ class C {
2864
2867
  uuid: t
2865
2868
  }
2866
2869
  });
2867
- return await C.fetchData(
2870
+ return await H.fetchData(
2868
2871
  `/api/client?query=user-get-history&filter=${a}`
2869
2872
  );
2870
2873
  }
@@ -2940,23 +2943,23 @@ class C {
2940
2943
  }),
2941
2944
  {}
2942
2945
  ), V = new MutationObserver((h, b) => {
2943
- h.forEach(async (w) => {
2944
- if (w.attributeName === "open") {
2945
- const H = w.target;
2946
- if (!(H == null ? void 0 : H.hasAttribute("open"))) return;
2947
- H == null || H.removeAttribute("inert"), H == null || H.dispatchEvent(m.opening), H && await A(H), H == null || H.dispatchEvent(m.opened);
2946
+ h.forEach(async (S) => {
2947
+ if (S.attributeName === "open") {
2948
+ const g = S.target;
2949
+ if (!(g == null ? void 0 : g.hasAttribute("open"))) return;
2950
+ g == null || g.removeAttribute("inert"), g == null || g.dispatchEvent(m.opening), g && await A(g), g == null || g.dispatchEvent(m.opened);
2948
2951
  }
2949
2952
  });
2950
- }), M = new MutationObserver((h, b) => {
2951
- h.forEach((w) => {
2952
- w.removedNodes.forEach((H) => {
2953
- H.nodeName === "DIALOG" && (H.removeEventListener("click", v), H.removeEventListener("close", f), H.dispatchEvent(m.removed), M == null || M.disconnect(), V == null || V.disconnect());
2953
+ }), C = new MutationObserver((h, b) => {
2954
+ h.forEach((S) => {
2955
+ S.removedNodes.forEach((g) => {
2956
+ g.nodeName === "DIALOG" && (g.removeEventListener("click", v), g.removeEventListener("close", f), g.dispatchEvent(m.removed), C == null || C.disconnect(), V == null || V.disconnect());
2954
2957
  });
2955
2958
  });
2956
2959
  });
2957
2960
  o && (V.observe(o, {
2958
2961
  attributes: !0
2959
- }), M.observe(document.body, {
2962
+ }), C.observe(document.body, {
2960
2963
  attributes: !1,
2961
2964
  subtree: !1,
2962
2965
  childList: !0
@@ -2990,7 +2993,7 @@ class C {
2990
2993
  };
2991
2994
  }
2992
2995
  static hasBoundsEntry(e, t = "bounds") {
2993
- return C.getBoundsEntries(t).includes(e);
2996
+ return H.getBoundsEntries(t).includes(e);
2994
2997
  }
2995
2998
  static initObserver(e, t, a = null) {
2996
2999
  if (!e)
@@ -3049,7 +3052,7 @@ class C {
3049
3052
  url: n,
3050
3053
  data: s
3051
3054
  };
3052
- return await C.createData("/api/client?query=log/save&method=POST", r), null;
3055
+ return await H.createData("/api/client?query=log/save&method=POST", r), null;
3053
3056
  }
3054
3057
  static loadAds() {
3055
3058
  window.dataLayer = window.dataLayer || [];
@@ -3067,7 +3070,7 @@ class C {
3067
3070
  if (e) {
3068
3071
  const s = "/scripts/" + e + ".js?v=" + n;
3069
3072
  try {
3070
- return await C.injectScript({
3073
+ return await H.injectScript({
3071
3074
  src: s,
3072
3075
  id: t || e,
3073
3076
  async: !1,
@@ -3083,11 +3086,11 @@ class C {
3083
3086
  if (window.options.googleMapsLoaded === !0)
3084
3087
  return;
3085
3088
  const e = "https://maps.googleapis.com/maps/api/js", t = window.options.googleApiKey, a = e + "?key=" + t + "&libraries=marker&v=beta&callback=mapCb";
3086
- await C.injectScript({ src: a, id: "googleapis", async: !1 });
3089
+ await H.injectScript({ src: a, id: "googleapis", async: !1 });
3087
3090
  }
3088
3091
  static async loadLeafletApi() {
3089
3092
  const e = "/leaflet/leaflet.js", t = "/leaflet/leaflet.css", a = "/leaflet/leaflet-gesture-handling.min.js", n = "/leaflet/leaflet-gesture-handling.min.css";
3090
- await C.injectLink({ href: t, id: "leafletCss" }), await C.injectLink({ href: n, id: "gestureCss" }), await C.injectScript({ src: e, id: "leafletJs", async: !1 }), await C.injectScript({
3093
+ await H.injectLink({ href: t, id: "leafletCss" }), await H.injectLink({ href: n, id: "gestureCss" }), await H.injectScript({ src: e, id: "leafletJs", async: !1 }), await H.injectScript({
3091
3094
  src: a,
3092
3095
  id: "gestureJs",
3093
3096
  async: !1
@@ -3102,7 +3105,7 @@ class C {
3102
3105
  }
3103
3106
  static async loadSwiper() {
3104
3107
  const e = "/slider/swiper-bundle.min.js";
3105
- await C.injectLink({ href: "/slider/swiper-bundle.min.css", id: "swiperCss" }), await C.injectScript({ src: e, id: "swiperJs", async: !1 });
3108
+ await H.injectLink({ href: "/slider/swiper-bundle.min.css", id: "swiperCss" }), await H.injectScript({ src: e, id: "swiperJs", async: !1 });
3106
3109
  }
3107
3110
  static money(e, t = "", a = 0) {
3108
3111
  return e === null ? t : Intl ? new Intl.NumberFormat("en-US", {
@@ -3131,10 +3134,10 @@ class C {
3131
3134
  vin: u = null,
3132
3135
  license: m = null,
3133
3136
  token: V = null,
3134
- phone: M = null
3137
+ phone: C = null
3135
3138
  } = e || {}, f = t && t !== "", v = r && r !== "" && r !== "18", A = i && i !== "" && r !== "99";
3136
3139
  let h = [];
3137
- return t && t !== "" && h.push("name=" + t), f || (a && a !== "" && h.push("first=" + a), n && n !== "" && h.push("middle=" + n), s && s !== "" && h.push("last=" + s)), v && A ? parseInt(r) > parseInt(i) ? (h.push("min=" + i), h.push("max=" + r)) : (h.push("min=" + r), h.push("max=" + i)) : (v && h.push("min=" + r), A && h.push("max=" + i)), M && M !== "" && h.push("phone=" + M), l && l !== "" && h.push("city=" + l), m && m !== "" && h.push("license=" + m), u && u !== "" && h.push("vin=" + u), o && o !== "" && h.push("state=" + o), V && V !== "" && h.push("token=" + V), h.join("&");
3140
+ return t && t !== "" && h.push("name=" + t), f || (a && a !== "" && h.push("first=" + a), n && n !== "" && h.push("middle=" + n), s && s !== "" && h.push("last=" + s)), v && A ? parseInt(r) > parseInt(i) ? (h.push("min=" + i), h.push("max=" + r)) : (h.push("min=" + r), h.push("max=" + i)) : (v && h.push("min=" + r), A && h.push("max=" + i)), C && C !== "" && h.push("phone=" + C), l && l !== "" && h.push("city=" + l), m && m !== "" && h.push("license=" + m), u && u !== "" && h.push("vin=" + u), o && o !== "" && h.push("state=" + o), V && V !== "" && h.push("token=" + V), h.join("&");
3138
3141
  }
3139
3142
  static padTo2Digits(e) {
3140
3143
  return e.toString().padStart(2, "0");
@@ -3155,7 +3158,7 @@ class C {
3155
3158
  useGoogleOverride: u = !1,
3156
3159
  useAmazonOverride: m = !1,
3157
3160
  isSandboxAccount: V = !1,
3158
- isOptOutSearch: M = !1
3161
+ isOptOutSearch: C = !1
3159
3162
  } = t ?? {}, v = [
3160
3163
  "query=" + encodeURIComponent(this.cleanupAddress(e)),
3161
3164
  "addressesOnly=" + a,
@@ -3167,11 +3170,11 @@ class C {
3167
3170
  "useGoogleOverride=" + u,
3168
3171
  "useAmazonOverride=" + m,
3169
3172
  "isSandboxAccount=" + V,
3170
- "isOptOutSearch=" + M
3173
+ "isOptOutSearch=" + C
3171
3174
  ];
3172
3175
  l && l !== "" && !s && v.push("state=" + l);
3173
3176
  const A = v.join("&"), b = (n || s ? "/api/autocomplete-city" : "/api/autocomplete") + "?" + A;
3174
- return await C.fetchData(b);
3177
+ return await H.fetchData(b);
3175
3178
  }
3176
3179
  static removeElements(e) {
3177
3180
  document.querySelectorAll(e).forEach((t) => t == null ? void 0 : t.remove());
@@ -3190,7 +3193,7 @@ class C {
3190
3193
  });
3191
3194
  }
3192
3195
  static searchInStates(e) {
3193
- const t = C.getStates(), a = e.toLowerCase();
3196
+ const t = H.getStates(), a = e.toLowerCase();
3194
3197
  let n = t.find((s) => s.short.toLowerCase() === a) ?? null;
3195
3198
  return n || (n = t.find((s) => s.name.toLowerCase() === a) ?? null), n;
3196
3199
  }
@@ -3198,7 +3201,7 @@ class C {
3198
3201
  typeof woopra == "object" && woopra.track(e, t);
3199
3202
  }
3200
3203
  static setBoundsEntries(e, t = "bounds") {
3201
- const a = C.getBoundsEntries(t);
3204
+ const a = H.getBoundsEntries(t);
3202
3205
  a.push(e), localStorage.setItem(t, JSON.stringify(a));
3203
3206
  }
3204
3207
  static async setCityState(e = null) {
@@ -3207,7 +3210,7 @@ class C {
3207
3210
  return e;
3208
3211
  t = t.toLowerCase().replace(" usa", "").replace("city or state", "").replace(" state", "").trim();
3209
3212
  let [a = null, n = null] = t.split(",").map((s) => s.trim());
3210
- if (C.getStates(), a && !n) {
3213
+ if (H.getStates(), a && !n) {
3211
3214
  const s = this.searchInStates(a);
3212
3215
  s && (a = null, n = s.short);
3213
3216
  }
@@ -3242,7 +3245,7 @@ class C {
3242
3245
  }
3243
3246
  static async setSearchValueClient(e, t = "recsSearchValue", a = {}) {
3244
3247
  const n = JSON.stringify(e);
3245
- localStorage.setItem(t, n), typeof clarity == "function" && clarity("set", t, n.substring(0, 255)), await C.createData(
3248
+ localStorage.setItem(t, n), typeof clarity == "function" && clarity("set", t, n.substring(0, 255)), await H.createData(
3246
3249
  `/api/cookie/create?name=${t}`,
3247
3250
  e,
3248
3251
  !0,
@@ -3274,7 +3277,7 @@ class C {
3274
3277
  return t.charAt(0).toUpperCase() + t.slice(1);
3275
3278
  }
3276
3279
  static useLayerTitle(e, t) {
3277
- const a = C.getLayerTitle(e);
3280
+ const a = H.getLayerTitle(e);
3278
3281
  L.tileLayer(a, {
3279
3282
  maxNativeZoom: 19,
3280
3283
  maxZoom: 25,
@@ -3283,7 +3286,7 @@ class C {
3283
3286
  }).addTo(t);
3284
3287
  }
3285
3288
  static ucWords(e) {
3286
- return e ? e.toString().split(" ").map((t) => C.ucFirst(t)).join(" ") : null;
3289
+ return e ? e.toString().split(" ").map((t) => H.ucFirst(t)).join(" ") : null;
3287
3290
  }
3288
3291
  /**
3289
3292
  * HOW TO USE EVENTS
@@ -3326,44 +3329,44 @@ class C {
3326
3329
  }
3327
3330
  }
3328
3331
  export {
3329
- O1 as Accordion,
3330
- I1 as Alert,
3331
- T1 as Autocomplete,
3332
- B1 as Badge,
3333
- F as Button,
3334
- p2 as CardSlider,
3335
- $1 as Checkbox,
3336
- C as Common,
3337
- e2 as ContactForm,
3338
- t2 as ContentCard,
3339
- q1 as Dialog,
3340
- P1 as Dots,
3341
- a2 as FlexItem,
3342
- l2 as FunnelHeader,
3332
+ B1 as Accordion,
3333
+ $1 as Alert,
3334
+ q1 as Autocomplete,
3335
+ P1 as Badge,
3336
+ I as Button,
3337
+ V2 as CardSlider,
3338
+ j1 as Checkbox,
3339
+ H as Common,
3340
+ n2 as ContactForm,
3341
+ s2 as ContentCard,
3342
+ R1 as Dialog,
3343
+ W1 as Dots,
3344
+ l2 as FlexItem,
3345
+ o2 as FunnelHeader,
3343
3346
  x as Icon,
3344
- j1 as LoadingBar,
3345
- W1 as Popover,
3346
- R1 as ProcessingSpinner,
3347
- U1 as ProgressBar,
3348
- G1 as Radio,
3349
- Q1 as Select,
3350
- J1 as Skeleton,
3351
- Y1 as Slider,
3352
- n2 as Spacer,
3353
- X1 as Spinner,
3354
- s2 as StackedListItem,
3355
- _1 as Stars,
3356
- h1 as TextArea,
3357
- D as Textbox,
3358
- K1 as Toggle,
3359
- c2 as addClass,
3360
- r2 as colors,
3361
- $ as corePlugins,
3362
- o2 as elerisPreset,
3363
- I as extensions,
3364
- q as plugins,
3365
- i2 as propertyPreset,
3366
- d2 as removeClass,
3367
- u2 as validateEmail,
3368
- h2 as validateForm
3347
+ U1 as LoadingBar,
3348
+ Q1 as Popover,
3349
+ G1 as ProcessingSpinner,
3350
+ J1 as ProgressBar,
3351
+ Y1 as Radio,
3352
+ X1 as Select,
3353
+ _1 as Skeleton,
3354
+ K1 as Slider,
3355
+ r2 as Spacer,
3356
+ e2 as Spinner,
3357
+ i2 as StackedListItem,
3358
+ t2 as Stars,
3359
+ m1 as TextArea,
3360
+ T as Textbox,
3361
+ a2 as Toggle,
3362
+ u2 as addClass,
3363
+ c2 as colors,
3364
+ j as corePlugins,
3365
+ h2 as elerisPreset,
3366
+ $ as extensions,
3367
+ R as plugins,
3368
+ d2 as propertyPreset,
3369
+ p2 as removeClass,
3370
+ f2 as validateEmail,
3371
+ m2 as validateForm
3369
3372
  };