@omnic/widget-locations 1.1.80 → 1.1.82

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.
@@ -17,7 +17,7 @@ var ao = (t, e, n, r) => ({
17
17
  }), te = (t, e, n) => (js(t, e, "access private method"), n);
18
18
  import { jsx as C, jsxs as N, Fragment as wt } from "react/jsx-runtime";
19
19
  import * as I from "react";
20
- import $, { createContext as cc, useContext as Zt, useEffect as j, useState as ee, forwardRef as Cn, useMemo as we, useImperativeHandle as Kt, Children as Kh, useLayoutEffect as Br, useRef as B, useReducer as lc, useCallback as H, Suspense as Qh, memo as dt, createElement as Jh, useDebugValue as nn, useSyncExternalStore as Xh, useId as id } from "react";
20
+ import $, { createContext as cc, useContext as Zt, useEffect as j, useState as J, forwardRef as Cn, useMemo as we, useImperativeHandle as Kt, Children as Kh, useLayoutEffect as Br, useRef as B, useReducer as lc, useCallback as H, Suspense as Qh, memo as dt, createElement as Jh, useDebugValue as nn, useSyncExternalStore as Xh, useId as id } from "react";
21
21
  import { createPortal as es } from "react-dom";
22
22
  import { renderToString as Yh } from "react-dom/server";
23
23
  const od = $.createContext({}), sd = !0;
