@inploi/plugin-job-search 8.1.0 → 8.1.2

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.
@@ -930,7 +930,7 @@ function Ga(e, t, n) {
930
930
  issues: r.issues
931
931
  };
932
932
  }
933
- const S_ = "inploi-job-search", cl = [
933
+ const O_ = "inploi-job-search", cl = [
934
934
  "FULL_TIME",
935
935
  "PART_TIME",
936
936
  "CONTRACT",
@@ -1433,7 +1433,7 @@ var xl = ["other", "few", "many", "two", "one", "zero"], vi = ({
1433
1433
  locale: n
1434
1434
  }) => vi({ terms: e, overrides: t, locale: n })
1435
1435
  });
1436
- const { TranslationProvider: O_, useTranslation: ae, createTFunction: k_, defaultTerms: T_ } = $l({
1436
+ const { TranslationProvider: k_, useTranslation: ae, createTFunction: T_, defaultTerms: A_ } = $l({
1437
1437
  type_to_search_jobs: "Type to search jobs",
1438
1438
  type_to_search: "Type to search",
1439
1439
  jobs_found: { one: "{{count}} job found", other: "{{count}} jobs found" },
@@ -1556,7 +1556,7 @@ const mi = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, Cl =
1556
1556
  }, []);
1557
1557
  return t(o == null ? void 0 : o.base, d, c, i == null ? void 0 : i.class, i == null ? void 0 : i.className);
1558
1558
  }, cx: t };
