@hublo/mstaff-client-sdk 0.2.188 → 0.2.191

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.
Files changed (3) hide show
  1. package/dist/core.cjs +1 -1
  2. package/dist/core.js +524 -523
  3. package/package.json +1 -1
package/dist/core.js CHANGED
@@ -21,7 +21,7 @@ function Xt() {
21
21
  const T = n?.decode || v;
22
22
  let $ = 0;
23
23
  do {
24
- const M = C(s, $, P);
24
+ const M = V(s, $, P);
25
25
  if (M === -1)
26
26
  break;
27
27
  const L = R(s, $, P);
@@ -29,8 +29,8 @@ function Xt() {
29
29
  $ = s.lastIndexOf(";", M - 1) + 1;
30
30
  continue;
31
31
  }
32
- const F = V(s, $, M);
33
- I[F] === void 0 && (I[F] = T(V(s, M + 1, L))), $ = L + 1;
32
+ const F = C(s, $, M);
33
+ I[F] === void 0 && (I[F] = T(C(s, M + 1, L))), $ = L + 1;
34
34
  } while ($ < P);
35
35
  return I;
36
36
  }
@@ -109,13 +109,13 @@ function Xt() {
109
109
  return L;
110
110
  }
111
111
  function _(s, n) {
112
- const I = n?.decode || v, P = s.length, T = R(s, 0, P), $ = C(s, 0, T), M = $ === -1 ? { name: "", value: I(V(s, 0, T)) } : {
113
- name: V(s, 0, $),
114
- value: I(V(s, $ + 1, T))
112
+ const I = n?.decode || v, P = s.length, T = R(s, 0, P), $ = V(s, 0, T), M = $ === -1 ? { name: "", value: I(C(s, 0, T)) } : {
113
+ name: C(s, 0, $),
114
+ value: I(C(s, $ + 1, T))
115
115
  };
116
116
  let L = T + 1;
117
117
  for (; L < P; ) {
118
- const F = R(s, L, P), W = C(s, L, F), fe = W === -1 ? V(s, L, F) : V(s, L, W), U = W === -1 ? void 0 : V(s, W + 1, F);
118
+ const F = R(s, L, P), W = V(s, L, F), fe = W === -1 ? C(s, L, F) : C(s, L, W), U = W === -1 ? void 0 : C(s, W + 1, F);
119
119
  switch (fe.toLowerCase()) {
120
120
  case "httponly":
121
121
  M.httpOnly = !0;
@@ -162,11 +162,11 @@ function Xt() {
162
162
  const P = s.indexOf(";", n);
163
163
  return P === -1 ? I : P;
164
164
  }
165
- function C(s, n, I) {
165
+ function V(s, n, I) {
166
166
  const P = s.indexOf("=", n);
167
167
  return P < I ? P : -1;
168
168
  }
169
- function V(s, n, I) {
169
+ function C(s, n, I) {
170
170
  let P = n, T = I;
171
171
  do {
172
172
  const $ = s.charCodeAt(P);
@@ -307,7 +307,7 @@ function on(e, t, i) {
307
307
  return !0;
308
308
  return !1;
309
309
  }
310
- const No = () => {
310
+ const Uo = () => {
311
311
  let e = !1;
312
312
  return (function(t) {
313
313
  (/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(t) || /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(t.substr(0, 4))) && (e = !0);
@@ -317,10 +317,10 @@ const No = () => {
317
317
  return st(t).forEach((r) => i[r] = Fe(e?.[r], t[r])), "$item" in t && e?.forEach((r, o) => i[o] = Fe(r, t.$item)), i.$valid = (!t.$asserts || t.$asserts.every((r) => r(e))) && st(i).every((r) => i[r].$valid), i;
318
318
  }, cn = (e) => fn(
319
319
  Object.entries(e).reduce((t, [i, r]) => (t[`${i.replaceAll(".[]", ".$item")}${i.length ? "." : ""}$asserts`] = Array.isArray(r) ? r : [r], t), {})
320
- ), Uo = (e, t, i) => (e = JSON.parse(JSON.stringify(e)), wt(e).forEach((o) => {
320
+ ), xo = (e, t, i) => (e = JSON.parse(JSON.stringify(e)), wt(e).forEach((o) => {
321
321
  const c = o.replace(/\.[0-9]+/g, ".[]");
322
322
  ne(t, `${o}.$valid`) === !1 && i[c] !== void 0 && _e(e, o, i[c]);
323
- }), e), st = (e) => Object.keys(e).filter((t) => !t.startsWith("$")), xo = (e) => typeof e == "boolean", G = (e) => typeof e == "number", a = (e) => typeof e == "string", ue = (e) => Array.isArray(e), Z = (e) => typeof e == "object" && !ue(e) && e !== null, ht = (e) => Z(e) && e.constructor === Object, Fo = (e) => e instanceof Date, jo = (e) => typeof e == "function", dn = (e) => e === null, ln = (e) => e === void 0, un = (e) => dn(e) || ln(e), Ho = (e) => !un(e), Go = (e) => !!e, Jo = (e) => !e, b = (e, t) => ue(e) && e.every((i) => t(i)), zo = (e, t) => Z(e) && Object.values(e).every((i) => t(i)), m = (e, t) => sn(e, t).$valid, Wo = (e, t, i = !1) => {
323
+ }), e), st = (e) => Object.keys(e).filter((t) => !t.startsWith("$")), Fo = (e) => typeof e == "boolean", G = (e) => typeof e == "number", a = (e) => typeof e == "string", ue = (e) => Array.isArray(e), Z = (e) => typeof e == "object" && !ue(e) && e !== null, ht = (e) => Z(e) && e.constructor === Object, jo = (e) => e instanceof Date, Ho = (e) => typeof e == "function", dn = (e) => e === null, ln = (e) => e === void 0, un = (e) => dn(e) || ln(e), Go = (e) => !un(e), Jo = (e) => !!e, zo = (e) => !e, b = (e, t) => ue(e) && e.every((i) => t(i)), Wo = (e, t) => Z(e) && Object.values(e).every((i) => t(i)), m = (e, t) => sn(e, t).$valid, qo = (e, t, i = !1) => {
324
324
  ue(t) || (t = [t]);
325
325
  let r = e;
326
326
  for (; r; ) {
@@ -328,7 +328,7 @@ const No = () => {
328
328
  r = r.parentElement;
329
329
  }
330
330
  return !1;
331
- }, qo = () => typeof window < "u" && typeof window.document < "u", ce = () => typeof process < "u" && process.versions != null && process.versions.node != null, ne = (e, t, i) => {
331
+ }, Qo = () => typeof window < "u" && typeof window.document < "u", ce = () => typeof process < "u" && process.versions != null && process.versions.node != null, ne = (e, t, i) => {
332
332
  const r = typeof t == "string" ? t.split(".") : [t];
333
333
  let o = e;
334
334
  const c = (y) => y != null, f = (y) => typeof y == "object";
@@ -358,7 +358,7 @@ const No = () => {
358
358
  for (const [r, o] of i)
359
359
  _e(t, r, o);
360
360
  return t;
361
- }, Qo = (e, t = {}) => {
361
+ }, Ko = (e, t = {}) => {
362
362
  const i = Z(e) ? Object.entries(e) : e;
363
363
  for (const [r, o] of i)
364
364
  _e(t, r, o(t, r));
@@ -370,13 +370,13 @@ const No = () => {
370
370
  t(o, f, c) && (r.push(f), (Z(c) || ue(c)) && r.push(...wt(c, t, f)));
371
371
  }
372
372
  return r;
373
- }, Ko = (e) => Z(e) ? Object.values(e) : e, Yo = (e) => [...new Set(e)], Zo = (e, t) => {
373
+ }, Yo = (e) => Z(e) ? Object.values(e) : e, Zo = (e) => [...new Set(e)], Xo = (e, t) => {
374
374
  const i = /* @__PURE__ */ new Set();
375
375
  return e.filter((r) => {
376
376
  const o = r[t];
377
377
  return i.has(o) ? !1 : (i.add(o), !0);
378
378
  });
379
- }, Xo = (e) => e.startsWith("http:") ? e.replace("http:", "https:") : e, It = (e, t = !1) => e.startsWith("http:") || e.startsWith("https:") ? e : t ? `https://${e}` : `http://${e}`, bt = () => typeof window < "u" && window?.location ? new URL(window.location).hostname : void 0, lt = () => {
379
+ }, es = (e) => e.startsWith("http:") ? e.replace("http:", "https:") : e, It = (e, t = !1) => e.startsWith("http:") || e.startsWith("https:") ? e : t ? `https://${e}` : `http://${e}`, bt = () => typeof window < "u" && window?.location ? new URL(window.location).hostname : void 0, lt = () => {
380
380
  const e = bt();
381
381
  return !e || e === "localhost" ? e : `.${e}`;
382
382
  }, mn = () => ({ path: "/" }), pn = (e) => ({
@@ -451,7 +451,7 @@ const Re = (e, t, i) => {
451
451
  }, u = new se({
452
452
  prefix: "[SDK]"
453
453
  });
454
- let kt = null, je = null, He = null, vt = "/", St = null, Rt = null, Vt = null;
454
+ let kt = null, je = null, He = null, vt = "/", St = null, Rt = null, Ct = null;
455
455
  const gn = () => kt, hn = (e) => {
456
456
  if (u.info("[Config] Environment:", e), !e) throw new Error("Invalid environment.");
457
457
  kt = e;
@@ -463,13 +463,13 @@ const gn = () => kt, hn = (e) => {
463
463
  return je;
464
464
  }, wn = (e) => {
465
465
  u.info("[Config] API Host:", e), je = e;
466
- }, In = () => Vt, bn = (e) => {
467
- Vt = e;
466
+ }, In = () => Ct, bn = (e) => {
467
+ Ct = e;
468
468
  }, kn = () => !He && window?.location ? It(window?.location.host, !0) : He, vn = (e) => {
469
469
  u.info("[Config] Main App Host:", e), He = e;
470
470
  }, Sn = (e) => {
471
471
  u.info("[Config] Base Assets Urls:", e), vt = e;
472
- }, Rn = () => vt, Vn = () => St, Cn = (e) => {
472
+ }, Rn = () => vt, Cn = () => St, Vn = (e) => {
473
473
  u.info("[Config] App Name:", e), St = e;
474
474
  }, An = () => Rt, Pn = (e) => {
475
475
  u.info("[Config] App Version:", e), Rt = e;
@@ -484,8 +484,8 @@ const gn = () => kt, hn = (e) => {
484
484
  setMainAppHost: vn,
485
485
  setBaseAssetsUrl: Sn,
486
486
  getBaseAssetsUrl: Rn,
487
- getAppName: Vn,
488
- setAppName: Cn,
487
+ getAppName: Cn,
488
+ setAppName: Vn,
489
489
  getAppVersion: An,
490
490
  setAppVersion: Pn
491
491
  };
@@ -524,10 +524,10 @@ function En(e) {
524
524
  function R() {
525
525
  return o("Content-Type", "application/json"), this;
526
526
  }
527
- function C() {
527
+ function V() {
528
528
  return c("Content-Type") === "multipart/form-data";
529
529
  }
530
- function V() {
530
+ function C() {
531
531
  return c("Content-Type") === "application/json";
532
532
  }
533
533
  return {
@@ -541,8 +541,8 @@ function En(e) {
541
541
  hasAuthorization: w,
542
542
  setFormData: _,
543
543
  setJson: R,
544
- isFormData: C,
545
- isJson: V
544
+ isFormData: V,
545
+ isJson: C
546
546
  };
547
547
  }
548
548
  function On(e) {
@@ -582,14 +582,14 @@ function Ln(e, t, i) {
582
582
  }
583
583
  function y(w) {
584
584
  let _ = 0;
585
- const R = new FormData(), C = (V) => {
586
- for (const v in V) {
587
- const A = V[v];
588
- p(A) ? (V[v] = "<<FileIndex:" + _ + ">>", R.append(_, A, A.name), _++) : typeof A == "object" && (V[v] = C(V[v]));
585
+ const R = new FormData(), V = (C) => {
586
+ for (const v in C) {
587
+ const A = C[v];
588
+ p(A) ? (C[v] = "<<FileIndex:" + _ + ">>", R.append(_, A, A.name), _++) : typeof A == "object" && (C[v] = V(C[v]));
589
589
  }
590
- return V;
590
+ return C;
591
591
  };
592
- return R.append("payload", JSON.stringify(C(w))), R;
592
+ return R.append("payload", JSON.stringify(V(w))), R;
593
593
  }
594
594
  function p(w) {
595
595
  return typeof File < "u" && w instanceof File || typeof Blob < "u" && w instanceof Blob;
@@ -604,7 +604,7 @@ function Bn(e) {
604
604
  let i = null, r = {}, o = {};
605
605
  e && y(e);
606
606
  function c() {
607
- return t + p() + V();
607
+ return t + p() + C();
608
608
  }
609
609
  function f() {
610
610
  return p(!0, !0);
@@ -624,11 +624,11 @@ function Bn(e) {
624
624
  function R(n) {
625
625
  return r[n] && delete r[n], this;
626
626
  }
627
- function C() {
627
+ function V() {
628
628
  return Object.keys(r).length > 0;
629
629
  }
630
- function V(n = !0) {
631
- if (!C()) return "";
630
+ function C(n = !0) {
631
+ if (!V()) return "";
632
632
  let I = "";
633
633
  for (const P in r)
634
634
  if (Array.isArray(r[P]))
@@ -655,8 +655,8 @@ function Bn(e) {
655
655
  setQueryParams: w,
656
656
  setQueryParam: _,
657
657
  removeQueryParam: R,
658
- hasQuery: C,
659
- getQueryString: V,
658
+ hasQuery: V,
659
+ getQueryString: C,
660
660
  setRouteParams: v,
661
661
  setRouteParam: A,
662
662
  removeRouteParam: s
@@ -704,8 +704,8 @@ function Tn(e) {
704
704
  }
705
705
  function f() {
706
706
  i = !0;
707
- const V = C(arguments);
708
- return w(V.page || 1, !1), _(V.perPage || o, !1), R(), this;
707
+ const C = V(arguments);
708
+ return w(C.page || 1, !1), _(C.perPage || o, !1), R(), this;
709
709
  }
710
710
  function y() {
711
711
  return i = !1, R(), this;
@@ -713,19 +713,19 @@ function Tn(e) {
713
713
  function p() {
714
714
  return i;
715
715
  }
716
- function w(V, v = !0) {
717
- return t = !0, i = !0, r = V, v && R(), this;
716
+ function w(C, v = !0) {
717
+ return t = !0, i = !0, r = C, v && R(), this;
718
718
  }
719
- function _(V, v = !0) {
720
- return t = !0, i = !0, o = V, v && R(), this;
719
+ function _(C, v = !0) {
720
+ return t = !0, i = !0, o = C, v && R(), this;
721
721
  }
722
722
  function R() {
723
723
  t ? p() ? (e.removeQueryParam("pagination"), e.setQueryParam("page", r), e.setQueryParam("nbResultPerPage", o)) : (e.removeQueryParam("page"), e.removeQueryParam("nbResultPerPage"), e.setQueryParam("pagination", "false")) : (e.removeQueryParam("page"), e.removeQueryParam("nbResultPerPage"), e.removeQueryParam("pagination"));
724
724
  }
725
- function C(V) {
726
- if (V.length === 1 && typeof V[0] == "object") return V[0];
725
+ function V(C) {
726
+ if (C.length === 1 && typeof C[0] == "object") return C[0];
727
727
  const v = {};
728
- return V.length >= 1 && (v.page = V[0]), V.length >= 2 && (v.perPage = V[1]), v;
728
+ return C.length >= 1 && (v.page = C[0]), C.length >= 2 && (v.perPage = C[1]), v;
729
729
  }
730
730
  return {
731
731
  isList: c,
@@ -861,16 +861,16 @@ function Fn(e) {
861
861
  }
862
862
  function jn(e, t, i, r, o, c) {
863
863
  async function f() {
864
- const p = i.getMethod(), w = t.getUri(), _ = e.getHeaders(), R = r.getPayload(), C = [w];
865
- ["post", "put", "patch"].includes(p) && C.push(R || {}), C.push({
864
+ const p = i.getMethod(), w = t.getUri(), _ = e.getHeaders(), R = r.getPayload(), V = [w];
865
+ ["post", "put", "patch"].includes(p) && V.push(R || {}), V.push({
866
866
  headers: _,
867
867
  responseType: c.getResponseType()
868
868
  }), u.info("[Request] Sending request:", `[${p.toUpperCase()}]`, w);
869
869
  try {
870
- const V = await Kt[p](...C);
871
- return y(V);
872
- } catch (V) {
873
- throw xn(V, o.isSilent());
870
+ const C = await Kt[p](...V);
871
+ return y(C);
872
+ } catch (C) {
873
+ throw xn(C, o.isSilent());
874
874
  }
875
875
  }
876
876
  function y(p) {
@@ -886,7 +886,7 @@ function jn(e, t, i, r, o, c) {
886
886
  };
887
887
  }
888
888
  function N(e, t = "get", i = null) {
889
- const r = En(), o = Bn(e), c = On(t), f = Ln(c, r, i), y = Dn(o), p = Tn(o), w = $n(o), _ = Mn(), R = Nn(), C = jn(r, o, c, f, _, R);
889
+ const r = En(), o = Bn(e), c = On(t), f = Ln(c, r, i), y = Dn(o), p = Tn(o), w = $n(o), _ = Mn(), R = Nn(), V = jn(r, o, c, f, _, R);
890
890
  return {
891
891
  ...r,
892
892
  ...o,
@@ -897,11 +897,11 @@ function N(e, t = "get", i = null) {
897
897
  ...w,
898
898
  ..._,
899
899
  ...R,
900
- ...C
900
+ ...V
901
901
  };
902
902
  }
903
903
  function S(e, t = "get", i = null) {
904
- const r = N(e, t, i), o = cr();
904
+ const r = N(e, t, i), o = dr();
905
905
  o.hasAuth() && r.setAuthorization(o.getAuthToken()), r.hasBeenRefreshed = !1;
906
906
  const c = r.send;
907
907
  return r.send = async function() {
@@ -923,182 +923,183 @@ function S(e, t = "get", i = null) {
923
923
  }
924
924
  }, r.onRefreshFail = async () => (o.clear(), o.redirect()), r;
925
925
  }
926
- const Hn = (e, t) => S("/v2/activity/candidate/:candidateId/establishment/:establishmentId").setRouteParams({ candidateId: e, establishmentId: t }), es = () => ({
926
+ const Hn = (e, t) => S("/v2/activity/candidate/:candidateId/establishment/:establishmentId").setRouteParams({ candidateId: e, establishmentId: t }), ts = () => ({
927
927
  listByCandidateAndEstablishment: Hn
928
928
  }), Gn = (e, t) => N("/user/login").setMethod("post").setPayload({ email: e, password: t }), Jn = (e) => N("/token/refresh").setMethod("post").setPayload({ refresh_token: e }), zn = (e) => N("/user/password/reset/ask").setMethod("post").setPayload({ email: e }), Wn = (e, t) => N("/user/password/reset").setMethod("post").setPayload({ token: e, password: t }), qn = () => ({
929
929
  login: Gn,
930
930
  refreshToken: Jn,
931
931
  resetAsk: zn,
932
932
  reset: Wn
933
- }), Qn = (e) => S("/v2/recruiter-area/candidate-bank/institutions/:institutionUuid/candidates").isList().setRouteParams({ institutionUuid: e }), Kn = (e, t) => S("/v2/recruiter-area/candidate-bank/institutions/:institutionUuid/candidates/:candidateUuid").setRouteParams({ institutionUuid: e, candidateUuid: t }), Yn = (e, t) => S("/v2/recruiter-area/candidate-bank/institutions/:institutionUuid/candidates/:candidateUuid/mark-as-seen").setMethod("post").setRouteParams({ institutionUuid: e, candidateUuid: t }), ts = () => ({
933
+ }), Qn = (e) => S("/v2/recruiter-area/candidate-bank/institutions/:institutionUuid/candidates").isList().setRouteParams({ institutionUuid: e }), Kn = (e, t) => S("/v2/recruiter-area/candidate-bank/institutions/:institutionUuid/candidates/:candidateUuid").setRouteParams({ institutionUuid: e, candidateUuid: t }), Yn = (e, t) => S("/v2/recruiter-area/candidate-bank/institutions/:institutionUuid/candidates/:candidateUuid/mark-as-seen").setMethod("post").setRouteParams({ institutionUuid: e, candidateUuid: t }), Zn = (e, t, i) => S("/v2/recruiter-area/candidate-bank/institutions/:institutionUuid/candidates/:candidateUuid/scope").setMethod("patch").setRouteParams({ institutionUuid: e, candidateUuid: t }).setPayload({ scope: i }), ns = () => ({
934
934
  listCandidate: Qn,
935
935
  getCandidate: Kn,
936
- markCandidateAsSeen: Yn
937
- }), Zn = (e, t) => S("/v2/recruiter-area/candidate-notes").setQueryParams({ institution_uuid: e, candidate_uuid: t }), Xn = (e, t, i) => S("/v2/recruiter-area/candidate-notes").setMethod("post").setPayload({ institution_uuid: e, candidate_uuid: t, ...i }), ei = (e, t) => S("/v2/recruiter-area/candidate-notes/:note_uuid").setRouteParams({ note_uuid: e }).setMethod("put").setPayload(t), ti = (e) => S("/v2/recruiter-area/candidate-notes/:note_uuid").setRouteParams({ note_uuid: e }).setMethod("delete"), ns = () => ({
938
- listByEstablishmentAndCandidate: Zn,
939
- createForEstablishmentAndCandidate: Xn,
940
- update: ei,
941
- remove: ti
942
- }), ni = (e, t, i) => S("/candidate/:candidateId/share/establishment/:establishmentId").setMethod("post").setRouteParams({ candidateId: e, establishmentId: t }).setPayload(i), ii = (e, t) => S("/candidate/:candidateId/archive/establishment/:establishmentId").setRouteParams({ candidateId: e, establishmentId: t }), ai = (e, t) => S("/candidate/:candidateId/archive/establishment/:establishmentId").setMethod("post").setRouteParams({ candidateId: e, establishmentId: t }), ri = (e, t) => S("/candidate/:candidateId/archive/establishment/:establishmentId").setMethod("delete").setRouteParams({ candidateId: e, establishmentId: t }), oi = (e, t) => S("/v2/recruiter-area/candidates/lookup").setQueryParam("institution_uuid", e).setQueryParam("email", t), si = (e, t) => S("v2/recruiter-area/candidates/invite").setMethod("post").setQueryParam("institution_uuid", e).setPayload(t), ci = (e, t, i) => S("/v2/recruiter-area/candidates/:candidateUuid").setMethod("put").setRouteParams({ candidateUuid: e }).setQueryParam("institution_uuid", t).setPayload(i), di = (e) => S("/candidate/register/close/:registrationToken").setMethod("post").setRouteParams({ registrationToken: e }), li = (e) => S("/candidate/register/open").setMethod("post").setQueryParam("groups", "register:token").setPayload(e), ui = (e, t) => S("/establishment/:establishmentId:/candidate/invitation").setRouteParams({ establishmentId: e }).setMethod("post").setPayload(t), is = () => ({
943
- share: ni,
944
- isArchived: ii,
945
- archive: ai,
946
- unarchive: ri,
947
- lookup: oi,
948
- invite: si,
949
- update: ci,
950
- closeIncompleteRegistration: di,
951
- openNewRegistration: li,
952
- updateInvitation: ui
953
- }), fi = () => N("contractType").isList().addGroup("Term:id").addGroup("Term:name"), mi = (e, t = !0) => S("contractType/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), pi = (e) => S("contractType/establishment/:establishmentId/mine").isList().setRouteParams({ establishmentId: e }).addGroup("Term:id").addGroup("Term:name"), as = () => ({
954
- list: fi,
955
- listByEstablishment: mi,
956
- listMineByEstablishment: pi
957
- }), yi = (e) => S("/v2/talents").isList().setQueryParam("establishment-id", e), gi = (e) => S("/v2/talent/mark-as-seen/:talentId").setRouteParams({ talentId: e }).setMethod("post"), rs = () => ({
958
- list: yi,
959
- markAsSeen: gi
960
- }), hi = (e, t, i) => S("/cvtheque/establishment/:establishmentId/candidate/:candidateId/label/synchronize").setRouteParams({ establishmentId: e, candidateId: t }).setMethod("post").setPayload(i), os = () => ({
961
- syncCandidateLabels: hi
962
- }), _i = () => N("diploma").isList().addGroup("Term:id").addGroup("Term:name"), ss = () => ({
963
- list: _i
964
- }), wi = (e) => S("document/candidate/:candidateId").setRouteParams({ candidateId: e }).isList().disablePagination(), Ii = (e, t) => S("document/candidate/:candidateId/establishment/:establishmentId").setRouteParams({ candidateId: e, establishmentId: t }).isList().disablePagination(), bi = (e, t) => S("document/candidate/:candidateId/establishment/:establishmentId/recruiter").setRouteParams({ candidateId: e, establishmentId: t }).isList().disablePagination(), ki = (e, t) => S("document/candidate/:candidateId/establishment/:establishmentId/candidate").setRouteParams({ candidateId: e, establishmentId: t }).isList().disablePagination(), vi = (e) => S("document/recruiter").setMethod("post").setPayload(e), Si = (e) => S("document/:documentId").setRouteParams({ documentId: e }).setMethod("delete"), Ri = (e, t) => S("document/:documentId").setRouteParams({ documentId: e }).setMethod("put").setPayload({ documentType: t }), cs = () => ({
965
- listByCandidate: wi,
966
- listByCandidateAndEstablishment: Ii,
967
- listByCandidateAndEstablishmentFromRecruiter: bi,
968
- listByCandidateAndEstablishmentFromCandidate: ki,
969
- addFromRecruiter: vi,
970
- remove: Si,
971
- edit: Ri
972
- }), Vi = (e, t) => S("/v2/establishments/:establishmentId/email-history").setRouteParams({ establishmentId: t }).setQueryParam("receiverId", e).isList().disablePagination(), ds = () => ({
936
+ markCandidateAsSeen: Yn,
937
+ updateCandidateScope: Zn
938
+ }), Xn = (e, t) => S("/v2/recruiter-area/candidate-notes").setQueryParams({ institution_uuid: e, candidate_uuid: t }), ei = (e, t, i) => S("/v2/recruiter-area/candidate-notes").setMethod("post").setPayload({ institution_uuid: e, candidate_uuid: t, ...i }), ti = (e, t) => S("/v2/recruiter-area/candidate-notes/:note_uuid").setRouteParams({ note_uuid: e }).setMethod("put").setPayload(t), ni = (e) => S("/v2/recruiter-area/candidate-notes/:note_uuid").setRouteParams({ note_uuid: e }).setMethod("delete"), is = () => ({
939
+ listByEstablishmentAndCandidate: Xn,
940
+ createForEstablishmentAndCandidate: ei,
941
+ update: ti,
942
+ remove: ni
943
+ }), ii = (e, t, i) => S("/candidate/:candidateId/share/establishment/:establishmentId").setMethod("post").setRouteParams({ candidateId: e, establishmentId: t }).setPayload(i), ai = (e, t) => S("/candidate/:candidateId/archive/establishment/:establishmentId").setRouteParams({ candidateId: e, establishmentId: t }), ri = (e, t) => S("/candidate/:candidateId/archive/establishment/:establishmentId").setMethod("post").setRouteParams({ candidateId: e, establishmentId: t }), oi = (e, t) => S("/candidate/:candidateId/archive/establishment/:establishmentId").setMethod("delete").setRouteParams({ candidateId: e, establishmentId: t }), si = (e, t) => S("/v2/recruiter-area/candidates/lookup").setQueryParam("institution_uuid", e).setQueryParam("email", t), ci = (e, t) => S("v2/recruiter-area/candidates/invite").setMethod("post").setQueryParam("institution_uuid", e).setPayload(t), di = (e, t, i) => S("/v2/recruiter-area/candidates/:candidateUuid").setMethod("put").setRouteParams({ candidateUuid: e }).setQueryParam("institution_uuid", t).setPayload(i), li = (e) => S("/candidate/register/close/:registrationToken").setMethod("post").setRouteParams({ registrationToken: e }), ui = (e) => S("/candidate/register/open").setMethod("post").setQueryParam("groups", "register:token").setPayload(e), fi = (e, t) => S("/establishment/:establishmentId:/candidate/invitation").setRouteParams({ establishmentId: e }).setMethod("post").setPayload(t), as = () => ({
944
+ share: ii,
945
+ isArchived: ai,
946
+ archive: ri,
947
+ unarchive: oi,
948
+ lookup: si,
949
+ invite: ci,
950
+ update: di,
951
+ closeIncompleteRegistration: li,
952
+ openNewRegistration: ui,
953
+ updateInvitation: fi
954
+ }), mi = () => N("contractType").isList().addGroup("Term:id").addGroup("Term:name"), pi = (e, t = !0) => S("contractType/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), yi = (e) => S("contractType/establishment/:establishmentId/mine").isList().setRouteParams({ establishmentId: e }).addGroup("Term:id").addGroup("Term:name"), rs = () => ({
955
+ list: mi,
956
+ listByEstablishment: pi,
957
+ listMineByEstablishment: yi
958
+ }), gi = (e) => S("/v2/talents").isList().setQueryParam("establishment-id", e), hi = (e) => S("/v2/talent/mark-as-seen/:talentId").setRouteParams({ talentId: e }).setMethod("post"), os = () => ({
959
+ list: gi,
960
+ markAsSeen: hi
961
+ }), _i = (e, t, i) => S("/cvtheque/establishment/:establishmentId/candidate/:candidateId/label/synchronize").setRouteParams({ establishmentId: e, candidateId: t }).setMethod("post").setPayload(i), ss = () => ({
962
+ syncCandidateLabels: _i
963
+ }), wi = () => N("diploma").isList().addGroup("Term:id").addGroup("Term:name"), cs = () => ({
964
+ list: wi
965
+ }), Ii = (e) => S("document/candidate/:candidateId").setRouteParams({ candidateId: e }).isList().disablePagination(), bi = (e, t) => S("document/candidate/:candidateId/establishment/:establishmentId").setRouteParams({ candidateId: e, establishmentId: t }).isList().disablePagination(), ki = (e, t) => S("document/candidate/:candidateId/establishment/:establishmentId/recruiter").setRouteParams({ candidateId: e, establishmentId: t }).isList().disablePagination(), vi = (e, t) => S("document/candidate/:candidateId/establishment/:establishmentId/candidate").setRouteParams({ candidateId: e, establishmentId: t }).isList().disablePagination(), Si = (e) => S("document/recruiter").setMethod("post").setPayload(e), Ri = (e) => S("document/:documentId").setRouteParams({ documentId: e }).setMethod("delete"), Ci = (e, t) => S("document/:documentId").setRouteParams({ documentId: e }).setMethod("put").setPayload({ documentType: t }), ds = () => ({
966
+ listByCandidate: Ii,
967
+ listByCandidateAndEstablishment: bi,
968
+ listByCandidateAndEstablishmentFromRecruiter: ki,
969
+ listByCandidateAndEstablishmentFromCandidate: vi,
970
+ addFromRecruiter: Si,
971
+ remove: Ri,
972
+ edit: Ci
973
+ }), Vi = (e, t) => S("/v2/establishments/:establishmentId/email-history").setRouteParams({ establishmentId: t }).setQueryParam("receiverId", e).isList().disablePagination(), ls = () => ({
973
974
  listByCandidateAndEstablishment: Vi
974
- }), Ci = (e, t) => S("/email/candidate/:candidateId").setMethod("post").setRouteParams({ candidateId: e }).setPayload(t), Ai = (e, t) => S("/v2/emails/send").setMethod("post").setPayload({ recipientIds: e, ...t }), ls = () => ({
975
- sendToCandidate: Ci,
976
- sendToRecipients: Ai
977
- }), Pi = (e, t = !0) => {
975
+ }), Ai = (e, t) => S("/email/candidate/:candidateId").setMethod("post").setRouteParams({ candidateId: e }).setPayload(t), Pi = (e, t) => S("/v2/emails/send").setMethod("post").setPayload({ recipientIds: e, ...t }), us = () => ({
976
+ sendToCandidate: Ai,
977
+ sendToRecipients: Pi
978
+ }), Ei = (e, t = !0) => {
978
979
  const i = S("/v2/establishments/:establishmentId/email-templates").setRouteParams({ establishmentId: e }).isList().disablePagination();
979
980
  return t && i.setQueryParam("global", !0), i;
980
- }, Ei = () => S("/v2/self/email-templates").isList().disablePagination(), us = () => ({
981
- listByEstablishment: Pi,
982
- listSelf: Ei
983
- }), Oi = (e, t) => S("establishment-career/:establishmentId/:versionId").setRouteParams({ establishmentId: e, versionId: t }), Li = (e, t = "published") => S("establishment-career/:establishmentId/state/:state").setRouteParams({ establishmentId: e, state: t }), Bi = (e, t, i = null) => {
981
+ }, Oi = () => S("/v2/self/email-templates").isList().disablePagination(), fs = () => ({
982
+ listByEstablishment: Ei,
983
+ listSelf: Oi
984
+ }), Li = (e, t) => S("establishment-career/:establishmentId/:versionId").setRouteParams({ establishmentId: e, versionId: t }), Bi = (e, t = "published") => S("establishment-career/:establishmentId/state/:state").setRouteParams({ establishmentId: e, state: t }), Di = (e, t, i = null) => {
984
985
  const r = i !== null ? S("establishment-career/:establishmentId/:versionId").setRouteParams({ establishmentId: e, versionId: i }) : S("establishment-career/:establishmentId").setRouteParams({ establishmentId: e });
985
986
  return r.setMethod("post").setPayload(t), r;
986
- }, Di = (e, t) => S("establishment-career/:establishmentId/logo-banner").setMethod("post").setRouteParams({ establishmentId: e }).setPayload(t), Ti = (e, t, i) => S("establishment-career/:establishmentId/publish/:versionId").setMethod("post").setRouteParams({ establishmentId: e, versionId: t }).setPayload(i), fs = () => ({
987
- readById: Oi,
988
- readByState: Li,
989
- upsert: Bi,
990
- uploadLogoAndBanner: Di,
991
- publish: Ti
992
- }), $i = (e) => N("establishment/:establishmentId").setRouteParams({ establishmentId: e }), Mi = (e) => S("establishment/:establishmentId/authorizations").setRouteParams({ establishmentId: e }), Ct = () => ({
993
- read: $i,
994
- authorizations: Mi
995
- }), Ni = (e) => N("feature-flag/maintenance").setMethod("post").setPayload(e), Ui = (e, t) => N("feature-flag/establishment").setMethod("post").setPayload({ establishment: e, flagName: t }), ms = () => ({
996
- maintenanceModeEnabled: Ni,
997
- forEstablishment: Ui
998
- }), xi = () => N("functionalUnit").isList().addGroup("Term:id").addGroup("Term:name"), Fi = (e, t = !0) => S("functionalUnit/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), ji = (e) => S("functionalUnit/establishment/:establishmentId/mine").isList().setRouteParams({ establishmentId: e }).addGroup("Term:id").addGroup("Term:name"), ps = () => ({
999
- list: xi,
1000
- listByEstablishment: Fi,
1001
- listMineByEstablishment: ji
1002
- }), Hi = () => N("job").isList().addGroup("Term:id").addGroup("Term:name"), Gi = (e, t = !0) => S("job/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), Ji = (e) => S("job/establishment/:establishmentId/mine").isList().setRouteParams({ establishmentId: e }).addGroup("Term:id").addGroup("Term:name"), ys = () => ({
1003
- list: Hi,
1004
- listByEstablishment: Gi,
1005
- listMineByEstablishment: Ji
1006
- }), zi = (e) => S("jobStatus/establishment/:establishmentId/mine").isList().addGroup("term:formTermSelect").setRouteParams({ establishmentId: e }), Wi = (e) => S("jobStatus/establishment/:establishmentId/mine").isList().setRouteParams({ establishmentId: e }).addGroup("Term:id").addGroup("Term:name"), gs = () => ({
1007
- listByEstablishment: zi,
1008
- listMineByEstablishment: Wi
1009
- }), qi = (e, t) => S("/kanbanColumnsTemplate/user/:userId/establishment/:establishmentId").isList().setRouteParams({ userId: e, establishmentId: t }), hs = () => ({
1010
- listByUserAndEstablishment: qi
1011
- }), Qi = (e) => S("/label/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }), Ki = (e, t) => S("/v2/candidate-labels").isList().setQueryParam("establishment-id", e).setQueryParam("candidate-id", t), Yi = (e, t) => S("/label/establishment/:establishmentId").setMethod("post").setRouteParams({ establishmentId: e }).setPayload(t), Zi = (e, t) => S("/label/:labelId").setMethod("put").setRouteParams({ labelId: e }).setPayload(t), Xi = (e) => S("/label/:labelId").setMethod("delete").setRouteParams({ labelId: e }), ea = (e, t, i) => S("/label/establishment/:establishmentId/candidate/:candidateId/synchronize").setMethod("post").setPayload(i).setRouteParams({ establishmentId: e, candidateId: t }), _s = () => ({
1012
- listByEstablishment: Qi,
1013
- listByEstablishmentAndCandidate: Ki,
1014
- addToEstablishment: Yi,
1015
- update: Zi,
1016
- remove: Xi,
1017
- syncForCandidate: ea
1018
- }), ta = (e) => N("offer/:offerId").setRouteParams({ offerId: e }), na = (e, t) => S("offer/:offerId").setMethod("PUT").setRouteParams({ offerId: e }).setPayload(t).setQueryParam("collection", "complete").addGroup("offer:form-save").addGroup("Offer:jobBoardErrors"), ia = (e) => S("offer/:offerId/undraft").setMethod("PUT").setRouteParams({ offerId: e }).addGroup("offer:form-save").addGroup("Offer:jobBoardErrors"), aa = (e, t) => S("offer/recruitment/:recruitmentId").setMethod("POST").setRouteParams({ recruitmentId: e }).setPayload(t).setQueryParam("draft", 1).setQueryParam("collection", "complete").setQueryParam("forcePublish", "false").addGroup("offer:form-save").addGroup("Offer:jobBoardErrors"), ws = () => ({
1019
- read: ta,
1020
- save: na,
1021
- undraft: ia,
1022
- create: aa
1023
- }), ra = () => N("pole").isList().addGroup("Term:id").addGroup("Term:name"), oa = (e, t = !0) => S("pole/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), sa = (e) => S("pole/establishment/:establishmentId/mine").isList().setRouteParams({ establishmentId: e }).addGroup("Term:id").addGroup("Term:name"), Is = () => ({
1024
- list: ra,
1025
- listByEstablishment: oa,
1026
- listMineByEstablishment: sa
1027
- }), ca = () => N("rank").isList().addGroup("Term:id").addGroup("Term:name"), da = (e, t = !0) => S("rank/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), la = (e) => S("rank/establishment/:establishmentId/mine").isList().setRouteParams({ establishmentId: e }).addGroup("Term:id").addGroup("Term:name"), bs = () => ({
1028
- list: ca,
1029
- listByEstablishment: da,
1030
- listMineByEstablishment: la
1031
- }), ua = (e, t = !1) => {
987
+ }, Ti = (e, t) => S("establishment-career/:establishmentId/logo-banner").setMethod("post").setRouteParams({ establishmentId: e }).setPayload(t), $i = (e, t, i) => S("establishment-career/:establishmentId/publish/:versionId").setMethod("post").setRouteParams({ establishmentId: e, versionId: t }).setPayload(i), ms = () => ({
988
+ readById: Li,
989
+ readByState: Bi,
990
+ upsert: Di,
991
+ uploadLogoAndBanner: Ti,
992
+ publish: $i
993
+ }), Mi = (e) => N("establishment/:establishmentId").setRouteParams({ establishmentId: e }), Ni = (e) => S("establishment/:establishmentId/authorizations").setRouteParams({ establishmentId: e }), Vt = () => ({
994
+ read: Mi,
995
+ authorizations: Ni
996
+ }), Ui = (e) => N("feature-flag/maintenance").setMethod("post").setPayload(e), xi = (e, t) => N("feature-flag/establishment").setMethod("post").setPayload({ establishment: e, flagName: t }), ps = () => ({
997
+ maintenanceModeEnabled: Ui,
998
+ forEstablishment: xi
999
+ }), Fi = () => N("functionalUnit").isList().addGroup("Term:id").addGroup("Term:name"), ji = (e, t = !0) => S("functionalUnit/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), Hi = (e) => S("functionalUnit/establishment/:establishmentId/mine").isList().setRouteParams({ establishmentId: e }).addGroup("Term:id").addGroup("Term:name"), ys = () => ({
1000
+ list: Fi,
1001
+ listByEstablishment: ji,
1002
+ listMineByEstablishment: Hi
1003
+ }), Gi = () => N("job").isList().addGroup("Term:id").addGroup("Term:name"), Ji = (e, t = !0) => S("job/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), zi = (e) => S("job/establishment/:establishmentId/mine").isList().setRouteParams({ establishmentId: e }).addGroup("Term:id").addGroup("Term:name"), gs = () => ({
1004
+ list: Gi,
1005
+ listByEstablishment: Ji,
1006
+ listMineByEstablishment: zi
1007
+ }), Wi = (e) => S("jobStatus/establishment/:establishmentId/mine").isList().addGroup("term:formTermSelect").setRouteParams({ establishmentId: e }), qi = (e) => S("jobStatus/establishment/:establishmentId/mine").isList().setRouteParams({ establishmentId: e }).addGroup("Term:id").addGroup("Term:name"), hs = () => ({
1008
+ listByEstablishment: Wi,
1009
+ listMineByEstablishment: qi
1010
+ }), Qi = (e, t) => S("/kanbanColumnsTemplate/user/:userId/establishment/:establishmentId").isList().setRouteParams({ userId: e, establishmentId: t }), _s = () => ({
1011
+ listByUserAndEstablishment: Qi
1012
+ }), Ki = (e) => S("/label/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }), Yi = (e, t) => S("/v2/candidate-labels").isList().setQueryParam("establishment-id", e).setQueryParam("candidate-id", t), Zi = (e, t) => S("/label/establishment/:establishmentId").setMethod("post").setRouteParams({ establishmentId: e }).setPayload(t), Xi = (e, t) => S("/label/:labelId").setMethod("put").setRouteParams({ labelId: e }).setPayload(t), ea = (e) => S("/label/:labelId").setMethod("delete").setRouteParams({ labelId: e }), ta = (e, t, i) => S("/label/establishment/:establishmentId/candidate/:candidateId/synchronize").setMethod("post").setPayload(i).setRouteParams({ establishmentId: e, candidateId: t }), ws = () => ({
1013
+ listByEstablishment: Ki,
1014
+ listByEstablishmentAndCandidate: Yi,
1015
+ addToEstablishment: Zi,
1016
+ update: Xi,
1017
+ remove: ea,
1018
+ syncForCandidate: ta
1019
+ }), na = (e) => N("offer/:offerId").setRouteParams({ offerId: e }), ia = (e, t) => S("offer/:offerId").setMethod("PUT").setRouteParams({ offerId: e }).setPayload(t).setQueryParam("collection", "complete").addGroup("offer:form-save").addGroup("Offer:jobBoardErrors"), aa = (e) => S("offer/:offerId/undraft").setMethod("PUT").setRouteParams({ offerId: e }).addGroup("offer:form-save").addGroup("Offer:jobBoardErrors"), ra = (e, t) => S("offer/recruitment/:recruitmentId").setMethod("POST").setRouteParams({ recruitmentId: e }).setPayload(t).setQueryParam("draft", 1).setQueryParam("collection", "complete").setQueryParam("forcePublish", "false").addGroup("offer:form-save").addGroup("Offer:jobBoardErrors"), Is = () => ({
1020
+ read: na,
1021
+ save: ia,
1022
+ undraft: aa,
1023
+ create: ra
1024
+ }), oa = () => N("pole").isList().addGroup("Term:id").addGroup("Term:name"), sa = (e, t = !0) => S("pole/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), ca = (e) => S("pole/establishment/:establishmentId/mine").isList().setRouteParams({ establishmentId: e }).addGroup("Term:id").addGroup("Term:name"), bs = () => ({
1025
+ list: oa,
1026
+ listByEstablishment: sa,
1027
+ listMineByEstablishment: ca
1028
+ }), da = () => N("rank").isList().addGroup("Term:id").addGroup("Term:name"), la = (e, t = !0) => S("rank/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), ua = (e) => S("rank/establishment/:establishmentId/mine").isList().setRouteParams({ establishmentId: e }).addGroup("Term:id").addGroup("Term:name"), ks = () => ({
1029
+ list: da,
1030
+ listByEstablishment: la,
1031
+ listMineByEstablishment: ua
1032
+ }), fa = (e, t = !1) => {
1032
1033
  const i = S("/recruiter/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e });
1033
1034
  return t && i.setQueryParam("exclude-me", 1), i;
1034
- }, ks = () => ({
1035
- listByEstablishment: ua
1036
- }), fa = (e) => S("/recruitment/:recruitmentId").setRouteParams({ recruitmentId: e }), ma = (e) => S("recruitment/:recruitmentId/authorizations").setRouteParams({ recruitmentId: e }), pa = (e) => S("/recruitment/mine/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }), ya = (e, t) => S("/recruitment/mine/establishment/:establishmentId/has-not/candidate/:candidateId").isList().setRouteParams({ establishmentId: e, candidateId: t }), ga = (e, t) => S("/recruitment/mine/establishment/:establishmentId/has/candidate/:candidateId").isList().setRouteParams({ establishmentId: e, candidateId: t }), ha = (e, t) => S("/recruitment/establishment/:establishmentId/has/candidate/:candidateId").isList().setRouteParams({ establishmentId: e, candidateId: t }), _a = (e, t) => S("/recruitment/:recruitmentId/candidate").setMethod("put").setRouteParams({ recruitmentId: e }).setPayload(t), wa = (e, t) => S("/recruitment/:recruitmentId/candidate/:candidateId").setMethod("delete").setRouteParams({ recruitmentId: e, candidateId: t }), Ia = (e, t) => S("/recruitment/establishment/:establishmentId").setMethod("post").setRouteParams({ establishmentId: e }).setPayload(t), ba = (e, t) => S("/recruitment/:recruitmentId").setMethod("put").setRouteParams({ recruitmentId: e }).setPayload(t), ka = (e) => S("/recruitment/:recruitmentId/undraft").setMethod("put").setRouteParams({ recruitmentId: e }), va = (e) => S("/recruitment/:recruitmentId/archive").setMethod("put").setRouteParams({ recruitmentId: e }), Sa = (e) => S("/recruitment/:recruitmentId/unarchive").setMethod("put").setRouteParams({ recruitmentId: e }), Ra = (e) => S("/recruitment/:recruitmentId/unclose").setMethod("put").setRouteParams({ recruitmentId: e }), Va = (e) => S("/recruitment/:recruitmentId").setMethod("delete").setRouteParams({ recruitmentId: e }), vs = () => ({
1037
- read: fa,
1038
- authorizations: ma,
1039
- mineByEstablishment: pa,
1040
- mineWithoutCandidate: ya,
1041
- mineWithCandidate: ga,
1042
- withCandidate: ha,
1043
- addCandidates: _a,
1044
- removeCandidate: wa,
1045
- createByEstablishment: Ia,
1046
- update: ba,
1047
- undraft: ka,
1048
- archive: va,
1049
- unarchive: Sa,
1050
- unclose: Ra,
1035
+ }, vs = () => ({
1036
+ listByEstablishment: fa
1037
+ }), ma = (e) => S("/recruitment/:recruitmentId").setRouteParams({ recruitmentId: e }), pa = (e) => S("recruitment/:recruitmentId/authorizations").setRouteParams({ recruitmentId: e }), ya = (e) => S("/recruitment/mine/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }), ga = (e, t) => S("/recruitment/mine/establishment/:establishmentId/has-not/candidate/:candidateId").isList().setRouteParams({ establishmentId: e, candidateId: t }), ha = (e, t) => S("/recruitment/mine/establishment/:establishmentId/has/candidate/:candidateId").isList().setRouteParams({ establishmentId: e, candidateId: t }), _a = (e, t) => S("/recruitment/establishment/:establishmentId/has/candidate/:candidateId").isList().setRouteParams({ establishmentId: e, candidateId: t }), wa = (e, t) => S("/recruitment/:recruitmentId/candidate").setMethod("put").setRouteParams({ recruitmentId: e }).setPayload(t), Ia = (e, t) => S("/recruitment/:recruitmentId/candidate/:candidateId").setMethod("delete").setRouteParams({ recruitmentId: e, candidateId: t }), ba = (e, t) => S("/recruitment/establishment/:establishmentId").setMethod("post").setRouteParams({ establishmentId: e }).setPayload(t), ka = (e, t) => S("/recruitment/:recruitmentId").setMethod("put").setRouteParams({ recruitmentId: e }).setPayload(t), va = (e) => S("/recruitment/:recruitmentId/undraft").setMethod("put").setRouteParams({ recruitmentId: e }), Sa = (e) => S("/recruitment/:recruitmentId/archive").setMethod("put").setRouteParams({ recruitmentId: e }), Ra = (e) => S("/recruitment/:recruitmentId/unarchive").setMethod("put").setRouteParams({ recruitmentId: e }), Ca = (e) => S("/recruitment/:recruitmentId/unclose").setMethod("put").setRouteParams({ recruitmentId: e }), Va = (e) => S("/recruitment/:recruitmentId").setMethod("delete").setRouteParams({ recruitmentId: e }), Ss = () => ({
1038
+ read: ma,
1039
+ authorizations: pa,
1040
+ mineByEstablishment: ya,
1041
+ mineWithoutCandidate: ga,
1042
+ mineWithCandidate: ha,
1043
+ withCandidate: _a,
1044
+ addCandidates: wa,
1045
+ removeCandidate: Ia,
1046
+ createByEstablishment: ba,
1047
+ update: ka,
1048
+ undraft: va,
1049
+ archive: Sa,
1050
+ unarchive: Ra,
1051
+ unclose: Ca,
1051
1052
  delete: Va
1052
- }), Ca = (e, t, i, r = null, o = null) => {
1053
+ }), Aa = (e, t, i, r = null, o = null) => {
1053
1054
  const c = N("candidate/register/open").setMethod("post"), f = { email: e };
1054
1055
  return t === "establishment" && (f.establishmentId = i), t === "offer" && (f.offerId = i), r && (f.referer = r), o && (f.jwt = o), c.setPayload(f), c;
1055
- }, Aa = (e, t) => N("candidate/register/update/:token").setMethod("post").setRouteParams({ token: e }).setPayload(t), Pa = (e) => N("candidate/register/read/:token").setRouteParams({ token: e }), Ea = (e) => N("candidate/register/close/:token").setMethod("post").setRouteParams({ token: e }), Ss = () => ({
1056
- open: Ca,
1057
- update: Aa,
1058
- read: Pa,
1059
- close: Ea
1060
- }), Oa = (e, t) => S("/v2/registrations/lookup").setQueryParam("candidate-id", e).setQueryParam("establishment-id", t), Rs = () => ({
1061
- lookupEstablishment: Oa
1062
- }), La = () => N("requestReason").isList().addGroup("Term:id").addGroup("Term:name"), Ba = (e, t = !0) => S("requestReason/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), Da = (e) => S("requestReason/establishment/:establishmentId/mine").isList().setRouteParams({ establishmentId: e }).addGroup("Term:id").addGroup("Term:name"), Vs = () => ({
1063
- list: La,
1064
- listByEstablishment: Ba,
1065
- listMineByEstablishment: Da
1066
- }), Ta = (e) => S("/v2/recruiter-area/saved-filters").isList().setQueryParam("institution_uuid", e), $a = (e) => S("/v2/recruiter-area/saved-filters").setMethod("post").setPayload(e), Ma = (e, t) => S("/v2/recruiter-area/saved-filters/:uuid").setRouteParams({ uuid: e }).setMethod("put").setPayload(t), Na = (e) => S("/v2/recruiter-area/saved-filters/:uuid").setRouteParams({ uuid: e }).setMethod("delete"), Cs = () => ({
1067
- listMineByEstablishment: Ta,
1068
- create: $a,
1069
- update: Ma,
1070
- remove: Na
1071
- }), Ua = () => N("service").isList().addGroup("Term:id").addGroup("Term:name"), xa = (e, t = !0) => S("service/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), Fa = (e) => S("service/establishment/:establishmentId/mine").isList().setRouteParams({ establishmentId: e }).addGroup("Term:id").addGroup("Term:name"), As = () => ({
1072
- list: Ua,
1073
- listByEstablishment: xa,
1074
- listMineByEstablishment: Fa
1075
- }), ja = () => N("skill").isList().addGroup("term:formTermSelect"), Ps = () => ({
1076
- list: ja
1077
- }), Ha = () => N("speciality").isList().addGroup("Term:id").addGroup("Term:name"), Ga = (e, t = !0) => S("speciality/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), Ja = (e) => S("speciality/establishment/:establishmentId/mine").isList().setRouteParams({ establishmentId: e }).addGroup("Term:id").addGroup("Term:name"), Es = () => ({
1078
- list: Ha,
1079
- listByEstablishment: Ga,
1080
- listMineByEstablishment: Ja
1081
- }), za = (e) => S("/tag/public/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }), Os = () => ({
1082
- listByEstablishment: za
1083
- }), Wa = (e, t) => S("/v2/talent").setQueryParam("establishment-id", e).setQueryParam("candidate-id", t), qa = (e, t) => S("/v2/talents/lookup").setQueryParam("candidate-id", e).setQueryParam("establishment-id", t), Qa = (e) => S("/v2/talents/index").setMethod("post").setPayload(e), Ls = () => ({
1084
- read: Wa,
1085
- lookupTalent: qa,
1086
- addCandidateToTalentPool: Qa
1087
- }), Ka = (e) => S("/v2/recruiter-area/user-lists/institution/:establishmentUuid").setRouteParams({ establishmentUuid: e }), Bs = () => ({
1088
- listByEstablishment: Ka
1089
- }), Ya = (e) => N("user/email/isset/:email").setRouteParams({ email: e }), Za = () => S("user/self").addGroup("user:self").addGroup("User:phoneNumber"), Xa = (e) => S("/user/:uuid").setRouteParams({ uuid: e }), er = (e) => N("/user/:uuid").setRouteParams({ uuid: e }), tr = (e) => S("/user/:id/uuid").setRouteParams({ id: e }), nr = (e) => S("/user/collaborator/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }), ir = (e) => S("/user/creator/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }), ar = (e) => S("/recruitment/establishment/:establishmentId/validators").isList().setRouteParams({ establishmentId: e }), rr = () => ({
1090
- emailExists: Ya,
1091
- self: Za,
1092
- byUuidPrivate: Xa,
1093
- byUuid: er,
1094
- fetchUuid: tr,
1095
- listCollaboratorByEstablishment: nr,
1096
- listCreatorByEstablishment: ir,
1097
- listValidatorByEstablishment: ar
1098
- }), or = (e) => S("validationFlow/establishment/:establishmentId").setRouteParams({ establishmentId: e }).isList(), sr = (e, t) => S("validationFlow/user/:userId/establishment/:establishmentId").setRouteParams({ userId: e, establishmentId: t }).isList(), Ds = () => ({
1099
- listByEstablishment: or,
1100
- listByUserAndEstablishment: sr
1101
- }), cr = (e = {
1056
+ }, Pa = (e, t) => N("candidate/register/update/:token").setMethod("post").setRouteParams({ token: e }).setPayload(t), Ea = (e) => N("candidate/register/read/:token").setRouteParams({ token: e }), Oa = (e) => N("candidate/register/close/:token").setMethod("post").setRouteParams({ token: e }), Rs = () => ({
1057
+ open: Aa,
1058
+ update: Pa,
1059
+ read: Ea,
1060
+ close: Oa
1061
+ }), La = (e, t) => S("/v2/registrations/lookup").setQueryParam("candidate-id", e).setQueryParam("establishment-id", t), Cs = () => ({
1062
+ lookupEstablishment: La
1063
+ }), Ba = () => N("requestReason").isList().addGroup("Term:id").addGroup("Term:name"), Da = (e, t = !0) => S("requestReason/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), Ta = (e) => S("requestReason/establishment/:establishmentId/mine").isList().setRouteParams({ establishmentId: e }).addGroup("Term:id").addGroup("Term:name"), Vs = () => ({
1064
+ list: Ba,
1065
+ listByEstablishment: Da,
1066
+ listMineByEstablishment: Ta
1067
+ }), $a = (e) => S("/v2/recruiter-area/saved-filters").isList().setQueryParam("institution_uuid", e), Ma = (e) => S("/v2/recruiter-area/saved-filters").setMethod("post").setPayload(e), Na = (e, t) => S("/v2/recruiter-area/saved-filters/:uuid").setRouteParams({ uuid: e }).setMethod("put").setPayload(t), Ua = (e) => S("/v2/recruiter-area/saved-filters/:uuid").setRouteParams({ uuid: e }).setMethod("delete"), As = () => ({
1068
+ listMineByEstablishment: $a,
1069
+ create: Ma,
1070
+ update: Na,
1071
+ remove: Ua
1072
+ }), xa = () => N("service").isList().addGroup("Term:id").addGroup("Term:name"), Fa = (e, t = !0) => S("service/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), ja = (e) => S("service/establishment/:establishmentId/mine").isList().setRouteParams({ establishmentId: e }).addGroup("Term:id").addGroup("Term:name"), Ps = () => ({
1073
+ list: xa,
1074
+ listByEstablishment: Fa,
1075
+ listMineByEstablishment: ja
1076
+ }), Ha = () => N("skill").isList().addGroup("term:formTermSelect"), Es = () => ({
1077
+ list: Ha
1078
+ }), Ga = () => N("speciality").isList().addGroup("Term:id").addGroup("Term:name"), Ja = (e, t = !0) => S("speciality/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), za = (e) => S("speciality/establishment/:establishmentId/mine").isList().setRouteParams({ establishmentId: e }).addGroup("Term:id").addGroup("Term:name"), Os = () => ({
1079
+ list: Ga,
1080
+ listByEstablishment: Ja,
1081
+ listMineByEstablishment: za
1082
+ }), Wa = (e) => S("/tag/public/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }), Ls = () => ({
1083
+ listByEstablishment: Wa
1084
+ }), qa = (e, t) => S("/v2/talent").setQueryParam("establishment-id", e).setQueryParam("candidate-id", t), Qa = (e, t) => S("/v2/talents/lookup").setQueryParam("candidate-id", e).setQueryParam("establishment-id", t), Ka = (e) => S("/v2/talents/index").setMethod("post").setPayload(e), Bs = () => ({
1085
+ read: qa,
1086
+ lookupTalent: Qa,
1087
+ addCandidateToTalentPool: Ka
1088
+ }), Ya = (e) => S("/v2/recruiter-area/user-lists/institution/:establishmentUuid").setRouteParams({ establishmentUuid: e }), Ds = () => ({
1089
+ listByEstablishment: Ya
1090
+ }), Za = (e) => N("user/email/isset/:email").setRouteParams({ email: e }), Xa = () => S("user/self").addGroup("user:self").addGroup("User:phoneNumber"), er = (e) => S("/user/:uuid").setRouteParams({ uuid: e }), tr = (e) => N("/user/:uuid").setRouteParams({ uuid: e }), nr = (e) => S("/user/:id/uuid").setRouteParams({ id: e }), ir = (e) => S("/user/collaborator/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }), ar = (e) => S("/user/creator/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }), rr = (e) => S("/recruitment/establishment/:establishmentId/validators").isList().setRouteParams({ establishmentId: e }), or = () => ({
1091
+ emailExists: Za,
1092
+ self: Xa,
1093
+ byUuidPrivate: er,
1094
+ byUuid: tr,
1095
+ fetchUuid: nr,
1096
+ listCollaboratorByEstablishment: ir,
1097
+ listCreatorByEstablishment: ar,
1098
+ listValidatorByEstablishment: rr
1099
+ }), sr = (e) => S("validationFlow/establishment/:establishmentId").setRouteParams({ establishmentId: e }).isList(), cr = (e, t) => S("validationFlow/user/:userId/establishment/:establishmentId").setRouteParams({ userId: e, establishmentId: t }).isList(), Ts = () => ({
1100
+ listByEstablishment: sr,
1101
+ listByUserAndEstablishment: cr
1102
+ }), dr = (e = {
1102
1103
  token: "token",
1103
1104
  refresh: "refresh_token",
1104
1105
  expiration: "token_expiration_date"
@@ -1109,9 +1110,9 @@ const Hn = (e, t) => S("/v2/activity/candidate/:candidateId/establishment/:estab
1109
1110
  }, w = async () => {
1110
1111
  if (y() && p())
1111
1112
  try {
1112
- return C();
1113
+ return V();
1113
1114
  } catch {
1114
- return R(), V();
1115
+ return R(), C();
1115
1116
  }
1116
1117
  }, _ = (s, n) => {
1117
1118
  const I = A(s);
@@ -1119,7 +1120,7 @@ const Hn = (e, t) => S("/v2/activity/candidate/:candidateId/establishment/:estab
1119
1120
  t.setItem(e.token, s), t.setItem(e.refresh, n), t.setItem(e.expiration, ((I.exp - 60) * 1e3).toString());
1120
1121
  }, R = () => {
1121
1122
  t.removeItem(e.token), t.removeItem(e.refresh), t.removeItem(e.expiration);
1122
- }, C = async () => {
1123
+ }, V = async () => {
1123
1124
  const s = o();
1124
1125
  if (!s) throw new Error("No refresh token found.");
1125
1126
  try {
@@ -1128,18 +1129,18 @@ const Hn = (e, t) => S("/v2/activity/candidate/:candidateId/establishment/:estab
1128
1129
  } catch {
1129
1130
  throw new Error("Failed to refresh token.");
1130
1131
  }
1131
- }, V = async (s = oe().root()) => (window.open(s, "_self"), setTimeout(() => {
1132
+ }, C = async (s = oe().root()) => (window.open(s, "_self"), setTimeout(() => {
1132
1133
  throw u.error("Redirection failed."), new Error("Redirection failed.");
1133
1134
  }, 1e4)), v = async () => {
1134
1135
  if (!y()) return;
1135
1136
  const { roles: s } = A(r());
1136
1137
  if (p())
1137
1138
  try {
1138
- await C();
1139
+ await V();
1139
1140
  } catch {
1140
- return R(), s.includes("ROLE_CANDIDATE") ? V(oe().candidateSignIn()) : V(oe().root());
1141
+ return R(), s.includes("ROLE_CANDIDATE") ? C(oe().candidateSignIn()) : C(oe().root());
1141
1142
  }
1142
- return s.includes("ROLE_ADMIN") ? V(oe().backoffice()) : s.includes("ROLE_RH") ? V(oe().establishments()) : s.includes("ROLE_CANDIDATE") ? V(oe().candidateProfile()) : V();
1143
+ return s.includes("ROLE_ADMIN") ? C(oe().backoffice()) : s.includes("ROLE_RH") ? C(oe().establishments()) : s.includes("ROLE_CANDIDATE") ? C(oe().candidateProfile()) : C();
1143
1144
  }, A = (s) => JSON.parse(atob(s.split(".")[1]));
1144
1145
  return {
1145
1146
  keys: e,
@@ -1153,27 +1154,27 @@ const Hn = (e, t) => S("/v2/activity/candidate/:candidateId/establishment/:estab
1153
1154
  refreshIfExpired: w,
1154
1155
  authenticate: _,
1155
1156
  clear: R,
1156
- refresh: C,
1157
- redirect: V,
1157
+ refresh: V,
1158
+ redirect: C,
1158
1159
  redirectIfAuthenticated: v
1159
1160
  };
1160
1161
  };
1161
1162
  // @__NO_SIDE_EFFECTS__
1162
- function dr(e) {
1163
+ function lr(e) {
1163
1164
  const t = /* @__PURE__ */ Object.create(null);
1164
1165
  for (const i of e.split(",")) t[i] = 1;
1165
1166
  return (i) => i in t;
1166
1167
  }
1167
1168
  process.env.NODE_ENV !== "production" && Object.freeze({});
1168
1169
  process.env.NODE_ENV !== "production" && Object.freeze([]);
1169
- const Ze = Object.assign, lr = Object.prototype.hasOwnProperty, Ge = (e, t) => lr.call(e, t), we = Array.isArray, ye = (e) => At(e) === "[object Map]", ur = (e) => typeof e == "string", ve = (e) => typeof e == "symbol", Ie = (e) => e !== null && typeof e == "object", fr = Object.prototype.toString, At = (e) => fr.call(e), Pt = (e) => At(e).slice(8, -1), Xe = (e) => ur(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, mr = (e) => {
1170
+ const Ze = Object.assign, ur = Object.prototype.hasOwnProperty, Ge = (e, t) => ur.call(e, t), we = Array.isArray, ye = (e) => At(e) === "[object Map]", fr = (e) => typeof e == "string", ve = (e) => typeof e == "symbol", Ie = (e) => e !== null && typeof e == "object", mr = Object.prototype.toString, At = (e) => mr.call(e), Pt = (e) => At(e).slice(8, -1), Xe = (e) => fr(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, pr = (e) => {
1170
1171
  const t = /* @__PURE__ */ Object.create(null);
1171
1172
  return ((i) => t[i] || (t[i] = e(i)));
1172
- }, pr = mr((e) => e.charAt(0).toUpperCase() + e.slice(1)), ge = (e, t) => !Object.is(e, t);
1173
+ }, yr = pr((e) => e.charAt(0).toUpperCase() + e.slice(1)), ge = (e, t) => !Object.is(e, t);
1173
1174
  function le(e, ...t) {
1174
1175
  console.warn(`[Vue warn] ${e}`, ...t);
1175
1176
  }
1176
- let yr, Et = 0, Me;
1177
+ let gr, Et = 0, Me;
1177
1178
  function et() {
1178
1179
  Et++;
1179
1180
  }
@@ -1198,10 +1199,10 @@ function tt() {
1198
1199
  }
1199
1200
  let Ee = !0;
1200
1201
  const Ot = [];
1201
- function gr() {
1202
+ function hr() {
1202
1203
  Ot.push(Ee), Ee = !1;
1203
1204
  }
1204
- function hr() {
1205
+ function _r() {
1205
1206
  const e = Ot.pop();
1206
1207
  Ee = e === void 0 ? !0 : e;
1207
1208
  }
@@ -1243,7 +1244,7 @@ const Je = /* @__PURE__ */ new WeakMap(), te = /* @__PURE__ */ Symbol(
1243
1244
  process.env.NODE_ENV !== "production" ? "Array iterate" : ""
1244
1245
  );
1245
1246
  function x(e, t, i) {
1246
- if (Ee && yr) {
1247
+ if (Ee && gr) {
1247
1248
  let r = Je.get(e);
1248
1249
  r || Je.set(e, r = /* @__PURE__ */ new Map());
1249
1250
  let o = r.get(i);
@@ -1274,8 +1275,8 @@ function Y(e, t, i, r, o, c) {
1274
1275
  const p = we(e), w = p && Xe(i);
1275
1276
  if (p && i === "length") {
1276
1277
  const _ = Number(r);
1277
- f.forEach((R, C) => {
1278
- (C === "length" || C === be || !ve(C) && C >= _) && y(R);
1278
+ f.forEach((R, V) => {
1279
+ (V === "length" || V === be || !ve(V) && V >= _) && y(R);
1279
1280
  });
1280
1281
  } else
1281
1282
  switch ((i !== void 0 || f.has(void 0)) && y(f.get(i)), w && y(f.get(be)), t) {
@@ -1302,7 +1303,7 @@ function nt(e) {
1302
1303
  function K(e, t) {
1303
1304
  return /* @__PURE__ */ X(e) ? ke(/* @__PURE__ */ xt(e) ? z(t) : t) : z(t);
1304
1305
  }
1305
- const _r = {
1306
+ const wr = {
1306
1307
  __proto__: null,
1307
1308
  [Symbol.iterator]() {
1308
1309
  return Ne(this, Symbol.iterator, (e) => K(this, e));
@@ -1419,18 +1420,18 @@ function Ne(e, t, i) {
1419
1420
  return c.done || (c.value = i(c.value)), c;
1420
1421
  }), o;
1421
1422
  }
1422
- const wr = Array.prototype;
1423
+ const Ir = Array.prototype;
1423
1424
  function J(e, t, i, r, o, c) {
1424
1425
  const f = nt(e), y = f !== e && !/* @__PURE__ */ ee(e), p = f[t];
1425
- if (p !== wr[t]) {
1426
+ if (p !== Ir[t]) {
1426
1427
  const R = p.apply(e, c);
1427
1428
  return y ? z(R) : R;
1428
1429
  }
1429
1430
  let w = i;
1430
- f !== e && (y ? w = function(R, C) {
1431
- return i.call(this, K(e, R), C, e);
1432
- } : i.length > 2 && (w = function(R, C) {
1433
- return i.call(this, R, C, e);
1431
+ f !== e && (y ? w = function(R, V) {
1432
+ return i.call(this, K(e, R), V, e);
1433
+ } : i.length > 2 && (w = function(R, V) {
1434
+ return i.call(this, R, V, e);
1434
1435
  }));
1435
1436
  const _ = p.call(f, w, r);
1436
1437
  return y && o ? o(_) : _;
@@ -1448,17 +1449,17 @@ function Ue(e, t, i) {
1448
1449
  const r = /* @__PURE__ */ B(e);
1449
1450
  x(r, "iterate", be);
1450
1451
  const o = r[t](...i);
1451
- return (o === -1 || o === !1) && /* @__PURE__ */ Dr(i[0]) ? (i[0] = /* @__PURE__ */ B(i[0]), r[t](...i)) : o;
1452
+ return (o === -1 || o === !1) && /* @__PURE__ */ Tr(i[0]) ? (i[0] = /* @__PURE__ */ B(i[0]), r[t](...i)) : o;
1452
1453
  }
1453
1454
  function me(e, t, i = []) {
1454
- gr(), et();
1455
+ hr(), et();
1455
1456
  const r = (/* @__PURE__ */ B(e))[t].apply(e, i);
1456
- return tt(), hr(), r;
1457
+ return tt(), _r(), r;
1457
1458
  }
1458
- const Ir = /* @__PURE__ */ dr("__proto__,__v_isRef,__isVue"), Bt = new Set(
1459
+ const br = /* @__PURE__ */ lr("__proto__,__v_isRef,__isVue"), Bt = new Set(
1459
1460
  /* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(ve)
1460
1461
  );
1461
- function br(e) {
1462
+ function kr(e) {
1462
1463
  ve(e) || (e = String(e));
1463
1464
  const t = /* @__PURE__ */ B(this);
1464
1465
  return x(t, "has", e), t.hasOwnProperty(e);
@@ -1477,16 +1478,16 @@ class Dt {
1477
1478
  if (i === "__v_isShallow")
1478
1479
  return c;
1479
1480
  if (i === "__v_raw")
1480
- return r === (o ? c ? Or : Mt : c ? Er : $t).get(t) || // receiver is not the reactive proxy, but has the same prototype
1481
+ return r === (o ? c ? Lr : Mt : c ? Or : $t).get(t) || // receiver is not the reactive proxy, but has the same prototype
1481
1482
  // this means the receiver is a user proxy of the reactive proxy
1482
1483
  Object.getPrototypeOf(t) === Object.getPrototypeOf(r) ? t : void 0;
1483
1484
  const f = we(t);
1484
1485
  if (!o) {
1485
1486
  let p;
1486
- if (f && (p = _r[i]))
1487
+ if (f && (p = wr[i]))
1487
1488
  return p;
1488
1489
  if (i === "hasOwnProperty")
1489
- return br;
1490
+ return kr;
1490
1491
  }
1491
1492
  const y = Reflect.get(
1492
1493
  t,
@@ -1496,7 +1497,7 @@ class Dt {
1496
1497
  // its class methods
1497
1498
  /* @__PURE__ */ de(t) ? t : r
1498
1499
  );
1499
- if ((ve(i) ? Bt.has(i) : Ir(i)) || (o || x(t, "get", i), c))
1500
+ if ((ve(i) ? Bt.has(i) : br(i)) || (o || x(t, "get", i), c))
1500
1501
  return y;
1501
1502
  if (/* @__PURE__ */ de(y)) {
1502
1503
  const p = f && Xe(i) ? y : y.value;
@@ -1505,7 +1506,7 @@ class Dt {
1505
1506
  return Ie(y) ? o ? /* @__PURE__ */ qe(y) : /* @__PURE__ */ Nt(y) : y;
1506
1507
  }
1507
1508
  }
1508
- class kr extends Dt {
1509
+ class vr extends Dt {
1509
1510
  constructor(t = !1) {
1510
1511
  super(!1, t);
1511
1512
  }
@@ -1544,7 +1545,7 @@ class kr extends Dt {
1544
1545
  ), Reflect.ownKeys(t);
1545
1546
  }
1546
1547
  }
1547
- class vr extends Dt {
1548
+ class Sr extends Dt {
1548
1549
  constructor(t = !1) {
1549
1550
  super(!0, t);
1550
1551
  }
@@ -1561,7 +1562,7 @@ class vr extends Dt {
1561
1562
  ), !0;
1562
1563
  }
1563
1564
  }
1564
- const Sr = /* @__PURE__ */ new kr(), Rr = /* @__PURE__ */ new vr(), We = (e) => e, Ve = (e) => Reflect.getPrototypeOf(e);
1565
+ const Rr = /* @__PURE__ */ new vr(), Cr = /* @__PURE__ */ new Sr(), We = (e) => e, Ce = (e) => Reflect.getPrototypeOf(e);
1565
1566
  function Vr(e, t, i) {
1566
1567
  return function(...r) {
1567
1568
  const o = this.__v_raw, c = /* @__PURE__ */ B(o), f = ye(c), y = e === "entries" || e === Symbol.iterator && f, p = e === "keys" && f, w = o[e](...r), _ = i ? We : t ? ke : z;
@@ -1575,34 +1576,34 @@ function Vr(e, t, i) {
1575
1576
  {
1576
1577
  // iterator protocol
1577
1578
  next() {
1578
- const { value: R, done: C } = w.next();
1579
- return C ? { value: R, done: C } : {
1579
+ const { value: R, done: V } = w.next();
1580
+ return V ? { value: R, done: V } : {
1580
1581
  value: y ? [_(R[0]), _(R[1])] : _(R),
1581
- done: C
1582
+ done: V
1582
1583
  };
1583
1584
  }
1584
1585
  }
1585
1586
  );
1586
1587
  };
1587
1588
  }
1588
- function Ce(e) {
1589
+ function Ve(e) {
1589
1590
  return function(...t) {
1590
1591
  if (process.env.NODE_ENV !== "production") {
1591
1592
  const i = t[0] ? `on key "${t[0]}" ` : "";
1592
1593
  le(
1593
- `${pr(e)} operation ${i}failed: target is readonly.`,
1594
+ `${yr(e)} operation ${i}failed: target is readonly.`,
1594
1595
  /* @__PURE__ */ B(this)
1595
1596
  );
1596
1597
  }
1597
1598
  return e === "delete" ? !1 : e === "clear" ? void 0 : this;
1598
1599
  };
1599
1600
  }
1600
- function Cr(e, t) {
1601
+ function Ar(e, t) {
1601
1602
  const i = {
1602
1603
  get(o) {
1603
1604
  const c = this.__v_raw, f = /* @__PURE__ */ B(c), y = /* @__PURE__ */ B(o);
1604
1605
  e || (ge(o, y) && x(f, "get", o), x(f, "get", y));
1605
- const { has: p } = Ve(f), w = t ? We : e ? ke : z;
1606
+ const { has: p } = Ce(f), w = t ? We : e ? ke : z;
1606
1607
  if (p.call(f, o))
1607
1608
  return w(c.get(o));
1608
1609
  if (p.call(f, y))
@@ -1625,26 +1626,26 @@ function Cr(e, t) {
1625
1626
  return Ze(
1626
1627
  i,
1627
1628
  e ? {
1628
- add: Ce("add"),
1629
- set: Ce("set"),
1630
- delete: Ce("delete"),
1631
- clear: Ce("clear")
1629
+ add: Ve("add"),
1630
+ set: Ve("set"),
1631
+ delete: Ve("delete"),
1632
+ clear: Ve("clear")
1632
1633
  } : {
1633
1634
  add(o) {
1634
1635
  !t && !/* @__PURE__ */ ee(o) && !/* @__PURE__ */ X(o) && (o = /* @__PURE__ */ B(o));
1635
1636
  const c = /* @__PURE__ */ B(this);
1636
- return Ve(c).has.call(c, o) || (c.add(o), Y(c, "add", o, o)), this;
1637
+ return Ce(c).has.call(c, o) || (c.add(o), Y(c, "add", o, o)), this;
1637
1638
  },
1638
1639
  set(o, c) {
1639
1640
  !t && !/* @__PURE__ */ ee(c) && !/* @__PURE__ */ X(c) && (c = /* @__PURE__ */ B(c));
1640
- const f = /* @__PURE__ */ B(this), { has: y, get: p } = Ve(f);
1641
+ const f = /* @__PURE__ */ B(this), { has: y, get: p } = Ce(f);
1641
1642
  let w = y.call(f, o);
1642
1643
  w ? process.env.NODE_ENV !== "production" && ft(f, y, o) : (o = /* @__PURE__ */ B(o), w = y.call(f, o));
1643
1644
  const _ = p.call(f, o);
1644
1645
  return f.set(o, c), w ? ge(c, _) && Y(f, "set", o, c, _) : Y(f, "add", o, c), this;
1645
1646
  },
1646
1647
  delete(o) {
1647
- const c = /* @__PURE__ */ B(this), { has: f, get: y } = Ve(c);
1648
+ const c = /* @__PURE__ */ B(this), { has: f, get: y } = Ce(c);
1648
1649
  let p = f.call(c, o);
1649
1650
  p ? process.env.NODE_ENV !== "production" && ft(c, f, o) : (o = /* @__PURE__ */ B(o), p = f.call(c, o));
1650
1651
  const w = y ? y.call(c, o) : void 0, _ = c.delete(o);
@@ -1671,16 +1672,16 @@ function Cr(e, t) {
1671
1672
  }), i;
1672
1673
  }
1673
1674
  function Tt(e, t) {
1674
- const i = Cr(e, t);
1675
+ const i = Ar(e, t);
1675
1676
  return (r, o, c) => o === "__v_isReactive" ? !e : o === "__v_isReadonly" ? e : o === "__v_raw" ? r : Reflect.get(
1676
1677
  Ge(i, o) && o in r ? i : r,
1677
1678
  o,
1678
1679
  c
1679
1680
  );
1680
1681
  }
1681
- const Ar = {
1682
+ const Pr = {
1682
1683
  get: /* @__PURE__ */ Tt(!1, !1)
1683
- }, Pr = {
1684
+ }, Er = {
1684
1685
  get: /* @__PURE__ */ Tt(!0, !1)
1685
1686
  };
1686
1687
  function ft(e, t, i) {
@@ -1692,8 +1693,8 @@ function ft(e, t, i) {
1692
1693
  );
1693
1694
  }
1694
1695
  }
1695
- const $t = /* @__PURE__ */ new WeakMap(), Er = /* @__PURE__ */ new WeakMap(), Mt = /* @__PURE__ */ new WeakMap(), Or = /* @__PURE__ */ new WeakMap();
1696
- function Lr(e) {
1696
+ const $t = /* @__PURE__ */ new WeakMap(), Or = /* @__PURE__ */ new WeakMap(), Mt = /* @__PURE__ */ new WeakMap(), Lr = /* @__PURE__ */ new WeakMap();
1697
+ function Br(e) {
1697
1698
  switch (e) {
1698
1699
  case "Object":
1699
1700
  case "Array":
@@ -1707,16 +1708,16 @@ function Lr(e) {
1707
1708
  return 0;
1708
1709
  }
1709
1710
  }
1710
- function Br(e) {
1711
- return e.__v_skip || !Object.isExtensible(e) ? 0 : Lr(Pt(e));
1711
+ function Dr(e) {
1712
+ return e.__v_skip || !Object.isExtensible(e) ? 0 : Br(Pt(e));
1712
1713
  }
1713
1714
  // @__NO_SIDE_EFFECTS__
1714
1715
  function Nt(e) {
1715
1716
  return /* @__PURE__ */ X(e) ? e : Ut(
1716
1717
  e,
1717
1718
  !1,
1718
- Sr,
1719
- Ar,
1719
+ Rr,
1720
+ Pr,
1720
1721
  $t
1721
1722
  );
1722
1723
  }
@@ -1725,8 +1726,8 @@ function qe(e) {
1725
1726
  return Ut(
1726
1727
  e,
1727
1728
  !0,
1728
- Rr,
1729
- Pr,
1729
+ Cr,
1730
+ Er,
1730
1731
  Mt
1731
1732
  );
1732
1733
  }
@@ -1739,7 +1740,7 @@ function Ut(e, t, i, r, o) {
1739
1740
  ), e;
1740
1741
  if (e.__v_raw && !(t && e.__v_isReactive))
1741
1742
  return e;
1742
- const c = Br(e);
1743
+ const c = Dr(e);
1743
1744
  if (c === 0)
1744
1745
  return e;
1745
1746
  const f = o.get(e);
@@ -1764,7 +1765,7 @@ function ee(e) {
1764
1765
  return !!(e && e.__v_isShallow);
1765
1766
  }
1766
1767
  // @__NO_SIDE_EFFECTS__
1767
- function Dr(e) {
1768
+ function Tr(e) {
1768
1769
  return e ? !!e.__v_raw : !1;
1769
1770
  }
1770
1771
  // @__NO_SIDE_EFFECTS__
@@ -1779,12 +1780,12 @@ function de(e) {
1779
1780
  }
1780
1781
  // @__NO_SIDE_EFFECTS__
1781
1782
  function it(e) {
1782
- return Tr(e, !1);
1783
+ return $r(e, !1);
1783
1784
  }
1784
- function Tr(e, t) {
1785
- return /* @__PURE__ */ de(e) ? e : new $r(e, t);
1785
+ function $r(e, t) {
1786
+ return /* @__PURE__ */ de(e) ? e : new Mr(e, t);
1786
1787
  }
1787
- class $r {
1788
+ class Mr {
1788
1789
  constructor(t, i) {
1789
1790
  this.dep = new Lt(), this.__v_isRef = !0, this.__v_isShallow = !1, this._rawValue = i ? t : /* @__PURE__ */ B(t), this._value = i ? t : z(t), this.__v_isShallow = i;
1790
1791
  }
@@ -1806,16 +1807,16 @@ class $r {
1806
1807
  }) : this.dep.trigger());
1807
1808
  }
1808
1809
  }
1809
- const Ts = () => {
1810
+ const $s = () => {
1810
1811
  const e = /* @__PURE__ */ it({});
1811
1812
  return {
1812
1813
  establishments: e,
1813
1814
  fetch: async (i, r = !1) => {
1814
1815
  if (!(e.value[i] && !r))
1815
- return Ct().authorizations(i).send().then((o) => e.value = { ...e.value, [i]: o.getData() });
1816
+ return Vt().authorizations(i).send().then((o) => e.value = { ...e.value, [i]: o.getData() });
1816
1817
  }
1817
1818
  };
1818
- }, $s = () => {
1819
+ }, Ms = () => {
1819
1820
  const e = /* @__PURE__ */ it(void 0), t = Se(() => e.value?.roles ?? []), i = Se(() => t.value.includes("ROLE_RH")), r = Se(() => t.value.includes("ROLE_CANDIDATE")), o = Se(() => t.value.includes("ROLE_ADMIN"));
1820
1821
  return {
1821
1822
  user: e,
@@ -1828,18 +1829,18 @@ const Ts = () => {
1828
1829
  const y = localStorage.getItem("self");
1829
1830
  e.value = y ? JSON.parse(y) : void 0;
1830
1831
  }
1831
- return (e.value === void 0 || f) && await rr().self().send().then((y) => {
1832
+ return (e.value === void 0 || f) && await or().self().send().then((y) => {
1832
1833
  e.value = y.getData(), localStorage.setItem("self", JSON.stringify(e.value));
1833
1834
  }), e.value;
1834
1835
  }
1835
1836
  };
1836
- }, Ms = (e) => {
1837
+ }, Ns = (e) => {
1837
1838
  const t = /* @__PURE__ */ it(void 0);
1838
1839
  return {
1839
1840
  establishment: t,
1840
1841
  fetch: async (o) => {
1841
1842
  const c = localStorage.getItem("establishment");
1842
- return t.value = c ? JSON.parse(c) : void 0, (o || t.value === void 0 || t.value.id !== rt(e)) && await Ct().read(rt(e)).addGroup("Establishment:id").addGroup("Establishment:uuid").addGroup("Establishment:name").addGroup("Establishment:idhublo").addGroup("Establishment:subdomain").addGroup("Subdomain:id").addGroup("Subdomain:name").addGroup("Subdomain:enabled").send().then((f) => {
1843
+ return t.value = c ? JSON.parse(c) : void 0, (o || t.value === void 0 || t.value.id !== rt(e)) && await Vt().read(rt(e)).addGroup("Establishment:id").addGroup("Establishment:uuid").addGroup("Establishment:name").addGroup("Establishment:idhublo").addGroup("Establishment:subdomain").addGroup("Subdomain:id").addGroup("Subdomain:name").addGroup("Subdomain:enabled").send().then((f) => {
1843
1844
  t.value = f.getData(), localStorage.setItem("establishment", JSON.stringify(t.value));
1844
1845
  }), t.value;
1845
1846
  },
@@ -1847,7 +1848,7 @@ const Ts = () => {
1847
1848
  t.value = void 0, localStorage.removeItem("establishment");
1848
1849
  }
1849
1850
  };
1850
- }, Ns = () => ({
1851
+ }, Us = () => ({
1851
1852
  page__CandidateLoginViewed: async (s = {}) => l.page("Candidate Login Viewed", s.category ?? "Authentication"),
1852
1853
  page__InstitutionListViewed: async (s) => (m(s, {
1853
1854
  companyId: (n) => a(n),
@@ -1885,12 +1886,12 @@ const Ts = () => {
1885
1886
  email: (n) => a(n),
1886
1887
  error: (n) => b(n, a)
1887
1888
  }) || u.warn('Invalid properties for analytics call "User Sign In Failed".'), l.track("User Sign In Failed", s.category ?? "Authentication", s))
1888
- }), Us = () => ({
1889
+ }), xs = () => ({
1889
1890
  page__AboutConfigurationViewed: async (t) => (m(t, {
1890
1891
  companyId: (i) => a(i),
1891
1892
  institutionId: (i) => b(i, a)
1892
1893
  }) || u.warn('Invalid properties for analytics call "About Configuration Viewed".'), l.page("About Configuration Viewed", t.category ?? "Career Private", t))
1893
- }), xs = () => ({
1894
+ }), Fs = () => ({
1894
1895
  page__AboutViewed: async (s) => (m(s, {
1895
1896
  companyId: (n) => a(n),
1896
1897
  institutionId: (n) => b(n, a)
@@ -1978,7 +1979,7 @@ const Ts = () => {
1978
1979
  jobOfferId: (n) => a(n),
1979
1980
  recruitmentId: (n) => a(n)
1980
1981
  }) || u.warn('Invalid properties for analytics call "Spontaneous Application Sent".'), l.track("Spontaneous Application Sent", s.category ?? "Career Public", s))
1981
- }), Fs = () => ({
1982
+ }), js = () => ({
1982
1983
  page__AddCandidateDocumentViewed: async (s) => (m(s, {
1983
1984
  companyId: (n) => a(n),
1984
1985
  institutionId: (n) => b(n, a)
@@ -2050,7 +2051,7 @@ const Ts = () => {
2050
2051
  institutionId: (n) => b(n, a),
2051
2052
  selections: (n) => b(n, a)
2052
2053
  }) || u.warn('Invalid properties for analytics call "Document Upload Failed".'), l.track("Document Upload Failed", s.category ?? "CV Bank", s))
2053
- }), js = () => ({
2054
+ }), Hs = () => ({
2054
2055
  campaign__EmailContinueApplication: async (v = {}) => l.campaign("Email: Continue Application", v.category ?? "Hubler Application"),
2055
2056
  campaign__EmailFinalizeYourApplication: async (v = {}) => l.campaign("Email: Finalize Your Application", v.category ?? "Hubler Application"),
2056
2057
  campaign__EmailFollowUpApplication: async (v = {}) => l.campaign("Email: Follow Up Application", v.category ?? "Hubler Application"),
@@ -2094,7 +2095,7 @@ const Ts = () => {
2094
2095
  jobOfferId: (A) => a(A),
2095
2096
  recruitmentId: (A) => a(A)
2096
2097
  }) || u.warn('Invalid properties for analytics call "Application Form Failed".'), l.track("Application Form Failed", v.category ?? "Hubler Application", v))
2097
- }), Hs = () => ({
2098
+ }), Gs = () => ({
2098
2099
  track__UserSignedIn: async (o) => (m(o, {
2099
2100
  companyId: (c) => a(c),
2100
2101
  email: (c) => a(c),
@@ -2113,13 +2114,13 @@ const Ts = () => {
2113
2114
  email: (c) => a(c),
2114
2115
  error: (c) => b(c, a)
2115
2116
  }) || u.warn('Invalid properties for analytics call "User Signed Up Failed".'), l.track("User Signed Up Failed", o.category ?? "Hubler Authentication", o))
2116
- }), Gs = () => ({
2117
+ }), Js = () => ({
2117
2118
  page__CalendarViewed: async (t) => (m(t, {
2118
2119
  companyId: (i) => a(i),
2119
2120
  institutionId: (i) => b(i, a),
2120
2121
  recruitmentId: (i) => a(i)
2121
2122
  }) || u.warn('Invalid properties for analytics call "Calendar Viewed".'), l.page("Calendar Viewed", t.category ?? "Hubler Calendar", t))
2122
- }), Js = () => ({
2123
+ }), zs = () => ({
2123
2124
  page__DocumentListViewed: async (o = {}) => l.page("Document List Viewed", o.category ?? "Hubler Document"),
2124
2125
  track__DocumentAdded: async (o) => (m(o, {
2125
2126
  format: (c) => b(c, a),
@@ -2135,7 +2136,7 @@ const Ts = () => {
2135
2136
  hublerId: (c) => a(c),
2136
2137
  hublerType: (c) => a(c)
2137
2138
  }) || u.warn('Invalid properties for analytics call "Document Downloaded".'), l.track("Document Downloaded", o.category ?? "Hubler Document", o))
2138
- }), zs = () => ({
2139
+ }), Ws = () => ({
2139
2140
  page__AddExperienceViewed: async (p = {}) => l.page("Add Experience Viewed", p.category ?? "Hubler Resume"),
2140
2141
  page__ResumeViewed: async (p = {}) => l.page("Resume Viewed", p.category ?? "Hubler Resume"),
2141
2142
  track__ResumeDiplomaAdded: async (p = {}) => l.track("Resume Diploma Added", p.category ?? "Hubler Resume"),
@@ -2144,12 +2145,12 @@ const Ts = () => {
2144
2145
  track__ResumePictureUploaded: async (p = {}) => l.track("Resume Picture Uploaded", p.category ?? "Hubler Resume"),
2145
2146
  track__ResumeSaved: async (p = {}) => l.track("Resume Saved", p.category ?? "Hubler Resume"),
2146
2147
  track__ResumeSkillAdded: async (p = {}) => l.track("Resume Skill Added", p.category ?? "Hubler Resume")
2147
- }), Ws = () => ({
2148
+ }), qs = () => ({
2148
2149
  page__SettingAdministrativeViewed: async (o = {}) => l.page("Setting Administrative Viewed", o.category ?? "Hubler Settings"),
2149
2150
  page__SettingGeneralViewed: async (o = {}) => l.page("Setting General Viewed", o.category ?? "Hubler Settings"),
2150
2151
  page__SettingNotificationViewed: async (o = {}) => l.page("Setting Notification Viewed", o.category ?? "Hubler Settings"),
2151
2152
  page__SettingSecurityViewed: async (o = {}) => l.page("Setting Security Viewed", o.category ?? "Hubler Settings")
2152
- }), qs = () => ({
2153
+ }), Qs = () => ({
2153
2154
  page__JobOfferListViewed: async (s) => (m(s, {
2154
2155
  companyId: (n) => a(n),
2155
2156
  institutionId: (n) => b(n, a),
@@ -2235,10 +2236,10 @@ const Ts = () => {
2235
2236
  jobOfferId: (n) => a(n),
2236
2237
  recruitmentId: (n) => a(n)
2237
2238
  }) || u.warn('Invalid properties for analytics call "Offer - Published".'), l.track("Offer - Published", s.category ?? "Job Offer", s))
2238
- }), Qs = () => ({
2239
+ }), Ks = () => ({
2239
2240
  page__MessagingDiscussionViewed: async (i = {}) => l.page("Messaging Discussion Viewed", i.category ?? "Messaging"),
2240
2241
  page__MessengingViewed: async (i = {}) => l.page("Messenging Viewed", i.category ?? "Messaging")
2241
- }), Ks = () => ({
2242
+ }), Ys = () => ({
2242
2243
  page__ProfileViewed: async (n) => (m(n, {
2243
2244
  companyId: (I) => a(I),
2244
2245
  hublerId: (I) => a(I),
@@ -2314,7 +2315,7 @@ const Ts = () => {
2314
2315
  companyId: (I) => a(I),
2315
2316
  hublerId: (I) => a(I)
2316
2317
  }) || u.warn('Invalid properties for analytics call "Profile Tab Selected".'), l.track("Profile Tab Selected", n.category ?? "Profile", n))
2317
- }), Ys = () => ({
2318
+ }), Zs = () => ({
2318
2319
  page__ApplicationListViewed: async (g) => (m(g, {
2319
2320
  companyId: (d) => a(d),
2320
2321
  institutionId: (d) => b(d, a),
@@ -2493,7 +2494,7 @@ const Ts = () => {
2493
2494
  institutionId: (d) => b(d, a),
2494
2495
  recruitmentId: (d) => a(d)
2495
2496
  }) || u.warn('Invalid properties for analytics call "Update Recruitment Clicked".'), l.track("Update Recruitment Clicked", g.category ?? "Recruitment", g))
2496
- }), Zs = () => ({
2497
+ }), Xs = () => ({
2497
2498
  page__EmailTemplateCreateViewed: async (f = {}) => l.page("Email Template Create Viewed", f.category ?? "Settings"),
2498
2499
  page__EmailTemplateEditViewed: async (f = {}) => l.page("Email Template Edit Viewed", f.category ?? "Settings"),
2499
2500
  page__EmailTemplateViewed: async (f = {}) => l.page("Email Template Viewed", f.category ?? "Settings"),
@@ -2503,17 +2504,17 @@ const Ts = () => {
2503
2504
  }) || u.warn('Invalid properties for analytics call "Settings General Viewed".'), l.page("Settings General Viewed", f.category ?? "Settings", f)),
2504
2505
  page__SettingsNotificationViewed: async (f = {}) => l.page("Settings Notification Viewed", f.category ?? "Settings"),
2505
2506
  page__SettingsSecurityViewed: async (f = {}) => l.page("Settings Security Viewed", f.category ?? "Settings")
2506
- }), Xs = () => ({
2507
+ }), ec = () => ({
2507
2508
  page__SourcingViewed: async (t) => (m(t, {
2508
2509
  companyId: (i) => a(i),
2509
2510
  institutionId: (i) => b(i, a)
2510
2511
  }) || u.warn('Invalid properties for analytics call "Sourcing Viewed".'), l.page("Sourcing Viewed", t.category ?? "Sourcing", t))
2511
- }), ec = () => ({
2512
+ }), tc = () => ({
2512
2513
  page__StatisticsViewed: async (t) => (m(t, {
2513
2514
  companyId: (i) => a(i),
2514
2515
  institutionId: (i) => b(i, a)
2515
2516
  }) || u.warn('Invalid properties for analytics call "Statistics Viewed".'), l.page("Statistics Viewed", t.category ?? "Statistics", t))
2516
- }), tc = () => ({
2517
+ }), nc = () => ({
2517
2518
  page__CareerSitePreviewViewed: async (h) => (m(h, {
2518
2519
  companyId: (E) => a(E)
2519
2520
  }) || u.warn('Invalid properties for analytics call "Career Site Preview Viewed".'), l.page("Career Site Preview Viewed", h.category ?? "Visual Builder", h)),
@@ -2625,80 +2626,80 @@ function O() {
2625
2626
  return i;
2626
2627
  }
2627
2628
  function f() {
2628
- const C = window.analytics = window.analytics || [];
2629
- if (!C.initialize && C.invoked)
2629
+ const V = window.analytics = window.analytics || [];
2630
+ if (!V.initialize && V.invoked)
2630
2631
  u.error("Segment snippet included twice.");
2631
2632
  else {
2632
- C.invoked = !0, C.methods = ["trackSubmit", "trackClick", "trackLink", "trackForm", "pageview", "identify", "reset", "group", "track", "ready", "alias", "debug", "page", "once", "off", "on", "addSourceMiddleware", "addIntegrationMiddleware", "setAnonymousId", "addDestinationMiddleware"], C.factory = function(V) {
2633
+ V.invoked = !0, V.methods = ["trackSubmit", "trackClick", "trackLink", "trackForm", "pageview", "identify", "reset", "group", "track", "ready", "alias", "debug", "page", "once", "off", "on", "addSourceMiddleware", "addIntegrationMiddleware", "setAnonymousId", "addDestinationMiddleware"], V.factory = function(C) {
2633
2634
  return function() {
2634
- if (window.analytics.initialized) return window.analytics[V].apply(window.analytics, arguments);
2635
+ if (window.analytics.initialized) return window.analytics[C].apply(window.analytics, arguments);
2635
2636
  const v = Array.prototype.slice.call(arguments);
2636
- return v.unshift(V), C.push(v), C;
2637
+ return v.unshift(C), V.push(v), V;
2637
2638
  };
2638
2639
  };
2639
- for (let V = 0; V < C.methods.length; V++) {
2640
- const v = C.methods[V];
2641
- C[v] = C.factory(v);
2640
+ for (let C = 0; C < V.methods.length; C++) {
2641
+ const v = V.methods[C];
2642
+ V[v] = V.factory(v);
2642
2643
  }
2643
- C.load = function(V, v) {
2644
+ V.load = function(C, v) {
2644
2645
  const A = document.createElement("script");
2645
- A.id = "analytics-script", A.type = "text/javascript", A.async = !0, A.src = "https://cdn.segment.com/analytics.js/v1/" + V + "/analytics.min.js", A.onerror = () => window.dispatchEvent(new Event("analytics-error"));
2646
+ A.id = "analytics-script", A.type = "text/javascript", A.async = !0, A.src = "https://cdn.segment.com/analytics.js/v1/" + C + "/analytics.min.js", A.onerror = () => window.dispatchEvent(new Event("analytics-error"));
2646
2647
  const s = document.getElementsByTagName("script")[0];
2647
- s.parentNode.insertBefore(A, s), C._loadOptions = v;
2648
- }, C._writeKey = t, C.SNIPPET_VERSION = "4.16.1", C.load(t), C.page(), C.ready(() => window.dispatchEvent(new Event("analytics-ready")));
2648
+ s.parentNode.insertBefore(A, s), V._loadOptions = v;
2649
+ }, V._writeKey = t, V.SNIPPET_VERSION = "4.16.1", V.load(t), V.page(), V.ready(() => window.dispatchEvent(new Event("analytics-ready")));
2649
2650
  }
2650
2651
  }
2651
2652
  async function y() {
2652
- return o !== null || (o = new Promise((C, V) => {
2653
+ return o !== null || (o = new Promise((V, C) => {
2653
2654
  if (!c())
2654
- return R("Analytics is disabled."), C();
2655
+ return R("Analytics is disabled."), V();
2655
2656
  if (window.addEventListener("analytics-ready", () => {
2656
- R("Analytics script loaded successfully."), C();
2657
+ R("Analytics script loaded successfully."), V();
2657
2658
  }), window.addEventListener("analytics-error", () => {
2658
- R("Analytics script failed to load. Consider disabling your AdBlocker.", null, "error"), V();
2659
- }), R("Loading Analytics script."), window.analytics) return C();
2659
+ R("Analytics script failed to load. Consider disabling your AdBlocker.", null, "error"), C();
2660
+ }), R("Loading Analytics script."), window.analytics) return V();
2660
2661
  f();
2661
2662
  })), o;
2662
2663
  }
2663
- async function p(C, V) {
2664
+ async function p(V, C) {
2664
2665
  if (!ce())
2665
2666
  try {
2666
- if (await this.analyticsScriptReady(), R("[identify]", [C, V]), c())
2667
- return window.analytics.identify(C, V);
2667
+ if (await this.analyticsScriptReady(), R("[identify]", [V, C]), c())
2668
+ return window.analytics.identify(V, C);
2668
2669
  } catch {
2669
- R("[identify]", [C, V], "error");
2670
+ R("[identify]", [V, C], "error");
2670
2671
  }
2671
2672
  }
2672
- async function w(C, V, v) {
2673
+ async function w(V, C, v) {
2673
2674
  if (!ce()) {
2674
2675
  typeof v != "object" && (v = {});
2675
2676
  try {
2676
- if (await this.analyticsScriptReady(), R("[page]", [C, V, v]), c())
2677
- return window.analytics.page(C, {
2678
- category: V,
2677
+ if (await this.analyticsScriptReady(), R("[page]", [V, C, v]), c())
2678
+ return window.analytics.page(V, {
2679
+ category: C,
2679
2680
  ...v
2680
2681
  });
2681
2682
  } catch (A) {
2682
- console.log(A), R("[page]", [C, V, v], "error");
2683
+ console.log(A), R("[page]", [V, C, v], "error");
2683
2684
  }
2684
2685
  }
2685
2686
  }
2686
- async function _(C, V, v) {
2687
+ async function _(V, C, v) {
2687
2688
  if (!ce()) {
2688
2689
  typeof v != "object" && (v = {});
2689
2690
  try {
2690
- if (await this.analyticsScriptReady(), R("[track]", [C, V, v]), c())
2691
- return window.analytics.track(C, {
2692
- category: V,
2691
+ if (await this.analyticsScriptReady(), R("[track]", [V, C, v]), c())
2692
+ return window.analytics.track(V, {
2693
+ category: C,
2693
2694
  ...v
2694
2695
  });
2695
2696
  } catch {
2696
- R("[track]", [C, V, v], "error");
2697
+ R("[track]", [V, C, v], "error");
2697
2698
  }
2698
2699
  }
2699
2700
  }
2700
- function R(C, V = [], v = "info") {
2701
- V || (V = []), r && u[v](`::SDK Analytics:: ${C}`, ...V);
2701
+ function R(V, C = [], v = "info") {
2702
+ C || (C = []), r && u[v](`::SDK Analytics:: ${V}`, ...C);
2702
2703
  }
2703
2704
  return pe = {
2704
2705
  analyticsScriptReady: y,
@@ -2710,7 +2711,7 @@ function O() {
2710
2711
  }, pe;
2711
2712
  }
2712
2713
  O.destroy = () => pe = null;
2713
- function Mr() {
2714
+ function Nr() {
2714
2715
  const e = "Hubler Application";
2715
2716
  function t(w) {
2716
2717
  if (!w) throw new Error(`Missing arguments for domain "${e}"`);
@@ -2755,7 +2756,7 @@ function Mr() {
2755
2756
  applicationFormFailed: p
2756
2757
  };
2757
2758
  }
2758
- function Nr() {
2759
+ function Ur() {
2759
2760
  const e = "Profile";
2760
2761
  function t(n, I) {
2761
2762
  if (!n) throw new Error(`Missing arguments for domain "${e}"`);
@@ -2795,10 +2796,10 @@ function Nr() {
2795
2796
  async function R(n) {
2796
2797
  return O().track(n.name, e, t(n.properties, !0));
2797
2798
  }
2798
- async function C(n) {
2799
+ async function V(n) {
2799
2800
  return O().track(n.name, e, t(n.properties, !0));
2800
2801
  }
2801
- async function V(n) {
2802
+ async function C(n) {
2802
2803
  return O().track(n.name, e, t(n.properties, !0));
2803
2804
  }
2804
2805
  async function v(n) {
@@ -2821,14 +2822,14 @@ function Nr() {
2821
2822
  profileDocumentAdded: w,
2822
2823
  profileDocumentDownloaded: _,
2823
2824
  profileDocumentRequested: R,
2824
- profileRecruitmentAdded: C,
2825
- profileRecruitmentRemoved: V,
2825
+ profileRecruitmentAdded: V,
2826
+ profileRecruitmentRemoved: C,
2826
2827
  profileTabSelected: v,
2827
2828
  profileViewed: A,
2828
2829
  profileEmailSent: s
2829
2830
  };
2830
2831
  }
2831
- function Ur() {
2832
+ function xr() {
2832
2833
  const e = "Recruitment";
2833
2834
  function t(r) {
2834
2835
  if (!r) throw new Error(`Missing arguments for domain "${e}"`);
@@ -2844,7 +2845,7 @@ function Ur() {
2844
2845
  candidateAdded: i
2845
2846
  };
2846
2847
  }
2847
- function xr() {
2848
+ function Fr() {
2848
2849
  const e = "Visual Builder";
2849
2850
  function t(k, at) {
2850
2851
  if (!k) throw new Error(`Missing arguments for domain "${e}"`);
@@ -2883,10 +2884,10 @@ function xr() {
2883
2884
  async function R(k) {
2884
2885
  return O().track(k.name, e, t(k.properties, !0));
2885
2886
  }
2886
- async function C(k) {
2887
+ async function V(k) {
2887
2888
  return O().page(k.name, e, t(k.properties, !0));
2888
2889
  }
2889
- async function V(k) {
2890
+ async function C(k) {
2890
2891
  return O().page(k.name, e, t(k.properties, !0));
2891
2892
  }
2892
2893
  async function v(k) {
@@ -2963,8 +2964,8 @@ function xr() {
2963
2964
  setupEditionDoneViewed: w,
2964
2965
  setupExternalLinkViewed: _,
2965
2966
  setupImageUploaded: R,
2966
- setupImageViewed: C,
2967
- setupLocationViewed: V,
2967
+ setupImageViewed: V,
2968
+ setupLocationViewed: C,
2968
2969
  setupPresentationContentAdded: v,
2969
2970
  setupPresentationNewTabAdded: A,
2970
2971
  setupPresentationViewed: s,
@@ -2990,12 +2991,12 @@ function xr() {
2990
2991
  }
2991
2992
  const mt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2992
2993
  __proto__: null,
2993
- useAnalyticsHublerApplication: Mr,
2994
- useAnalyticsProfile: Nr,
2995
- useAnalyticsRecruitment: Ur,
2996
- useAnalyticsVisualBuilder: xr
2994
+ useAnalyticsHublerApplication: Nr,
2995
+ useAnalyticsProfile: Ur,
2996
+ useAnalyticsRecruitment: xr,
2997
+ useAnalyticsVisualBuilder: Fr
2997
2998
  }, Symbol.toStringTag, { value: "Module" }));
2998
- function nc() {
2999
+ function ic() {
2999
3000
  function e(i) {
3000
3001
  return O().identify(i.id, {
3001
3002
  email: i.email,
@@ -3018,13 +3019,13 @@ function nc() {
3018
3019
  };
3019
3020
  }
3020
3021
  let Ae = null;
3021
- const Fr = async (e, t) => {
3022
+ const jr = async (e, t) => {
3022
3023
  try {
3023
3024
  return await Oe(), u.info("[identify]", [e, t]), window.analytics.identify(e, t);
3024
3025
  } catch {
3025
3026
  u.error("[identify]", [e, t]);
3026
3027
  }
3027
- }, jr = async (e, t, i) => {
3028
+ }, Hr = async (e, t, i) => {
3028
3029
  if (e) {
3029
3030
  typeof i != "object" && (i = {});
3030
3031
  try {
@@ -3037,7 +3038,7 @@ const Fr = async (e, t) => {
3037
3038
  u.error("[page]", [e, t, i]);
3038
3039
  }
3039
3040
  }
3040
- }, Hr = async (e, t, i) => {
3041
+ }, Gr = async (e, t, i) => {
3041
3042
  if (e) {
3042
3043
  typeof i != "object" && (i = {});
3043
3044
  try {
@@ -3087,32 +3088,32 @@ const Fr = async (e, t) => {
3087
3088
  key: Qe,
3088
3089
  appendScript: Ft,
3089
3090
  ready: Oe,
3090
- identify: Fr,
3091
- page: jr,
3092
- track: Hr
3093
- }, Gr = "AIzaSyBd9aaBeos2tzRIKO6VOMdL0iVT_F3CysU";
3091
+ identify: jr,
3092
+ page: Hr,
3093
+ track: Gr
3094
+ }, Jr = "AIzaSyBd9aaBeos2tzRIKO6VOMdL0iVT_F3CysU";
3094
3095
  let jt = !1;
3095
3096
  const Ht = () => new Promise((e) => {
3096
- ce() || jt || window.google && window.google.maps ? e() : (window.addEventListener("gmap-ready", () => e()), Wr());
3097
- }), Jr = (e, t) => Ht().then(() => {
3098
- ce() || zr(e, t);
3099
- }), zr = (e, t) => {
3097
+ ce() || jt || window.google && window.google.maps ? e() : (window.addEventListener("gmap-ready", () => e()), qr());
3098
+ }), zr = (e, t) => Ht().then(() => {
3099
+ ce() || Wr(e, t);
3100
+ }), Wr = (e, t) => {
3100
3101
  const i = new window.google.maps.places.Autocomplete(e, { componentRestrictions: { country: ["fr", "re", "yt", "gp", "mq"] } });
3101
3102
  window.google.maps.event.addListener(i, "place_changed", () => {
3102
3103
  const r = i.getPlace();
3103
3104
  r.formatted_address && t && t(r.formatted_address, r);
3104
3105
  });
3105
- }, Wr = () => {
3106
+ }, qr = () => {
3106
3107
  window.onGmapScriptReady = () => {
3107
3108
  };
3108
3109
  const e = document.createElement("script");
3109
- e.src = "https://maps.googleapis.com/maps/api/js?key=" + Gr + "&libraries=places&callback=onGmapScriptReady", e.async = !0, e.defer = !0, e.onload = () => window.dispatchEvent(new Event("gmap-ready")), document.body.appendChild(e), jt = !0;
3110
- }, ic = {
3110
+ e.src = "https://maps.googleapis.com/maps/api/js?key=" + Jr + "&libraries=places&callback=onGmapScriptReady", e.async = !0, e.defer = !0, e.onload = () => window.dispatchEvent(new Event("gmap-ready")), document.body.appendChild(e), jt = !0;
3111
+ }, ac = {
3111
3112
  scriptReady: Ht,
3112
- autocompleteInput: Jr
3113
- }, qr = "952da2cb-81ea-11ea-ad85-06f7e2c08348", Qr = (e = 0) => {
3113
+ autocompleteInput: zr
3114
+ }, Qr = "952da2cb-81ea-11ea-ad85-06f7e2c08348", Kr = (e = 0) => {
3114
3115
  setTimeout(() => {
3115
- window.STONLY_WID = qr, (function(t, i, r, o, c, f, y, p, w, _) {
3116
+ window.STONLY_WID = Qr, (function(t, i, r, o, c, f, y, p, w, _) {
3116
3117
  t.StonlyWidget || ((w = t.StonlyWidget = function() {
3117
3118
  w._api ? w._api.apply(w, arguments) : w.queue.push(arguments);
3118
3119
  }).scriptPath = o, w.apiPath = c, w.sPath = f, w.queue = [], (p = i.createElement(r)).async = !0, (_ = new XMLHttpRequest()).open("GET", o + "version?v=" + Date.now(), !0), _.onreadystatechange = function() {
@@ -3120,16 +3121,16 @@ const Ht = () => new Promise((e) => {
3120
3121
  }, _.send());
3121
3122
  })(window, document, "script", "https://stonly.com/js/widget/v2/");
3122
3123
  }, e);
3123
- }, ac = {
3124
- load: Qr
3125
- }, Kr = (e = 0) => {
3124
+ }, rc = {
3125
+ load: Kr
3126
+ }, Yr = (e = 0) => {
3126
3127
  setTimeout(() => {
3127
3128
  const t = document.createElement("script");
3128
3129
  t.id = "ze-snippet", t.src = "https://static.zdassets.com/ekr/snippet.js?key=aa09b07e-b446-459a-9f0b-191509a6aba3", t.async = !0, document.head.appendChild(t);
3129
3130
  }, e);
3130
- }, rc = {
3131
- load: Kr
3132
- }, Yr = {
3131
+ }, oc = {
3132
+ load: Yr
3133
+ }, Zr = {
3133
3134
  common: {
3134
3135
  the: "le",
3135
3136
  from: "de"
@@ -3154,9 +3155,9 @@ const Ht = () => new Promise((e) => {
3154
3155
  minute: "minute | minutes",
3155
3156
  second: "seconde | secondes"
3156
3157
  }
3157
- }, Zr = {
3158
- fr: Yr
3159
- }, Xr = (e, t) => {
3158
+ }, Xr = {
3159
+ fr: Zr
3160
+ }, eo = (e, t) => {
3160
3161
  if (!e) return null;
3161
3162
  const i = e.split(/(\{[{%]+[^{}]*[%}]+})/g).filter((r) => r !== "").map((r) => {
3162
3163
  const o = r.startsWith("{%") && r.endsWith("%}") ? "slot" : r.startsWith("{{") && r.endsWith("}}") ? "variable" : "text";
@@ -3177,14 +3178,14 @@ const Ht = () => new Promise((e) => {
3177
3178
  text: (e) => De("span", { class: "node node--text" }, e)
3178
3179
  };
3179
3180
  let Ke = null;
3180
- const eo = () => Ke, oc = (e = {}) => {
3181
+ const to = () => Ke, sc = (e = {}) => {
3181
3182
  let t = e.locale || "fr";
3182
- const i = (p) => t = p, r = () => t, o = _t(Zr, e?.messages || {}), c = (p, w) => {
3183
+ const i = (p) => t = p, r = () => t, o = _t(Xr, e?.messages || {}), c = (p, w) => {
3183
3184
  const _ = ne(o, `${t}.${p}`);
3184
- return _ ? w ? to(_, w) : _ : p;
3185
+ return _ ? w ? no(_, w) : _ : p;
3185
3186
  }, f = (p, w) => {
3186
3187
  const _ = ne(o, `${t}.${p}`);
3187
- return _ ? Xr(_, w) : p;
3188
+ return _ ? eo(_, w) : p;
3188
3189
  };
3189
3190
  return Ke = {
3190
3191
  t: c,
@@ -3195,9 +3196,9 @@ const eo = () => Ke, oc = (e = {}) => {
3195
3196
  p.config.globalProperties.$t = c, p.config.globalProperties.$tNode = f;
3196
3197
  }
3197
3198
  }, Ke;
3198
- }, to = (e, t) => e ? e.replace(/{{ ?([a-zA-Z_.]+) ?}}/g, (i, r) => ne(t, r)) : null;
3199
- function sc(e) {
3200
- const { t } = eo(), i = {
3199
+ }, no = (e, t) => e ? e.replace(/{{ ?([a-zA-Z_.]+) ?}}/g, (i, r) => ne(t, r)) : null;
3200
+ function cc(e) {
3201
+ const { t } = to(), i = {
3201
3202
  justNow: t("timeAgo.just-now"),
3202
3203
  past: (r) => r.match(/\d/) ? t("timeAgo.ago", [r]) : r,
3203
3204
  future: (r) => r.match(/\d/) ? t("timeAgo.in", [r]) : r,
@@ -3215,7 +3216,7 @@ function sc(e) {
3215
3216
  messages: i
3216
3217
  });
3217
3218
  }
3218
- function no() {
3219
+ function io() {
3219
3220
  let e = null;
3220
3221
  function t() {
3221
3222
  return e;
@@ -3250,7 +3251,7 @@ function no() {
3250
3251
  hasAction: f
3251
3252
  };
3252
3253
  }
3253
- function io() {
3254
+ function ao() {
3254
3255
  async function e({ domain: r, event: o, ...c }) {
3255
3256
  const f = "useAnalytics" + r.charAt(0).toUpperCase() + r.slice(1);
3256
3257
  if (!t(f)) throw new Error(`Domain ${r} is not defined`);
@@ -3270,9 +3271,9 @@ function io() {
3270
3271
  }
3271
3272
  const yt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3272
3273
  __proto__: null,
3273
- useAnalyticsQSController: io
3274
+ useAnalyticsQSController: ao
3274
3275
  }, Symbol.toStringTag, { value: "Module" }));
3275
- function ao(e) {
3276
+ function ro(e) {
3276
3277
  if (!e.hasAction()) throw new Error("No action found in router");
3277
3278
  function t() {
3278
3279
  if (!i()) throw new Error(`Controller ${e.getController()} not found`);
@@ -3290,7 +3291,7 @@ function ao(e) {
3290
3291
  dispatch: t
3291
3292
  };
3292
3293
  }
3293
- function cc() {
3294
+ function dc() {
3294
3295
  let e = !1;
3295
3296
  function t(o, c, f) {
3296
3297
  r(), f();
@@ -3301,9 +3302,9 @@ function cc() {
3301
3302
  f();
3302
3303
  }
3303
3304
  function r() {
3304
- const o = no();
3305
+ const o = io();
3305
3306
  if (!o.hasAction()) return;
3306
- ao(o).dispatch();
3307
+ ro(o).dispatch();
3307
3308
  }
3308
3309
  return {
3309
3310
  vueRouterBeforeEach: t,
@@ -3316,52 +3317,52 @@ const Gt = async (e, t, i) => {
3316
3317
  for (const c of e)
3317
3318
  t.query[c] !== void 0 && (delete o.query[c], r.push(c));
3318
3319
  if (r.length) return i.replace(o);
3319
- }, dc = async (e, t, i) => Gt([e], t, i), ro = async (e, t, i) => {
3320
+ }, lc = async (e, t, i) => Gt([e], t, i), oo = async (e, t, i) => {
3320
3321
  const r = {};
3321
3322
  for (const o of e)
3322
3323
  t.query[o] !== void 0 && (r[o] = t.query[o]);
3323
3324
  return await Gt(Object.keys(r), t, i), r;
3324
- }, lc = async (e, t, i) => ro([e], t, i)[e], uc = () => ({ getAssetUrl: (t) => `${H.getBaseAssetsUrl()}${t}` }), Jt = (e) => typeof e != "string" ? "" : e.replace(/[^a-zA-Z0-9-]/g, ""), D = () => H.getMainAppHost(), oo = () => `${D()}/login/candidate`, so = () => `${D()}/rh/establishments`, co = (e) => `${D()}/rh/establishment/${e}`, lo = (e) => typeof e == "string" ? e : typeof e == "object" && e?.urls?.display ? e.urls.display : null, uo = () => `${D()}/rh/dashboard`, fo = () => `${D()}/candidate/profile`, mo = (e) => `${D()}/candidate-invite/establishment/${e}`, po = (e) => `${D()}/cvbank/${e}`, yo = (e) => `${D()}/rh/establishment/${e}/sourcing`, go = (e, t) => `${D()}/user-profile/establishment/${e}/user/${t}`, ho = (e) => `${D()}/recruitment-list/establishment/${e}`, _o = (e, t) => `${D()}/rh/establishment/${e}/recruitment/${t}`, wo = (e, t = null, i = !1) => {
3325
+ }, uc = async (e, t, i) => oo([e], t, i)[e], fc = () => ({ getAssetUrl: (t) => `${H.getBaseAssetsUrl()}${t}` }), Jt = (e) => typeof e != "string" ? "" : e.replace(/[^a-zA-Z0-9-]/g, ""), D = () => H.getMainAppHost(), so = () => `${D()}/login/candidate`, co = () => `${D()}/rh/establishments`, lo = (e) => `${D()}/rh/establishment/${e}`, uo = (e) => typeof e == "string" ? e : typeof e == "object" && e?.urls?.display ? e.urls.display : null, fo = () => `${D()}/rh/dashboard`, mo = () => `${D()}/candidate/profile`, po = (e) => `${D()}/candidate-invite/establishment/${e}`, yo = (e) => `${D()}/cvbank/${e}`, go = (e) => `${D()}/rh/establishment/${e}/sourcing`, ho = (e, t) => `${D()}/user-profile/establishment/${e}/user/${t}`, _o = (e) => `${D()}/recruitment-list/establishment/${e}`, wo = (e, t) => `${D()}/rh/establishment/${e}/recruitment/${t}`, Io = (e, t = null, i = !1) => {
3325
3326
  let r = `${D()}/recruitment/establishment/${e}`;
3326
3327
  return t && (r += `?recruitmentId=${t}`, i && (r += "&duplicate=1")), r;
3327
- }, Io = (e, t) => `${D()}/rh/establishment/${e}/recruitment/${t}/kanban`, bo = (e, t) => `${D()}/rh/establishment/${e}/recruitment/${t}/offer`, ko = (e) => `${D()}/rh/establishment/${e}/offer`, vo = (e, t) => `${D()}/offer/establishment/${e}/recruitment/${t}`, So = (e, t, i, r = "") => `${D()}/offer/establishment/${e}/recruitment/${t}/${r}?offerId=${i}`, Ro = (e, t, i) => `${D()}/offer-preview/establishment/${e}/recruitment/${t}/offer/${i}`, Vo = (e) => `${D()}/rh/establishment/${e}/career-configuration`, Co = (e, t = null) => t ? `${D()}/career-website/${e}/${t}` : `${D()}/career-website/${e}`, Ao = (e, t) => `${D()}/career-website-preview/${e}/${t}`, Po = (e, t = null) => {
3328
+ }, bo = (e, t) => `${D()}/rh/establishment/${e}/recruitment/${t}/kanban`, ko = (e, t) => `${D()}/rh/establishment/${e}/recruitment/${t}/offer`, vo = (e) => `${D()}/rh/establishment/${e}/offer`, So = (e, t) => `${D()}/offer/establishment/${e}/recruitment/${t}`, Ro = (e, t, i, r = "") => `${D()}/offer/establishment/${e}/recruitment/${t}/${r}?offerId=${i}`, Co = (e, t, i) => `${D()}/offer-preview/establishment/${e}/recruitment/${t}/offer/${i}`, Vo = (e) => `${D()}/rh/establishment/${e}/career-configuration`, Ao = (e, t = null) => t ? `${D()}/career-website/${e}/${t}` : `${D()}/career-website/${e}`, Po = (e, t) => `${D()}/career-website-preview/${e}/${t}`, Eo = (e, t = null) => {
3328
3329
  const i = D().replace("://", `://${Jt(e)}.`);
3329
3330
  return t ? `${i}?_version=${encodeURIComponent(t)}` : `${i}`;
3330
- }, Eo = (e, t, i = null) => {
3331
+ }, Oo = (e, t, i = null) => {
3331
3332
  const r = `${D().replace("://", `://${Jt(e)}.`)}/v2/offer/${encodeURIComponent(t)}`;
3332
3333
  return i ? `${r}?token=${encodeURIComponent(i)}` : `${r}`;
3333
- }, Oo = (e) => `${D()}/rh/establishment/${e}/stats`, Lo = (e) => `${D()}/rh/establishment/${e}/backoffice`, Bo = () => `${D()}/rh/settings/general`, Do = () => `${D()}/backoffice/establishment`;
3334
+ }, Lo = (e) => `${D()}/rh/establishment/${e}/stats`, Bo = (e) => `${D()}/rh/establishment/${e}/backoffice`, Do = () => `${D()}/rh/settings/general`, To = () => `${D()}/backoffice/establishment`;
3334
3335
  function oe() {
3335
3336
  return {
3336
3337
  root: D,
3337
- candidateSignIn: oo,
3338
- establishments: so,
3339
- establishment: co,
3340
- img: lo,
3341
- dashboard: uo,
3342
- candidateProfile: fo,
3343
- candidateInvite: mo,
3344
- cvtheque: po,
3345
- sourcing: yo,
3346
- userProfile: go,
3347
- recruitments: ho,
3348
- recruitment: _o,
3349
- recruitmentForm: wo,
3350
- recruitmentKanban: Io,
3351
- recruitmentOffer: bo,
3352
- offers: ko,
3353
- offerCreate: vo,
3354
- offerUpdate: So,
3355
- offerPreview: Ro,
3338
+ candidateSignIn: so,
3339
+ establishments: co,
3340
+ establishment: lo,
3341
+ img: uo,
3342
+ dashboard: fo,
3343
+ candidateProfile: mo,
3344
+ candidateInvite: po,
3345
+ cvtheque: yo,
3346
+ sourcing: go,
3347
+ userProfile: ho,
3348
+ recruitments: _o,
3349
+ recruitment: wo,
3350
+ recruitmentForm: Io,
3351
+ recruitmentKanban: bo,
3352
+ recruitmentOffer: ko,
3353
+ offers: vo,
3354
+ offerCreate: So,
3355
+ offerUpdate: Ro,
3356
+ offerPreview: Co,
3356
3357
  career: Vo,
3357
- careerConfig: Co,
3358
- careerPreview: Ao,
3359
- careerWebsite: Po,
3360
- careerOffer: Eo,
3361
- statistics: Oo,
3362
- administration: Lo,
3363
- userSettings: Bo,
3364
- backoffice: Do
3358
+ careerConfig: Ao,
3359
+ careerPreview: Po,
3360
+ careerWebsite: Eo,
3361
+ careerOffer: Oo,
3362
+ statistics: Lo,
3363
+ administration: Bo,
3364
+ userSettings: Do,
3365
+ backoffice: To
3365
3366
  };
3366
3367
  }
3367
3368
  const gt = /* @__PURE__ */ new Set();
@@ -3383,7 +3384,7 @@ const xe = (e) => {
3383
3384
  if (i)
3384
3385
  for (const r of i) he.add(r.substr(1));
3385
3386
  }
3386
- }, fc = (e = {}) => {
3387
+ }, mc = (e = {}) => {
3387
3388
  if (he) return he;
3388
3389
  he = /* @__PURE__ */ new Set(), Ye = { ...Ye, ...e }, zt(document.styleSheets), new MutationObserver((i) => {
3389
3390
  for (const r of i)
@@ -3400,132 +3401,132 @@ const xe = (e) => {
3400
3401
  childList: !0,
3401
3402
  subtree: !0
3402
3403
  });
3403
- }, mc = "0.2.187";
3404
+ }, pc = "0.2.190";
3404
3405
  export {
3405
3406
  l as Analytics,
3406
3407
  se as BaseLogger,
3407
- ic as Gmap,
3408
+ ac as Gmap,
3408
3409
  H as SDKConfig,
3409
3410
  u as SDKLogger,
3410
- ac as Stonly,
3411
- mc as VERSION,
3412
- rc as Zendesk,
3411
+ rc as Stonly,
3412
+ pc as VERSION,
3413
+ oc as Zendesk,
3413
3414
  ct as _clone,
3414
3415
  dt as _cloneDeep,
3415
3416
  ne as _get,
3416
- Qo as _map,
3417
+ Ko as _map,
3417
3418
  _t as _merge,
3418
3419
  wt as _pathList,
3419
3420
  _e as _set,
3420
3421
  fn as _setMany,
3421
- Ko as _toArr,
3422
- Yo as _uniqueArray,
3423
- Zo as _uniqueArrayOfObject,
3424
- Ns as analyticsAuthentication,
3425
- Fs as analyticsCVBank,
3426
- Us as analyticsCareerPrivate,
3427
- xs as analyticsCareerPublic,
3428
- js as analyticsHublerApplication,
3429
- Hs as analyticsHublerAuthentication,
3430
- Gs as analyticsHublerCalendar,
3431
- Js as analyticsHublerDocument,
3432
- zs as analyticsHublerResume,
3433
- Ws as analyticsHublerSettings,
3434
- qs as analyticsJobOffer,
3435
- Qs as analyticsMessaging,
3436
- Ks as analyticsProfile,
3437
- Ys as analyticsRecruitment,
3438
- Zs as analyticsSettings,
3439
- Xs as analyticsSourcing,
3440
- ec as analyticsStatistics,
3441
- tc as analyticsVisualBuilder,
3422
+ Yo as _toArr,
3423
+ Zo as _uniqueArray,
3424
+ Xo as _uniqueArrayOfObject,
3425
+ Us as analyticsAuthentication,
3426
+ js as analyticsCVBank,
3427
+ xs as analyticsCareerPrivate,
3428
+ Fs as analyticsCareerPublic,
3429
+ Hs as analyticsHublerApplication,
3430
+ Gs as analyticsHublerAuthentication,
3431
+ Js as analyticsHublerCalendar,
3432
+ zs as analyticsHublerDocument,
3433
+ Ws as analyticsHublerResume,
3434
+ qs as analyticsHublerSettings,
3435
+ Qs as analyticsJobOffer,
3436
+ Ks as analyticsMessaging,
3437
+ Ys as analyticsProfile,
3438
+ Zs as analyticsRecruitment,
3439
+ Xs as analyticsSettings,
3440
+ ec as analyticsSourcing,
3441
+ tc as analyticsStatistics,
3442
+ nc as analyticsVisualBuilder,
3442
3443
  Fe as buildObjectValidation,
3443
- lc as consumeQueryParam,
3444
- ro as consumeQueryParams,
3445
- oc as createI18n,
3444
+ uc as consumeQueryParam,
3445
+ oo as consumeQueryParams,
3446
+ sc as createI18n,
3446
3447
  It as ensureScheme,
3447
- Wo as hasOrIsInClass,
3448
- qo as inBrowser,
3448
+ qo as hasOrIsInClass,
3449
+ Qo as inBrowser,
3449
3450
  ce as inNode,
3450
3451
  ue as isArray,
3451
3452
  b as isArrayOf,
3452
- xo as isBoolean,
3453
- Fo as isDate,
3454
- Jo as isFalsy,
3455
- jo as isFunction,
3456
- No as isMobile,
3457
- Ho as isNotNullOrUndefined,
3453
+ Fo as isBoolean,
3454
+ jo as isDate,
3455
+ zo as isFalsy,
3456
+ Ho as isFunction,
3457
+ Uo as isMobile,
3458
+ Go as isNotNullOrUndefined,
3458
3459
  dn as isNull,
3459
3460
  un as isNullOrUndefined,
3460
3461
  G as isNumber,
3461
3462
  Z as isObject,
3462
- zo as isObjectOf,
3463
+ Wo as isObjectOf,
3463
3464
  m as isObjectValid,
3464
3465
  ht as isPrimitiveObject,
3465
3466
  a as isString,
3466
- Go as isTruthy,
3467
+ Jo as isTruthy,
3467
3468
  ln as isUndefined,
3468
- dc as removeQueryParam,
3469
+ lc as removeQueryParam,
3469
3470
  Gt as removeQueryParams,
3470
- Xr as renderNode,
3471
- Uo as sanitizeObject,
3472
- Xo as secureScheme,
3471
+ eo as renderNode,
3472
+ xo as sanitizeObject,
3473
+ es as secureScheme,
3473
3474
  cn as transpileAsserts,
3474
- es as useActivityRepository,
3475
- Mr as useAnalyticsHublerApplication,
3476
- nc as useAnalyticsIdentify,
3477
- Nr as useAnalyticsProfile,
3478
- Ur as useAnalyticsRecruitment,
3479
- xr as useAnalyticsVisualBuilder,
3480
- uc as useAssetUrls,
3475
+ ts as useActivityRepository,
3476
+ Nr as useAnalyticsHublerApplication,
3477
+ ic as useAnalyticsIdentify,
3478
+ Ur as useAnalyticsProfile,
3479
+ xr as useAnalyticsRecruitment,
3480
+ Fr as useAnalyticsVisualBuilder,
3481
+ fc as useAssetUrls,
3481
3482
  qn as useAuthRepository,
3482
- cr as useAuthentication,
3483
- Ts as useAuthorization,
3484
- ts as useCandidateBankRepository,
3485
- ns as useCandidateNoteRepository,
3486
- is as useCandidateRepository,
3487
- as as useContractTypeRepository,
3483
+ dr as useAuthentication,
3484
+ $s as useAuthorization,
3485
+ ns as useCandidateBankRepository,
3486
+ is as useCandidateNoteRepository,
3487
+ as as useCandidateRepository,
3488
+ rs as useContractTypeRepository,
3488
3489
  yn as useCookieStorage,
3489
- rs as useCvbankRepository,
3490
- os as useCvthequeRepository,
3491
- ss as useDiplomaRepository,
3492
- cs as useDocumentRepository,
3490
+ os as useCvbankRepository,
3491
+ ss as useCvthequeRepository,
3492
+ cs as useDiplomaRepository,
3493
+ ds as useDocumentRepository,
3493
3494
  oe as useDomainUrls,
3494
- ds as useEmailHistoryRepository,
3495
- ls as useEmailRepository,
3496
- us as useEmailTemplateRepository,
3497
- fs as useEstablishmentCareerRepository,
3498
- Ms as useEstablishmentContext,
3499
- Ct as useEstablishmentRepository,
3500
- ms as useFeatureFlagRepository,
3501
- ps as useFunctionalUnitRepository,
3502
- eo as useI18n,
3503
- ys as useJobRepository,
3504
- gs as useJobStatusRepository,
3505
- hs as useKanbanTemplateRepository,
3506
- _s as useLabelRepository,
3507
- sc as useLocaleTimeAgo,
3495
+ ls as useEmailHistoryRepository,
3496
+ us as useEmailRepository,
3497
+ fs as useEmailTemplateRepository,
3498
+ ms as useEstablishmentCareerRepository,
3499
+ Ns as useEstablishmentContext,
3500
+ Vt as useEstablishmentRepository,
3501
+ ps as useFeatureFlagRepository,
3502
+ ys as useFunctionalUnitRepository,
3503
+ to as useI18n,
3504
+ gs as useJobRepository,
3505
+ hs as useJobStatusRepository,
3506
+ _s as useKanbanTemplateRepository,
3507
+ ws as useLabelRepository,
3508
+ cc as useLocaleTimeAgo,
3508
3509
  sn as useObjectValidation,
3509
- ws as useOfferRepository,
3510
- Is as usePoleRepository,
3510
+ Is as useOfferRepository,
3511
+ bs as usePoleRepository,
3511
3512
  S as usePrivateRequest,
3512
- cc as useQSAction,
3513
- bs as useRankRepository,
3514
- ks as useRecruiterRepository,
3515
- vs as useRecruitmentRepository,
3516
- Ss as useRegisterRepository,
3517
- Rs as useRegistrationRepository,
3513
+ dc as useQSAction,
3514
+ ks as useRankRepository,
3515
+ vs as useRecruiterRepository,
3516
+ Ss as useRecruitmentRepository,
3517
+ Rs as useRegisterRepository,
3518
+ Cs as useRegistrationRepository,
3518
3519
  N as useRequest,
3519
3520
  Vs as useRequestReasonRepository,
3520
- Cs as useSavedFiltersRepository,
3521
- $s as useSelf,
3522
- As as useServiceRepository,
3523
- Ps as useSkillRepository,
3524
- Es as useSpecialityRepository,
3525
- Os as useTagRepository,
3526
- Ls as useTalentRepository,
3527
- fc as useUndefinedCssClasses,
3528
- Bs as useUserListRepository,
3529
- rr as useUserRepository,
3530
- Ds as useValidationFlowRepository
3521
+ As as useSavedFiltersRepository,
3522
+ Ms as useSelf,
3523
+ Ps as useServiceRepository,
3524
+ Es as useSkillRepository,
3525
+ Os as useSpecialityRepository,
3526
+ Ls as useTagRepository,
3527
+ Bs as useTalentRepository,
3528
+ mc as useUndefinedCssClasses,
3529
+ Ds as useUserListRepository,
3530
+ or as useUserRepository,
3531
+ Ts as useValidationFlowRepository
3531
3532
  };