@@ -28,8 +28,8 @@ function ep({ baseColor: t, highlightColor: e, width: n, height: r, borderRadius
28
28
  function et({ count: t = 1, wrapper: e, className: n, containerClassName: r, containerTestId: i, circle: o = !1, style: s, ...a }) {
29
29
  var c, l, u;
30
30
  const d = $.useContext(od), f = { ...a };
31
- for (const [v, S] of Object.entries(a))
32
- typeof S > "u" && delete f[v];
31
+ for (const [y, S] of Object.entries(a))
32
+ typeof S > "u" && delete f[y];
33
33
  const g = {
34
34
  ...d,
35
35
  ...f,
@@ -40,22 +40,22 @@ function et({ count: t = 1, wrapper: e, className: n, containerClassName: r, con
40
40
  };
41
41
  let h = "react-loading-skeleton";
42
42
  n && (h += ` ${n}`);
43
- const b = (c = g.inline) !== null && c !== void 0 ? c : !1, y = [], _ = Math.ceil(t);
44
- for (let v = 0; v < _; v++) {
43
+ const b = (c = g.inline) !== null && c !== void 0 ? c : !1, v = [], _ = Math.ceil(t);
44
+ for (let y = 0; y < _; y++) {
45
45
  let S = p;
46
- if (_ > t && v === _ - 1) {
46
+ if (_ > t && y === _ - 1) {
47
47
  const m = (l = S.width) !== null && l !== void 0 ? l : "100%", w = t % 1, O = typeof m == "number" ? m * w : `calc(${m} * ${w})`;
48
48
  S = { ...S, width: O };
49
49
  }
50
- const E = $.createElement("span", { className: h, style: S, key: v }, "‌");
51
- b ? y.push(E) : y.push($.createElement(
50
+ const E = $.createElement("span", { className: h, style: S, key: y }, "‌");
51
+ b ? v.push(E) : v.push($.createElement(
52
52
  $.Fragment,
53
- { key: v },
53
+ { key: y },
54
54
  E,
55
55
  $.createElement("br", null)
56
56
  ));
57
57
  }
58
- return $.createElement("span", { className: r, "data-testid": i, "aria-live": "polite", "aria-busy": (u = g.enableAnimation) !== null && u !== void 0 ? u : sd }, e ? y.map((v, S) => $.createElement(e, { key: S }, v)) : y);
58
+ return $.createElement("span", { className: r, "data-testid": i, "aria-live": "polite", "aria-busy": (u = g.enableAnimation) !== null && u !== void 0 ? u : sd }, e ? v.map((y, S) => $.createElement(e, { key: S }, y)) : v);
59
59
  }
60
60
  function tp({ children: t, ...e }) {
61
61
  return $.createElement(od.Provider, { value: e }, t);
@@ -273,7 +273,7 @@ const el = (t) => {
273
273
  loading: !0,
274
274
  detailsOpen: !1,
275
275
  isIdle: !1
276
- }, Bp = (t) => t.map, Vp = (t) => t.mode, Hp = (t) => t.bounds, Up = (t) => t.blurred, $p = (t) => t.loaded, zp = (t) => t.loading, dc = (t) => t.detailsOpen, X = Qt()((t) => ({
276
+ }, Bp = (t) => t.map, Vp = (t) => t.mode, Hp = (t) => t.bounds, Up = (t) => t.blurred, $p = (t) => t.loaded, zp = (t) => t.loading, dc = (t) => t.detailsOpen, Y = Qt()((t) => ({
277
277
  ...jp,
278
278
  setLoaded() {
279
279
  t({ loaded: !0, loading: !1 });
@@ -324,15 +324,15 @@ const el = (t) => {
324
324
  }, Zp = (t) => t.type, Kp = (t) => t.send, Qp = (t) => t.receive, _n = Qt((t) => ({
325
325
  ...Wp,
326
326
  setFilter(e) {
327
- X.getState().setDetailsOpen(!1), Ie.getState().setDeliverPoint(null), ut.getState().setSelectedLocation(null), t(e);
327
+ Y.getState().setDetailsOpen(!1), Ie.getState().setDeliverPoint(null), ut.getState().setSelectedLocation(null), t(e);
328
328
  }
329
- })), t9 = (t) => {
329
+ })), n9 = (t) => {
330
330
  const [e, n] = t.split(":");
331
331
  return Number(e) * 60 + Number(n);
332
- }, n9 = (t) => {
332
+ }, r9 = (t) => {
333
333
  const e = Math.floor(t / 60), n = t % 60;
334
334
  return `${e < 10 ? `0${e}` : e}:${n < 10 ? `0${n}` : n}`;
335
- }, r9 = (t, e) => [
335
+ }, i9 = (t, e) => [
336
336
  [t[0] - e, t[0] + e],
337
337
  [t[1] - e, t[1] + e]
338
338
  ];
@@ -652,16 +652,16 @@ function Os(t, e, n) {
652
652
  return R.isArrayBuffer(p) || R.isTypedArray(p) ? c && typeof Blob == "function" ? new Blob([p]) : Buffer.from(p) : p;
653
653
  }
654
654
  function u(p, h, b) {
655
- let y = p;
655
+ let v = p;
656
656
  if (p && !b && typeof p == "object") {
657
657
  if (R.endsWith(h, "{}"))
658
658
  h = r ? h : h.slice(0, -2), p = JSON.stringify(p);
659
- else if (R.isArray(p) && M0(p) || (R.isFileList(p) || R.endsWith(h, "[]")) && (y = R.toArray(p)))
660
- return h = xd(h), y.forEach(function(v, S) {
661
- !(R.isUndefined(v) || v === null) && e.append(
659
+ else if (R.isArray(p) && M0(p) || (R.isFileList(p) || R.endsWith(h, "[]")) && (v = R.toArray(p)))
660
+ return h = xd(h), v.forEach(function(y, S) {
661
+ !(R.isUndefined(y) || y === null) && e.append(
662
662
  // eslint-disable-next-line no-nested-ternary
663
663
  s === !0 ? rl([h], S, o) : s === null ? h : h + "[]",
664
- l(v)
664
+ l(y)
665
665
  );
666
666
  }), !1;
667
667
  }
@@ -676,14 +676,14 @@ function Os(t, e, n) {
676
676
  if (!R.isUndefined(p)) {
677
677
  if (d.indexOf(p) !== -1)
678
678
  throw Error("Circular reference detected in " + h.join("."));
679
- d.push(p), R.forEach(p, function(y, _) {
680
- (!(R.isUndefined(y) || y === null) && i.call(
679
+ d.push(p), R.forEach(p, function(v, _) {
680
+ (!(R.isUndefined(v) || v === null) && i.call(
681
681
  e,
682
- y,
682
+ v,
683
683
  R.isString(_) ? _.trim() : _,
684
684
  h,
685
685
  f
686
- )) === !0 && g(y, h ? h.concat(_) : [_]);
686
+ )) === !0 && g(v, h ? h.concat(_) : [_]);
687
687
  }), d.pop();
688
688
  }
689
689
  }
@@ -1252,7 +1252,7 @@ const om = typeof XMLHttpRequest < "u", sm = om && function(t) {
1252
1252
  if (Lt.hasStandardBrowserEnv || Lt.hasStandardBrowserWebWorkerEnv)
1253
1253
  o.setContentType(!1);
1254
1254
  else if ((u = o.getContentType()) !== !1) {
1255
- const [h, ...b] = u ? u.split(";").map((y) => y.trim()).filter(Boolean) : [];
1255
+ const [h, ...b] = u ? u.split(";").map((v) => v.trim()).filter(Boolean) : [];
1256
1256
  o.setContentType([h || "multipart/form-data", ...b].join("; "));
1257
1257
  }
1258
1258
  }
@@ -1268,7 +1268,7 @@ const om = typeof XMLHttpRequest < "u", sm = om && function(t) {
1268
1268
  return;
1269
1269
  const h = Wt.from(
1270
1270
  "getAllResponseHeaders" in d && d.getAllResponseHeaders()
1271
- ), y = {
1271
+ ), v = {
1272
1272
  data: !s || s === "text" || s === "json" ? d.responseText : d.response,
1273
1273
  status: d.status,
1274
1274
  statusText: d.statusText,
@@ -1276,11 +1276,11 @@ const om = typeof XMLHttpRequest < "u", sm = om && function(t) {
1276
1276
  config: t,
1277
1277
  request: d
1278
1278
  };
1279
- X0(function(v) {
1280
- n(v), l();
1281
- }, function(v) {
1282
- r(v), l();
1283
- }, y), d = null;
1279
+ X0(function(y) {
1280
+ n(y), l();
1281
+ }, function(y) {
1282
+ r(y), l();
1283
+ }, v), d = null;
1284
1284
  }
1285
1285
  if ("onloadend" in d ? d.onloadend = g : d.onreadystatechange = function() {
1286
1286
  !d || d.readyState !== 4 || d.status === 0 && !(d.responseURL && d.responseURL.indexOf("file:") === 0) || setTimeout(g);
@@ -1290,10 +1290,10 @@ const om = typeof XMLHttpRequest < "u", sm = om && function(t) {
1290
1290
  r(new oe("Network Error", oe.ERR_NETWORK, t, d)), d = null;
1291
1291
  }, d.ontimeout = function() {
1292
1292
  let b = t.timeout ? "timeout of " + t.timeout + "ms exceeded" : "timeout exceeded";
1293
- const y = t.transitional || Pd;
1293
+ const v = t.transitional || Pd;
1294
1294
  t.timeoutErrorMessage && (b = t.timeoutErrorMessage), r(new oe(
1295
1295
  b,
1296
- y.clarifyTimeoutError ? oe.ETIMEDOUT : oe.ECONNABORTED,
1296
+ v.clarifyTimeoutError ? oe.ETIMEDOUT : oe.ECONNABORTED,
1297
1297
  t,
1298
1298
  d
1299
1299
  )), d = null;
@@ -1301,8 +1301,8 @@ const om = typeof XMLHttpRequest < "u", sm = om && function(t) {
1301
1301
  const h = t.xsrfHeaderName && t.xsrfCookieName && Y0.read(t.xsrfCookieName);
1302
1302
  h && o.set(t.xsrfHeaderName, h);
1303
1303
  }
1304
- i === void 0 && o.setContentType(null), "setRequestHeader" in d && R.forEach(o.toJSON(), function(b, y) {
1305
- d.setRequestHeader(y, b);
1304
+ i === void 0 && o.setContentType(null), "setRequestHeader" in d && R.forEach(o.toJSON(), function(b, v) {
1305
+ d.setRequestHeader(v, b);
1306
1306
  }), R.isUndefined(t.withCredentials) || (d.withCredentials = !!t.withCredentials), s && s !== "json" && (d.responseType = t.responseType), typeof t.onDownloadProgress == "function" && d.addEventListener("progress", al(t.onDownloadProgress, !0)), typeof t.onUploadProgress == "function" && d.upload && d.upload.addEventListener("progress", al(t.onUploadProgress)), (t.cancelToken || t.signal) && (c = (h) => {
1307
1307
  d && (r(!h || h.type ? new qi(null, t, d) : h), d.abort(), d = null);
1308
1308
  }, t.cancelToken && t.cancelToken.subscribe(c), t.signal && (t.signal.aborted ? c() : t.signal.addEventListener("abort", c)));
@@ -1948,7 +1948,7 @@ var ns = {};
1948
1948
  function b(m) {
1949
1949
  s.outputFormat = m;
1950
1950
  }
1951
- function y(m) {
1951
+ function v(m) {
1952
1952
  s.enable_address_descriptor = m;
1953
1953
  }
1954
1954
  function _(m, w, O) {
@@ -1957,7 +1957,7 @@ var ns = {};
1957
1957
  requestType: ${typeof m}, value: ` + typeof w);
1958
1958
  return a(Object.assign(Object.assign(Object.assign({}, s), O), { [m]: w }));
1959
1959
  }
1960
- function v(m, w, O, T) {
1960
+ function y(m, w, O, T) {
1961
1961
  var P = { outputFormat: n.JSON };
1962
1962
  return w && (P.key = w), O && (P.language = O), T && (P.region = T), _(e.ADDRESS, m, P);
1963
1963
  }
@@ -1969,7 +1969,7 @@ var ns = {};
1969
1969
  var A = { outputFormat: n.JSON };
1970
1970
  return O && (A.key = O), T && (A.language = T), P && (A.region = P), L && (A.location_type = L), _(e.LATLNG, m + "," + w, A);
1971
1971
  }
1972
- t.setDefaults = c, t.setKey = l, t.setLanguage = u, t.setRegion = d, t.setComponents = f, t.setBounds = g, t.setResultType = p, t.setLocationType = h, t.setOutputFormat = b, t.enableAddressDescriptor = y, t.geocode = _, t.fromAddress = v, t.fromPlaceId = S, t.fromLatLng = E;
1972
+ t.setDefaults = c, t.setKey = l, t.setLanguage = u, t.setRegion = d, t.setComponents = f, t.setBounds = g, t.setResultType = p, t.setLocationType = h, t.setOutputFormat = b, t.enableAddressDescriptor = v, t.geocode = _, t.fromAddress = y, t.fromPlaceId = S, t.fromLatLng = E;
1973
1973
  })(ns);
1974
1974
  const gm = (t) => typeof t == "string", pl = (t) => Array.isArray(t) && t.length === 2;
1975
1975
  async function ml(t, e, n) {
@@ -2007,7 +2007,7 @@ async function ml(t, e, n) {
2007
2007
  }
2008
2008
  const jd = (t) => {
2009
2009
  var n;
2010
- const e = X.getState().map;
2010
+ const e = Y.getState().map;
2011
2011
  if (!e) {
2012
2012
  console.error("Map is not initialized");
2013
2013
  return;
@@ -2039,7 +2039,7 @@ const jd = (t) => {
2039
2039
  let n = t;
2040
2040
  const r = (e.includes("--owl") ? ym(e) : e) || "";
2041
2041
  return n = n.replaceAll("currentColor", r), n;
2042
- }, i9 = (t) => "comment" in t && "address" in t && "apartment_number" in t && "delivery_time" in t;
2042
+ }, o9 = (t) => "comment" in t && "address" in t && "apartment_number" in t && "delivery_time" in t;
2043
2043
  async function bm(t) {
2044
2044
  var e;
2045
2045
  return await t.fetchFields({
@@ -2082,7 +2082,7 @@ const wm = {
2082
2082
  error: !1,
2083
2083
  reloading: !0,
2084
2084
  requestId: o
2085
- }), X.getState().setBounds(n);
2085
+ }), Y.getState().setBounds(n);
2086
2086
  let s = 0;
2087
2087
  try {
2088
2088
  await hl({ bounds: n, loadPointsParams: r })((c) => {
@@ -2095,7 +2095,7 @@ const wm = {
2095
2095
  }
2096
2096
  },
2097
2097
  async loadFirst(n) {
2098
- const { requestId: r } = e(), i = Hp(X.getState()), o = r + 1;
2098
+ const { requestId: r } = e(), i = Hp(Y.getState()), o = r + 1;
2099
2099
  t({
2100
2100
  error: !1,
2101
2101
  loading: !0,
@@ -2554,86 +2554,86 @@ const Im = {
2554
2554
  ...Im,
2555
2555
  ...n
2556
2556
  };
2557
- const r = Symbol("ProxyTarget"), { equals: i, isShallow: o, ignoreDetached: s, details: a } = n, c = new Tm(i), l = typeof n.onValidate == "function", u = new Ln(l), d = (v, S, E, m, w) => !l || u.isCloning || n.onValidate(Ke.concat(c.getPath(v), S), E, m, w) === !0, f = (v, S, E, m) => {
2558
- !gl(c, n, S) && !(s && c.isDetached(v, t)) && g(c.getPath(v), S, E, m);
2559
- }, g = (v, S, E, m, w) => {
2560
- u.isCloning && u.isPartOfClone(v) ? u.update(v, S, m) : e(Ke.concat(v, S), E, m, w);
2561
- }, p = (v) => v && (v[r] ?? v), h = (v, S, E, m) => {
2562
- if (Em(v) || E === "constructor" || o && !Ln.isHandledMethod(S, E) || gl(c, n, E) || c.isGetInvariant(S, E) || s && c.isDetached(S, t))
2563
- return v;
2557
+ const r = Symbol("ProxyTarget"), { equals: i, isShallow: o, ignoreDetached: s, details: a } = n, c = new Tm(i), l = typeof n.onValidate == "function", u = new Ln(l), d = (y, S, E, m, w) => !l || u.isCloning || n.onValidate(Ke.concat(c.getPath(y), S), E, m, w) === !0, f = (y, S, E, m) => {
2558
+ !gl(c, n, S) && !(s && c.isDetached(y, t)) && g(c.getPath(y), S, E, m);
2559
+ }, g = (y, S, E, m, w) => {
2560
+ u.isCloning && u.isPartOfClone(y) ? u.update(y, S, m) : e(Ke.concat(y, S), E, m, w);
2561
+ }, p = (y) => y && (y[r] ?? y), h = (y, S, E, m) => {
2562
+ if (Em(y) || E === "constructor" || o && !Ln.isHandledMethod(S, E) || gl(c, n, E) || c.isGetInvariant(S, E) || s && c.isDetached(S, t))
2563
+ return y;
2564
2564
  m === void 0 && (m = c.getPath(S));
2565
- const w = Ke.concat(m, E), O = c.getPath(v);
2566
- return O && b(w, O) ? c.getProxy(v, O, y, r) : c.getProxy(v, w, y, r);
2567
- }, b = (v, S) => {
2568
- if (rs(v) || v.length <= S.length || qe(S) && S.length === 0)
2565
+ const w = Ke.concat(m, E), O = c.getPath(y);
2566
+ return O && b(w, O) ? c.getProxy(y, O, v, r) : c.getProxy(y, w, v, r);
2567
+ }, b = (y, S) => {
2568
+ if (rs(y) || y.length <= S.length || qe(S) && S.length === 0)
2569
2569
  return !1;
2570
- const E = qe(v) ? v : v.split(cn), m = qe(S) ? S : S.split(cn);
2570
+ const E = qe(y) ? y : y.split(cn), m = qe(S) ? S : S.split(cn);
2571
2571
  return E.length <= m.length ? !1 : !m.some((w, O) => w !== E[O]);
2572
- }, y = {
2573
- get(v, S, E) {
2572
+ }, v = {
2573
+ get(y, S, E) {
2574
2574
  if (rs(S)) {
2575
2575
  if (S === r || S === yc)
2576
- return v;
2577
- if (S === Vd && !c.isUnsubscribed && c.getPath(v).length === 0)
2578
- return c.unsubscribe(), v;
2576
+ return y;
2577
+ if (S === Vd && !c.isUnsubscribed && c.getPath(y).length === 0)
2578
+ return c.unsubscribe(), y;
2579
2579
  }
2580
- const m = wa(v) ? Reflect.get(v, S) : Reflect.get(v, S, E);
2581
- return h(m, v, S);
2580
+ const m = wa(y) ? Reflect.get(y, S) : Reflect.get(y, S, E);
2581
+ return h(m, y, S);
2582
2582
  },
2583
- set(v, S, E, m) {
2583
+ set(y, S, E, m) {
2584
2584
  E = p(E);
2585
- const w = v[r] ?? v, O = w[S];
2586
- if (i(O, E) && S in v)
2585
+ const w = y[r] ?? y, O = w[S];
2586
+ if (i(O, E) && S in y)
2587
2587
  return !0;
2588
- const T = d(v, S, E, O);
2589
- return T && c.setProperty(w, S, E, m, O) ? (f(v, S, v[S], O), !0) : !T;
2588
+ const T = d(y, S, E, O);
2589
+ return T && c.setProperty(w, S, E, m, O) ? (f(y, S, y[S], O), !0) : !T;
2590
2590
  },
2591
- defineProperty(v, S, E) {
2592
- if (!c.isSameDescriptor(E, v, S)) {
2593
- const m = v[S];
2594
- d(v, S, E.value, m) && c.defineProperty(v, S, E, m) && f(v, S, E.value, m);
2591
+ defineProperty(y, S, E) {
2592
+ if (!c.isSameDescriptor(E, y, S)) {
2593
+ const m = y[S];
2594
+ d(y, S, E.value, m) && c.defineProperty(y, S, E, m) && f(y, S, E.value, m);
2595
2595
  }
2596
2596
  return !0;
2597
2597
  },
2598
- deleteProperty(v, S) {
2599
- if (!Reflect.has(v, S))
2598
+ deleteProperty(y, S) {
2599
+ if (!Reflect.has(y, S))
2600
2600
  return !0;
2601
- const E = Reflect.get(v, S), m = d(v, S, void 0, E);
2602
- return m && c.deleteProperty(v, S, E) ? (f(v, S, void 0, E), !0) : !m;
2601
+ const E = Reflect.get(y, S), m = d(y, S, void 0, E);
2602
+ return m && c.deleteProperty(y, S, E) ? (f(y, S, void 0, E), !0) : !m;
2603
2603
  },
2604
- apply(v, S, E) {
2604
+ apply(y, S, E) {
2605
2605
  const m = S[r] ?? S;
2606
2606
  if (c.isUnsubscribed)
2607
- return Reflect.apply(v, m, E);
2608
- if ((a === !1 || a !== !0 && !a.includes(v.name)) && Ln.isHandledType(m)) {
2609
- let w = Ke.initial(c.getPath(v));
2610
- const O = Ln.isHandledMethod(m, v.name);
2607
+ return Reflect.apply(y, m, E);
2608
+ if ((a === !1 || a !== !0 && !a.includes(y.name)) && Ln.isHandledType(m)) {
2609
+ let w = Ke.initial(c.getPath(y));
2610
+ const O = Ln.isHandledMethod(m, y.name);
2611
2611
  u.start(m, w, E);
2612
2612
  let T = Reflect.apply(
2613
- v,
2614
- u.preferredThisArg(v, S, m),
2613
+ y,
2614
+ u.preferredThisArg(y, S, m),
2615
2615
  O ? E.map((A) => p(A)) : E
2616
2616
  );
2617
2617
  const P = u.isChanged(m, i), L = u.stop();
2618
- if (Ln.isHandledType(T) && O && (S instanceof Map && v.name === "get" && (w = Ke.concat(w, E[0])), T = c.getProxy(T, w, y)), P) {
2618
+ if (Ln.isHandledType(T) && O && (S instanceof Map && y.name === "get" && (w = Ke.concat(w, E[0])), T = c.getProxy(T, w, v)), P) {
2619
2619
  const A = {
2620
- name: v.name,
2620
+ name: y.name,
2621
2621
  args: E,
2622
2622
  result: T
2623
2623
  }, k = u.isCloning ? Ke.initial(w) : w, F = u.isCloning ? Ke.last(w) : "";
2624
2624
  d(Ke.get(t, k), F, m, L, A) ? g(k, F, m, L, A) : u.undo(m);
2625
2625
  }
2626
- return (S instanceof Map || S instanceof Set) && Om(T) ? xm(T, v, S, w, h) : T;
2626
+ return (S instanceof Map || S instanceof Set) && Om(T) ? xm(T, y, S, w, h) : T;
2627
2627
  }
2628
- return Reflect.apply(v, S, E);
2628
+ return Reflect.apply(y, S, E);
2629
2629
  }
2630
- }, _ = c.getProxy(t, n.pathAsArray ? [] : "", y);
2630
+ }, _ = c.getProxy(t, n.pathAsArray ? [] : "", v);
2631
2631
  return e = e.bind(_), l && (n.onValidate = n.onValidate.bind(_)), _;
2632
2632
  };
2633
2633
  pi.target = (t) => (t == null ? void 0 : t[yc]) ?? t;
2634
2634
  pi.unsubscribe = (t) => (t == null ? void 0 : t[Vd]) ?? t;
2635
2635
  const Fm = (t) => {
2636
- const e = t ?? window.OMNIC_WIDGET_LOCATIONS_CONFIG, [n, r] = ee({
2636
+ const e = t ?? window.OMNIC_WIDGET_LOCATIONS_CONFIG, [n, r] = J({
2637
2637
  ...An,
2638
2638
  ...e,
2639
2639
  map: {
@@ -2716,7 +2716,7 @@ var Wd = { exports: {} };
2716
2716
  })();
2717
2717
  })(Wd);
2718
2718
  var Bm = Wd.exports;
2719
- const Y = /* @__PURE__ */ ws(Bm), Vm = {
2719
+ const ee = /* @__PURE__ */ ws(Bm), Vm = {
2720
2720
  lmsData: null,
2721
2721
  isLoading: !1
2722
2722
  }, As = Qt()((t) => ({
@@ -2875,7 +2875,7 @@ Ti.serializedApiParams = void 0;
2875
2875
  Ti.listeners = [];
2876
2876
  const qm = ["onLoad", "onError", "apiKey", "version", "libraries"], Gm = ["children"], Wm = "GMP_visgl_rgmlibrary_v1_default", Gi = $.createContext(null);
2877
2877
  function Zm() {
2878
- const [t, e] = ee({});
2878
+ const [t, e] = J({});
2879
2879
  return {
2880
2880
  mapInstances: t,
2881
2881
  addMapInstance: (o, s = "default") => {
@@ -2898,7 +2898,7 @@ function Km(t) {
2898
2898
  apiKey: r,
2899
2899
  version: i,
2900
2900
  libraries: o = []
2901
- } = t, s = zn(t, qm), [a, c] = ee(Ti.loadingStatus), [l, u] = lc((p, h) => p[h.name] ? p : Nt({}, p, {
2901
+ } = t, s = zn(t, qm), [a, c] = J(Ti.loadingStatus), [l, u] = lc((p, h) => p[h.name] ? p : Nt({}, p, {
2902
2902
  [h.name]: h.value
2903
2903
  }), {}), d = we(() => o == null ? void 0 : o.join(","), [o]), f = we(() => JSON.stringify(Nt({
2904
2904
  apiKey: r,
@@ -3135,7 +3135,7 @@ const lg = () => {
3135
3135
  }, /* @__PURE__ */ $.createElement("h2", null, "Error: AuthFailure"), /* @__PURE__ */ $.createElement("p", null, "A problem with your API key prevents the map from rendering correctly. Please make sure the value of the ", /* @__PURE__ */ $.createElement("code", null, "APIProvider.apiKey"), " prop is correct. Check the error-message in the console for further details."));
3136
3136
  };
3137
3137
  function ug() {
3138
- const [t, e] = ee(null), n = H((r) => e(r), [e]);
3138
+ const [t, e] = J(null), n = H((r) => e(r), [e]);
3139
3139
  return [t, n];
3140
3140
  }
3141
3141
  function Yd() {
@@ -3190,7 +3190,7 @@ class zo {
3190
3190
  }
3191
3191
  zo.entries = {};
3192
3192
  function gg(t, e) {
3193
- const n = Yd(), [r, i] = ee(null), [o, s] = ug(), a = hg(r), {
3193
+ const n = Yd(), [r, i] = J(null), [o, s] = ug(), a = hg(r), {
3194
3194
  id: c,
3195
3195
  defaultBounds: l,
3196
3196
  defaultCenter: u,
@@ -3200,10 +3200,10 @@ function gg(t, e) {
3200
3200
  reuseMaps: p,
3201
3201
  renderingType: h,
3202
3202
  colorScheme: b
3203
- } = t, y = zn(t, pg), _ = t.zoom !== void 0 || t.defaultZoom !== void 0, v = t.center !== void 0 || t.defaultCenter !== void 0;
3204
- !l && (!_ || !v) && console.warn("<Map> component is missing configuration. You have to provide zoom and center (via the `zoom`/`defaultZoom` and `center`/`defaultCenter` props) or specify the region to show using `defaultBounds`. See https://visgl.github.io/react-google-maps/docs/api-reference/components/map#required"), !y.center && u && (y.center = u), !y.zoom && Number.isFinite(d) && (y.zoom = d), !y.heading && Number.isFinite(f) && (y.heading = f), !y.tilt && Number.isFinite(g) && (y.tilt = g);
3205
- for (const E of Object.keys(y))
3206
- y[E] === void 0 && delete y[E];
3203
+ } = t, v = zn(t, pg), _ = t.zoom !== void 0 || t.defaultZoom !== void 0, y = t.center !== void 0 || t.defaultCenter !== void 0;
3204
+ !l && (!_ || !y) && console.warn("<Map> component is missing configuration. You have to provide zoom and center (via the `zoom`/`defaultZoom` and `center`/`defaultCenter` props) or specify the region to show using `defaultBounds`. See https://visgl.github.io/react-google-maps/docs/api-reference/components/map#required"), !v.center && u && (v.center = u), !v.zoom && Number.isFinite(d) && (v.zoom = d), !v.heading && Number.isFinite(f) && (v.heading = f), !v.tilt && Number.isFinite(g) && (v.tilt = g);
3205
+ for (const E of Object.keys(v))
3206
+ v[E] === void 0 && delete v[E];
3207
3207
  const S = B(void 0);
3208
3208
  return j(
3209
3209
  () => {
@@ -3216,7 +3216,7 @@ function gg(t, e) {
3216
3216
  mapId: w
3217
3217
  } = t, O = `${w || "default"}:${h || "default"}:${b || "LIGHT"}`;
3218
3218
  let T, P;
3219
- if (p && zo.has(O) ? (P = zo.pop(O), T = P.getDiv(), o.appendChild(T), P.setOptions(y), setTimeout(() => P.setCenter(P.getCenter()), 0)) : (T = document.createElement("div"), T.style.height = "100%", o.appendChild(T), P = new google.maps.Map(T, Nt({}, y, h ? {
3219
+ if (p && zo.has(O) ? (P = zo.pop(O), T = P.getDiv(), o.appendChild(T), P.setOptions(v), setTimeout(() => P.setCenter(P.getCenter()), 0)) : (T = document.createElement("div"), T.style.height = "100%", o.appendChild(T), P = new google.maps.Map(T, Nt({}, v, h ? {
3220
3220
  renderingType: h
3221
3221
  } : {}, b ? {
3222
3222
  colorScheme: b
@@ -3226,7 +3226,7 @@ function gg(t, e) {
3226
3226
  } = l, A = zn(l, mg);
3227
3227
  P.fitBounds(A, L);
3228
3228
  } else
3229
- (!_ || !v) && P.fitBounds({
3229
+ (!_ || !y) && P.fitBounds({
3230
3230
  east: 180,
3231
3231
  west: -180,
3232
3232
  south: -90,
@@ -3294,11 +3294,11 @@ const ef = $.createContext(null), tf = (t) => {
3294
3294
  let g = null, p = null;
3295
3295
  f && Number.isFinite(f.lat) && Number.isFinite(f.lng) && (g = f.lat, p = f.lng);
3296
3296
  const h = we(() => {
3297
- var _, v, S, E, m;
3297
+ var _, y, S, E, m;
3298
3298
  return {
3299
3299
  center: {
3300
3300
  lat: (_ = g) != null ? _ : 0,
3301
- lng: (v = p) != null ? v : 0
3301
+ lng: (y = p) != null ? y : 0
3302
3302
  },
3303
3303
  zoom: (S = t.zoom) != null ? S : 0,
3304
3304
  heading: (E = t.heading) != null ? E : 0,
@@ -3320,7 +3320,7 @@ const ef = $.createContext(null), tf = (t) => {
3320
3320
  position: "relative",
3321
3321
  // when using deckgl, the map should be sent to the back
3322
3322
  zIndex: u ? -1 : 0
3323
- }, i), [i, u]), y = we(() => ({
3323
+ }, i), [i, u]), v = we(() => ({
3324
3324
  map: a
3325
3325
  }), [a]);
3326
3326
  return s === Gt.AUTH_FAILURE ? /* @__PURE__ */ $.createElement("div", {
@@ -3336,7 +3336,7 @@ const ef = $.createContext(null), tf = (t) => {
3336
3336
  }, n ? {
3337
3337
  id: n
3338
3338
  } : {}), a ? /* @__PURE__ */ $.createElement(ef.Provider, {
3339
- value: y
3339
+ value: v
3340
3340
  }, e) : null);
3341
3341
  };
3342
3342
  tf.deckGLViewProps = !0;
@@ -3428,7 +3428,7 @@ const bg = $.createContext(null), wg = {
3428
3428
  );
3429
3429
  };
3430
3430
  function Sg(t) {
3431
- const [e, n] = ee(null), [r, i] = ee(null), o = Wi(), s = bc("marker"), {
3431
+ const [e, n] = J(null), [r, i] = J(null), o = Wi(), s = bc("marker"), {
3432
3432
  children: a,
3433
3433
  onClick: c,
3434
3434
  className: l,
@@ -3439,9 +3439,9 @@ function Sg(t) {
3439
3439
  onDragEnd: p,
3440
3440
  collisionBehavior: h,
3441
3441
  clickable: b,
3442
- draggable: y,
3442
+ draggable: v,
3443
3443
  position: _,
3444
- title: v,
3444
+ title: y,
3445
3445
  zIndex: S
3446
3446
  } = t, E = Kh.count(a);
3447
3447
  return j(() => {
@@ -3456,9 +3456,9 @@ function Sg(t) {
3456
3456
  };
3457
3457
  }, [o, s, E]), j(() => {
3458
3458
  !(e != null && e.content) || !Sl(e.content) || E > 0 || (e.content.className = l ?? "");
3459
- }, [e, l, E]), po(e, "position", _), po(e, "title", v ?? ""), po(e, "zIndex", S), po(e, "collisionBehavior", h), j(() => {
3460
- e && (y !== void 0 ? e.gmpDraggable = y : f || g || p ? e.gmpDraggable = !0 : e.gmpDraggable = !1);
3461
- }, [e, y, f, p, g]), j(() => {
3459
+ }, [e, l, E]), po(e, "position", _), po(e, "title", y ?? ""), po(e, "zIndex", S), po(e, "collisionBehavior", h), j(() => {
3460
+ e && (v !== void 0 ? e.gmpDraggable = v : f || g || p ? e.gmpDraggable = !0 : e.gmpDraggable = !1);
3461
+ }, [e, v, f, p, g]), j(() => {
3462
3462
  if (!e)
3463
3463
  return;
3464
3464
  const m = b !== void 0 || !!c || !!u || !!d;
@@ -3570,14 +3570,14 @@ const xg = ["children", "headerContent", "style", "className", "pixelOffset", "a
3570
3570
  onClose: c,
3571
3571
  onCloseClick: l
3572
3572
  // other options
3573
- } = t, u = zn(t, xg), d = bc("maps"), [f, g] = ee(null), p = B(null), h = B(null), b = Qd(u, Zd);
3573
+ } = t, u = zn(t, xg), d = bc("maps"), [f, g] = J(null), p = B(null), h = B(null), b = Qd(u, Zd);
3574
3574
  j(
3575
3575
  () => {
3576
3576
  if (!d)
3577
3577
  return;
3578
3578
  p.current = document.createElement("div"), h.current = document.createElement("div");
3579
- const v = b;
3580
- o && (v.pixelOffset = new google.maps.Size(o[0], o[1])), n && (v.headerContent = typeof n == "string" ? n : h.current);
3579
+ const y = b;
3580
+ o && (y.pixelOffset = new google.maps.Size(o[0], o[1])), n && (y.headerContent = typeof n == "string" ? n : h.current);
3581
3581
  const S = new google.maps.InfoWindow(b);
3582
3582
  return S.setContent(p.current), g(S), () => {
3583
3583
  var E, m;
@@ -3593,15 +3593,15 @@ const xg = ["children", "headerContent", "style", "className", "pixelOffset", "a
3593
3593
  // eslint-disable-next-line react-hooks/exhaustive-deps
3594
3594
  [d]
3595
3595
  );
3596
- const y = B(null);
3596
+ const v = B(null);
3597
3597
  j(() => {
3598
- !f || !p.current || (Cg(p.current, r || null, y.current), y.current = r || null, i !== p.current.className && (p.current.className = i || ""));
3598
+ !f || !p.current || (Cg(p.current, r || null, v.current), v.current = r || null, i !== p.current.className && (p.current.className = i || ""));
3599
3599
  }, [f, i, r]), j(
3600
3600
  () => {
3601
3601
  if (!f)
3602
3602
  return;
3603
- const v = b;
3604
- o ? v.pixelOffset = new google.maps.Size(o[0], o[1]) : v.pixelOffset = null, n ? v.headerContent = typeof n == "string" ? n : h.current : v.headerContent = null, f.setOptions(b);
3603
+ const y = b;
3604
+ o ? y.pixelOffset = new google.maps.Size(o[0], o[1]) : y.pixelOffset = null, n ? y.headerContent = typeof n == "string" ? n : h.current : y.headerContent = null, f.setOptions(b);
3605
3605
  },
3606
3606
  // dependency `infoWindow` isn't needed since options are also passed
3607
3607
  // to the constructor when a new infoWindow is created.
@@ -3612,7 +3612,7 @@ const xg = ["children", "headerContent", "style", "className", "pixelOffset", "a
3612
3612
  return j(() => {
3613
3613
  if (!_ || !f || s === null)
3614
3614
  return;
3615
- const v = !!s, S = {
3615
+ const y = !!s, S = {
3616
3616
  map: _
3617
3617
  };
3618
3618
  if (s && (S.anchor = s, yg(s) && s.content instanceof Element)) {
@@ -3624,12 +3624,12 @@ const xg = ["children", "headerContent", "style", "className", "pixelOffset", "a
3624
3624
  }
3625
3625
  }
3626
3626
  return a !== void 0 && (S.shouldFocus = a), f.open(S), () => {
3627
- v && f.set("anchor", null), f.close();
3627
+ y && f.set("anchor", null), f.close();
3628
3628
  };
3629
3629
  }, [f, s, _, a, b, o]), /* @__PURE__ */ $.createElement($.Fragment, null, p.current && es(e, p.current), h.current !== null && es(n, h.current));
3630
3630
  }, Tg = ["onClick", "onDrag", "onDragStart", "onDragEnd", "onMouseOver", "onMouseOut"];
3631
3631
  function Ag(t) {
3632
- const [e, n] = ee(null), r = Wi(), {
3632
+ const [e, n] = J(null), r = Wi(), {
3633
3633
  onClick: i,
3634
3634
  onDrag: o,
3635
3635
  onDragStart: s,
@@ -3884,38 +3884,38 @@ const uf = (t) => {
3884
3884
  function jg(t, e, n, r, i, o, s) {
3885
3885
  const a = /* @__PURE__ */ new Map(), c = /* @__PURE__ */ new Map();
3886
3886
  let l = {}, u = 0;
3887
- function d(h, b, y) {
3887
+ function d(h, b, v) {
3888
3888
  const _ = Ht(h);
3889
3889
  c.set(_, {
3890
3890
  data: uf(b),
3891
- version: y
3891
+ version: v
3892
3892
  }), t.onCacheChange.emit(h);
3893
3893
  }
3894
3894
  function f(h) {
3895
3895
  let b;
3896
3896
  if (!b) {
3897
- const y = l[Ht(h)];
3898
- typeof y == "function" && (b = y());
3897
+ const v = l[Ht(h)];
3898
+ typeof v == "function" && (b = v());
3899
3899
  }
3900
- return b || (b = e(h)), Ps(b) ? b == null ? void 0 : b.catch((y) => {
3901
- const _ = new Ol(h, y);
3900
+ return b || (b = e(h)), Ps(b) ? b == null ? void 0 : b.catch((v) => {
3901
+ const _ = new Ol(h, v);
3902
3902
  throw t.onError.emit(_), console.error(_), _;
3903
3903
  }) : b;
3904
3904
  }
3905
3905
  function g(h, b) {
3906
- var y;
3906
+ var v;
3907
3907
  let _;
3908
- return b && (_ = (y = n(h)) === null || y === void 0 ? void 0 : y.catch((v) => {
3909
- const S = new Ol(h, v, !0);
3908
+ return b && (_ = (v = n(h)) === null || v === void 0 ? void 0 : v.catch((y) => {
3909
+ const S = new Ol(h, y, !0);
3910
3910
  return t.onError.emit(S), console.warn(S), f(h);
3911
3911
  })), _ || (_ = f(h)), _;
3912
3912
  }
3913
3913
  const p = Object.freeze({
3914
3914
  addStaticData(h) {
3915
- h && (l = Object.assign(Object.assign({}, l), h), Object.entries(h).forEach(([b, y]) => {
3916
- if (typeof y != "function") {
3917
- const _ = si(b), v = c.get(b);
3918
- (!v || v.version === 0) && d(_, y, 0);
3915
+ h && (l = Object.assign(Object.assign({}, l), h), Object.entries(h).forEach(([b, v]) => {
3916
+ if (typeof v != "function") {
3917
+ const _ = si(b), y = c.get(b);
3918
+ (!y || y.version === 0) && d(_, v, 0);
3919
3919
  }
3920
3920
  }));
3921
3921
  },
@@ -3926,40 +3926,40 @@ function jg(t, e, n, r, i, o, s) {
3926
3926
  d(h, b, u);
3927
3927
  },
3928
3928
  exists(h, b = !1) {
3929
- const y = c.get(Ht(h));
3930
- return y && b ? y.version === u : !!y;
3929
+ const v = c.get(Ht(h));
3930
+ return v && b ? v.version === u : !!v;
3931
3931
  },
3932
3932
  getRecord(h) {
3933
3933
  var b;
3934
3934
  return (b = c.get(Ht(r(h)))) === null || b === void 0 ? void 0 : b.data;
3935
3935
  },
3936
3936
  getTranslation(h, b) {
3937
- var y;
3938
- return (y = c.get(Ht(h))) === null || y === void 0 ? void 0 : y.data.get(b);
3937
+ var v;
3938
+ return (v = c.get(Ht(h))) === null || v === void 0 ? void 0 : v.data.get(b);
3939
3939
  },
3940
- getTranslationNs(h, b, y) {
3940
+ getTranslationNs(h, b, v) {
3941
3941
  var _;
3942
- for (const v of h)
3942
+ for (const y of h)
3943
3943
  for (const S of b) {
3944
- const E = (_ = c.get(Ht({ language: S, namespace: v }))) === null || _ === void 0 ? void 0 : _.data.get(y);
3944
+ const E = (_ = c.get(Ht({ language: S, namespace: y }))) === null || _ === void 0 ? void 0 : _.data.get(v);
3945
3945
  if (E != null)
3946
- return [v];
3946
+ return [y];
3947
3947
  }
3948
3948
  return Sa(h);
3949
3949
  },
3950
- getTranslationFallback(h, b, y) {
3950
+ getTranslationFallback(h, b, v) {
3951
3951
  var _;
3952
- for (const v of h)
3952
+ for (const y of h)
3953
3953
  for (const S of b) {
3954
- const E = (_ = c.get(Ht({ language: S, namespace: v }))) === null || _ === void 0 ? void 0 : _.data.get(y);
3954
+ const E = (_ = c.get(Ht({ language: S, namespace: y }))) === null || _ === void 0 ? void 0 : _.data.get(v);
3955
3955
  if (E != null)
3956
3956
  return E;
3957
3957
  }
3958
3958
  },
3959
- changeTranslation(h, b, y) {
3959
+ changeTranslation(h, b, v) {
3960
3960
  var _;
3961
- const v = (_ = c.get(Ht(h))) === null || _ === void 0 ? void 0 : _.data;
3962
- v == null || v.set(b, y), t.onCacheChange.emit(Object.assign(Object.assign({}, h), { key: b }));
3961
+ const y = (_ = c.get(Ht(h))) === null || _ === void 0 ? void 0 : _.data;
3962
+ y == null || y.set(b, v), t.onCacheChange.emit(Object.assign(Object.assign({}, h), { key: b }));
3963
3963
  },
3964
3964
  isFetching(h) {
3965
3965
  if (i())
@@ -3967,21 +3967,21 @@ function jg(t, e, n, r, i, o, s) {
3967
3967
  if (h === void 0)
3968
3968
  return a.size > 0;
3969
3969
  const b = at(h);
3970
- return !!Array.from(a.keys()).find((y) => b.includes(si(y).namespace));
3970
+ return !!Array.from(a.keys()).find((v) => b.includes(si(v).namespace));
3971
3971
  },
3972
3972
  isLoading(h, b) {
3973
- const y = at(b);
3973
+ const v = at(b);
3974
3974
  return !!(i() || Array.from(a.keys()).find((_) => {
3975
- const v = si(_);
3976
- return (!y.length || y.includes(v.namespace)) && !p.exists({
3977
- namespace: v.namespace,
3975
+ const y = si(_);
3976
+ return (!v.length || v.includes(y.namespace)) && !p.exists({
3977
+ namespace: y.namespace,
3978
3978
  language: h
3979
3979
  });
3980
3980
  }));
3981
3981
  },
3982
3982
  async loadRecords(h, b) {
3983
- const y = h.map((v) => {
3984
- const S = r(v), E = Ht(S), m = a.get(E);
3983
+ const v = h.map((y) => {
3984
+ const S = r(y), E = Ht(S), m = a.get(E);
3985
3985
  if (m)
3986
3986
  return {
3987
3987
  new: !1,
@@ -3998,18 +3998,18 @@ function jg(t, e, n, r, i, o, s) {
3998
3998
  };
3999
3999
  });
4000
4000
  o.notify(), s.notify();
4001
- const _ = await Promise.all(y.map((v) => v.promise));
4002
- return y.forEach((v, S) => {
4003
- const E = a.get(v.cacheKey) !== v.promise;
4004
- if (v.new && !E) {
4005
- a.delete(v.cacheKey);
4001
+ const _ = await Promise.all(v.map((y) => y.promise));
4002
+ return v.forEach((y, S) => {
4003
+ const E = a.get(y.cacheKey) !== y.promise;
4004
+ if (y.new && !E) {
4005
+ a.delete(y.cacheKey);
4006
4006
  const m = _[S];
4007
- m ? p.addRecord(v.keyObject, m) : p.getRecord(v.keyObject) || p.addRecord(v.keyObject, {});
4007
+ m ? p.addRecord(y.keyObject, m) : p.getRecord(y.keyObject) || p.addRecord(y.keyObject, {});
4008
4008
  }
4009
- }), o.notify(), s.notify(), y.map((v) => p.getRecord(v.keyObject));
4009
+ }), o.notify(), s.notify(), v.map((y) => p.getRecord(y.keyObject));
4010
4010
  },
4011
4011
  getAllRecords() {
4012
- return Array.from(c.entries()).map(([b, y]) => Object.assign(Object.assign({}, si(b)), { data: y.data }));
4012
+ return Array.from(c.entries()).map(([b, v]) => Object.assign(Object.assign({}, si(b)), { data: v.data }));
4013
4013
  }
4014
4014
  });
4015
4015
  return p;
@@ -4077,9 +4077,9 @@ function $g(t, e, n, r, i, o, s, a) {
4077
4077
  languageStorage: void 0
4078
4078
  }, u = async ({ keysAndDefaults: A, event: k }) => {
4079
4079
  var F;
4080
- const G = A.map(({ key: z, ns: Z, defaultValue: J }) => ({
4080
+ const G = A.map(({ key: z, ns: Z, defaultValue: X }) => ({
4081
4081
  key: z,
4082
- defaultValue: J,
4082
+ defaultValue: X,
4083
4083
  fallbackNamespaces: r(Z),
4084
4084
  namespace: i({ key: z, ns: Z })[0],
4085
4085
  translation: o({
@@ -4111,13 +4111,13 @@ function $g(t, e, n, r, i, o, s, a) {
4111
4111
  function b(A) {
4112
4112
  A && l.formatters.push(A);
4113
4113
  }
4114
- function y(A) {
4114
+ function v(A) {
4115
4115
  l.finalFormatter = A;
4116
4116
  }
4117
4117
  function _(A) {
4118
4118
  c.ui = A;
4119
4119
  }
4120
- function v() {
4120
+ function y() {
4121
4121
  return !!c.ui;
4122
4122
  }
4123
4123
  function S(A) {
@@ -4149,12 +4149,12 @@ function $g(t, e, n, r, i, o, s, a) {
4149
4149
  }
4150
4150
  function P(A, k) {
4151
4151
  const F = Object.freeze({
4152
- setFinalFormatter: y,
4152
+ setFinalFormatter: v,
4153
4153
  addFormatter: b,
4154
4154
  setObserver: p,
4155
4155
  hasObserver: h,
4156
4156
  setUi: _,
4157
- hasUi: v,
4157
+ hasUi: y,
4158
4158
  setDevBackend: T,
4159
4159
  addBackend: O,
4160
4160
  setLanguageDetector: E,
@@ -4174,7 +4174,7 @@ function $g(t, e, n, r, i, o, s, a) {
4174
4174
  highlight: L.highlight,
4175
4175
  changeTranslation: s,
4176
4176
  findPositions: d,
4177
- onPermanentChange: (J) => a.onPermanentChange.emit(J)
4177
+ onPermanentChange: (X) => a.onPermanentChange.emit(X)
4178
4178
  }), (k = l.observer) === null || k === void 0 || k.run({
4179
4179
  mouseHighlight: !0,
4180
4180
  options: Z,
@@ -4248,14 +4248,14 @@ function $g(t, e, n, r, i, o, s, a) {
4248
4248
  },
4249
4249
  formatTranslation(A) {
4250
4250
  var k, { formatEnabled: F } = A, G = df(A, ["formatEnabled"]);
4251
- const { key: z, translation: Z, defaultValue: J, noWrap: he, params: pe, ns: me, orEmpty: ae } = G, Je = Z ?? J;
4251
+ const { key: z, translation: Z, defaultValue: X, noWrap: he, params: pe, ns: me, orEmpty: ae } = G, Je = Z ?? X;
4252
4252
  let Le = "";
4253
4253
  Z == null && (Le = e().onTranslationMissing(G));
4254
4254
  let Se = Je ?? (ae ? "" : Le);
4255
4255
  const Jt = t(), Xt = F || !(!((k = l.observer) === null || k === void 0) && k.outputNotFormattable), $r = (St) => l.observer && !he ? l.observer.wrap({
4256
4256
  key: z,
4257
4257
  translation: St,
4258
- defaultValue: J,
4258
+ defaultValue: X,
4259
4259
  params: pe,
4260
4260
  ns: me
4261
4261
  }) : St;
@@ -4394,7 +4394,7 @@ const ff = (t, ...e) => {
4394
4394
  return typeof t == "object" ? n = t : (n.key = t, typeof e[0] == "string" ? (n.defaultValue = e[0], r = e[1]) : typeof e[0] == "object" && (r = e[0])), r && (n = Object.assign(Object.assign({}, qg(r)), n)), n;
4395
4395
  };
4396
4396
  function Gg({ options: t }) {
4397
- const e = Ig(c, l), n = Al(!1, () => s.isFetching(), e.onFetchingChange.emit), r = Al(!1, () => E.isLoading(), e.onLoadingChange.emit), i = zg(e.onLanguageChange, e.onPendingLanguageChange, e.onRunningChange), o = $g(i.getLanguage, i.getInitialOptions, i.getAvailableLanguages, u, b, y, f, e), s = jg(e, o.getBackendRecord, o.getBackendDevRecord, i.withDefaultNs, i.isInitialLoading, n, r);
4397
+ const e = Ig(c, l), n = Al(!1, () => s.isFetching(), e.onFetchingChange.emit), r = Al(!1, () => E.isLoading(), e.onLoadingChange.emit), i = zg(e.onLanguageChange, e.onPendingLanguageChange, e.onRunningChange), o = $g(i.getLanguage, i.getInitialOptions, i.getAvailableLanguages, u, b, v, f, e), s = jg(e, o.getBackendRecord, o.getBackendDevRecord, i.withDefaultNs, i.isInitialLoading, n, r);
4398
4398
  t && g(t);
4399
4399
  let a;
4400
4400
  e.onUpdate.listen(() => {
@@ -4444,19 +4444,19 @@ function Gg({ options: t }) {
4444
4444
  const O = i.getFallbackLangs(), T = u(w ?? void 0);
4445
4445
  return s.getTranslationNs(T, O, m);
4446
4446
  }
4447
- function y({ key: m, ns: w, language: O }) {
4447
+ function v({ key: m, ns: w, language: O }) {
4448
4448
  const T = u(w ?? void 0), P = i.getFallbackLangs(O);
4449
4449
  return s.getTranslationFallback(T, P, m);
4450
4450
  }
4451
4451
  function _() {
4452
- const m = qo(v(), () => h());
4452
+ const m = qo(y(), () => h());
4453
4453
  if (Ps(m))
4454
4454
  return i.setInitialLoading(!0), n.notify(), r.notify(), Promise.resolve(m).then(() => {
4455
4455
  i.setInitialLoading(!1), n.notify(), r.notify(), e.onInitialLoaded.emit();
4456
4456
  });
4457
4457
  e.onInitialLoaded.emit();
4458
4458
  }
4459
- function v() {
4459
+ function y() {
4460
4460
  if (i.getLanguage())
4461
4461
  return;
4462
4462
  const w = o.getInitialLanguage();
@@ -4473,7 +4473,7 @@ function Gg({ options: t }) {
4473
4473
  }
4474
4474
  const E = Object.freeze(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, e), i), o), s), {
4475
4475
  init: g,
4476
- getTranslation: y,
4476
+ getTranslation: v,
4477
4477
  changeTranslation: f,
4478
4478
  getTranslationNs: b,
4479
4479
  getDefaultAndFallbackNs: u,
@@ -4504,7 +4504,7 @@ function Gg({ options: t }) {
4504
4504
  }), P.length === 0;
4505
4505
  },
4506
4506
  t: (...m) => {
4507
- const w = ff(...m), O = y(w);
4507
+ const w = ff(...m), O = v(w);
4508
4508
  return o.formatTranslation(Object.assign(Object.assign({}, w), { translation: O }));
4509
4509
  },
4510
4510
  isDev() {
@@ -4775,50 +4775,50 @@ function nv() {
4775
4775
  const rv = () => (t, e) => (e.setFinalFormatter(nv()), t);
4776
4776
  var Ws = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Ll = {};
4777
4777
  (function(t) {
4778
- function e(y, _) {
4779
- var v;
4780
- return y instanceof Buffer ? v = y : v = Buffer.from(y.buffer, y.byteOffset, y.byteLength), v.toString(_);
4778
+ function e(v, _) {
4779
+ var y;
4780
+ return v instanceof Buffer ? y = v : y = Buffer.from(v.buffer, v.byteOffset, v.byteLength), y.toString(_);
4781
4781
  }
4782
- var n = function(y) {
4783
- return Buffer.from(y);
4782
+ var n = function(v) {
4783
+ return Buffer.from(v);
4784
4784
  };
4785
- function r(y) {
4786
- for (var _ = 0, v = Math.min(256 * 256, y.length + 1), S = new Uint16Array(v), E = [], m = 0; ; ) {
4787
- var w = _ < y.length;
4788
- if (!w || m >= v - 1) {
4785
+ function r(v) {
4786
+ for (var _ = 0, y = Math.min(256 * 256, v.length + 1), S = new Uint16Array(y), E = [], m = 0; ; ) {
4787
+ var w = _ < v.length;
4788
+ if (!w || m >= y - 1) {
4789
4789
  var O = S.subarray(0, m), T = O;
4790
4790
  if (E.push(String.fromCharCode.apply(null, T)), !w)
4791
4791
  return E.join("");
4792
- y = y.subarray(_), _ = 0, m = 0;
4792
+ v = v.subarray(_), _ = 0, m = 0;
4793
4793
  }
4794
- var P = y[_++];
4794
+ var P = v[_++];
4795
4795
  if (!(P & 128))
4796
4796
  S[m++] = P;
4797
4797
  else if ((P & 224) === 192) {
4798
- var L = y[_++] & 63;
4798
+ var L = v[_++] & 63;
4799
4799
  S[m++] = (P & 31) << 6 | L;
4800
4800
  } else if ((P & 240) === 224) {
4801
- var L = y[_++] & 63, A = y[_++] & 63;
4801
+ var L = v[_++] & 63, A = v[_++] & 63;
4802
4802
  S[m++] = (P & 31) << 12 | L << 6 | A;
4803
4803
  } else if ((P & 248) === 240) {
4804
- var L = y[_++] & 63, A = y[_++] & 63, k = y[_++] & 63, F = (P & 7) << 18 | L << 12 | A << 6 | k;
4804
+ var L = v[_++] & 63, A = v[_++] & 63, k = v[_++] & 63, F = (P & 7) << 18 | L << 12 | A << 6 | k;
4805
4805
  F > 65535 && (F -= 65536, S[m++] = F >>> 10 & 1023 | 55296, F = 56320 | F & 1023), S[m++] = F;
4806
4806
  }
4807
4807
  }
4808
4808
  }
4809
- function i(y) {
4810
- for (var _ = 0, v = y.length, S = 0, E = Math.max(32, v + (v >>> 1) + 7), m = new Uint8Array(E >>> 3 << 3); _ < v; ) {
4811
- var w = y.charCodeAt(_++);
4809
+ function i(v) {
4810
+ for (var _ = 0, y = v.length, S = 0, E = Math.max(32, y + (y >>> 1) + 7), m = new Uint8Array(E >>> 3 << 3); _ < y; ) {
4811
+ var w = v.charCodeAt(_++);
4812
4812
  if (w >= 55296 && w <= 56319) {
4813
- if (_ < v) {
4814
- var O = y.charCodeAt(_);
4813
+ if (_ < y) {
4814
+ var O = v.charCodeAt(_);
4815
4815
  (O & 64512) === 56320 && (++_, w = ((w & 1023) << 10) + (O & 1023) + 65536);
4816
4816
  }
4817
4817
  if (w >= 55296 && w <= 56319)
4818
4818
  continue;
4819
4819
  }
4820
4820
  if (S + 4 > m.length) {
4821
- E += 8, E *= 1 + _ / y.length * 2, E = E >>> 3 << 3;
4821
+ E += 8, E *= 1 + _ / v.length * 2, E = E >>> 3 << 3;
4822
4822
  var T = new Uint8Array(E);
4823
4823
  T.set(m), m = T;
4824
4824
  }
@@ -4839,21 +4839,21 @@ var Ws = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
4839
4839
  }
4840
4840
  return m.slice ? m.slice(0, S) : m.subarray(0, S);
4841
4841
  }
4842
- var o = "Failed to ", s = function(y, _, v) {
4843
- if (y)
4844
- throw new Error("".concat(o).concat(_, ": the '").concat(v, "' option is unsupported."));
4842
+ var o = "Failed to ", s = function(v, _, y) {
4843
+ if (v)
4844
+ throw new Error("".concat(o).concat(_, ": the '").concat(y, "' option is unsupported."));
4845
4845
  }, a = typeof Buffer == "function" && Buffer.from, c = a ? n : i;
4846
4846
  function l() {
4847
4847
  this.encoding = "utf-8";
4848
4848
  }
4849
- l.prototype.encode = function(y, _) {
4850
- return s(_ && _.stream, "encode", "stream"), c(y);
4849
+ l.prototype.encode = function(v, _) {
4850
+ return s(_ && _.stream, "encode", "stream"), c(v);
4851
4851
  };
4852
- function u(y) {
4852
+ function u(v) {
4853
4853
  var _;
4854
4854
  try {
4855
- var v = new Blob([y], { type: "text/plain;charset=UTF-8" });
4856
- _ = URL.createObjectURL(v);
4855
+ var y = new Blob([v], { type: "text/plain;charset=UTF-8" });
4856
+ _ = URL.createObjectURL(y);
4857
4857
  var S = new XMLHttpRequest();
4858
4858
  return S.open("GET", _, !1), S.send(), S.responseText;
4859
4859
  } finally {
@@ -4861,25 +4861,25 @@ var Ws = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
4861
4861
  }
4862
4862
  }
4863
4863
  var d = !a && typeof Blob == "function" && typeof URL == "function" && typeof URL.createObjectURL == "function", f = ["utf-8", "utf8", "unicode-1-1-utf-8"], g = r;
4864
- a ? g = e : d && (g = function(y) {
4864
+ a ? g = e : d && (g = function(v) {
4865
4865
  try {
4866
- return u(y);
4866
+ return u(v);
4867
4867
  } catch {
4868
- return r(y);
4868
+ return r(v);
4869
4869
  }
4870
4870
  });
4871
4871
  var p = "construct 'TextDecoder'", h = "".concat(o, " ").concat(p, ": the ");
4872
- function b(y, _) {
4873
- s(_ && _.fatal, p, "fatal"), y = y || "utf-8";
4874
- var v;
4875
- if (a ? v = Buffer.isEncoding(y) : v = f.indexOf(y.toLowerCase()) !== -1, !v)
4876
- throw new RangeError("".concat(h, " encoding label provided ('").concat(y, "') is invalid."));
4877
- this.encoding = y, this.fatal = !1, this.ignoreBOM = !1;
4872
+ function b(v, _) {
4873
+ s(_ && _.fatal, p, "fatal"), v = v || "utf-8";
4874
+ var y;
4875
+ if (a ? y = Buffer.isEncoding(v) : y = f.indexOf(v.toLowerCase()) !== -1, !y)
4876
+ throw new RangeError("".concat(h, " encoding label provided ('").concat(v, "') is invalid."));
4877
+ this.encoding = v, this.fatal = !1, this.ignoreBOM = !1;
4878
4878
  }
4879
- b.prototype.decode = function(y, _) {
4879
+ b.prototype.decode = function(v, _) {
4880
4880
  s(_ && _.stream, "decode", "stream");
4881
- var v;
4882
- return y instanceof Uint8Array ? v = y : y.buffer instanceof ArrayBuffer ? v = new Uint8Array(y.buffer) : v = new Uint8Array(y), g(v, this.encoding);
4881
+ var y;
4882
+ return v instanceof Uint8Array ? y = v : v.buffer instanceof ArrayBuffer ? y = new Uint8Array(v.buffer) : y = new Uint8Array(v), g(y, this.encoding);
4883
4883
  }, t.TextEncoder = t.TextEncoder || l, t.TextDecoder = t.TextDecoder || b;
4884
4884
  })(typeof window < "u" ? window : Ws);
4885
4885
  var iv = /* @__PURE__ */ Lg({
@@ -5094,7 +5094,7 @@ const xv = {
5094
5094
  };
5095
5095
  let Qs;
5096
5096
  const vf = () => (Qs || (Qs = $.createContext(void 0)), Qs), Tv = ({ tolgee: t, options: e, children: n, fallback: r }) => {
5097
- const [i, o] = ee(!t.isLoaded());
5097
+ const [i, o] = J(!t.isLoaded());
5098
5098
  j(() => {
5099
5099
  t.run().catch((c) => {
5100
5100
  console.error(c);
@@ -5115,7 +5115,7 @@ const Lv = () => {
5115
5115
  throw new Error("Couldn't find tolgee instance, did you forgot to use `TolgeeProvider`?");
5116
5116
  return e;
5117
5117
  }, Rv = () => {
5118
- const [t, e] = ee(0), n = H(() => {
5118
+ const [t, e] = J(0), n = H(() => {
5119
5119
  e((r) => r + 1);
5120
5120
  }, [e]);
5121
5121
  return { instance: t, rerender: n };
@@ -5178,7 +5178,7 @@ const Lv = () => {
5178
5178
  return $.createElement(kv, Object.assign({ t: e }, t));
5179
5179
  }, Dv = "Spinner-module__loader__U4GVhD", Nv = {
5180
5180
  loader: Dv
5181
- }, is = ({ className: t }) => /* @__PURE__ */ C("div", { className: Y(Nv.loader, t), children: "Loading..." }), Iv = "Button-module__root__8RX49h", Fv = "Button-module__primary__st6yY9", jv = "Button-module__secondary__j-3rjz", Bv = "Button-module__loading__QfItr2", Vv = "Button-module__spinner__kVZYqS", Jr = {
5181
+ }, is = ({ className: t }) => /* @__PURE__ */ C("div", { className: ee(Nv.loader, t), children: "Loading..." }), Iv = "Button-module__root__8RX49h", Fv = "Button-module__primary__st6yY9", jv = "Button-module__secondary__j-3rjz", Bv = "Button-module__loading__QfItr2", Vv = "Button-module__spinner__kVZYqS", Jr = {
5182
5182
  root: Iv,
5183
5183
  primary: Fv,
5184
5184
  secondary: jv,
@@ -5188,14 +5188,14 @@ const Lv = () => {
5188
5188
  const o = [Jr.root, e, Jr[r], { [Jr.loading]: n }];
5189
5189
  if (i.as === "link") {
5190
5190
  const { as: s, disabled: a, ...c } = i;
5191
- return /* @__PURE__ */ N("a", { className: Y(o), ...c, "data-disabled": a, children: [
5191
+ return /* @__PURE__ */ N("a", { className: ee(o), ...c, "data-disabled": a, children: [
5192
5192
  !n && t,
5193
5193
  n && /* @__PURE__ */ C(is, { className: Jr.spinner })
5194
5194
  ] });
5195
5195
  }
5196
5196
  if (i.as === "button") {
5197
5197
  const { as: s, ...a } = i;
5198
- return /* @__PURE__ */ N("button", { type: "button", className: Y(o), ...a, children: [
5198
+ return /* @__PURE__ */ N("button", { type: "button", className: ee(o), ...a, children: [
5199
5199
  !n && t,
5200
5200
  n && /* @__PURE__ */ C(is, { className: Jr.spinner })
5201
5201
  ] });
@@ -5209,7 +5209,7 @@ const Hv = (t) => /* @__PURE__ */ I.createElement("svg", { xmlns: "http://www.w3
5209
5209
  root: Uv,
5210
5210
  absolutePositionVariant: $v,
5211
5211
  relativePositionVariant: zv
5212
- }, Hr = ({ className: t, position: e = "absolute", ...n }) => /* @__PURE__ */ C("div", { ...n, className: Y(Ml.root, t, Ml[`${e}PositionVariant`]), children: /* @__PURE__ */ C(Hv, {}) }), qv = (t) => /* @__PURE__ */ I.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 13, height: 12, viewBox: "0 0 13 12", fill: "none", ...t }, /* @__PURE__ */ I.createElement("path", { d: "M6.04102 1.125C5.07683 1.125 4.1343 1.41091 3.33261 1.94659C2.53092 2.48226 1.90608 3.24363 1.53711 4.13442C1.16813 5.02521 1.07159 6.00541 1.25969 6.95107C1.44779 7.89672 1.91209 8.76536 2.59387 9.44715C3.27565 10.1289 4.1443 10.5932 5.08995 10.7813C6.03561 10.9694 7.01581 10.8729 7.9066 10.5039C8.79739 10.1349 9.55876 9.51009 10.0944 8.7084C10.6301 7.90671 10.916 6.96418 10.916 6C10.9147 4.70749 10.4006 3.46831 9.48666 2.55436C8.57271 1.64042 7.33353 1.12636 6.04102 1.125ZM6.04102 10.125C5.22517 10.125 4.42764 9.88307 3.74929 9.42981C3.07094 8.97655 2.54223 8.33231 2.23001 7.57857C1.9178 6.82482 1.83611 5.99542 1.99528 5.19525C2.15444 4.39508 2.54731 3.66008 3.1242 3.08318C3.70109 2.50629 4.4361 2.11342 5.23627 1.95426C6.03644 1.7951 6.86584 1.87679 7.61959 2.189C8.37333 2.50121 9.01757 3.02992 9.47083 3.70827C9.92409 4.38663 10.166 5.18415 10.166 6C10.1648 7.09364 9.72978 8.14213 8.95646 8.91545C8.18314 9.68876 7.13465 10.1238 6.04102 10.125ZM6.79102 8.25C6.79102 8.34946 6.75151 8.44484 6.68118 8.51517C6.61086 8.58549 6.51547 8.625 6.41602 8.625C6.21711 8.625 6.02634 8.54598 5.88569 8.40533C5.74504 8.26468 5.66602 8.07391 5.66602 7.875V6C5.56656 6 5.47118 5.96049 5.40085 5.89016C5.33053 5.81984 5.29102 5.72446 5.29102 5.625C5.29102 5.52554 5.33053 5.43016 5.40085 5.35984C5.47118 5.28951 5.56656 5.25 5.66602 5.25C5.86493 5.25 6.0557 5.32902 6.19635 5.46967C6.337 5.61032 6.41602 5.80109 6.41602 6V7.875C6.51547 7.875 6.61086 7.91451 6.68118 7.98483C6.75151 8.05516 6.79102 8.15054 6.79102 8.25ZM5.29102 3.9375C5.29102 3.82625 5.32401 3.71749 5.38582 3.62499C5.44762 3.53249 5.53547 3.46039 5.63826 3.41782C5.74104 3.37524 5.85414 3.3641 5.96326 3.38581C6.07237 3.40751 6.1726 3.46109 6.25127 3.53975C6.32993 3.61842 6.38351 3.71865 6.40521 3.82776C6.42691 3.93688 6.41577 4.04998 6.3732 4.15276C6.33063 4.25554 6.25853 4.34339 6.16603 4.4052C6.07352 4.46701 5.96477 4.5 5.85352 4.5C5.70433 4.5 5.56126 4.44074 5.45577 4.33525C5.35028 4.22976 5.29102 4.08668 5.29102 3.9375Z", fill: "black" })), Gv = "W3WLink-module__likeButton__RhAlpN", Wv = "W3WLink-module__title__eo6M7L", kl = {
5212
+ }, Hr = ({ className: t, position: e = "absolute", ...n }) => /* @__PURE__ */ C("div", { ...n, className: ee(Ml.root, t, Ml[`${e}PositionVariant`]), children: /* @__PURE__ */ C(Hv, {}) }), qv = (t) => /* @__PURE__ */ I.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 13, height: 12, viewBox: "0 0 13 12", fill: "none", ...t }, /* @__PURE__ */ I.createElement("path", { d: "M6.04102 1.125C5.07683 1.125 4.1343 1.41091 3.33261 1.94659C2.53092 2.48226 1.90608 3.24363 1.53711 4.13442C1.16813 5.02521 1.07159 6.00541 1.25969 6.95107C1.44779 7.89672 1.91209 8.76536 2.59387 9.44715C3.27565 10.1289 4.1443 10.5932 5.08995 10.7813C6.03561 10.9694 7.01581 10.8729 7.9066 10.5039C8.79739 10.1349 9.55876 9.51009 10.0944 8.7084C10.6301 7.90671 10.916 6.96418 10.916 6C10.9147 4.70749 10.4006 3.46831 9.48666 2.55436C8.57271 1.64042 7.33353 1.12636 6.04102 1.125ZM6.04102 10.125C5.22517 10.125 4.42764 9.88307 3.74929 9.42981C3.07094 8.97655 2.54223 8.33231 2.23001 7.57857C1.9178 6.82482 1.83611 5.99542 1.99528 5.19525C2.15444 4.39508 2.54731 3.66008 3.1242 3.08318C3.70109 2.50629 4.4361 2.11342 5.23627 1.95426C6.03644 1.7951 6.86584 1.87679 7.61959 2.189C8.37333 2.50121 9.01757 3.02992 9.47083 3.70827C9.92409 4.38663 10.166 5.18415 10.166 6C10.1648 7.09364 9.72978 8.14213 8.95646 8.91545C8.18314 9.68876 7.13465 10.1238 6.04102 10.125ZM6.79102 8.25C6.79102 8.34946 6.75151 8.44484 6.68118 8.51517C6.61086 8.58549 6.51547 8.625 6.41602 8.625C6.21711 8.625 6.02634 8.54598 5.88569 8.40533C5.74504 8.26468 5.66602 8.07391 5.66602 7.875V6C5.56656 6 5.47118 5.96049 5.40085 5.89016C5.33053 5.81984 5.29102 5.72446 5.29102 5.625C5.29102 5.52554 5.33053 5.43016 5.40085 5.35984C5.47118 5.28951 5.56656 5.25 5.66602 5.25C5.86493 5.25 6.0557 5.32902 6.19635 5.46967C6.337 5.61032 6.41602 5.80109 6.41602 6V7.875C6.51547 7.875 6.61086 7.91451 6.68118 7.98483C6.75151 8.05516 6.79102 8.15054 6.79102 8.25ZM5.29102 3.9375C5.29102 3.82625 5.32401 3.71749 5.38582 3.62499C5.44762 3.53249 5.53547 3.46039 5.63826 3.41782C5.74104 3.37524 5.85414 3.3641 5.96326 3.38581C6.07237 3.40751 6.1726 3.46109 6.25127 3.53975C6.32993 3.61842 6.38351 3.71865 6.40521 3.82776C6.42691 3.93688 6.41577 4.04998 6.3732 4.15276C6.33063 4.25554 6.25853 4.34339 6.16603 4.4052C6.07352 4.46701 5.96477 4.5 5.85352 4.5C5.70433 4.5 5.56126 4.44074 5.45577 4.33525C5.35028 4.22976 5.29102 4.08668 5.29102 3.9375Z", fill: "black" })), Gv = "W3WLink-module__likeButton__RhAlpN", Wv = "W3WLink-module__title__eo6M7L", kl = {
5213
5213
  likeButton: Gv,
5214
5214
  title: Wv
5215
5215
  }, Zv = () => /* @__PURE__ */ N(
@@ -5242,7 +5242,7 @@ const Hv = (t) => /* @__PURE__ */ I.createElement("svg", { xmlns: "http://www.w3
5242
5242
  closes: ""
5243
5243
  };
5244
5244
  function Yv(t) {
5245
- const [e, n] = ee({
5245
+ const [e, n] = J({
5246
5246
  ...Nl,
5247
5247
  workSchedule: []
5248
5248
  }), { t: r } = _t(["details_modal", "common"]), i = {
@@ -5259,9 +5259,9 @@ function Yv(t) {
5259
5259
  var f;
5260
5260
  const c = new Date(Date.now()), l = c.getDay() || 7, u = c.toLocaleTimeString("en-GB"), d = (f = a.find(({ dayNumber: g }) => g === l)) == null ? void 0 : f.time;
5261
5261
  if (d) {
5262
- const g = d.split("-"), p = g[g.length - 1], b = d.split(", ").some((y) => {
5263
- const [_, v] = y.split("-");
5264
- return v.trim() < _.trim() ? u >= _ || u < v : u >= _ && u < v;
5262
+ const g = d.split("-"), p = g[g.length - 1], b = d.split(", ").some((v) => {
5263
+ const [_, y] = v.split("-");
5264
+ return y.trim() < _.trim() ? u >= _ || u < y : u >= _ && u < y;
5265
5265
  });
5266
5266
  return {
5267
5267
  day: i[l],
@@ -5321,20 +5321,20 @@ const e1 = "LocationView-module__title__-wT0bl", t1 = "LocationView-module__logo
5321
5321
  default: of,
5322
5322
  llama: sf
5323
5323
  }, S1 = ({ classes: t, hideActions: e, location: n, onClose: r, onSubmit: i }) => {
5324
- var v, S, E;
5325
- const [o, s] = ee(!1), { t: a } = _t(["details_modal", "common"]), { isLoading: c, lmsData: l } = As(), { closes: u, isAvailable: d, statusValue: f, workSchedule: g } = Yv(n.timetable), p = (v = l == null ? void 0 : l.location) == null ? void 0 : v.what3words, h = !!(p != null && p.id), { logo: b = "default" } = _e(), y = _1[b];
5324
+ var y, S, E;
5325
+ const [o, s] = J(!1), { t: a } = _t(["details_modal", "common"]), { isLoading: c, lmsData: l } = As(), { closes: u, isAvailable: d, statusValue: f, workSchedule: g } = Yv(n.timetable), p = (y = l == null ? void 0 : l.location) == null ? void 0 : y.what3words, h = !!(p != null && p.id), { logo: b = "default" } = _e(), v = _1[b];
5326
5326
  function _() {
5327
5327
  s((m) => !m);
5328
5328
  }
5329
5329
  return /* @__PURE__ */ N(wt, { children: [
5330
- /* @__PURE__ */ N("div", { className: Y(Ee.header, t == null ? void 0 : t.header), children: [
5330
+ /* @__PURE__ */ N("div", { className: ee(Ee.header, t == null ? void 0 : t.header), children: [
5331
5331
  /* @__PURE__ */ C(Hr, { onClick: r }),
5332
5332
  /* @__PURE__ */ N("div", { className: Ee.title, children: [
5333
- /* @__PURE__ */ C("div", { className: Ee.logo, children: /* @__PURE__ */ C(y, {}) }),
5333
+ /* @__PURE__ */ C("div", { className: Ee.logo, children: /* @__PURE__ */ C(v, {}) }),
5334
5334
  /* @__PURE__ */ C("span", { children: n.name })
5335
5335
  ] })
5336
5336
  ] }),
5337
- /* @__PURE__ */ N("div", { className: Y(Ee.content, t == null ? void 0 : t.content), children: [
5337
+ /* @__PURE__ */ N("div", { className: ee(Ee.content, t == null ? void 0 : t.content), children: [
5338
5338
  /* @__PURE__ */ N("section", { className: Ee.section, children: [
5339
5339
  /* @__PURE__ */ N("span", { children: [
5340
5340
  a("address"),
@@ -5403,10 +5403,10 @@ const e1 = "LocationView-module__title__-wT0bl", t1 = "LocationView-module__logo
5403
5403
  ] }),
5404
5404
  ((E = n.images) == null ? void 0 : E.length) > 0 && /* @__PURE__ */ C("section", { className: Ee.images, children: n.images.map((m) => /* @__PURE__ */ C("img", { src: m, alt: n.name, className: Ee.image }, m)) })
5405
5405
  ] }),
5406
- /* @__PURE__ */ C("div", { className: Y(Ee.actions, { [Ee.actionsHidden]: e }), children: /* @__PURE__ */ C(lt, { variant: "primary", className: Ee.submit, disabled: c, onClick: i, children: a("choose", { ns: "common" }) }) })
5406
+ /* @__PURE__ */ C("div", { className: ee(Ee.actions, { [Ee.actionsHidden]: e }), children: /* @__PURE__ */ C(lt, { variant: "primary", className: Ee.submit, disabled: c, onClick: i, children: a("choose", { ns: "common" }) }) })
5407
5407
  ] });
5408
5408
  }, wf = dt(S1), wc = ({ isSelectedPoint: t }) => {
5409
- const e = X(dc), [n, r] = ee(!0);
5409
+ const e = Y(dc), [n, r] = J(!0);
5410
5410
  return j(() => {
5411
5411
  r(t ? !e : !0);
5412
5412
  }, [e, t]), n;
@@ -5416,7 +5416,7 @@ function E1() {
5416
5416
  return !!(typeof window < "u" && window.document && window.document.createElement);
5417
5417
  }
5418
5418
  function O1() {
5419
- var t = ee(/* @__PURE__ */ Object.create(null)), e = t[1];
5419
+ var t = J(/* @__PURE__ */ Object.create(null)), e = t[1];
5420
5420
  return H(function() {
5421
5421
  e(/* @__PURE__ */ Object.create(null));
5422
5422
  }, []);
@@ -6080,15 +6080,15 @@ function as(t, e, n, r, i, o, s) {
6080
6080
  var b;
6081
6081
  switch (h.type) {
6082
6082
  case Zi: {
6083
- var y = q1(h, c, r, t.options.delays);
6084
- return o && typeof y.delay == "number" && o(y, c, r), y;
6083
+ var v = q1(h, c, r, t.options.delays);
6084
+ return o && typeof v.delay == "number" && o(v, c, r), v;
6085
6085
  }
6086
6086
  case Ls:
6087
6087
  var _ = W1(h, c, r, t.options.delays);
6088
6088
  return o && _.to !== Nr.Internal && (p === "entry" ? u.push(_) : o(_, c, r)), _;
6089
6089
  case Sf: {
6090
- var v = Z1(h, c, r);
6091
- return o == null || o(v, c, r), v;
6090
+ var y = Z1(h, c, r);
6091
+ return o == null || o(y, c, r), y;
6092
6092
  }
6093
6093
  case L1: {
6094
6094
  var S = h, E = (b = S.conds.find(function(z) {
@@ -6114,8 +6114,8 @@ function as(t, e, n, r, i, o, s) {
6114
6114
  return c = L, l == null || l.push(c), P;
6115
6115
  }
6116
6116
  case Sc: {
6117
- var v = X1(h, c, r);
6118
- return o == null || o(v, n, r), v;
6117
+ var y = X1(h, c, r);
6118
+ return o == null || o(y, n, r), y;
6119
6119
  }
6120
6120
  case Cc: {
6121
6121
  c = Vl(c, r, [h], o ? void 0 : e), l == null || l.push(c);
@@ -6128,8 +6128,8 @@ function as(t, e, n, r, i, o, s) {
6128
6128
  else if (k && l) {
6129
6129
  var F = l.length - 1, G = D(D({}, A), {
6130
6130
  exec: function(z) {
6131
- for (var Z = [], J = 1; J < arguments.length; J++)
6132
- Z[J - 1] = arguments[J];
6131
+ for (var Z = [], X = 1; X < arguments.length; X++)
6132
+ Z[X - 1] = arguments[X];
6133
6133
  k.apply(void 0, ye([l[F]], se(Z), !1));
6134
6134
  }
6135
6135
  });
@@ -6139,11 +6139,11 @@ function as(t, e, n, r, i, o, s) {
6139
6139
  }
6140
6140
  }
6141
6141
  function f(p) {
6142
- var h, b, y = [];
6142
+ var h, b, v = [];
6143
6143
  try {
6144
- for (var _ = re(p.actions), v = _.next(); !v.done; v = _.next()) {
6145
- var S = v.value, E = d(p.type, S);
6146
- E && (y = y.concat(E));
6144
+ for (var _ = re(p.actions), y = _.next(); !y.done; y = _.next()) {
6145
+ var S = y.value, E = d(p.type, S);
6146
+ E && (v = v.concat(E));
6147
6147
  }
6148
6148
  } catch (m) {
6149
6149
  h = {
@@ -6151,7 +6151,7 @@ function as(t, e, n, r, i, o, s) {
6151
6151
  };
6152
6152
  } finally {
6153
6153
  try {
6154
- v && !v.done && (b = _.return) && b.call(_);
6154
+ y && !y.done && (b = _.return) && b.call(_);
6155
6155
  } finally {
6156
6156
  if (h)
6157
6157
  throw h.error;
@@ -6159,7 +6159,7 @@ function as(t, e, n, r, i, o, s) {
6159
6159
  }
6160
6160
  return u.forEach(function(m) {
6161
6161
  o(m, c, r);
6162
- }), u.length = 0, y;
6162
+ }), u.length = 0, v;
6163
6163
  }
6164
6164
  var g = Oe(i.map(f));
6165
6165
  return [g, c];
@@ -6268,11 +6268,11 @@ function li(t, e) {
6268
6268
  throw n.error;
6269
6269
  }
6270
6270
  }
6271
- var y = Na(f);
6271
+ var v = Na(f);
6272
6272
  try {
6273
- for (var _ = re(f), v = _.next(); !v.done; v = _.next()) {
6274
- var h = v.value;
6275
- if (h.type === "compound" && (!y.get(h) || !y.get(h).length))
6273
+ for (var _ = re(f), y = _.next(); !y.done; y = _.next()) {
6274
+ var h = y.value;
6275
+ if (h.type === "compound" && (!v.get(h) || !v.get(h).length))
6276
6276
  d.get(h) ? d.get(h).forEach(function(P) {
6277
6277
  return f.add(P);
6278
6278
  }) : h.initialStateNodes.forEach(function(P) {
@@ -6307,7 +6307,7 @@ function li(t, e) {
6307
6307
  };
6308
6308
  } finally {
6309
6309
  try {
6310
- v && !v.done && (o = _.return) && o.call(_);
6310
+ y && !y.done && (o = _.return) && o.call(_);
6311
6311
  } finally {
6312
6312
  if (i)
6313
6313
  throw i.error;
@@ -6711,12 +6711,12 @@ Event: `
6711
6711
  break;
6712
6712
  }
6713
6713
  case Ls:
6714
- var y = u;
6715
- if (typeof y.delay == "number") {
6716
- r.defer(y);
6714
+ var v = u;
6715
+ if (typeof v.delay == "number") {
6716
+ r.defer(v);
6717
6717
  return;
6718
6718
  } else
6719
- y.to ? r.sendTo(y._event, y.to, f === mr) : r.send(y._event);
6719
+ v.to ? r.sendTo(v._event, v.to, f === mr) : r.send(v._event);
6720
6720
  break;
6721
6721
  case _f:
6722
6722
  r.cancel(u.sendId);
@@ -6731,7 +6731,7 @@ Event: `
6731
6731
  )
6732
6732
  break;
6733
6733
  if (_.type === fe.Invoke) {
6734
- var v = Lf(_.src), S = r.machine.options.services ? r.machine.options.services[v.type] : void 0, E = _.id, m = _.data, w = "autoForward" in _ ? _.autoForward : !!_.forward;
6734
+ var y = Lf(_.src), S = r.machine.options.services ? r.machine.options.services[y.type] : void 0, E = _.id, m = _.data, w = "autoForward" in _ ? _.autoForward : !!_.forward;
6735
6735
  if (!S)
6736
6736
  return;
6737
6737
  var O = m ? ss(m, d, f) : void 0;
@@ -6739,7 +6739,7 @@ Event: `
6739
6739
  return;
6740
6740
  var T = ce(S) ? S(d, f.data, {
6741
6741
  data: O,
6742
- src: v,
6742
+ src: y,
6743
6743
  meta: _.meta
6744
6744
  }) : S;
6745
6745
  if (!T)
@@ -6834,8 +6834,8 @@ Event: `
6834
6834
  }
6835
6835
  }
6836
6836
  try {
6837
- for (var b = re(this.listeners), y = b.next(); !y.done; y = b.next()) {
6838
- var h = y.value;
6837
+ for (var b = re(this.listeners), v = b.next(); !v.done; v = b.next()) {
6838
+ var h = v.value;
6839
6839
  h(e, e.event);
6840
6840
  }
6841
6841
  } catch (T) {
@@ -6844,15 +6844,15 @@ Event: `
6844
6844
  };
6845
6845
  } finally {
6846
6846
  try {
6847
- y && !y.done && (s = b.return) && s.call(b);
6847
+ v && !v.done && (s = b.return) && s.call(b);
6848
6848
  } finally {
6849
6849
  if (o)
6850
6850
  throw o.error;
6851
6851
  }
6852
6852
  }
6853
6853
  try {
6854
- for (var _ = re(this.contextListeners), v = _.next(); !v.done; v = _.next()) {
6855
- var S = v.value;
6854
+ for (var _ = re(this.contextListeners), y = _.next(); !y.done; y = _.next()) {
6855
+ var S = y.value;
6856
6856
  S(this.state.context, this.state.history ? this.state.history.context : void 0);
6857
6857
  }
6858
6858
  } catch (T) {
@@ -6861,7 +6861,7 @@ Event: `
6861
6861
  };
6862
6862
  } finally {
6863
6863
  try {
6864
- v && !v.done && (c = _.return) && c.call(_);
6864
+ y && !y.done && (c = _.return) && c.call(_);
6865
6865
  } finally {
6866
6866
  if (a)
6867
6867
  throw a.error;
@@ -6968,8 +6968,8 @@ Event: `
6968
6968
  }
6969
6969
  }
6970
6970
  try {
6971
- for (var b = re(this.contextListeners), y = b.next(); !y.done; y = b.next()) {
6972
- var g = y.value;
6971
+ for (var b = re(this.contextListeners), v = b.next(); !v.done; v = b.next()) {
6972
+ var g = v.value;
6973
6973
  this.contextListeners.delete(g);
6974
6974
  }
6975
6975
  } catch (w) {
@@ -6978,15 +6978,15 @@ Event: `
6978
6978
  };
6979
6979
  } finally {
6980
6980
  try {
6981
- y && !y.done && (s = b.return) && s.call(b);
6981
+ v && !v.done && (s = b.return) && s.call(b);
6982
6982
  } finally {
6983
6983
  if (o)
6984
6984
  throw o.error;
6985
6985
  }
6986
6986
  }
6987
6987
  try {
6988
- for (var _ = re(this.doneListeners), v = _.next(); !v.done; v = _.next()) {
6989
- var g = v.value;
6988
+ for (var _ = re(this.doneListeners), y = _.next(); !y.done; y = _.next()) {
6989
+ var g = y.value;
6990
6990
  this.doneListeners.delete(g);
6991
6991
  }
6992
6992
  } catch (w) {
@@ -6995,7 +6995,7 @@ Event: `
6995
6995
  };
6996
6996
  } finally {
6997
6997
  try {
6998
- v && !v.done && (c = _.return) && c.call(_);
6998
+ y && !y.done && (c = _.return) && c.call(_);
6999
6999
  } finally {
7000
7000
  if (a)
7001
7001
  throw a.error;
@@ -7695,9 +7695,9 @@ var bo = "", Ia = "#", Xs = "*", ir = {}, or = function(t) {
7695
7695
  f && (s[l] = f);
7696
7696
  }
7697
7697
  }
7698
- } catch (y) {
7698
+ } catch (v) {
7699
7699
  i = {
7700
- error: y
7700
+ error: v
7701
7701
  };
7702
7702
  } finally {
7703
7703
  try {
@@ -7707,27 +7707,27 @@ var bo = "", Ia = "#", Xs = "*", ir = {}, or = function(t) {
7707
7707
  throw i.error;
7708
7708
  }
7709
7709
  }
7710
- var g = Object.keys(s).map(function(y) {
7711
- return s[y];
7712
- }), p = Oe(g.map(function(y) {
7713
- return y.transitions;
7714
- })), h = g.some(function(y) {
7715
- return y.transitions.length > 0;
7710
+ var g = Object.keys(s).map(function(v) {
7711
+ return s[v];
7712
+ }), p = Oe(g.map(function(v) {
7713
+ return v.transitions;
7714
+ })), h = g.some(function(v) {
7715
+ return v.transitions.length > 0;
7716
7716
  });
7717
7717
  if (!h)
7718
7718
  return this.next(n, r);
7719
- var b = Oe(Object.keys(s).map(function(y) {
7720
- return s[y].configuration;
7719
+ var b = Oe(Object.keys(s).map(function(v) {
7720
+ return s[v].configuration;
7721
7721
  }));
7722
7722
  return {
7723
7723
  transitions: p,
7724
- exitSet: Oe(g.map(function(y) {
7725
- return y.exitSet;
7724
+ exitSet: Oe(g.map(function(v) {
7725
+ return v.exitSet;
7726
7726
  })),
7727
7727
  configuration: b,
7728
7728
  source: n,
7729
- actions: Oe(Object.keys(s).map(function(y) {
7730
- return s[y].actions;
7729
+ actions: Oe(Object.keys(s).map(function(v) {
7730
+ return s[v].actions;
7731
7731
  }))
7732
7732
  };
7733
7733
  }, t.prototype._transition = function(e, n, r) {
@@ -7744,14 +7744,14 @@ var bo = "", Ia = "#", Xs = "*", ir = {}, or = function(t) {
7744
7744
  ) : (
7745
7745
  // Check if in state by relative grandparent
7746
7746
  Ec(mi(p, this.delimiter), D1(this.path.slice(0, -2))(e.value))
7747
- ) : !0, y = !1;
7747
+ ) : !0, v = !1;
7748
7748
  try {
7749
- y = !g || Pf(this.machine, g, h, n, e);
7749
+ v = !g || Pf(this.machine, g, h, n, e);
7750
7750
  } catch (S) {
7751
7751
  throw new Error("Unable to evaluate guard '".concat(g.name || g.type, "' in transition for event '").concat(s, "' in state node '").concat(this.id, `':
7752
7752
  `).concat(S.message));
7753
7753
  }
7754
- if (y && b) {
7754
+ if (v && b) {
7755
7755
  f.target !== void 0 && (c = f.target), a.push.apply(a, ye([], se(f.actions), !1)), l = f;
7756
7756
  break;
7757
7757
  }
@@ -7779,10 +7779,10 @@ var bo = "", Ia = "#", Xs = "*", ir = {}, or = function(t) {
7779
7779
  };
7780
7780
  var _ = Oe(c.map(function(S) {
7781
7781
  return o.getRelativeStateNodes(S, e.historyValue);
7782
- })), v = !!l.internal;
7782
+ })), y = !!l.internal;
7783
7783
  return {
7784
7784
  transitions: [l],
7785
- exitSet: v ? [] : Oe(c.map(function(S) {
7785
+ exitSet: y ? [] : Oe(c.map(function(S) {
7786
7786
  return o.getPotentiallyReenteringNodes(S);
7787
7787
  })),
7788
7788
  configuration: _,
@@ -7802,8 +7802,8 @@ var bo = "", Ia = "#", Xs = "*", ir = {}, or = function(t) {
7802
7802
  for (var h = re(Array.from(e).sort(function(L, A) {
7803
7803
  return L.order - A.order;
7804
7804
  })), b = h.next(); !b.done; b = h.next()) {
7805
- var y = b.value;
7806
- (!ui(g, y) || ui(r.exitSet, y) || y.parent && p.has(y.parent)) && p.add(y);
7805
+ var v = b.value;
7806
+ (!ui(g, v) || ui(r.exitSet, v) || v.parent && p.has(v.parent)) && p.add(v);
7807
7807
  }
7808
7808
  } catch (L) {
7809
7809
  c = {
@@ -7818,9 +7818,9 @@ var bo = "", Ia = "#", Xs = "*", ir = {}, or = function(t) {
7818
7818
  }
7819
7819
  }
7820
7820
  try {
7821
- for (var _ = re(g), v = _.next(); !v.done; v = _.next()) {
7822
- var y = v.value;
7823
- (!ui(e, y) || ui(r.exitSet, y.parent)) && r.exitSet.push(y);
7821
+ for (var _ = re(g), y = _.next(); !y.done; y = _.next()) {
7822
+ var v = y.value;
7823
+ (!ui(e, v) || ui(r.exitSet, v.parent)) && r.exitSet.push(v);
7824
7824
  }
7825
7825
  } catch (L) {
7826
7826
  u = {
@@ -7828,7 +7828,7 @@ var bo = "", Ia = "#", Xs = "*", ir = {}, or = function(t) {
7828
7828
  };
7829
7829
  } finally {
7830
7830
  try {
7831
- v && !v.done && (d = _.return) && d.call(_);
7831
+ y && !y.done && (d = _.return) && d.call(_);
7832
7832
  } finally {
7833
7833
  if (u)
7834
7834
  throw u.error;
@@ -7918,9 +7918,9 @@ var bo = "", Ia = "#", Xs = "*", ir = {}, or = function(t) {
7918
7918
  }, t.prototype.resolveTransition = function(e, n, r, i, o) {
7919
7919
  var s, a, c, l, u = this;
7920
7920
  o === void 0 && (o = mr);
7921
- var d = e.configuration, f = !n || e.transitions.length > 0, g = f ? e.configuration : n ? n.configuration : [], p = Qo(g, this), h = f ? sy(this.machine, d) : void 0, b = n ? n.historyValue ? n.historyValue : e.source ? this.machine.historyValue(n.value) : void 0 : void 0, y = this.getActions(new Set(g), p, e, r, o, n, i), _ = n ? D({}, n.activities) : {};
7921
+ var d = e.configuration, f = !n || e.transitions.length > 0, g = f ? e.configuration : n ? n.configuration : [], p = Qo(g, this), h = f ? sy(this.machine, d) : void 0, b = n ? n.historyValue ? n.historyValue : e.source ? this.machine.historyValue(n.value) : void 0 : void 0, v = this.getActions(new Set(g), p, e, r, o, n, i), _ = n ? D({}, n.activities) : {};
7922
7922
  try {
7923
- for (var v = re(y), S = v.next(); !S.done; S = v.next()) {
7923
+ for (var y = re(v), S = y.next(); !S.done; S = y.next()) {
7924
7924
  var E = S.value;
7925
7925
  try {
7926
7926
  for (var m = (c = void 0, re(E.actions)), w = m.next(); !w.done; w = m.next()) {
@@ -7946,13 +7946,13 @@ var bo = "", Ia = "#", Xs = "*", ir = {}, or = function(t) {
7946
7946
  };
7947
7947
  } finally {
7948
7948
  try {
7949
- S && !S.done && (a = v.return) && a.call(v);
7949
+ S && !S.done && (a = y.return) && a.call(y);
7950
7950
  } finally {
7951
7951
  if (s)
7952
7952
  throw s.error;
7953
7953
  }
7954
7954
  }
7955
- var T = se(as(this, n, r, o, y, i, this.machine.config.predictableActionArguments || this.machine.config.preserveActionOrder), 2), P = T[0], L = T[1], A = se(j1(P, ka), 2), k = A[0], F = A[1], G = P.filter(function(Le) {
7955
+ var T = se(as(this, n, r, o, v, i, this.machine.config.predictableActionArguments || this.machine.config.preserveActionOrder), 2), P = T[0], L = T[1], A = se(j1(P, ka), 2), k = A[0], F = A[1], G = P.filter(function(Le) {
7956
7956
  var Se;
7957
7957
  return Le.type === Pa && ((Se = Le.activity) === null || Se === void 0 ? void 0 : Se.type) === La;
7958
7958
  }), z = G.reduce(function(Le, Se) {
@@ -7974,8 +7974,8 @@ var bo = "", Ia = "#", Xs = "*", ir = {}, or = function(t) {
7974
7974
  done: p,
7975
7975
  tags: Hl(g),
7976
7976
  machine: this
7977
- }), J = r !== L;
7978
- Z.changed = o.name === Cf || J;
7977
+ }), X = r !== L;
7978
+ Z.changed = o.name === Cf || X;
7979
7979
  var he = Z.history;
7980
7980
  he && delete he.history;
7981
7981
  var pe = !p && (this._transient || d.some(function(Le) {
@@ -7991,7 +7991,7 @@ var bo = "", Ia = "#", Xs = "*", ir = {}, or = function(t) {
7991
7991
  var ae = k.shift();
7992
7992
  me = this.resolveRaisedTransition(me, ae._event, o, i);
7993
7993
  }
7994
- var Je = me.changed || (he ? !!me.actions.length || J || typeof he.value != typeof me.value || !If(me.value, he.value) : void 0);
7994
+ var Je = me.changed || (he ? !!me.actions.length || X || typeof he.value != typeof me.value || !If(me.value, he.value) : void 0);
7995
7995
  return me.changed = Je, me.history = he, me;
7996
7996
  }, t.prototype.getStateNode = function(e) {
7997
7997
  if (or(e))
@@ -8293,22 +8293,22 @@ var bo = "", Ia = "#", Xs = "*", ir = {}, or = function(t) {
8293
8293
  else {
8294
8294
  var o = this.config.on, s = Xs, a = o[s], c = a === void 0 ? [] : a, l = _c(o, [typeof s == "symbol" ? s : s + ""]);
8295
8295
  i = Oe(Object.keys(l).map(function(_) {
8296
- var v = rr(_, l[_]);
8297
- return v;
8296
+ var y = rr(_, l[_]);
8297
+ return y;
8298
8298
  }).concat(rr(Xs, c)));
8299
8299
  }
8300
8300
  var u = this.config.always ? rr("", this.config.always) : [], d = this.config.onDone ? rr(String(vo(this.id)), this.config.onDone) : [], f = Oe(this.invoke.map(function(_) {
8301
- var v = [];
8302
- return _.onDone && v.push.apply(v, ye([], se(rr(String(Ko(_.id)), _.onDone)), !1)), _.onError && v.push.apply(v, ye([], se(rr(String(ci(_.id)), _.onError)), !1)), v;
8301
+ var y = [];
8302
+ return _.onDone && y.push.apply(y, ye([], se(rr(String(Ko(_.id)), _.onDone)), !1)), _.onError && y.push.apply(y, ye([], se(rr(String(ci(_.id)), _.onError)), !1)), y;
8303
8303
  })), g = this.after, p = Oe(ye(ye(ye(ye([], se(d), !1), se(f), !1), se(i), !1), se(u), !1).map(function(_) {
8304
- return mt(_).map(function(v) {
8305
- return r.formatTransition(v);
8304
+ return mt(_).map(function(y) {
8305
+ return r.formatTransition(y);
8306
8306
  });
8307
8307
  }));
8308
8308
  try {
8309
8309
  for (var h = re(g), b = h.next(); !b.done; b = h.next()) {
8310
- var y = b.value;
8311
- p.push(y);
8310
+ var v = b.value;
8311
+ p.push(v);
8312
8312
  }
8313
8313
  } catch (_) {
8314
8314
  e = {
@@ -8538,7 +8538,7 @@ function Ry(t, e) {
8538
8538
  var n = H(function(a) {
8539
8539
  var c = a.changed === void 0 && Object.keys(a.children).length;
8540
8540
  (a.changed || c) && s(a);
8541
- }, []), r = Py(t, e, n), i = Ly(ee(function() {
8541
+ }, []), r = Py(t, e, n), i = Ly(J(function() {
8542
8542
  var a = r.machine.initialState;
8543
8543
  return e.state ? ot.create(e.state) : a;
8544
8544
  }), 2), o = i[0], s = i[1];
@@ -8596,7 +8596,7 @@ function My(t, e) {
8596
8596
  }, t);
8597
8597
  }
8598
8598
  function ky() {
8599
- const t = ee(!1), e = t[1];
8599
+ const t = J(!1), e = t[1];
8600
8600
  return H(() => e((r) => !r), []);
8601
8601
  }
8602
8602
  function xn(t, e) {
@@ -8750,11 +8750,11 @@ const Hn = /* @__PURE__ */ new Set(), $f = () => {
8750
8750
  s = c.lastTime !== void 0 ? c.lastTime : t, g = c.lastVelocity !== void 0 ? c.lastVelocity : i.initialVelocity, t > s + 64 && (s = t);
8751
8751
  let p = Math.floor(t - s);
8752
8752
  for (let _ = 0; _ < p; ++_) {
8753
- let v = -i.tension * (d - u), S = -i.friction * g, E = (v + S) / i.mass;
8753
+ let y = -i.tension * (d - u), S = -i.friction * g, E = (y + S) / i.mass;
8754
8754
  g = g + E * 1 / 1e3, d = d + g * 1 / 1e3;
8755
8755
  }
8756
- let h = i.clamp && i.tension !== 0 ? l < u ? d > u : d < u : !1, b = Math.abs(g) <= i.precision, y = i.tension !== 0 ? Math.abs(u - d) <= i.precision : !0;
8757
- o = h || b && y, c.lastVelocity = g, c.lastTime = t;
8756
+ let h = i.clamp && i.tension !== 0 ? l < u ? d > u : d < u : !1, b = Math.abs(g) <= i.precision, v = i.tension !== 0 ? Math.abs(u - d) <= i.precision : !0;
8757
+ o = h || b && v, c.lastVelocity = g, c.lastTime = t;
8758
8758
  }
8759
8759
  f && !i.toValues[a].done && (o = !1), o ? (c.value !== u && (d = u), c.done = !0) : n = !0, c.setValue(d), c.lastPosition = d;
8760
8760
  }
@@ -8985,35 +8985,35 @@ let Qy = 0, Jy = class {
8985
8985
  this.merged = Te({}, i, this.merged, s), this.hasChanged = !1;
8986
8986
  let p = u && u(this);
8987
8987
  if (this.animations = Object.entries(this.merged).reduce((h, b) => {
8988
- let y = b[0], _ = b[1], v = h[y] || {};
8988
+ let v = b[0], _ = b[1], y = h[v] || {};
8989
8989
  const S = Q.num(_), E = Q.str(_) && !_.startsWith("#") && !/\d/.test(_) && !Bf[_], m = Q.arr(_), w = !S && !m && !E;
8990
- let O = Q.und(i[y]) ? _ : i[y], T = S || m || E ? _ : 1, P = pr(c, y);
8991
- p && (T = p.animations[y].parent);
8992
- let L = v.parent, A = v.interpolation, k = wo(p ? T.getPayload() : T), F, G = _;
8990
+ let O = Q.und(i[v]) ? _ : i[v], T = S || m || E ? _ : 1, P = pr(c, v);
8991
+ p && (T = p.animations[v].parent);
8992
+ let L = y.parent, A = y.interpolation, k = wo(p ? T.getPayload() : T), F, G = _;
8993
8993
  w && (G = ls({
8994
8994
  range: [0, 1],
8995
8995
  output: [_, _]
8996
8996
  })(1));
8997
8997
  let z = A && A.getValue();
8998
- const J = !Q.und(L) && v.animatedValues.some((ae) => !ae.done), he = !Q.equ(G, z), pe = !Q.equ(G, v.previous), me = !Q.equ(P, v.config);
8998
+ const X = !Q.und(L) && y.animatedValues.some((ae) => !ae.done), he = !Q.equ(G, z), pe = !Q.equ(G, y.previous), me = !Q.equ(P, y.config);
8999
8999
  if (d || pe && he || me) {
9000
9000
  if (S || E)
9001
- L = A = v.parent || new Ba(O);
9001
+ L = A = y.parent || new Ba(O);
9002
9002
  else if (m)
9003
- L = A = v.parent || new Ky(O);
9003
+ L = A = y.parent || new Ky(O);
9004
9004
  else if (w) {
9005
- let ae = v.interpolation && v.interpolation.calc(v.parent.value);
9006
- ae = ae !== void 0 && !d ? ae : O, v.parent ? (L = v.parent, L.setValue(0, !1)) : L = new Ba(0);
9005
+ let ae = y.interpolation && y.interpolation.calc(y.parent.value);
9006
+ ae = ae !== void 0 && !d ? ae : O, y.parent ? (L = y.parent, L.setValue(0, !1)) : L = new Ba(0);
9007
9007
  const Je = {
9008
9008
  output: [ae, _]
9009
9009
  };
9010
- v.interpolation ? (A = v.interpolation, v.interpolation.updateConfig(Je)) : A = L.interpolate(Je);
9010
+ y.interpolation ? (A = y.interpolation, y.interpolation.updateConfig(Je)) : A = L.interpolate(Je);
9011
9011
  }
9012
9012
  return k = wo(p ? T.getPayload() : T), F = wo(L.getPayload()), d && !w && L.setValue(O, !1), this.hasChanged = !0, F.forEach((ae) => {
9013
- ae.startPosition = ae.value, ae.lastPosition = ae.value, ae.lastVelocity = J ? ae.lastVelocity : void 0, ae.lastTime = J ? ae.lastTime : void 0, ae.startTime = Hf(), ae.done = !1, ae.animatedStyles.clear();
9014
- }), pr(f, y) && L.setValue(w ? T : _, !1), Te({}, h, {
9015
- [y]: Te({}, v, {
9016
- name: y,
9013
+ ae.startPosition = ae.value, ae.lastPosition = ae.value, ae.lastVelocity = X ? ae.lastVelocity : void 0, ae.lastTime = X ? ae.lastTime : void 0, ae.startTime = Hf(), ae.done = !1, ae.animatedStyles.clear();
9014
+ }), pr(f, v) && L.setValue(w ? T : _, !1), Te({}, h, {
9015
+ [v]: Te({}, y, {
9016
+ name: v,
9017
9017
  parent: L,
9018
9018
  interpolation: A,
9019
9019
  animatedValues: F,
@@ -9021,7 +9021,7 @@ let Qy = 0, Jy = class {
9021
9021
  previous: G,
9022
9022
  config: P,
9023
9023
  fromValues: wo(L.getValue()),
9024
- immediate: pr(f, y),
9024
+ immediate: pr(f, v),
9025
9025
  initialVelocity: xn(P.velocity, 0),
9026
9026
  clamp: xn(P.clamp, !1),
9027
9027
  precision: xn(P.precision, 0.01),
@@ -9037,7 +9037,7 @@ let Qy = 0, Jy = class {
9037
9037
  return he ? h : (w && (L.setValue(1, !1), A.updateConfig({
9038
9038
  output: [G, G]
9039
9039
  })), L.done = !0, this.hasChanged = !0, Te({}, h, {
9040
- [y]: Te({}, h[y], {
9040
+ [v]: Te({}, h[v], {
9041
9041
  previous: G
9042
9042
  })
9043
9043
  }));
@@ -9918,19 +9918,19 @@ var Pn = /* @__PURE__ */ new Map(), I2 = /* @__PURE__ */ function() {
9918
9918
  _blocked: !1
9919
9919
  };
9920
9920
  }, e.getMovement = function(r) {
9921
- var i = this.config, o = i.initial, s = i.bounds, a = i.rubberband, c = i.threshold, l = this.state, u = l._bounds, d = l._initial, f = l._active, g = l._intentional, p = l.lastOffset, h = l.movement, b = this.getInternalMovement(r, this.state), y = g[0] === !1 ? tu(b[0], c[0]) : g[0], _ = g[1] === !1 ? tu(b[1], c[1]) : g[1], v = this.checkIntentionality([y, _], b);
9922
- if (v._blocked)
9923
- return Ge({}, v, {
9921
+ var i = this.config, o = i.initial, s = i.bounds, a = i.rubberband, c = i.threshold, l = this.state, u = l._bounds, d = l._initial, f = l._active, g = l._intentional, p = l.lastOffset, h = l.movement, b = this.getInternalMovement(r, this.state), v = g[0] === !1 ? tu(b[0], c[0]) : g[0], _ = g[1] === !1 ? tu(b[1], c[1]) : g[1], y = this.checkIntentionality([v, _], b);
9922
+ if (y._blocked)
9923
+ return Ge({}, y, {
9924
9924
  _movement: b,
9925
9925
  delta: [0, 0]
9926
9926
  });
9927
- var S = v._intentional, E = b, m, w;
9927
+ var S = y._intentional, E = b, m, w;
9928
9928
  if (S[0] !== !1 && g[0] === !1 && (w = Eo(o, this.state), m = Eo(s, this.state), d[0] = w[0], u[0] = m[0]), S[1] !== !1 && g[1] === !1) {
9929
9929
  var O, T;
9930
9930
  w = (O = w) != null ? O : Eo(o, this.state), m = (T = m) != null ? T : Eo(s, this.state), d[1] = w[1], u[1] = m[1];
9931
9931
  }
9932
9932
  var P = [S[0] !== !1 ? b[0] - S[0] : d[0], S[1] !== !1 ? b[1] - S[1] : d[1]], L = Jl(P, p), A = f ? a : [0, 0];
9933
- return P = nu(u, Jl(P, d), A), Ge({}, v, {
9933
+ return P = nu(u, Jl(P, d), A), Ge({}, y, {
9934
9934
  intentional: S[0] !== !1 || S[1] !== !1,
9935
9935
  _initial: d,
9936
9936
  _movement: E,
@@ -10202,8 +10202,8 @@ var K2 = 3, Q2 = 220, J2 = /* @__PURE__ */ function(t) {
10202
10202
  buttons: 0,
10203
10203
  touches: 0
10204
10204
  });
10205
- var o = r.state._isTap, s = r.state.velocities, a = s[0], c = s[1], l = r.state.movement, u = l[0], d = l[1], f = r.state._intentional, g = f[0], p = f[1], h = r.config.swipeVelocity, b = h[0], y = h[1], _ = r.config.swipeDistance, v = _[0], S = _[1], E = Ge({}, ta(Co(r), i), r.getMovement(r.state.values)), m = [0, 0];
10206
- E.elapsedTime < Q2 && (g !== !1 && Math.abs(a) > b && Math.abs(u) > v && (m[0] = Ha(a)), p !== !1 && Math.abs(c) > y && Math.abs(d) > S && (m[1] = Ha(c))), r.updateGestureState(Ge({}, E, {
10205
+ var o = r.state._isTap, s = r.state.velocities, a = s[0], c = s[1], l = r.state.movement, u = l[0], d = l[1], f = r.state._intentional, g = f[0], p = f[1], h = r.config.swipeVelocity, b = h[0], v = h[1], _ = r.config.swipeDistance, y = _[0], S = _[1], E = Ge({}, ta(Co(r), i), r.getMovement(r.state.values)), m = [0, 0];
10206
+ E.elapsedTime < Q2 && (g !== !1 && Math.abs(a) > b && Math.abs(u) > y && (m[0] = Ha(a)), p !== !1 && Math.abs(c) > v && Math.abs(d) > S && (m[1] = Ha(c))), r.updateGestureState(Ge({}, E, {
10207
10207
  tap: o,
10208
10208
  swipe: m
10209
10209
  })), r.fireGestureHandler(o === !0);
@@ -10708,8 +10708,8 @@ var cu = /* @__PURE__ */ function() {
10708
10708
  m.shiftKey ? O = o.tabbableGroups[o.tabbableGroups.length - 1].lastTabbableNode : O = o.tabbableGroups[0].firstTabbableNode;
10709
10709
  else if (m.shiftKey) {
10710
10710
  var L = uu(o.tabbableGroups, function(Z) {
10711
- var J = Z.firstTabbableNode;
10712
- return w === J;
10711
+ var X = Z.firstTabbableNode;
10712
+ return w === X;
10713
10713
  });
10714
10714
  if (L < 0 && (P.container === w || na(w, i.tabbableOptions) && !Oo(w, i.tabbableOptions) && !P.nextTabbableNode(w, !1)) && (L = T), L >= 0) {
10715
10715
  var A = L === 0 ? o.tabbableGroups.length - 1 : L - 1, k = o.tabbableGroups[A];
@@ -10717,8 +10717,8 @@ var cu = /* @__PURE__ */ function() {
10717
10717
  }
10718
10718
  } else {
10719
10719
  var F = uu(o.tabbableGroups, function(Z) {
10720
- var J = Z.lastTabbableNode;
10721
- return w === J;
10720
+ var X = Z.lastTabbableNode;
10721
+ return w === X;
10722
10722
  });
10723
10723
  if (F < 0 && (P.container === w || na(w, i.tabbableOptions) && !Oo(w, i.tabbableOptions) && !P.nextTabbableNode(w)) && (F = T), F >= 0) {
10724
10724
  var G = F === o.tabbableGroups.length - 1 ? 0 : F + 1, z = o.tabbableGroups[G];
@@ -10728,7 +10728,7 @@ var cu = /* @__PURE__ */ function() {
10728
10728
  } else
10729
10729
  O = l("fallbackFocus");
10730
10730
  O && (m.preventDefault(), f(O));
10731
- }, y = function(m) {
10731
+ }, v = function(m) {
10732
10732
  if (v3(m) && ti(i.escapeDeactivates, m) !== !1) {
10733
10733
  m.preventDefault(), s.deactivate();
10734
10734
  return;
@@ -10740,7 +10740,7 @@ var cu = /* @__PURE__ */ function() {
10740
10740
  }, _ = function(m) {
10741
10741
  var w = xo(m);
10742
10742
  c(w) >= 0 || ti(i.clickOutsideDeactivates, m) || ti(i.allowOutsideClick, m) || (m.preventDefault(), m.stopImmediatePropagation());
10743
- }, v = function() {
10743
+ }, y = function() {
10744
10744
  if (o.active)
10745
10745
  return cu.activateTrap(s), o.delayInitialFocusTimer = i.delayInitialFocus ? lu(function() {
10746
10746
  f(u());
@@ -10753,13 +10753,13 @@ var cu = /* @__PURE__ */ function() {
10753
10753
  }), r.addEventListener("click", _, {
10754
10754
  capture: !0,
10755
10755
  passive: !1
10756
- }), r.addEventListener("keydown", y, {
10756
+ }), r.addEventListener("keydown", v, {
10757
10757
  capture: !0,
10758
10758
  passive: !1
10759
10759
  }), s;
10760
10760
  }, S = function() {
10761
10761
  if (o.active)
10762
- return r.removeEventListener("focusin", h, !0), r.removeEventListener("mousedown", p, !0), r.removeEventListener("touchstart", p, !0), r.removeEventListener("click", _, !0), r.removeEventListener("keydown", y, !0), s;
10762
+ return r.removeEventListener("focusin", h, !0), r.removeEventListener("mousedown", p, !0), r.removeEventListener("touchstart", p, !0), r.removeEventListener("click", _, !0), r.removeEventListener("keydown", v, !0), s;
10763
10763
  };
10764
10764
  return s = {
10765
10765
  get active() {
@@ -10774,7 +10774,7 @@ var cu = /* @__PURE__ */ function() {
10774
10774
  var w = a(m, "onActivate"), O = a(m, "onPostActivate"), T = a(m, "checkCanFocusTrap");
10775
10775
  T || d(), o.active = !0, o.paused = !1, o.nodeFocusedBeforeActivation = r.activeElement, w && w();
10776
10776
  var P = function() {
10777
- T && d(), v(), O && O();
10777
+ T && d(), y(), O && O();
10778
10778
  };
10779
10779
  return T ? (T(o.containers.concat()).then(P, P), this) : (P(), this);
10780
10780
  },
@@ -10800,7 +10800,7 @@ var cu = /* @__PURE__ */ function() {
10800
10800
  return o.paused || !o.active ? this : (o.paused = !0, S(), this);
10801
10801
  },
10802
10802
  unpause: function() {
10803
- return !o.paused || !o.active ? this : (o.paused = !1, d(), v(), this);
10803
+ return !o.paused || !o.active ? this : (o.paused = !1, d(), y(), this);
10804
10804
  },
10805
10805
  updateContainerElements: function(m) {
10806
10806
  var w = [].concat(m).filter(Boolean);
@@ -10951,7 +10951,7 @@ var $n = function(t) {
10951
10951
  return To.get(t);
10952
10952
  if (dh(t))
10953
10953
  return To.set(t, mu), mu;
10954
- var n = getComputedStyle(t), r = Lc(t) && t.ownerSVGElement && t.getBBox(), i = !k3 && n.boxSizing === "border-box", o = M3.test(n.writingMode || ""), s = !r && pu.test(n.overflowY || ""), a = !r && pu.test(n.overflowX || ""), c = r ? 0 : Et(n.paddingTop), l = r ? 0 : Et(n.paddingRight), u = r ? 0 : Et(n.paddingBottom), d = r ? 0 : Et(n.paddingLeft), f = r ? 0 : Et(n.borderTopWidth), g = r ? 0 : Et(n.borderRightWidth), p = r ? 0 : Et(n.borderBottomWidth), h = r ? 0 : Et(n.borderLeftWidth), b = d + l, y = c + u, _ = h + g, v = f + p, S = a ? t.offsetHeight - v - t.clientHeight : 0, E = s ? t.offsetWidth - _ - t.clientWidth : 0, m = i ? b + _ : 0, w = i ? y + v : 0, O = r ? r.width : Et(n.width) - m - E, T = r ? r.height : Et(n.height) - w - S, P = O + b + E + _, L = T + y + S + v, A = $n({
10954
+ var n = getComputedStyle(t), r = Lc(t) && t.ownerSVGElement && t.getBBox(), i = !k3 && n.boxSizing === "border-box", o = M3.test(n.writingMode || ""), s = !r && pu.test(n.overflowY || ""), a = !r && pu.test(n.overflowX || ""), c = r ? 0 : Et(n.paddingTop), l = r ? 0 : Et(n.paddingRight), u = r ? 0 : Et(n.paddingBottom), d = r ? 0 : Et(n.paddingLeft), f = r ? 0 : Et(n.borderTopWidth), g = r ? 0 : Et(n.borderRightWidth), p = r ? 0 : Et(n.borderBottomWidth), h = r ? 0 : Et(n.borderLeftWidth), b = d + l, v = c + u, _ = h + g, y = f + p, S = a ? t.offsetHeight - y - t.clientHeight : 0, E = s ? t.offsetWidth - _ - t.clientWidth : 0, m = i ? b + _ : 0, w = i ? v + y : 0, O = r ? r.width : Et(n.width) - m - E, T = r ? r.height : Et(n.height) - w - S, P = O + b + E + _, L = T + v + S + y, A = $n({
10955
10955
  devicePixelContentBoxSize: vr(Math.round(O * devicePixelRatio), Math.round(T * devicePixelRatio), o),
10956
10956
  borderBoxSize: vr(P, L, o),
10957
10957
  contentBoxSize: vr(O, T, o),
@@ -11186,7 +11186,7 @@ function Lo(t) {
11186
11186
  }
11187
11187
  var Z3 = { box: "border-box" };
11188
11188
  function oa(t, e) {
11189
- var n = e.label, r = e.enabled, i = e.resizeSourceRef, o = ee(0), s = o[0], a = o[1];
11189
+ var n = e.label, r = e.enabled, i = e.resizeSourceRef, o = J(0), s = o[0], a = o[1];
11190
11190
  nn(n + ": " + s);
11191
11191
  var c = H(function(l) {
11192
11192
  a(l[0].borderBoxSize[0].blockSize), i.current = "element";
@@ -11336,8 +11336,8 @@ var _u = { DRAG: { target: "#overlay.dragging", actions: "onOpenEnd" } }, Su = {
11336
11336
  }, initiallyOpen: function(t) {
11337
11337
  return t.initialState === "OPEN";
11338
11338
  } } }), Q3 = ["children", "sibling", "className", "footer", "header", "open", "initialState", "lastSnapRef", "initialFocusRef", "onDismiss", "maxHeight", "defaultSnap", "snapPoints", "blocking", "scrollLocking", "style", "onSpringStart", "onSpringCancel", "onSpringEnd", "reserveScrollBarGap", "expandOnContentDrag"], J3 = ["velocity"], X3 = ["onRest", "config"], gh = Zy.default, Y3 = gh.tension, Ro = gh.friction, e4 = $.forwardRef(function(t, e) {
11339
- var n = t.children, r = t.sibling, i = t.className, o = t.footer, s = t.header, a = t.open, c = t.initialState, l = t.lastSnapRef, u = t.initialFocusRef, d = t.onDismiss, f = t.maxHeight, g = t.defaultSnap, p = g === void 0 ? n4 : g, h = t.snapPoints, b = h === void 0 ? r4 : h, y = t.blocking, _ = y === void 0 || y, v = t.scrollLocking, S = v === void 0 || v, E = t.style, m = t.onSpringStart, w = t.onSpringCancel, O = t.onSpringEnd, T = t.reserveScrollBarGap, P = T === void 0 ? _ : T, L = t.expandOnContentDrag, A = L !== void 0 && L, k = Yo(t, Q3), F = function() {
11340
- var M = ee(!1), W = M[0], U = M[1], ie = ee({}), be = ie[0], le = ie[1], ge = H(function(ve) {
11339
+ var n = t.children, r = t.sibling, i = t.className, o = t.footer, s = t.header, a = t.open, c = t.initialState, l = t.lastSnapRef, u = t.initialFocusRef, d = t.onDismiss, f = t.maxHeight, g = t.defaultSnap, p = g === void 0 ? n4 : g, h = t.snapPoints, b = h === void 0 ? r4 : h, v = t.blocking, _ = v === void 0 || v, y = t.scrollLocking, S = y === void 0 || y, E = t.style, m = t.onSpringStart, w = t.onSpringCancel, O = t.onSpringEnd, T = t.reserveScrollBarGap, P = T === void 0 ? _ : T, L = t.expandOnContentDrag, A = L !== void 0 && L, k = Yo(t, Q3), F = function() {
11340
+ var M = J(!1), W = M[0], U = M[1], ie = J({}), be = ie[0], le = ie[1], ge = H(function(ve) {
11341
11341
  return le(function(Ce) {
11342
11342
  var K;
11343
11343
  return Ve({}, Ce, ((K = {})[ve] = !1, K));
@@ -11352,9 +11352,9 @@ var _u = { DRAG: { target: "#overlay.dragging", actions: "onOpenEnd" } }, Su = {
11352
11352
  var ve = Object.values(be);
11353
11353
  ve.length !== 0 && ve.every(Boolean) && U(!0);
11354
11354
  }, [be]), { ready: W, registerReady: ge };
11355
- }(), G = F.ready, z = F.registerReady, Z = B(!1), J = B(m), he = B(w), pe = B(O);
11355
+ }(), G = F.ready, z = F.registerReady, Z = B(!1), X = B(m), he = B(w), pe = B(O);
11356
11356
  j(function() {
11357
- J.current = m, he.current = w, pe.current = O;
11357
+ X.current = m, he.current = w, pe.current = O;
11358
11358
  }, [w, m, O]);
11359
11359
  var me, ae, Je = Yy(function() {
11360
11360
  return { y: 0, ready: 0, maxHeight: 0, minSnap: 0, maxSnap: 0 };
@@ -11452,7 +11452,7 @@ var _u = { DRAG: { target: "#overlay.dragging", actions: "onOpenEnd" } }, Su = {
11452
11452
  }, [Wr]), Uc = function(Zr, Gc, io) {
11453
11453
  var oo = we(function() {
11454
11454
  return Gc("maxHeight");
11455
- }, [Gc]), Wc = ee(function() {
11455
+ }, [Gc]), Wc = J(function() {
11456
11456
  return Lo(Zr) || typeof window < "u" ? window.innerHeight : 0;
11457
11457
  }), Zc = Wc[0], Fs = Wc[1], Kc = Zc > 0, so = B(0);
11458
11458
  return nn(Zr ? "controlled" : "auto"), j(function() {
@@ -11520,25 +11520,25 @@ var _u = { DRAG: { target: "#overlay.dragging", actions: "onOpenEnd" } }, Su = {
11520
11520
  return pe.current == null ? void 0 : pe.current({ type: "RESIZE", source: Qn.current });
11521
11521
  }, []) }, context: { initialState: c }, services: { onSnapStart: H(function(M, W) {
11522
11522
  try {
11523
- return Promise.resolve(J.current == null ? void 0 : J.current({ type: "SNAP", source: W.payload.source || "custom" }));
11523
+ return Promise.resolve(X.current == null ? void 0 : X.current({ type: "SNAP", source: W.payload.source || "custom" }));
11524
11524
  } catch (U) {
11525
11525
  return Promise.reject(U);
11526
11526
  }
11527
11527
  }, []), onOpenStart: H(function() {
11528
11528
  try {
11529
- return Promise.resolve(J.current == null ? void 0 : J.current({ type: "OPEN" }));
11529
+ return Promise.resolve(X.current == null ? void 0 : X.current({ type: "OPEN" }));
11530
11530
  } catch (M) {
11531
11531
  return Promise.reject(M);
11532
11532
  }
11533
11533
  }, []), onCloseStart: H(function() {
11534
11534
  try {
11535
- return Promise.resolve(J.current == null ? void 0 : J.current({ type: "CLOSE" }));
11535
+ return Promise.resolve(X.current == null ? void 0 : X.current({ type: "CLOSE" }));
11536
11536
  } catch (M) {
11537
11537
  return Promise.reject(M);
11538
11538
  }
11539
11539
  }, []), onResizeStart: H(function() {
11540
11540
  try {
11541
- return Promise.resolve(J.current == null ? void 0 : J.current({ type: "RESIZE", source: Qn.current }));
11541
+ return Promise.resolve(X.current == null ? void 0 : X.current({ type: "RESIZE", source: Qn.current }));
11542
11542
  } catch (M) {
11543
11543
  return Promise.reject(M);
11544
11544
  }
@@ -11706,7 +11706,7 @@ function r4(t) {
11706
11706
  return t.minHeight;
11707
11707
  }
11708
11708
  var i4 = ["onSpringStart", "onSpringEnd", "skipInitialTransition"], vh = Cn(function(t, e) {
11709
- var n = t.onSpringStart, r = t.onSpringEnd, i = t.skipInitialTransition, o = Yo(t, i4), s = ee(!1), a = s[0], c = s[1], l = B(), u = B(null), d = B(i && o.open ? "OPEN" : "CLOSED");
11709
+ var n = t.onSpringStart, r = t.onSpringEnd, i = t.skipInitialTransition, o = Yo(t, i4), s = J(!1), a = s[0], c = s[1], l = B(), u = B(null), d = B(i && o.open ? "OPEN" : "CLOSED");
11710
11710
  Ei(function() {
11711
11711
  if (o.open)
11712
11712
  return cancelAnimationFrame(l.current), c(!0), function() {
@@ -11752,7 +11752,7 @@ const yh = 28, o4 = "MapGoogle-module__root__Vi-sMl", s4 = "MapGoogle-module__ma
11752
11752
  submitLoading: s,
11753
11753
  ...a
11754
11754
  }) => {
11755
- const [c, l] = ee(!1);
11755
+ const [c, l] = J(!1);
11756
11756
  return j(() => {
11757
11757
  let u;
11758
11758
  return i ? u = setTimeout(() => {
@@ -11801,7 +11801,7 @@ const yh = 28, o4 = "MapGoogle-module__root__Vi-sMl", s4 = "MapGoogle-module__ma
11801
11801
  header: Fe.locationViewHeader,
11802
11802
  content: Fe.locationViewContent
11803
11803
  }, _4 = ({ handleCloseClick: t, handleSubmitClick: e }) => {
11804
- const n = Zn("screenSm"), r = ut((c) => c.location), i = !!r, o = wc({ isSelectedPoint: i }), { isIdle: s } = X();
11804
+ const n = Zn("screenSm"), r = ut((c) => c.location), i = !!r, o = wc({ isSelectedPoint: i }), { isIdle: s } = Y();
11805
11805
  return n && r ? /* @__PURE__ */ C(
11806
11806
  bh,
11807
11807
  {
@@ -11814,7 +11814,7 @@ const yh = 28, o4 = "MapGoogle-module__root__Vi-sMl", s4 = "MapGoogle-module__ma
11814
11814
  ) : null;
11815
11815
  }, S4 = "Overlay-module__root__3qTsUC", C4 = {
11816
11816
  root: S4
11817
- }, wh = ({ children: t, className: e }) => /* @__PURE__ */ C("div", { className: Y(C4.root, e), children: t }), E4 = (t) => /* @__PURE__ */ I.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", ...t }, /* @__PURE__ */ I.createElement("path", { d: "M25.7074 24.2926C25.8004 24.3855 25.8741 24.4958 25.9243 24.6172C25.9746 24.7386 26.0005 24.8687 26.0005 25.0001C26.0005 25.1315 25.9746 25.2616 25.9243 25.383C25.8741 25.5044 25.8004 25.6147 25.7074 25.7076C25.6145 25.8005 25.5042 25.8742 25.3828 25.9245C25.2614 25.9747 25.1313 26.0006 24.9999 26.0006C24.8686 26.0006 24.7384 25.9747 24.6171 25.9245C24.4957 25.8742 24.3854 25.8005 24.2924 25.7076L15.9999 17.4138L7.70745 25.7076C7.5198 25.8952 7.26531 26.0006 6.99995 26.0006C6.73458 26.0006 6.48009 25.8952 6.29245 25.7076C6.1048 25.5199 5.99939 25.2654 5.99939 25.0001C5.99939 24.7347 6.10481 24.4802 6.29245 24.2926L14.5862 16.0001L6.29245 7.70757C6.1048 7.51993 5.99939 7.26543 5.99939 7.00007C5.99939 6.7347 6.1048 6.48021 6.29245 6.29257C6.48009 6.10493 6.73458 5.99951 6.99995 5.99951C7.26531 5.99951 7.5198 6.10493 7.70745 6.29257L15.9999 14.5863L24.2924 6.29257C24.4801 6.10493 24.7346 5.99951 24.9999 5.99951C25.2653 5.99951 25.5198 6.10493 25.7074 6.29257C25.8951 6.48021 26.0005 6.7347 26.0005 7.00007C26.0005 7.26543 25.8951 7.51993 25.7074 7.70757L17.4137 16.0001L25.7074 24.2926Z", fill: "#000000" })), O4 = '<svg xmlns="http://www.w3.org/2000/svg" width="48" height="66" fill="none" viewBox="0 0 48 66"><path fill="url(#a)" fill-opacity=".4" d="M23.999 66C35.045 66 44 63.314 44 60s-8.955-6-20.001-6C12.955 54 4 56.686 4 60s8.955 6 19.999 6Z" style="mix-blend-mode:darken"/><g filter="url(#b)"><path fill="currentColor" fill-opacity=".8" fill-rule="evenodd" d="M24 0c11.211 0 24 8.288 24 24.088C48 34.6 40.011 48.411 24 60 7.989 48.41 0 34.6 0 24.088 0 8.288 12.789 0 24 0Z" clip-rule="evenodd"/></g><path fill="#fff" fill-rule="evenodd" d="M36.503 33.501V19.625a3 3 0 0 0-1.583-2.645l-9.502-5.091a3 3 0 0 0-2.834 0l-9.501 5.091a3 3 0 0 0-1.583 2.645V33.5a3 3 0 0 0 3 3h19.003a3 3 0 0 0 3-3Zm-7.752 1h4.752a1 1 0 0 0 1-1V19.625a1 1 0 0 0-.528-.882l-9.501-5.091a1 1 0 0 0-.945 0l-9.501 5.091a1 1 0 0 0-.528.882V33.5a1 1 0 0 0 1 1h4.75a2.516 2.516 0 0 1-.05-.5V23.747a2.5 2.5 0 0 1 2.5-2.5h4.602a2.5 2.5 0 0 1 2.5 2.5V34c0 .172-.018.339-.05.5Zm-2.434 0a.5.5 0 0 0 .485-.5V23.747a.5.5 0 0 0-.5-.5H21.7a.5.5 0 0 0-.5.5V34a.5.5 0 0 0 .484.5h4.632Z" clip-rule="evenodd"/><defs><radialGradient id="a" cx="0" cy="0" r="1" gradientTransform="matrix(0 6 -20 0 24 60)" gradientUnits="userSpaceOnUse"><stop/><stop offset="1" stop-opacity="0"/></radialGradient><filter id="b" width="56" height="68" x="-4" y="-4" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feGaussianBlur in="BackgroundImageFix" stdDeviation="2"/><feComposite in2="SourceAlpha" operator="in" result="effect1_backgroundBlur_1068_16960"/><feBlend in="SourceGraphic" in2="effect1_backgroundBlur_1068_16960" result="shape"/></filter></defs></svg>', x4 = `<svg xmlns="http://www.w3.org/2000/svg" width="48" height="66" viewBox="0 0 48 66" fill="none">
11817
+ }, wh = ({ children: t, className: e }) => /* @__PURE__ */ C("div", { className: ee(C4.root, e), children: t }), E4 = (t) => /* @__PURE__ */ I.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 32, height: 32, viewBox: "0 0 32 32", fill: "none", ...t }, /* @__PURE__ */ I.createElement("path", { d: "M25.7074 24.2926C25.8004 24.3855 25.8741 24.4958 25.9243 24.6172C25.9746 24.7386 26.0005 24.8687 26.0005 25.0001C26.0005 25.1315 25.9746 25.2616 25.9243 25.383C25.8741 25.5044 25.8004 25.6147 25.7074 25.7076C25.6145 25.8005 25.5042 25.8742 25.3828 25.9245C25.2614 25.9747 25.1313 26.0006 24.9999 26.0006C24.8686 26.0006 24.7384 25.9747 24.6171 25.9245C24.4957 25.8742 24.3854 25.8005 24.2924 25.7076L15.9999 17.4138L7.70745 25.7076C7.5198 25.8952 7.26531 26.0006 6.99995 26.0006C6.73458 26.0006 6.48009 25.8952 6.29245 25.7076C6.1048 25.5199 5.99939 25.2654 5.99939 25.0001C5.99939 24.7347 6.10481 24.4802 6.29245 24.2926L14.5862 16.0001L6.29245 7.70757C6.1048 7.51993 5.99939 7.26543 5.99939 7.00007C5.99939 6.7347 6.1048 6.48021 6.29245 6.29257C6.48009 6.10493 6.73458 5.99951 6.99995 5.99951C7.26531 5.99951 7.5198 6.10493 7.70745 6.29257L15.9999 14.5863L24.2924 6.29257C24.4801 6.10493 24.7346 5.99951 24.9999 5.99951C25.2653 5.99951 25.5198 6.10493 25.7074 6.29257C25.8951 6.48021 26.0005 6.7347 26.0005 7.00007C26.0005 7.26543 25.8951 7.51993 25.7074 7.70757L17.4137 16.0001L25.7074 24.2926Z", fill: "#000000" })), O4 = '<svg xmlns="http://www.w3.org/2000/svg" width="48" height="66" fill="none" viewBox="0 0 48 66"><path fill="url(#a)" fill-opacity=".4" d="M23.999 66C35.045 66 44 63.314 44 60s-8.955-6-20.001-6C12.955 54 4 56.686 4 60s8.955 6 19.999 6Z" style="mix-blend-mode:darken"/><g filter="url(#b)"><path fill="currentColor" fill-opacity=".8" fill-rule="evenodd" d="M24 0c11.211 0 24 8.288 24 24.088C48 34.6 40.011 48.411 24 60 7.989 48.41 0 34.6 0 24.088 0 8.288 12.789 0 24 0Z" clip-rule="evenodd"/></g><path fill="#fff" fill-rule="evenodd" d="M36.503 33.501V19.625a3 3 0 0 0-1.583-2.645l-9.502-5.091a3 3 0 0 0-2.834 0l-9.501 5.091a3 3 0 0 0-1.583 2.645V33.5a3 3 0 0 0 3 3h19.003a3 3 0 0 0 3-3Zm-7.752 1h4.752a1 1 0 0 0 1-1V19.625a1 1 0 0 0-.528-.882l-9.501-5.091a1 1 0 0 0-.945 0l-9.501 5.091a1 1 0 0 0-.528.882V33.5a1 1 0 0 0 1 1h4.75a2.516 2.516 0 0 1-.05-.5V23.747a2.5 2.5 0 0 1 2.5-2.5h4.602a2.5 2.5 0 0 1 2.5 2.5V34c0 .172-.018.339-.05.5Zm-2.434 0a.5.5 0 0 0 .485-.5V23.747a.5.5 0 0 0-.5-.5H21.7a.5.5 0 0 0-.5.5V34a.5.5 0 0 0 .484.5h4.632Z" clip-rule="evenodd"/><defs><radialGradient id="a" cx="0" cy="0" r="1" gradientTransform="matrix(0 6 -20 0 24 60)" gradientUnits="userSpaceOnUse"><stop/><stop offset="1" stop-opacity="0"/></radialGradient><filter id="b" width="56" height="68" x="-4" y="-4" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feGaussianBlur in="BackgroundImageFix" stdDeviation="2"/><feComposite in2="SourceAlpha" operator="in" result="effect1_backgroundBlur_1068_16960"/><feBlend in="SourceGraphic" in2="effect1_backgroundBlur_1068_16960" result="shape"/></filter></defs></svg>', x4 = `<svg xmlns="http://www.w3.org/2000/svg" width="48" height="66" viewBox="0 0 48 66" fill="none">
11818
11818
  <path
11819
11819
  d="M23.999 66C35.0452 66 44 63.3137 44 59.9999C44 56.6863 35.0452 54 23.999 54C12.9548 54 4 56.6863 4 59.9999C4 63.3137 12.9548 66 23.999 66Z"
11820
11820
  fill="url(#paint0_radial_10036_91741)" fill-opacity="0.4" />
@@ -12327,8 +12327,8 @@ function xh(t) {
12327
12327
  r || (r = !0, (b = t.onError) == null || b.call(t, h), i == null || i(), o.reject(h));
12328
12328
  }, g = () => new Promise((h) => {
12329
12329
  var b;
12330
- i = (y) => {
12331
- (r || l()) && h(y);
12330
+ i = (v) => {
12331
+ (r || l()) && h(v);
12332
12332
  }, (b = t.onPause) == null || b.call(t);
12333
12333
  }).then(() => {
12334
12334
  var h;
@@ -12340,20 +12340,20 @@ function xh(t) {
12340
12340
  const b = n === 0 ? t.initialPromise : void 0;
12341
12341
  try {
12342
12342
  h = b ?? t.fn();
12343
- } catch (y) {
12344
- h = Promise.reject(y);
12343
+ } catch (v) {
12344
+ h = Promise.reject(v);
12345
12345
  }
12346
- Promise.resolve(h).then(d).catch((y) => {
12346
+ Promise.resolve(h).then(d).catch((v) => {
12347
12347
  var m;
12348
12348
  if (r)
12349
12349
  return;
12350
- const _ = t.retry ?? (Gn ? 0 : 3), v = t.retryDelay ?? e5, S = typeof v == "function" ? v(n, y) : v, E = _ === !0 || typeof _ == "number" && n < _ || typeof _ == "function" && _(n, y);
12350
+ const _ = t.retry ?? (Gn ? 0 : 3), y = t.retryDelay ?? e5, S = typeof y == "function" ? y(n, v) : y, E = _ === !0 || typeof _ == "number" && n < _ || typeof _ == "function" && _(n, v);
12351
12351
  if (e || !E) {
12352
- f(y);
12352
+ f(v);
12353
12353
  return;
12354
12354
  }
12355
- n++, (m = t.onFail) == null || m.call(t, n, y), K4(S).then(() => l() ? void 0 : g()).then(() => {
12356
- e ? f(y) : p();
12355
+ n++, (m = t.onFail) == null || m.call(t, n, v), K4(S).then(() => l() ? void 0 : g()).then(() => {
12356
+ e ? f(v) : p();
12357
12357
  });
12358
12358
  });
12359
12359
  };
@@ -12834,7 +12834,7 @@ var xt, Yu, i5 = (Yu = class extends Qi {
12834
12834
  this.execute(this.state.variables);
12835
12835
  }
12836
12836
  async execute(e) {
12837
- var i, o, s, a, c, l, u, d, f, g, p, h, b, y, _, v, S, E, m, w;
12837
+ var i, o, s, a, c, l, u, d, f, g, p, h, b, v, _, y, S, E, m, w;
12838
12838
  V(this, In, xh({
12839
12839
  fn: () => this.options.mutationFn ? this.options.mutationFn(e) : Promise.reject(new Error("No mutationFn found")),
12840
12840
  onFail: (O, T) => {
@@ -12884,13 +12884,13 @@ var xt, Yu, i5 = (Yu = class extends Qi {
12884
12884
  )), await ((h = (p = this.options).onSettled) == null ? void 0 : h.call(p, O, null, e, this.state.context)), te(this, At, on).call(this, { type: "success", data: O }), O;
12885
12885
  } catch (O) {
12886
12886
  try {
12887
- throw await ((y = (b = x(this, $e).config).onError) == null ? void 0 : y.call(
12887
+ throw await ((v = (b = x(this, $e).config).onError) == null ? void 0 : v.call(
12888
12888
  b,
12889
12889
  O,
12890
12890
  e,
12891
12891
  this.state.context,
12892
12892
  this
12893
- )), await ((v = (_ = this.options).onError) == null ? void 0 : v.call(
12893
+ )), await ((y = (_ = this.options).onError) == null ? void 0 : y.call(
12894
12894
  _,
12895
12895
  O,
12896
12896
  e,
@@ -13079,18 +13079,18 @@ function Tu(t) {
13079
13079
  let a = { pages: [], pageParams: [] }, c = 0;
13080
13080
  const l = async () => {
13081
13081
  let h = !1;
13082
- const b = (v) => {
13083
- Object.defineProperty(v, "signal", {
13082
+ const b = (y) => {
13083
+ Object.defineProperty(y, "signal", {
13084
13084
  enumerable: !0,
13085
13085
  get: () => (e.signal.aborted ? h = !0 : e.signal.addEventListener("abort", () => {
13086
13086
  h = !0;
13087
13087
  }), e.signal)
13088
13088
  });
13089
- }, y = Ch(e.options, e.fetchOptions), _ = async (v, S, E) => {
13089
+ }, v = Ch(e.options, e.fetchOptions), _ = async (y, S, E) => {
13090
13090
  if (h)
13091
13091
  return Promise.reject();
13092
- if (S == null && v.pages.length)
13093
- return Promise.resolve(v);
13092
+ if (S == null && y.pages.length)
13093
+ return Promise.resolve(y);
13094
13094
  const m = {
13095
13095
  queryKey: e.queryKey,
13096
13096
  pageParam: S,
@@ -13098,28 +13098,28 @@ function Tu(t) {
13098
13098
  meta: e.options.meta
13099
13099
  };
13100
13100
  b(m);
13101
- const w = await y(
13101
+ const w = await v(
13102
13102
  m
13103
13103
  ), { maxPages: O } = e.options, T = E ? J4 : Q4;
13104
13104
  return {
13105
- pages: T(v.pages, w, O),
13106
- pageParams: T(v.pageParams, S, O)
13105
+ pages: T(y.pages, w, O),
13106
+ pageParams: T(y.pageParams, S, O)
13107
13107
  };
13108
13108
  };
13109
13109
  if (i && o.length) {
13110
- const v = i === "backward", S = v ? c5 : Au, E = {
13110
+ const y = i === "backward", S = y ? c5 : Au, E = {
13111
13111
  pages: o,
13112
13112
  pageParams: s
13113
13113
  }, m = S(r, E);
13114
- a = await _(E, m, v);
13114
+ a = await _(E, m, y);
13115
13115
  } else {
13116
- const v = t ?? o.length;
13116
+ const y = t ?? o.length;
13117
13117
  do {
13118
13118
  const S = c === 0 ? s[0] ?? r.initialPageParam : Au(r, a);
13119
13119
  if (c > 0 && S == null)
13120
13120
  break;
13121
13121
  a = await _(a, S), c++;
13122
- } while (c < v);
13122
+ } while (c < y);
13123
13123
  }
13124
13124
  return a;
13125
13125
  };
@@ -13516,12 +13516,12 @@ var xe, mn, gn, Or, xr, vn, Tr, Ar, nd, l5 = (nd = class {
13516
13516
  ), f = !0);
13517
13517
  }
13518
13518
  x(this, Pt) && (p = x(this, Pt), g = x(this, Lr), h = Date.now(), b = "error");
13519
- const y = d.fetchStatus === "fetching", _ = b === "pending", v = b === "error", S = _ && y, E = g !== void 0, w = {
13519
+ const v = d.fetchStatus === "fetching", _ = b === "pending", y = b === "error", S = _ && v, E = g !== void 0, w = {
13520
13520
  status: b,
13521
13521
  fetchStatus: d.fetchStatus,
13522
13522
  isPending: _,
13523
13523
  isSuccess: b === "success",
13524
- isError: v,
13524
+ isError: y,
13525
13525
  isInitialLoading: S,
13526
13526
  isLoading: S,
13527
13527
  data: g,
@@ -13533,12 +13533,12 @@ var xe, mn, gn, Or, xr, vn, Tr, Ar, nd, l5 = (nd = class {
13533
13533
  errorUpdateCount: d.errorUpdateCount,
13534
13534
  isFetched: d.dataUpdateCount > 0 || d.errorUpdateCount > 0,
13535
13535
  isFetchedAfterMount: d.dataUpdateCount > l.dataUpdateCount || d.errorUpdateCount > l.errorUpdateCount,
13536
- isFetching: y,
13537
- isRefetching: y && !_,
13538
- isLoadingError: v && !E,
13536
+ isFetching: v,
13537
+ isRefetching: v && !_,
13538
+ isLoadingError: y && !E,
13539
13539
  isPaused: d.fetchStatus === "paused",
13540
13540
  isPlaceholderData: f,
13541
- isRefetchError: v && E,
13541
+ isRefetchError: y && E,
13542
13542
  isStale: Nc(e, n),
13543
13543
  refetch: this.refetch,
13544
13544
  promise: x(this, yn)
@@ -13771,7 +13771,7 @@ async function A5(t) {
13771
13771
  })).data.data;
13772
13772
  }
13773
13773
  function P5() {
13774
- const [t, e] = ee(""), { setLMSData: n, setLoading: r } = As(), { data: i, isLoading: o } = Mh({
13774
+ const [t, e] = J(""), { setLMSData: n, setLoading: r } = As(), { data: i, isLoading: o } = Mh({
13775
13775
  queryKey: ["lms-data", t],
13776
13776
  queryFn: () => A5(t),
13777
13777
  enabled: !!t,
@@ -13921,7 +13921,7 @@ function kh(t, e, n, r) {
13921
13921
  var Z5 = "[object Arguments]", K5 = "[object Boolean]", Q5 = "[object Date]", J5 = "[object Error]", X5 = "[object Map]", Y5 = "[object Number]", eb = "[object Object]", tb = "[object RegExp]", nb = "[object Set]", rb = "[object String]", ib = "[object URL]", ob = Array.isArray, ju = typeof ArrayBuffer == "function" && ArrayBuffer.isView ? ArrayBuffer.isView : null, Bu = Object.assign, sb = Object.prototype.toString.call.bind(Object.prototype.toString);
13922
13922
  function ab(t) {
13923
13923
  var e = t.areArraysEqual, n = t.areDatesEqual, r = t.areErrorsEqual, i = t.areFunctionsEqual, o = t.areMapsEqual, s = t.areNumbersEqual, a = t.areObjectsEqual, c = t.arePrimitiveWrappersEqual, l = t.areRegExpsEqual, u = t.areSetsEqual, d = t.areTypedArraysEqual, f = t.areUrlsEqual, g = t.unknownTagComparators;
13924
- return function(h, b, y) {
13924
+ return function(h, b, v) {
13925
13925
  if (h === b)
13926
13926
  return !0;
13927
13927
  if (h == null || b == null)
@@ -13930,43 +13930,43 @@ function ab(t) {
13930
13930
  if (_ !== typeof b)
13931
13931
  return !1;
13932
13932
  if (_ !== "object")
13933
- return _ === "number" ? s(h, b, y) : _ === "function" ? i(h, b, y) : !1;
13934
- var v = h.constructor;
13935
- if (v !== b.constructor)
13933
+ return _ === "number" ? s(h, b, v) : _ === "function" ? i(h, b, v) : !1;
13934
+ var y = h.constructor;
13935
+ if (y !== b.constructor)
13936
13936
  return !1;
13937
- if (v === Object)
13938
- return a(h, b, y);
13937
+ if (y === Object)
13938
+ return a(h, b, v);
13939
13939
  if (ob(h))
13940
- return e(h, b, y);
13940
+ return e(h, b, v);
13941
13941
  if (ju != null && ju(h))
13942
- return d(h, b, y);
13943
- if (v === Date)
13944
- return n(h, b, y);
13945
- if (v === RegExp)
13946
- return l(h, b, y);
13947
- if (v === Map)
13948
- return o(h, b, y);
13949
- if (v === Set)
13950
- return u(h, b, y);
13942
+ return d(h, b, v);
13943
+ if (y === Date)
13944
+ return n(h, b, v);
13945
+ if (y === RegExp)
13946
+ return l(h, b, v);
13947
+ if (y === Map)
13948
+ return o(h, b, v);
13949
+ if (y === Set)
13950
+ return u(h, b, v);
13951
13951
  var S = sb(h);
13952
13952
  if (S === Q5)
13953
- return n(h, b, y);
13953
+ return n(h, b, v);
13954
13954
  if (S === tb)
13955
- return l(h, b, y);
13955
+ return l(h, b, v);
13956
13956
  if (S === X5)
13957
- return o(h, b, y);
13957
+ return o(h, b, v);
13958
13958
  if (S === nb)
13959
- return u(h, b, y);
13959
+ return u(h, b, v);
13960
13960
  if (S === eb)
13961
- return typeof h.then != "function" && typeof b.then != "function" && a(h, b, y);
13961
+ return typeof h.then != "function" && typeof b.then != "function" && a(h, b, v);
13962
13962
  if (S === ib)
13963
- return f(h, b, y);
13963
+ return f(h, b, v);
13964
13964
  if (S === J5)
13965
- return r(h, b, y);
13965
+ return r(h, b, v);
13966
13966
  if (S === Z5)
13967
- return a(h, b, y);
13967
+ return a(h, b, v);
13968
13968
  if (S === K5 || S === Y5 || S === rb)
13969
- return c(h, b, y);
13969
+ return c(h, b, v);
13970
13970
  if (g) {
13971
13971
  var E = g[S];
13972
13972
  if (!E) {
@@ -13974,7 +13974,7 @@ function ab(t) {
13974
13974
  m && (E = g[m]);
13975
13975
  }
13976
13976
  if (E)
13977
- return E(h, b, y);
13977
+ return E(h, b, v);
13978
13978
  }
13979
13979
  return !1;
13980
13980
  };
@@ -14160,8 +14160,8 @@ class Ic {
14160
14160
  const u = c.pop() || 0, d = c.pop() || 0, f = c.pop() || 0;
14161
14161
  if (d - f <= a) {
14162
14162
  for (let b = f; b <= d; b++) {
14163
- const y = s[2 * b], _ = s[2 * b + 1];
14164
- y >= e && y <= r && _ >= n && _ <= i && l.push(o[b]);
14163
+ const v = s[2 * b], _ = s[2 * b + 1];
14164
+ v >= e && v <= r && _ >= n && _ <= i && l.push(o[b]);
14165
14165
  }
14166
14166
  continue;
14167
14167
  }
@@ -14389,8 +14389,8 @@ class fb {
14389
14389
  else {
14390
14390
  const h = this.points[n[c + ln]];
14391
14391
  u = h.properties;
14392
- const [b, y] = h.geometry.coordinates;
14393
- d = No(b), f = Io(y);
14392
+ const [b, v] = h.geometry.coordinates;
14393
+ d = No(b), f = Io(v);
14394
14394
  }
14395
14395
  const g = {
14396
14396
  type: 1,
@@ -14415,12 +14415,12 @@ class fb {
14415
14415
  c[d + Tn] = n;
14416
14416
  const f = c[d], g = c[d + 1], p = e.within(c[d], c[d + 1], a), h = c[d + sn];
14417
14417
  let b = h;
14418
- for (const y of p) {
14419
- const _ = y * u;
14418
+ for (const v of p) {
14419
+ const _ = v * u;
14420
14420
  c[_ + Tn] > n && (b += c[_ + sn]);
14421
14421
  }
14422
14422
  if (b > h && b >= s) {
14423
- let y = f * h, _ = g * h, v, S = -1;
14423
+ let v = f * h, _ = g * h, y, S = -1;
14424
14424
  const E = ((d / u | 0) << 5) + (n + 1) + this.points.length;
14425
14425
  for (const m of p) {
14426
14426
  const w = m * u;
@@ -14428,19 +14428,19 @@ class fb {
14428
14428
  continue;
14429
14429
  c[w + Tn] = n;
14430
14430
  const O = c[w + sn];
14431
- y += c[w] * O, _ += c[w + 1] * O, c[w + la] = E, o && (v || (v = this._map(c, d, !0), S = this.clusterProps.length, this.clusterProps.push(v)), o(v, this._map(c, w)));
14431
+ v += c[w] * O, _ += c[w + 1] * O, c[w + la] = E, o && (y || (y = this._map(c, d, !0), S = this.clusterProps.length, this.clusterProps.push(y)), o(y, this._map(c, w)));
14432
14432
  }
14433
- c[d + la] = E, l.push(y / b, _ / b, 1 / 0, E, -1, b), o && l.push(S);
14433
+ c[d + la] = E, l.push(v / b, _ / b, 1 / 0, E, -1, b), o && l.push(S);
14434
14434
  } else {
14435
- for (let y = 0; y < u; y++)
14436
- l.push(c[d + y]);
14435
+ for (let v = 0; v < u; v++)
14436
+ l.push(c[d + v]);
14437
14437
  if (b > 1)
14438
- for (const y of p) {
14439
- const _ = y * u;
14438
+ for (const v of p) {
14439
+ const _ = v * u;
14440
14440
  if (!(c[_ + Tn] <= n)) {
14441
14441
  c[_ + Tn] = n;
14442
- for (let v = 0; v < u; v++)
14443
- l.push(c[_ + v]);
14442
+ for (let y = 0; y < u; y++)
14443
+ l.push(c[_ + y]);
14444
14444
  }
14445
14445
  }
14446
14446
  }
@@ -14841,7 +14841,7 @@ const Eb = "LocationBalloon-module__root__GtUl6q", Ob = "LocationBalloon-module_
14841
14841
  }) => {
14842
14842
  var h;
14843
14843
  const { logo: l = "default" } = _e(), { isLoading: u, lmsData: d } = As(), f = (h = d == null ? void 0 : d.location) == null ? void 0 : h.what3words, g = !!(f != null && f.id), p = Db[l];
14844
- return /* @__PURE__ */ N("div", { className: Y(Ot.root, e), children: [
14844
+ return /* @__PURE__ */ N("div", { className: ee(Ot.root, e), children: [
14845
14845
  /* @__PURE__ */ N("div", { className: Ot.header, children: [
14846
14846
  /* @__PURE__ */ N("div", { className: Ot.titleContainer, children: [
14847
14847
  u ? /* @__PURE__ */ C(et, { circle: !0, width: 40, height: 40 }) : /* @__PURE__ */ C("div", { className: Ot.icon, children: /* @__PURE__ */ C(p, {}) }),
@@ -14892,7 +14892,7 @@ const Eb = "LocationBalloon-module__root__GtUl6q", Ob = "LocationBalloon-module_
14892
14892
  point: i,
14893
14893
  setMarkerRef: o
14894
14894
  }) => {
14895
- const [s, a] = ee(!1), { hideDetails: c, iconType: l, palette: u } = _e(), d = B(null), { closeSamePoints: f } = It(), g = ut((O) => O.location), p = (u == null ? void 0 : u.primary) || "#fc0", h = l === "omni-llama" ? Ye.PinLlama : Ye.PinOmnic, b = !!i && (g == null ? void 0 : g.uid) === i.uid, y = Zn("screenSm"), { isIdle: _ } = X(), v = wc({ isSelectedPoint: b }), S = _ && b && v && s;
14895
+ const [s, a] = J(!1), { hideDetails: c, iconType: l, palette: u } = _e(), d = B(null), { closeSamePoints: f } = It(), g = ut((O) => O.location), p = (u == null ? void 0 : u.primary) || "#fc0", h = l === "omni-llama" ? Ye.PinLlama : Ye.PinOmnic, b = !!i && (g == null ? void 0 : g.uid) === i.uid, v = Zn("screenSm"), { isIdle: _ } = Y(), y = wc({ isSelectedPoint: b }), S = _ && b && y && s;
14896
14896
  j(() => {
14897
14897
  d.current && a(d.current.checkVisibility() ?? !1);
14898
14898
  }, [i]);
@@ -14939,7 +14939,7 @@ const Eb = "LocationBalloon-module__root__GtUl6q", Ob = "LocationBalloon-module_
14939
14939
  },
14940
14940
  i.uid
14941
14941
  ),
14942
- S && !y && /* @__PURE__ */ C(rf, { anchor: d.current || void 0, onCloseClick: t, children: /* @__PURE__ */ C(
14942
+ S && !v && /* @__PURE__ */ C(rf, { anchor: d.current || void 0, onCloseClick: t, children: /* @__PURE__ */ C(
14943
14943
  Nb,
14944
14944
  {
14945
14945
  ...i,
@@ -14965,10 +14965,10 @@ const Eb = "LocationBalloon-module__root__GtUl6q", Ob = "LocationBalloon-module_
14965
14965
  });
14966
14966
  if (!b.length)
14967
14967
  return;
14968
- const { lat: y, lng: _ } = b[0];
14969
- if (b.every((S) => S.lat === y && S.lng === _)) {
14968
+ const { lat: v, lng: _ } = b[0];
14969
+ if (b.every((S) => S.lat === v && S.lng === _)) {
14970
14970
  const S = e.filter(
14971
- ({ location: { latitude: E, longitude: m } }) => E === y && m === _
14971
+ ({ location: { latitude: E, longitude: m } }) => E === v && m === _
14972
14972
  );
14973
14973
  r(S), i == null || i(S);
14974
14974
  return;
@@ -14999,7 +14999,7 @@ const Eb = "LocationBalloon-module__root__GtUl6q", Ob = "LocationBalloon-module_
14999
14999
  map: null,
15000
15000
  onClusterClick: s
15001
15001
  })
15002
- ), l = B([]), [u, d] = ee([]);
15002
+ ), l = B([]), [u, d] = J([]);
15003
15003
  j(() => {
15004
15004
  d([]), c.current.clearMarkers();
15005
15005
  }, [e, o]), j(() => {
@@ -15017,8 +15017,8 @@ const Eb = "LocationBalloon-module__root__GtUl6q", Ob = "LocationBalloon-module_
15017
15017
  {
15018
15018
  point: g,
15019
15019
  handleCloseClick: t,
15020
- setMarkerRef: (y) => {
15021
- y && (l.current.push(y), b && f([...l.current]));
15020
+ setMarkerRef: (v) => {
15021
+ v && (l.current.push(v), b && f([...l.current]));
15022
15022
  },
15023
15023
  ...n
15024
15024
  },
@@ -15051,17 +15051,17 @@ const Eb = "LocationBalloon-module__root__GtUl6q", Ob = "LocationBalloon-module_
15051
15051
  const { onWarehouseSelect: c, warehouseSelection: l } = _e(), { setWarehousePoint: u, warehousePoint: d } = Ie(), f = a === "error", g = a === "default", p = /* @__PURE__ */ function() {
15052
15052
  return l ? t ? "{ courier_balloon.warehouse_title }" : /* @__PURE__ */ C(zt, { keyName: "warehouse_title", ns: "courier_balloon" }) : t ? "{ courier_balloon.title }" : /* @__PURE__ */ C(zt, { keyName: "title", ns: "courier_balloon" });
15053
15053
  }(), h = t ? "{ courier_balloon.error_title }" : /* @__PURE__ */ C(zt, { keyName: "error_title", ns: "courier_balloon" }), b = t ? "{ courier_balloon.error_description }" : /* @__PURE__ */ C(zt, { keyName: "error_description", ns: "courier_balloon" });
15054
- function y() {
15054
+ function v() {
15055
15055
  d && (c == null || c(d), u(null));
15056
15056
  }
15057
- const { label: _, onClick: v } = l ? {
15058
- onClick: y,
15057
+ const { label: _, onClick: y } = l ? {
15058
+ onClick: v,
15059
15059
  label: t ? "{ select }" : /* @__PURE__ */ C(zt, { keyName: "select", ns: "common" })
15060
15060
  } : {
15061
15061
  onClick: s,
15062
15062
  label: t ? "{ details }" : /* @__PURE__ */ C(zt, { keyName: "details", ns: "common" })
15063
15063
  };
15064
- return /* @__PURE__ */ N("div", { className: Y(Ut.root, n, Ut[`${a}Variant`]), children: [
15064
+ return /* @__PURE__ */ N("div", { className: ee(Ut.root, n, Ut[`${a}Variant`]), children: [
15065
15065
  /* @__PURE__ */ N("div", { className: Ut.header, children: [
15066
15066
  /* @__PURE__ */ C(Fh, { className: Ut.logo }),
15067
15067
  /* @__PURE__ */ C("span", { className: Ut.title, children: f ? h : p }),
@@ -15074,8 +15074,8 @@ const Eb = "LocationBalloon-module__root__GtUl6q", Ob = "LocationBalloon-module_
15074
15074
  id: cd,
15075
15075
  as: "button",
15076
15076
  variant: "primary",
15077
- className: Y(Ut.details, l ? Ut.wh : ""),
15078
- onClick: v,
15077
+ className: ee(Ut.details, l ? Ut.wh : ""),
15078
+ onClick: y,
15079
15079
  children: _
15080
15080
  }
15081
15081
  ) })
@@ -15087,7 +15087,7 @@ const Eb = "LocationBalloon-module__root__GtUl6q", Ob = "LocationBalloon-module_
15087
15087
  "div",
15088
15088
  {
15089
15089
  ...r,
15090
- className: Y(qu.root, n, {
15090
+ className: ee(qu.root, n, {
15091
15091
  [qu.active]: t
15092
15092
  }),
15093
15093
  children: e
@@ -15120,7 +15120,7 @@ const Eb = "LocationBalloon-module__root__GtUl6q", Ob = "LocationBalloon-module_
15120
15120
  {
15121
15121
  ...o,
15122
15122
  ref: c,
15123
- className: Y(e6.root, t),
15123
+ className: ee(e6.root, t),
15124
15124
  onBlur: n,
15125
15125
  onFocus: i,
15126
15126
  onChange: r
@@ -15162,7 +15162,7 @@ const Eb = "LocationBalloon-module__root__GtUl6q", Ob = "LocationBalloon-module_
15162
15162
  }, h6 = Cn(
15163
15163
  ({ classes: t, hideActions: e, location: n, onChange: r, onClose: i, onSubmit: o }, s) => {
15164
15164
  var m;
15165
- const { hideDeliveryTime: a, inputs: c, locale: l } = _e(), { t: u } = _t(["details_modal", "courier_balloon", "common"]), d = we(() => t6({ set: r, hideDeliveryTime: a }), [a, r]), [f, g] = ee(!1), [p, h] = lc(d, {
15165
+ const { hideDeliveryTime: a, inputs: c, locale: l } = _e(), { t: u } = _t(["details_modal", "courier_balloon", "common"]), d = we(() => t6({ set: r, hideDeliveryTime: a }), [a, r]), [f, g] = J(!1), [p, h] = lc(d, {
15166
15166
  comment: "",
15167
15167
  delivery_time: "",
15168
15168
  apartment_number: "",
@@ -15191,22 +15191,22 @@ const Eb = "LocationBalloon-module__root__GtUl6q", Ob = "LocationBalloon-module_
15191
15191
  }
15192
15192
  }, [l, n.address, o, p]);
15193
15193
  Kt(s, () => ({ submit: b }), [b]);
15194
- const y = (w) => () => {
15194
+ const v = (w) => () => {
15195
15195
  h({ payload: w, type: "SET_DELIVERY_TIME" });
15196
15196
  }, _ = (w) => {
15197
15197
  h({ payload: w.target.value, type: "SET_APARTMENT_NUMBER" });
15198
- }, v = (w) => {
15198
+ }, y = (w) => {
15199
15199
  h({ payload: w.target.value, type: "SET_COMMENT" });
15200
15200
  }, S = ys(c == null ? void 0 : c.apartment), E = ys(c == null ? void 0 : c.comment);
15201
15201
  return /* @__PURE__ */ N(wt, { children: [
15202
- /* @__PURE__ */ N("div", { className: Y(We.header, t == null ? void 0 : t.header), children: [
15202
+ /* @__PURE__ */ N("div", { className: ee(We.header, t == null ? void 0 : t.header), children: [
15203
15203
  /* @__PURE__ */ C(Hr, { onClick: i }),
15204
15204
  /* @__PURE__ */ N("div", { className: We.title, children: [
15205
15205
  /* @__PURE__ */ C(Fh, { className: We.logo }),
15206
15206
  /* @__PURE__ */ C("span", { children: u("title", { ns: "courier_balloon" }) })
15207
15207
  ] })
15208
15208
  ] }),
15209
- /* @__PURE__ */ N("div", { className: Y(We.content, t == null ? void 0 : t.content), children: [
15209
+ /* @__PURE__ */ N("div", { className: ee(We.content, t == null ? void 0 : t.content), children: [
15210
15210
  /* @__PURE__ */ N("section", { className: We.section, children: [
15211
15211
  /* @__PURE__ */ N("span", { children: [
15212
15212
  u("address"),
@@ -15220,8 +15220,8 @@ const Eb = "LocationBalloon-module__root__GtUl6q", Ob = "LocationBalloon-module_
15220
15220
  ":"
15221
15221
  ] }),
15222
15222
  /* @__PURE__ */ N("div", { className: We.chips, children: [
15223
- /* @__PURE__ */ C(Gu, { active: p.delivery_time === "8:00-13:00", onClick: y("8:00-13:00"), children: "8:00 - 13:00" }),
15224
- /* @__PURE__ */ C(Gu, { active: p.delivery_time === "14:00-22:00", onClick: y("14:00-22:00"), children: "14:00 - 22:00" })
15223
+ /* @__PURE__ */ C(Gu, { active: p.delivery_time === "8:00-13:00", onClick: v("8:00-13:00"), children: "8:00 - 13:00" }),
15224
+ /* @__PURE__ */ C(Gu, { active: p.delivery_time === "14:00-22:00", onClick: v("14:00-22:00"), children: "14:00 - 22:00" })
15225
15225
  ] })
15226
15226
  ] }),
15227
15227
  /* @__PURE__ */ N("section", { className: We.section, children: [
@@ -15231,15 +15231,15 @@ const Eb = "LocationBalloon-module__root__GtUl6q", Ob = "LocationBalloon-module_
15231
15231
  ] }),
15232
15232
  /* @__PURE__ */ C(Wu, { ...S, rows: 1, onChange: _ })
15233
15233
  ] }),
15234
- /* @__PURE__ */ N("section", { className: Y(We.section, We.commentSection), children: [
15234
+ /* @__PURE__ */ N("section", { className: ee(We.section, We.commentSection), children: [
15235
15235
  /* @__PURE__ */ N("span", { children: [
15236
15236
  u("comment"),
15237
15237
  ":"
15238
15238
  ] }),
15239
- /* @__PURE__ */ C(Wu, { ...E, className: We.comment, onChange: v })
15239
+ /* @__PURE__ */ C(Wu, { ...E, className: We.comment, onChange: y })
15240
15240
  ] })
15241
15241
  ] }),
15242
- /* @__PURE__ */ C("div", { className: Y(We.actions, { [We.actionsHidden]: e }), children: /* @__PURE__ */ C(
15242
+ /* @__PURE__ */ C("div", { className: ee(We.actions, { [We.actionsHidden]: e }), children: /* @__PURE__ */ C(
15243
15243
  lt,
15244
15244
  {
15245
15245
  loading: f,
@@ -15264,12 +15264,12 @@ const Eb = "LocationBalloon-module__root__GtUl6q", Ob = "LocationBalloon-module_
15264
15264
  setOpenDetails: o
15265
15265
  }) => {
15266
15266
  var L;
15267
- const [s, a] = ee(!1), [c, l] = ee(!1), [u, d] = ee({
15267
+ const [s, a] = J(!1), [c, l] = J(!1), [u, d] = J({
15268
15268
  ...r,
15269
15269
  comment: "",
15270
15270
  delivery_time: "",
15271
15271
  apartment_number: ""
15272
- }), f = B(null), g = B(null), { warehouseSelection: p } = _e(), { warehousePoint: h } = Ie(), b = wc({ isSelectedPoint: !0 }), y = ((L = f.current) == null ? void 0 : L.checkVisibility()) ?? !1;
15272
+ }), f = B(null), g = B(null), { warehouseSelection: p } = _e(), { warehousePoint: h } = Ie(), b = wc({ isSelectedPoint: !0 }), v = ((L = f.current) == null ? void 0 : L.checkVisibility()) ?? !1;
15273
15273
  j(() => {
15274
15274
  setTimeout(() => {
15275
15275
  a(!0);
@@ -15282,7 +15282,7 @@ const Eb = "LocationBalloon-module__root__GtUl6q", Ob = "LocationBalloon-module_
15282
15282
  apartment_number: ""
15283
15283
  });
15284
15284
  }, [r]);
15285
- const _ = Zn("screenSm"), v = we(
15285
+ const _ = Zn("screenSm"), y = we(
15286
15286
  () => ({
15287
15287
  lat: u.coords[0],
15288
15288
  lng: u.coords[1]
@@ -15314,9 +15314,9 @@ const Eb = "LocationBalloon-module__root__GtUl6q", Ob = "LocationBalloon-module_
15314
15314
  onDetails: S,
15315
15315
  onClose: E
15316
15316
  }
15317
- ), T = p ? !!h && y : b && !y, P = t ? !!u.apartment_number : !!u.apartment_number && !!u.delivery_time;
15317
+ ), T = p ? !!h && v : b && !v, P = t ? !!u.apartment_number : !!u.apartment_number && !!u.delivery_time;
15318
15318
  return /* @__PURE__ */ N(wt, { children: [
15319
- /* @__PURE__ */ C(nf, { ref: f, position: v, children: /* @__PURE__ */ C("span", { dangerouslySetInnerHTML: { __html: m } }) }),
15319
+ /* @__PURE__ */ C(nf, { ref: f, position: y, children: /* @__PURE__ */ C("span", { dangerouslySetInnerHTML: { __html: m } }) }),
15320
15320
  _ && /* @__PURE__ */ N(
15321
15321
  bh,
15322
15322
  {
@@ -15407,7 +15407,7 @@ const Bh = cc(null), y6 = ({ children: t }) => {
15407
15407
  // TODO: Possibly deprecate this method
15408
15408
  async setPlace(n, r, i) {
15409
15409
  var c, l, u, d, f, g;
15410
- const { map: o } = X.getState();
15410
+ const { map: o } = Y.getState();
15411
15411
  let s, a;
15412
15412
  if (console.debug("[OmnicWidgetLocations::setDeliveryAdressPlace]", { value: n, types: r }), pl(n)) {
15413
15413
  const p = await ml(n, e().mapKey, r);
@@ -15438,7 +15438,7 @@ const Bh = cc(null), y6 = ({ children: t }) => {
15438
15438
  setPlaceSimple(n, r) {
15439
15439
  var i, o;
15440
15440
  if (r != null && r.withNavigation) {
15441
- const { map: s } = X.getState();
15441
+ const { map: s } = Y.getState();
15442
15442
  Mt(s, "Map is not defined");
15443
15443
  let a;
15444
15444
  (i = n == null ? void 0 : n.geometry) != null && i.viewport ? a = n.geometry.viewport : (o = n == null ? void 0 : n.geometry) != null && o.location && (a = new google.maps.LatLngBounds(), a.extend(n.geometry.location)), a && (s.fitBounds(a), s.setZoom(12));
@@ -15460,7 +15460,7 @@ const Bh = cc(null), y6 = ({ children: t }) => {
15460
15460
  const u = l.detail.latLng;
15461
15461
  if (!u || r && !o)
15462
15462
  return;
15463
- X.getState().setDetailsOpen(!1), ut.getState().setSelectedLocation(null);
15463
+ Y.getState().setDetailsOpen(!1), ut.getState().setSelectedLocation(null);
15464
15464
  const d = [u.lat, u.lng];
15465
15465
  console.debug("[OmnicLocationsWidget::mapClick]", d);
15466
15466
  try {
@@ -15481,7 +15481,7 @@ const Bh = cc(null), y6 = ({ children: t }) => {
15481
15481
  mapId: s,
15482
15482
  defaultZoom: i == null ? void 0 : i.initialZoom,
15483
15483
  defaultCenter: a,
15484
- className: Y(Fe.root, e),
15484
+ className: ee(Fe.root, e),
15485
15485
  clickableIcons: !1,
15486
15486
  minZoom: 4,
15487
15487
  maxZoom: 20,
@@ -15514,7 +15514,7 @@ const Bh = cc(null), y6 = ({ children: t }) => {
15514
15514
  jd();
15515
15515
  });
15516
15516
  }, O6 = ({ className: t }) => {
15517
- const e = _n(), n = X(Bp), r = X(zp), i = It(Bd), o = Ie(uc), s = Wi(), { lmsData: a } = As(), {
15517
+ const e = _n(), n = Y(Bp), r = Y(zp), i = It(Bd), o = Ie(uc), s = Wi(), { lmsData: a } = As(), {
15518
15518
  cityName: c,
15519
15519
  countryAbbreviation: l,
15520
15520
  disableGeolocation: u,
@@ -15524,34 +15524,34 @@ const Bh = cc(null), y6 = ({ children: t }) => {
15524
15524
  onPointClick: p,
15525
15525
  regionName: h,
15526
15526
  skipPointInfo: b
15527
- } = _e(), y = H(
15527
+ } = _e(), v = H(
15528
15528
  (z) => {
15529
- console.debug("[OmnicLocationsWidget::loadMap]", z), X.getState().setMap(z), X.getState().setLoaded(), g || (C6(z), u || E6(z));
15529
+ console.debug("[OmnicLocationsWidget::loadMap]", z), Y.getState().setMap(z), Y.getState().setLoaded(), g || (C6(z), u || E6(z));
15530
15530
  },
15531
15531
  [u, g]
15532
15532
  ), _ = H(() => {
15533
- console.debug("[OmnicLocationsWidget::unmountMap]"), X.getState().setMap(null);
15533
+ console.debug("[OmnicLocationsWidget::unmountMap]"), Y.getState().setMap(null);
15534
15534
  }, []);
15535
15535
  j(() => {
15536
15536
  if (s)
15537
- return y(s), () => {
15537
+ return v(s), () => {
15538
15538
  _();
15539
15539
  };
15540
- }, [s, y, _]);
15541
- const v = H(
15540
+ }, [s, v, _]);
15541
+ const y = H(
15542
15542
  (z) => {
15543
- const Z = a == null ? void 0 : a.location.what3words, J = Z != null && Z.id ? Z : void 0;
15544
- p == null || p(z, J);
15543
+ const Z = a == null ? void 0 : a.location.what3words, X = Z != null && Z.id ? Z : void 0;
15544
+ p == null || p(z, X);
15545
15545
  },
15546
15546
  [p, a]
15547
15547
  ), S = B(null), E = B(null), m = H(
15548
15548
  (z) => {
15549
- const Z = z.getSouthWest(), J = z.getNorthEast(), he = (ae) => Math.round(ae * 1e3) / 1e3, pe = `${he(Z.lat())}:${he(Z.lng())}:${he(J.lat())}:${he(J.lng())}`, me = JSON.stringify(e ?? {});
15549
+ const Z = z.getSouthWest(), X = z.getNorthEast(), he = (ae) => Math.round(ae * 1e3) / 1e3, pe = `${he(Z.lat())}:${he(Z.lng())}:${he(X.lat())}:${he(X.lng())}`, me = JSON.stringify(e ?? {});
15550
15550
  return `${pe}|${me}|${c ?? ""}|${l ?? ""}|${h ?? ""}`;
15551
15551
  },
15552
15552
  [c, l, e, h]
15553
15553
  ), w = H(() => {
15554
- X.getState().setIdle(!0), n && (S.current && window.clearTimeout(S.current), S.current = window.setTimeout(() => {
15554
+ Y.getState().setIdle(!0), n && (S.current && window.clearTimeout(S.current), S.current = window.setTimeout(() => {
15555
15555
  const z = n.getBounds();
15556
15556
  if (!z)
15557
15557
  return;
@@ -15575,9 +15575,9 @@ const Bh = cc(null), y6 = ({ children: t }) => {
15575
15575
  Ie.getState().setDeliverPoint(null), ut.getState().setSelectedLocation(z);
15576
15576
  }, []), T = H(() => {
15577
15577
  console.debug("[OmnicLocationsWidget::tilesLoaded]");
15578
- }, []), P = X.getState().setDetailsOpen, { getLMSData: L } = P5(), A = (z) => {
15578
+ }, []), P = Y.getState().setDetailsOpen, { getLMSData: L } = P5(), A = (z) => {
15579
15579
  if (L(z.code), b) {
15580
- v(z);
15580
+ y(z);
15581
15581
  return;
15582
15582
  }
15583
15583
  P(!1), O(z);
@@ -15586,17 +15586,17 @@ const Bh = cc(null), y6 = ({ children: t }) => {
15586
15586
  }, F = (z) => {
15587
15587
  P(!0), O(z);
15588
15588
  }, G = (z) => {
15589
- v(z), P(!1), O(null);
15589
+ y(z), P(!1), O(null);
15590
15590
  };
15591
15591
  return /* @__PURE__ */ N(wt, { children: [
15592
- /* @__PURE__ */ N("div", { className: Y(Fe.mapContainer, t), children: [
15592
+ /* @__PURE__ */ N("div", { className: ee(Fe.mapContainer, t), children: [
15593
15593
  /* @__PURE__ */ N(
15594
15594
  _6,
15595
15595
  {
15596
15596
  onIdle: w,
15597
15597
  onTilesLoaded: T,
15598
15598
  onBoundsChanged: () => {
15599
- X.getState().setIdle(!1);
15599
+ Y.getState().setIdle(!1);
15600
15600
  },
15601
15601
  children: [
15602
15602
  o && /* @__PURE__ */ C(
@@ -15605,9 +15605,9 @@ const Bh = cc(null), y6 = ({ children: t }) => {
15605
15605
  hideDeliveryTime: d,
15606
15606
  hideDetails: f,
15607
15607
  point: o,
15608
- setOpenDetails: X.getState().setDetailsOpen,
15608
+ setOpenDetails: Y.getState().setDetailsOpen,
15609
15609
  setDeliveryPoint: Ie.getState().setDeliverPoint,
15610
- onPointClick: v
15610
+ onPointClick: y
15611
15611
  }
15612
15612
  ),
15613
15613
  /* @__PURE__ */ C(
@@ -15715,16 +15715,16 @@ const Hh = Ov().use(fv()).use(rv()).init({
15715
15715
  }, [t]);
15716
15716
  }, B6 = 500, lr = [];
15717
15717
  function Uh(t = {}) {
15718
- const { country: e, globalSearch: n } = _e(), { debounceMs: r = B6, onPlaceSelect: i, types: o } = t, s = n ? void 0 : e, a = bc("places"), [c, l] = ee(""), [u, d] = ee(lr), [f, g] = ee(!1), p = we(() => o, [JSON.stringify(o)]), h = B(null), b = B(), y = B(!1), _ = B(i);
15718
+ const { country: e, globalSearch: n } = _e(), { debounceMs: r = B6, onPlaceSelect: i, types: o } = t, s = n ? void 0 : e, a = bc("places"), [c, l] = J(""), [u, d] = J(lr), [f, g] = J(!1), p = we(() => o, [JSON.stringify(o)]), h = B(null), b = B(), v = B(!1), _ = B(i);
15719
15719
  _.current = i;
15720
- const v = H(() => a ? (h.current || (h.current = new a.AutocompleteSessionToken()), h.current) : null, [a]), S = H(() => {
15720
+ const y = H(() => a ? (h.current || (h.current = new a.AutocompleteSessionToken()), h.current) : null, [a]), S = H(() => {
15721
15721
  h.current = null;
15722
15722
  }, []), E = H(() => {
15723
15723
  d(lr);
15724
15724
  }, []);
15725
15725
  j(() => {
15726
- if (y.current) {
15727
- y.current = !1;
15726
+ if (v.current) {
15727
+ v.current = !1;
15728
15728
  return;
15729
15729
  }
15730
15730
  if (!a || !c.trim()) {
@@ -15734,7 +15734,7 @@ function Uh(t = {}) {
15734
15734
  return clearTimeout(b.current), b.current = setTimeout(async () => {
15735
15735
  g(!0);
15736
15736
  try {
15737
- const w = v(), O = {
15737
+ const w = y(), O = {
15738
15738
  input: c,
15739
15739
  ...w && { sessionToken: w },
15740
15740
  ...s && { includedRegionCodes: [s] },
@@ -15756,12 +15756,12 @@ function Uh(t = {}) {
15756
15756
  g(!1);
15757
15757
  }
15758
15758
  }, r), () => clearTimeout(b.current);
15759
- }, [c, a, s, p, r, v]);
15759
+ }, [c, a, s, p, r, y]);
15760
15760
  const m = H(
15761
15761
  async (w) => {
15762
15762
  var O;
15763
15763
  if (a) {
15764
- y.current = !0;
15764
+ v.current = !0;
15765
15765
  try {
15766
15766
  const T = new a.Place({ id: w }), P = await bm(T);
15767
15767
  (O = _.current) == null || O.call(_, P), S(), d(lr);
@@ -15804,7 +15804,7 @@ const V6 = {
15804
15804
  const { cornersVariant: e, font: n, locale: r, palette: i, radius: o, startScreen: s } = _e();
15805
15805
  return j6(n), N6(r), I6(i), F6(o), U6(s), $6(e), /* @__PURE__ */ C(wt, { children: t });
15806
15806
  }, q6 = ({ children: t }) => {
15807
- const { disableGeolocation: e, map: n } = _e(), [r, i] = ee(e), { loaded: o } = X();
15807
+ const { disableGeolocation: e, map: n } = _e(), [r, i] = J(e), { loaded: o } = Y();
15808
15808
  return Mt(n == null ? void 0 : n.center, "Map center is required"), Mt(n == null ? void 0 : n.initialZoom, "Map initial zoom is required"), j(() => {
15809
15809
  !o || e || r || jd({
15810
15810
  success: (s) => {
@@ -15816,14 +15816,14 @@ const V6 = {
15816
15816
  });
15817
15817
  }, [e, r, o, n]), t;
15818
15818
  }, G6 = (t) => /* @__PURE__ */ I.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 28, fill: "none", viewBox: "0 0 24 28", ...t }, /* @__PURE__ */ I.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M24 11.777C24 4.052 17.606 0 12 0S0 4.052 0 11.777C0 16.915 3.994 22.334 12 28c8.006-5.666 12-11.085 12-16.224ZM12 16a4 4 0 1 0 0-8 4 4 0 0 0 0 8Z", clipRule: "evenodd" })), W6 = () => {
15819
- Mn.getState().toggle(!0), X.getState().setDetailsOpen(!1), Ie.getState().setDeliverPoint(null), ut.getState().setSelectedLocation(null);
15819
+ Mn.getState().toggle(!0), Y.getState().setDetailsOpen(!1), Ie.getState().setDeliverPoint(null), ut.getState().setSelectedLocation(null);
15820
15820
  }, Z6 = "CurrentLocation-module__root__AeQCGT", K6 = "CurrentLocation-module__icon__459m9q", Q6 = "CurrentLocation-module__text__w-9v28", ua = {
15821
15821
  root: Z6,
15822
15822
  icon: K6,
15823
15823
  text: Q6
15824
15824
  }, $h = ({ className: t }) => {
15825
15825
  const { t: e } = _t("current_location"), n = Ji(w6), { location: r } = ut(), o = (r == null ? void 0 : r.location.full_address) ?? (n == null ? void 0 : n.long_name) ?? e("choose_from_map");
15826
- return /* @__PURE__ */ N("div", { role: "presentation", className: Y(ua.root, t), onClick: W6, children: [
15826
+ return /* @__PURE__ */ N("div", { role: "presentation", className: ee(ua.root, t), onClick: W6, children: [
15827
15827
  /* @__PURE__ */ C(G6, { className: ua.icon }),
15828
15828
  /* @__PURE__ */ C("span", { className: ua.text, children: o })
15829
15829
  ] });
@@ -15842,16 +15842,16 @@ const V6 = {
15842
15842
  const n = rw[e];
15843
15843
  return /* @__PURE__ */ C("div", { className: fi.logo, children: /* @__PURE__ */ C(n, {}) });
15844
15844
  }, ow = ({ className: t }) => {
15845
- const { t: e } = _t("header"), { disableDelivery: n } = _e(), r = X(Vp), i = Ie(uc);
15845
+ const { t: e } = _t("header"), { disableDelivery: n } = _e(), r = Y(Vp), i = Ie(uc);
15846
15846
  j(() => {
15847
- i ? X.getState().setMode("location_delivery") : X.getState().setMode("self_pickup");
15847
+ i ? Y.getState().setMode("location_delivery") : Y.getState().setMode("self_pickup");
15848
15848
  }, [i]);
15849
15849
  const o = () => {
15850
- Ie.getState().setDeliverPoint(null), X.getState().setMode("self_pickup");
15850
+ Ie.getState().setDeliverPoint(null), Y.getState().setMode("self_pickup");
15851
15851
  }, s = () => {
15852
- Ie.getState().setDeliverPoint(null), X.getState().setMode("location_delivery");
15852
+ Ie.getState().setDeliverPoint(null), Y.getState().setMode("location_delivery");
15853
15853
  }, a = r === "self_pickup", c = r === "location_delivery";
15854
- return /* @__PURE__ */ N("div", { className: Y(fi.root, t), children: [
15854
+ return /* @__PURE__ */ N("div", { className: ee(fi.root, t), children: [
15855
15855
  /* @__PURE__ */ C(iw, {}),
15856
15856
  /* @__PURE__ */ N("nav", { className: fi.nav, children: [
15857
15857
  !n && /* @__PURE__ */ C(
@@ -15882,7 +15882,7 @@ const V6 = {
15882
15882
  }, jr = Qt((t) => ({
15883
15883
  ...aw,
15884
15884
  toggle(e) {
15885
- X.getState().setDetailsOpen(!1), Ie.getState().setDeliverPoint(null), ut.getState().setSelectedLocation(null), t((n) => ({ open: e ?? !n.open }));
15885
+ Y.getState().setDetailsOpen(!1), Ie.getState().setDeliverPoint(null), ut.getState().setSelectedLocation(null), t((n) => ({ open: e ?? !n.open }));
15886
15886
  }
15887
15887
  })), cw = "Layout-module__root__qzPL-f", lw = "Layout-module__headerHidden__JEN-d0", uw = "Layout-module__sidebarHidden__x017O3", dw = "Layout-module__sidebarOpen__IZnIjs", Fo = {
15888
15888
  root: cw,
@@ -15894,7 +15894,7 @@ const V6 = {
15894
15894
  return /* @__PURE__ */ C(
15895
15895
  "div",
15896
15896
  {
15897
- className: Y(Fo.root, {
15897
+ className: ee(Fo.root, {
15898
15898
  [Fo.sidebarOpen]: r,
15899
15899
  [Fo.headerHidden]: n,
15900
15900
  [Fo.sidebarHidden]: e
@@ -15913,7 +15913,7 @@ const V6 = {
15913
15913
  }, yw = ({ children: t, className: e, open: n }) => /* @__PURE__ */ N(
15914
15914
  "div",
15915
15915
  {
15916
- className: Y(jo.root, e, {
15916
+ className: ee(jo.root, e, {
15917
15917
  [jo.open]: n
15918
15918
  }),
15919
15919
  children: [
@@ -15958,7 +15958,7 @@ const V6 = {
15958
15958
  [i, o]
15959
15959
  );
15960
15960
  const d = Vh(n, u);
15961
- return /* @__PURE__ */ N("label", { htmlFor: a.id ?? l, className: Y(ur.locationSearchRoot, t), children: [
15961
+ return /* @__PURE__ */ N("label", { htmlFor: a.id ?? l, className: ee(ur.locationSearchRoot, t), children: [
15962
15962
  r && /* @__PURE__ */ C("span", { className: ur.label, children: r }),
15963
15963
  /* @__PURE__ */ N("div", { className: ur.inputContainer, children: [
15964
15964
  s && /* @__PURE__ */ C("div", { className: ur.startAdornment, children: s }),
@@ -16003,47 +16003,45 @@ const V6 = {
16003
16003
  n.placeId
16004
16004
  )) }), zh = ({
16005
16005
  autocomplete: t,
16006
- className: e,
16007
- endAdornment: n,
16008
- inputRef: r,
16009
- label: i,
16010
- name: o,
16011
- onBlur: s,
16012
- onClick: a,
16013
- onFocus: c,
16014
- placeholder: l
16006
+ children: e,
16007
+ className: n,
16008
+ endAdornment: r,
16009
+ inputRef: i,
16010
+ label: o,
16011
+ name: s,
16012
+ onBlur: a,
16013
+ onClick: c,
16014
+ onFocus: l,
16015
+ placeholder: u
16015
16016
  }) => {
16016
- const u = B(null), d = t.suggestions.length > 0, f = B(t.clearSuggestions);
16017
- f.current = t.clearSuggestions, j(() => {
16018
- if (!d)
16017
+ const d = B(null), f = t.suggestions.length > 0, g = B(t.clearSuggestions);
16018
+ g.current = t.clearSuggestions, j(() => {
16019
+ if (!f)
16019
16020
  return;
16020
- const h = (b) => {
16021
- u.current && !u.current.contains(b.target) && f.current();
16021
+ const v = (_) => {
16022
+ d.current && !d.current.contains(_.target) && g.current();
16022
16023
  };
16023
- return document.addEventListener("click", h), () => document.removeEventListener("click", h);
16024
- }, [d]);
16025
- const g = (h) => {
16026
- t.setValue(h.target.value);
16027
- }, p = (h) => {
16028
- t.setValue(h.description), t.clearSuggestions(), t.handleSelect(h.placeId);
16024
+ return document.addEventListener("click", v), () => document.removeEventListener("click", v);
16025
+ }, [f]);
16026
+ const p = (v) => {
16027
+ t.setValue(v.target.value);
16028
+ }, h = (v) => {
16029
+ t.setValue(v.description), t.clearSuggestions(), t.handleSelect(v.placeId);
16030
+ }, b = {
16031
+ value: t.value,
16032
+ onChange: p,
16033
+ inputRef: i,
16034
+ onFocus: l,
16035
+ onBlur: a,
16036
+ onClick: c,
16037
+ placeholder: u,
16038
+ name: s,
16039
+ label: o,
16040
+ endAdornment: r
16029
16041
  };
16030
- return /* @__PURE__ */ N("div", { ref: u, className: Y(fr.container, e), children: [
16031
- /* @__PURE__ */ C(
16032
- xw,
16033
- {
16034
- inputRef: r,
16035
- label: i,
16036
- name: o,
16037
- value: t.value,
16038
- placeholder: l,
16039
- endAdornment: n,
16040
- onChange: g,
16041
- onClick: a,
16042
- onFocus: c,
16043
- onBlur: s
16044
- }
16045
- ),
16046
- d && /* @__PURE__ */ C(kw, { suggestions: t.suggestions, onSelect: p })
16042
+ return /* @__PURE__ */ N("div", { ref: d, className: ee(fr.container, n), children: [
16043
+ typeof e == "function" ? e(b) : /* @__PURE__ */ C(xw, { ...b }),
16044
+ f && /* @__PURE__ */ C(kw, { suggestions: t.suggestions, onSelect: h })
16047
16045
  ] });
16048
16046
  }, Dw = "LocationAside-module__submit__CSKcqi", Nw = "LocationAside-module__container__S1NejR", Iw = "LocationAside-module__selector__hl74ke", Fw = "LocationAside-module__label__0Zk8at", jw = "LocationAside-module__header__N1wgyn", Bw = "LocationAside-module__close__VsE88z", Bo = {
16049
16047
  submit: Dw,
@@ -16109,9 +16107,9 @@ const V6 = {
16109
16107
  types: [],
16110
16108
  onPlaceSelect: i
16111
16109
  }), s = () => {
16112
- o.value && X.getState().setBlurred(!0), X.getState().setDetailsOpen(!1), Ie.getState().setDeliverPoint(null), ut.getState().setSelectedLocation(null);
16110
+ o.value && Y.getState().setBlurred(!0), Y.getState().setDetailsOpen(!1), Ie.getState().setDeliverPoint(null), ut.getState().setSelectedLocation(null);
16113
16111
  }, a = () => {
16114
- X.getState().setBlurred(!1);
16112
+ Y.getState().setBlurred(!1);
16115
16113
  }, c = ys(n == null ? void 0 : n.address);
16116
16114
  return /* @__PURE__ */ C(
16117
16115
  zh,
@@ -16127,15 +16125,15 @@ const V6 = {
16127
16125
  onFocus: s
16128
16126
  }
16129
16127
  );
16130
- }, Gw = ({ className: t }) => X($p) ? /* @__PURE__ */ C(qw, { className: t }) : null, Ww = dt(Gw), Zw = "DeliveryDetailsModal-module__root__qwKnjX", Kw = {
16128
+ }, Gw = ({ className: t }) => Y($p) ? /* @__PURE__ */ C(qw, { className: t }) : null, Ww = dt(Gw), Zw = "DeliveryDetailsModal-module__root__qwKnjX", Kw = {
16131
16129
  root: Zw
16132
- }, Qw = ({ className: t, location: e, onClose: n, onSubmit: r }) => /* @__PURE__ */ C("div", { className: Y(Kw.root, t), children: /* @__PURE__ */ C(jh, { location: e, onClose: n, onSubmit: r }) }), Jw = "LocationDetailsModal-module__root__PyRnLM", Xw = {
16130
+ }, Qw = ({ className: t, location: e, onClose: n, onSubmit: r }) => /* @__PURE__ */ C("div", { className: ee(Kw.root, t), children: /* @__PURE__ */ C(jh, { location: e, onClose: n, onSubmit: r }) }), Jw = "LocationDetailsModal-module__root__PyRnLM", Xw = {
16133
16131
  root: Jw
16134
16132
  }, Yw = ({ className: t, location: e, onClose: n, onSubmit: r }) => {
16135
16133
  const i = () => {
16136
16134
  r == null || r(e);
16137
16135
  };
16138
- return /* @__PURE__ */ C("div", { className: Y(Xw.root, t), children: /* @__PURE__ */ C(wf, { location: e, onClose: n, onSubmit: i }) });
16136
+ return /* @__PURE__ */ C("div", { className: ee(Xw.root, t), children: /* @__PURE__ */ C(wf, { location: e, onClose: n, onSubmit: i }) });
16139
16137
  }, e8 = "MapContainer-module__root__1Os6Q-", t8 = "MapContainer-module__mapWrapper__Cwe7qC", n8 = "MapContainer-module__wrapperBlurred__04NN2L", r8 = "MapContainer-module__locationSelector__Pr1zS-", i8 = "MapContainer-module__filterButton__CW3Qv7", o8 = "MapContainer-module__sidebarOpen__lGMVrJ", s8 = "MapContainer-module__filterIcon__T01XsJ", a8 = "MapContainer-module__details__gM8LWX", Rt = {
16140
16138
  root: e8,
16141
16139
  mapWrapper: t8,
@@ -16146,11 +16144,11 @@ const V6 = {
16146
16144
  filterIcon: s8,
16147
16145
  details: a8
16148
16146
  }, c8 = () => {
16149
- const { onPointClick: t } = _e(), e = X(dc), n = ut(Gp), r = Ie(uc), i = H(() => {
16150
- X.getState().setDetailsOpen(!1);
16147
+ const { onPointClick: t } = _e(), e = Y(dc), n = ut(Gp), r = Ie(uc), i = H(() => {
16148
+ Y.getState().setDetailsOpen(!1);
16151
16149
  }, []), o = H(
16152
16150
  (s) => {
16153
- t == null || t(s), X.getState().setDetailsOpen(!1), ut.getState().setSelectedLocation(null), Ie.getState().setDeliverPoint(null);
16151
+ t == null || t(s), Y.getState().setDetailsOpen(!1), ut.getState().setSelectedLocation(null), Ie.getState().setDeliverPoint(null);
16154
16152
  },
16155
16153
  [t]
16156
16154
  );
@@ -16182,7 +16180,7 @@ const V6 = {
16182
16180
  "div",
16183
16181
  {
16184
16182
  role: "presentation",
16185
- className: Y(Rt.filterButton, { [Rt.sidebarOpen]: t }),
16183
+ className: ee(Rt.filterButton, { [Rt.sidebarOpen]: t }),
16186
16184
  onClick: n ? void 0 : r,
16187
16185
  children: [
16188
16186
  n && /* @__PURE__ */ C($h, {}),
@@ -16191,16 +16189,16 @@ const V6 = {
16191
16189
  }
16192
16190
  );
16193
16191
  }, f8 = ({ children: t, className: e }) => {
16194
- const { hideFilters: n, hideSearchInput: r } = _e(), i = X(Up), o = X(dc);
16195
- return /* @__PURE__ */ N("div", { className: Y(Rt.root, e), children: [
16192
+ const { hideFilters: n, hideSearchInput: r } = _e(), i = Y(Up), o = Y(dc);
16193
+ return /* @__PURE__ */ N("div", { className: ee(Rt.root, e), children: [
16196
16194
  !r && !o && /* @__PURE__ */ C(Ww, { className: Rt.locationSelector }),
16197
16195
  !n && /* @__PURE__ */ C(d8, {}),
16198
- /* @__PURE__ */ C("div", { className: Y(Rt.mapWrapper, { [Rt.wrapperBlurred]: i }), children: t }),
16196
+ /* @__PURE__ */ C("div", { className: ee(Rt.mapWrapper, { [Rt.wrapperBlurred]: i }), children: t }),
16199
16197
  /* @__PURE__ */ C(c8, {})
16200
16198
  ] });
16201
16199
  }, h8 = dt(f8), p8 = "Separator-module__root__eQtZey", m8 = {
16202
16200
  root: p8
16203
- }, da = ({ className: t, ...e }) => /* @__PURE__ */ C("hr", { className: Y(m8.root, t), ...e }), g8 = "Sidebar-module__root__4j1MA3", v8 = "Sidebar-module__closeButton__HLXy1c", y8 = "Sidebar-module__open__mqQXF6", b8 = "Sidebar-module__header__Afp6uz", w8 = "Sidebar-module__typeFilter__GN46u9", _8 = "Sidebar-module__separator__6I4QoJ", S8 = "Sidebar-module__withRightPadding__2u1Ina", C8 = "Sidebar-module__sheetContent__SaoncI", E8 = "Sidebar-module__doneButton__4aeaSD", qt = {
16201
+ }, da = ({ className: t, ...e }) => /* @__PURE__ */ C("hr", { className: ee(m8.root, t), ...e }), g8 = "Sidebar-module__root__4j1MA3", v8 = "Sidebar-module__closeButton__HLXy1c", y8 = "Sidebar-module__open__mqQXF6", b8 = "Sidebar-module__header__Afp6uz", w8 = "Sidebar-module__typeFilter__GN46u9", _8 = "Sidebar-module__separator__6I4QoJ", S8 = "Sidebar-module__withRightPadding__2u1Ina", C8 = "Sidebar-module__sheetContent__SaoncI", E8 = "Sidebar-module__doneButton__4aeaSD", qt = {
16204
16202
  root: g8,
16205
16203
  closeButton: v8,
16206
16204
  open: y8,
@@ -16223,8 +16221,8 @@ const V6 = {
16223
16221
  label: T8
16224
16222
  }, A8 = ({ className: t, label: e, labelProps: n = {}, ...r }) => {
16225
16223
  const i = id(), { className: o, ...s } = n;
16226
- return /* @__PURE__ */ N("label", { htmlFor: i, className: Y(Zu.label, o), ...s, children: [
16227
- /* @__PURE__ */ C("input", { id: i, type: "radio", className: Y(Zu.root, t), ...r }),
16224
+ return /* @__PURE__ */ N("label", { htmlFor: i, className: ee(Zu.label, o), ...s, children: [
16225
+ /* @__PURE__ */ C("input", { id: i, type: "radio", className: ee(Zu.root, t), ...r }),
16228
16226
  e
16229
16227
  ] });
16230
16228
  }, br = (t) => /* @__PURE__ */ C(A8, { ...t, type: "checkbox" }), P8 = "RadioGroup-module__root__ewZw-x", L8 = "RadioGroup-module__body__k8BJAs", R8 = "RadioGroup-module__legend__tcfV7q", fa = {
@@ -16238,7 +16236,7 @@ const V6 = {
16238
16236
  onChange: r,
16239
16237
  value: i,
16240
16238
  ...o
16241
- }) => /* @__PURE__ */ N("div", { className: Y(fa.root, e), ...o, children: [
16239
+ }) => /* @__PURE__ */ N("div", { className: ee(fa.root, e), ...o, children: [
16242
16240
  n && /* @__PURE__ */ C("span", { className: fa.legend, children: n }),
16243
16241
  /* @__PURE__ */ C("div", { className: fa.body, children: $.Children.map(t, (s) => $.isValidElement(s) ? $.cloneElement(s, {
16244
16242
  checked: !!(i != null && i[s.props.value]),
@@ -16275,7 +16273,7 @@ const V6 = {
16275
16273
  button: F8
16276
16274
  }, j8 = ({ className: t, onChange: e, value: n }) => {
16277
16275
  const { t: r } = _t("type_filter"), i = (o) => () => e == null ? void 0 : e(o);
16278
- return /* @__PURE__ */ N("div", { className: Y(Vo.root, t), children: [
16276
+ return /* @__PURE__ */ N("div", { className: ee(Vo.root, t), children: [
16279
16277
  /* @__PURE__ */ C(
16280
16278
  lt,
16281
16279
  {
@@ -16337,7 +16335,7 @@ const V6 = {
16337
16335
  onDismiss: s,
16338
16336
  children: /* @__PURE__ */ C("div", { className: qt.sheetContent, children: a })
16339
16337
  }
16340
- ) : /* @__PURE__ */ C("div", { className: Y(qt.root, t, { [qt.open]: n }), children: a });
16338
+ ) : /* @__PURE__ */ C("div", { className: ee(qt.root, t, { [qt.open]: n }), children: a });
16341
16339
  }, U8 = "App-module__map__Kf-2JS", $8 = "App-module__sidebar__ORIzGk", z8 = "App-module__header__bgP9DA", ha = {
16342
16340
  map: U8,
16343
16341
  sidebar: $8,
@@ -16362,36 +16360,39 @@ const V6 = {
16362
16360
  }), Gh = cc(null), Z8 = (t, e) => ({
16363
16361
  ...t,
16364
16362
  ...e,
16365
- palette: {
16366
- ...t.palette,
16367
- ...e == null ? void 0 : e.palette
16368
- },
16369
16363
  inputs: e != null && e.inputs ? { ...t.inputs, ...e.inputs } : t.inputs,
16370
16364
  handlers: e != null && e.handlers ? { ...t.handlers, ...e.handlers } : t.handlers
16371
- }), a9 = ({ children: t }) => {
16372
- const [e, n] = ee(), [r, i] = ee(), o = B(null), s = B(null), a = B(!1), c = H((u) => {
16373
- if (a.current) {
16365
+ }), c9 = ({ children: t }) => {
16366
+ const [e, n] = J(), [r, i] = J(), [o, s] = J(), a = B(null), c = B(null), l = B(!1), u = H((f) => {
16367
+ if (l.current) {
16374
16368
  console.warn("Widget already launched");
16375
16369
  return;
16376
16370
  }
16377
- a.current = !0, n(u);
16378
- }, []), l = we(() => ({
16379
- widgetOutHolderRef: o,
16380
- widgetLocationsRef: s,
16381
- launchWidget: c,
16382
- setDynamicConfig: i
16383
- }), [c]);
16384
- return /* @__PURE__ */ N(Gh.Provider, { value: l, children: [
16385
- /* @__PURE__ */ C("div", { ref: o, style: { position: "fixed", left: "-9999px", top: "-9999px" }, children: /* @__PURE__ */ C(
16371
+ l.current = !0, n(f);
16372
+ }, []), d = we(() => ({
16373
+ widgetOutHolderRef: a,
16374
+ widgetLocationsRef: c,
16375
+ launchWidget: u,
16376
+ setLocale: i,
16377
+ setMapPlaceholderConfig: s
16378
+ }), [u]);
16379
+ return /* @__PURE__ */ N(Gh.Provider, { value: d, children: [
16380
+ /* @__PURE__ */ C("div", { ref: a, style: { position: "fixed", left: "-9999px", top: "-9999px" }, children: /* @__PURE__ */ C(
16386
16381
  "div",
16387
16382
  {
16388
- ref: s,
16383
+ ref: c,
16389
16384
  id: "@omnic/widget-locations",
16390
16385
  style: {
16391
16386
  height: "100%",
16392
16387
  width: "100%"
16393
16388
  },
16394
- children: e && /* @__PURE__ */ C(G8, { options: e.options, config: Z8(e.config, r) })
16389
+ children: e && /* @__PURE__ */ C(
16390
+ G8,
16391
+ {
16392
+ options: e.options,
16393
+ config: Z8(e.config, { ...o, ...r && { locale: r } })
16394
+ }
16395
+ )
16395
16396
  }
16396
16397
  ) }),
16397
16398
  t
@@ -16403,37 +16404,41 @@ function K8() {
16403
16404
  throw new Error("Please use hook useWidgetLocationsContext inside WidgetLocationsProvider");
16404
16405
  return t;
16405
16406
  }
16406
- const c9 = () => {
16407
- const { widgetLocationsRef: t, widgetOutHolderRef: e } = K8(), n = B(null);
16408
- return j(() => {
16409
- const r = e.current, i = t.current, o = n.current;
16410
- return i && o && o.appendChild(i), () => {
16411
- i && r && r.appendChild(i);
16407
+ const Q8 = (t) => t === void 0 || typeof t == "object" && Object.keys(t).length === 0, l9 = ({ config: t }) => {
16408
+ const { setMapPlaceholderConfig: e, widgetLocationsRef: n, widgetOutHolderRef: r } = K8(), i = B(null);
16409
+ return j(() => (e(Q8(t) ? void 0 : t), () => {
16410
+ e(void 0);
16411
+ }), [t, e]), j(() => {
16412
+ const o = r.current, s = n.current, a = i.current;
16413
+ return s && a && a.appendChild(s), () => {
16414
+ s && o && o.appendChild(s);
16412
16415
  };
16413
- }, [t, e]), /* @__PURE__ */ C("div", { ref: n, style: { width: "100%", height: "100%" } });
16416
+ }, [n, r]), /* @__PURE__ */ C("div", { ref: i, style: { width: "100%", height: "100%" } });
16414
16417
  };
16415
16418
  export {
16416
16419
  kt as EReceiveFilter,
16417
16420
  Dt as ESendFilter,
16418
16421
  an as ETypeFilter,
16419
- c9 as MapPlaceholder,
16422
+ l9 as MapPlaceholder,
16423
+ zh as PlaceAutocomplete,
16420
16424
  G8 as Widget,
16421
- a9 as WidgetLocationsProvider,
16425
+ c9 as WidgetLocationsProvider,
16422
16426
  hl as createPointsIterator,
16423
16427
  fl as fetchPointsRequest,
16424
- t9 as fromHoursMinutesToMinutes,
16425
- n9 as fromMinutesToHoursMinutes,
16428
+ n9 as fromHoursMinutesToMinutes,
16429
+ r9 as fromMinutesToHoursMinutes,
16426
16430
  ml as getAddressFormGeocode,
16427
- r9 as getBoundsFromPoint,
16431
+ i9 as getBoundsFromPoint,
16428
16432
  jd as getCurrentPosition,
16429
16433
  W8 as getNormalizedAddress,
16430
16434
  ym as getPropertyValue,
16431
16435
  pl as isCoordinates,
16432
- i9 as isDeliveryPoint,
16436
+ o9 as isDeliveryPoint,
16433
16437
  vm as isHttpSuccess,
16434
16438
  gm as isPlaceId,
16435
16439
  bm as placeToPlaceResult,
16436
16440
  hi as replaceSvgCurrentColor,
16437
16441
  Ts as setWidgetCSSProperty,
16442
+ Uh as usePlaceAutocomplete,
16438
16443
  K8 as useWidgetLocationsContext
16439
16444
  };