1559
- }, { compose: A_, cva: ge, cx: P_ } = Cl(), Ue = ge({
1559
+ }, { compose: P_, cva: ge, cx: R_ } = Cl(), Ue = ge({
1560
1560
  base: "fr animate-selected-tag justify-center touch-hitbox text-style-filter ease-expo-out disabled:text-interactive-neutral-bg-hover disabled:bg-interactive-neutral-bg disabled:hover:disabled:bg-interactive-neutral-bg flex cursor-pointer items-center transition-all duration-snappy active:scale-95",
1561
1561
  variants: {
1562
1562
  variant: {
@@ -1594,7 +1594,7 @@ const mi = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, Cl =
1594
1594
  position: "relative",
1595
1595
  size: "sm"
1596
1596
  }
1597
- }), R_ = ({ error: e, resetError: t }) => /* @__PURE__ */ u(
1597
+ }), D_ = ({ error: e, resetError: t }) => /* @__PURE__ */ u(
1598
1598
  "div",
1599
1599
  {
1600
1600
  style: {
@@ -1786,7 +1786,7 @@ const El = {
1786
1786
  /* @__PURE__ */ u("rect", { x: "4", y: "5", width: "16", height: "5.5", rx: "1" }),
1787
1787
  /* @__PURE__ */ u("rect", { x: "4", y: "13.5", width: "16", height: "5.5", rx: "1" })
1788
1788
  ] })
1789
- }, D_ = ({ theme: e }) => /* @__PURE__ */ u("svg", { xmlns: "http://www.w3.org/2000/svg", style: { display: "none" }, children: /* @__PURE__ */ u("defs", { children: Object.entries(El).map(([t, n]) => {
1789
+ }, M_ = ({ theme: e }) => /* @__PURE__ */ u("svg", { xmlns: "http://www.w3.org/2000/svg", style: { display: "none" }, children: /* @__PURE__ */ u("defs", { children: Object.entries(El).map(([t, n]) => {
1790
1790
  var r;
1791
1791
  return /* @__PURE__ */ u("symbol", { id: `i-icon-${t}`, children: /* @__PURE__ */ u(
1792
1792
  "g",
@@ -3087,7 +3087,7 @@ const Se = (e) => {
3087
3087
  "job-card-stroke-color-active": e("color.a-9"),
3088
3088
  "job-card-stroke-width": Se(t).with({ highlights: "stroke", highcontrast: !0 }, () => "1.5px").otherwise(() => "1px")
3089
3089
  };
3090
- }).component(() => ({})), Eu = xu({ prefix: "i-" }), M_ = (e) => {
3090
+ }).component(() => ({})), Eu = xu({ prefix: "i-" }), L_ = (e) => {
3091
3091
  const t = Cu.from({ theme: e.theme, getToken: Eu }), n = Object.entries(t.declarations).map(([o, i]) => `${o}: ${i};`);
3092
3092
  return `.inploi-job-search${e.widgetId ? `[data-widget-id="${e.widgetId}"]` : ""} {
3093
3093
  ${n.concat(n).join(`
@@ -4294,7 +4294,7 @@ var Pd = function(e) {
4294
4294
  return null;
4295
4295
  };
4296
4296
  };
4297
- const ec = "Dialog", [tc, L_] = jo(ec), [Md, ot] = tc(ec), Ld = (e) => {
4297
+ const ec = "Dialog", [tc, N_] = jo(ec), [Md, ot] = tc(ec), Ld = (e) => {
4298
4298
  const { __scopeDialog: t, children: n, open: r, defaultOpen: o, onOpenChange: i, modal: a = !0 } = e, s = A(null), l = A(null), [d = !1, p] = Ns({
4299
4299
  prop: r,
4300
4300
  defaultProp: o,
@@ -5808,7 +5808,7 @@ const gc = "Popper", [mc, _c] = jo(gc), [ep, yc] = mc(gc), tp = (e) => {
5808
5808
  }), r ? null : /* @__PURE__ */ O(rt.div, K({}, o, {
5809
5809
  ref: s
5810
5810
  }));
5811
- }), bc = "PopperContent", [op, N_] = mc(bc), ip = /* @__PURE__ */ G((e, t) => {
5811
+ }), bc = "PopperContent", [op, I_] = mc(bc), ip = /* @__PURE__ */ G((e, t) => {
5812
5812
  var n, r, o, i, a, s, l, d;
5813
5813
  const { __scopePopper: p, side: c = "bottom", sideOffset: h = 0, align: f = "center", alignOffset: g = 0, arrowPadding: v = 0, avoidCollisions: _ = !0, collisionBoundary: y = [], collisionPadding: m = 0, sticky: w = "partial", hideWhenDetached: b = !1, updatePositionStrategy: x = "optimized", onPlaced: $, ...C } = e, E = yc(bc, p), [S, k] = R(null), D = De(
5814
5814
  t,
@@ -5948,7 +5948,7 @@ function wc(e) {
5948
5948
  n
5949
5949
  ];
5950
5950
  }
5951
- const cp = tp, lp = rp, up = ip, xc = "Popover", [$c, I_] = jo(xc, [
5951
+ const cp = tp, lp = rp, up = ip, xc = "Popover", [$c, j_] = jo(xc, [
5952
5952
  _c
5953
5953
  ]), qo = _c(), [dp, jt] = $c(xc), fp = (e) => {
5954
5954
  const { __scopePopover: t, children: n, open: r, defaultOpen: o, onOpenChange: i, modal: a = !1 } = e, s = qo(t), l = A(null), [d, p] = R(!1), [c = !1, h] = Ns({
@@ -6636,61 +6636,69 @@ const Lp = (e, t) => {
6636
6636
  /* @__PURE__ */ u("p", { class: "text-style-tag text-neutral-6 pr-2 font-[500]", children: a.params.config.label })
6637
6637
  ] }) }) : null
6638
6638
  ] });
6639
- }, Qt = (e) => e * 1609.34, ho = (e) => e * 1e3, Pc = (e, t) => new Intl.NumberFormat(e, {
6639
+ }, Qt = (e) => e * 1609.34, ho = (e) => e * 1e3, jp = () => {
6640
+ const e = typeof document > "u" ? "" : document.documentElement.lang;
6641
+ if (e)
6642
+ try {
6643
+ return Intl.getCanonicalLocales(e)[0];
6644
+ } catch {
6645
+ return;
6646
+ }
6647
+ }, Pc = (e, t) => new Intl.NumberFormat(jp() ?? e, {
6640
6648
  style: "unit",
6641
6649
  unit: t === "miles" ? "mile" : "kilometer",
6642
6650
  unitDisplay: "short",
6643
6651
  maximumFractionDigits: 1,
6644
6652
  trailingZeroDisplay: "stripIfInteger"
6645
- }), jp = (e, t, n) => Pc(n, t).format(e / (t === "miles" ? Qt(1) : ho(1)));
6646
- function Fp(e) {
6653
+ }), Fp = (e, t, n) => Pc(n, t).format(e / (t === "miles" ? Qt(1) : ho(1)));
6654
+ function Vp(e) {
6647
6655
  var t = typeof e;
6648
6656
  return e != null && (t == "object" || t == "function");
6649
6657
  }
6650
- var er = Fp, Vp = typeof hn == "object" && hn && hn.Object === Object && hn, Hp = Vp, Wp = Hp, Up = typeof self == "object" && self && self.Object === Object && self, zp = Wp || Up || Function("return this")(), tr = zp, Bp = tr, qp = function() {
6651
- return Bp.Date.now();
6652
- }, Kp = qp, Gp = /\s/;
6653
- function Yp(e) {
6654
- for (var t = e.length; t-- && Gp.test(e.charAt(t)); )
6658
+ var er = Vp, Hp = typeof hn == "object" && hn && hn.Object === Object && hn, Wp = Hp, Up = Wp, zp = typeof self == "object" && self && self.Object === Object && self, Bp = Up || zp || Function("return this")(), tr = Bp, qp = tr, Kp = function() {
6659
+ return qp.Date.now();
6660
+ }, Gp = Kp, Yp = /\s/;
6661
+ function Zp(e) {
6662
+ for (var t = e.length; t-- && Yp.test(e.charAt(t)); )
6655
6663
  ;
6656
6664
  return t;
6657
6665
  }
6658
- var Zp = Yp, Xp = Zp, Jp = /^\s+/;
6659
- function Qp(e) {
6660
- return e && e.slice(0, Xp(e) + 1).replace(Jp, "");
6666
+ var Xp = Zp, Jp = Xp, Qp = /^\s+/;
6667
+ function eh(e) {
6668
+ return e && e.slice(0, Jp(e) + 1).replace(Qp, "");
6661
6669
  }
6662
- var eh = Qp, th = tr, nh = th.Symbol, Ko = nh, da = Ko, Rc = Object.prototype, rh = Rc.hasOwnProperty, oh = Rc.toString, Bt = da ? da.toStringTag : void 0;
6663
- function ih(e) {
6664
- var t = rh.call(e, Bt), n = e[Bt];
6670
+ var th = eh, nh = tr, rh = nh.Symbol, Ko = rh, da = Ko, Rc = Object.prototype, oh = Rc.hasOwnProperty, ih = Rc.toString, Bt = da ? da.toStringTag : void 0;
6671
+ function ah(e) {
6672
+ var t = oh.call(e, Bt), n = e[Bt];
6665
6673
  try {
6666
6674
  e[Bt] = void 0;
6667
6675
  var r = !0;
6668
6676
  } catch {
6669
6677
  }
6670
- var o = oh.call(e);
6678
+ var o = ih.call(e);
6671
6679
  return r && (t ? e[Bt] = n : delete e[Bt]), o;
6672
6680
  }
6673
- var ah = ih, sh = Object.prototype, ch = sh.toString;
6674
- function lh(e) {
6675
- return ch.call(e);
6676
- }
6677
- var uh = lh, fa = Ko, dh = ah, fh = uh, ph = "[object Null]", hh = "[object Undefined]", pa = fa ? fa.toStringTag : void 0;
6678
- function vh(e) {
6679
- return e == null ? e === void 0 ? hh : ph : pa && pa in Object(e) ? dh(e) : fh(e);
6681
+ var sh = ah, ch = Object.prototype, lh = ch.toString;
6682
+ function uh(e) {
6683
+ return lh.call(e);
6680
6684
  }
6681
- var Dc = vh;
6685
+ var dh = uh, fa = Ko, fh = sh, ph = dh, hh = "[object Null]", vh = "[object Undefined]", pa = fa ? fa.toStringTag : void 0;
6682
6686
  function gh(e) {
6687
+ return e == null ? e === void 0 ? vh : hh : pa && pa in Object(e) ? fh(e) : ph(e);
6688
+ }
6689
+ var Dc = gh;
6690
+ function mh(e) {
6683
6691
  return e != null && typeof e == "object";
6684
6692
  }
6685
- var mh = gh, _h = Dc, yh = mh, bh = "[object Symbol]";
6686
- function wh(e) {
6687
- return typeof e == "symbol" || yh(e) && _h(e) == bh;
6693
+ var _h = mh, yh = Dc, bh = _h, wh = "[object Symbol]";
6694
+ function xh(e) {
6695
+ return typeof e == "symbol" || bh(e) && yh(e) == wh;
6688
6696
  }
6689
- var nr = wh, xh = eh, ha = er, $h = nr, va = 0 / 0, Ch = /^[-+]0x[0-9a-f]+$/i, Eh = /^0b[01]+$/i, Sh = /^0o[0-7]+$/i, Oh = parseInt;
6690
- function kh(e) {
6697
+ var nr = xh, $h = th, ha = er, Ch = nr, va = 0 / 0, Eh = /^[-+]0x[0-9a-f]+$/i, Sh = /^0b[01]+$/i, Oh = /^0o[0-7]+$/i, kh = parseInt;
6698
+ function Th(e) {
6691
6699
  if (typeof e == "number")
6692
6700
  return e;
6693
- if ($h(e))
6701
+ if (Ch(e))
6694
6702
  return va;
6695
6703
  if (ha(e)) {
6696
6704
  var t = typeof e.valueOf == "function" ? e.valueOf() : e;
@@ -6698,16 +6706,16 @@ function kh(e) {
6698
6706
  }
6699
6707
  if (typeof e != "string")
6700
6708
  return e === 0 ? e : +e;
6701
- e = xh(e);
6702
- var n = Eh.test(e);
6703
- return n || Sh.test(e) ? Oh(e.slice(2), n ? 2 : 8) : Ch.test(e) ? va : +e;
6709
+ e = $h(e);
6710
+ var n = Sh.test(e);
6711
+ return n || Oh.test(e) ? kh(e.slice(2), n ? 2 : 8) : Eh.test(e) ? va : +e;
6704
6712
  }
6705
- var Th = kh, Ah = er, Nr = Kp, ga = Th, Ph = "Expected a function", Rh = Math.max, Dh = Math.min;
6706
- function Mh(e, t, n) {
6713
+ var Ah = Th, Ph = er, Nr = Gp, ga = Ah, Rh = "Expected a function", Dh = Math.max, Mh = Math.min;
6714
+ function Lh(e, t, n) {
6707
6715
  var r, o, i, a, s, l, d = 0, p = !1, c = !1, h = !0;
6708
6716
  if (typeof e != "function")
6709
- throw new TypeError(Ph);
6710
- t = ga(t) || 0, Ah(n) && (p = !!n.leading, c = "maxWait" in n, i = c ? Rh(ga(n.maxWait) || 0, t) : i, h = "trailing" in n ? !!n.trailing : h);
6717
+ throw new TypeError(Rh);
6718
+ t = ga(t) || 0, Ph(n) && (p = !!n.leading, c = "maxWait" in n, i = c ? Dh(ga(n.maxWait) || 0, t) : i, h = "trailing" in n ? !!n.trailing : h);
6711
6719
  function f($) {
6712
6720
  var C = r, E = o;
6713
6721
  return r = o = void 0, d = $, a = e.apply(E, C), a;
@@ -6717,7 +6725,7 @@ function Mh(e, t, n) {
6717
6725
  }
6718
6726
  function v($) {
6719
6727
  var C = $ - l, E = $ - d, S = t - C;
6720
- return c ? Dh(S, i - E) : S;
6728
+ return c ? Mh(S, i - E) : S;
6721
6729
  }
6722
6730
  function _($) {
6723
6731
  var C = $ - l, E = $ - d;
@@ -6750,8 +6758,8 @@ function Mh(e, t, n) {
6750
6758
  }
6751
6759
  return x.cancel = w, x.flush = b, x;
6752
6760
  }
6753
- var Lh = Mh;
6754
- const Nh = /* @__PURE__ */ xs(Lh), vo = "|", Ih = (e, t) => {
6761
+ var Nh = Lh;
6762
+ const Ih = /* @__PURE__ */ xs(Nh), vo = "|", jh = (e, t) => {
6755
6763
  const n = structuredClone(e);
6756
6764
  return n.forEach((r) => {
6757
6765
  if (t.has(r.key)) {
@@ -6768,20 +6776,20 @@ const Nh = /* @__PURE__ */ xs(Lh), vo = "|", Ih = (e, t) => {
6768
6776
  }
6769
6777
  }
6770
6778
  }), n;
6771
- }, jh = (e) => {
6779
+ }, Fh = (e) => {
6772
6780
  const t = e.get("mode");
6773
6781
  return t === "vector" || t === "query" ? t : "query";
6774
- }, Fh = (e) => {
6782
+ }, Vh = (e) => {
6775
6783
  const t = e.get("view");
6776
6784
  return t === "list" || t === "map" ? t : "list";
6777
- }, j_ = ({ searchParams: e }) => ({ properties: t }) => ({
6778
- filters: zn(Ih(t, e), "defaultValue"),
6779
- mode: jh(e),
6780
- geo: Vh(e),
6785
+ }, F_ = ({ searchParams: e }) => ({ properties: t }) => ({
6786
+ filters: zn(jh(t, e), "defaultValue"),
6787
+ mode: Fh(e),
6788
+ geo: Hh(e),
6781
6789
  page: Pn(e.get("page")) ?? 1,
6782
- view: Fh(e),
6790
+ view: Vh(e),
6783
6791
  query: e.get("query") ?? ""
6784
- }), F_ = (e, t) => {
6792
+ }), V_ = (e, t) => {
6785
6793
  var n, r;
6786
6794
  if (e.filters !== void 0) {
6787
6795
  const o = Bn({
@@ -6807,7 +6815,7 @@ const Nh = /* @__PURE__ */ xs(Lh), vo = "|", Ih = (e, t) => {
6807
6815
  const t = Number(e);
6808
6816
  if (!Number.isNaN(t))
6809
6817
  return t;
6810
- }, Vh = (e) => {
6818
+ }, Hh = (e) => {
6811
6819
  const t = e.get("lat"), n = e.get("lng"), r = e.get("radius");
6812
6820
  if (!t && !n || !t || !n)
6813
6821
  return;
@@ -6818,12 +6826,12 @@ const Nh = /* @__PURE__ */ xs(Lh), vo = "|", Ih = (e, t) => {
6818
6826
  coords: { lat: o, lng: i },
6819
6827
  radius: Number.isNaN(a) ? Qt(go) : a
6820
6828
  };
6821
- }, Hh = (e, t = 1e3) => {
6822
- const [n, r] = R(e), o = q(() => Nh((i) => r(i), t), [t]);
6829
+ }, Wh = (e, t = 1e3) => {
6830
+ const [n, r] = R(e), o = q(() => Ih((i) => r(i), t), [t]);
6823
6831
  return M(() => {
6824
6832
  o(e);
6825
6833
  }, [e, o]), n;
6826
- }, Wh = G(
6834
+ }, Uh = G(
6827
6835
  ({
6828
6836
  disabled: e,
6829
6837
  error: t,
@@ -6930,13 +6938,13 @@ const Nh = /* @__PURE__ */ xs(Lh), vo = "|", Ih = (e, t) => {
6930
6938
  ) : null
6931
6939
  ] });
6932
6940
  }
6933
- ), Uh = 1e4;
6941
+ ), zh = 1e4;
6934
6942
  class Mc extends Error {
6935
6943
  constructor() {
6936
6944
  super("Timed out waiting for the browser location"), this.name = "LocateTimeoutError";
6937
6945
  }
6938
6946
  }
6939
- const zh = ({ signal: e, timeoutMs: t }) => new Promise((n, r) => {
6947
+ const Bh = ({ signal: e, timeoutMs: t }) => new Promise((n, r) => {
6940
6948
  if (e.aborted) {
6941
6949
  r(new DOMException("Aborted", "AbortError"));
6942
6950
  return;
@@ -6957,14 +6965,14 @@ const zh = ({ signal: e, timeoutMs: t }) => new Promise((n, r) => {
6957
6965
  },
6958
6966
  { timeout: t }
6959
6967
  );
6960
- }), Bh = 1, qh = 3, Kh = (e) => {
6968
+ }), qh = 1, Kh = 3, Gh = (e) => {
6961
6969
  if (e instanceof DOMException && e.name === "AbortError")
6962
6970
  return null;
6963
6971
  if (e instanceof Mc)
6964
6972
  return "geo_error_timeout";
6965
6973
  const t = typeof e == "object" && e !== null && "code" in e ? e.code : void 0;
6966
- return t === Bh ? "geo_error_permission_denied" : t === qh ? "geo_error_timeout" : "geo_error_position_unavailable";
6967
- }, Gh = () => typeof window < "u" && "geolocation" in navigator && window.isSecureContext, Yh = ({
6974
+ return t === qh ? "geo_error_permission_denied" : t === Kh ? "geo_error_timeout" : "geo_error_position_unavailable";
6975
+ }, Yh = () => typeof window < "u" && "geolocation" in navigator && window.isSecureContext, Zh = ({
6968
6976
  onLocate: e,
6969
6977
  onError: t,
6970
6978
  signal: n
@@ -6972,7 +6980,7 @@ const zh = ({ signal: e, timeoutMs: t }) => new Promise((n, r) => {
6972
6980
  const [r, o] = R("idle"), [i, a] = R(null), { t: s } = ae(), l = (p) => {
6973
6981
  o("idle"), a(p), e(p);
6974
6982
  }, d = (p) => {
6975
- const c = Kh(p);
6983
+ const c = Gh(p);
6976
6984
  if (!c)
6977
6985
  return o("idle");
6978
6986
  o("error"), t(s(c));
@@ -6986,9 +6994,9 @@ const zh = ({ signal: e, timeoutMs: t }) => new Promise((n, r) => {
6986
6994
  if (r !== "loading") {
6987
6995
  if (i)
6988
6996
  return l(i);
6989
- if (!Gh())
6997
+ if (!Yh())
6990
6998
  return d(void 0);
6991
- o("loading"), zh({ signal: n, timeoutMs: Uh }).then((p) => l({ lat: p.latitude, lng: p.longitude })).catch(d);
6999
+ o("loading"), Bh({ signal: n, timeoutMs: zh }).then((p) => l({ lat: p.latitude, lng: p.longitude })).catch(d);
6992
7000
  }
6993
7001
  },
6994
7002
  "data-state": r,
@@ -7032,7 +7040,7 @@ const zh = ({ signal: e, timeoutMs: t }) => new Promise((n, r) => {
7032
7040
  disabled: !1,
7033
7041
  interactive: !1
7034
7042
  }
7035
- }), Zh = "https://api.mapbox.com/search/geocode/v6/forward", Xh = "ZzRDWFU0dTZ3SF9aWk9RNGl6QzZaWS5RZmlFak13a0hPbGxXZXlNSGN5RUhObUJ6TXpSV08yUW5OdE5tSTZJU1lpd2lJb1JYYXRObmJ2Tm5iaGhHZWx4V1lpb2pJMUp5ZS5rcA==", Jh = (e) => atob(e).split("").reverse().join(""), Qh = /* @__PURE__ */ he({
7043
+ }), Xh = "https://api.mapbox.com/search/geocode/v6/forward", Jh = "ZzRDWFU0dTZ3SF9aWk9RNGl6QzZaWS5RZmlFak13a0hPbGxXZXlNSGN5RUhObUJ6TXpSV08yUW5OdE5tSTZJU1lpd2lJb1JYYXRObmJ2Tm5iaGhHZWx4V1lpb2pJMUp5ZS5rcA==", Qh = (e) => atob(e).split("").reverse().join(""), ev = /* @__PURE__ */ he({
7036
7044
  features: /* @__PURE__ */ nn(
7037
7045
  /* @__PURE__ */ He(
7038
7046
  /* @__PURE__ */ he({
@@ -7052,27 +7060,27 @@ const zh = ({ signal: e, timeoutMs: t }) => new Promise((n, r) => {
7052
7060
  /* @__PURE__ */ Ve((e) => e.properties)
7053
7061
  )
7054
7062
  )
7055
- }), ev = (e, t) => Array.from(new Map(e.map((n) => [typeof t == "function" ? t(n) : n[t], n])).values()), ma = async (e) => {
7063
+ }), tv = (e, t) => Array.from(new Map(e.map((n) => [typeof t == "function" ? t(n) : n[t], n])).values()), ma = async (e) => {
7056
7064
  if (!e)
7057
7065
  return [];
7058
- const t = new URL(Zh);
7059
- t.searchParams.set("q", e), t.searchParams.set("proximity", "ip"), t.searchParams.set("access_token", Jh(Xh));
7066
+ const t = new URL(Xh);
7067
+ t.searchParams.set("q", e), t.searchParams.set("proximity", "ip"), t.searchParams.set("access_token", Qh(Jh));
7060
7068
  const n = await fetch(t);
7061
7069
  if (!n.ok)
7062
7070
  throw new Error("Failed to get address details");
7063
- const r = /* @__PURE__ */ Ga(Qh, await n.json());
7071
+ const r = /* @__PURE__ */ Ga(ev, await n.json());
7064
7072
  if (r.success === !1)
7065
7073
  throw console.error(r.issues), new Error("Invalid data");
7066
7074
  const { features: o } = r.output;
7067
- return ev(o, (i) => i.name_preferred + i.place_formatted);
7068
- }, tv = ({
7075
+ return tv(o, (i) => i.name_preferred + i.place_formatted);
7076
+ }, nv = ({
7069
7077
  onSelect: e,
7070
7078
  onValueChange: t,
7071
7079
  coords: n,
7072
7080
  radius: r,
7073
7081
  onError: o
7074
7082
  }) => {
7075
- const { t: i } = ae(), [a, s] = R(""), [l, d] = R(), p = Hh(a, 500), [c, h] = R(new AbortController()), f = Yt(p, ma, {
7083
+ const { t: i } = ae(), [a, s] = R(""), [l, d] = R(), p = Wh(a, 500), [c, h] = R(new AbortController()), f = Yt(p, ma, {
7076
7084
  keepPreviousData: !1,
7077
7085
  revalidateIfStale: !1,
7078
7086
  revalidateOnFocus: !1
@@ -7102,7 +7110,7 @@ const zh = ({ signal: e, timeoutMs: t }) => new Promise((n, r) => {
7102
7110
  children: /* @__PURE__ */ u("div", { class: kt({ size: "sm", variant: "accentStrong", interactive: !0, class: "truncate" }), children: l ?? i("location_provided") })
7103
7111
  }
7104
7112
  ) : /* @__PURE__ */ u(
7105
- Wh,
7113
+ Uh,
7106
7114
  {
7107
7115
  ref: b,
7108
7116
  error: _,
@@ -7160,7 +7168,7 @@ const zh = ({ signal: e, timeoutMs: t }) => new Promise((n, r) => {
7160
7168
  }
7161
7169
  ),
7162
7170
  /* @__PURE__ */ u("div", { class: "absolute bottom-0 right-0 top-0 flex items-center", children: !a && !n ? /* @__PURE__ */ u(
7163
- Yh,
7171
+ Zh,
7164
7172
  {
7165
7173
  onLocate: (k) => E(k, i("geo_my_location")),
7166
7174
  onError: o,
@@ -7183,16 +7191,16 @@ const zh = ({ signal: e, timeoutMs: t }) => new Promise((n, r) => {
7183
7191
  }
7184
7192
  ) })
7185
7193
  ] });
7186
- }, nv = [0.25, 0.5, 1, 3, 5, 10, 15, 20, 30, 40], rv = [0.5, 1, 3, 5, 10, 15, 25, 50, 100], go = 20, ov = 25, iv = ({
7194
+ }, rv = [0.25, 0.5, 1, 3, 5, 10, 15, 20, 30, 40], ov = [0.5, 1, 3, 5, 10, 15, 25, 50, 100], go = 20, iv = 25, av = ({
7187
7195
  value: e,
7188
7196
  onValueChange: t,
7189
7197
  distanceUnit: n = "miles"
7190
7198
  }) => {
7191
- const { t: r, locale: o } = ae(), i = Kn(), [a, s] = R(), l = q(() => Pc(o, n), [o, n]), d = n === "miles" ? Qt(go) : ho(ov), p = (e == null ? void 0 : e.type) === "provided" ? e.radius : d, c = (e == null ? void 0 : e.type) === "provided" ? e.coords : void 0, h = n === "miles" ? nv.map((f) => ({ value: Qt(f), label: l.format(f) })) : rv.map((f) => ({ value: ho(f), label: l.format(f) }));
7199
+ const { t: r, locale: o } = ae(), i = Kn(), [a, s] = R(), l = q(() => Pc(o, n), [o, n]), d = n === "miles" ? Qt(go) : ho(iv), p = (e == null ? void 0 : e.type) === "provided" ? e.radius : d, c = (e == null ? void 0 : e.type) === "provided" ? e.coords : void 0, h = n === "miles" ? rv.map((f) => ({ value: Qt(f), label: l.format(f) })) : ov.map((f) => ({ value: ho(f), label: l.format(f) }));
7192
7200
  return /* @__PURE__ */ u("div", { class: "flex flex-col gap-2", children: [
7193
7201
  /* @__PURE__ */ u("div", { class: "flex flex-col gap-2 md:flex-row", children: [
7194
7202
  /* @__PURE__ */ u(
7195
- tv,
7203
+ nv,
7196
7204
  {
7197
7205
  coords: c,
7198
7206
  radius: p,
@@ -7248,13 +7256,13 @@ const zh = ({ signal: e, timeoutMs: t }) => new Promise((n, r) => {
7248
7256
  }
7249
7257
  ) : null
7250
7258
  ] });
7251
- }, av = 2, sv = ({ value: e, onValueChange: t }) => {
7259
+ }, sv = 2, cv = ({ value: e, onValueChange: t }) => {
7252
7260
  const [n, r] = R(e ?? ""), o = n !== "" && n === e, { t: i } = ae();
7253
7261
  return M(() => {
7254
7262
  r(e ?? "");
7255
7263
  }, [e]), M(() => {
7256
7264
  let a = n.trim();
7257
- if (a.length <= av && (a = null), a === null) {
7265
+ if (a.length <= sv && (a = null), a === null) {
7258
7266
  t("");
7259
7267
  return;
7260
7268
  }
@@ -7313,7 +7321,7 @@ const zh = ({ signal: e, timeoutMs: t }) => new Promise((n, r) => {
7313
7321
  }
7314
7322
  )
7315
7323
  ] }) });
7316
- }, cv = ({
7324
+ }, lv = ({
7317
7325
  intervalMs: e,
7318
7326
  strings: t,
7319
7327
  class: n
@@ -7344,20 +7352,20 @@ const zh = ({ signal: e, timeoutMs: t }) => new Promise((n, r) => {
7344
7352
  ))
7345
7353
  }
7346
7354
  ) });
7347
- }, lv = (e, t) => {
7355
+ }, uv = (e, t) => {
7348
7356
  M(() => {
7349
7357
  const n = (r) => {
7350
7358
  document.activeElement === e.current && t(r);
7351
7359
  };
7352
7360
  return document.addEventListener("selectionchange", n), () => document.removeEventListener("selectionchange", n);
7353
7361
  }, [e, t]);
7354
- }, _a = 3, uv = ({ value: e, onValueChange: t, options: n }) => {
7362
+ }, _a = 3, dv = ({ value: e, onValueChange: t, options: n }) => {
7355
7363
  const [r, o] = R(e ?? ""), i = r.trim(), a = i !== "" && i === e, { t: s } = ae(), l = i.split("");
7356
7364
  M(() => {
7357
7365
  o(e ?? "");
7358
7366
  }, [e]);
7359
7367
  const [d, p] = R(0), c = A(null);
7360
- return lv(c, (h) => {
7368
+ return uv(c, (h) => {
7361
7369
  h.target instanceof HTMLInputElement && p(h.target.scrollLeft);
7362
7370
  }), M(() => {
7363
7371
  let h = r.trim();
@@ -7437,7 +7445,7 @@ const zh = ({ signal: e, timeoutMs: t }) => new Promise((n, r) => {
7437
7445
  i + f
7438
7446
  ))
7439
7447
  }
7440
- ) : n != null && n.suggestions ? /* @__PURE__ */ u(cv, { intervalMs: 2e3, strings: n.suggestions, class: "opacity-30", "aria-hidden": !0 }) : null
7448
+ ) : n != null && n.suggestions ? /* @__PURE__ */ u(lv, { intervalMs: 2e3, strings: n.suggestions, class: "opacity-30", "aria-hidden": !0 }) : null
7441
7449
  }
7442
7450
  ),
7443
7451
  /* @__PURE__ */ u(
@@ -7461,32 +7469,32 @@ const zh = ({ signal: e, timeoutMs: t }) => new Promise((n, r) => {
7461
7469
  /* @__PURE__ */ u("p", { class: "font-family-default text-balance font-style-default text-style-job-card-info text-copy-neutral-lowcontrast", children: s("ai_disclaimer") })
7462
7470
  ] });
7463
7471
  };
7464
- var dv = Array.isArray, Go = dv, fv = Go, pv = nr, hv = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, vv = /^\w*$/;
7465
- function gv(e, t) {
7466
- if (fv(e))
7472
+ var fv = Array.isArray, Go = fv, pv = Go, hv = nr, vv = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, gv = /^\w*$/;
7473
+ function mv(e, t) {
7474
+ if (pv(e))
7467
7475
  return !1;
7468
7476
  var n = typeof e;
7469
- return n == "number" || n == "symbol" || n == "boolean" || e == null || pv(e) ? !0 : vv.test(e) || !hv.test(e) || t != null && e in Object(t);
7477
+ return n == "number" || n == "symbol" || n == "boolean" || e == null || hv(e) ? !0 : gv.test(e) || !vv.test(e) || t != null && e in Object(t);
7470
7478
  }
7471
- var mv = gv, _v = Dc, yv = er, bv = "[object AsyncFunction]", wv = "[object Function]", xv = "[object GeneratorFunction]", $v = "[object Proxy]";
7472
- function Cv(e) {
7473
- if (!yv(e))
7479
+ var _v = mv, yv = Dc, bv = er, wv = "[object AsyncFunction]", xv = "[object Function]", $v = "[object GeneratorFunction]", Cv = "[object Proxy]";
7480
+ function Ev(e) {
7481
+ if (!bv(e))
7474
7482
  return !1;
7475
- var t = _v(e);
7476
- return t == wv || t == xv || t == bv || t == $v;
7483
+ var t = yv(e);
7484
+ return t == xv || t == $v || t == wv || t == Cv;
7477
7485
  }
7478
- var Ev = Cv, Sv = tr, Ov = Sv["__core-js_shared__"], kv = Ov, Ir = kv, ya = function() {
7486
+ var Sv = Ev, Ov = tr, kv = Ov["__core-js_shared__"], Tv = kv, Ir = Tv, ya = function() {
7479
7487
  var e = /[^.]+$/.exec(Ir && Ir.keys && Ir.keys.IE_PROTO || "");
7480
7488
  return e ? "Symbol(src)_1." + e : "";
7481
7489
  }();
7482
- function Tv(e) {
7490
+ function Av(e) {
7483
7491
  return !!ya && ya in e;
7484
7492
  }
7485
- var Av = Tv, Pv = Function.prototype, Rv = Pv.toString;
7486
- function Dv(e) {
7493
+ var Pv = Av, Rv = Function.prototype, Dv = Rv.toString;
7494
+ function Mv(e) {
7487
7495
  if (e != null) {
7488
7496
  try {
7489
- return Rv.call(e);
7497
+ return Dv.call(e);
7490
7498
  } catch {
7491
7499
  }
7492
7500
  try {
@@ -7496,53 +7504,53 @@ function Dv(e) {
7496
7504
  }
7497
7505
  return "";
7498
7506
  }
7499
- var Mv = Dv, Lv = Ev, Nv = Av, Iv = er, jv = Mv, Fv = /[\\^$.*+?()[\]{}|]/g, Vv = /^\[object .+?Constructor\]$/, Hv = Function.prototype, Wv = Object.prototype, Uv = Hv.toString, zv = Wv.hasOwnProperty, Bv = RegExp(
7500
- "^" + Uv.call(zv).replace(Fv, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
7507
+ var Lv = Mv, Nv = Sv, Iv = Pv, jv = er, Fv = Lv, Vv = /[\\^$.*+?()[\]{}|]/g, Hv = /^\[object .+?Constructor\]$/, Wv = Function.prototype, Uv = Object.prototype, zv = Wv.toString, Bv = Uv.hasOwnProperty, qv = RegExp(
7508
+ "^" + zv.call(Bv).replace(Vv, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
7501
7509
  );
7502
- function qv(e) {
7503
- if (!Iv(e) || Nv(e))
7510
+ function Kv(e) {
7511
+ if (!jv(e) || Iv(e))
7504
7512
  return !1;
7505
- var t = Lv(e) ? Bv : Vv;
7506
- return t.test(jv(e));
7513
+ var t = Nv(e) ? qv : Hv;
7514
+ return t.test(Fv(e));
7507
7515
  }
7508
- var Kv = qv;
7509
- function Gv(e, t) {
7516
+ var Gv = Kv;
7517
+ function Yv(e, t) {
7510
7518
  return e == null ? void 0 : e[t];
7511
7519
  }
7512
- var Yv = Gv, Zv = Kv, Xv = Yv;
7513
- function Jv(e, t) {
7514
- var n = Xv(e, t);
7515
- return Zv(n) ? n : void 0;
7520
+ var Zv = Yv, Xv = Gv, Jv = Zv;
7521
+ function Qv(e, t) {
7522
+ var n = Jv(e, t);
7523
+ return Xv(n) ? n : void 0;
7516
7524
  }
7517
- var Lc = Jv, Qv = Lc, eg = Qv(Object, "create"), rr = eg, ba = rr;
7518
- function tg() {
7525
+ var Lc = Qv, eg = Lc, tg = eg(Object, "create"), rr = tg, ba = rr;
7526
+ function ng() {
7519
7527
  this.__data__ = ba ? ba(null) : {}, this.size = 0;
7520
7528
  }
7521
- var ng = tg;
7522
- function rg(e) {
7529
+ var rg = ng;
7530
+ function og(e) {
7523
7531
  var t = this.has(e) && delete this.__data__[e];
7524
7532
  return this.size -= t ? 1 : 0, t;
7525
7533
  }
7526
- var og = rg, ig = rr, ag = "__lodash_hash_undefined__", sg = Object.prototype, cg = sg.hasOwnProperty;
7527
- function lg(e) {
7534
+ var ig = og, ag = rr, sg = "__lodash_hash_undefined__", cg = Object.prototype, lg = cg.hasOwnProperty;
7535
+ function ug(e) {
7528
7536
  var t = this.__data__;
7529
- if (ig) {
7537
+ if (ag) {
7530
7538
  var n = t[e];
7531
- return n === ag ? void 0 : n;
7539
+ return n === sg ? void 0 : n;
7532
7540
  }
7533
- return cg.call(t, e) ? t[e] : void 0;
7541
+ return lg.call(t, e) ? t[e] : void 0;
7534
7542
  }
7535
- var ug = lg, dg = rr, fg = Object.prototype, pg = fg.hasOwnProperty;
7536
- function hg(e) {
7543
+ var dg = ug, fg = rr, pg = Object.prototype, hg = pg.hasOwnProperty;
7544
+ function vg(e) {
7537
7545
  var t = this.__data__;
7538
- return dg ? t[e] !== void 0 : pg.call(t, e);
7546
+ return fg ? t[e] !== void 0 : hg.call(t, e);
7539
7547
  }
7540
- var vg = hg, gg = rr, mg = "__lodash_hash_undefined__";
7541
- function _g(e, t) {
7548
+ var gg = vg, mg = rr, _g = "__lodash_hash_undefined__";
7549
+ function yg(e, t) {
7542
7550
  var n = this.__data__;
7543
- return this.size += this.has(e) ? 0 : 1, n[e] = gg && t === void 0 ? mg : t, this;
7551
+ return this.size += this.has(e) ? 0 : 1, n[e] = mg && t === void 0 ? _g : t, this;
7544
7552
  }
7545
- var yg = _g, bg = ng, wg = og, xg = ug, $g = vg, Cg = yg;
7553
+ var bg = yg, wg = rg, xg = ig, $g = dg, Cg = gg, Eg = bg;
7546
7554
  function Ft(e) {
7547
7555
  var t = -1, n = e == null ? 0 : e.length;
7548
7556
  for (this.clear(); ++t < n; ) {
@@ -7550,49 +7558,49 @@ function Ft(e) {
7550
7558
  this.set(r[0], r[1]);
7551
7559
  }
7552
7560
  }
7553
- Ft.prototype.clear = bg;
7554
- Ft.prototype.delete = wg;
7555
- Ft.prototype.get = xg;
7556
- Ft.prototype.has = $g;
7557
- Ft.prototype.set = Cg;
7558
- var Eg = Ft;
7559
- function Sg() {
7561
+ Ft.prototype.clear = wg;
7562
+ Ft.prototype.delete = xg;
7563
+ Ft.prototype.get = $g;
7564
+ Ft.prototype.has = Cg;
7565
+ Ft.prototype.set = Eg;
7566
+ var Sg = Ft;
7567
+ function Og() {
7560
7568
  this.__data__ = [], this.size = 0;
7561
7569
  }
7562
- var Og = Sg;
7563
- function kg(e, t) {
7570
+ var kg = Og;
7571
+ function Tg(e, t) {
7564
7572
  return e === t || e !== e && t !== t;
7565
7573
  }
7566
- var Tg = kg, Ag = Tg;
7567
- function Pg(e, t) {
7574
+ var Ag = Tg, Pg = Ag;
7575
+ function Rg(e, t) {
7568
7576
  for (var n = e.length; n--; )
7569
- if (Ag(e[n][0], t))
7577
+ if (Pg(e[n][0], t))
7570
7578
  return n;
7571
7579
  return -1;
7572
7580
  }
7573
- var or = Pg, Rg = or, Dg = Array.prototype, Mg = Dg.splice;
7574
- function Lg(e) {
7575
- var t = this.__data__, n = Rg(t, e);
7581
+ var or = Rg, Dg = or, Mg = Array.prototype, Lg = Mg.splice;
7582
+ function Ng(e) {
7583
+ var t = this.__data__, n = Dg(t, e);
7576
7584
  if (n < 0)
7577
7585
  return !1;
7578
7586
  var r = t.length - 1;
7579
- return n == r ? t.pop() : Mg.call(t, n, 1), --this.size, !0;
7587
+ return n == r ? t.pop() : Lg.call(t, n, 1), --this.size, !0;
7580
7588
  }
7581
- var Ng = Lg, Ig = or;
7582
- function jg(e) {
7583
- var t = this.__data__, n = Ig(t, e);
7589
+ var Ig = Ng, jg = or;
7590
+ function Fg(e) {
7591
+ var t = this.__data__, n = jg(t, e);
7584
7592
  return n < 0 ? void 0 : t[n][1];
7585
7593
  }
7586
- var Fg = jg, Vg = or;
7587
- function Hg(e) {
7588
- return Vg(this.__data__, e) > -1;
7594
+ var Vg = Fg, Hg = or;
7595
+ function Wg(e) {
7596
+ return Hg(this.__data__, e) > -1;
7589
7597
  }
7590
- var Wg = Hg, Ug = or;
7591
- function zg(e, t) {
7592
- var n = this.__data__, r = Ug(n, e);
7598
+ var Ug = Wg, zg = or;
7599
+ function Bg(e, t) {
7600
+ var n = this.__data__, r = zg(n, e);
7593
7601
  return r < 0 ? (++this.size, n.push([e, t])) : n[r][1] = t, this;
7594
7602
  }
7595
- var Bg = zg, qg = Og, Kg = Ng, Gg = Fg, Yg = Wg, Zg = Bg;
7603
+ var qg = Bg, Kg = kg, Gg = Ig, Yg = Vg, Zg = Ug, Xg = qg;
7596
7604
  function Vt(e) {
7597
7605
  var t = -1, n = e == null ? 0 : e.length;
7598
7606
  for (this.clear(); ++t < n; ) {
@@ -7600,48 +7608,48 @@ function Vt(e) {
7600
7608
  this.set(r[0], r[1]);
7601
7609
  }
7602
7610
  }
7603
- Vt.prototype.clear = qg;
7604
- Vt.prototype.delete = Kg;
7605
- Vt.prototype.get = Gg;
7606
- Vt.prototype.has = Yg;
7607
- Vt.prototype.set = Zg;
7608
- var Xg = Vt, Jg = Lc, Qg = tr, em = Jg(Qg, "Map"), tm = em, wa = Eg, nm = Xg, rm = tm;
7609
- function om() {
7611
+ Vt.prototype.clear = Kg;
7612
+ Vt.prototype.delete = Gg;
7613
+ Vt.prototype.get = Yg;
7614
+ Vt.prototype.has = Zg;
7615
+ Vt.prototype.set = Xg;
7616
+ var Jg = Vt, Qg = Lc, em = tr, tm = Qg(em, "Map"), nm = tm, wa = Sg, rm = Jg, om = nm;
7617
+ function im() {
7610
7618
  this.size = 0, this.__data__ = {
7611
7619
  hash: new wa(),
7612
- map: new (rm || nm)(),
7620
+ map: new (om || rm)(),
7613
7621
  string: new wa()
7614
7622
  };
7615
7623
  }
7616
- var im = om;
7617
- function am(e) {
7624
+ var am = im;
7625
+ function sm(e) {
7618
7626
  var t = typeof e;
7619
7627
  return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
7620
7628
  }
7621
- var sm = am, cm = sm;
7622
- function lm(e, t) {
7629
+ var cm = sm, lm = cm;
7630
+ function um(e, t) {
7623
7631
  var n = e.__data__;
7624
- return cm(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
7632
+ return lm(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
7625
7633
  }
7626
- var ir = lm, um = ir;
7627
- function dm(e) {
7628
- var t = um(this, e).delete(e);
7634
+ var ir = um, dm = ir;
7635
+ function fm(e) {
7636
+ var t = dm(this, e).delete(e);
7629
7637
  return this.size -= t ? 1 : 0, t;
7630
7638
  }
7631
- var fm = dm, pm = ir;
7632
- function hm(e) {
7633
- return pm(this, e).get(e);
7639
+ var pm = fm, hm = ir;
7640
+ function vm(e) {
7641
+ return hm(this, e).get(e);
7634
7642
  }
7635
- var vm = hm, gm = ir;
7636
- function mm(e) {
7637
- return gm(this, e).has(e);
7643
+ var gm = vm, mm = ir;
7644
+ function _m(e) {
7645
+ return mm(this, e).has(e);
7638
7646
  }
7639
- var _m = mm, ym = ir;
7640
- function bm(e, t) {
7641
- var n = ym(this, e), r = n.size;
7647
+ var ym = _m, bm = ir;
7648
+ function wm(e, t) {
7649
+ var n = bm(this, e), r = n.size;
7642
7650
  return n.set(e, t), this.size += n.size == r ? 0 : 1, this;
7643
7651
  }
7644
- var wm = bm, xm = im, $m = fm, Cm = vm, Em = _m, Sm = wm;
7652
+ var xm = wm, $m = am, Cm = pm, Em = gm, Sm = ym, Om = xm;
7645
7653
  function Ht(e) {
7646
7654
  var t = -1, n = e == null ? 0 : e.length;
7647
7655
  for (this.clear(); ++t < n; ) {
@@ -7649,15 +7657,15 @@ function Ht(e) {
7649
7657
  this.set(r[0], r[1]);
7650
7658
  }
7651
7659
  }
7652
- Ht.prototype.clear = xm;
7653
- Ht.prototype.delete = $m;
7654
- Ht.prototype.get = Cm;
7655
- Ht.prototype.has = Em;
7656
- Ht.prototype.set = Sm;
7657
- var Om = Ht, Nc = Om, km = "Expected a function";
7660
+ Ht.prototype.clear = $m;
7661
+ Ht.prototype.delete = Cm;
7662
+ Ht.prototype.get = Em;
7663
+ Ht.prototype.has = Sm;
7664
+ Ht.prototype.set = Om;
7665
+ var km = Ht, Nc = km, Tm = "Expected a function";
7658
7666
  function Yo(e, t) {
7659
7667
  if (typeof e != "function" || t != null && typeof t != "function")
7660
- throw new TypeError(km);
7668
+ throw new TypeError(Tm);
7661
7669
  var n = function() {
7662
7670
  var r = arguments, o = t ? t.apply(this, r) : r[0], i = n.cache;
7663
7671
  if (i.has(o))
@@ -7668,64 +7676,64 @@ function Yo(e, t) {
7668
7676
  return n.cache = new (Yo.Cache || Nc)(), n;
7669
7677
  }
7670
7678
  Yo.Cache = Nc;
7671
- var Tm = Yo, Am = Tm, Pm = 500;
7672
- function Rm(e) {
7673
- var t = Am(e, function(r) {
7674
- return n.size === Pm && n.clear(), r;
7679
+ var Am = Yo, Pm = Am, Rm = 500;
7680
+ function Dm(e) {
7681
+ var t = Pm(e, function(r) {
7682
+ return n.size === Rm && n.clear(), r;
7675
7683
  }), n = t.cache;
7676
7684
  return t;
7677
7685
  }
7678
- var Dm = Rm, Mm = Dm, Lm = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Nm = /\\(\\)?/g, Im = Mm(function(e) {
7686
+ var Mm = Dm, Lm = Mm, Nm = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Im = /\\(\\)?/g, jm = Lm(function(e) {
7679
7687
  var t = [];
7680
- return e.charCodeAt(0) === 46 && t.push(""), e.replace(Lm, function(n, r, o, i) {
7681
- t.push(o ? i.replace(Nm, "$1") : r || n);
7688
+ return e.charCodeAt(0) === 46 && t.push(""), e.replace(Nm, function(n, r, o, i) {
7689
+ t.push(o ? i.replace(Im, "$1") : r || n);
7682
7690
  }), t;
7683
- }), jm = Im;
7684
- function Fm(e, t) {
7691
+ }), Fm = jm;
7692
+ function Vm(e, t) {
7685
7693
  for (var n = -1, r = e == null ? 0 : e.length, o = Array(r); ++n < r; )
7686
7694
  o[n] = t(e[n], n, e);
7687
7695
  return o;
7688
7696
  }
7689
- var Vm = Fm, xa = Ko, Hm = Vm, Wm = Go, Um = nr, zm = 1 / 0, $a = xa ? xa.prototype : void 0, Ca = $a ? $a.toString : void 0;
7697
+ var Hm = Vm, xa = Ko, Wm = Hm, Um = Go, zm = nr, Bm = 1 / 0, $a = xa ? xa.prototype : void 0, Ca = $a ? $a.toString : void 0;
7690
7698
  function Ic(e) {
7691
7699
  if (typeof e == "string")
7692
7700
  return e;
7693
- if (Wm(e))
7694
- return Hm(e, Ic) + "";
7695
7701
  if (Um(e))
7702
+ return Wm(e, Ic) + "";
7703
+ if (zm(e))
7696
7704
  return Ca ? Ca.call(e) : "";
7697
7705
  var t = e + "";
7698
- return t == "0" && 1 / e == -zm ? "-0" : t;
7706
+ return t == "0" && 1 / e == -Bm ? "-0" : t;
7699
7707
  }
7700
- var Bm = Ic, qm = Bm;
7701
- function Km(e) {
7702
- return e == null ? "" : qm(e);
7708
+ var qm = Ic, Km = qm;
7709
+ function Gm(e) {
7710
+ return e == null ? "" : Km(e);
7703
7711
  }
7704
- var Gm = Km, Ym = Go, Zm = mv, Xm = jm, Jm = Gm;
7705
- function Qm(e, t) {
7706
- return Ym(e) ? e : Zm(e, t) ? [e] : Xm(Jm(e));
7712
+ var Ym = Gm, Zm = Go, Xm = _v, Jm = Fm, Qm = Ym;
7713
+ function e_(e, t) {
7714
+ return Zm(e) ? e : Xm(e, t) ? [e] : Jm(Qm(e));
7707
7715
  }
7708
- var e_ = Qm, t_ = nr, n_ = 1 / 0;
7709
- function r_(e) {
7710
- if (typeof e == "string" || t_(e))
7716
+ var t_ = e_, n_ = nr, r_ = 1 / 0;
7717
+ function o_(e) {
7718
+ if (typeof e == "string" || n_(e))
7711
7719
  return e;
7712
7720
  var t = e + "";
7713
- return t == "0" && 1 / e == -n_ ? "-0" : t;
7721
+ return t == "0" && 1 / e == -r_ ? "-0" : t;
7714
7722
  }
7715
- var o_ = r_, i_ = e_, a_ = o_;
7716
- function s_(e, t) {
7717
- t = i_(t, e);
7723
+ var i_ = o_, a_ = t_, s_ = i_;
7724
+ function c_(e, t) {
7725
+ t = a_(t, e);
7718
7726
  for (var n = 0, r = t.length; e != null && n < r; )
7719
- e = e[a_(t[n++])];
7727
+ e = e[s_(t[n++])];
7720
7728
  return n && n == r ? e : void 0;
7721
7729
  }
7722
- var c_ = s_, l_ = c_;
7723
- function u_(e, t, n) {
7724
- var r = e == null ? void 0 : l_(e, t);
7730
+ var l_ = c_, u_ = l_;
7731
+ function d_(e, t, n) {
7732
+ var r = e == null ? void 0 : u_(e, t);
7725
7733
  return r === void 0 ? n : r;
7726
7734
  }
7727
- var d_ = u_;
7728
- const f_ = /* @__PURE__ */ xs(d_), Kt = ({ chars: e }) => /* @__PURE__ */ u(
7735
+ var f_ = d_;
7736
+ const p_ = /* @__PURE__ */ xs(f_), Kt = ({ chars: e }) => /* @__PURE__ */ u(
7729
7737
  "span",
7730
7738
  {
7731
7739
  style: { width: e + "ch" },
@@ -7740,7 +7748,7 @@ const f_ = /* @__PURE__ */ xs(d_), Kt = ({ chars: e }) => /* @__PURE__ */ u(
7740
7748
  }
7741
7749
  },
7742
7750
  defaultVariants: { interactive: !0 }
7743
- }), p_ = ge({
7751
+ }), h_ = ge({
7744
7752
  base: "font-style-job-heading font-weight-job-heading text-copy-neutral font-family-job-heading text-pretty",
7745
7753
  variants: {
7746
7754
  size: {
@@ -7757,9 +7765,9 @@ const f_ = /* @__PURE__ */ xs(d_), Kt = ({ chars: e }) => /* @__PURE__ */ u(
7757
7765
  }) => {
7758
7766
  if (!t)
7759
7767
  return null;
7760
- const n = f_(e.raw, t.key);
7768
+ const n = p_(e.raw, t.key);
7761
7769
  return t.transform ? t.transform(n) : n;
7762
- }, h_ = ({
7770
+ }, v_ = ({
7763
7771
  job: e,
7764
7772
  config: t = "hidden"
7765
7773
  }) => t === "hidden" ? null : /* @__PURE__ */ u("div", { class: "rounded-logo h-12 flex-none overflow-hidden", style: { aspectRatio: t.replace(":", "/") }, children: e.company.logo ? /* @__PURE__ */ u(
@@ -7769,7 +7777,7 @@ const f_ = /* @__PURE__ */ xs(d_), Kt = ({ chars: e }) => /* @__PURE__ */ u(
7769
7777
  alt: e.company.name,
7770
7778
  class: "h-full w-full select-none object-contain [-webkit-user-drag:none]"
7771
7779
  }
7772
- ) : null }), Ea = (e) => Array.isArray(e) ? e : [e], v_ = 1e3 * 60 * 60 * 24, Fc = ({
7780
+ ) : null }), Ea = (e) => Array.isArray(e) ? e : [e], g_ = 1e3 * 60 * 60 * 24, Fc = ({
7773
7781
  job: e,
7774
7782
  config: t,
7775
7783
  onJobClick: n,
@@ -7777,9 +7785,9 @@ const f_ = /* @__PURE__ */ xs(d_), Kt = ({ chars: e }) => /* @__PURE__ */ u(
7777
7785
  distanceUnit: o
7778
7786
  }) => {
7779
7787
  var _, y, m;
7780
- const { t: i, locale: a } = ae(), s = e.distanceMeters === null ? null : i("distance_away", { distance: jp(e.distanceMeters, o ?? "miles", a) }), l = t.subheading ? jr({ job: e, property: t.subheading }) : null, d = t.infoTags.flatMap((w) => Ea(jr({ job: e, property: w }))).filter(Boolean), p = Ea(
7788
+ const { t: i, locale: a } = ae(), s = e.distanceMeters === null ? null : i("distance_away", { distance: Fp(e.distanceMeters, o ?? "miles", a) }), l = t.subheading ? jr({ job: e, property: t.subheading }) : null, d = t.infoTags.flatMap((w) => Ea(jr({ job: e, property: w }))).filter(Boolean), p = Ea(
7781
7789
  (_ = t.overrides) != null && _.salary ? jr({ job: e, property: t.overrides.salary }) : e.pay
7782
- ).filter(Boolean), c = t.postedDate ?? "show", h = (y = t.overrides) != null && y.baseUrl ? t.overrides.baseUrl(e.id.toString()) : e.href, f = t.newUnderDays ?? 7, g = e.createdAt ? new Date(e.createdAt).getTime() > Date.now() - f * v_ : !1, v = (w) => {
7790
+ ).filter(Boolean), c = t.postedDate ?? "show", h = (y = t.overrides) != null && y.baseUrl ? t.overrides.baseUrl(e.id.toString()) : e.href, f = t.newUnderDays ?? 7, g = e.createdAt ? new Date(e.createdAt).getTime() > Date.now() - f * g_ : !1, v = (w) => {
7783
7791
  var b, x;
7784
7792
  n == null || n(e), (x = (b = t.overrides) == null ? void 0 : b.onClick) == null || x.call(b, w);
7785
7793
  };
@@ -7794,14 +7802,14 @@ const f_ = /* @__PURE__ */ xs(d_), Kt = ({ chars: e }) => /* @__PURE__ */ u(
7794
7802
  children: [
7795
7803
  /* @__PURE__ */ u("div", { class: "flex min-w-0 flex-1 flex-col gap-4", children: [
7796
7804
  /* @__PURE__ */ u("div", { class: "gap-logo flex items-center", children: [
7797
- /* @__PURE__ */ u(h_, { job: e, config: r !== "sm" ? t.logo : void 0 }),
7805
+ /* @__PURE__ */ u(v_, { job: e, config: r !== "sm" ? t.logo : void 0 }),
7798
7806
  /* @__PURE__ */ u("div", { class: "flex flex-col items-start gap-1", children: [
7799
7807
  /* @__PURE__ */ u("div", { class: "order-2 flex flex-col gap-1", children: [
7800
7808
  e.match ? /* @__PURE__ */ u("p", { class: "text-style-job-card text-tag-accent-strong-bg flex items-center ", children: [
7801
7809
  /* @__PURE__ */ u(te, { name: "ai", class: "size-4 inline-block" }),
7802
7810
  /* @__PURE__ */ u("span", { children: e.match })
7803
7811
  ] }) : null,
7804
- /* @__PURE__ */ u("p", { class: p_({ size: r }), children: [
7812
+ /* @__PURE__ */ u("p", { class: h_({ size: r }), children: [
7805
7813
  e.title.trim(),
7806
7814
  g && c !== "hide" && /* @__PURE__ */ u(V, { children: [
7807
7815
  " ",
@@ -7876,7 +7884,7 @@ const f_ = /* @__PURE__ */ xs(d_), Kt = ({ chars: e }) => /* @__PURE__ */ u(
7876
7884
  ] }),
7877
7885
  /* @__PURE__ */ u("div", { "aria-hidden": !0, class: "flex items-center", children: /* @__PURE__ */ u(te, { name: "chevron-right", class: "text-copy-neutral-icon" }) })
7878
7886
  ] });
7879
- }, g_ = ({
7887
+ }, m_ = ({
7880
7888
  state: e,
7881
7889
  fetchNextPage: t,
7882
7890
  config: n,
@@ -7896,7 +7904,7 @@ const f_ = /* @__PURE__ */ xs(d_), Kt = ({ chars: e }) => /* @__PURE__ */ u(
7896
7904
  ]
7897
7905
  }
7898
7906
  );
7899
- }, m_ = ({
7907
+ }, __ = ({
7900
7908
  state: e,
7901
7909
  rpcClient: t,
7902
7910
  jobCardConfig: n,
@@ -7912,7 +7920,7 @@ const f_ = /* @__PURE__ */ xs(d_), Kt = ({ chars: e }) => /* @__PURE__ */ u(
7912
7920
  }) => /* @__PURE__ */ u(V, { children: Array.from({ length: e.page }).map((h, f) => {
7913
7921
  const g = f === e.page - 1;
7914
7922
  return /* @__PURE__ */ u(In, { Fallback: Je, children: /* @__PURE__ */ u(
7915
- __,
7923
+ y_,
7916
7924
  {
7917
7925
  state: e,
7918
7926
  rpcClient: t,
@@ -7955,7 +7963,7 @@ const f_ = /* @__PURE__ */ xs(d_), Kt = ({ chars: e }) => /* @__PURE__ */ u(
7955
7963
  ]
7956
7964
  }
7957
7965
  );
7958
- }, __ = ({
7966
+ }, y_ = ({
7959
7967
  state: e,
7960
7968
  rpcClient: t,
7961
7969
  page: n,
@@ -8033,7 +8041,7 @@ const f_ = /* @__PURE__ */ xs(d_), Kt = ({ chars: e }) => /* @__PURE__ */ u(
8033
8041
  E.id
8034
8042
  )) }),
8035
8043
  b && o && /* @__PURE__ */ u(
8036
- g_,
8044
+ m_,
8037
8045
  {
8038
8046
  state: m,
8039
8047
  fetchNextPage: i,
@@ -8046,7 +8054,7 @@ const f_ = /* @__PURE__ */ xs(d_), Kt = ({ chars: e }) => /* @__PURE__ */ u(
8046
8054
  default:
8047
8055
  $t(m);
8048
8056
  }
8049
- }, y_ = Do(() => import("./map-3dafc3a9.js").then((e) => e.Map)), b_ = ({
8057
+ }, b_ = Do(() => import("./map-34de18ee.js").then((e) => e.Map)), w_ = ({
8050
8058
  state: e,
8051
8059
  rpcClient: t,
8052
8060
  mapConfig: n,
@@ -8096,7 +8104,7 @@ const f_ = /* @__PURE__ */ xs(d_), Kt = ({ chars: e }) => /* @__PURE__ */ u(
8096
8104
  ] }),
8097
8105
  /* @__PURE__ */ u("div", { class: "theme-fill:bg-neutral-2 theme-stroke:bg-lowest ring-px theme-fill:ring-neutral-3 theme-stroke:ring-neutral-3 theme-soft:rounded-lg theme-rounded:rounded-xl relative flex h-auto flex-col items-stretch overflow-hidden md:h-[70svh] md:flex-row", children: [
8098
8106
  /* @__PURE__ */ u("div", { class: "md:min-w-80 aspect-square flex-1 md:order-2 md:aspect-auto", children: _ ? /* @__PURE__ */ u(Ct, { fallback: /* @__PURE__ */ u("div", { class: "animate-skeleton bg-neutral-6 h-full w-full" }), children: /* @__PURE__ */ u(
8099
- y_,
8107
+ b_,
8100
8108
  {
8101
8109
  config: n,
8102
8110
  mapData: v,
@@ -8144,7 +8152,7 @@ const f_ = /* @__PURE__ */ xs(d_), Kt = ({ chars: e }) => /* @__PURE__ */ u(
8144
8152
  defaultVariants: {
8145
8153
  active: !1
8146
8154
  }
8147
- }), w_ = ({ value: e, onValueChange: t }) => {
8155
+ }), x_ = ({ value: e, onValueChange: t }) => {
8148
8156
  const { t: n } = ae();
8149
8157
  return /* @__PURE__ */ u("div", { class: "bg-neutral-3 rounded-interactive ring-neutral-3 mr-[3px] inline-flex ring-[3px]", children: [
8150
8158
  /* @__PURE__ */ u(
@@ -8174,9 +8182,9 @@ const f_ = /* @__PURE__ */ xs(d_), Kt = ({ chars: e }) => /* @__PURE__ */ u(
8174
8182
  }
8175
8183
  )
8176
8184
  ] });
8177
- }, x_ = (e) => {
8178
- const t = e.state.view, n = e.mapConfig && e.mapConfig.enabled ? /* @__PURE__ */ u(w_, { value: t, onValueChange: e.onViewChange }) : null;
8179
- return t === "list" ? /* @__PURE__ */ u(m_, { afterResults: n, ...e }) : /* @__PURE__ */ u(b_, { ...e, afterResults: n });
8185
+ }, $_ = (e) => {
8186
+ const t = e.state.view, n = e.mapConfig && e.mapConfig.enabled ? /* @__PURE__ */ u(x_, { value: t, onValueChange: e.onViewChange }) : null;
8187
+ return t === "list" ? /* @__PURE__ */ u(__, { afterResults: n, ...e }) : /* @__PURE__ */ u(w_, { ...e, afterResults: n });
8180
8188
  }, zn = (e, t = "value") => e.reduce(
8181
8189
  (n, r) => {
8182
8190
  switch (r.select) {
@@ -8207,7 +8215,7 @@ const f_ = /* @__PURE__ */ xs(d_), Kt = ({ chars: e }) => /* @__PURE__ */ u(
8207
8215
  Array.isArray(r) ? r : r ? [r] : []
8208
8216
  ];
8209
8217
  }).filter(([, t]) => t !== void 0 && t.length > 0)
8210
- ), ka = (e) => (e == null ? void 0 : e.type) === "bounds" ? void 0 : e, V_ = ({
8218
+ ), ka = (e) => (e == null ? void 0 : e.type) === "bounds" ? void 0 : e, H_ = ({
8211
8219
  rpcClient: e,
8212
8220
  properties: t,
8213
8221
  analytics: n,
@@ -8218,7 +8226,7 @@ const f_ = /* @__PURE__ */ xs(d_), Kt = ({ chars: e }) => /* @__PURE__ */ u(
8218
8226
  var C, E, S, k, D, N, W;
8219
8227
  const { t: a } = ae(), s = A(null), l = q(() => zn(t, "defaultValue"), [t]), [d, p] = R(!0), [c, h] = R(
8220
8228
  () => typeof i.initialState == "function" ? i.initialState(i) : i.initialState
8221
- ), [f, g] = R(0), { onJobClick: v, analyticsPaginate: _ } = $_({
8229
+ ), [f, g] = R(0), { onJobClick: v, analyticsPaginate: _ } = C_({
8222
8230
  appRef: s,
8223
8231
  analytics: n,
8224
8232
  state: c,
@@ -8296,18 +8304,18 @@ const f_ = /* @__PURE__ */ xs(d_), Kt = ({ chars: e }) => /* @__PURE__ */ u(
8296
8304
  /* @__PURE__ */ u("section", { class: "flex flex-1 flex-col gap-1", children: [
8297
8305
  /* @__PURE__ */ u("p", { class: "text-style-filter text-copy-neutral font-style-filter font-weight-filter", children: a("search_label") }),
8298
8306
  (S = i.naturalLanguageSearch) != null && S.enabled ? /* @__PURE__ */ u(
8299
- uv,
8307
+ dv,
8300
8308
  {
8301
8309
  value: c.query,
8302
8310
  onValueChange: w,
8303
8311
  options: i.naturalLanguageSearch
8304
8312
  }
8305
- ) : i.enableKeywordSearch ? /* @__PURE__ */ u(sv, { value: c.query, onValueChange: w }) : null
8313
+ ) : i.enableKeywordSearch ? /* @__PURE__ */ u(cv, { value: c.query, onValueChange: w }) : null
8306
8314
  ] }),
8307
8315
  (k = i.geolocation) != null && k.enabled ? /* @__PURE__ */ u("section", { class: "flex flex-1 flex-col gap-1", children: [
8308
8316
  /* @__PURE__ */ u("p", { class: "text-style-filter text-copy-neutral font-style-filter font-weight-filter", children: a("geo_label") }),
8309
8317
  /* @__PURE__ */ u(
8310
- iv,
8318
+ av,
8311
8319
  {
8312
8320
  value: c.geo,
8313
8321
  distanceUnit: i.geolocation.distanceUnit,
@@ -8343,7 +8351,7 @@ const f_ = /* @__PURE__ */ xs(d_), Kt = ({ chars: e }) => /* @__PURE__ */ u(
8343
8351
  ] }) }),
8344
8352
  /* @__PURE__ */ u("section", { class: "flex flex-col gap-4 overflow-hidden px-4 py-4", children: [
8345
8353
  /* @__PURE__ */ u(In, { Fallback: Je, children: /* @__PURE__ */ u(
8346
- x_,
8354
+ $_,
8347
8355
  {
8348
8356
  state: c,
8349
8357
  rpcClient: e,
@@ -8371,7 +8379,7 @@ const f_ = /* @__PURE__ */ xs(d_), Kt = ({ chars: e }) => /* @__PURE__ */ u(
8371
8379
  ]
8372
8380
  }
8373
8381
  ) });
8374
- }, $_ = ({
8382
+ }, C_ = ({
8375
8383
  appRef: e,
8376
8384
  analytics: t,
8377
8385
  state: n,
@@ -8427,17 +8435,17 @@ const f_ = /* @__PURE__ */ xs(d_), Kt = ({ chars: e }) => /* @__PURE__ */ u(
8427
8435
  export {
8428
8436
  A,
8429
8437
  In as E,
8430
- D_ as I,
8431
- S_ as J,
8438
+ M_ as I,
8439
+ O_ as J,
8432
8440
  Ha as K,
8433
- O_ as T,
8434
- R_ as U,
8441
+ k_ as T,
8442
+ D_ as U,
8435
8443
  O as _,
8436
8444
  Gt as a,
8437
- M_ as b,
8438
- k_ as c,
8439
- V_ as d,
8440
- T_ as e,
8445
+ L_ as b,
8446
+ T_ as c,
8447
+ H_ as d,
8448
+ A_ as e,
8441
8449
  Fr as f,
8442
8450
  vl as g,
8443
8451
  hn as h,
@@ -8446,14 +8454,14 @@ export {
8446
8454
  V as k,
8447
8455
  L as l,
8448
8456
  R as m,
8449
- Hh as n,
8457
+ Wh as n,
8450
8458
  u as o,
8451
- Ih as p,
8452
- jh as q,
8453
- Fh as r,
8454
- j_ as s,
8455
- F_ as t,
8459
+ jh as p,
8460
+ Fh as q,
8461
+ Vh as r,
8462
+ F_ as s,
8463
+ V_ as t,
8456
8464
  ae as u,
8457
- Vh as v,
8465
+ Hh as v,
8458
8466
  M as y
8459
8467
  };