@ovh-ux/manager-pci-common 2.6.20 → 2.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -309,10 +309,10 @@ const hs = async (e, a) => {
309
309
  ), { data: u, isPending: m } = Ms(), {
310
310
  data: h,
311
311
  isPending: p
312
- } = Ps(e), { data: g, isPending: y } = Ws(
312
+ } = Ps(e), { data: g, isPending: v } = Ws(
313
313
  e,
314
314
  { region: a }
315
- ), b = n || s || m || p || y;
315
+ ), b = n || s || m || p || v;
316
316
  return {
317
317
  mergedFlavors: J(() => !t || !o || !u || !h || !g ? [] : [...new Set(
318
318
  o.map(({ name: P }) => P.replace("-flex", ""))
@@ -652,9 +652,9 @@ function i(e) {
652
652
  const n = t.width, o = n && e.matchPatterns[n] || e.matchPatterns[e.defaultMatchWidth], s = a.match(o);
653
653
  if (!s)
654
654
  return null;
655
- const u = s[0], m = n && e.parsePatterns[n] || e.parsePatterns[e.defaultParseWidth], h = Array.isArray(m) ? ec(m, (y) => y.test(u)) : (
655
+ const u = s[0], m = n && e.parsePatterns[n] || e.parsePatterns[e.defaultParseWidth], h = Array.isArray(m) ? ec(m, (v) => v.test(u)) : (
656
656
  // eslint-disable-next-line @typescript-eslint/no-explicit-any -- I challange you to fix the type
657
- Us(m, (y) => y.test(u))
657
+ Us(m, (v) => v.test(u))
658
658
  );
659
659
  let p;
660
660
  p = e.valueCallback ? e.valueCallback(h) : h, p = t.valueCallback ? (
@@ -35365,8 +35365,8 @@ function CK(e) {
35365
35365
  return Math.round(t / Ho) + 1;
35366
35366
  }
35367
35367
  function Oo(e, a) {
35368
- var g, y, b, $;
35369
- const t = Q(e), n = t.getFullYear(), o = bt(), s = (a == null ? void 0 : a.firstWeekContainsDate) ?? ((y = (g = a == null ? void 0 : a.locale) == null ? void 0 : g.options) == null ? void 0 : y.firstWeekContainsDate) ?? o.firstWeekContainsDate ?? (($ = (b = o.locale) == null ? void 0 : b.options) == null ? void 0 : $.firstWeekContainsDate) ?? 1, u = Be(e, 0);
35368
+ var g, v, b, $;
35369
+ const t = Q(e), n = t.getFullYear(), o = bt(), s = (a == null ? void 0 : a.firstWeekContainsDate) ?? ((v = (g = a == null ? void 0 : a.locale) == null ? void 0 : g.options) == null ? void 0 : v.firstWeekContainsDate) ?? o.firstWeekContainsDate ?? (($ = (b = o.locale) == null ? void 0 : b.options) == null ? void 0 : $.firstWeekContainsDate) ?? 1, u = Be(e, 0);
35370
35370
  u.setFullYear(n + 1, 0, s), u.setHours(0, 0, 0, 0);
35371
35371
  const m = qe(u, a), h = Be(e, 0);
35372
35372
  h.setFullYear(n, 0, s), h.setHours(0, 0, 0, 0);
@@ -36013,8 +36013,8 @@ function BK(e, a, t) {
36013
36013
  }
36014
36014
  const XK = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, GK = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, YK = /^'([^]*?)'?$/, KK = /''/g, QK = /[a-zA-Z]/;
36015
36015
  function En(e, a, t) {
36016
- var g, y, b, $, x, S, P, z;
36017
- const n = bt(), o = (t == null ? void 0 : t.locale) ?? n.locale ?? ga, s = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((y = (g = t == null ? void 0 : t.locale) == null ? void 0 : g.options) == null ? void 0 : y.firstWeekContainsDate) ?? n.firstWeekContainsDate ?? (($ = (b = n.locale) == null ? void 0 : b.options) == null ? void 0 : $.firstWeekContainsDate) ?? 1, u = (t == null ? void 0 : t.weekStartsOn) ?? ((S = (x = t == null ? void 0 : t.locale) == null ? void 0 : x.options) == null ? void 0 : S.weekStartsOn) ?? n.weekStartsOn ?? ((z = (P = n.locale) == null ? void 0 : P.options) == null ? void 0 : z.weekStartsOn) ?? 0, m = Q(e);
36016
+ var g, v, b, $, x, S, P, z;
36017
+ const n = bt(), o = (t == null ? void 0 : t.locale) ?? n.locale ?? ga, s = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((v = (g = t == null ? void 0 : t.locale) == null ? void 0 : g.options) == null ? void 0 : v.firstWeekContainsDate) ?? n.firstWeekContainsDate ?? (($ = (b = n.locale) == null ? void 0 : b.options) == null ? void 0 : $.firstWeekContainsDate) ?? 1, u = (t == null ? void 0 : t.weekStartsOn) ?? ((S = (x = t == null ? void 0 : t.locale) == null ? void 0 : x.options) == null ? void 0 : S.weekStartsOn) ?? n.weekStartsOn ?? ((z = (P = n.locale) == null ? void 0 : P.options) == null ? void 0 : z.weekStartsOn) ?? 0, m = Q(e);
36018
36018
  if (!WK(m))
36019
36019
  throw new RangeError("Invalid time value");
36020
36020
  let h = a.match(GK).map((W) => {
@@ -36068,8 +36068,8 @@ const JK = [
36068
36068
  function UK(e, a) {
36069
36069
  const t = bt(), n = (a == null ? void 0 : a.locale) ?? t.locale ?? ga, o = (a == null ? void 0 : a.format) ?? JK, s = (a == null ? void 0 : a.zero) ?? !1, u = (a == null ? void 0 : a.delimiter) ?? " ";
36070
36070
  return n.formatDistance ? o.reduce((h, p) => {
36071
- const g = `x${p.replace(/(^.)/, (b) => b.toUpperCase())}`, y = e[p];
36072
- return y !== void 0 && (s || e[p]) ? h.concat(n.formatDistance(g, y)) : h;
36071
+ const g = `x${p.replace(/(^.)/, (b) => b.toUpperCase())}`, v = e[p];
36072
+ return v !== void 0 && (s || e[p]) ? h.concat(n.formatDistance(g, v)) : h;
36073
36073
  }, []).join(u) : "";
36074
36074
  }
36075
36075
  function ta(e, a) {
@@ -36345,7 +36345,7 @@ const Ft = () => R({
36345
36345
  7: "DEBUG"
36346
36346
  };
36347
36347
  function k7(e, a, t) {
36348
- const { i18n: n } = L(), o = et({ ...Fo }).current, s = yo(n.language), u = Ge(), [m, h] = U(!1), [p, g] = U([]), y = et(/* @__PURE__ */ new Set()), { data: b, isFetching: $, isError: x } = R({
36348
+ const { i18n: n } = L(), o = et({ ...Fo }).current, s = yo(n.language), u = Ge(), [m, h] = U(!1), [p, g] = U([]), v = et(/* @__PURE__ */ new Set()), { data: b, isFetching: $, isError: x } = R({
36349
36349
  queryKey: ["logs-url", e, a],
36350
36350
  queryFn: async () => {
36351
36351
  const { data: P } = await H.post(`${e}/url`, {
@@ -36374,7 +36374,7 @@ function k7(e, a, t) {
36374
36374
  refetchInterval: 2e3
36375
36375
  });
36376
36376
  return ue(() => {
36377
- const P = (S == null ? void 0 : S.filter(({ _id: W }) => !y.current.has(W))) || [], z = P.map(({ _id: W, ...k }) => ({
36377
+ const P = (S == null ? void 0 : S.filter(({ _id: W }) => !v.current.has(W))) || [], z = P.map(({ _id: W, ...k }) => ({
36378
36378
  _id: W,
36379
36379
  date: En(ta(k.timestamp), "P", {
36380
36380
  locale: o[s]
@@ -36388,13 +36388,13 @@ function k7(e, a, t) {
36388
36388
  {}
36389
36389
  )
36390
36390
  }));
36391
- g((W) => [...W, ...z]), P.forEach(({ _id: W }) => y.current.add(W));
36391
+ g((W) => [...W, ...z]), P.forEach(({ _id: W }) => v.current.add(W));
36392
36392
  }, [S]), {
36393
36393
  isError: x,
36394
36394
  isPolling: m,
36395
36395
  setIsPolling: h,
36396
36396
  clearLogs: () => {
36397
- y.current = /* @__PURE__ */ new Set(), g([]);
36397
+ v.current = /* @__PURE__ */ new Set(), g([]);
36398
36398
  },
36399
36399
  messages: p
36400
36400
  };
@@ -36542,10 +36542,10 @@ var Qo = { exports: {} };
36542
36542
  function t(p, g) {
36543
36543
  return typeof g > "u" ? g = { autoBom: !1 } : typeof g != "object" && (console.warn("Deprecated: Expected third argument to be a object"), g = { autoBom: !g }), g.autoBom && /^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(p.type) ? new Blob(["\uFEFF", p], { type: p.type }) : p;
36544
36544
  }
36545
- function n(p, g, y) {
36545
+ function n(p, g, v) {
36546
36546
  var b = new XMLHttpRequest();
36547
36547
  b.open("GET", p), b.responseType = "blob", b.onload = function() {
36548
- h(b.response, g, y);
36548
+ h(b.response, g, v);
36549
36549
  }, b.onerror = function() {
36550
36550
  console.error("could not download file");
36551
36551
  }, b.send();
@@ -36568,24 +36568,24 @@ var Qo = { exports: {} };
36568
36568
  }
36569
36569
  }
36570
36570
  var u = typeof window == "object" && window.window === window ? window : typeof self == "object" && self.self === self ? self : typeof Me == "object" && Me.global === Me ? Me : void 0, m = u.navigator && /Macintosh/.test(navigator.userAgent) && /AppleWebKit/.test(navigator.userAgent) && !/Safari/.test(navigator.userAgent), h = u.saveAs || (typeof window != "object" || window !== u ? function() {
36571
- } : "download" in HTMLAnchorElement.prototype && !m ? function(p, g, y) {
36571
+ } : "download" in HTMLAnchorElement.prototype && !m ? function(p, g, v) {
36572
36572
  var b = u.URL || u.webkitURL, $ = document.createElement("a");
36573
- g = g || p.name || "download", $.download = g, $.rel = "noopener", typeof p == "string" ? ($.href = p, $.origin === location.origin ? s($) : o($.href) ? n(p, g, y) : s($, $.target = "_blank")) : ($.href = b.createObjectURL(p), setTimeout(function() {
36573
+ g = g || p.name || "download", $.download = g, $.rel = "noopener", typeof p == "string" ? ($.href = p, $.origin === location.origin ? s($) : o($.href) ? n(p, g, v) : s($, $.target = "_blank")) : ($.href = b.createObjectURL(p), setTimeout(function() {
36574
36574
  b.revokeObjectURL($.href);
36575
36575
  }, 4e4), setTimeout(function() {
36576
36576
  s($);
36577
36577
  }, 0));
36578
- } : "msSaveOrOpenBlob" in navigator ? function(p, g, y) {
36579
- if (g = g || p.name || "download", typeof p != "string") navigator.msSaveOrOpenBlob(t(p, y), g);
36580
- else if (o(p)) n(p, g, y);
36578
+ } : "msSaveOrOpenBlob" in navigator ? function(p, g, v) {
36579
+ if (g = g || p.name || "download", typeof p != "string") navigator.msSaveOrOpenBlob(t(p, v), g);
36580
+ else if (o(p)) n(p, g, v);
36581
36581
  else {
36582
36582
  var b = document.createElement("a");
36583
36583
  b.href = p, b.target = "_blank", setTimeout(function() {
36584
36584
  s(b);
36585
36585
  });
36586
36586
  }
36587
- } : function(p, g, y, b) {
36588
- if (b = b || open("", "_blank"), b && (b.document.title = b.document.body.innerText = "downloading..."), typeof p == "string") return n(p, g, y);
36587
+ } : function(p, g, v, b) {
36588
+ if (b = b || open("", "_blank"), b && (b.document.title = b.document.body.innerText = "downloading..."), typeof p == "string") return n(p, g, v);
36589
36589
  var $ = p.type === "application/octet-stream", x = /constructor/i.test(u.HTMLElement) || u.safari, S = /CriOS\/[\d]+/.test(navigator.userAgent);
36590
36590
  if ((S || $ && x || m) && typeof FileReader < "u") {
36591
36591
  var P = new FileReader();
@@ -36645,8 +36645,8 @@ const H7 = async ({
36645
36645
  service: Vn[h.toUpperCase()] || Vn.S3
36646
36646
  }), g = new Blob([p], { type: S7 });
36647
36647
  F7.saveAs(g, Yo);
36648
- const y = await R7(g);
36649
- window.open(y, "_top"), n(y);
36648
+ const v = await R7(g);
36649
+ window.open(v, "_top"), n(v);
36650
36650
  } catch (p) {
36651
36651
  t(p);
36652
36652
  } finally {
@@ -36960,19 +36960,19 @@ const Cxe = (e) => R({
36960
36960
  isLocalZone: p.type === "localzone"
36961
36961
  };
36962
36962
  }).sort(({ name: p }, { name: g }) => {
36963
- const y = p.replace(/[\d]+/, ""), b = g.replace(/[\d]+/, "");
36964
- if (y === b) {
36963
+ const v = p.replace(/[\d]+/, ""), b = g.replace(/[\d]+/, "");
36964
+ if (v === b) {
36965
36965
  const $ = parseInt(p.replace(/[^\d]+/, ""), 10) || 0, x = parseInt(g.replace(/[^\d]+/, ""), 10) || 0;
36966
36966
  return $ - x;
36967
36967
  }
36968
- return y.localeCompare(b);
36968
+ return v.localeCompare(b);
36969
36969
  }), m = {
36970
36970
  id: "WORLD",
36971
36971
  code: "WORLD",
36972
36972
  name: a("pci_project_regions_list_continent_all")
36973
36973
  }, h = [...new Set(u.map((p) => p.continentLabel))].map(
36974
36974
  (p) => {
36975
- const g = u.find((y) => y.continentLabel === p);
36975
+ const g = u.find((v) => v.continentLabel === p);
36976
36976
  return {
36977
36977
  id: g.macro,
36978
36978
  code: g.continentCode,
@@ -36992,7 +36992,7 @@ function FZ({
36992
36992
  onSelectRegion: a,
36993
36993
  regionFilter: t
36994
36994
  }) {
36995
- const [n, o] = U(null), [s, u] = U(null), [m, h] = U(null), p = LZ(e), { continents: g, regions: y } = p.data || {}, b = y == null ? void 0 : y.filter(
36995
+ const [n, o] = U(null), [s, u] = U(null), [m, h] = U(null), p = LZ(e), { continents: g, regions: v } = p.data || {}, b = v == null ? void 0 : v.filter(
36996
36996
  (k) => t ? t(k) : !0
36997
36997
  ), $ = g == null ? void 0 : g.filter(
36998
36998
  (k) => k.id === "WORLD" || b.some(({ continentLabel: V }) => V === k.name)
@@ -37217,7 +37217,7 @@ function Exe({
37217
37217
  selectContinent: h,
37218
37218
  selectMacroRegion: p,
37219
37219
  selectMicroRegion: g,
37220
- selectedMacroRegion: y,
37220
+ selectedMacroRegion: v,
37221
37221
  selectedMicroRegion: b,
37222
37222
  isPending: $
37223
37223
  } = FZ({ projectId: e, onSelectRegion: a, regionFilter: t });
@@ -37231,7 +37231,7 @@ function Exe({
37231
37231
  On,
37232
37232
  {
37233
37233
  regions: u,
37234
- selectedRegion: y,
37234
+ selectedRegion: v,
37235
37235
  onClick: p,
37236
37236
  render: (x, S) => /* @__PURE__ */ d(
37237
37237
  qZ,
@@ -37665,7 +37665,7 @@ function Une({ onGotoStreams: e }) {
37665
37665
  }), t.getURL("dedicated", "#/dbaas/logs/order", {}).then((b) => {
37666
37666
  window.location.href = b;
37667
37667
  }));
37668
- }, y = () => a(h ? h && !p ? "log_button_create_stream" : "log_button_transfer_stream" : "log_button_create_account");
37668
+ }, v = () => a(h ? h && !p ? "log_button_create_stream" : "log_button_transfer_stream" : "log_button_create_account");
37669
37669
  return /* @__PURE__ */ M(K, { children: [
37670
37670
  /* @__PURE__ */ d(N, { preset: "heading-1", children: a("log_tile_section_title") }),
37671
37671
  /* @__PURE__ */ d(gt, { className: "mt-4", children: /* @__PURE__ */ M("div", { className: "flex flex-col", children: [
@@ -37690,7 +37690,7 @@ function Une({ onGotoStreams: e }) {
37690
37690
  size: ve.sm,
37691
37691
  variant: Te.outline,
37692
37692
  onClick: g,
37693
- label: y()
37693
+ label: v()
37694
37694
  }
37695
37695
  )
37696
37696
  ] }) })
@@ -37743,13 +37743,13 @@ function toe({ onGotoStreams: e }) {
37743
37743
  }
37744
37744
  )
37745
37745
  ] }),
37746
- p == null ? void 0 : p.map(({ data: y, log: b, stream: $, streamURL: x }) => /* @__PURE__ */ d(gt, { className: "mt-4", children: /* @__PURE__ */ M("div", { className: "flex flex-col", children: [
37746
+ p == null ? void 0 : p.map(({ data: v, log: b, stream: $, streamURL: x }) => /* @__PURE__ */ d(gt, { className: "mt-4", children: /* @__PURE__ */ M("div", { className: "flex flex-col", children: [
37747
37747
  /* @__PURE__ */ d(N, { className: "block", preset: "heading-1", children: a("log_title_subscriptions_title") }),
37748
37748
  /* @__PURE__ */ M("dl", { className: "grid grid-cols-2", children: [
37749
- /* @__PURE__ */ d("dt", { className: "mb-4", children: /* @__PURE__ */ d(N, { preset: "span", className: "font-bold", children: (y == null ? void 0 : y.displayName) || (b == null ? void 0 : b.serviceName) }) }),
37749
+ /* @__PURE__ */ d("dt", { className: "mb-4", children: /* @__PURE__ */ d(N, { preset: "span", className: "font-bold", children: (v == null ? void 0 : v.displayName) || (b == null ? void 0 : b.serviceName) }) }),
37750
37750
  /* @__PURE__ */ d("dd", { className: "text-right", children: b == null ? void 0 : b.serviceName }),
37751
37751
  /* @__PURE__ */ d("dt", { className: "mb-4", children: /* @__PURE__ */ d(N, { preset: "span", className: "font-bold", children: a("log_title_subscriptions_user") }) }),
37752
- /* @__PURE__ */ d("dd", { className: "text-right", children: y == null ? void 0 : y.username }),
37752
+ /* @__PURE__ */ d("dd", { className: "text-right", children: v == null ? void 0 : v.username }),
37753
37753
  /* @__PURE__ */ d("dt", { children: /* @__PURE__ */ d(N, { preset: "span", className: "font-bold", children: a("logs_list_title") }) }),
37754
37754
  /* @__PURE__ */ d("dd", { className: "text-right", children: $ == null ? void 0 : $.title })
37755
37755
  ] }),
@@ -37930,7 +37930,7 @@ function doe({
37930
37930
  streamId: t,
37931
37931
  subscriptionCount: n
37932
37932
  }) {
37933
- const { t: o } = L("pci-logs"), { tracking: s } = te(ge).shell, { logsApiURL: u, logsKind: m, logsTracking: h } = te(tt), { data: p, isPending: g } = ooe(e, t), y = p == null ? void 0 : p.filter(({ kind: A }) => A === m), { navigation: b } = te(ge).shell, [$, x] = U(""), { addError: S, addSuccess: P } = At(), { create: z, isPending: W } = roe({
37933
+ const { t: o } = L("pci-logs"), { tracking: s } = te(ge).shell, { logsApiURL: u, logsKind: m, logsTracking: h } = te(tt), { data: p, isPending: g } = ooe(e, t), v = p == null ? void 0 : p.filter(({ kind: A }) => A === m), { navigation: b } = te(ge).shell, [$, x] = U(""), { addError: S, addSuccess: P } = At(), { create: z, isPending: W } = roe({
37934
37934
  logsApiURL: u,
37935
37935
  logsKind: m,
37936
37936
  streamId: t,
@@ -37962,7 +37962,7 @@ function doe({
37962
37962
  } }),
37963
37963
  !0
37964
37964
  )
37965
- }), C = y == null ? void 0 : y.find(
37965
+ }), C = v == null ? void 0 : v.find(
37966
37966
  ({ resource: A }) => A.name === a
37967
37967
  );
37968
37968
  return ue(() => {
@@ -38090,7 +38090,7 @@ function Hxe({
38090
38090
  e.serviceName,
38091
38091
  o,
38092
38092
  u
38093
- ), y = loe({
38093
+ ), v = loe({
38094
38094
  account: e,
38095
38095
  serviceName: a
38096
38096
  });
@@ -38131,7 +38131,7 @@ function Hxe({
38131
38131
  /* @__PURE__ */ d(
38132
38132
  Hi,
38133
38133
  {
38134
- columns: y,
38134
+ columns: v,
38135
38135
  items: (p == null ? void 0 : p.data) || [],
38136
38136
  totalItems: (p == null ? void 0 : p.totalCount) || 0,
38137
38137
  pagination: o,
@@ -38164,7 +38164,7 @@ function poe({
38164
38164
  isFullscreen: e,
38165
38165
  onToggleFullscreen: a
38166
38166
  }) {
38167
- const { t } = L("pci-logs"), n = et(void 0), o = et(void 0), { logsApiURL: s, logsKeys: u, logsKind: m } = te(tt), [h, p] = U(""), { messages: g, clearLogs: y, isPolling: b, setIsPolling: $, isError: x } = k7(
38167
+ const { t } = L("pci-logs"), n = et(void 0), o = et(void 0), { logsApiURL: s, logsKeys: u, logsKind: m } = te(tt), [h, p] = U(""), { messages: g, clearLogs: v, isPolling: b, setIsPolling: $, isError: x } = k7(
38168
38168
  s,
38169
38169
  m,
38170
38170
  u
@@ -38230,7 +38230,7 @@ function poe({
38230
38230
  className: "ml-4 min-w-[5rem]",
38231
38231
  variant: Te.outline,
38232
38232
  size: ve.sm,
38233
- onClick: y,
38233
+ onClick: v,
38234
38234
  label: t("clear_session")
38235
38235
  }
38236
38236
  ),
@@ -39089,7 +39089,7 @@ function Rxe({
39089
39089
  onClose: h,
39090
39090
  onCancel: p,
39091
39091
  confirmationText: g,
39092
- confirmationLabel: y
39092
+ confirmationLabel: v
39093
39093
  }) {
39094
39094
  const { t: b } = L("pci-common"), [$, x] = U({
39095
39095
  deleteInput: "",
@@ -39135,7 +39135,7 @@ function Rxe({
39135
39135
  "data-testid": "delete-formField",
39136
39136
  error: P,
39137
39137
  children: [
39138
- /* @__PURE__ */ d(N, { preset: "span", className: "text-[14px] font-bold", children: y }),
39138
+ /* @__PURE__ */ d(N, { preset: "span", className: "text-[14px] font-bold", children: v }),
39139
39139
  /* @__PURE__ */ d(
39140
39140
  fo,
39141
39141
  {
@@ -39455,7 +39455,7 @@ const V$e = 2, L$e = 1 / 1e8, F$e = ["SG", "ASIA", "AU", "IN"], H$e = [
39455
39455
  ], R$e = ["DE", "FI", "SN"];
39456
39456
  function I$e() {
39457
39457
  const { i18n: e, t: a } = L("pci-catalog-price"), { me: t } = da(), n = (u, m) => {
39458
- var g, y;
39458
+ var g, v;
39459
39459
  if (!t) return "";
39460
39460
  const h = {
39461
39461
  style: "currency",
@@ -39464,7 +39464,7 @@ function I$e() {
39464
39464
  }, p = (m == null ? void 0 : m.unit) >= 1 ? m == null ? void 0 : m.unit : L$e;
39465
39465
  try {
39466
39466
  return new Intl.NumberFormat(
39467
- (y = e.language) == null ? void 0 : y.replace("_", "-"),
39467
+ (v = e.language) == null ? void 0 : v.replace("_", "-"),
39468
39468
  h
39469
39469
  ).format(u * p);
39470
39470
  } catch {
@@ -39480,9 +39480,9 @@ function I$e() {
39480
39480
  secondary: "",
39481
39481
  interval: ""
39482
39482
  };
39483
- const { price: h, tax: p } = u, g = m == null ? void 0 : m.decimals, y = (m == null ? void 0 : m.intervalUnit) || u.intervalUnit !== "none" && u.interval > 0, b = a(
39483
+ const { price: h, tax: p } = u, g = m == null ? void 0 : m.decimals, v = (m == null ? void 0 : m.intervalUnit) || u.intervalUnit !== "none" && u.interval > 0, b = a(
39484
39484
  `order_catalog_price_interval_${(m == null ? void 0 : m.intervalUnit) || u.intervalUnit}`
39485
- ), $ = y ? `${u.interval > 1 ? `${u.interval} ` : ""}${b}` : "", x = F$e.includes(t.ovhSubsidiary), S = H$e.includes(t.ovhSubsidiary), P = R$e.includes(t.ovhSubsidiary);
39485
+ ), $ = v ? `${u.interval > 1 ? `${u.interval} ` : ""}${b}` : "", x = F$e.includes(t.ovhSubsidiary), S = H$e.includes(t.ovhSubsidiary), P = R$e.includes(t.ovhSubsidiary);
39486
39486
  if (x || S) {
39487
39487
  const z = x ? "gst" : "tax";
39488
39488
  return {
@@ -39615,7 +39615,7 @@ function B$e({
39615
39615
  onClick: h
39616
39616
  }) {
39617
39617
  var x, S;
39618
- const { t: p } = L("pci-flavors"), { formatBytes: g } = Hye(), { getTextPrice: y, getFormattedHourlyCatalogPrice: b } = Ri(4, {
39618
+ const { t: p } = L("pci-flavors"), { formatBytes: g } = Hye(), { getTextPrice: v, getFormattedHourlyCatalogPrice: b } = Ri(4, {
39619
39619
  exclVat: !0
39620
39620
  }), $ = Ii("public-cloud");
39621
39621
  return /* @__PURE__ */ d(
@@ -39676,7 +39676,7 @@ function B$e({
39676
39676
  ] }),
39677
39677
  /* @__PURE__ */ d("hr", { className: St }),
39678
39678
  o.monthly && /* @__PURE__ */ d(N, { preset: "span", className: "block text-[14px] font-bold", children: p("pci_project_flavors_price_monthly", {
39679
- price: y(o.monthly)
39679
+ price: v(o.monthly)
39680
39680
  }) }),
39681
39681
  /* @__PURE__ */ d(N, { preset: "span", className: "text-[14px]", children: b(o.hourly) }),
39682
39682
  !m && /* @__PURE__ */ M(K, { children: [
@@ -39980,7 +39980,7 @@ function qxe({
39980
39980
  }
39981
39981
  ),
39982
39982
  contentElement: (m) => /* @__PURE__ */ d("div", { className: "grid gap-6 p-6 grid-cols-1 md:grid-cols-2 xl:grid-cols-4", children: n.filter((h) => h.flavorCategory === m.category).map((h) => {
39983
- var p, g, y, b, $, x, S;
39983
+ var p, g, v, b, $, x, S;
39984
39984
  return /* @__PURE__ */ d("div", { children: /* @__PURE__ */ d(
39985
39985
  B$e,
39986
39986
  {
@@ -39992,7 +39992,7 @@ function qxe({
39992
39992
  frequency: h.blobs.technical.cpu.frequency,
39993
39993
  disk: (p = h.blobs.technical.storage) == null ? void 0 : p.disks,
39994
39994
  nvme: (g = h.blobs.technical.nvme) == null ? void 0 : g.disks,
39995
- bandwidth: (y = h.blobs.technical.bandwidth) == null ? void 0 : y.level,
39995
+ bandwidth: (v = h.blobs.technical.bandwidth) == null ? void 0 : v.level,
39996
39996
  gpuNumber: (b = h.blobs.technical.gpu) == null ? void 0 : b.number,
39997
39997
  gpuModel: ($ = h.blobs.technical.gpu) == null ? void 0 : $.model
39998
39998
  },
@@ -40017,8 +40017,12 @@ function Bxe({ tabs: e }) {
40017
40017
  var u;
40018
40018
  const [a, t] = U(""), n = Bi(), { clearNotifications: o } = At(), { tracking: s } = ((u = te(ge)) == null ? void 0 : u.shell) || {};
40019
40019
  return ue(() => {
40020
- const m = e.find((h) => n.pathname === h.to);
40021
- m ? (m.name !== a && o(), t(m.name)) : (o(), t(e[0].name));
40020
+ const m = n.pathname, h = e.find((p) => {
40021
+ var v;
40022
+ const g = (v = p.to) == null ? void 0 : v.split("?")[0];
40023
+ return m === g;
40024
+ });
40025
+ h ? (h.name !== a && o(), t(h.name)) : (o(), t(e[0].name));
40022
40026
  }, [n.pathname]), /* @__PURE__ */ d(ns, { id: "osds-tab-bar", children: e.map((m) => /* @__PURE__ */ d(qi.Fragment, { children: m.isDisabled ? /* @__PURE__ */ d(nn, { id: `osds-tab-bar-item-${m.name}`, children: m.title }) : /* @__PURE__ */ d(
40023
40027
  Xi,
40024
40028
  {
@@ -40086,7 +40090,7 @@ function Xxe({
40086
40090
  id: p = "popover-trigger",
40087
40091
  ...g
40088
40092
  }) {
40089
- const { t: y } = L("pci-quantity-selector"), b = {
40093
+ const { t: v } = L("pci-quantity-selector"), b = {
40090
40094
  min: s !== void 0 && n < s,
40091
40095
  max: u !== void 0 && n > u,
40092
40096
  nan: Number.isNaN(n)
@@ -40118,9 +40122,9 @@ function Xxe({
40118
40122
  }
40119
40123
  )
40120
40124
  ] }),
40121
- b.min && /* @__PURE__ */ d(N, { className: "text-[--ods-color-critical-500]", children: y("common_field_error_min", { min: s }) }),
40122
- b.max && /* @__PURE__ */ d(N, { className: "text-[--ods-color-critical-500]", children: y("common_field_error_max", { max: u }) }),
40123
- b.nan && /* @__PURE__ */ d(N, { className: "text-[--ods-color-critical-500]", children: y("common_field_error_number") })
40125
+ b.min && /* @__PURE__ */ d(N, { className: "text-[--ods-color-critical-500]", children: v("common_field_error_min", { min: s }) }),
40126
+ b.max && /* @__PURE__ */ d(N, { className: "text-[--ods-color-critical-500]", children: v("common_field_error_max", { max: u }) }),
40127
+ b.nan && /* @__PURE__ */ d(N, { className: "text-[--ods-color-critical-500]", children: v("common_field_error_number") })
40124
40128
  ] });
40125
40129
  }
40126
40130
  function Gxe({ pricing: e, options: a }) {
@@ -40295,7 +40299,7 @@ f.isInitialized ? eo() : f.on("initialized", eo);
40295
40299
  function Yxe({
40296
40300
  userId: e
40297
40301
  }) {
40298
- const { t: a } = L("pci-rclone-download"), { projectId: t } = Vt(), n = Gi(), { addSuccess: o, addError: s } = At(), { ovhSubsidiary: u } = te(ge).environment.getUser(), [m, h] = U(Ue.SWIFT), [p, g] = U(""), y = _t(
40302
+ const { t: a } = L("pci-rclone-download"), { projectId: t } = Vt(), n = Gi(), { addSuccess: o, addError: s } = At(), { ovhSubsidiary: u } = te(ge).environment.getUser(), [m, h] = U(Ue.SWIFT), [p, g] = U(""), v = _t(
40299
40303
  (P) => {
40300
40304
  const z = P.detail.value || "";
40301
40305
  h(z);
@@ -40374,7 +40378,7 @@ function Yxe({
40374
40378
  name: "fileType",
40375
40379
  isChecked: !0,
40376
40380
  color: "primary",
40377
- onOdsChange: y
40381
+ onOdsChange: v
40378
40382
  }
40379
40383
  ),
40380
40384
  /* @__PURE__ */ d("label", { htmlFor: "fileType-swift", children: /* @__PURE__ */ d(N, { children: Ue.SWIFT }) })
@@ -40386,7 +40390,7 @@ function Yxe({
40386
40390
  value: Ue.S3,
40387
40391
  name: "fileType",
40388
40392
  inputId: "fileType-s3",
40389
- onOdsChange: y
40393
+ onOdsChange: v
40390
40394
  }
40391
40395
  ),
40392
40396
  /* @__PURE__ */ d("label", { htmlFor: "fileType-s3", children: /* @__PURE__ */ d(N, { children: Ue.S3 }) })
@@ -40416,8 +40420,8 @@ function Yxe({
40416
40420
  var Et = { exports: {} };
40417
40421
  Et.exports;
40418
40422
  (function(e, a) {
40419
- var t = 200, n = "__lodash_hash_undefined__", o = 1, s = 2, u = 9007199254740991, m = "[object Arguments]", h = "[object Array]", p = "[object AsyncFunction]", g = "[object Boolean]", y = "[object Date]", b = "[object Error]", $ = "[object Function]", x = "[object GeneratorFunction]", S = "[object Map]", P = "[object Number]", z = "[object Null]", W = "[object Object]", k = "[object Promise]", V = "[object Proxy]", C = "[object RegExp]", A = "[object Set]", D = "[object String]", E = "[object Symbol]", Z = "[object Undefined]", q = "[object WeakMap]", Da = "[object ArrayBuffer]", vt = "[object DataView]", lr = "[object Float32Array]", ur = "[object Float64Array]", mr = "[object Int8Array]", _r = "[object Int16Array]", pr = "[object Int32Array]", hr = "[object Uint8Array]", fr = "[object Uint8ClampedArray]", gr = "[object Uint16Array]", br = "[object Uint32Array]", vr = /[\\^$.*+?()[\]{}|]/g, yr = /^\[object .+?Constructor\]$/, wr = /^(?:0|[1-9]\d*)$/, I = {};
40420
- I[lr] = I[ur] = I[mr] = I[_r] = I[pr] = I[hr] = I[fr] = I[gr] = I[br] = !0, I[m] = I[h] = I[Da] = I[g] = I[vt] = I[y] = I[b] = I[$] = I[S] = I[P] = I[W] = I[C] = I[A] = I[D] = I[q] = !1;
40423
+ var t = 200, n = "__lodash_hash_undefined__", o = 1, s = 2, u = 9007199254740991, m = "[object Arguments]", h = "[object Array]", p = "[object AsyncFunction]", g = "[object Boolean]", v = "[object Date]", b = "[object Error]", $ = "[object Function]", x = "[object GeneratorFunction]", S = "[object Map]", P = "[object Number]", z = "[object Null]", W = "[object Object]", k = "[object Promise]", V = "[object Proxy]", C = "[object RegExp]", A = "[object Set]", D = "[object String]", E = "[object Symbol]", Z = "[object Undefined]", q = "[object WeakMap]", Da = "[object ArrayBuffer]", vt = "[object DataView]", lr = "[object Float32Array]", ur = "[object Float64Array]", mr = "[object Int8Array]", _r = "[object Int16Array]", pr = "[object Int32Array]", hr = "[object Uint8Array]", fr = "[object Uint8ClampedArray]", gr = "[object Uint16Array]", br = "[object Uint32Array]", vr = /[\\^$.*+?()[\]{}|]/g, yr = /^\[object .+?Constructor\]$/, wr = /^(?:0|[1-9]\d*)$/, I = {};
40424
+ I[lr] = I[ur] = I[mr] = I[_r] = I[pr] = I[hr] = I[fr] = I[gr] = I[br] = !0, I[m] = I[h] = I[Da] = I[g] = I[vt] = I[v] = I[b] = I[$] = I[S] = I[P] = I[W] = I[C] = I[A] = I[D] = I[q] = !1;
40421
40425
  var Sa = typeof Me == "object" && Me && Me.Object === Object && Me, $r = typeof self == "object" && self && self.Object === Object && self, we = Sa || $r || Function("return this")(), Na = a && !a.nodeType && a, Ta = Na && !0 && e && !e.nodeType && e, Ca = Ta && Ta.exports === Na, It = Ca && Sa.process, Ea = function() {
40422
40426
  try {
40423
40427
  return It && It.binding && It.binding("util");
@@ -40425,26 +40429,26 @@ Et.exports;
40425
40429
  }
40426
40430
  }(), Aa = Ea && Ea.isTypedArray;
40427
40431
  function Pr(l, _) {
40428
- for (var v = -1, j = l == null ? 0 : l.length, O = 0, T = []; ++v < j; ) {
40429
- var X = l[v];
40430
- _(X, v, l) && (T[O++] = X);
40432
+ for (var y = -1, j = l == null ? 0 : l.length, O = 0, T = []; ++y < j; ) {
40433
+ var X = l[y];
40434
+ _(X, y, l) && (T[O++] = X);
40431
40435
  }
40432
40436
  return T;
40433
40437
  }
40434
40438
  function kr(l, _) {
40435
- for (var v = -1, j = _.length, O = l.length; ++v < j; )
40436
- l[O + v] = _[v];
40439
+ for (var y = -1, j = _.length, O = l.length; ++y < j; )
40440
+ l[O + y] = _[y];
40437
40441
  return l;
40438
40442
  }
40439
40443
  function Mr(l, _) {
40440
- for (var v = -1, j = l == null ? 0 : l.length; ++v < j; )
40441
- if (_(l[v], v, l))
40444
+ for (var y = -1, j = l == null ? 0 : l.length; ++y < j; )
40445
+ if (_(l[y], y, l))
40442
40446
  return !0;
40443
40447
  return !1;
40444
40448
  }
40445
40449
  function jr(l, _) {
40446
- for (var v = -1, j = Array(l); ++v < l; )
40447
- j[v] = _(v);
40450
+ for (var y = -1, j = Array(l); ++y < l; )
40451
+ j[y] = _(y);
40448
40452
  return j;
40449
40453
  }
40450
40454
  function zr(l) {
@@ -40459,21 +40463,21 @@ Et.exports;
40459
40463
  return l == null ? void 0 : l[_];
40460
40464
  }
40461
40465
  function Dr(l) {
40462
- var _ = -1, v = Array(l.size);
40466
+ var _ = -1, y = Array(l.size);
40463
40467
  return l.forEach(function(j, O) {
40464
- v[++_] = [O, j];
40465
- }), v;
40468
+ y[++_] = [O, j];
40469
+ }), y;
40466
40470
  }
40467
40471
  function Sr(l, _) {
40468
- return function(v) {
40469
- return l(_(v));
40472
+ return function(y) {
40473
+ return l(_(y));
40470
40474
  };
40471
40475
  }
40472
40476
  function Nr(l) {
40473
- var _ = -1, v = Array(l.size);
40477
+ var _ = -1, y = Array(l.size);
40474
40478
  return l.forEach(function(j) {
40475
- v[++_] = j;
40476
- }), v;
40479
+ y[++_] = j;
40480
+ }), y;
40477
40481
  }
40478
40482
  var Tr = Array.prototype, Cr = Function.prototype, yt = Object.prototype, Ot = we["__core-js_shared__"], Va = Cr.toString, be = yt.hasOwnProperty, La = function() {
40479
40483
  var l = /[^.]+$/.exec(Ot && Ot.keys && Ot.keys.IE_PROTO || "");
@@ -40482,8 +40486,8 @@ Et.exports;
40482
40486
  "^" + Va.call(be).replace(vr, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
40483
40487
  ), Ha = Ca ? we.Buffer : void 0, wt = we.Symbol, Ra = we.Uint8Array, Ia = yt.propertyIsEnumerable, Ar = Tr.splice, Ve = wt ? wt.toStringTag : void 0, Oa = Object.getOwnPropertySymbols, Vr = Ha ? Ha.isBuffer : void 0, Lr = Sr(Object.keys, Object), qt = Qe(we, "DataView"), at = Qe(we, "Map"), Bt = Qe(we, "Promise"), Xt = Qe(we, "Set"), Gt = Qe(we, "WeakMap"), nt = Qe(Object, "create"), Fr = He(qt), Hr = He(at), Rr = He(Bt), Ir = He(Xt), Or = He(Gt), qa = wt ? wt.prototype : void 0, Yt = qa ? qa.valueOf : void 0;
40484
40488
  function Le(l) {
40485
- var _ = -1, v = l == null ? 0 : l.length;
40486
- for (this.clear(); ++_ < v; ) {
40489
+ var _ = -1, y = l == null ? 0 : l.length;
40490
+ for (this.clear(); ++_ < y; ) {
40487
40491
  var j = l[_];
40488
40492
  this.set(j[0], j[1]);
40489
40493
  }
@@ -40498,8 +40502,8 @@ Et.exports;
40498
40502
  function Xr(l) {
40499
40503
  var _ = this.__data__;
40500
40504
  if (nt) {
40501
- var v = _[l];
40502
- return v === n ? void 0 : v;
40505
+ var y = _[l];
40506
+ return y === n ? void 0 : y;
40503
40507
  }
40504
40508
  return be.call(_, l) ? _[l] : void 0;
40505
40509
  }
@@ -40508,13 +40512,13 @@ Et.exports;
40508
40512
  return nt ? _[l] !== void 0 : be.call(_, l);
40509
40513
  }
40510
40514
  function Yr(l, _) {
40511
- var v = this.__data__;
40512
- return this.size += this.has(l) ? 0 : 1, v[l] = nt && _ === void 0 ? n : _, this;
40515
+ var y = this.__data__;
40516
+ return this.size += this.has(l) ? 0 : 1, y[l] = nt && _ === void 0 ? n : _, this;
40513
40517
  }
40514
40518
  Le.prototype.clear = qr, Le.prototype.delete = Br, Le.prototype.get = Xr, Le.prototype.has = Gr, Le.prototype.set = Yr;
40515
40519
  function $e(l) {
40516
- var _ = -1, v = l == null ? 0 : l.length;
40517
- for (this.clear(); ++_ < v; ) {
40520
+ var _ = -1, y = l == null ? 0 : l.length;
40521
+ for (this.clear(); ++_ < y; ) {
40518
40522
  var j = l[_];
40519
40523
  this.set(j[0], j[1]);
40520
40524
  }
@@ -40523,27 +40527,27 @@ Et.exports;
40523
40527
  this.__data__ = [], this.size = 0;
40524
40528
  }
40525
40529
  function Qr(l) {
40526
- var _ = this.__data__, v = Pt(_, l);
40527
- if (v < 0)
40530
+ var _ = this.__data__, y = Pt(_, l);
40531
+ if (y < 0)
40528
40532
  return !1;
40529
40533
  var j = _.length - 1;
40530
- return v == j ? _.pop() : Ar.call(_, v, 1), --this.size, !0;
40534
+ return y == j ? _.pop() : Ar.call(_, y, 1), --this.size, !0;
40531
40535
  }
40532
40536
  function Zr(l) {
40533
- var _ = this.__data__, v = Pt(_, l);
40534
- return v < 0 ? void 0 : _[v][1];
40537
+ var _ = this.__data__, y = Pt(_, l);
40538
+ return y < 0 ? void 0 : _[y][1];
40535
40539
  }
40536
40540
  function Jr(l) {
40537
40541
  return Pt(this.__data__, l) > -1;
40538
40542
  }
40539
40543
  function Ur(l, _) {
40540
- var v = this.__data__, j = Pt(v, l);
40541
- return j < 0 ? (++this.size, v.push([l, _])) : v[j][1] = _, this;
40544
+ var y = this.__data__, j = Pt(y, l);
40545
+ return j < 0 ? (++this.size, y.push([l, _])) : y[j][1] = _, this;
40542
40546
  }
40543
40547
  $e.prototype.clear = Kr, $e.prototype.delete = Qr, $e.prototype.get = Zr, $e.prototype.has = Jr, $e.prototype.set = Ur;
40544
40548
  function Fe(l) {
40545
- var _ = -1, v = l == null ? 0 : l.length;
40546
- for (this.clear(); ++_ < v; ) {
40549
+ var _ = -1, y = l == null ? 0 : l.length;
40550
+ for (this.clear(); ++_ < y; ) {
40547
40551
  var j = l[_];
40548
40552
  this.set(j[0], j[1]);
40549
40553
  }
@@ -40566,13 +40570,13 @@ Et.exports;
40566
40570
  return kt(this, l).has(l);
40567
40571
  }
40568
40572
  function oi(l, _) {
40569
- var v = kt(this, l), j = v.size;
40570
- return v.set(l, _), this.size += v.size == j ? 0 : 1, this;
40573
+ var y = kt(this, l), j = y.size;
40574
+ return y.set(l, _), this.size += y.size == j ? 0 : 1, this;
40571
40575
  }
40572
40576
  Fe.prototype.clear = ei, Fe.prototype.delete = ti, Fe.prototype.get = ai, Fe.prototype.has = ni, Fe.prototype.set = oi;
40573
40577
  function $t(l) {
40574
- var _ = -1, v = l == null ? 0 : l.length;
40575
- for (this.__data__ = new Fe(); ++_ < v; )
40578
+ var _ = -1, y = l == null ? 0 : l.length;
40579
+ for (this.__data__ = new Fe(); ++_ < y; )
40576
40580
  this.add(l[_]);
40577
40581
  }
40578
40582
  function ri(l) {
@@ -40590,8 +40594,8 @@ Et.exports;
40590
40594
  this.__data__ = new $e(), this.size = 0;
40591
40595
  }
40592
40596
  function ci(l) {
40593
- var _ = this.__data__, v = _.delete(l);
40594
- return this.size = _.size, v;
40597
+ var _ = this.__data__, y = _.delete(l);
40598
+ return this.size = _.size, y;
40595
40599
  }
40596
40600
  function di(l) {
40597
40601
  return this.__data__.get(l);
@@ -40600,18 +40604,18 @@ Et.exports;
40600
40604
  return this.__data__.has(l);
40601
40605
  }
40602
40606
  function ui(l, _) {
40603
- var v = this.__data__;
40604
- if (v instanceof $e) {
40605
- var j = v.__data__;
40607
+ var y = this.__data__;
40608
+ if (y instanceof $e) {
40609
+ var j = y.__data__;
40606
40610
  if (!at || j.length < t - 1)
40607
- return j.push([l, _]), this.size = ++v.size, this;
40608
- v = this.__data__ = new Fe(j);
40611
+ return j.push([l, _]), this.size = ++y.size, this;
40612
+ y = this.__data__ = new Fe(j);
40609
40613
  }
40610
- return v.set(l, _), this.size = v.size, this;
40614
+ return y.set(l, _), this.size = y.size, this;
40611
40615
  }
40612
40616
  ze.prototype.clear = si, ze.prototype.delete = ci, ze.prototype.get = di, ze.prototype.has = li, ze.prototype.set = ui;
40613
40617
  function mi(l, _) {
40614
- var v = Mt(l), j = !v && zi(l), O = !v && !j && Kt(l), T = !v && !j && !O && Ua(l), X = v || j || O || T, ee = X ? jr(l.length, String) : [], ae = ee.length;
40618
+ var y = Mt(l), j = !y && zi(l), O = !y && !j && Kt(l), T = !y && !j && !O && Ua(l), X = y || j || O || T, ee = X ? jr(l.length, String) : [], ae = ee.length;
40615
40619
  for (var B in l)
40616
40620
  be.call(l, B) && !(X && // Safari 9 has enumerable `arguments.length` in strict mode.
40617
40621
  (B == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
@@ -40621,14 +40625,14 @@ Et.exports;
40621
40625
  return ee;
40622
40626
  }
40623
40627
  function Pt(l, _) {
40624
- for (var v = l.length; v--; )
40625
- if (Ka(l[v][0], _))
40626
- return v;
40628
+ for (var y = l.length; y--; )
40629
+ if (Ka(l[y][0], _))
40630
+ return y;
40627
40631
  return -1;
40628
40632
  }
40629
- function _i(l, _, v) {
40633
+ function _i(l, _, y) {
40630
40634
  var j = _(l);
40631
- return Mt(l) ? j : kr(j, v(l));
40635
+ return Mt(l) ? j : kr(j, y(l));
40632
40636
  }
40633
40637
  function ot(l) {
40634
40638
  return l == null ? l === void 0 ? Z : z : Ve && Ve in Object(l) ? yi(l) : ji(l);
@@ -40636,10 +40640,10 @@ Et.exports;
40636
40640
  function Ba(l) {
40637
40641
  return rt(l) && ot(l) == m;
40638
40642
  }
40639
- function Xa(l, _, v, j, O) {
40640
- return l === _ ? !0 : l == null || _ == null || !rt(l) && !rt(_) ? l !== l && _ !== _ : pi(l, _, v, j, Xa, O);
40643
+ function Xa(l, _, y, j, O) {
40644
+ return l === _ ? !0 : l == null || _ == null || !rt(l) && !rt(_) ? l !== l && _ !== _ : pi(l, _, y, j, Xa, O);
40641
40645
  }
40642
- function pi(l, _, v, j, O, T) {
40646
+ function pi(l, _, y, j, O, T) {
40643
40647
  var X = Mt(l), ee = Mt(_), ae = X ? h : We(l), B = ee ? h : We(_);
40644
40648
  ae = ae == m ? W : ae, B = B == m ? W : B;
40645
40649
  var me = ae == W, fe = B == W, ne = ae == B;
@@ -40649,15 +40653,15 @@ Et.exports;
40649
40653
  X = !0, me = !1;
40650
40654
  }
40651
40655
  if (ne && !me)
40652
- return T || (T = new ze()), X || Ua(l) ? Ga(l, _, v, j, O, T) : bi(l, _, ae, v, j, O, T);
40653
- if (!(v & o)) {
40656
+ return T || (T = new ze()), X || Ua(l) ? Ga(l, _, y, j, O, T) : bi(l, _, ae, y, j, O, T);
40657
+ if (!(y & o)) {
40654
40658
  var _e = me && be.call(l, "__wrapped__"), pe = fe && be.call(_, "__wrapped__");
40655
40659
  if (_e || pe) {
40656
40660
  var xe = _e ? l.value() : l, Pe = pe ? _.value() : _;
40657
- return T || (T = new ze()), O(xe, Pe, v, j, T);
40661
+ return T || (T = new ze()), O(xe, Pe, y, j, T);
40658
40662
  }
40659
40663
  }
40660
- return ne ? (T || (T = new ze()), vi(l, _, v, j, O, T)) : !1;
40664
+ return ne ? (T || (T = new ze()), vi(l, _, y, j, O, T)) : !1;
40661
40665
  }
40662
40666
  function hi(l) {
40663
40667
  if (!Ja(l) || ki(l))
@@ -40672,18 +40676,18 @@ Et.exports;
40672
40676
  if (!Mi(l))
40673
40677
  return Lr(l);
40674
40678
  var _ = [];
40675
- for (var v in Object(l))
40676
- be.call(l, v) && v != "constructor" && _.push(v);
40679
+ for (var y in Object(l))
40680
+ be.call(l, y) && y != "constructor" && _.push(y);
40677
40681
  return _;
40678
40682
  }
40679
- function Ga(l, _, v, j, O, T) {
40680
- var X = v & o, ee = l.length, ae = _.length;
40683
+ function Ga(l, _, y, j, O, T) {
40684
+ var X = y & o, ee = l.length, ae = _.length;
40681
40685
  if (ee != ae && !(X && ae > ee))
40682
40686
  return !1;
40683
40687
  var B = T.get(l);
40684
40688
  if (B && T.get(_))
40685
40689
  return B == _;
40686
- var me = -1, fe = !0, ne = v & s ? new $t() : void 0;
40690
+ var me = -1, fe = !0, ne = y & s ? new $t() : void 0;
40687
40691
  for (T.set(l, _), T.set(_, l); ++me < ee; ) {
40688
40692
  var _e = l[me], pe = _[me];
40689
40693
  if (j)
@@ -40696,21 +40700,21 @@ Et.exports;
40696
40700
  }
40697
40701
  if (ne) {
40698
40702
  if (!Mr(_, function(Pe, Re) {
40699
- if (!Wr(ne, Re) && (_e === Pe || O(_e, Pe, v, j, T)))
40703
+ if (!Wr(ne, Re) && (_e === Pe || O(_e, Pe, y, j, T)))
40700
40704
  return ne.push(Re);
40701
40705
  })) {
40702
40706
  fe = !1;
40703
40707
  break;
40704
40708
  }
40705
- } else if (!(_e === pe || O(_e, pe, v, j, T))) {
40709
+ } else if (!(_e === pe || O(_e, pe, y, j, T))) {
40706
40710
  fe = !1;
40707
40711
  break;
40708
40712
  }
40709
40713
  }
40710
40714
  return T.delete(l), T.delete(_), fe;
40711
40715
  }
40712
- function bi(l, _, v, j, O, T, X) {
40713
- switch (v) {
40716
+ function bi(l, _, y, j, O, T, X) {
40717
+ switch (y) {
40714
40718
  case vt:
40715
40719
  if (l.byteLength != _.byteLength || l.byteOffset != _.byteOffset)
40716
40720
  return !1;
@@ -40718,7 +40722,7 @@ Et.exports;
40718
40722
  case Da:
40719
40723
  return !(l.byteLength != _.byteLength || !T(new Ra(l), new Ra(_)));
40720
40724
  case g:
40721
- case y:
40725
+ case v:
40722
40726
  case P:
40723
40727
  return Ka(+l, +_);
40724
40728
  case b:
@@ -40744,8 +40748,8 @@ Et.exports;
40744
40748
  }
40745
40749
  return !1;
40746
40750
  }
40747
- function vi(l, _, v, j, O, T) {
40748
- var X = v & o, ee = Ya(l), ae = ee.length, B = Ya(_), me = B.length;
40751
+ function vi(l, _, y, j, O, T) {
40752
+ var X = y & o, ee = Ya(l), ae = ee.length, B = Ya(_), me = B.length;
40749
40753
  if (ae != me && !X)
40750
40754
  return !1;
40751
40755
  for (var fe = ae; fe--; ) {
@@ -40763,7 +40767,7 @@ Et.exports;
40763
40767
  var Pe = l[ne], Re = _[ne];
40764
40768
  if (j)
40765
40769
  var en = X ? j(Re, Pe, ne, _, l, T) : j(Pe, Re, ne, l, _, T);
40766
- if (!(en === void 0 ? Pe === Re || O(Pe, Re, v, j, T) : en)) {
40770
+ if (!(en === void 0 ? Pe === Re || O(Pe, Re, y, j, T) : en)) {
40767
40771
  pe = !1;
40768
40772
  break;
40769
40773
  }
@@ -40779,22 +40783,22 @@ Et.exports;
40779
40783
  return _i(l, Di, wi);
40780
40784
  }
40781
40785
  function kt(l, _) {
40782
- var v = l.__data__;
40783
- return Pi(_) ? v[typeof _ == "string" ? "string" : "hash"] : v.map;
40786
+ var y = l.__data__;
40787
+ return Pi(_) ? y[typeof _ == "string" ? "string" : "hash"] : y.map;
40784
40788
  }
40785
40789
  function Qe(l, _) {
40786
- var v = xr(l, _);
40787
- return hi(v) ? v : void 0;
40790
+ var y = xr(l, _);
40791
+ return hi(y) ? y : void 0;
40788
40792
  }
40789
40793
  function yi(l) {
40790
- var _ = be.call(l, Ve), v = l[Ve];
40794
+ var _ = be.call(l, Ve), y = l[Ve];
40791
40795
  try {
40792
40796
  l[Ve] = void 0;
40793
40797
  var j = !0;
40794
40798
  } catch {
40795
40799
  }
40796
40800
  var O = Fa.call(l);
40797
- return j && (_ ? l[Ve] = v : delete l[Ve]), O;
40801
+ return j && (_ ? l[Ve] = y : delete l[Ve]), O;
40798
40802
  }
40799
40803
  var wi = Oa ? function(l) {
40800
40804
  return l == null ? [] : (l = Object(l), Pr(Oa(l), function(_) {
@@ -40802,7 +40806,7 @@ Et.exports;
40802
40806
  }));
40803
40807
  } : Si, We = ot;
40804
40808
  (qt && We(new qt(new ArrayBuffer(1))) != vt || at && We(new at()) != S || Bt && We(Bt.resolve()) != k || Xt && We(new Xt()) != A || Gt && We(new Gt()) != q) && (We = function(l) {
40805
- var _ = ot(l), v = _ == W ? l.constructor : void 0, j = v ? He(v) : "";
40809
+ var _ = ot(l), y = _ == W ? l.constructor : void 0, j = y ? He(y) : "";
40806
40810
  if (j)
40807
40811
  switch (j) {
40808
40812
  case Fr:
@@ -40829,8 +40833,8 @@ Et.exports;
40829
40833
  return !!La && La in l;
40830
40834
  }
40831
40835
  function Mi(l) {
40832
- var _ = l && l.constructor, v = typeof _ == "function" && _.prototype || yt;
40833
- return l === v;
40836
+ var _ = l && l.constructor, y = typeof _ == "function" && _.prototype || yt;
40837
+ return l === y;
40834
40838
  }
40835
40839
  function ji(l) {
40836
40840
  return Fa.call(l);
@@ -40983,7 +40987,7 @@ const na = /* @__PURE__ */ L7(oze), rze = ({
40983
40987
  ...g
40984
40988
  }) {
40985
40989
  var A;
40986
- const [y, b] = U({
40990
+ const [v, b] = U({
40987
40991
  value: t,
40988
40992
  group: void 0
40989
40993
  }), [$, x] = U({
@@ -41017,7 +41021,7 @@ const na = /* @__PURE__ */ L7(oze), rze = ({
41017
41021
  }, C = {
41018
41022
  itemsMap: J(() => {
41019
41023
  const D = /* @__PURE__ */ new Map();
41020
- return (m && y.group ? a.filter((E) => m.by(E) === y.group) : a).forEach((E, Z) => {
41024
+ return (m && v.group ? a.filter((E) => m.by(E) === v.group) : a).forEach((E, Z) => {
41021
41025
  if (u) {
41022
41026
  const q = u.by(E) ?? "";
41023
41027
  D.has(q) || D.set(q, []), D.get(q).push(E);
@@ -41027,7 +41031,7 @@ const na = /* @__PURE__ */ L7(oze), rze = ({
41027
41031
  [E]
41028
41032
  );
41029
41033
  }), D;
41030
- }, [a, u, y.group, m, s == null ? void 0 : s.getId]),
41034
+ }, [a, u, v.group, m, s == null ? void 0 : s.getId]),
41031
41035
  is: {
41032
41036
  stackSingle: _t(
41033
41037
  (D) => C.itemsMap.get(D).length === 1,
@@ -41043,24 +41047,24 @@ const na = /* @__PURE__ */ L7(oze), rze = ({
41043
41047
  stackSelected: _t(
41044
41048
  (D) => {
41045
41049
  var E;
41046
- return (E = C.itemsMap.get(D)) == null ? void 0 : E.some((Z) => na(Z, y.value));
41050
+ return (E = C.itemsMap.get(D)) == null ? void 0 : E.some((Z) => na(Z, v.value));
41047
41051
  },
41048
- [a, y.value]
41052
+ [a, v.value]
41049
41053
  )
41050
41054
  }
41051
41055
  };
41052
41056
  return ue(() => {
41053
- t && !na(t, y.value) && b((D) => ({ ...D, value: t }));
41057
+ t && !na(t, v.value) && b((D) => ({ ...D, value: t }));
41054
41058
  }, [t]), ue(() => {
41055
- n && n(y.value);
41056
- }, [y.value]), /* @__PURE__ */ d("section", { className: h, ...g, style: { maxWidth: "100%" }, children: !p || !m ? /* @__PURE__ */ M(K, { children: [
41059
+ n && n(v.value);
41060
+ }, [v.value]), /* @__PURE__ */ d("section", { className: h, ...g, style: { maxWidth: "100%" }, children: !p || !m ? /* @__PURE__ */ M(K, { children: [
41057
41061
  m && /* @__PURE__ */ M("ul", { className: "list-none flex flex-row gap-0 m-0 p-0 max-w-full w-full", children: [
41058
41062
  [...V.itemsMap.keys()].map((D) => /* @__PURE__ */ d(
41059
41063
  "li",
41060
41064
  {
41061
41065
  className: G(
41062
41066
  "border border-solid border-[#bef1ff] rounded-t-md overflow-hidden",
41063
- D === y.group ? "border-b-0 bg-[#F5FEFF] m-t[1px]" : "border-b bg-white"
41067
+ D === v.group ? "border-b-0 bg-[#F5FEFF] m-t[1px]" : "border-b bg-white"
41064
41068
  ),
41065
41069
  children: /* @__PURE__ */ d(
41066
41070
  "button",
@@ -41073,7 +41077,7 @@ const na = /* @__PURE__ */ L7(oze), rze = ({
41073
41077
  W,
41074
41078
  {
41075
41079
  groupName: D,
41076
- isGroupSelected: D === y.group,
41080
+ isGroupSelected: D === v.group,
41077
41081
  groupItems: D ? a.filter((E) => m.by(E) === D) : a,
41078
41082
  isMobile: p
41079
41083
  }
@@ -41124,7 +41128,7 @@ const na = /* @__PURE__ */ L7(oze), rze = ({
41124
41128
  {
41125
41129
  item: C.itemsMap.get(D)[0],
41126
41130
  isItemSelected: na(
41127
- y.value,
41131
+ v.value,
41128
41132
  C.itemsMap.get(D)[0]
41129
41133
  ),
41130
41134
  isMobile: p
@@ -41144,20 +41148,20 @@ const na = /* @__PURE__ */ L7(oze), rze = ({
41144
41148
  ) }, D))
41145
41149
  }
41146
41150
  ),
41147
- u && y.value && ((A = C.itemsMap.get(u.by(y.value))) == null ? void 0 : A.length) > 1 && /* @__PURE__ */ M("div", { className: "pl-4", children: [
41151
+ u && v.value && ((A = C.itemsMap.get(u.by(v.value))) == null ? void 0 : A.length) > 1 && /* @__PURE__ */ M("div", { className: "pl-4", children: [
41148
41152
  /* @__PURE__ */ d(
41149
41153
  z,
41150
41154
  {
41151
- stackKey: u.by(y.value),
41152
- stackItems: C.itemsMap.get(u.by(y.value)) || [],
41155
+ stackKey: u.by(v.value),
41156
+ stackItems: C.itemsMap.get(u.by(v.value)) || [],
41153
41157
  isMobile: p
41154
41158
  }
41155
41159
  ),
41156
41160
  /* @__PURE__ */ d(
41157
41161
  e,
41158
41162
  {
41159
- value: y.value,
41160
- items: C.itemsMap.get(u.by(y.value)),
41163
+ value: v.value,
41164
+ items: C.itemsMap.get(u.by(v.value)),
41161
41165
  item: {
41162
41166
  LabelComponent: s.LabelComponent,
41163
41167
  getId: s.getId,
@@ -41177,7 +41181,7 @@ const na = /* @__PURE__ */ L7(oze), rze = ({
41177
41181
  m.LabelComponent,
41178
41182
  {
41179
41183
  groupName: D,
41180
- isGroupSelected: D === y.group,
41184
+ isGroupSelected: D === v.group,
41181
41185
  groupItems: a.filter((E) => m.by(E) === D),
41182
41186
  isMobile: p
41183
41187
  }
@@ -41193,7 +41197,7 @@ const na = /* @__PURE__ */ L7(oze), rze = ({
41193
41197
  children: /* @__PURE__ */ d(
41194
41198
  e,
41195
41199
  {
41196
- value: y.value,
41200
+ value: v.value,
41197
41201
  items: V.itemsMap.get(D),
41198
41202
  item: {
41199
41203
  LabelComponent: s.LabelComponent,
@@ -41462,8 +41466,8 @@ const AWe = ({
41462
41466
  const g = J(
41463
41467
  () => n !== null ? t(n) : null,
41464
41468
  [t, n]
41465
- ), y = J(() => h ? n ? [n] : [] : a, [a, n, h]);
41466
- return /* @__PURE__ */ d(XWe, { label: e, subtitle: m, disabled: h, children: /* @__PURE__ */ d("div", { className: "grid gap-6 p-6 m-0 grid-cols-1 md:grid-cols-3", children: y.map((b) => {
41469
+ ), v = J(() => h ? n ? [n] : [] : a, [a, n, h]);
41470
+ return /* @__PURE__ */ d(XWe, { label: e, subtitle: m, disabled: h, children: /* @__PURE__ */ d("div", { className: "grid gap-6 p-6 m-0 grid-cols-1 md:grid-cols-3", children: v.map((b) => {
41467
41471
  const $ = t(b);
41468
41472
  return /* @__PURE__ */ d(
41469
41473
  BWe,