@cartbot/plate-search 3.1.6 → 3.1.8

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.
@@ -166,7 +166,7 @@ function Qt() {
166
166
  HTMLFormElement: b,
167
167
  DOMParser: N,
168
168
  trustedTypes: T
169
- } = o, x = w.prototype, O = Ce(x, "cloneNode"), I = Ce(x, "remove"), $ = Ce(x, "nextSibling"), We = Ce(x, "childNodes"), ee = Ce(x, "parentNode");
169
+ } = o, y = w.prototype, O = Ce(y, "cloneNode"), I = Ce(y, "remove"), $ = Ce(y, "nextSibling"), We = Ce(y, "childNodes"), ee = Ce(y, "parentNode");
170
170
  if (typeof p == "function") {
171
171
  const d = c.createElement("template");
172
172
  d.content && d.content.ownerDocument && (c = d.content.ownerDocument);
@@ -217,7 +217,7 @@ function Qt() {
217
217
  enumerable: !0,
218
218
  value: !1
219
219
  }
220
- })), oe = null, ye = null, Ee = !0, i = !0, v = !1, y = !0, E = !1, ne = !0, G = !1, ie = !1, Xe = !1, me = !1, Pe = !1, De = !1, ft = !0, gt = !1;
220
+ })), oe = null, ye = null, Ee = !0, i = !0, v = !1, x = !0, E = !1, ne = !0, G = !1, ie = !1, Xe = !1, me = !1, Pe = !1, De = !1, ft = !0, gt = !1;
221
221
  const ha = "user-content-";
222
222
  let Ke = !0, _e = !1, he = {}, pe = null;
