@vehiclehistory/property-lib 0.0.82 → 0.0.83

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
@@ -501,7 +501,7 @@ const W = {
501
501
  size: a = "medium",
502
502
  viewBox: n = "0 0 20 20"
503
503
  }) => {
504
- const s = Q(t), [r, i] = Z(d), [l, o] = Z(s);
504
+ const s = Q(t), [l, i] = Z(d), [r, o] = Z(s);
505
505
  return N(() => {
506
506
  o(s);
507
507
  }, [s]), N(() => {
@@ -513,27 +513,27 @@ const W = {
513
513
  className: m(
514
514
  "fill-current flex-shrink-0",
515
515
  W[a],
516
- r,
516
+ l,
517
517
  e
518
518
  ),
519
519
  style: { maxWidth: "4em" },
520
520
  role: "presentation",
521
521
  viewBox: n,
522
522
  dangerouslySetInnerHTML: {
523
- __html: l && l.path
523
+ __html: r && r.path
524
524
  }
525
525
  }
526
526
  );
527
- }, x = A(G), J = ({
527
+ }, y = A(G), J = ({
528
528
  children: d,
529
529
  className: e,
530
530
  clickHandler: t,
531
531
  panelClass: a,
532
532
  title: n,
533
533
  unmount: s = !0,
534
- isOpen: r = !1
534
+ isOpen: l = !1
535
535
  }) => {
536
- const [i, l] = Z(r);
536
+ const [i, r] = Z(l);
537
537
  return /* @__PURE__ */ c(
538
538
  "div",
539
539
  {
@@ -554,12 +554,12 @@ const W = {
554
554
  ),
555
555
  title: n,
556
556
  onClick: () => {
557
- l(!i), t && t(!i);
557
+ r(!i), t && t(!i);
558
558
  },
559
559
  children: [
560
560
  /* @__PURE__ */ c("div", { className: "accordion-title font-medium text-slate-700 sm-max:!text-base text-lg flex items-center", children: n }),
561
561
  /* @__PURE__ */ c("span", { className: "accordion-icon ml-6 h-7 flex items-center", children: /* @__PURE__ */ c(
562
- x,
562
+ y,
563
563
  {
564
564
  name: "chevronDown",
565
565
  size: "small",
@@ -600,10 +600,10 @@ const W = {
600
600
  messagesClass: a,
601
601
  title: n = "",
602
602
  titleClass: s = "",
603
- props: r = {},
603
+ props: l = {},
604
604
  type: i = "error"
605
605
  }) => {
606
- const l = {
606
+ const r = {
607
607
  error: {
608
608
  icon: "error",
609
609
  iconColor: "text-red-500",
@@ -624,7 +624,7 @@ const W = {
624
624
  iconColor: "text-yellow-500",
625
625
  styles: "bg-yellow-50 border-yellow-300 text-yellow-700"
626
626
  }
627
- }, { icon: o, iconColor: h, styles: p } = l[i];
627
+ }, { icon: o, iconColor: h, styles: p } = r[i];
628
628
  return /* @__PURE__ */ c(
629
629
  "div",
630
630
  {
@@ -634,10 +634,10 @@ const W = {
634
634
  p,
635
635
  e
636
636
  ),
637
- ...r,
637
+ ...l,
638
638
  children: /* @__PURE__ */ M("div", { className: "flex", children: [
639
639
  /* @__PURE__ */ c("div", { className: "flex-shrink-0", children: /* @__PURE__ */ c(
640
- x,
640
+ y,
641
641
  {
642
642
  name: o,
643
643
  viewBox: "0 0 24 24",
@@ -670,9 +670,9 @@ const W = {
670
670
  defaultValue: a = "",
671
671
  floatingLabel: n = "",
672
672
  id: s = "",
673
- inputClass: r,
673
+ inputClass: l,
674
674
  leftIcon: i = "homeSearch",
675
- mobileBackdrop: l = !1,
675
+ mobileBackdrop: r = !1,
676
676
  name: o = "",
677
677
  options: h = [],
678
678
  parentProps: p = {},
@@ -680,7 +680,7 @@ const W = {
680
680
  props: C = {},
681
681
  rightIcon: f = "",
682
682
  required: v = !1,
683
- showSearchIcon: y = !0,
683
+ showSearchIcon: x = !0,
684
684
  showRightIcon: u = !1,
685
685
  size: b = "medium",
686
686
  styles: w = null,
@@ -701,18 +701,18 @@ const W = {
701
701
  style: w ? { ...w } : null,
702
702
  ...p,
703
703
  children: [
704
- y && /* @__PURE__ */ M(
704
+ x && /* @__PURE__ */ M(
705
705
  "span",
706
706
  {
707
707
  className: m(
708
708
  "search-icon-left absolute inset-y-0 left-0 flex items-center pl-2",
709
709
  {
710
- "pointer-events-none": l
710
+ "pointer-events-none": r
711
711
  }
712
712
  ),
713
713
  children: [
714
714
  /* @__PURE__ */ c(
715
- x,
715
+ y,
716
716
  {
717
717
  className: "home-search select-none text-gray-500",
718
718
  name: i,
@@ -721,7 +721,7 @@ const W = {
721
721
  }
722
722
  ),
723
723
  /* @__PURE__ */ c(
724
- x,
724
+ y,
725
725
  {
726
726
  className: "arrow-left select-none text-gray-500 hidden",
727
727
  name: "arrowLeft",
@@ -740,13 +740,13 @@ const W = {
740
740
  className: m(
741
741
  "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",
742
742
  {
743
- "pl-8": y === !0,
743
+ "pl-8": x === !0,
744
744
  "px-3 h-10": b === "medium",
745
745
  "px-4 h-12": b === "large",
746
746
  "px-5 h-[60px] sm:!text-base": b === "xLarge",
747
747
  peer: n
748
748
  },
749
- r
749
+ l
750
750
  ),
751
751
  required: v,
752
752
  autoComplete: "off",
@@ -764,7 +764,7 @@ const W = {
764
764
  className: m(
765
765
  "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",
766
766
  {
767
- "!left-7": y === !0,
767
+ "!left-7": x === !0,
768
768
  "left-2": b === "medium",
769
769
  "left-3": b === "large",
770
770
  "left-4": b === "xLarge"
@@ -779,7 +779,7 @@ const W = {
779
779
  "data-id": "search-clear",
780
780
  className: "clear-btn absolute inset-y-0 right-0 flex items-center px-2 hidden",
781
781
  children: /* @__PURE__ */ c(
782
- x,
782
+ y,
783
783
  {
784
784
  className: "cursor-pointer text-gray-500",
785
785
  name: "xCircle",
@@ -795,7 +795,7 @@ const W = {
795
795
  "data-id": "search-loading",
796
796
  className: "absolute inset-y-0 right-0 flex items-center px-2 pointer-events-none hidden",
797
797
  children: /* @__PURE__ */ c(
798
- x,
798
+ y,
799
799
  {
800
800
  className: "animate-spin text-[#222]] pointer-events-none",
801
801
  name: "spinnerDark",
@@ -810,7 +810,7 @@ const W = {
810
810
  {
811
811
  "data-id": "right-icon",
812
812
  className: `${u ? "" : "hidden"} absolute inset-y-0 right-0 flex items-center px-2 pointer-events-none`,
813
- children: /* @__PURE__ */ c(x, { name: f, size: "small", viewBox: "0 0 24 24" })
813
+ children: /* @__PURE__ */ c(y, { name: f, size: "small", viewBox: "0 0 24 24" })
814
814
  }
815
815
  ),
816
816
  /* @__PURE__ */ M(
@@ -874,9 +874,9 @@ const W = {
874
874
  children: a,
875
875
  className: n,
876
876
  disabled: s = !1,
877
- href: r,
877
+ href: l,
878
878
  props: i = {},
879
- rightIcon: l,
879
+ rightIcon: r,
880
880
  rightIconProps: o = {},
881
881
  rounded: h = !1,
882
882
  size: p = "md",
@@ -884,7 +884,7 @@ const W = {
884
884
  uppercase: C = !1,
885
885
  variation: f = "primary"
886
886
  }) => {
887
- const v = r ? "a" : "button";
887
+ const v = l ? "a" : "button";
888
888
  return /* @__PURE__ */ M(
889
889
  v,
890
890
  {
@@ -896,18 +896,18 @@ const W = {
896
896
  [`button--${p}`]: p,
897
897
  "button--rounded": h,
898
898
  "button--disabled": s,
899
- "button--custom-link": r,
899
+ "button--custom-link": l,
900
900
  "button--uppercase": C,
901
901
  "button--borderless": d || f === "link"
902
902
  },
903
903
  n
904
904
  ),
905
905
  disabled: s,
906
- href: r,
906
+ href: l,
907
907
  ...i,
908
908
  children: [
909
909
  e && /* @__PURE__ */ c(
910
- x,
910
+ y,
911
911
  {
912
912
  name: e,
913
913
  size: p === "md" ? "small" : "xSmall",
@@ -916,10 +916,10 @@ const W = {
916
916
  }
917
917
  ),
918
918
  a,
919
- l && /* @__PURE__ */ c(
920
- x,
919
+ r && /* @__PURE__ */ c(
920
+ y,
921
921
  {
922
- name: l,
922
+ name: r,
923
923
  size: p === "md" ? "small" : "xSmall",
924
924
  viewBox: "0 0 24 24",
925
925
  ...o
@@ -935,13 +935,13 @@ const W = {
935
935
  error: a = !1,
936
936
  inputClass: n,
937
937
  id: s = "",
938
- label: r = "",
938
+ label: l = "",
939
939
  name: i = "",
940
- props: l = {},
940
+ props: r = {},
941
941
  variation: o = "primary",
942
942
  value: h = ""
943
943
  }) => {
944
- const p = r ? "div" : "label", V = p === "label" ? { htmlFor: s } : {};
944
+ const p = l ? "div" : "label", V = p === "label" ? { htmlFor: s } : {};
945
945
  return /* @__PURE__ */ M(
946
946
  p,
947
947
  {
@@ -963,7 +963,7 @@ const W = {
963
963
  name: i,
964
964
  type: "checkbox",
965
965
  value: h,
966
- ...l
966
+ ...r
967
967
  }
968
968
  ),
969
969
  e
@@ -977,9 +977,9 @@ const W = {
977
977
  className: a,
978
978
  contentClass: n,
979
979
  customScrollbar: s = !0,
980
- dark: r = !1,
980
+ dark: l = !1,
981
981
  footer: i,
982
- fullMobile: l = !0,
982
+ fullMobile: r = !0,
983
983
  headerClass: o,
984
984
  hideClose: h = !1,
985
985
  iconSize: p = "medium",
@@ -987,9 +987,9 @@ const W = {
987
987
  stickyHeader: C = !1,
988
988
  title: f = "",
989
989
  titleClass: v,
990
- useFormMethod: y = !0
990
+ useFormMethod: x = !0
991
991
  }) => {
992
- const u = y ? "form" : "div";
992
+ const u = x ? "form" : "div";
993
993
  return /* @__PURE__ */ M(k, { children: [
994
994
  d && /* @__PURE__ */ c("span", { id: `${e}-dialog-activator`, children: d }),
995
995
  /* @__PURE__ */ c(
@@ -1000,8 +1000,8 @@ const W = {
1000
1000
  className: m(
1001
1001
  "dialog",
1002
1002
  {
1003
- "dialog-full-mobile": l,
1004
- dark: r,
1003
+ "dialog-full-mobile": r,
1004
+ dark: l,
1005
1005
  "prevent-scroll": V
1006
1006
  },
1007
1007
  a
@@ -1010,7 +1010,7 @@ const W = {
1010
1010
  u,
1011
1011
  {
1012
1012
  className: "dialog-container",
1013
- method: y ? "dialog" : null,
1013
+ method: x ? "dialog" : null,
1014
1014
  children: [
1015
1015
  /* @__PURE__ */ M(
1016
1016
  "header",
@@ -1035,7 +1035,7 @@ const W = {
1035
1035
  "data-dialog-close": "",
1036
1036
  value: "close",
1037
1037
  children: /* @__PURE__ */ c(
1038
- x,
1038
+ y,
1039
1039
  {
1040
1040
  name: "close",
1041
1041
  size: p,
@@ -1085,23 +1085,23 @@ const W = {
1085
1085
  timeout: n = 1e4,
1086
1086
  variation: s = "primary"
1087
1087
  }) => {
1088
- function r({ cb: i }) {
1089
- const l = document.querySelector(".loading-bar__inner");
1090
- if (!l) return;
1088
+ function l({ cb: i }) {
1089
+ const r = document.querySelector(".loading-bar__inner");
1090
+ if (!r) return;
1091
1091
  let o, h, p = !1;
1092
1092
  function V(C) {
1093
1093
  o === void 0 && (o = C);
1094
1094
  const f = C - o;
1095
1095
  if (h !== C) {
1096
1096
  const v = f / n * 101;
1097
- l.style.width = `${v}%`, e && e({ elapsed: f, percentage: v }), v >= 101 && (i && i(), p = !0, window.cancelAnimationFrame(C));
1097
+ r.style.width = `${v}%`, e && e({ elapsed: f, percentage: v }), v >= 101 && (i && i(), p = !0, window.cancelAnimationFrame(C));
1098
1098
  }
1099
1099
  f < n && (h = C, p || window.requestAnimationFrame(V));
1100
1100
  }
1101
1101
  window.requestAnimationFrame(V);
1102
1102
  }
1103
1103
  return N(() => {
1104
- r({ cb: d });
1104
+ l({ cb: d });
1105
1105
  }, []), /* @__PURE__ */ c(
1106
1106
  "div",
1107
1107
  {
@@ -1126,9 +1126,9 @@ const W = {
1126
1126
  children: a,
1127
1127
  className: n = "",
1128
1128
  containerClass: s = "",
1129
- disabled: r = !1,
1129
+ disabled: l = !1,
1130
1130
  options: i = {},
1131
- trigger: l = "click"
1131
+ trigger: r = "click"
1132
1132
  }) => /* @__PURE__ */ M(k, { children: [
1133
1133
  /* @__PURE__ */ c(
1134
1134
  "div",
@@ -1160,9 +1160,9 @@ const W = {
1160
1160
  {
1161
1161
  className: m(
1162
1162
  "popover-activator",
1163
- `trigger-${l}`,
1163
+ `trigger-${r}`,
1164
1164
  {
1165
- "is-disabled": r
1165
+ "is-disabled": l
1166
1166
  },
1167
1167
  e
1168
1168
  ),
@@ -1178,9 +1178,9 @@ const W = {
1178
1178
  className: a,
1179
1179
  completed: n = 0,
1180
1180
  customLabel: s,
1181
- labelClass: r,
1181
+ labelClass: l,
1182
1182
  maxCompleted: i = 100,
1183
- rounded: l = !0,
1183
+ rounded: r = !0,
1184
1184
  showLabel: o = !1
1185
1185
  }) => {
1186
1186
  const p = ((V, C) => {
@@ -1195,7 +1195,7 @@ const W = {
1195
1195
  {
1196
1196
  className: m(
1197
1197
  "w-full bg-gray-200",
1198
- { "rounded-full": l },
1198
+ { "rounded-full": r },
1199
1199
  a
1200
1200
  ),
1201
1201
  role: "progressbar",
@@ -1216,7 +1216,7 @@ const W = {
1216
1216
  {
1217
1217
  className: m(
1218
1218
  "font-bold text-white text-xs mr-2",
1219
- r
1219
+ l
1220
1220
  ),
1221
1221
  children: s || Math.round(p)
1222
1222
  }
@@ -1232,9 +1232,9 @@ const W = {
1232
1232
  id: a = "",
1233
1233
  inputClass: n,
1234
1234
  label: s = "",
1235
- name: r = "",
1235
+ name: l = "",
1236
1236
  props: i = {},
1237
- variation: l = "primary",
1237
+ variation: r = "primary",
1238
1238
  value: o = ""
1239
1239
  }) => {
1240
1240
  const h = s ? "div" : "label", p = h === "label" ? { htmlFor: a } : {};
@@ -1251,12 +1251,12 @@ const W = {
1251
1251
  className: m(
1252
1252
  "form-radio focus:ring-2 focus:ring-offset-2 focus-within:outline-none",
1253
1253
  {
1254
- "focus:ring-[#222]": l === "primary"
1254
+ "focus:ring-[#222]": r === "primary"
1255
1255
  },
1256
1256
  n
1257
1257
  ),
1258
1258
  id: a,
1259
- name: r,
1259
+ name: l,
1260
1260
  type: "radio",
1261
1261
  value: o,
1262
1262
  ...i
@@ -1273,9 +1273,9 @@ const W = {
1273
1273
  id: a = "",
1274
1274
  label: n = "",
1275
1275
  name: s = "",
1276
- options: r = [],
1276
+ options: l = [],
1277
1277
  placeholder: i = "",
1278
- props: l = {},
1278
+ props: r = {},
1279
1279
  selectClass: o = "",
1280
1280
  styles: h = null,
1281
1281
  variation: p = "primary",
@@ -1303,10 +1303,10 @@ const W = {
1303
1303
  name: s,
1304
1304
  value: V,
1305
1305
  ...C,
1306
- ...l,
1306
+ ...r,
1307
1307
  children: [
1308
1308
  i && /* @__PURE__ */ c("option", { hidden: !0, value: "", children: i }),
1309
- r.map((f) => /* @__PURE__ */ c(
1309
+ l.map((f) => /* @__PURE__ */ c(
1310
1310
  "option",
1311
1311
  {
1312
1312
  value: (f == null ? void 0 : f.id) || (f == null ? void 0 : f.value) || f,
@@ -1321,7 +1321,7 @@ const W = {
1321
1321
  ]
1322
1322
  }
1323
1323
  );
1324
- }, U1 = A(s1), l1 = ({ className: d }) => /* @__PURE__ */ M(
1324
+ }, U1 = A(s1), r1 = ({ className: d }) => /* @__PURE__ */ M(
1325
1325
  "div",
1326
1326
  {
1327
1327
  className: m(
@@ -1329,11 +1329,11 @@ const W = {
1329
1329
  d
1330
1330
  ),
1331
1331
  children: [
1332
- /* @__PURE__ */ c(x, { size: "xLarge", name: "map", className: "mx-auto" }),
1332
+ /* @__PURE__ */ c(y, { size: "xLarge", name: "map", className: "mx-auto" }),
1333
1333
  /* @__PURE__ */ c("span", { className: "sr-only", children: "Loading..." })
1334
1334
  ]
1335
1335
  }
1336
- ), Q1 = A(l1), r1 = ({
1336
+ ), Q1 = A(r1), l1 = ({
1337
1337
  placeholderClass: d = "",
1338
1338
  children: e,
1339
1339
  className: t,
@@ -1347,16 +1347,16 @@ const W = {
1347
1347
  id: `btn-left-${a}`,
1348
1348
  type: "button",
1349
1349
  className: "slider-button__prev ",
1350
- children: /* @__PURE__ */ c(x, { name: "chevronLeft" })
1350
+ children: /* @__PURE__ */ c(y, { name: "chevronLeft" })
1351
1351
  }
1352
1352
  ),
1353
- /* @__PURE__ */ c("div", { id: `slider-container-${a}`, className: "slider-container", children: Array.from({ length: 4 }, (s, r) => /* @__PURE__ */ c(
1353
+ /* @__PURE__ */ c("div", { id: `slider-container-${a}`, className: "slider-container", children: Array.from({ length: 4 }, (s, l) => /* @__PURE__ */ c(
1354
1354
  "div",
1355
1355
  {
1356
1356
  className: `slider-card bg-gray-200 animate-pulse ${d}`,
1357
1357
  children: /* @__PURE__ */ c("div", { className: `slider-card-action ${n ? "p-4" : ""}`, children: e })
1358
1358
  },
1359
- r
1359
+ l
1360
1360
  )) }),
1361
1361
  /* @__PURE__ */ c(
1362
1362
  "button",
@@ -1365,15 +1365,15 @@ const W = {
1365
1365
  id: `btn-right-${a}`,
1366
1366
  type: "button",
1367
1367
  className: "slider-button__next",
1368
- children: /* @__PURE__ */ c(x, { name: "chevronRight" })
1368
+ children: /* @__PURE__ */ c(y, { name: "chevronRight" })
1369
1369
  }
1370
1370
  )
1371
- ] }), G1 = A(r1), i1 = {
1371
+ ] }), G1 = A(l1), i1 = {
1372
1372
  name: "spinnerDark",
1373
1373
  color: "text-teal-700",
1374
1374
  viewBox: "0 0 24 24"
1375
1375
  }, o1 = ({ className: d }) => /* @__PURE__ */ c("div", { className: "rounded-r-md px-2 focus:outline-none", children: /* @__PURE__ */ c(
1376
- x,
1376
+ y,
1377
1377
  {
1378
1378
  className: `animate-spin ${d}`,
1379
1379
  size: "xSmall",
@@ -1403,9 +1403,9 @@ const W = {
1403
1403
  errorMessage: a = "",
1404
1404
  id: n = "",
1405
1405
  inputClass: s = "",
1406
- name: r = "",
1406
+ name: l = "",
1407
1407
  placeholder: i = "",
1408
- props: l = {},
1408
+ props: r = {},
1409
1409
  rows: o = 4,
1410
1410
  variation: h = "primary"
1411
1411
  }) => /* @__PURE__ */ M("div", { className: m("relative textarea", h, d), children: [
@@ -1414,7 +1414,7 @@ const W = {
1414
1414
  {
1415
1415
  placeholder: i,
1416
1416
  id: n,
1417
- name: r,
1417
+ name: l,
1418
1418
  rows: o,
1419
1419
  className: m(
1420
1420
  "form-textarea min-h-[40px] pl-4",
@@ -1424,7 +1424,7 @@ const W = {
1424
1424
  },
1425
1425
  s
1426
1426
  ),
1427
- ...l
1427
+ ...r
1428
1428
  }
1429
1429
  ),
1430
1430
  e && /* @__PURE__ */ c(
@@ -1433,7 +1433,7 @@ const W = {
1433
1433
  id: `${n}-clear`,
1434
1434
  className: "textarea-clear absolute right-0 top-2 bottom-auto flex items-center rounded-r-md pr-2 focus:outline-none hidden",
1435
1435
  children: /* @__PURE__ */ c(
1436
- x,
1436
+ y,
1437
1437
  {
1438
1438
  size: "xSmall",
1439
1439
  name: "xCircle",
@@ -1450,9 +1450,9 @@ const W = {
1450
1450
  errorMessage: a = "",
1451
1451
  iconLeft: n = "",
1452
1452
  id: s = "",
1453
- inputClass: r,
1453
+ inputClass: l,
1454
1454
  name: i = "",
1455
- placeholder: l = "",
1455
+ placeholder: r = "",
1456
1456
  props: o = {},
1457
1457
  styles: h = null,
1458
1458
  type: p = "text",
@@ -1465,7 +1465,7 @@ const W = {
1465
1465
  style: h ? { ...h } : null,
1466
1466
  children: [
1467
1467
  n && /* @__PURE__ */ c("div", { className: "pointer-events-none absolute inset-y-0 left-0 flex items-center px-2", children: /* @__PURE__ */ c(
1468
- x,
1468
+ y,
1469
1469
  {
1470
1470
  size: "xSmall",
1471
1471
  name: n,
@@ -1476,7 +1476,7 @@ const W = {
1476
1476
  /* @__PURE__ */ c(
1477
1477
  "input",
1478
1478
  {
1479
- placeholder: l,
1479
+ placeholder: r,
1480
1480
  id: s,
1481
1481
  name: i,
1482
1482
  type: p,
@@ -1490,7 +1490,7 @@ const W = {
1490
1490
  "!border-red-500 !bg-red-500/10 placeholder:!text-red-700 focus:!ring-red-500 focus:!border-red-500": t
1491
1491
  },
1492
1492
  o.inputClass ?? "",
1493
- r
1493
+ l
1494
1494
  ),
1495
1495
  ...o
1496
1496
  }
@@ -1501,7 +1501,7 @@ const W = {
1501
1501
  id: `${s}-clear`,
1502
1502
  className: "textbox-clear absolute inset-y-0 right-0 flex items-center rounded-r-md px-2 focus:outline-none hidden",
1503
1503
  children: /* @__PURE__ */ c(
1504
- x,
1504
+ y,
1505
1505
  {
1506
1506
  size: "xSmall",
1507
1507
  name: "xCircle",
@@ -1520,7 +1520,7 @@ const W = {
1520
1520
  customSuccessMsg: a = "",
1521
1521
  title: n = "Send A Message",
1522
1522
  titleClass: s,
1523
- uppercase: r = !0
1523
+ uppercase: l = !0
1524
1524
  }) => {
1525
1525
  const i = a || /* @__PURE__ */ M(k, { children: [
1526
1526
  "Typical email response time is 2-3 hours. If you require immediate assistance you may use our",
@@ -1544,7 +1544,7 @@ const W = {
1544
1544
  {
1545
1545
  id: "contactForm",
1546
1546
  className: m("contact-form", t, {
1547
- uppercase: r
1547
+ uppercase: l
1548
1548
  }),
1549
1549
  children: [
1550
1550
  /* @__PURE__ */ c("h2", { id: "contact-title", className: m("mb-4", s), children: n }),
@@ -1564,7 +1564,7 @@ const W = {
1564
1564
  name: "contact-name",
1565
1565
  placeholder: "Name",
1566
1566
  inputClass: m({
1567
- "placeholder:uppercase": r
1567
+ "placeholder:uppercase": l
1568
1568
  })
1569
1569
  }
1570
1570
  ),
@@ -1575,7 +1575,7 @@ const W = {
1575
1575
  name: "contact-email",
1576
1576
  placeholder: "Email",
1577
1577
  inputClass: m({
1578
- "placeholder:uppercase": r
1578
+ "placeholder:uppercase": l
1579
1579
  })
1580
1580
  }
1581
1581
  ),
@@ -1586,7 +1586,7 @@ const W = {
1586
1586
  name: "contact-message",
1587
1587
  placeholder: "Message",
1588
1588
  inputClass: m({
1589
- "placeholder:uppercase": r
1589
+ "placeholder:uppercase": l
1590
1590
  })
1591
1591
  }
1592
1592
  ),
@@ -1596,7 +1596,7 @@ const W = {
1596
1596
  className: m(
1597
1597
  "flex mx-auto items-center",
1598
1598
  {
1599
- uppercase: r
1599
+ uppercase: l
1600
1600
  },
1601
1601
  d
1602
1602
  ),
@@ -1618,13 +1618,13 @@ const W = {
1618
1618
  contentClass: a,
1619
1619
  footerClass: n,
1620
1620
  footerContent: s,
1621
- headerContent: r,
1621
+ headerContent: l,
1622
1622
  headerClass: i,
1623
- list: l = !1,
1623
+ list: r = !1,
1624
1624
  props: o = {},
1625
1625
  variation: h = "primary"
1626
1626
  }) => {
1627
- const p = l ? "ul" : "div";
1627
+ const p = r ? "ul" : "div";
1628
1628
  return /* @__PURE__ */ M(
1629
1629
  "div",
1630
1630
  {
@@ -1636,12 +1636,12 @@ const W = {
1636
1636
  ),
1637
1637
  ...o,
1638
1638
  children: [
1639
- r && /* @__PURE__ */ c("div", { className: m("content-card__header", i), children: typeof r == "string" ? /* @__PURE__ */ c("h3", { children: r }) : r }),
1639
+ l && /* @__PURE__ */ c("div", { className: m("content-card__header", i), children: typeof l == "string" ? /* @__PURE__ */ c("h3", { children: l }) : l }),
1640
1640
  /* @__PURE__ */ c(
1641
1641
  p,
1642
1642
  {
1643
1643
  className: m("content-card__content", a),
1644
- role: l ? "list" : null,
1644
+ role: r ? "list" : null,
1645
1645
  children: e
1646
1646
  }
1647
1647
  ),
@@ -1656,9 +1656,9 @@ const W = {
1656
1656
  direction: a = "col",
1657
1657
  label: n,
1658
1658
  labelClass: s,
1659
- props: r = {},
1659
+ props: l = {},
1660
1660
  rowGap: i = 1,
1661
- value: l,
1661
+ value: r,
1662
1662
  valueClass: o,
1663
1663
  wrap: h = !1
1664
1664
  }) => /* @__PURE__ */ M(
@@ -1677,10 +1677,10 @@ const W = {
1677
1677
  columnGap: `${t / 4}rem`,
1678
1678
  rowGap: `${i / 4}rem`
1679
1679
  },
1680
- ...r,
1680
+ ...l,
1681
1681
  children: [
1682
1682
  n && /* @__PURE__ */ c("div", { className: m("item-label", s), children: n }),
1683
- l && /* @__PURE__ */ c("div", { className: m("item-value", o), children: l }),
1683
+ r && /* @__PURE__ */ c("div", { className: m("item-value", o), children: r }),
1684
1684
  d
1685
1685
  ]
1686
1686
  }
@@ -1691,7 +1691,7 @@ const W = {
1691
1691
  noPrint: a = !1,
1692
1692
  props: n = {},
1693
1693
  title: s,
1694
- titleClass: r,
1694
+ titleClass: l,
1695
1695
  titleId: i
1696
1696
  }) => /* @__PURE__ */ M(
1697
1697
  "section",
@@ -1706,7 +1706,7 @@ const W = {
1706
1706
  ),
1707
1707
  ...n,
1708
1708
  children: [
1709
- s && /* @__PURE__ */ c("h2", { className: m("spacer-title", r), id: i, children: s }),
1709
+ s && /* @__PURE__ */ c("h2", { className: m("spacer-title", l), id: i, children: s }),
1710
1710
  e
1711
1711
  ]
1712
1712
  }
@@ -1866,7 +1866,7 @@ const W = {
1866
1866
  }, A1 = {
1867
1867
  0: "0ms",
1868
1868
  50: "50ms"
1869
- }, x1 = {
1869
+ }, y1 = {
1870
1870
  "center-top": "center 30%"
1871
1871
  }, B = {
1872
1872
  animation: V1,
@@ -1878,7 +1878,7 @@ const W = {
1878
1878
  maxWidth: v1,
1879
1879
  screens: b1,
1880
1880
  transitionDuration: A1,
1881
- transformOrigin: x1
1881
+ transformOrigin: y1
1882
1882
  }, I = {
1883
1883
  black: {
1884
1884
  50: "#FCFCFC",
@@ -1989,7 +1989,7 @@ const W = {
1989
1989
  }, n2 = {
1990
1990
  ...I,
1991
1991
  ...O
1992
- }, y1 = ({ matchUtilities: d, theme: e }) => d(
1992
+ }, x1 = ({ matchUtilities: d, theme: e }) => d(
1993
1993
  {
1994
1994
  aspect: (t) => ({
1995
1995
  "@supports (aspect-ratio: 1 / 1)": {
@@ -2034,27 +2034,27 @@ const W = {
2034
2034
  fixedProps: a = {},
2035
2035
  sizeProps: n = null,
2036
2036
  sizes: s,
2037
- weights: r,
2037
+ weights: l,
2038
2038
  weightProps: i = null
2039
2039
  }) => {
2040
- const l = {};
2040
+ const r = {};
2041
2041
  Object.entries(s).forEach(([o, h]) => {
2042
2042
  const p = {
2043
2043
  "font-size": h,
2044
2044
  ...a
2045
2045
  }, V = `.${e(`${t}-${o}`)}`, C = n ? n({ sizeKey: o, sizeValue: h }) : {};
2046
- l[V] = {
2046
+ r[V] = {
2047
2047
  ...p,
2048
2048
  ...C
2049
- }, Object.entries(r).forEach(([f, v]) => {
2050
- const y = `.${e(`${t}-${o}-${f}`)}`, u = i ? i({ sizeKey: o, sizeValue: h, weightKey: f, weightValue: v }) : {};
2051
- l[y] = {
2049
+ }, Object.entries(l).forEach(([f, v]) => {
2050
+ const x = `.${e(`${t}-${o}-${f}`)}`, u = i ? i({ sizeKey: o, sizeValue: h, weightKey: f, weightValue: v }) : {};
2051
+ r[x] = {
2052
2052
  ...p,
2053
2053
  "font-weight": v,
2054
2054
  ...u
2055
2055
  };
2056
2056
  });
2057
- }), d(l);
2057
+ }), d(r);
2058
2058
  }, $ = {
2059
2059
  aspectRatio: !1,
2060
2060
  backdropBlur: !1,
@@ -2127,7 +2127,7 @@ const W = {
2127
2127
  medium: "500",
2128
2128
  semibold: "600",
2129
2129
  bold: "700"
2130
- }, r = {
2130
+ }, l = {
2131
2131
  title: "2rem",
2132
2132
  1: "1.75rem",
2133
2133
  2: "1.625rem",
@@ -2147,10 +2147,10 @@ const W = {
2147
2147
  fixedProps: {
2148
2148
  "line-height": "1.5"
2149
2149
  },
2150
- sizeProps: ({ sizeKey: l }) => ({
2151
- "font-weight": n.includes(l) ? s.semibold : s.bold
2150
+ sizeProps: ({ sizeKey: r }) => ({
2151
+ "font-weight": n.includes(r) ? s.semibold : s.bold
2152
2152
  }),
2153
- sizes: r,
2153
+ sizes: l,
2154
2154
  weights: s
2155
2155
  }), D({
2156
2156
  addUtilities: d,
@@ -2158,7 +2158,7 @@ const W = {
2158
2158
  classPrefix: "text-body",
2159
2159
  sizes: i,
2160
2160
  weights: s
2161
- }), y1({ matchUtilities: e, theme: t }), w1({ matchUtilities: e, theme: t }), S1({ matchUtilities: e }), k1({ matchUtilities: e });
2161
+ }), x1({ matchUtilities: e, theme: t }), w1({ matchUtilities: e, theme: t }), S1({ matchUtilities: e }), k1({ matchUtilities: e });
2162
2162
  }
2163
2163
  ], s2 = {
2164
2164
  theme: {
@@ -2167,7 +2167,7 @@ const W = {
2167
2167
  },
2168
2168
  plugins: q,
2169
2169
  corePlugins: $
2170
- }, l2 = {
2170
+ }, r2 = {
2171
2171
  theme: {
2172
2172
  extend: B,
2173
2173
  colors: O
@@ -2182,11 +2182,11 @@ function z1(d, e = []) {
2182
2182
  },
2183
2183
  set(t, a, n) {
2184
2184
  const s = { ...t };
2185
- return t[a] = n, e.length > 0 && e.forEach((r) => r(t, s, a)), t;
2185
+ return t[a] = n, e.length > 0 && e.forEach((l) => l(t, s, a)), t;
2186
2186
  }
2187
2187
  });
2188
2188
  }
2189
- function r2(d, e = []) {
2189
+ function l2(d, e = []) {
2190
2190
  e.length && (d == null || d.classList.add(...e));
2191
2191
  }
2192
2192
  function i2(d, e = []) {
@@ -2194,12 +2194,12 @@ function i2(d, e = []) {
2194
2194
  }
2195
2195
  function o2({ cb: d, form: e, formData: t, validations: a, reactive: n = !1 }) {
2196
2196
  let s = !0;
2197
- for (const [r, i] of t.entries()) {
2198
- const l = e.querySelector(`[name="${r}"]`), o = a[r], h = [];
2197
+ for (const [l, i] of t.entries()) {
2198
+ const r = e.querySelector(`[name="${l}"]`), o = a[l], h = [];
2199
2199
  o.forEach((p) => {
2200
2200
  p.isValid(i) || h.push(p.message);
2201
- }), h.length ? (s = !1, l.classList.add("field-error"), d && d({ isValid: s, field: l, validations: a })) : (l.classList.remove("field-error"), d && d({ isValid: !0, field: l, validations: a })), n && (l == null || l.addEventListener("input", (p) => {
2202
- p.preventDefault(), l.classList.contains("field-error") && l.classList.remove("field-error");
2201
+ }), h.length ? (s = !1, r.classList.add("field-error"), d && d({ isValid: s, field: r, validations: a })) : (r.classList.remove("field-error"), d && d({ isValid: !0, field: r, validations: a })), n && (r == null || r.addEventListener("input", (p) => {
2202
+ p.preventDefault(), r.classList.contains("field-error") && r.classList.remove("field-error");
2203
2203
  }));
2204
2204
  }
2205
2205
  return s;
@@ -2253,16 +2253,16 @@ class d2 {
2253
2253
  )), e.slides = [...(a = e.container) == null ? void 0 : a.children], e.slides.forEach((n) => e.observer.observe(n));
2254
2254
  }
2255
2255
  handleIntersect(e, t, a) {
2256
- const n = e.filter((l) => l.isIntersecting), s = n.length === a.slides.length, r = n.every(
2257
- (l) => l.isIntersecting === !0
2256
+ const n = e.filter((r) => r.isIntersecting), s = n.length === a.slides.length, l = n.every(
2257
+ (r) => r.isIntersecting === !0
2258
2258
  );
2259
- s && r ? t.disconnect() : (a.disableBtns = !1, e.forEach((l) => {
2260
- const o = [...a.slides].indexOf(l.target);
2261
- l.target === a.slides[0] && (a.showPrevBtn = l.isIntersecting), l.target === a.slides[a.slides.length - 1] && (a.showNextBtn = l.isIntersecting), l.target === a.slides[2] && (a.scrollToStart = l.isIntersecting), l.target === a.slides[a.slides.length - 2] && (a.scrollToEnd = l.isIntersecting), l.isIntersecting && !a.entriesIntersected.includes(o) && (a.entriesIntersected.push(o), a.activeIndex = o, i(l));
2259
+ s && l ? t.disconnect() : (a.disableBtns = !1, e.forEach((r) => {
2260
+ const o = [...a.slides].indexOf(r.target);
2261
+ r.target === a.slides[0] && (a.showPrevBtn = r.isIntersecting), r.target === a.slides[a.slides.length - 1] && (a.showNextBtn = r.isIntersecting), r.target === a.slides[2] && (a.scrollToStart = r.isIntersecting), r.target === a.slides[a.slides.length - 2] && (a.scrollToEnd = r.isIntersecting), r.isIntersecting && !a.entriesIntersected.includes(o) && (a.entriesIntersected.push(o), a.activeIndex = o, i(r));
2262
2262
  }));
2263
- function i(l) {
2263
+ function i(r) {
2264
2264
  var o;
2265
- l.target !== a.slides[a.slides.length - 1] && l.target !== a.slides[0] && l.target !== a.slides[2] && l.target !== a.slides[a.slides.length - 2] && ((o = a.observer) == null || o.unobserve(l.target));
2265
+ r.target !== a.slides[a.slides.length - 1] && r.target !== a.slides[0] && r.target !== a.slides[2] && r.target !== a.slides[a.slides.length - 2] && ((o = a.observer) == null || o.unobserve(r.target));
2266
2266
  }
2267
2267
  }
2268
2268
  btnListeners(e) {
@@ -2281,7 +2281,7 @@ class d2 {
2281
2281
  e.scrollToEnd ? e.transition = n : e.transition += e.slides[1].offsetWidth + 12, e.container.style.transform = `translate3d(${-e.transition}px, 0, 0)`;
2282
2282
  }
2283
2283
  sliderElements({ state: e, items: t, id: a, cb: n }) {
2284
- const s = '<span class="slide-first"></span>', r = '<span class="slide-last"></span>';
2284
+ const s = '<span class="slide-first"></span>', l = '<span class="slide-last"></span>';
2285
2285
  if (e.container = document.getElementById(`slider-container-${a}`), !e.container)
2286
2286
  return console.error(`slider-container-${a} Not Found`);
2287
2287
  e.prevBtn = e.container.parentElement.querySelector(
@@ -2289,8 +2289,8 @@ class d2 {
2289
2289
  ), e.nextBtn = e.container.parentElement.querySelector(
2290
2290
  `#btn-right-${a}`
2291
2291
  );
2292
- const i = t.map((o) => n(o)).join(""), l = document.createElement("div");
2293
- l.innerHTML = `${s}${i}${r}`, e.container.replaceChildren(...l.children), e.container.parentElement.classList.add("loaded");
2292
+ const i = t.map((o) => n(o)).join(""), r = document.createElement("div");
2293
+ r.innerHTML = `${s}${i}${l}`, e.container.replaceChildren(...r.children), e.container.parentElement.classList.add("loaded");
2294
2294
  }
2295
2295
  showHideBtns(e, t, a) {
2296
2296
  if (a === "showPrevBtn" || a === "showNextBtn") {
@@ -2302,10 +2302,10 @@ class d2 {
2302
2302
  }
2303
2303
  class H {
2304
2304
  static calcCrow(e, t, a, n) {
2305
- const r = H.toRad(a - e), i = H.toRad(n - t);
2305
+ const l = H.toRad(a - e), i = H.toRad(n - t);
2306
2306
  e = H.toRad(e), a = H.toRad(a);
2307
- const l = Math.sin(r / 2) * Math.sin(r / 2) + Math.sin(i / 2) * Math.sin(i / 2) * Math.cos(e) * Math.cos(a);
2308
- return 6371 * (2 * Math.atan2(Math.sqrt(l), Math.sqrt(1 - l)));
2307
+ const r = Math.sin(l / 2) * Math.sin(l / 2) + Math.sin(i / 2) * Math.sin(i / 2) * Math.cos(e) * Math.cos(a);
2308
+ return 6371 * (2 * Math.atan2(Math.sqrt(r), Math.sqrt(1 - r)));
2309
2309
  }
2310
2310
  static cleanupAddress(e) {
2311
2311
  return e.split(" ").map((a) => a.split("-")[0]).join(" ").trim();
@@ -2333,11 +2333,11 @@ class H {
2333
2333
  static async createData(e, t = null, a = !0) {
2334
2334
  if (window.options.isBot || !t)
2335
2335
  return null;
2336
- const { tolken: n = null, ip: s = null } = await H.getHeaders(), r = a === !1 ? "" : "&tolken=" + n + "&ip=" + s, i = e + r, l = typeof t == "string" ? t : JSON.stringify(t), o = (t == null ? void 0 : t.website) ?? H.getWebsiteHeaderName();
2336
+ const { tolken: n = null, ip: s = null } = await H.getHeaders(), l = a === !1 ? "" : "&tolken=" + n + "&ip=" + s, i = e + l, r = typeof t == "string" ? t : JSON.stringify(t), o = (t == null ? void 0 : t.website) ?? H.getWebsiteHeaderName();
2337
2337
  try {
2338
2338
  const h = await fetch(i, {
2339
2339
  method: "POST",
2340
- body: l === "null" ? null : l,
2340
+ body: r === "null" ? null : r,
2341
2341
  headers: {
2342
2342
  website: o
2343
2343
  }
@@ -2409,15 +2409,15 @@ class H {
2409
2409
  return null;
2410
2410
  const { tolken: n = null, ip: s = null } = await H.getHeaders(), i = e.replace("#", "").replace("%23", "") + "&tolken=" + n + "&ip=" + s;
2411
2411
  try {
2412
- const l = await fetch(i, { method: "GET" });
2412
+ const r = await fetch(i, { method: "GET" });
2413
2413
  if (t === !0) {
2414
- const h = await l.text();
2414
+ const h = await r.text();
2415
2415
  return h ? h.replace("__next", "") : null;
2416
2416
  }
2417
- const o = l.headers.get("content-type");
2418
- return o && o.indexOf("application/json") !== -1 ? l.json() : null;
2419
- } catch (l) {
2420
- console.error("fetchData", l, e);
2417
+ const o = r.headers.get("content-type");
2418
+ return o && o.indexOf("application/json") !== -1 ? r.json() : null;
2419
+ } catch (r) {
2420
+ console.error("fetchData", r, e);
2421
2421
  }
2422
2422
  return null;
2423
2423
  }
@@ -2445,12 +2445,12 @@ class H {
2445
2445
  swLng: 0
2446
2446
  };
2447
2447
  const n = e.getBounds();
2448
- let s = n.getSouth(), r = n.getEast(), i = n.getNorth(), l = n.getWest();
2449
- return a && (s = s - a, r = r + a, i = i + a, l = l - a), t && (s = s.toFixed(t), r = r.toFixed(t), i = i.toFixed(t), l = l.toFixed(t)), {
2448
+ let s = n.getSouth(), l = n.getEast(), i = n.getNorth(), r = n.getWest();
2449
+ return a && (s = s - a, l = l + a, i = i + a, r = r - a), t && (s = s.toFixed(t), l = l.toFixed(t), i = i.toFixed(t), r = r.toFixed(t)), {
2450
2450
  swLat: s,
2451
- neLng: r,
2451
+ neLng: l,
2452
2452
  neLat: i,
2453
- swLng: l
2453
+ swLng: r
2454
2454
  };
2455
2455
  }
2456
2456
  static getFirstN(e, t = 5) {
@@ -2478,19 +2478,19 @@ class H {
2478
2478
  return "/report/license-plate";
2479
2479
  }
2480
2480
  static async getHeaders(e = 300) {
2481
- var l;
2481
+ var r;
2482
2482
  const {
2483
2483
  userAgent: t = null,
2484
2484
  userAgentData: a = null,
2485
2485
  platform: n = null
2486
- } = navigator || {}, s = (a == null ? void 0 : a.platform) ?? n, r = {
2486
+ } = navigator || {}, s = (a == null ? void 0 : a.platform) ?? n, l = {
2487
2487
  tolken: null,
2488
2488
  ip: null,
2489
2489
  userAgent: t,
2490
2490
  platform: s
2491
2491
  };
2492
2492
  if (options && options.isBot || typeof window.localStorage > "u")
2493
- return r;
2493
+ return l;
2494
2494
  const i = localStorage.getItem("headerTolken");
2495
2495
  if (i) {
2496
2496
  const o = JSON.parse(i), h = (/* @__PURE__ */ new Date()).getTime();
@@ -2501,8 +2501,8 @@ class H {
2501
2501
  platform: s
2502
2502
  };
2503
2503
  }
2504
- if ((l = window == null ? void 0 : window.options) != null && l.isPdf)
2505
- return r;
2504
+ if ((r = window == null ? void 0 : window.options) != null && r.isPdf)
2505
+ return l;
2506
2506
  try {
2507
2507
  const h = await (await fetch("/api/headers")).json(), p = (h == null ? void 0 : h.token) ?? null, V = (h == null ? void 0 : h.ip) ?? null;
2508
2508
  return localStorage.setItem(
@@ -2516,7 +2516,7 @@ class H {
2516
2516
  } catch (o) {
2517
2517
  console.error("getHeaders", o);
2518
2518
  }
2519
- return r;
2519
+ return l;
2520
2520
  }
2521
2521
  static getLayerTitle(e) {
2522
2522
  return {
@@ -2525,14 +2525,14 @@ class H {
2525
2525
  }[e];
2526
2526
  }
2527
2527
  static async getLocationData(e) {
2528
- 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;
2529
- return await H.fetchData("/api/client?query=" + r);
2528
+ const { swLat: t, neLng: a, neLat: n, swLng: s } = H.getBounds(e, 3, 0.05), l = "zip-location&swLat=" + t + "&neLng=" + a + "&neLat=" + n + "&swLng=" + s;
2529
+ return await H.fetchData("/api/client?query=" + l);
2530
2530
  }
2531
2531
  static getReportUrl(e, t = null) {
2532
- var l, o, h;
2533
- 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 = ((h = e == null ? void 0 : e.name) == null ? void 0 : h.slug) ?? null, r = (e == null ? void 0 : e.zip) ?? null;
2532
+ var r, o, h;
2533
+ const a = ((r = e == null ? void 0 : e.state) == null ? void 0 : r.slug) ?? null, n = ((o = e == null ? void 0 : e.city) == null ? void 0 : o.slug) ?? null, s = ((h = e == null ? void 0 : e.name) == null ? void 0 : h.slug) ?? null, l = (e == null ? void 0 : e.zip) ?? null;
2534
2534
  t = t || ((e == null ? void 0 : e.id) ?? null);
2535
- const i = [r, "-piq", t].filter((p) => p).join("");
2535
+ const i = [l, "-piq", t].filter((p) => p).join("");
2536
2536
  return "/" + [a, n, s].filter((p) => p).map((p) => H.toSlug(p)).join("/") + "/" + i;
2537
2537
  }
2538
2538
  static async getSearchValue(e = "recsSearchValue") {
@@ -2699,18 +2699,18 @@ class H {
2699
2699
  static gridTest(e, t, a = 1500) {
2700
2700
  const n = this;
2701
2701
  L.GridLayer.GridDebug = L.GridLayer.extend({
2702
- createTile: function(s, r) {
2702
+ createTile: function(s, l) {
2703
2703
  const i = document.createElement("div");
2704
2704
  return setTimeout(() => {
2705
- r(null, i);
2706
- const { se: l, nw: o } = n.getGridBounds({
2705
+ l(null, i);
2706
+ const { se: r, nw: o } = n.getGridBounds({
2707
2707
  map: e,
2708
2708
  tileSize: this.getTileSize(),
2709
2709
  coords: s
2710
2710
  });
2711
2711
  t({
2712
- swLat: l.lat,
2713
- neLng: l.lng,
2712
+ swLat: r.lat,
2713
+ neLng: r.lng,
2714
2714
  neLat: o.lat,
2715
2715
  swLng: o.lng,
2716
2716
  coords: s,
@@ -2740,10 +2740,10 @@ class H {
2740
2740
  onClose: a = null,
2741
2741
  onOpen: n = null,
2742
2742
  onTargetClick: s = null,
2743
- selfClose: r = !1,
2743
+ selfClose: l = !1,
2744
2744
  target: i = null
2745
2745
  }) {
2746
- const l = i ? document.querySelectorAll(i) : [], o = document.getElementById(`${t}-dialog`), h = r ? o == null ? void 0 : o.querySelectorAll("[data-dialog-close]") : document.querySelectorAll("[data-dialog-close]"), p = [
2746
+ const r = i ? document.querySelectorAll(i) : [], o = document.getElementById(`${t}-dialog`), h = l ? o == null ? void 0 : o.querySelectorAll("[data-dialog-close]") : document.querySelectorAll("[data-dialog-close]"), p = [
2747
2747
  "closing",
2748
2748
  "closed",
2749
2749
  "opening",
@@ -2761,7 +2761,7 @@ class H {
2761
2761
  if (w.attributeName === "open") {
2762
2762
  const g = w.target;
2763
2763
  if (!(g == null ? void 0 : g.hasAttribute("open"))) return;
2764
- g == null || g.removeAttribute("inert"), g == null || g.dispatchEvent(p.opening), g && await y(g), g == null || g.dispatchEvent(p.opened);
2764
+ g == null || g.removeAttribute("inert"), g == null || g.dispatchEvent(p.opening), g && await x(g), g == null || g.dispatchEvent(p.opened);
2765
2765
  }
2766
2766
  });
2767
2767
  }), C = new MutationObserver((u, b) => {
@@ -2779,17 +2779,17 @@ class H {
2779
2779
  childList: !0
2780
2780
  }));
2781
2781
  const f = async ({ target: u }) => {
2782
- u == null || u.classList.add("closing"), u == null || u.setAttribute("inert", ""), u == null || u.dispatchEvent(p.closing), u && await y(u), u == null || u.classList.remove("closing"), u == null || u.dispatchEvent(p.closed);
2782
+ u == null || u.classList.add("closing"), u == null || u.setAttribute("inert", ""), u == null || u.dispatchEvent(p.closing), u && await x(u), u == null || u.classList.remove("closing"), u == null || u.dispatchEvent(p.closed);
2783
2783
  }, v = async ({ target: u }) => {
2784
2784
  (u == null ? void 0 : u.nodeName) === "DIALOG" && (u == null || u.dispatchEvent(p.outside), o == null || o.close("outside"));
2785
- }, y = (u) => Promise.allSettled(
2785
+ }, x = (u) => Promise.allSettled(
2786
2786
  u == null ? void 0 : u.getAnimations().map((b) => b == null ? void 0 : b.finished)
2787
2787
  );
2788
2788
  return !e && (o == null || o.addEventListener("click", v)), o == null || o.addEventListener("close", async (u) => {
2789
2789
  await f({ target: u.target }), a && a(u, o);
2790
2790
  }), n && (o == null || o.addEventListener("open", async (u) => {
2791
2791
  n(u, o);
2792
- })), l == null || l.forEach((u) => {
2792
+ })), r == null || r.forEach((u) => {
2793
2793
  u.addEventListener("click", (b) => {
2794
2794
  o == null || o.showModal(), s && s(b, o);
2795
2795
  });
@@ -2798,7 +2798,7 @@ class H {
2798
2798
  o == null || o.close("close");
2799
2799
  });
2800
2800
  }), {
2801
- activators: l,
2801
+ activators: r,
2802
2802
  ref: o
2803
2803
  };
2804
2804
  }
@@ -2809,8 +2809,8 @@ class H {
2809
2809
  if (!e)
2810
2810
  return;
2811
2811
  const n = (a == null ? void 0 : a.useBounding) ?? !1;
2812
- new IntersectionObserver(async (r, i) => {
2813
- n ? (r[0].isIntersecting || r[0].boundingClientRect.y < 0) && t({ obs: i, entry: r[0], entries: r }) : r[0].isIntersecting && t({ obs: i, entry: r[0], entries: r });
2812
+ new IntersectionObserver(async (l, i) => {
2813
+ n ? (l[0].isIntersecting || l[0].boundingClientRect.y < 0) && t({ obs: i, entry: l[0], entries: l }) : l[0].isIntersecting && t({ obs: i, entry: l[0], entries: l });
2814
2814
  }, a).observe(e);
2815
2815
  }
2816
2816
  static injectLink({ href: e, id: t }) {
@@ -2818,11 +2818,11 @@ class H {
2818
2818
  a.href = e, a.type = "text/css", a.rel = "stylesheet", t && (a.id = t), document.getElementsByTagName("head")[0].appendChild(a);
2819
2819
  }
2820
2820
  static injectScript({ src: e, id: t = null, async: a = !0, module: n = !1 }) {
2821
- return new Promise(function(s, r) {
2821
+ return new Promise(function(s, l) {
2822
2822
  let i = document.getElementById(t);
2823
2823
  if (t && i && i.dataset.loaded === "true")
2824
2824
  return s({ alreadyLoaded: !0, id: t });
2825
- i || (i = document.createElement("script"), i.src = e, i.dataset.loaded = "false", t && (i.id = t), i.type = n ? "module" : "text/javascript", i.async = a, document.body.appendChild(i), i.onload = () => (i.dataset.loaded = "true", s({ alreadyLoaded: !1, id: t })), i.onerror = () => r(!1));
2825
+ i || (i = document.createElement("script"), i.src = e, i.dataset.loaded = "false", t && (i.id = t), i.type = n ? "module" : "text/javascript", i.async = a, document.body.appendChild(i), i.onload = () => (i.dataset.loaded = "true", s({ alreadyLoaded: !1, id: t })), i.onerror = () => l(!1));
2826
2826
  });
2827
2827
  }
2828
2828
  static isMobile({ selector: e = null, width: t = 640 } = {}) {
@@ -2855,14 +2855,14 @@ class H {
2855
2855
  return a > 999999 ? n * (a / 1e6).toFixed(1) + "m" : a > 999 ? n * (a / 1e3).toFixed(t) + "k" : n * a;
2856
2856
  }
2857
2857
  static async logRequest(e = null, t = null, a = null, n = null, s = null) {
2858
- const r = {
2858
+ const l = {
2859
2859
  name: e,
2860
2860
  uuid: t,
2861
2861
  ip: a,
2862
2862
  url: n,
2863
2863
  data: s
2864
2864
  };
2865
- return await H.createData("/api/client?query=log/save&method=POST", r), null;
2865
+ return await H.createData("/api/client?query=log/save&method=POST", l), null;
2866
2866
  }
2867
2867
  static loadAds() {
2868
2868
  window.dataLayer = window.dataLayer || [];
@@ -2886,8 +2886,8 @@ class H {
2886
2886
  async: !1,
2887
2887
  module: a
2888
2888
  });
2889
- } catch (r) {
2890
- console.error("loadCustomScript", r);
2889
+ } catch (l) {
2890
+ console.error("loadCustomScript", l);
2891
2891
  }
2892
2892
  }
2893
2893
  return null;
@@ -2948,17 +2948,17 @@ class H {
2948
2948
  first: a = null,
2949
2949
  middle: n = null,
2950
2950
  last: s = null,
2951
- min: r = null,
2951
+ min: l = null,
2952
2952
  max: i = null,
2953
- city: l = null,
2953
+ city: r = null,
2954
2954
  state: o = null,
2955
2955
  vin: h = null,
2956
2956
  license: p = null,
2957
2957
  token: V = null,
2958
2958
  phone: C = null
2959
- } = e || {}, f = t && t !== "", v = r && r !== "" && r !== "18", y = i && i !== "" && r !== "99";
2959
+ } = e || {}, f = t && t !== "", v = l && l !== "" && l !== "18", x = i && i !== "" && l !== "99";
2960
2960
  let u = [];
2961
- return t && t !== "" && u.push("name=" + t), f || (a && a !== "" && u.push("first=" + a), n && n !== "" && u.push("middle=" + n), s && s !== "" && u.push("last=" + s)), v && y ? parseInt(r) > parseInt(i) ? (u.push("min=" + i), u.push("max=" + r)) : (u.push("min=" + r), u.push("max=" + i)) : (v && u.push("min=" + r), y && u.push("max=" + i)), C && C !== "" && u.push("phone=" + C), l && l !== "" && u.push("city=" + l), p && p !== "" && u.push("license=" + p), h && h !== "" && u.push("vin=" + h), o && o !== "" && u.push("state=" + o), V && V !== "" && u.push("token=" + V), u.join("&");
2961
+ return t && t !== "" && u.push("name=" + t), f || (a && a !== "" && u.push("first=" + a), n && n !== "" && u.push("middle=" + n), s && s !== "" && u.push("last=" + s)), v && x ? parseInt(l) > parseInt(i) ? (u.push("min=" + i), u.push("max=" + l)) : (u.push("min=" + l), u.push("max=" + i)) : (v && u.push("min=" + l), x && u.push("max=" + i)), C && C !== "" && u.push("phone=" + C), r && r !== "" && u.push("city=" + r), p && p !== "" && u.push("license=" + p), h && h !== "" && u.push("vin=" + h), o && o !== "" && u.push("state=" + o), V && V !== "" && u.push("token=" + V), u.join("&");
2962
2962
  }
2963
2963
  static padTo2Digits(e) {
2964
2964
  return e.toString().padStart(2, "0");
@@ -2972,22 +2972,22 @@ class H {
2972
2972
  addressesOnly: a = !1,
2973
2973
  useCitySearch: n = !1,
2974
2974
  useCityStateSearch: s = !1,
2975
- useSearch: r = !1,
2975
+ useSearch: l = !1,
2976
2976
  useLocation: i = !0,
2977
- state: l = "",
2977
+ state: r = "",
2978
2978
  useGoogle: o = !1
2979
2979
  } = t ?? {}, { tolken: h = null, ip: p = null } = await H.getHeaders(), C = [
2980
2980
  "query=" + encodeURIComponent(this.cleanupAddress(e)),
2981
2981
  "addressesOnly=" + a,
2982
- "useSearch=" + r,
2982
+ "useSearch=" + l,
2983
2983
  "useCitySearch=" + n,
2984
2984
  "useCityStateSearch=" + s,
2985
2985
  "useLocation=" + i,
2986
2986
  "useGoogle=" + o
2987
2987
  ];
2988
- l && l !== "" && !s && C.push("state=" + l), h && h !== "" && C.push("tolken=" + h), p && p !== "" && C.push("ip=" + p);
2989
- const f = C.join("&"), y = (n || s ? "/api/autocomplete-city" : "/api/autocomplete") + "?" + f;
2990
- return await H.makeSearchFetchCall(y);
2988
+ r && r !== "" && !s && C.push("state=" + r), h && h !== "" && C.push("tolken=" + h), p && p !== "" && C.push("ip=" + p);
2989
+ const f = C.join("&"), x = (n || s ? "/api/autocomplete-city" : "/api/autocomplete") + "?" + f;
2990
+ return await H.makeSearchFetchCall(x);
2991
2991
  }
2992
2992
  static removeElements(e) {
2993
2993
  document.querySelectorAll(e).forEach((t) => t == null ? void 0 : t.remove());
@@ -3032,14 +3032,30 @@ class H {
3032
3032
  s && (n = s.short);
3033
3033
  }
3034
3034
  if (a && !n) {
3035
- const s = a.split(" "), r = s[s.length - 1];
3036
- if (r.length) {
3037
- const i = this.searchInStates(r);
3035
+ const s = a.split(" "), l = s[s.length - 1];
3036
+ if (l.length) {
3037
+ const i = this.searchInStates(l);
3038
3038
  i && (n = i.short, a = s.slice(0, -1).join(" "));
3039
3039
  }
3040
3040
  }
3041
3041
  return a && n && a.toLowerCase() === n.toLowerCase() && (a = null), e.city = a, e.state = n ? n.toUpperCase() : null, e;
3042
3042
  }
3043
+ /**
3044
+ * @param {Array<{ fileName: string, initFunctionName: string }>} fileNames - Array of objects with fileName and initFunctionName properties
3045
+ * @param {string} subfolder - The subfolder to load the files from
3046
+ * @returns {Promise}
3047
+ */
3048
+ static async setRandomFileNameVersion(e, t = "scripts") {
3049
+ const a = Date.now(), n = typeof window < "u" ? window.location.origin : "", s = t ? `/${t}/` : "/";
3050
+ try {
3051
+ const l = e.map(({ fileName: o, initFunctionName: h }) => import(`${n}${s}${o}?v=${a}`)), i = await Promise.all(l), r = [];
3052
+ i.forEach((o, h) => {
3053
+ o && typeof o[e[h].initFunctionName] == "function" ? r.push(o[e[h].initFunctionName]()) : console.error(`error loading ${e[h].initFunctionName}()`);
3054
+ }), r.length > 0 && await Promise.all(r);
3055
+ } catch (l) {
3056
+ console.error("Failed to load one or more search modules:", l);
3057
+ }
3058
+ }
3043
3059
  static async setSearchValueClient(e, t = "recsSearchValue") {
3044
3060
  localStorage.setItem(t, JSON.stringify(e)), await H.createData(`/api/cookie/create?name=${t}`, e);
3045
3061
  }
@@ -3134,7 +3150,7 @@ export {
3134
3150
  $1 as Dots,
3135
3151
  X1 as FlexItem,
3136
3152
  a2 as FunnelHeader,
3137
- x as Icon,
3153
+ y as Icon,
3138
3154
  q1 as LoadingBar,
3139
3155
  P1 as Popover,
3140
3156
  j1 as ProcessingSpinner,
@@ -3149,10 +3165,10 @@ export {
3149
3165
  _1 as Stars,
3150
3166
  d1 as TextArea,
3151
3167
  T as Textbox,
3152
- r2 as addClass,
3168
+ l2 as addClass,
3153
3169
  n2 as colors,
3154
3170
  $ as corePlugins,
3155
- l2 as elerisPreset,
3171
+ r2 as elerisPreset,
3156
3172
  B as extensions,
3157
3173
  q as plugins,
3158
3174
  s2 as propertyPreset,