223
223
  const wt = g({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
@@ -238,7 +238,7 @@ function Qt() {
238
238
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
239
239
  if (!(fe && fe === e)) {
240
240
  if ((!e || typeof e != "object") && (e = {}), e = Q(e), Ae = // eslint-disable-next-line unicorn/prefer-includes
241
- fa.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? ga : e.PARSER_MEDIA_TYPE, M = Ae === "application/xhtml+xml" ? nt : Be, _ = W(e, "ALLOWED_TAGS") ? g({}, e.ALLOWED_TAGS, M) : xe, S = W(e, "ALLOWED_ATTR") ? g({}, e.ALLOWED_ATTR, M) : He, et = W(e, "ALLOWED_NAMESPACES") ? g({}, e.ALLOWED_NAMESPACES, nt) : pa, Je = W(e, "ADD_URI_SAFE_ATTR") ? g(Q(xt), e.ADD_URI_SAFE_ATTR, M) : xt, bt = W(e, "ADD_DATA_URI_TAGS") ? g(Q(vt), e.ADD_DATA_URI_TAGS, M) : vt, pe = W(e, "FORBID_CONTENTS") ? g({}, e.FORBID_CONTENTS, M) : wt, oe = W(e, "FORBID_TAGS") ? g({}, e.FORBID_TAGS, M) : Q({}), ye = W(e, "FORBID_ATTR") ? g({}, e.FORBID_ATTR, M) : Q({}), he = W(e, "USE_PROFILES") ? e.USE_PROFILES : !1, Ee = e.ALLOW_ARIA_ATTR !== !1, i = e.ALLOW_DATA_ATTR !== !1, v = e.ALLOW_UNKNOWN_PROTOCOLS || !1, y = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, E = e.SAFE_FOR_TEMPLATES || !1, ne = e.SAFE_FOR_XML !== !1, G = e.WHOLE_DOCUMENT || !1, me = e.RETURN_DOM || !1, Pe = e.RETURN_DOM_FRAGMENT || !1, De = e.RETURN_TRUSTED_TYPE || !1, Xe = e.FORCE_BODY || !1, ft = e.SANITIZE_DOM !== !1, gt = e.SANITIZE_NAMED_PROPS || !1, Ke = e.KEEP_CONTENT !== !1, _e = e.IN_PLACE || !1, ve = e.ALLOWED_URI_REGEXP || Kt, ue = e.NAMESPACE || X, Fe = e.MATHML_TEXT_INTEGRATION_POINTS || Fe, Ze = e.HTML_INTEGRATION_POINTS || Ze, A = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && yt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (A.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && yt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (A.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (A.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), E && (i = !1), Pe && (me = !0), he && (_ = g({}, Dt), S = [], he.html === !0 && (g(_, Pt), g(S, Ut)), he.svg === !0 && (g(_, rt), g(S, st), g(S, je)), he.svgFilters === !0 && (g(_, it), g(S, st), g(S, je)), he.mathMl === !0 && (g(_, lt), g(S, zt), g(S, je))), e.ADD_TAGS && (_ === xe && (_ = Q(_)), g(_, e.ADD_TAGS, M)), e.ADD_ATTR && (S === He && (S = Q(S)), g(S, e.ADD_ATTR, M)), e.ADD_URI_SAFE_ATTR && g(Je, e.ADD_URI_SAFE_ATTR, M), e.FORBID_CONTENTS && (pe === wt && (pe = Q(pe)), g(pe, e.FORBID_CONTENTS, M)), Ke && (_["#text"] = !0), G && g(_, ["html", "head", "body"]), _.table && (g(_, ["tbody"]), delete oe.tbody), e.TRUSTED_TYPES_POLICY) {
241
+ fa.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? ga : e.PARSER_MEDIA_TYPE, M = Ae === "application/xhtml+xml" ? nt : Be, _ = W(e, "ALLOWED_TAGS") ? g({}, e.ALLOWED_TAGS, M) : xe, S = W(e, "ALLOWED_ATTR") ? g({}, e.ALLOWED_ATTR, M) : He, et = W(e, "ALLOWED_NAMESPACES") ? g({}, e.ALLOWED_NAMESPACES, nt) : pa, Je = W(e, "ADD_URI_SAFE_ATTR") ? g(Q(xt), e.ADD_URI_SAFE_ATTR, M) : xt, bt = W(e, "ADD_DATA_URI_TAGS") ? g(Q(vt), e.ADD_DATA_URI_TAGS, M) : vt, pe = W(e, "FORBID_CONTENTS") ? g({}, e.FORBID_CONTENTS, M) : wt, oe = W(e, "FORBID_TAGS") ? g({}, e.FORBID_TAGS, M) : Q({}), ye = W(e, "FORBID_ATTR") ? g({}, e.FORBID_ATTR, M) : Q({}), he = W(e, "USE_PROFILES") ? e.USE_PROFILES : !1, Ee = e.ALLOW_ARIA_ATTR !== !1, i = e.ALLOW_DATA_ATTR !== !1, v = e.ALLOW_UNKNOWN_PROTOCOLS || !1, x = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, E = e.SAFE_FOR_TEMPLATES || !1, ne = e.SAFE_FOR_XML !== !1, G = e.WHOLE_DOCUMENT || !1, me = e.RETURN_DOM || !1, Pe = e.RETURN_DOM_FRAGMENT || !1, De = e.RETURN_TRUSTED_TYPE || !1, Xe = e.FORCE_BODY || !1, ft = e.SANITIZE_DOM !== !1, gt = e.SANITIZE_NAMED_PROPS || !1, Ke = e.KEEP_CONTENT !== !1, _e = e.IN_PLACE || !1, ve = e.ALLOWED_URI_REGEXP || Kt, ue = e.NAMESPACE || X, Fe = e.MATHML_TEXT_INTEGRATION_POINTS || Fe, Ze = e.HTML_INTEGRATION_POINTS || Ze, A = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && yt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (A.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && yt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (A.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (A.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), E && (i = !1), Pe && (me = !0), he && (_ = g({}, Dt), S = [], he.html === !0 && (g(_, Pt), g(S, Ut)), he.svg === !0 && (g(_, rt), g(S, st), g(S, je)), he.svgFilters === !0 && (g(_, it), g(S, st), g(S, je)), he.mathMl === !0 && (g(_, lt), g(S, zt), g(S, je))), e.ADD_TAGS && (_ === xe && (_ = Q(_)), g(_, e.ADD_TAGS, M)), e.ADD_ATTR && (S === He && (S = Q(S)), g(S, e.ADD_ATTR, M)), e.ADD_URI_SAFE_ATTR && g(Je, e.ADD_URI_SAFE_ATTR, M), e.FORBID_CONTENTS && (pe === wt && (pe = Q(pe)), g(pe, e.FORBID_CONTENTS, M)), Ke && (_["#text"] = !0), G && g(_, ["html", "head", "body"]), _.table && (g(_, ["tbody"]), delete oe.tbody), e.TRUSTED_TYPES_POLICY) {
242
242
  if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function")
243
243
  throw Se('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
244
244
  if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function")
@@ -421,7 +421,7 @@ function Qt() {
421
421
  ge(C, e);
422
422
  continue;
423
423
  }
424
- if (!y && U(/\/>/i, D)) {
424
+ if (!x && U(/\/>/i, D)) {
425
425
  ge(C, e);
426
426
  continue;
427
427
  }
@@ -710,7 +710,7 @@ const Wa = /* @__PURE__ */ new Map([
710
710
  size: b,
711
711
  weight: N = "regular",
712
712
  mirrored: T = !1,
713
- ...x
713
+ ...y
714
714
  } = a.useContext(Ka);
715
715
  return /* @__PURE__ */ a.createElement(
716
716
  "svg",
@@ -722,7 +722,7 @@ const Wa = /* @__PURE__ */ new Map([
722
722
  fill: l ?? f,
723
723
  viewBox: "0 0 256 256",
724
724
  transform: p || T ? "scale(-1, 1)" : void 0,
725
- ...x,
725
+ ...y,
726
726
  ...r
727
727
  },
728
728
  !!c && /* @__PURE__ */ a.createElement("title", null, c),
@@ -791,18 +791,18 @@ var la = { exports: {} };
791
791
  }
792
792
  f = h.write ? h.write(f, r) : encodeURIComponent(String(f)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g, decodeURIComponent), r = encodeURIComponent(String(r)).replace(/%(23|24|26|2B|5E|60|7C)/g, decodeURIComponent).replace(/[\(\)]/g, escape);
793
793
  var T = "";
794
- for (var x in b)
795
- b[x] && (T += "; " + x, b[x] !== !0 && (T += "=" + b[x].split(";")[0]));
794
+ for (var y in b)
795
+ b[y] && (T += "; " + y, b[y] !== !0 && (T += "=" + b[y].split(";")[0]));
796
796
  return document.cookie = r + "=" + f + T;
797
797
  }
798
798
  }
799
799
  function w(r, f) {
800
800
  if (!(typeof document > "u")) {
801
801
  for (var b = {}, N = document.cookie ? document.cookie.split("; ") : [], T = 0; T < N.length; T++) {
802
- var x = N[T].split("="), O = x.slice(1).join("=");
802
+ var y = N[T].split("="), O = y.slice(1).join("=");
803
803
  !f && O.charAt(0) === '"' && (O = O.slice(1, -1));
804
804
  try {
805
- var I = l(x[0]);
805
+ var I = l(y[0]);
806
806
  if (O = (h.read || h)(O, I) || l(O), f)
807
807
  try {
808
808
  O = JSON.parse(O);
@@ -981,11 +981,11 @@ function no({ className: o, alt: t = "Partbot Logo" }) {
981
981
  ))
982
982
  ));
983
983
  }
984
- const ro = "3.1.6", ht = {
984
+ const ro = "3.1.8", ht = {
985
985
  version: ro
986
986
  }, jt = ["ACT", "NSW", "NT", "QLD", "SA", "TAS", "VIC", "WA"], Bt = "https://api.partbot.io/v1/vehicles/plate-search", Wt = "https://api.partbot.io/v1/vehicles/plate-search-retry";
987
987
  function ut(o) {
988
- const [t, c] = q(!1), [l, u] = q(!1), [h, p] = q(""), [m, w] = q(""), [r, f] = q(null), [b, N] = q(!1), T = Me(null), [x, O] = q(Bt), [I, $] = q(null), We = o.apiKey, ee = o.callbackUrl, k = o.productsUrl, te = o.useGeolocation === "true", ce = o.themeColor || "#4f46e5", $e = o.buttonTheme || "light", be = o.responsive !== void 0 ? o.responsive : !0, Ge = o.intro || "Enter your Number&nbsp;Plate and select your State or Territory to find your vehicle.", Ne = o.placeholder || "PL8SRCH", L = o.supportMessage, ae = o.isOpen !== void 0, re = o.isOpen, de = o.onOpenChange, Ye = o.hideDefaultButton || !1, Oe = o.onModalClose, qe = o.autoCloseOnSelect || !1, Ie = o.actionButtonLabel || "Show Products", V = ae ? re : t;
988
+ const [t, c] = q(!1), [l, u] = q(!1), [h, p] = q(""), [m, w] = q(""), [r, f] = q(null), [b, N] = q(!1), T = Me(null), [y, O] = q(Bt), [I, $] = q(null), We = o.apiKey, ee = o.callbackUrl, k = o.productsUrl, te = o.useGeolocation === "true", ce = o.themeColor || "#4f46e5", $e = o.buttonTheme || "light", be = o.responsive !== void 0 ? o.responsive : !0, Ge = o.intro || "Enter your Number&nbsp;Plate and select your State or Territory to find your vehicle.", Ne = o.placeholder || "PL8SRCH", L = o.supportMessage, ae = o.isOpen !== void 0, re = o.isOpen, de = o.onOpenChange, Ye = o.hideDefaultButton || !1, Oe = o.onModalClose, qe = o.autoCloseOnSelect || !1, Ie = o.actionButtonLabel || "Show Products", V = ae ? re : t;
989
989
  j(() => {
990
990
  console.log(
991
991
  "[PlateSearch] Controlled:",
@@ -1018,17 +1018,17 @@ function ut(o) {
1018
1018
  if (i) {
1019
1019
  const v = JSON.parse(i);
1020
1020
  v.description && (v.vehicle_ids.length > 0 || Object.values(v.vehicle).every(
1021
- (y) => y !== null && y !== "" && (typeof y != "object" || Object.keys(y).length > 0)
1021
+ (x) => x !== null && x !== "" && (typeof x != "object" || Object.keys(x).length > 0)
1022
1022
  )) && $(v);
1023
1023
  }
1024
1024
  }, []), j(() => {
1025
1025
  document.documentElement.style.setProperty("--partbot-theme", ce);
1026
1026
  }, [ce]), j(() => {
1027
1027
  t && te && "geolocation" in navigator && navigator.geolocation.getCurrentPosition(async function(i) {
1028
- const { latitude: v, longitude: y } = i.coords;
1028
+ const { latitude: v, longitude: x } = i.coords;
1029
1029
  try {
1030
1030
  const ne = await (await fetch(
1031
- `https://maps.googleapis.com/maps/api/geocode/json?latlng=${v},${y}&key=AIzaSyDAdDL5E8iWK_oc0FLqdW-QAhZo84xIX0k`
1031
+ `https://maps.googleapis.com/maps/api/geocode/json?latlng=${v},${x}&key=AIzaSyDAdDL5E8iWK_oc0FLqdW-QAhZo84xIX0k`
1032
1032
  )).json();
1033
1033
  if (ne.results && ne.results[0]) {
1034
1034
  const G = ne.results[0].address_components.find(
@@ -1048,14 +1048,16 @@ function ut(o) {
1048
1048
  i && (i = JSON.parse(i), i.plate ? p(i.plate.number) : localStorage.removeItem("partbot_plate_details"));
1049
1049
  }, []), j(() => {
1050
1050
  const i = (v) => {
1051
- var y;
1052
- (y = v.detail) != null && y.userSelected && (localStorage.removeItem("partbot_plate_details"), p(""), f(null), $(null));
1051
+ var x;
1052
+ console.log(
1053
+ "[PlateSearch] Received vehicle-search-change:",
1054
+ v.detail
1055
+ ), (x = v.detail) != null && x.userSelected ? (console.log("[PlateSearch] userSelected=true, clearing plate details"), localStorage.removeItem("partbot_plate_details"), p(""), f(null), $(null)) : console.log("[PlateSearch] userSelected=false, ignoring");
1053
1056
  };
1054
- return document.addEventListener(
1055
- "vehicle-search-change",
1056
- i
1057
- ), () => {
1058
- document.removeEventListener(
1057
+ return console.log(
1058
+ "[PlateSearch] Adding vehicle-search-change listener to window"
1059
+ ), window.addEventListener("vehicle-search-change", i), () => {
1060
+ window.removeEventListener(
1059
1061
  "vehicle-search-change",
1060
1062
  i
1061
1063
  );
@@ -1064,8 +1066,8 @@ function ut(o) {
1064
1066
  V && !l && u(!0), V && T.current && T.current.focus();
1065
1067
  }, [V, l]), j(() => {
1066
1068
  if (V) {
1067
- const i = document.documentElement.style.overflow, v = document.documentElement.style.paddingRight, y = window.innerWidth - document.documentElement.clientWidth;
1068
- return y > 0 && (document.documentElement.style.paddingRight = `${y}px`), document.documentElement.style.overflow = "hidden", () => {
1069
+ const i = document.documentElement.style.overflow, v = document.documentElement.style.paddingRight, x = window.innerWidth - document.documentElement.clientWidth;
1070
+ return x > 0 && (document.documentElement.style.paddingRight = `${x}px`), document.documentElement.style.overflow = "hidden", () => {
1069
1071
  document.documentElement.style.overflow = i, document.documentElement.style.paddingRight = v;
1070
1072
  };
1071
1073
  }
@@ -1078,8 +1080,8 @@ function ut(o) {
1078
1080
  plate: h,
1079
1081
  state: m
1080
1082
  };
1081
- async function y() {
1082
- return (await fetch(x, {
1083
+ async function x() {
1084
+ return (await fetch(y, {
1083
1085
  method: "POST",
1084
1086
  mode: "cors",
1085
1087
  // no-cors, *cors, same-origin
@@ -1098,7 +1100,7 @@ function ut(o) {
1098
1100
  body: JSON.stringify(v)
1099
1101
  })).json();
1100
1102
  }
1101
- y().then((E) => {
1103
+ x().then((E) => {
1102
1104
  N(!1), E.plate ? (localStorage.setItem("partbot_plate_details", JSON.stringify(E)), f(E)) : E && E.indexOf("Invalid API Key") !== -1 ? f({ error: E }) : f({ error: "Could not find any matching vehicles." });
1103
1105
  }).catch((E) => {
1104
1106
  console.error("Error:", E), f({ error: "Could not find any matching vehicles." });
@@ -1106,7 +1108,7 @@ function ut(o) {
1106
1108
  };
1107
1109
  j(() => {
1108
1110
  xe();
1109
- }, [x]);
1111
+ }, [y]);
1110
1112
  const S = (i) => {
1111
1113
  localStorage.removeItem("partbot_plate_details"), localStorage.removeItem("partbot_selected_vehicle"), ct.remove("partbot_selected_vehicle"), f(null), O(Wt);
1112
1114
  }, He = (i) => {
@@ -1131,12 +1133,15 @@ function ut(o) {
1131
1133
  localStorage.setItem("partbot_selected_vehicle", v), ct.set("partbot_selected_vehicle", v, {
1132
1134
  secure: !0
1133
1135
  });
1134
- var y = new CustomEvent("plate-search-change", {
1136
+ var x = new CustomEvent("plate-search-change", {
1135
1137
  detail: {
1136
1138
  vehicle_ids: i.vehicle_ids
1137
1139
  }
1138
1140
  });
1139
- document.dispatchEvent(y), $(i), qe && _(), ee && ee !== window.location.href && (_(), window.location.href = ee + window.location.search);
1141
+ console.log(
1142
+ "[PlateSearch] Dispatching plate-search-change:",
1143
+ x.detail
1144
+ ), window.dispatchEvent(x), console.log("[PlateSearch] Event dispatched to window"), $(i), qe && _(), ee && ee !== window.location.href && (_(), window.location.href = ee + window.location.search);
1140
1145
  }, ye = (i) => {
1141
1146
  if (_(), k)
1142
1147
  try {
@@ -1167,7 +1172,7 @@ function ut(o) {
1167
1172
  "engine_capacity",
1168
1173
  "cylinders"
1169
1174
  ];
1170
- return Object.entries(i).filter(([y, E]) => E !== null && v.includes(y) && typeof E != "object").map(([y, E]) => y === "cylinders" ? `${E}cyl` : E).join(" ");
1175
+ return Object.entries(i).filter(([x, E]) => E !== null && v.includes(x) && typeof E != "object").map(([x, E]) => x === "cylinders" ? `${E}cyl` : E).join(" ");
1171
1176
  };
1172
1177
  return /* @__PURE__ */ React.createElement(React.Fragment, null, !Ye && /* @__PURE__ */ React.createElement(
1173
1178
  "button",
@@ -1262,15 +1267,15 @@ function ut(o) {
1262
1267
  className: "flex items-center justify-between rounded-md border border-stone-200 p-3 text-sm"
1263
1268
  },
1264
1269
  /* @__PURE__ */ React.createElement("div", null, r.differing_attributes.map(
1265
- (y) => /* @__PURE__ */ React.createElement(
1270
+ (x) => /* @__PURE__ */ React.createElement(
1266
1271
  "div",
1267
1272
  {
1268
- key: y,
1273
+ key: x,
1269
1274
  className: "text-xs text-stone-600"
1270
1275
  },
1271
- /* @__PURE__ */ React.createElement("span", { className: "font-medium capitalize" }, y, ":"),
1276
+ /* @__PURE__ */ React.createElement("span", { className: "font-medium capitalize" }, x, ":"),
1272
1277
  " ",
1273
- i.vehicle[y]
1278
+ i.vehicle[x]
1274
1279
  )
1275
1280
  )),
1276
1281
  /* @__PURE__ */ React.createElement(
@@ -1290,7 +1295,7 @@ function ut(o) {
1290
1295
  __html: Vt.sanitize(L)
1291
1296
  }
1292
1297
  }
1293
- ), x !== Wt && /* @__PURE__ */ React.createElement(
1298
+ ), y !== Wt && /* @__PURE__ */ React.createElement(
1294
1299
  "button",
1295
1300
  {
1296
1301
  type: "button",
@@ -1374,14 +1379,14 @@ function ut(o) {
1374
1379
  }
1375
1380
  ),
1376
1381
  /* @__PURE__ */ React.createElement("span", { className: "relative z-0 my-5 flex w-full rounded-md items-stretch shadow-sm" }, jt.map((i, v) => {
1377
- let y = "bg-white text-stone-700 hover:bg-stone-50 border-stone-300";
1378
- return i === m && (y = "bg-theme-color text-white hover:bg-theme-color border-theme-color"), v === 0 ? /* @__PURE__ */ React.createElement(
1382
+ let x = "bg-white text-stone-700 hover:bg-stone-50 border-stone-300";
1383
+ return i === m && (x = "bg-theme-color text-white hover:bg-theme-color border-theme-color"), v === 0 ? /* @__PURE__ */ React.createElement(
1379
1384
  "button",
1380
1385
  {
1381
1386
  key: i,
1382
1387
  onClick: (E) => w(i),
1383
1388
  type: "button",
1384
- className: `focus:outline-none focus:ring-bg-theme-color text-center justify-center flex-grow focus:border-bg-theme-color relative inline-flex items-center cursor-pointer rounded-l-md border px-2 py-2 text-xs font-medium focus:z-10 focus:ring-1 sm:px-3 ${y}`
1389
+ className: `focus:outline-none focus:ring-bg-theme-color text-center justify-center flex-grow focus:border-bg-theme-color relative inline-flex items-center cursor-pointer rounded-l-md border px-2 py-2 text-xs font-medium focus:z-10 focus:ring-1 sm:px-3 ${x}`
1385
1390
  },
1386
1391
  i
1387
1392
  ) : jt.length === v + 1 ? /* @__PURE__ */ React.createElement(
@@ -1390,7 +1395,7 @@ function ut(o) {
1390
1395
  key: i,
1391
1396
  onClick: (E) => w(i),
1392
1397
  type: "button",
1393
- className: `focus:outline-none focus:ring-bg-theme-color text-center justify-center flex-grow focus:border-bg-theme-color relative -ml-px inline-flex items-center cursor-pointer rounded-r-md border px-2 py-2 text-xs font-medium focus:z-10 focus:ring-1 sm:px-3 ${y}`
1398
+ className: `focus:outline-none focus:ring-bg-theme-color text-center justify-center flex-grow focus:border-bg-theme-color relative -ml-px inline-flex items-center cursor-pointer rounded-r-md border px-2 py-2 text-xs font-medium focus:z-10 focus:ring-1 sm:px-3 ${x}`
1394
1399
  },
1395
1400
  i
1396
1401
  ) : /* @__PURE__ */ React.createElement(
@@ -1399,7 +1404,7 @@ function ut(o) {
1399
1404
  key: i,
1400
1405
  onClick: (E) => w(i),
1401
1406
  type: "button",
1402
- className: `focus:outline-none focus:ring-bg-theme-color text-center justify-center flex-grow focus:border-bg-theme-color relative -ml-px inline-flex items-center cursor-pointer border px-2 py-2 text-xs font-medium focus:z-10 focus:ring-1 sm:px-3 ${y}`
1407
+ className: `focus:outline-none focus:ring-bg-theme-color text-center justify-center flex-grow focus:border-bg-theme-color relative -ml-px inline-flex items-center cursor-pointer border px-2 py-2 text-xs font-medium focus:z-10 focus:ring-1 sm:px-3 ${x}`
1403
1408
  },
1404
1409
  i
1405
1410
  );
@@ -1455,7 +1460,7 @@ ut.propTypes = {
1455
1460
  };
1456
1461
  const pt = '@import"https://fonts.googleapis.com/css2?family=Inter:wght@400..800&display=swap";/*! tailwindcss v4.1.11 | MIT License | https://tailwindcss.com */@layer properties{*,:before,:after,::backdrop{--tw-space-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-duration:initial;--tw-ease:initial;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0}plate-search,plate-search *,plate-search:before,plate-search:after,plate-search::backdrop{--tw-space-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-duration:initial;--tw-ease:initial;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0}:host,:host *,:host:before,:host:after,:host::backdrop{--tw-space-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-duration:initial;--tw-ease:initial;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-400:oklch(70.4% .191 22.216);--color-red-800:oklch(44.4% .177 26.899);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-600:oklch(59.6% .145 163.225);--color-emerald-700:oklch(50.8% .118 165.612);--color-stone-50:oklch(98.5% .001 106.423);--color-stone-100:oklch(97% .001 106.424);--color-stone-200:oklch(92.3% .003 48.717);--color-stone-300:oklch(86.9% .005 56.366);--color-stone-400:oklch(70.9% .01 56.259);--color-stone-500:oklch(55.3% .013 58.071);--color-stone-600:oklch(44.4% .011 73.639);--color-stone-700:oklch(37.4% .01 67.558);--color-stone-900:oklch(21.6% .006 56.043);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--container-lg:32rem;--container-2xl:42rem;--container-7xl:80rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5/2.25);--text-5xl:3rem;--text-5xl--line-height:1;--text-7xl:4.5rem;--text-7xl--line-height:1;--text-8xl:6rem;--text-8xl--line-height:1;--font-weight-medium:500;--font-weight-bold:700;--font-weight-extrabold:800;--tracking-tight:-.025em;--tracking-wide:.025em;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--ease-in:cubic-bezier(.4,0,1,1);--ease-out:cubic-bezier(0,0,.2,1);--animate-spin:spin 1s linear infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--font-license:"License Plate"}plate-search,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-400:oklch(70.4% .191 22.216);--color-red-800:oklch(44.4% .177 26.899);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-600:oklch(59.6% .145 163.225);--color-emerald-700:oklch(50.8% .118 165.612);--color-stone-50:oklch(98.5% .001 106.423);--color-stone-100:oklch(97% .001 106.424);--color-stone-200:oklch(92.3% .003 48.717);--color-stone-300:oklch(86.9% .005 56.366);--color-stone-400:oklch(70.9% .01 56.259);--color-stone-500:oklch(55.3% .013 58.071);--color-stone-600:oklch(44.4% .011 73.639);--color-stone-700:oklch(37.4% .01 67.558);--color-stone-900:oklch(21.6% .006 56.043);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--container-lg:32rem;--container-2xl:42rem;--container-7xl:80rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5/2.25);--text-5xl:3rem;--text-5xl--line-height:1;--text-7xl:4.5rem;--text-7xl--line-height:1;--text-8xl:6rem;--text-8xl--line-height:1;--font-weight-medium:500;--font-weight-bold:700;--font-weight-extrabold:800;--tracking-tight:-.025em;--tracking-wide:.025em;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--ease-in:cubic-bezier(.4,0,1,1);--ease-out:cubic-bezier(0,0,.2,1);--animate-spin:spin 1s linear infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--font-license:"License Plate"}:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-400:oklch(70.4% .191 22.216);--color-red-800:oklch(44.4% .177 26.899);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-600:oklch(59.6% .145 163.225);--color-emerald-700:oklch(50.8% .118 165.612);--color-stone-50:oklch(98.5% .001 106.423);--color-stone-100:oklch(97% .001 106.424);--color-stone-200:oklch(92.3% .003 48.717);--color-stone-300:oklch(86.9% .005 56.366);--color-stone-400:oklch(70.9% .01 56.259);--color-stone-500:oklch(55.3% .013 58.071);--color-stone-600:oklch(44.4% .011 73.639);--color-stone-700:oklch(37.4% .01 67.558);--color-stone-900:oklch(21.6% .006 56.043);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-sm:24rem;--container-lg:32rem;--container-2xl:42rem;--container-7xl:80rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5/2.25);--text-5xl:3rem;--text-5xl--line-height:1;--text-7xl:4.5rem;--text-7xl--line-height:1;--text-8xl:6rem;--text-8xl--line-height:1;--font-weight-medium:500;--font-weight-bold:700;--font-weight-extrabold:800;--tracking-tight:-.025em;--tracking-wide:.025em;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--ease-in:cubic-bezier(.4,0,1,1);--ease-out:cubic-bezier(0,0,.2,1);--animate-spin:spin 1s linear infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--font-license:"License Plate"}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components{.modal-container{inset:calc(var(--spacing)*0);top:calc(var(--spacing)*0);z-index:9999;background-color:#00000080;justify-content:center;align-items:flex-start;width:100vw;height:100vh;display:flex;position:fixed;overflow-y:auto}@supports (color:color-mix(in lab,red,red)){.modal-container{background-color:color-mix(in oklab,var(--color-black)50%,transparent)}}.modal-container{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}@media (min-width:48rem){.modal-container{align-items:center}}.modal-container-open{pointer-events:auto;opacity:1;--tw-duration:.2s;--tw-ease:var(--ease-out);transition-duration:.2s;transition-timing-function:var(--ease-out)}.modal-container-close{pointer-events:none;opacity:0;--tw-duration:.2s;--tw-ease:var(--ease-in);transition-duration:.2s;transition-timing-function:var(--ease-in)}.modal{width:100vw;height:100vh;transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,);overscroll-behavior:auto;background-color:var(--color-white);padding-inline:calc(var(--spacing)*6);padding-top:calc(var(--spacing)*8);padding-bottom:calc(var(--spacing)*8);text-align:left;vertical-align:bottom;font-family:var(--font-sans);--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));display:inline-block;overflow:hidden}@media (min-width:40rem){.modal{margin-block:calc(var(--spacing)*8);width:100%;max-width:var(--container-lg);vertical-align:middle}}@media (min-width:48rem){.modal{margin:calc(var(--spacing)*3);height:auto;max-width:var(--container-lg);border-radius:var(--radius-xl);padding-inline:calc(var(--spacing)*12)}}.modal-close{--tw-translate-y:calc(var(--spacing)*4);translate:var(--tw-translate-x)var(--tw-translate-y);opacity:0;--tw-duration:.2s;--tw-ease:var(--ease-in);transition-duration:.2s;transition-timing-function:var(--ease-in)}@media (min-width:40rem){.modal-close{--tw-translate-y:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}}.modal-open{--tw-translate-y:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y);opacity:1;--tw-duration:.3s;--tw-ease:var(--ease-out);transition-duration:.3s;transition-timing-function:var(--ease-out)}.modal-scroll-area{margin-top:calc(var(--spacing)*3);margin-bottom:calc(var(--spacing)*3);max-height:380px;overflow:auto}.pl8srch-text a{color:var(--partbot-theme);opacity:.8;transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.2s;text-decoration-line:underline;transition-duration:.2s}@media (hover:hover){.pl8srch-text a:hover{color:var(--partbot-theme);opacity:1}}}@layer utilities{.visible{visibility:visible}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing)*0)}.top-0{top:calc(var(--spacing)*0)}.right-0{right:calc(var(--spacing)*0)}.isolate{isolation:isolate}.z-0{z-index:0}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.mx-auto{margin-inline:auto}.my-4{margin-block:calc(var(--spacing)*4)}.my-5{margin-block:calc(var(--spacing)*5)}.my-6{margin-block:calc(var(--spacing)*6)}.mt-0\\.5{margin-top:calc(var(--spacing)*.5)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-3{margin-top:calc(var(--spacing)*3)}.mt-5{margin-top:calc(var(--spacing)*5)}.mt-6{margin-top:calc(var(--spacing)*6)}.mt-8{margin-top:calc(var(--spacing)*8)}.mt-12{margin-top:calc(var(--spacing)*12)}.mt-auto{margin-top:auto}.mr-1{margin-right:calc(var(--spacing)*1)}.mr-2{margin-right:calc(var(--spacing)*2)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-5{margin-bottom:calc(var(--spacing)*5)}.-ml-1{margin-left:calc(var(--spacing)*-1)}.-ml-px{margin-left:-1px}.ml-3{margin-left:calc(var(--spacing)*3)}.ml-4{margin-left:calc(var(--spacing)*4)}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.\\!h-5{height:calc(var(--spacing)*5)!important}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-\\[44px\\]{height:44px}.h-\\[130px\\]{height:130px}.h-full{height:100%}.min-h-screen{min-height:100vh}.\\!w-5{width:calc(var(--spacing)*5)!important}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-full{width:100%}.max-w-7xl{max-width:var(--container-7xl)}.max-w-prose{max-width:65ch}.max-w-sm{max-width:var(--container-sm)}.flex-shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.flex-grow-0{flex-grow:0}.animate-spin{animation:var(--animate-spin)}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.gap-5{gap:calc(var(--spacing)*5)}:where(.space-y-8>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*8)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*8)*calc(1 - var(--tw-space-y-reverse)))}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.border{border-style:var(--tw-border-style);border-width:1px}.border-4{border-style:var(--tw-border-style);border-width:4px}.border-\\[6px\\]{border-style:var(--tw-border-style);border-width:6px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-double{--tw-border-style:double;border-style:double}.border-stone-200{border-color:var(--color-stone-200)}.border-stone-300{border-color:var(--color-stone-300)}.border-stone-400{border-color:var(--color-stone-400)}.border-theme-color{border-color:var(--partbot-theme)}.border-transparent{border-color:#0000}.border-t-white\\/20{border-top-color:#fff3}@supports (color:color-mix(in lab,red,red)){.border-t-white\\/20{border-top-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.border-b-emerald-600{border-bottom-color:var(--color-emerald-600)}.bg-emerald-500{background-color:var(--color-emerald-500)}.bg-red-50{background-color:var(--color-red-50)}.bg-stone-50{background-color:var(--color-stone-50)}.bg-theme-color{background-color:var(--partbot-theme)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-8{padding:calc(var(--spacing)*8)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-6{padding-inline:calc(var(--spacing)*6)}.px-8{padding-inline:calc(var(--spacing)*8)}.py-1\\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-3{padding-block:calc(var(--spacing)*3)}.py-4{padding-block:calc(var(--spacing)*4)}.py-5{padding-block:calc(var(--spacing)*5)}.py-8{padding-block:calc(var(--spacing)*8)}.pt-4{padding-top:calc(var(--spacing)*4)}.pt-5{padding-top:calc(var(--spacing)*5)}.pr-4{padding-right:calc(var(--spacing)*4)}.pr-5{padding-right:calc(var(--spacing)*5)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.pb-4{padding-bottom:calc(var(--spacing)*4)}.text-center{text-align:center}.text-left{text-align:left}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.text-5xl{font-size:var(--text-5xl);line-height:var(--tw-leading,var(--text-5xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[60px\\]{font-size:60px}.leading-none{--tw-leading:1;line-height:1}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-extrabold{--tw-font-weight:var(--font-weight-extrabold);font-weight:var(--font-weight-extrabold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.text-balance{text-wrap:balance}.whitespace-normal\\!{white-space:normal!important}.whitespace-nowrap{white-space:nowrap}.text-black{color:var(--color-black)}.text-emerald-100{color:var(--color-emerald-100)}.text-emerald-300{color:var(--color-emerald-300)}.text-emerald-400{color:var(--color-emerald-400)}.text-emerald-500{color:var(--color-emerald-500)}.text-emerald-700{color:var(--color-emerald-700)}.text-red-400{color:var(--color-red-400)}.text-red-800{color:var(--color-red-800)}.text-stone-100{color:var(--color-stone-100)}.text-stone-400{color:var(--color-stone-400)}.text-stone-500{color:var(--color-stone-500)}.text-stone-600{color:var(--color-stone-600)}.text-stone-700{color:var(--color-stone-700)}.text-stone-900{color:var(--color-stone-900)}.text-theme-color{color:var(--partbot-theme)}.text-white{color:var(--color-white)}.capitalize{text-transform:capitalize}.uppercase{text-transform:uppercase}.shadow,.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,visibility,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.group-open\\:rotate-180:is(:where(.group):is([open],:popover-open,:open) *){rotate:180deg}@media (hover:hover){.hover\\:border-stone-400:hover{border-color:var(--color-stone-400)}.hover\\:bg-emerald-500:hover{background-color:var(--color-emerald-500)}.hover\\:bg-stone-50:hover{background-color:var(--color-stone-50)}.hover\\:bg-theme-color:hover{background-color:var(--partbot-theme)}.hover\\:text-stone-500:hover{color:var(--color-stone-500)}.hover\\:text-white:hover{color:var(--color-white)}}.focus\\:z-10:focus{z-index:10}.focus\\:border-bg-theme-color:focus,.focus\\:border-theme-color:focus{border-color:var(--partbot-theme)}.focus\\:ring-1:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\\:ring-bg-theme-color:focus{--tw-ring-color:var(--partbot-theme)}.focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}@media (min-width:40rem){.sm\\:flex{display:flex}.sm\\:max-w-prose{max-width:65ch}.sm\\:justify-between{justify-content:space-between}.sm\\:overflow-hidden{overflow:hidden}.sm\\:px-3{padding-inline:calc(var(--spacing)*3)}.sm\\:px-6{padding-inline:calc(var(--spacing)*6)}}@media (min-width:48rem){.md\\:mt-6{margin-top:calc(var(--spacing)*6)}.md\\:mt-12{margin-top:calc(var(--spacing)*12)}.md\\:mr-2{margin-right:calc(var(--spacing)*2)}.md\\:-ml-1{margin-left:calc(var(--spacing)*-1)}.md\\:inline{display:inline}.md\\:h-\\[150px\\]{height:150px}.md\\:max-w-2xl{max-width:var(--container-2xl)}.md\\:flex-row{flex-direction:row}.md\\:items-center{align-items:center}.md\\:justify-center{justify-content:center}.md\\:border-8{border-style:var(--tw-border-style);border-width:8px}.md\\:p-4{padding:calc(var(--spacing)*4)}.md\\:px-3{padding-inline:calc(var(--spacing)*3)}.md\\:py-12{padding-block:calc(var(--spacing)*12)}.md\\:text-center{text-align:center}.md\\:text-7xl{font-size:var(--text-7xl);line-height:var(--tw-leading,var(--text-7xl--line-height))}.md\\:text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.md\\:text-\\[75px\\]{font-size:75px}}@media (min-width:64rem){.lg\\:px-8{padding-inline:calc(var(--spacing)*8)}.lg\\:py-12{padding-block:calc(var(--spacing)*12)}.lg\\:text-8xl{font-size:var(--text-8xl);line-height:var(--tw-leading,var(--text-8xl--line-height))}.lg\\:leading-20{--tw-leading:calc(var(--spacing)*20);line-height:calc(var(--spacing)*20)}}.\\[\\&_summary\\:\\:-webkit-details-marker\\]\\:hidden summary::-webkit-details-marker{display:none}.\\[\\&\\>a\\]\\:text-theme-color>a{color:var(--partbot-theme)}@media (hover:hover){.hover\\:\\[\\&\\>a\\]\\:text-theme-color:hover>a{color:var(--partbot-theme)}}.font-license{font-family:var(--font-license)}}@font-face{font-family:License Plate;src:url(https://res.cloudinary.com/proex/raw/upload/v1730709140/partbot/PartbotPlate.woff2)format("woff2");font-weight:400;font-style:normal}:host{overflow-wrap:break-word;white-space:normal;display:block;overflow:visible}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@keyframes spin{to{transform:rotate(360deg)}}';
1457
1462
  function io({ domElement: o, webComponentInstance: t }) {
1458
- const c = o.getAttribute("data-api-key"), l = o.getAttribute("data-callback-url"), u = o.getAttribute("data-products-url"), h = o.getAttribute("data-theme-color"), p = o.getAttribute("data-use-geolocation") === "true", m = o.getAttribute("data-button"), w = o.getAttribute("data-responsive") ? o.getAttribute("data-responsive") === "true" : !0, r = o.getAttribute("data-placeholder"), f = o.getAttribute("data-intro"), b = o.getAttribute("data-support-message"), N = o.getAttribute("data-action-button-label"), T = o.getAttribute("data-hide-default-button") === "true", x = o.getAttribute("data-auto-close-on-select") === "true", [O, I] = q(!1);
1463
+ const c = o.getAttribute("data-api-key"), l = o.getAttribute("data-callback-url"), u = o.getAttribute("data-products-url"), h = o.getAttribute("data-theme-color"), p = o.getAttribute("data-use-geolocation") === "true", m = o.getAttribute("data-button"), w = o.getAttribute("data-responsive") ? o.getAttribute("data-responsive") === "true" : !0, r = o.getAttribute("data-placeholder"), f = o.getAttribute("data-intro"), b = o.getAttribute("data-support-message"), N = o.getAttribute("data-action-button-label"), T = o.getAttribute("data-hide-default-button") === "true", y = o.getAttribute("data-auto-close-on-select") === "true", [O, I] = q(!1);
1459
1464
  return j(() => {
1460
1465
  t && (t._modalControls = {
1461
1466
  open: () => I(!0),
@@ -1478,7 +1483,7 @@ function io({ domElement: o, webComponentInstance: t }) {
1478
1483
  supportMessage: b,
1479
1484
  actionButtonLabel: N,
1480
1485
  hideDefaultButton: T,
1481
- autoCloseOnSelect: x,
1486
+ autoCloseOnSelect: y,
1482
1487
  isOpen: O,
1483
1488
  onOpenChange: I
1484
1489
  }
@@ -1616,27 +1621,27 @@ const co = ya(
1616
1621
  u.current = r;
1617
1622
  const f = document.createElement("div");
1618
1623
  if (h.current = f, r.appendChild(f), !document.head.querySelector('link[href*="fonts.googleapis.com"]')) {
1619
- const x = document.createElement("link");
1620
- x.rel = "stylesheet", x.href = "https://fonts.googleapis.com/css2?family=Inter:wght@400..800&display=swap", document.head.appendChild(x);
1624
+ const y = document.createElement("link");
1625
+ y.rel = "stylesheet", y.href = "https://fonts.googleapis.com/css2?family=Inter:wght@400..800&display=swap", document.head.appendChild(y);
1621
1626
  }
1622
1627
  if (!document.head.querySelector("style[data-partbot-license]")) {
1623
- const x = document.createElement("style");
1624
- x.setAttribute("data-partbot-license", ""), x.textContent = `
1628
+ const y = document.createElement("style");
1629
+ y.setAttribute("data-partbot-license", ""), y.textContent = `
1625
1630
  @font-face {
1626
1631
  font-family: "License Plate";
1627
1632
  src: url(https://res.cloudinary.com/proex/raw/upload/v1730709140/partbot/PartbotPlate.woff2)
1628
1633
  format("woff2");
1629
1634
  font-weight: normal;
1630
1635
  font-style: normal;
1631
- }`, document.head.appendChild(x);
1636
+ }`, document.head.appendChild(y);
1632
1637
  }
1633
1638
  const b = pt.replace(/@import\s+["']https:\/\/fonts\.googleapis\.com[^;]+;/g, "").replace(/@import\s+["']tailwindcss["'];/g, ""), N = document.createElement("style");
1634
1639
  N.textContent = b, r.appendChild(N);
1635
1640
  const T = Yt(f);
1636
1641
  return p.current = T, w(!0), () => {
1637
1642
  p.current && (setTimeout(() => {
1638
- var x;
1639
- (x = p.current) == null || x.unmount();
1643
+ var y;
1644
+ (y = p.current) == null || y.unmount();
1640
1645
  }, 0), p.current = null);
1641
1646
  };
1642
1647
  }, []), j(() => {