@hublo/mstaff-client-sdk 0.2.72 → 0.2.74

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 +2 -2
  2. package/dist/core.js +444 -449
  3. package/package.json +1 -1
package/dist/core.js CHANGED
@@ -1,6 +1,6 @@
1
- var je = Object.defineProperty;
2
- var _e = (e, t, i) => t in e ? je(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i;
3
- var C = (e, t, i) => (_e(e, typeof t != "symbol" ? t + "" : t, i), i);
1
+ var _e = Object.defineProperty;
2
+ var je = (e, t, i) => t in e ? _e(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i;
3
+ var C = (e, t, i) => (je(e, typeof t != "symbol" ? t + "" : t, i), i);
4
4
  import { getCurrentScope as Be, onScopeDispose as ze, ref as Ve, h as H } from "vue";
5
5
  import Ue from "axios";
6
6
  import { defineStore as Fe } from "pinia";
@@ -19,23 +19,23 @@ var ae = Ge, ee = Ke, qe = Object.prototype.toString, x = /^[\u0009\u0020-\u007e
19
19
  function Ge(e, t) {
20
20
  if (typeof e != "string")
21
21
  throw new TypeError("argument str must be a string");
22
- for (var i = {}, n = t || {}, r = n.decode || We, a = 0; a < e.length; ) {
23
- var u = e.indexOf("=", a);
22
+ for (var i = {}, n = t || {}, r = n.decode || We, c = 0; c < e.length; ) {
23
+ var u = e.indexOf("=", c);
24
24
  if (u === -1)
25
25
  break;
26
- var m = e.indexOf(";", a);
26
+ var m = e.indexOf(";", c);
27
27
  if (m === -1)
28
28
  m = e.length;
29
29
  else if (m < u) {
30
- a = e.lastIndexOf(";", u - 1) + 1;
30
+ c = e.lastIndexOf(";", u - 1) + 1;
31
31
  continue;
32
32
  }
33
- var d = e.slice(a, u).trim();
33
+ var d = e.slice(c, u).trim();
34
34
  if (i[d] === void 0) {
35
35
  var s = e.slice(u + 1, m).trim();
36
36
  s.charCodeAt(0) === 34 && (s = s.slice(1, -1)), i[d] = Xe(s, r);
37
37
  }
38
- a = m + 1;
38
+ c = m + 1;
39
39
  }
40
40
  return i;
41
41
  }
@@ -45,10 +45,10 @@ function Ke(e, t, i) {
45
45
  throw new TypeError("option encode is invalid");
46
46
  if (!x.test(e))
47
47
  throw new TypeError("argument name is invalid");
48
- var a = r(t);
49
- if (a && !x.test(a))
48
+ var c = r(t);
49
+ if (c && !x.test(c))
50
50
  throw new TypeError("argument val is invalid");
51
- var u = e + "=" + a;
51
+ var u = e + "=" + c;
52
52
  if (n.maxAge != null) {
53
53
  var m = n.maxAge - 0;
54
54
  if (isNaN(m) || !isFinite(m))
@@ -88,8 +88,8 @@ function Ke(e, t, i) {
88
88
  }
89
89
  }
90
90
  if (n.sameSite) {
91
- var c = typeof n.sameSite == "string" ? n.sameSite.toLowerCase() : n.sameSite;
92
- switch (c) {
91
+ var a = typeof n.sameSite == "string" ? n.sameSite.toLowerCase() : n.sameSite;
92
+ switch (a) {
93
93
  case !0:
94
94
  u += "; SameSite=Strict";
95
95
  break;
@@ -201,14 +201,14 @@ class nt {
201
201
  }
202
202
  function it(e, { doNotParse: t = !1, autoUpdateDependencies: i = !1 } = {}, n = new nt()) {
203
203
  const r = i ? [...e || []] : e;
204
- let a = n.getAll({ doNotParse: !0 });
204
+ let c = n.getAll({ doNotParse: !0 });
205
205
  const u = Ve(0), m = () => {
206
206
  const d = n.getAll({ doNotParse: !0 });
207
207
  rt(
208
208
  r || null,
209
209
  d,
210
- a
211
- ) && u.value++, a = d;
210
+ c
211
+ ) && u.value++, c = d;
212
212
  };
213
213
  return n.addChangeListener(m), Qe(() => {
214
214
  n.removeChangeListener(m);
@@ -235,59 +235,55 @@ function rt(e, t, i) {
235
235
  return !0;
236
236
  return !1;
237
237
  }
238
- const Qi = () => {
238
+ const Hi = () => {
239
239
  let e = !1;
240
240
  return function(t) {
241
241
  (/(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);
242
242
  }(navigator.userAgent || navigator.vendor || window.opera), e;
243
- }, qi = () => typeof window < "u" && typeof window.document < "u", T = () => typeof process < "u" && process.versions != null && process.versions.node != null, st = (e, t) => K(e, at(t)), K = (e, t) => {
243
+ }, Qi = () => typeof window < "u" && typeof window.document < "u", T = () => typeof process < "u" && process.versions != null && process.versions.node != null, st = (e, t) => K(e, ot(t)), K = (e, t) => {
244
244
  const i = {};
245
245
  return te(t).forEach((n) => i[n] = K(e == null ? void 0 : e[n], t[n])), "$item" in t && (e == null || e.forEach((n, r) => i[r] = K(n, t.$item))), i.$valid = (!t.$asserts || t.$asserts.every((n) => n(e))) && te(i).every((n) => i[n].$valid), i;
246
- }, ot = (e) => (e = Object.entries(e).reduce((t, [i, n]) => {
247
- for (const [r, a] of Object.entries(n))
248
- t[`${i.replaceAll(".[]", ".$item")}${i.length ? "." : ""}${r}`] = a;
249
- return t;
250
- }, {}), lt(e)), at = (e) => ot(
251
- Object.entries(e).reduce((t, [i, n]) => (t[`${i}${i.length ? "." : ""}$asserts`] = Array.isArray(n) ? n : [n], t), {})
252
- ), Gi = (e, t, i) => (e = JSON.parse(JSON.stringify(e)), ue(e).forEach((r) => {
253
- const a = r.replace(/\.[0-9]+/g, ".[]");
254
- O(t, `${r}.$valid`) === !1 && i[a] !== void 0 && D(e, r, i[a]);
255
- }), e), te = (e) => Object.keys(e).filter((t) => !t.startsWith("$")), Ki = (e) => typeof e == "boolean", Wi = (e) => typeof e == "number", Ji = (e) => typeof e == "string", Y = (e) => Array.isArray(e), U = (e) => typeof e == "object" && !Y(e) && e !== null, Zi = (e) => e instanceof Date, Xi = (e) => typeof e == "function", ct = (e) => e === null, ut = (e) => e === void 0, dt = (e) => ct(e) || ut(e), Yi = (e) => !dt(e), er = (e) => !!e, tr = (e) => !e, nr = (e, t) => Y(e) && e.every((i) => t(i)), ir = (e, t) => U(e) && Object.values(e).every((i) => t(i)), rr = (e, t) => st(e, t).$valid, O = (e, t, i) => {
246
+ }, ot = (e) => dt(
247
+ Object.entries(e).reduce((t, [i, n]) => (t[`${i.replaceAll(".[]", ".$item")}${i.length ? "." : ""}$asserts`] = Array.isArray(n) ? n : [n], t), {})
248
+ ), qi = (e, t, i) => (e = JSON.parse(JSON.stringify(e)), ue(e).forEach((r) => {
249
+ const c = r.replace(/\.[0-9]+/g, ".[]");
250
+ O(t, `${r}.$valid`) === !1 && i[c] !== void 0 && D(e, r, i[c]);
251
+ }), e), te = (e) => Object.keys(e).filter((t) => !t.startsWith("$")), Gi = (e) => typeof e == "boolean", Ki = (e) => typeof e == "number", Wi = (e) => typeof e == "string", Y = (e) => Array.isArray(e), U = (e) => typeof e == "object" && !Y(e) && e !== null, Ji = (e) => e instanceof Date, Zi = (e) => typeof e == "function", at = (e) => e === null, ct = (e) => e === void 0, ut = (e) => at(e) || ct(e), Xi = (e) => !ut(e), Yi = (e) => !!e, er = (e) => !e, tr = (e, t) => Y(e) && e.every((i) => t(i)), nr = (e, t) => U(e) && Object.values(e).every((i) => t(i)), ir = (e, t) => st(e, t).$valid, O = (e, t, i) => {
256
252
  const n = typeof t == "string" ? t.split(".") : [t];
257
253
  let r = e;
258
- const a = (m) => m != null, u = (m) => typeof m == "object";
254
+ const c = (m) => m != null, u = (m) => typeof m == "object";
259
255
  for (const [m, d] of n.entries()) {
260
- if (!a(r))
256
+ if (!c(r))
261
257
  return i;
262
258
  if (m === n.length - 1)
263
- return a(r[d]) ? r[d] : i;
259
+ return c(r[d]) ? r[d] : i;
264
260
  if (!u(r[d]))
265
261
  return i;
266
262
  r = r[d];
267
263
  }
268
264
  return i;
269
265
  }, D = (e, t, i) => {
270
- const n = typeof t == "string" ? t.split(".") : [t], r = (m) => typeof m == "number" || /^\d$/g.test(m), a = (m) => parseInt(m, 10);
266
+ const n = typeof t == "string" ? t.split(".") : [t], r = (m) => typeof m == "number" || /^\d$/g.test(m), c = (m) => parseInt(m, 10);
271
267
  let u = e;
272
268
  return n.forEach((m, d) => {
273
269
  if (d === n.length - 1)
274
270
  u[m] = i;
275
271
  else {
276
272
  const s = r(n[d + 1]) ? [] : {};
277
- m = r(m) ? a(m) : m, u[m] = u[m] ?? s, u = u[m];
273
+ m = r(m) ? c(m) : m, u[m] = u[m] ?? s, u = u[m];
278
274
  }
279
275
  }), e;
280
- }, lt = (e, t = {}) => {
276
+ }, dt = (e, t = {}) => {
281
277
  const i = U(e) ? Object.entries(e) : e;
282
278
  for (const [n, r] of i)
283
279
  D(t, n, r);
284
280
  return t;
285
- }, sr = (e, t = {}) => {
281
+ }, rr = (e, t = {}) => {
286
282
  const i = U(e) ? Object.entries(e) : e;
287
283
  for (const [n, r] of i)
288
284
  D(t, n, r(t, n));
289
285
  return t;
290
- }, mt = (e) => {
286
+ }, lt = (e) => {
291
287
  if (typeof e == "object") {
292
288
  if (Array.isArray(e))
293
289
  return [...e];
@@ -298,50 +294,50 @@ const Qi = () => {
298
294
  }, ce = (e, t) => {
299
295
  const i = { ...e };
300
296
  for (const [n, r] of Object.entries(t))
301
- n in i && typeof i[n] == "object" && typeof r == "object" ? i[n] = ce(i[n], r) : i[n] = mt(r);
297
+ n in i && typeof i[n] == "object" && typeof r == "object" ? i[n] = ce(i[n], r) : i[n] = lt(r);
302
298
  return i;
303
299
  }, ue = (e, t = () => !0, i = "") => {
304
300
  const n = [];
305
301
  for (const r in e) {
306
- const a = e[r], u = i ? `${i}.${r}` : r;
307
- t(r, u, a) && (n.push(u), (U(a) || Y(a)) && n.push(...ue(a, t, u)));
302
+ const c = e[r], u = i ? `${i}.${r}` : r;
303
+ t(r, u, c) && (n.push(u), (U(c) || Y(c)) && n.push(...ue(c, t, u)));
308
304
  }
309
305
  return n;
310
- }, or = (e) => e.startsWith("http:") ? e.replace("http:", "https:") : e, ar = (e, t = !1) => e.startsWith("http:") || e.startsWith("https:") ? e : t ? `https://${e}` : `http://${e}`, de = () => typeof window < "u" && (window != null && window.location) ? new URL(window.location).hostname : void 0, ne = () => {
306
+ }, sr = (e) => e.startsWith("http:") ? e.replace("http:", "https:") : e, or = (e, t = !1) => e.startsWith("http:") || e.startsWith("https:") ? e : t ? `https://${e}` : `http://${e}`, de = () => typeof window < "u" && (window != null && window.location) ? new URL(window.location).hostname : void 0, ne = () => {
311
307
  const e = de();
312
308
  return !e || e === "localhost" ? e : `.${e}`;
313
- }, ft = () => ({ path: "/" }), pt = (e) => ({
309
+ }, mt = () => ({ path: "/" }), ft = (e) => ({
314
310
  path: "/",
315
311
  domain: e,
316
312
  sameSite: "none",
317
313
  secure: !0
318
314
  }), q = (e) => {
319
315
  if (!(T() || !e))
320
- return e.startsWith("localhost") ? ft() : pt(e);
316
+ return e.startsWith("localhost") ? mt() : ft(e);
321
317
  };
322
- function ht() {
323
- const e = it(), t = (a) => e.get(a), i = (a, u) => e.set(
324
- a,
318
+ function pt() {
319
+ const e = it(), t = (c) => e.get(c), i = (c, u) => e.set(
320
+ c,
325
321
  u,
326
322
  q(ne())
327
- ), n = (a) => {
328
- e.remove(a), e.remove(a, q(de())), e.remove(a, q(ne()));
323
+ ), n = (c) => {
324
+ e.remove(c), e.remove(c, q(de())), e.remove(c, q(ne()));
329
325
  };
330
326
  return {
331
327
  getItem: t,
332
328
  setItem: i,
333
329
  removeItem: n,
334
- clear: () => Object.keys(e.getAll()).forEach((a) => n(a))
330
+ clear: () => Object.keys(e.getAll()).forEach((c) => n(c))
335
331
  };
336
332
  }
337
- let j = null;
333
+ let _ = null;
338
334
  function V(e = {
339
335
  auth: "token",
340
336
  refresh: "refresh_token",
341
337
  expiration: "token_expiration_date"
342
- }, t = ht()) {
343
- if (j)
344
- return j;
338
+ }, t = pt()) {
339
+ if (_)
340
+ return _;
345
341
  function i() {
346
342
  return t.getItem(e.auth);
347
343
  }
@@ -351,8 +347,8 @@ function V(e = {
351
347
  function r() {
352
348
  return t.getItem(e.expiration);
353
349
  }
354
- function a(p, h) {
355
- const w = c(p);
350
+ function c(p, h) {
351
+ const w = a(p);
356
352
  if (!w.exp)
357
353
  throw new Error("Invalid JWT token.");
358
354
  t.setItem(e.auth, p), t.setItem(e.refresh, h), t.setItem(e.expiration, ((w.exp - 60) * 1e3).toString());
@@ -370,26 +366,26 @@ function V(e = {
370
366
  const p = r();
371
367
  return p ? new Date(p) < /* @__PURE__ */ new Date() : !0;
372
368
  }
373
- function c(p) {
369
+ function a(p) {
374
370
  return JSON.parse(atob(p.split(".")[1]));
375
371
  }
376
372
  function f() {
377
373
  return t;
378
374
  }
379
- return j = {
375
+ return _ = {
380
376
  keys: e,
381
377
  getAuthToken: i,
382
378
  getRefreshToken: n,
383
379
  getExpiration: r,
384
- authenticate: a,
380
+ authenticate: c,
385
381
  clear: u,
386
382
  isAuthenticated: m,
387
383
  hasAuth: d,
388
384
  isExpired: s,
389
385
  getStorage: f
390
- }, j;
386
+ }, _;
391
387
  }
392
- function yt(e) {
388
+ function ht(e) {
393
389
  let t = {
394
390
  "Content-Type": "application/json"
395
391
  };
@@ -403,7 +399,7 @@ function yt(e) {
403
399
  function r(w, b) {
404
400
  return t[w] = b, this;
405
401
  }
406
- function a(w) {
402
+ function c(w) {
407
403
  return t[w];
408
404
  }
409
405
  function u(w) {
@@ -416,36 +412,36 @@ function yt(e) {
416
412
  return u("Authorization"), this;
417
413
  }
418
414
  function s() {
419
- return !!a("Authorization");
415
+ return !!c("Authorization");
420
416
  }
421
- function c() {
417
+ function a() {
422
418
  return r("Content-Type", "multipart/form-data"), this;
423
419
  }
424
420
  function f() {
425
421
  return r("Content-Type", "application/json"), this;
426
422
  }
427
423
  function p() {
428
- return a("Content-Type") === "multipart/form-data";
424
+ return c("Content-Type") === "multipart/form-data";
429
425
  }
430
426
  function h() {
431
- return a("Content-Type") === "application/json";
427
+ return c("Content-Type") === "application/json";
432
428
  }
433
429
  return {
434
430
  setHeaders: i,
435
431
  getHeaders: n,
436
432
  setHeader: r,
437
- getHeader: a,
433
+ getHeader: c,
438
434
  removeHeader: u,
439
435
  setAuthorization: m,
440
436
  removeAuthorization: d,
441
437
  hasAuthorization: s,
442
- setFormData: c,
438
+ setFormData: a,
443
439
  setJson: f,
444
440
  isFormData: p,
445
441
  isJson: h
446
442
  };
447
443
  }
448
- function gt(e) {
444
+ function yt(e) {
449
445
  let t = null;
450
446
  e && i(e);
451
447
  function i(r) {
@@ -461,7 +457,7 @@ function gt(e) {
461
457
  getMethod: n
462
458
  };
463
459
  }
464
- function wt(e, t, i) {
460
+ function gt(e, t, i) {
465
461
  let n = null;
466
462
  i && r(i);
467
463
  function r(s) {
@@ -469,12 +465,12 @@ function wt(e, t, i) {
469
465
  throw new Error("Payload can only be set for POST, PUT and PATCH requests.");
470
466
  return s instanceof FormData ? t.setFormData() : u(s) && (s = m(s), t.setFormData()), t.isFormData() && e.getMethod() === "put" && (e.setMethod("post"), s.append("_method", "PUT")), n = s, this;
471
467
  }
472
- function a() {
468
+ function c() {
473
469
  return n;
474
470
  }
475
471
  function u(s) {
476
- for (const c in s) {
477
- const f = s[c];
472
+ for (const a in s) {
473
+ const f = s[a];
478
474
  if (d(f))
479
475
  return !0;
480
476
  if (typeof f == "object" && u(f))
@@ -482,21 +478,21 @@ function wt(e, t, i) {
482
478
  }
483
479
  return !1;
484
480
  }
485
- function m(s, c = null, f = 0) {
486
- const p = !c;
487
- p && (c = new FormData());
481
+ function m(s, a = null, f = 0) {
482
+ const p = !a;
483
+ p && (a = new FormData());
488
484
  for (const h in s) {
489
485
  const w = s[h];
490
- d(w) ? (s[h] = "<<FileIndex:" + f + ">>", c.append(f, w, w.name), f++) : typeof w == "object" && (s[h] = m(s[h], c, f));
486
+ d(w) ? (s[h] = "<<FileIndex:" + f + ">>", a.append(f, w, w.name), f++) : typeof w == "object" && (s[h] = m(s[h], a, f));
491
487
  }
492
- return p ? (c.append("payload", JSON.stringify(s)), c) : s;
488
+ return p ? (a.append("payload", JSON.stringify(s)), a) : s;
493
489
  }
494
490
  function d(s) {
495
491
  return typeof File < "u" && s instanceof File || typeof Blob < "u" && s instanceof Blob;
496
492
  }
497
493
  return {
498
494
  setPayload: r,
499
- getPayload: a
495
+ getPayload: c
500
496
  };
501
497
  }
502
498
  const E = class E {
@@ -521,63 +517,63 @@ const E = class E {
521
517
  }
522
518
  /** debug display messages only if level is DEBUG or less */
523
519
  debug(...t) {
524
- this.level <= E.LEVEL_DEBUG && _(this.logger.debug, this.prefix, t);
520
+ this.level <= E.LEVEL_DEBUG && j(this.logger.debug, this.prefix, t);
525
521
  }
526
522
  /** info display messages only if level is INFO or less */
527
523
  info(...t) {
528
- this.level <= E.LEVEL_INFO && _(this.logger.info, this.prefix, t);
524
+ this.level <= E.LEVEL_INFO && j(this.logger.info, this.prefix, t);
529
525
  }
530
526
  /** warn display messages only if level is WARN or less */
531
527
  warn(...t) {
532
- this.level <= E.LEVEL_WARN && _(this.logger.warn, this.prefix, t);
528
+ this.level <= E.LEVEL_WARN && j(this.logger.warn, this.prefix, t);
533
529
  }
534
530
  /** error display messages only if level is ERROR or less */
535
531
  error(...t) {
536
- this.level <= E.LEVEL_ERROR && _(this.logger.error, this.prefix, t);
532
+ this.level <= E.LEVEL_ERROR && j(this.logger.error, this.prefix, t);
537
533
  }
538
534
  };
539
535
  /** Possible logging level by order of verbosity (more verbose first) */
540
536
  C(E, "LEVEL_DEBUG", 0), C(E, "LEVEL_INFO", 1), C(E, "LEVEL_WARN", 2), C(E, "LEVEL_ERROR", 3), C(E, "LEVEL_OFF", 4);
541
537
  let W = E;
542
- const _ = (e, t, i) => {
538
+ const j = (e, t, i) => {
543
539
  t ? e(t, ...i) : e(...i);
544
540
  }, A = new W({
545
541
  prefix: "[SDK]"
546
542
  });
547
543
  let le = null, me = null, fe = null, pe = "/", he = null;
548
- const bt = () => le, vt = (e) => {
544
+ const wt = () => le, bt = (e) => {
549
545
  if (A.info("[Config] Environment:", e), !e)
550
546
  throw new Error("Invalid environment.");
551
547
  le = e;
552
- }, At = () => me, Pt = (e) => {
548
+ }, vt = () => me, At = (e) => {
553
549
  if (A.info("[Config] API Host:", e), !e)
554
550
  throw new Error("Invalid API host.");
555
551
  me = e;
556
- }, kt = () => he, Rt = (e) => {
552
+ }, Pt = () => he, kt = (e) => {
557
553
  he = e;
558
- }, Et = () => fe, It = (e) => {
554
+ }, Rt = () => fe, Et = (e) => {
559
555
  if (A.info("[Config] Main App Host:", e), !e)
560
556
  throw new Error("Invalid main app host.");
561
557
  fe = e;
562
- }, Ct = (e) => {
558
+ }, It = (e) => {
563
559
  A.info("[Config] Base Assets Urls:", e), pe = e;
564
- }, St = () => pe, $ = {
565
- getEnvironment: bt,
566
- getApiHost: At,
567
- getErrorHandler: kt,
568
- setEnvironment: vt,
569
- setApiHost: Pt,
570
- setErrorHandler: Rt,
571
- getMainAppHost: Et,
572
- setMainAppHost: It,
573
- setBaseAssetsUrl: Ct,
574
- getBaseAssetsUrl: St
560
+ }, Ct = () => pe, $ = {
561
+ getEnvironment: wt,
562
+ getApiHost: vt,
563
+ getErrorHandler: Pt,
564
+ setEnvironment: bt,
565
+ setApiHost: At,
566
+ setErrorHandler: kt,
567
+ getMainAppHost: Rt,
568
+ setMainAppHost: Et,
569
+ setBaseAssetsUrl: It,
570
+ getBaseAssetsUrl: Ct
575
571
  };
576
- function Ot(e) {
572
+ function St(e) {
577
573
  const t = $.getApiHost().replace(/\/$/g, "");
578
574
  let i = null, n = {}, r = {};
579
575
  e && m(e);
580
- function a() {
576
+ function c() {
581
577
  return t + d() + h();
582
578
  }
583
579
  function u() {
@@ -592,7 +588,7 @@ function Ot(e) {
592
588
  function s(l) {
593
589
  return n = l, this;
594
590
  }
595
- function c(l, P) {
591
+ function a(l, P) {
596
592
  return n[l] = P, this;
597
593
  }
598
594
  function f(l) {
@@ -625,10 +621,10 @@ function Ot(e) {
625
621
  return {
626
622
  setPath: m,
627
623
  getPath: d,
628
- getUri: a,
624
+ getUri: c,
629
625
  getMockUri: u,
630
626
  setQueryParams: s,
631
- setQueryParam: c,
627
+ setQueryParam: a,
632
628
  removeQueryParam: f,
633
629
  hasQuery: p,
634
630
  getQueryString: h,
@@ -637,7 +633,7 @@ function Ot(e) {
637
633
  removeRouteParam: S
638
634
  };
639
635
  }
640
- function $t(e) {
636
+ function Ot(e) {
641
637
  let t = [];
642
638
  function i() {
643
639
  return t = s(arguments), u(), this;
@@ -645,42 +641,42 @@ function $t(e) {
645
641
  function n() {
646
642
  return t.length > 0;
647
643
  }
648
- function r(c) {
649
- return t.includes(c.trim()) ? this : (t.push(c.trim()), u(), this);
644
+ function r(a) {
645
+ return t.includes(a.trim()) ? this : (t.push(a.trim()), u(), this);
650
646
  }
651
- function a(c) {
652
- const f = t.indexOf(c.trim());
647
+ function c(a) {
648
+ const f = t.indexOf(a.trim());
653
649
  return f === -1 ? this : (t.splice(f, 1), u(), this);
654
650
  }
655
651
  function u() {
656
652
  t.length ? e.setQueryParam("groups", d(t)) : e.removeQueryParam("groups");
657
653
  }
658
- function m(c) {
659
- return c.split(",").map((f) => f.trim());
654
+ function m(a) {
655
+ return a.split(",").map((f) => f.trim());
660
656
  }
661
- function d(c) {
662
- return c.join(",");
657
+ function d(a) {
658
+ return a.join(",");
663
659
  }
664
- function s(c) {
660
+ function s(a) {
665
661
  let f = [];
666
- return c.length === 1 ? typeof c[0] == "string" ? f = m(c[0]) : Array.isArray(c[0]) && (f = c[0]) : f = Array.from(c), f;
662
+ return a.length === 1 ? typeof a[0] == "string" ? f = m(a[0]) : Array.isArray(a[0]) && (f = a[0]) : f = Array.from(a), f;
667
663
  }
668
664
  return {
669
665
  setGroups: i,
670
666
  hasGroups: n,
671
667
  addGroup: r,
672
- removeGroup: a
668
+ removeGroup: c
673
669
  };
674
670
  }
675
- function Tt(e) {
671
+ function $t(e) {
676
672
  let t = !1, i = !1, n = 1, r = 10;
677
- function a() {
673
+ function c() {
678
674
  return t = !0, u(), this;
679
675
  }
680
676
  function u() {
681
677
  i = !0;
682
678
  const h = p(arguments);
683
- return s(h.page || 1, !1), c(h.perPage || r, !1), f(), this;
679
+ return s(h.page || 1, !1), a(h.perPage || r, !1), f(), this;
684
680
  }
685
681
  function m() {
686
682
  return i = !1, f(), this;
@@ -691,7 +687,7 @@ function Tt(e) {
691
687
  function s(h, w = !0) {
692
688
  return t = !0, i = !0, n = h, w && f(), this;
693
689
  }
694
- function c(h, w = !0) {
690
+ function a(h, w = !0) {
695
691
  return t = !0, i = !0, r = h, w && f(), this;
696
692
  }
697
693
  function f() {
@@ -704,49 +700,49 @@ function Tt(e) {
704
700
  return h.length >= 1 && (w.page = h[0]), h.length >= 2 && (w.perPage = h[1]), w;
705
701
  }
706
702
  return {
707
- isList: a,
703
+ isList: c,
708
704
  paginate: u,
709
705
  disablePagination: m,
710
706
  hasPagination: d,
711
707
  setPage: s,
712
- setPerPage: c
708
+ setPerPage: a
713
709
  };
714
710
  }
715
- function Lt(e) {
711
+ function Tt(e) {
716
712
  let t = !1, i = "id", n = "ASC";
717
713
  function r() {
718
714
  t = !0;
719
- const c = s(arguments);
720
- return c.orderBy && u(c.orderBy, !1), c.orderDir && m(c.orderDir, !1), d(), this;
715
+ const a = s(arguments);
716
+ return a.orderBy && u(a.orderBy, !1), a.orderDir && m(a.orderDir, !1), d(), this;
721
717
  }
722
- function a() {
718
+ function c() {
723
719
  return t;
724
720
  }
725
- function u(c, f = !0) {
726
- return t = !0, i = c, f && d(), this;
721
+ function u(a, f = !0) {
722
+ return t = !0, i = a, f && d(), this;
727
723
  }
728
- function m(c, f = !0) {
729
- if (c = c.toUpperCase(), ["ASC", "DESC"].indexOf(c) === -1)
724
+ function m(a, f = !0) {
725
+ if (a = a.toUpperCase(), ["ASC", "DESC"].indexOf(a) === -1)
730
726
  throw new Error("Invalid order direction");
731
- return t = !0, n = c, f && d(), this;
727
+ return t = !0, n = a, f && d(), this;
732
728
  }
733
729
  function d() {
734
- a() && (e.setQueryParam("orderBy", i), e.setQueryParam("orderDirection", n));
730
+ c() && (e.setQueryParam("orderBy", i), e.setQueryParam("orderDirection", n));
735
731
  }
736
- function s(c) {
737
- if (c.length === 1 && typeof c[0] == "object")
738
- return c[0];
732
+ function s(a) {
733
+ if (a.length === 1 && typeof a[0] == "object")
734
+ return a[0];
739
735
  const f = {};
740
- return c.length >= 1 && (f.orderBy = c[0]), c.length >= 2 && (f.orderDir = c[1]), f;
736
+ return a.length >= 1 && (f.orderBy = a[0]), a.length >= 2 && (f.orderDir = a[1]), f;
741
737
  }
742
738
  return {
743
739
  setOrder: r,
744
- hasOrder: a,
740
+ hasOrder: c,
745
741
  setOrderBy: u,
746
742
  setOrderDir: m
747
743
  };
748
744
  }
749
- function Nt() {
745
+ function Lt() {
750
746
  let e = !1;
751
747
  function t() {
752
748
  return e = !0, this;
@@ -774,7 +770,7 @@ function Mt() {
774
770
  getResponseType: i
775
771
  };
776
772
  }
777
- function Dt(e) {
773
+ function Nt(e) {
778
774
  function t() {
779
775
  return e;
780
776
  }
@@ -790,7 +786,7 @@ function Dt(e) {
790
786
  getPayload: n
791
787
  };
792
788
  }
793
- function xt(e, t = !1) {
789
+ function Dt(e, t = !1) {
794
790
  let i = !1, n = !1;
795
791
  return e.response ? (i = !0, n = !0) : e.request && (i = !0), !t && $.getErrorHandler() && $.getErrorHandler()(e), {
796
792
  sent: i,
@@ -798,7 +794,7 @@ function xt(e, t = !1) {
798
794
  error: e
799
795
  };
800
796
  }
801
- function jt(e) {
797
+ function xt(e) {
802
798
  function t() {
803
799
  return e;
804
800
  }
@@ -811,7 +807,7 @@ function jt(e) {
811
807
  function r() {
812
808
  return e.data["@type"] === "hydra:Collection";
813
809
  }
814
- function a() {
810
+ function c() {
815
811
  return r() ? e.data["hydra:member"] : null;
816
812
  }
817
813
  function u() {
@@ -831,50 +827,50 @@ function jt(e) {
831
827
  getData: i,
832
828
  getPayload: n,
833
829
  isCollection: r,
834
- getCollection: a,
830
+ getCollection: c,
835
831
  getTotal: u,
836
832
  hasPagination: m,
837
833
  getPage: d,
838
834
  getPages: s
839
835
  };
840
836
  }
841
- function _t(e, t, i, n, r, a) {
837
+ function _t(e, t, i, n, r, c) {
842
838
  async function u() {
843
- const d = i.getMethod(), s = t.getUri(), c = e.getHeaders(), f = n.getPayload(), p = [s];
839
+ const d = i.getMethod(), s = t.getUri(), a = e.getHeaders(), f = n.getPayload(), p = [s];
844
840
  ["post", "put", "patch"].includes(d) && p.push(f || {}), p.push({
845
- headers: c,
846
- responseType: a.getResponseType()
841
+ headers: a,
842
+ responseType: c.getResponseType()
847
843
  }), A.info("[Request] Sending request:", `[${d.toUpperCase()}]`, s);
848
844
  try {
849
845
  const h = await Ue[d](...p);
850
846
  return m(h);
851
847
  } catch (h) {
852
- throw xt(h, r.isSilent());
848
+ throw Dt(h, r.isSilent());
853
849
  }
854
850
  }
855
851
  function m(d) {
856
852
  if (d.headers) {
857
- const s = Object.keys(d.headers), c = s.map((f) => f.toLowerCase()).indexOf("content-type");
858
- if (c !== -1 && d.headers[s[c]].includes("application/ld+json"))
859
- return jt(d);
853
+ const s = Object.keys(d.headers), a = s.map((f) => f.toLowerCase()).indexOf("content-type");
854
+ if (a !== -1 && d.headers[s[a]].includes("application/ld+json"))
855
+ return xt(d);
860
856
  }
861
- return Dt(d);
857
+ return Nt(d);
862
858
  }
863
859
  return {
864
860
  send: u
865
861
  };
866
862
  }
867
863
  function k(e, t = "get", i = null) {
868
- const n = yt(), r = Ot(e), a = gt(t), u = wt(a, n, i), m = $t(r), d = Tt(r), s = Lt(r), c = Nt(), f = Mt(), p = _t(n, r, a, u, c, f);
864
+ const n = ht(), r = St(e), c = yt(t), u = gt(c, n, i), m = Ot(r), d = $t(r), s = Tt(r), a = Lt(), f = Mt(), p = _t(n, r, c, u, a, f);
869
865
  return {
870
866
  ...n,
871
867
  ...r,
872
- ...a,
868
+ ...c,
873
869
  ...u,
874
870
  ...m,
875
871
  ...d,
876
872
  ...s,
877
- ...c,
873
+ ...a,
878
874
  ...f,
879
875
  ...p
880
876
  };
@@ -882,124 +878,124 @@ function k(e, t = "get", i = null) {
882
878
  function g(e, t = "get", i = null) {
883
879
  const n = k(e, t, i), r = V();
884
880
  r.isAuthenticated() && n.setAuthorization(r.getAuthToken());
885
- const a = n.send;
881
+ const c = n.send;
886
882
  return n.send = async function() {
887
883
  if (!n.hasAuthorization())
888
884
  throw new Error("::SDK Request:: Request cannot be sent, missing authorization header.");
889
- return a();
885
+ return c();
890
886
  }, n;
891
887
  }
892
- const Bt = (e, t) => g("/v2/activity/candidate/:candidateId/establishment/:establishmentId").setRouteParams({ candidateId: e, establishmentId: t }), cr = () => ({
893
- listByCandidateAndEstablishment: Bt
894
- }), zt = (e, t, i) => g("/candidate/:candidateId/share/establishment/:establishmentId").setMethod("post").setRouteParams({ candidateId: e, establishmentId: t }).setPayload(i), Vt = (e, t) => g("/candidate/:candidateId/archive/establishment/:establishmentId").setRouteParams({ candidateId: e, establishmentId: t }), Ut = (e, t) => g("/candidate/:candidateId/archive/establishment/:establishmentId").setMethod("post").setRouteParams({ candidateId: e, establishmentId: t }), Ft = (e, t) => g("/candidate/:candidateId/archive/establishment/:establishmentId").setMethod("delete").setRouteParams({ candidateId: e, establishmentId: t }), Ht = (e, t) => g("/v2/candidates/lookup").setQueryParam("email", e).setQueryParam("establishment-id", t), Qt = (e, t) => g("/v2/candidates").setMethod("post").setQueryParam("establishment-id", e).setPayload(t), qt = (e, t, i) => g("/v2/candidates/:candidateId").setQueryParam("establishment-id", t).setRouteParams({ candidateId: e }).setMethod("put").setPayload(i), Gt = (e) => g("/candidate/register/close/:registrationToken").setMethod("post").setRouteParams({ registrationToken: e }), Kt = (e) => g("/candidate/register/open").setMethod("post").setQueryParam("groups", "register:token").setPayload(e), Wt = (e, t) => g("/establishment/:establishmentId:/candidate/invitation").setRouteParams({ establishmentId: e }).setMethod("post").setPayload(t), ur = () => ({
895
- share: zt,
896
- isArchived: Vt,
897
- archive: Ut,
898
- unarchive: Ft,
899
- lookupCandidate: Ht,
900
- createCandidate: Qt,
901
- updateCandidate: qt,
902
- closeIncompleteRegistration: Gt,
903
- openNewRegistration: Kt,
904
- updateInvitation: Wt
905
- }), Jt = (e, t) => g("/comment/establishment/:establishmentId/candidate/:userId").setRouteParams({ establishmentId: e, userId: t }), Zt = (e, t, i) => g("/comment/establishment/:establishmentId/candidate/:userId").setRouteParams({ establishmentId: e, userId: t }).setMethod("post").setPayload(i), Xt = (e, t) => g("/comment/:commentId").setRouteParams({ commentId: e }).setMethod("put").setPayload(t), Yt = (e) => g("/comment/:commentId").setRouteParams({ commentId: e }).setMethod("delete"), dr = () => ({
906
- getForEstablishmentCandidate: Jt,
907
- postForEstablishmentCandidate: Zt,
908
- update: Xt,
909
- remove: Yt
910
- }), en = () => k("contractType").isList().addGroup("Term:id").addGroup("Term:name"), tn = (e, t = !0) => g("contractType/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), lr = () => ({
911
- list: en,
912
- listByEstablishment: tn
913
- }), nn = (e) => g("/v2/talents").isList().setQueryParam("establishment-id", e), rn = (e) => g("/v2/talent/mark-as-seen/:talentId").setRouteParams({ talentId: e }).setMethod("post"), mr = () => ({
914
- list: nn,
915
- markAsSeen: rn
916
- }), sn = (e, t, i) => g("/cvtheque/establishment/:establishmentId/candidate/:candidateId/label/synchronize").setRouteParams({ establishmentId: e, candidateId: t }).setMethod("post").setPayload(i), fr = () => ({
917
- syncCandidateLabels: sn
918
- }), on = () => k("diploma").isList().addGroup("Term:id").addGroup("Term:name"), pr = () => ({
919
- list: on
920
- }), an = (e) => g("document/candidate/:candidateId").setRouteParams({ candidateId: e }).isList().disablePagination(), cn = (e, t) => g("document/candidate/:candidateId/establishment/:establishmentId/recruiter").setRouteParams({ candidateId: e, establishmentId: t }).isList().disablePagination(), un = (e, t) => g("document/candidate/:candidateId/establishment/:establishmentId/candidate").setRouteParams({ candidateId: e, establishmentId: t }).isList().disablePagination(), dn = (e) => g("document/recruiter").setMethod("post").setPayload(e), ln = (e) => g("document/:documentId").setRouteParams({ documentId: e }).setMethod("delete"), hr = () => ({
921
- listByCandidate: an,
922
- listByCandidateAndEstablishmentFromRecruiter: cn,
923
- listByCandidateAndEstablishmentFromCandidate: un,
924
- addFromRecruiter: dn,
925
- remove: ln
926
- }), mn = (e, t) => g("/v2/establishments/:establishmentId/email-history").setRouteParams({ establishmentId: t }).setQueryParam("receiverId", e).isList().disablePagination(), yr = () => ({
927
- listByCandidateAndEstablishment: mn
928
- }), fn = (e, t) => g("/email/candidate/:candidateId").setMethod("post").setRouteParams({ candidateId: e }).setPayload(t), pn = (e, t) => g("/v2/emails/send").setMethod("post").setPayload({ recipientIds: e, ...t }), gr = () => ({
929
- sendToCandidate: fn,
930
- sendToRecipients: pn
931
- }), hn = (e, t = !0) => {
888
+ const jt = (e, t) => g("/v2/activity/candidate/:candidateId/establishment/:establishmentId").setRouteParams({ candidateId: e, establishmentId: t }), ar = () => ({
889
+ listByCandidateAndEstablishment: jt
890
+ }), Bt = (e, t, i) => g("/candidate/:candidateId/share/establishment/:establishmentId").setMethod("post").setRouteParams({ candidateId: e, establishmentId: t }).setPayload(i), zt = (e, t) => g("/candidate/:candidateId/archive/establishment/:establishmentId").setRouteParams({ candidateId: e, establishmentId: t }), Vt = (e, t) => g("/candidate/:candidateId/archive/establishment/:establishmentId").setMethod("post").setRouteParams({ candidateId: e, establishmentId: t }), Ut = (e, t) => g("/candidate/:candidateId/archive/establishment/:establishmentId").setMethod("delete").setRouteParams({ candidateId: e, establishmentId: t }), Ft = (e, t) => g("/v2/candidates/lookup").setQueryParam("email", e).setQueryParam("establishment-id", t), Ht = (e, t) => g("/v2/candidates").setMethod("post").setQueryParam("establishment-id", e).setPayload(t), Qt = (e, t, i) => g("/v2/candidates/:candidateId").setQueryParam("establishment-id", t).setRouteParams({ candidateId: e }).setMethod("put").setPayload(i), qt = (e) => g("/candidate/register/close/:registrationToken").setMethod("post").setRouteParams({ registrationToken: e }), Gt = (e) => g("/candidate/register/open").setMethod("post").setQueryParam("groups", "register:token").setPayload(e), Kt = (e, t) => g("/establishment/:establishmentId:/candidate/invitation").setRouteParams({ establishmentId: e }).setMethod("post").setPayload(t), cr = () => ({
891
+ share: Bt,
892
+ isArchived: zt,
893
+ archive: Vt,
894
+ unarchive: Ut,
895
+ lookupCandidate: Ft,
896
+ createCandidate: Ht,
897
+ updateCandidate: Qt,
898
+ closeIncompleteRegistration: qt,
899
+ openNewRegistration: Gt,
900
+ updateInvitation: Kt
901
+ }), Wt = (e, t) => g("/comment/establishment/:establishmentId/candidate/:userId").setRouteParams({ establishmentId: e, userId: t }), Jt = (e, t, i) => g("/comment/establishment/:establishmentId/candidate/:userId").setRouteParams({ establishmentId: e, userId: t }).setMethod("post").setPayload(i), Zt = (e, t) => g("/comment/:commentId").setRouteParams({ commentId: e }).setMethod("put").setPayload(t), Xt = (e) => g("/comment/:commentId").setRouteParams({ commentId: e }).setMethod("delete"), ur = () => ({
902
+ getForEstablishmentCandidate: Wt,
903
+ postForEstablishmentCandidate: Jt,
904
+ update: Zt,
905
+ remove: Xt
906
+ }), Yt = () => k("contractType").isList().addGroup("Term:id").addGroup("Term:name"), en = (e, t = !0) => g("contractType/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), dr = () => ({
907
+ list: Yt,
908
+ listByEstablishment: en
909
+ }), tn = (e) => g("/v2/talents").isList().setQueryParam("establishment-id", e), nn = (e) => g("/v2/talent/mark-as-seen/:talentId").setRouteParams({ talentId: e }).setMethod("post"), lr = () => ({
910
+ list: tn,
911
+ markAsSeen: nn
912
+ }), rn = (e, t, i) => g("/cvtheque/establishment/:establishmentId/candidate/:candidateId/label/synchronize").setRouteParams({ establishmentId: e, candidateId: t }).setMethod("post").setPayload(i), mr = () => ({
913
+ syncCandidateLabels: rn
914
+ }), sn = () => k("diploma").isList().addGroup("Term:id").addGroup("Term:name"), fr = () => ({
915
+ list: sn
916
+ }), on = (e) => g("document/candidate/:candidateId").setRouteParams({ candidateId: e }).isList().disablePagination(), an = (e, t) => g("document/candidate/:candidateId/establishment/:establishmentId/recruiter").setRouteParams({ candidateId: e, establishmentId: t }).isList().disablePagination(), cn = (e, t) => g("document/candidate/:candidateId/establishment/:establishmentId/candidate").setRouteParams({ candidateId: e, establishmentId: t }).isList().disablePagination(), un = (e) => g("document/recruiter").setMethod("post").setPayload(e), dn = (e) => g("document/:documentId").setRouteParams({ documentId: e }).setMethod("delete"), pr = () => ({
917
+ listByCandidate: on,
918
+ listByCandidateAndEstablishmentFromRecruiter: an,
919
+ listByCandidateAndEstablishmentFromCandidate: cn,
920
+ addFromRecruiter: un,
921
+ remove: dn
922
+ }), ln = (e, t) => g("/v2/establishments/:establishmentId/email-history").setRouteParams({ establishmentId: t }).setQueryParam("receiverId", e).isList().disablePagination(), hr = () => ({
923
+ listByCandidateAndEstablishment: ln
924
+ }), mn = (e, t) => g("/email/candidate/:candidateId").setMethod("post").setRouteParams({ candidateId: e }).setPayload(t), fn = (e, t) => g("/v2/emails/send").setMethod("post").setPayload({ recipientIds: e, ...t }), yr = () => ({
925
+ sendToCandidate: mn,
926
+ sendToRecipients: fn
927
+ }), pn = (e, t = !0) => {
932
928
  const i = g("/v2/establishments/:establishmentId/email-templates").setRouteParams({ establishmentId: e }).isList().disablePagination();
933
929
  return t && i.setQueryParam("global", !0), i;
934
- }, yn = () => g("/v2/self/email-templates").isList().disablePagination(), wr = () => ({
935
- listByEstablishment: hn,
936
- listSelf: yn
937
- }), gn = (e, t) => g("establishment-career/:establishmentId/:versionId").setRouteParams({ establishmentId: e, versionId: t }), wn = (e, t = "published") => g("establishment-career/:establishmentId/state/:state").setRouteParams({ establishmentId: e, state: t }), bn = (e, t, i = null) => {
930
+ }, hn = () => g("/v2/self/email-templates").isList().disablePagination(), gr = () => ({
931
+ listByEstablishment: pn,
932
+ listSelf: hn
933
+ }), yn = (e, t) => g("establishment-career/:establishmentId/:versionId").setRouteParams({ establishmentId: e, versionId: t }), gn = (e, t = "published") => g("establishment-career/:establishmentId/state/:state").setRouteParams({ establishmentId: e, state: t }), wn = (e, t, i = null) => {
938
934
  const n = i !== null ? g("establishment-career/:establishmentId/:versionId").setRouteParams({ establishmentId: e, versionId: i }) : g("establishment-career/:establishmentId").setRouteParams({ establishmentId: e });
939
935
  return n.setMethod("post").setPayload(t), n;
940
- }, vn = (e, t) => g("establishment-career/:establishmentId/logo-banner").setMethod("post").setRouteParams({ establishmentId: e }).setPayload(t), An = (e, t, i) => g("establishment-career/:establishmentId/publish/:versionId").setMethod("post").setRouteParams({ establishmentId: e, versionId: t }).setPayload(i), br = () => ({
941
- readById: gn,
942
- readByState: wn,
943
- upsert: bn,
944
- uploadLogoAndBanner: vn,
945
- publish: An
946
- }), Pn = (e) => k("establishment/:establishmentId").setRouteParams({ establishmentId: e }), kn = (e) => g("establishment/:establishmentId/authorizations").setRouteParams({ establishmentId: e }), ye = () => ({
947
- read: Pn,
948
- authorizations: kn
949
- }), Rn = (e) => k("feature-flag/maintenance").setMethod("post").setPayload(e), En = (e, t) => k("feature-flag/establishment").setMethod("post").setPayload({ establishment: e, flagName: t }), vr = () => ({
950
- maintenanceModeEnabled: Rn,
951
- forEstablishment: En
952
- }), In = () => k("job").isList().addGroup("Term:id").addGroup("Term:name"), Cn = (e, t = !0) => g("job/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), Ar = () => ({
953
- list: In,
954
- listByEstablishment: Cn
955
- }), Sn = (e) => g("/label/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }), On = (e, t) => g("/label/establishment/:establishmentId").setMethod("post").setRouteParams({ establishmentId: e }).setPayload(t), $n = (e, t) => g("/label/:labelId").setMethod("put").setRouteParams({ labelId: e }).setPayload(t), Tn = (e) => g("/label/:labelId").setMethod("delete").setRouteParams({ labelId: e }), Ln = (e, t, i) => g("/label/establishment/:establishmentId/candidate/:candidateId/synchronize").setMethod("post").setPayload(i).setRouteParams({ establishmentId: e, candidateId: t }), Pr = () => ({
956
- listByEstablishment: Sn,
957
- addToEstablishment: On,
958
- update: $n,
959
- remove: Tn,
960
- syncForCandidate: Ln
961
- }), Nn = (e) => k("offer/:offerId").setRouteParams({ offerId: e }), kr = () => ({
962
- read: Nn
936
+ }, bn = (e, t) => g("establishment-career/:establishmentId/logo-banner").setMethod("post").setRouteParams({ establishmentId: e }).setPayload(t), vn = (e, t, i) => g("establishment-career/:establishmentId/publish/:versionId").setMethod("post").setRouteParams({ establishmentId: e, versionId: t }).setPayload(i), wr = () => ({
937
+ readById: yn,
938
+ readByState: gn,
939
+ upsert: wn,
940
+ uploadLogoAndBanner: bn,
941
+ publish: vn
942
+ }), An = (e) => k("establishment/:establishmentId").setRouteParams({ establishmentId: e }), Pn = (e) => g("establishment/:establishmentId/authorizations").setRouteParams({ establishmentId: e }), ye = () => ({
943
+ read: An,
944
+ authorizations: Pn
945
+ }), kn = (e) => k("feature-flag/maintenance").setMethod("post").setPayload(e), Rn = (e, t) => k("feature-flag/establishment").setMethod("post").setPayload({ establishment: e, flagName: t }), br = () => ({
946
+ maintenanceModeEnabled: kn,
947
+ forEstablishment: Rn
948
+ }), En = () => k("job").isList().addGroup("Term:id").addGroup("Term:name"), In = (e, t = !0) => g("job/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), vr = () => ({
949
+ list: En,
950
+ listByEstablishment: In
951
+ }), Cn = (e) => g("/label/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }), Sn = (e, t) => g("/label/establishment/:establishmentId").setMethod("post").setRouteParams({ establishmentId: e }).setPayload(t), On = (e, t) => g("/label/:labelId").setMethod("put").setRouteParams({ labelId: e }).setPayload(t), $n = (e) => g("/label/:labelId").setMethod("delete").setRouteParams({ labelId: e }), Tn = (e, t, i) => g("/label/establishment/:establishmentId/candidate/:candidateId/synchronize").setMethod("post").setPayload(i).setRouteParams({ establishmentId: e, candidateId: t }), Ar = () => ({
952
+ listByEstablishment: Cn,
953
+ addToEstablishment: Sn,
954
+ update: On,
955
+ remove: $n,
956
+ syncForCandidate: Tn
957
+ }), Ln = (e) => k("offer/:offerId").setRouteParams({ offerId: e }), Pr = () => ({
958
+ read: Ln
963
959
  }), Mn = (e, t = !1) => {
964
960
  const i = g("/recruiter/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e });
965
961
  return t && i.setQueryParam("exclude-me", 1), i;
966
- }, Rr = () => ({
962
+ }, kr = () => ({
967
963
  listByEstablishment: Mn
968
- }), Dn = (e) => g("/recruitment/:recruitmentId").setRouteParams({ recruitmentId: e }), xn = (e) => g("/recruitment/mine/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }), jn = (e, t) => g("/recruitment/mine/establishment/:establishmentId/has-not/candidate/:candidateId").isList().setRouteParams({ establishmentId: e, candidateId: t }), _n = (e, t) => g("/recruitment/mine/establishment/:establishmentId/has/candidate/:candidateId").isList().setRouteParams({ establishmentId: e, candidateId: t }), Bn = (e, t) => g("/recruitment/establishment/:establishmentId/has/candidate/:candidateId").isList().setRouteParams({ establishmentId: e, candidateId: t }), zn = (e, t) => g("/recruitment/:recruitmentId/candidate").setMethod("put").setRouteParams({ recruitmentId: e }).setPayload(t), Vn = (e, t) => g("/recruitment/:recruitmentId/candidate/:candidateId").setMethod("delete").setRouteParams({ recruitmentId: e, candidateId: t }), Er = () => ({
969
- read: Dn,
970
- mineByEstablishment: xn,
971
- mineWithoutCandidate: jn,
964
+ }), Nn = (e) => g("/recruitment/:recruitmentId").setRouteParams({ recruitmentId: e }), Dn = (e) => g("/recruitment/mine/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }), xn = (e, t) => g("/recruitment/mine/establishment/:establishmentId/has-not/candidate/:candidateId").isList().setRouteParams({ establishmentId: e, candidateId: t }), _n = (e, t) => g("/recruitment/mine/establishment/:establishmentId/has/candidate/:candidateId").isList().setRouteParams({ establishmentId: e, candidateId: t }), jn = (e, t) => g("/recruitment/establishment/:establishmentId/has/candidate/:candidateId").isList().setRouteParams({ establishmentId: e, candidateId: t }), Bn = (e, t) => g("/recruitment/:recruitmentId/candidate").setMethod("put").setRouteParams({ recruitmentId: e }).setPayload(t), zn = (e, t) => g("/recruitment/:recruitmentId/candidate/:candidateId").setMethod("delete").setRouteParams({ recruitmentId: e, candidateId: t }), Rr = () => ({
965
+ read: Nn,
966
+ mineByEstablishment: Dn,
967
+ mineWithoutCandidate: xn,
972
968
  mineWithCandidate: _n,
973
- withCandidate: Bn,
974
- addCandidates: zn,
975
- removeCandidate: Vn
976
- }), Un = (e, t, i, n = null) => {
977
- const r = k("candidate/register/open").setMethod("post"), a = { email: e };
978
- return t === "establishment" && (a.establishmentId = i), t === "offer" && (a.offerId = i), n && (a.referer = n), r.setPayload(a), r;
979
- }, Fn = (e, t) => k("candidate/register/update/:token").setMethod("post").setRouteParams({ token: e }).setPayload(t), Hn = (e) => k("candidate/register/read/:token").setRouteParams({ token: e }), Qn = (e) => k("candidate/register/close/:token").setMethod("post").setRouteParams({ token: e }), Ir = () => ({
980
- open: Un,
981
- update: Fn,
982
- read: Hn,
983
- close: Qn
984
- }), qn = (e, t) => g("/v2/registrations/lookup").setQueryParam("candidate-id", e).setQueryParam("establishment-id", t), Cr = () => ({
985
- lookupEstablishment: qn
986
- }), Gn = () => k("speciality").isList().addGroup("Term:id").addGroup("Term:name"), Kn = (e, t = !0) => g("speciality/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), Sr = () => ({
987
- list: Gn,
969
+ withCandidate: jn,
970
+ addCandidates: Bn,
971
+ removeCandidate: zn
972
+ }), Vn = (e, t, i, n = null) => {
973
+ const r = k("candidate/register/open").setMethod("post"), c = { email: e };
974
+ return t === "establishment" && (c.establishmentId = i), t === "offer" && (c.offerId = i), n && (c.referer = n), r.setPayload(c), r;
975
+ }, Un = (e, t) => k("candidate/register/update/:token").setMethod("post").setRouteParams({ token: e }).setPayload(t), Fn = (e) => k("candidate/register/read/:token").setRouteParams({ token: e }), Hn = (e) => k("candidate/register/close/:token").setMethod("post").setRouteParams({ token: e }), Er = () => ({
976
+ open: Vn,
977
+ update: Un,
978
+ read: Fn,
979
+ close: Hn
980
+ }), Qn = (e, t) => g("/v2/registrations/lookup").setQueryParam("candidate-id", e).setQueryParam("establishment-id", t), Ir = () => ({
981
+ lookupEstablishment: Qn
982
+ }), qn = () => k("speciality").isList().addGroup("Term:id").addGroup("Term:name"), Gn = (e, t = !0) => g("speciality/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), Cr = () => ({
983
+ list: qn,
984
+ listByEstablishment: Gn
985
+ }), Kn = (e) => g("/tag/public/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }), Sr = () => ({
988
986
  listByEstablishment: Kn
989
- }), Wn = (e) => g("/tag/public/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }), Or = () => ({
990
- listByEstablishment: Wn
991
- }), Jn = (e, t) => g("/v2/talents/lookup").setQueryParam("candidate-id", e).setQueryParam("establishment-id", t), Zn = (e) => g("/v2/talents/index").setMethod("post").setPayload(e), $r = () => ({
992
- lookupTalent: Jn,
993
- addCandidateToTalentPool: Zn
994
- }), Xn = (e) => k("user/email/isset/:email").setRouteParams({ email: e }), Yn = () => g("user/self").addGroup("user:self"), ei = (e) => g("/user/:uuid").setRouteParams({ uuid: e }), ti = (e) => k("/user/:uuid").setRouteParams({ uuid: e }), ni = (e) => g("/user/:id/uuid").setRouteParams({ id: e }), ge = () => ({
995
- emailExists: Xn,
996
- self: Yn,
997
- byUuidPrivate: ei,
998
- byUuid: ti,
999
- fetchUuid: ni
987
+ }), Wn = (e, t) => g("/v2/talents/lookup").setQueryParam("candidate-id", e).setQueryParam("establishment-id", t), Jn = (e) => g("/v2/talents/index").setMethod("post").setPayload(e), Or = () => ({
988
+ lookupTalent: Wn,
989
+ addCandidateToTalentPool: Jn
990
+ }), Zn = (e) => k("user/email/isset/:email").setRouteParams({ email: e }), Xn = () => g("user/self").addGroup("user:self"), Yn = (e) => g("/user/:uuid").setRouteParams({ uuid: e }), ei = (e) => k("/user/:uuid").setRouteParams({ uuid: e }), ti = (e) => g("/user/:id/uuid").setRouteParams({ id: e }), ge = () => ({
991
+ emailExists: Zn,
992
+ self: Xn,
993
+ byUuidPrivate: Yn,
994
+ byUuid: ei,
995
+ fetchUuid: ti
1000
996
  });
1001
997
  let B;
1002
- function ii() {
998
+ function ni() {
1003
999
  if (B)
1004
1000
  return B;
1005
1001
  const e = {
@@ -1033,32 +1029,32 @@ function ii() {
1033
1029
  hasRoleRH: () => n("ROLE_RH"),
1034
1030
  hasRoleCandidate: () => n("ROLE_CANDIDATE"),
1035
1031
  hasRoleAdmin: () => n("ROLE_ADMIN"),
1036
- hasPermission: (s, ...c) => {
1032
+ hasPermission: (s, ...a) => {
1037
1033
  const f = e.establishments[s];
1038
1034
  if (f === void 0)
1039
1035
  throw new Error(`::SDK Authorization:: Permissions not fetched for establishment ${s}`);
1040
- return c.every((p) => f[p] === !0);
1036
+ return a.every((p) => f[p] === !0);
1041
1037
  },
1042
1038
  clear: () => {
1043
1039
  e.user = void 0, e.roles = [], e.establishments = {};
1044
1040
  }
1045
1041
  }, B;
1046
1042
  }
1047
- async function Tr(e, ...t) {
1043
+ async function $r(e, ...t) {
1048
1044
  if (!V().isAuthenticated())
1049
1045
  throw "ERR_NOT_AUTHENTICATED";
1050
- const n = ii();
1046
+ const n = ni();
1051
1047
  await Promise.all([
1052
1048
  n.fetchSelf(),
1053
1049
  n.fetchPermission(e)
1054
1050
  ]);
1055
1051
  for (let r = 0; r < t.length; r++) {
1056
- const a = t[r];
1057
- if (!n.hasPermission(e, a))
1052
+ const c = t[r];
1053
+ if (!n.hasPermission(e, c))
1058
1054
  throw "ERR_MISSING_PERMISSION";
1059
1055
  }
1060
1056
  }
1061
- const Lr = Fe("authorization", {
1057
+ const Tr = Fe("authorization", {
1062
1058
  state: () => ({
1063
1059
  user: void 0,
1064
1060
  establishments: {}
@@ -1094,13 +1090,13 @@ const Lr = Fe("authorization", {
1094
1090
  }
1095
1091
  }
1096
1092
  });
1097
- let N = null;
1093
+ let M = null;
1098
1094
  function y() {
1099
- if (N)
1100
- return N;
1095
+ if (M)
1096
+ return M;
1101
1097
  const e = $.getEnvironment(), t = (() => e === "prod" || e === "production" ? "pPROC7dPoJ7XdxHrwsTQNXCGX79MJjhp" : e === "staging" ? "823rqOTwVk1ZCWVyBAdLInZ77TcFF0CF" : "TMZX6evFnu87JrBHV5qLwHsld5C6hilZ")(), i = !!t, n = e !== "prod" && e !== "production";
1102
1098
  let r = null;
1103
- function a() {
1099
+ function c() {
1104
1100
  return i;
1105
1101
  }
1106
1102
  function u() {
@@ -1130,7 +1126,7 @@ function y() {
1130
1126
  }
1131
1127
  async function m() {
1132
1128
  return r !== null || (r = new Promise((p, h) => {
1133
- if (!a())
1129
+ if (!c())
1134
1130
  return f("Analytics is disabled."), p();
1135
1131
  if (window.addEventListener("analytics-ready", () => {
1136
1132
  f("Analytics script loaded successfully."), p();
@@ -1144,7 +1140,7 @@ function y() {
1144
1140
  async function d(p, h) {
1145
1141
  if (!T())
1146
1142
  try {
1147
- if (await this.analyticsScriptReady(), f("[identify]", [p, h]), a())
1143
+ if (await this.analyticsScriptReady(), f("[identify]", [p, h]), c())
1148
1144
  return window.analytics.identify(p, h);
1149
1145
  } catch {
1150
1146
  f("[identify]", [p, h], "error");
@@ -1154,7 +1150,7 @@ function y() {
1154
1150
  if (!T()) {
1155
1151
  typeof w != "object" && (w = {});
1156
1152
  try {
1157
- if (await this.analyticsScriptReady(), f("[page]", [p, h, w]), a())
1153
+ if (await this.analyticsScriptReady(), f("[page]", [p, h, w]), c())
1158
1154
  return window.analytics.page(p, {
1159
1155
  category: h,
1160
1156
  ...w
@@ -1164,11 +1160,11 @@ function y() {
1164
1160
  }
1165
1161
  }
1166
1162
  }
1167
- async function c(p, h, w) {
1163
+ async function a(p, h, w) {
1168
1164
  if (!T()) {
1169
1165
  typeof w != "object" && (w = {});
1170
1166
  try {
1171
- if (await this.analyticsScriptReady(), f("[track]", [p, h, w]), a())
1167
+ if (await this.analyticsScriptReady(), f("[track]", [p, h, w]), c())
1172
1168
  return window.analytics.track(p, {
1173
1169
  category: h,
1174
1170
  ...w
@@ -1181,29 +1177,29 @@ function y() {
1181
1177
  function f(p, h = [], w = "info") {
1182
1178
  h || (h = []), n && A[w](`::SDK Analytics:: ${p}`, ...h);
1183
1179
  }
1184
- return N = {
1180
+ return M = {
1185
1181
  analyticsScriptReady: m,
1186
- isEnabled: a,
1182
+ isEnabled: c,
1187
1183
  identify: d,
1188
1184
  page: s,
1189
- track: c,
1185
+ track: a,
1190
1186
  consoleMessage: f
1191
- }, N;
1187
+ }, M;
1192
1188
  }
1193
- y.destroy = () => N = null;
1194
- function ri() {
1189
+ y.destroy = () => M = null;
1190
+ function ii() {
1195
1191
  const e = "Hubler Application";
1196
1192
  function t(s) {
1197
1193
  if (!s)
1198
1194
  throw new Error(`Missing arguments for domain "${e}"`);
1199
- const c = !!s.offerId;
1200
- if (c && !s.recruitmentId)
1195
+ const a = !!s.offerId;
1196
+ if (a && !s.recruitmentId)
1201
1197
  throw new Error(`Missing argument "recruitmentId" for domain "${e}"`);
1202
1198
  return {
1203
1199
  companyId: s.establishmentId ? s.establishmentId.toString() : null,
1204
- jobOfferId: c ? s.offerId.toString() : null,
1205
- recruitmentId: c ? s.recruitmentId.toString() : null,
1206
- selections: [c ? "Application" : "Spontaneous Application"]
1200
+ jobOfferId: a ? s.offerId.toString() : null,
1201
+ recruitmentId: a ? s.recruitmentId.toString() : null,
1202
+ selections: [a ? "Application" : "Spontaneous Application"]
1207
1203
  };
1208
1204
  }
1209
1205
  async function i(s) {
@@ -1215,7 +1211,7 @@ function ri() {
1215
1211
  async function r(s) {
1216
1212
  return y().page("Application Job Viewed", e, t(s));
1217
1213
  }
1218
- async function a(s) {
1214
+ async function c(s) {
1219
1215
  return y().page("Application Information Viewed", e, t(s));
1220
1216
  }
1221
1217
  async function u(s) {
@@ -1233,13 +1229,13 @@ function ri() {
1233
1229
  applicationAuthenticationViewed: i,
1234
1230
  applicationMagicLinkViewed: n,
1235
1231
  applicationJobViewed: r,
1236
- applicationInformationViewed: a,
1232
+ applicationInformationViewed: c,
1237
1233
  applicationDocumentViewed: u,
1238
1234
  applicationSuccessViewed: m,
1239
1235
  applicationFormFailed: d
1240
1236
  };
1241
1237
  }
1242
- function si() {
1238
+ function ri() {
1243
1239
  const e = "Profile";
1244
1240
  function t(l, P) {
1245
1241
  var I;
@@ -1260,7 +1256,7 @@ function si() {
1260
1256
  async function r(l) {
1261
1257
  return y().track(l.name, e, t(l.properties, !0));
1262
1258
  }
1263
- async function a(l) {
1259
+ async function c(l) {
1264
1260
  return y().track(l.name, e, t(l.properties, !0));
1265
1261
  }
1266
1262
  async function u(l) {
@@ -1275,7 +1271,7 @@ function si() {
1275
1271
  async function s(l) {
1276
1272
  return y().track(l.name, e, t(l.properties, !0));
1277
1273
  }
1278
- async function c(l) {
1274
+ async function a(l) {
1279
1275
  return y().track(l.name, e, t(l.properties, !0));
1280
1276
  }
1281
1277
  async function f(l) {
@@ -1300,12 +1296,12 @@ function si() {
1300
1296
  profileDocumentDeleted: i,
1301
1297
  profileLabelAdded: n,
1302
1298
  profileLabelRemoved: r,
1303
- profileShared: a,
1299
+ profileShared: c,
1304
1300
  profileArchived: u,
1305
1301
  profileCandidateAdded: m,
1306
1302
  profileCommentAdded: d,
1307
1303
  profileDocumentAdded: s,
1308
- profileDocumentDownloaded: c,
1304
+ profileDocumentDownloaded: a,
1309
1305
  profileDocumentRequested: f,
1310
1306
  profileRecruitmentAdded: p,
1311
1307
  profileRecruitmentRemoved: h,
@@ -1314,7 +1310,7 @@ function si() {
1314
1310
  profileEmailSent: S
1315
1311
  };
1316
1312
  }
1317
- function oi() {
1313
+ function si() {
1318
1314
  const e = "Recruitment";
1319
1315
  function t(n) {
1320
1316
  if (!n)
@@ -1331,7 +1327,7 @@ function oi() {
1331
1327
  candidateAdded: i
1332
1328
  };
1333
1329
  }
1334
- function ai() {
1330
+ function oi() {
1335
1331
  const e = "Visual Builder";
1336
1332
  function t(o, xe) {
1337
1333
  if (!o)
@@ -1350,7 +1346,7 @@ function ai() {
1350
1346
  async function r(o) {
1351
1347
  return y().track(o.name, e, t(o.properties, !0));
1352
1348
  }
1353
- async function a(o) {
1349
+ async function c(o) {
1354
1350
  return y().page(o.name, e, t(o.properties, !0));
1355
1351
  }
1356
1352
  async function u(o) {
@@ -1365,7 +1361,7 @@ function ai() {
1365
1361
  async function s(o) {
1366
1362
  return y().page(o.name, e, t(o.properties, !0));
1367
1363
  }
1368
- async function c(o) {
1364
+ async function a(o) {
1369
1365
  return y().page(o.name, e, t(o.properties, !0));
1370
1366
  }
1371
1367
  async function f(o) {
@@ -1431,10 +1427,10 @@ function ai() {
1431
1427
  async function Le(o) {
1432
1428
  return y().track(o.name, e, t(o.properties, !0));
1433
1429
  }
1434
- async function Ne(o) {
1430
+ async function Me(o) {
1435
1431
  return y().track(o.name, e, t(o.properties, !0));
1436
1432
  }
1437
- async function Me(o) {
1433
+ async function Ne(o) {
1438
1434
  return y().track(o.name, e, t(o.properties, !0));
1439
1435
  }
1440
1436
  async function De(o) {
@@ -1444,12 +1440,12 @@ function ai() {
1444
1440
  careerSitePreviewViewed: i,
1445
1441
  careerSitePublished: n,
1446
1442
  setupBenefitCustomAdded: r,
1447
- setupBenefitViewed: a,
1443
+ setupBenefitViewed: c,
1448
1444
  setupCandidateInformationViewed: u,
1449
1445
  setupContactAdded: m,
1450
1446
  setupContactViewed: d,
1451
1447
  setupEditionDoneViewed: s,
1452
- setupExternalLinkViewed: c,
1448
+ setupExternalLinkViewed: a,
1453
1449
  setupImageUploaded: f,
1454
1450
  setupImageViewed: p,
1455
1451
  setupLocationViewed: h,
@@ -1471,19 +1467,19 @@ function ai() {
1471
1467
  setupPresentationContentDuplicated: $e,
1472
1468
  setupPresentationContentMoved: Te,
1473
1469
  setupPresentationTabDeleted: Le,
1474
- setupPresentationTabEdited: Ne,
1475
- setupPresentationTabMoved: Me,
1470
+ setupPresentationTabEdited: Me,
1471
+ setupPresentationTabMoved: Ne,
1476
1472
  setupSEOViewed: De
1477
1473
  };
1478
1474
  }
1479
1475
  const ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1480
1476
  __proto__: null,
1481
- useAnalyticsHublerApplication: ri,
1482
- useAnalyticsProfile: si,
1483
- useAnalyticsRecruitment: oi,
1484
- useAnalyticsVisualBuilder: ai
1477
+ useAnalyticsHublerApplication: ii,
1478
+ useAnalyticsProfile: ri,
1479
+ useAnalyticsRecruitment: si,
1480
+ useAnalyticsVisualBuilder: oi
1485
1481
  }, Symbol.toStringTag, { value: "Module" }));
1486
- function Nr() {
1482
+ function Lr() {
1487
1483
  function e(i) {
1488
1484
  return y().identify(i.id, {
1489
1485
  email: i.email,
@@ -1506,13 +1502,13 @@ function Nr() {
1506
1502
  };
1507
1503
  }
1508
1504
  let z = null;
1509
- const ci = async (e, t) => {
1505
+ const ai = async (e, t) => {
1510
1506
  try {
1511
1507
  return await F(), A.info("[identify]", [e, t]), window.analytics.identify(e, t);
1512
1508
  } catch {
1513
1509
  A.error("[identify]", [e, t]);
1514
1510
  }
1515
- }, ui = async (e, t, i) => {
1511
+ }, ci = async (e, t, i) => {
1516
1512
  typeof i != "object" && (i = {});
1517
1513
  try {
1518
1514
  return await F(), A.info("[page]", [e, t, i]), window.analytics.page(e, {
@@ -1522,7 +1518,7 @@ const ci = async (e, t) => {
1522
1518
  } catch {
1523
1519
  A.error("[page]", [e, t, i]);
1524
1520
  }
1525
- }, di = async (e, t, i) => {
1521
+ }, ui = async (e, t, i) => {
1526
1522
  typeof i != "object" && (i = {});
1527
1523
  try {
1528
1524
  return await F(), A.info("[track]", [e, t, i]), window.analytics.track(e, {
@@ -1571,30 +1567,30 @@ const ci = async (e, t) => {
1571
1567
  key: J,
1572
1568
  appendScript: we,
1573
1569
  ready: F,
1574
- identify: ci,
1575
- page: ui,
1576
- track: di
1577
- }, li = "AIzaSyDicyRD6rvVdnicp1tgV0ElazASNGbyyTs";
1570
+ identify: ai,
1571
+ page: ci,
1572
+ track: ui
1573
+ }, di = "AIzaSyDicyRD6rvVdnicp1tgV0ElazASNGbyyTs";
1578
1574
  let be = !1;
1579
1575
  const ve = () => new Promise((e) => {
1580
- T() || be || window.google && window.google.maps ? e() : (window.addEventListener("gmap-ready", () => e()), pi());
1581
- }), mi = (e, t) => ve().then(() => {
1582
- T() || fi(e, t);
1583
- }), fi = (e, t) => {
1576
+ T() || be || window.google && window.google.maps ? e() : (window.addEventListener("gmap-ready", () => e()), fi());
1577
+ }), li = (e, t) => ve().then(() => {
1578
+ T() || mi(e, t);
1579
+ }), mi = (e, t) => {
1584
1580
  const i = new window.google.maps.places.Autocomplete(e, { componentRestrictions: { country: ["fr", "re", "yt", "gp", "mq"] } });
1585
1581
  window.google.maps.event.addListener(i, "place_changed", () => {
1586
1582
  const n = i.getPlace();
1587
1583
  n.formatted_address && t && t(n.formatted_address, n);
1588
1584
  });
1589
- }, pi = () => {
1585
+ }, fi = () => {
1590
1586
  window.onGmapScriptReady = () => {
1591
1587
  };
1592
1588
  const e = document.createElement("script");
1593
- e.src = "https://maps.googleapis.com/maps/api/js?key=" + li + "&libraries=places&callback=onGmapScriptReady", e.async = !0, e.defer = !0, e.onload = () => window.dispatchEvent(new Event("gmap-ready")), document.body.appendChild(e), be = !0;
1594
- }, Dr = {
1589
+ e.src = "https://maps.googleapis.com/maps/api/js?key=" + di + "&libraries=places&callback=onGmapScriptReady", e.async = !0, e.defer = !0, e.onload = () => window.dispatchEvent(new Event("gmap-ready")), document.body.appendChild(e), be = !0;
1590
+ }, Nr = {
1595
1591
  scriptReady: ve,
1596
- autocompleteInput: mi
1597
- }, hi = {
1592
+ autocompleteInput: li
1593
+ }, pi = {
1598
1594
  common: {
1599
1595
  the: "le",
1600
1596
  from: "de"
@@ -1619,29 +1615,29 @@ const ve = () => new Promise((e) => {
1619
1615
  minute: "minute | minutes",
1620
1616
  second: "seconde | secondes"
1621
1617
  }
1622
- }, yi = {
1623
- fr: hi
1618
+ }, hi = {
1619
+ fr: pi
1624
1620
  };
1625
1621
  let Z = null;
1626
- const gi = () => Z, xr = (e = {}) => {
1622
+ const yi = () => Z, Dr = (e = {}) => {
1627
1623
  let t = e.locale || "fr";
1628
- const i = (d) => t = d, n = () => t, r = ce(yi, (e == null ? void 0 : e.messages) || {}), a = (d, s) => {
1629
- const c = O(r, `${t}.${d}`);
1630
- return c ? s ? wi(c, s) : c : d;
1624
+ const i = (d) => t = d, n = () => t, r = ce(hi, (e == null ? void 0 : e.messages) || {}), c = (d, s) => {
1625
+ const a = O(r, `${t}.${d}`);
1626
+ return a ? s ? gi(a, s) : a : d;
1631
1627
  }, u = (d, s) => {
1632
- const c = O(r, `${t}.${d}`);
1633
- return c ? bi(c, s) : d;
1628
+ const a = O(r, `${t}.${d}`);
1629
+ return a ? wi(a, s) : d;
1634
1630
  };
1635
1631
  return Z = {
1636
- t: a,
1632
+ t: c,
1637
1633
  tNode: u,
1638
1634
  setLocale: i,
1639
1635
  getLocale: n,
1640
1636
  install: (d) => {
1641
- d.config.globalProperties.$t = a, d.config.globalProperties.$tNode = u;
1637
+ d.config.globalProperties.$t = c, d.config.globalProperties.$tNode = u;
1642
1638
  }
1643
1639
  }, Z;
1644
- }, wi = (e, t) => e ? e.replace(/{{ ?([a-zA-Z_.]+) ?}}/g, (i, n) => O(t, n)) : null, bi = (e, t) => {
1640
+ }, gi = (e, t) => e ? e.replace(/{{ ?([a-zA-Z_.]+) ?}}/g, (i, n) => O(t, n)) : null, wi = (e, t) => {
1645
1641
  if (!e)
1646
1642
  return null;
1647
1643
  const i = e.split(/(\{[{%]+[^{}]*[%}]+})/g).filter((n) => n !== "").map((n) => {
@@ -1649,22 +1645,22 @@ const gi = () => Z, xr = (e = {}) => {
1649
1645
  if (r === "text")
1650
1646
  return () => re.text(n);
1651
1647
  n = n.replace(/[{}%]/g, "").trim();
1652
- const a = n.match(/^[a-zA-Z_.]+/)[0];
1653
- n = n.replace(a, "").trim();
1648
+ const c = n.match(/^[a-zA-Z_.]+/)[0];
1649
+ n = n.replace(c, "").trim();
1654
1650
  const u = {};
1655
- return n !== "" && ([...n.matchAll(/([a-zA-Z_.]+)(=([a-zA-Z_.]+))?/g)].reduce((s, c) => (c[3] === void 0 ? D(s, c[1], O(t, c[1])) : D(s, c[1], O(t, c[3])), s), u), [...n.matchAll(/([a-zA-Z_.]+)="([^"]+)"/g)].reduce((s, c) => {
1656
- let f = c[2];
1657
- return new RegExp(/^[0-9]*$/).exec(c[2]) ? f = parseInt(c[2]) : new RegExp(/^(true|false)$/).exec(c[2]) && (f = c[2] === "true"), s[c[1]] = f, s;
1658
- }, u)), (m) => re[r](a, t, m, u);
1651
+ return n !== "" && ([...n.matchAll(/([a-zA-Z_.]+)(=([a-zA-Z_.]+))?/g)].reduce((s, a) => (a[3] === void 0 ? D(s, a[1], O(t, a[1])) : D(s, a[1], O(t, a[3])), s), u), [...n.matchAll(/([a-zA-Z_.]+)="([^"]+)"/g)].reduce((s, a) => {
1652
+ let f = a[2];
1653
+ return new RegExp(/^[0-9]*$/).exec(a[2]) ? f = parseInt(a[2]) : new RegExp(/^(true|false)$/).exec(a[2]) && (f = a[2] === "true"), s[a[1]] = f, s;
1654
+ }, u)), (m) => re[r](c, t, m, u);
1659
1655
  });
1660
- return { setup: (n, { slots: r }) => () => i.map((a) => a(r)) };
1656
+ return { setup: (n, { slots: r }) => () => i.map((c) => c(r)) };
1661
1657
  }, re = {
1662
1658
  slot: (e, t, i, n) => H("span", { class: "node node--slot" }, i[e.trim()](n)),
1663
1659
  variable: (e, t) => H("span", { class: "node node--variable" }, O(t, e.trim())),
1664
1660
  text: (e) => H("span", { class: "node node--text" }, e)
1665
1661
  };
1666
- function jr(e) {
1667
- const { t } = gi(), i = {
1662
+ function xr(e) {
1663
+ const { t } = yi(), i = {
1668
1664
  justNow: t("timeAgo.just-now"),
1669
1665
  past: (n) => n.match(/\d/) ? t("timeAgo.ago", [n]) : n,
1670
1666
  future: (n) => n.match(/\d/) ? t("timeAgo.in", [n]) : n,
@@ -1682,7 +1678,7 @@ function jr(e) {
1682
1678
  messages: i
1683
1679
  });
1684
1680
  }
1685
- function vi() {
1681
+ function bi() {
1686
1682
  let e = null;
1687
1683
  function t() {
1688
1684
  return e;
@@ -1696,7 +1692,7 @@ function vi() {
1696
1692
  function r() {
1697
1693
  return e.action;
1698
1694
  }
1699
- function a() {
1695
+ function c() {
1700
1696
  return e.arguments;
1701
1697
  }
1702
1698
  function u() {
@@ -1704,8 +1700,8 @@ function vi() {
1704
1700
  }
1705
1701
  function m() {
1706
1702
  window.location.search.length !== 0 && (e = window.location.search.substring(1).split("&").reduce((d, s) => {
1707
- const c = s.split("=");
1708
- return c[0] === "controller" || c[0] === "action" ? d[c[0]] = decodeURIComponent(c[1]) : d.arguments[c[0]] = decodeURIComponent(c[1]), d;
1703
+ const a = s.split("=");
1704
+ return a[0] === "controller" || a[0] === "action" ? d[a[0]] = decodeURIComponent(a[1]) : d.arguments[a[0]] = decodeURIComponent(a[1]), d;
1709
1705
  }, { controller: null, action: null, arguments: {} }));
1710
1706
  }
1711
1707
  return m(), {
@@ -1713,19 +1709,19 @@ function vi() {
1713
1709
  getController: i,
1714
1710
  getControllerComposableName: n,
1715
1711
  getAction: r,
1716
- getArguments: a,
1712
+ getArguments: c,
1717
1713
  hasAction: u
1718
1714
  };
1719
1715
  }
1720
- function Ai() {
1721
- async function e({ domain: n, event: r, ...a }) {
1716
+ function vi() {
1717
+ async function e({ domain: n, event: r, ...c }) {
1722
1718
  const u = "useAnalytics" + n.charAt(0).toUpperCase() + n.slice(1);
1723
1719
  if (!t(u))
1724
1720
  throw new Error(`Domain ${n} is not defined`);
1725
1721
  const m = ie[u]();
1726
1722
  if (!i(m, r))
1727
1723
  throw new Error(`Event ${r} is not defined in domain ${n}`);
1728
- return m[r](a);
1724
+ return m[r](c);
1729
1725
  }
1730
1726
  function t(n) {
1731
1727
  return !!ie[n];
@@ -1739,9 +1735,9 @@ function Ai() {
1739
1735
  }
1740
1736
  const se = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1741
1737
  __proto__: null,
1742
- useAnalyticsQSController: Ai
1738
+ useAnalyticsQSController: vi
1743
1739
  }, Symbol.toStringTag, { value: "Module" }));
1744
- function Pi(e) {
1740
+ function Ai(e) {
1745
1741
  if (!e.hasAction())
1746
1742
  throw new Error("No action found in router");
1747
1743
  function t() {
@@ -1764,19 +1760,19 @@ function Pi(e) {
1764
1760
  }
1765
1761
  function _r() {
1766
1762
  let e = !1;
1767
- function t(r, a, u) {
1763
+ function t(r, c, u) {
1768
1764
  n(), u();
1769
1765
  }
1770
- function i(r, a, u) {
1766
+ function i(r, c, u) {
1771
1767
  if (!e)
1772
- return e = !0, t(r, a, u);
1768
+ return e = !0, t(r, c, u);
1773
1769
  u();
1774
1770
  }
1775
1771
  function n() {
1776
- const r = vi();
1772
+ const r = bi();
1777
1773
  if (!r.hasAction())
1778
1774
  return;
1779
- Pi(r).dispatch();
1775
+ Ai(r).dispatch();
1780
1776
  }
1781
1777
  return {
1782
1778
  vueRouterBeforeEach: t,
@@ -1784,44 +1780,44 @@ function _r() {
1784
1780
  handle: n
1785
1781
  };
1786
1782
  }
1787
- const Br = () => ({ getAssetUrl: (t) => `${$.getBaseAssetsUrl()}${t}` }), v = () => $.getMainAppHost(), ki = () => `${v()}/rh/establishments`, Ri = (e) => `${v()}/rh/establishment/${e}`, Ei = (e) => {
1783
+ const jr = () => ({ getAssetUrl: (t) => `${$.getBaseAssetsUrl()}${t}` }), v = () => $.getMainAppHost(), Pi = () => `${v()}/rh/establishments`, ki = (e) => `${v()}/rh/establishment/${e}`, Ri = (e) => {
1788
1784
  var t;
1789
1785
  return typeof e == "string" ? e : typeof e == "object" && ((t = e == null ? void 0 : e.urls) != null && t.display) ? e.urls.display : null;
1790
- }, Ii = () => `${v()}/rh/dashboard`, Ci = (e) => `${v()}/candidate-invite/establishment/${e}`, Si = (e, t = !1) => t ? `${v()}/cvbank/${e}` : `${v()}/rh/establishment/${e}/cvtheque`, Oi = (e, t) => `${v()}/user-profile/establishment/${e}/user/${t}`, $i = (e) => `${v()}/rh/establishment/${e}/recruitment`, Ti = (e, t) => `${v()}/rh/establishment/${e}/recruitment/${t}`, Li = (e, t) => `${v()}/rh/establishment/${e}/recruitment/${t}/kanban`, Ni = (e) => `${v()}/rh/establishment/${e}/career-configuration`, Mi = (e, t = null) => t ? `${v()}/career-website/${e}/${t}` : `${v()}/career-website/${e}`, Di = (e, t) => `${v()}/career-website-preview/${e}/${t}`, xi = (e, t = null) => {
1786
+ }, Ei = () => `${v()}/rh/dashboard`, Ii = (e) => `${v()}/candidate-invite/establishment/${e}`, Ci = (e, t = !1) => t ? `${v()}/cvbank/${e}` : `${v()}/rh/establishment/${e}/cvtheque`, Si = (e, t) => `${v()}/user-profile/establishment/${e}/user/${t}`, Oi = (e) => `${v()}/rh/establishment/${e}/recruitment`, $i = (e, t) => `${v()}/rh/establishment/${e}/recruitment/${t}`, Ti = (e, t) => `${v()}/rh/establishment/${e}/recruitment/${t}/kanban`, Li = (e) => `${v()}/rh/establishment/${e}/career-configuration`, Mi = (e, t = null) => t ? `${v()}/career-website/${e}/${t}` : `${v()}/career-website/${e}`, Ni = (e, t) => `${v()}/career-website-preview/${e}/${t}`, Di = (e, t = null) => {
1791
1787
  const i = v().replace("://", `://${e}.`);
1792
1788
  return t ? `${i}?_version=${t}` : `${i}`;
1793
- }, ji = (e) => `${v()}/rh/establishment/${e}/stats`, _i = (e) => `${v()}/rh/establishment/${e}/backoffice`, Bi = () => `${v()}/rh/settings/general`;
1794
- function zr() {
1789
+ }, xi = (e) => `${v()}/rh/establishment/${e}/stats`, _i = (e) => `${v()}/rh/establishment/${e}/backoffice`, ji = () => `${v()}/rh/settings/general`;
1790
+ function Br() {
1795
1791
  return {
1796
1792
  root: v,
1797
- establishments: ki,
1798
- establishment: Ri,
1799
- img: Ei,
1800
- dashboard: Ii,
1801
- candidateInvite: Ci,
1802
- cvtheque: Si,
1803
- userProfile: Oi,
1804
- recruitments: $i,
1805
- recruitment: Ti,
1806
- recruitmentKanban: Li,
1807
- career: Ni,
1793
+ establishments: Pi,
1794
+ establishment: ki,
1795
+ img: Ri,
1796
+ dashboard: Ei,
1797
+ candidateInvite: Ii,
1798
+ cvtheque: Ci,
1799
+ userProfile: Si,
1800
+ recruitments: Oi,
1801
+ recruitment: $i,
1802
+ recruitmentKanban: Ti,
1803
+ career: Li,
1808
1804
  careerConfig: Mi,
1809
- careerPreview: Di,
1810
- careerWebsite: xi,
1811
- statistics: ji,
1805
+ careerPreview: Ni,
1806
+ careerWebsite: Di,
1807
+ statistics: xi,
1812
1808
  backoffice: _i,
1813
- userSettings: Bi
1809
+ userSettings: ji
1814
1810
  };
1815
1811
  }
1816
1812
  const oe = /* @__PURE__ */ new Set();
1817
- let M, X = {
1813
+ let N, X = {
1818
1814
  ignore: (e) => e.startsWith("Ui")
1819
1815
  };
1820
1816
  const G = (e) => {
1821
1817
  if (e != null && e.classList) {
1822
1818
  e._cssChecked = !0;
1823
1819
  for (const t of e.classList)
1824
- M.has(t) || oe.has(t) || X.ignore(t) || (oe.add(t), A.error(`Undefined CSS class: ${t}`));
1820
+ N.has(t) || oe.has(t) || X.ignore(t) || (oe.add(t), A.error(`Undefined CSS class: ${t}`));
1825
1821
  }
1826
1822
  }, Ae = (e) => {
1827
1823
  var t;
@@ -1832,19 +1828,19 @@ const G = (e) => {
1832
1828
  const n = (t = i.selectorText) == null ? void 0 : t.match(/\.[\w-]+/g);
1833
1829
  if (n)
1834
1830
  for (const r of n)
1835
- M.add(r.substr(1));
1831
+ N.add(r.substr(1));
1836
1832
  }
1837
- }, Vr = (e = {}) => {
1838
- if (M)
1839
- return M;
1840
- M = /* @__PURE__ */ new Set(), X = { ...X, ...e }, Ae(document.styleSheets), new MutationObserver((i) => {
1833
+ }, zr = (e = {}) => {
1834
+ if (N)
1835
+ return N;
1836
+ N = /* @__PURE__ */ new Set(), X = { ...X, ...e }, Ae(document.styleSheets), new MutationObserver((i) => {
1841
1837
  for (const n of i)
1842
1838
  if (n.type === "childList" && (n != null && n.addedNodes)) {
1843
1839
  for (const r of n.addedNodes)
1844
1840
  if (!(r.nodeType === 3 || r.nodeType === 8)) {
1845
1841
  G(r);
1846
- for (const a of r.querySelectorAll("*"))
1847
- G(a);
1842
+ for (const c of r.querySelectorAll("*"))
1843
+ G(c);
1848
1844
  }
1849
1845
  } else
1850
1846
  (n == null ? void 0 : n.attributeName) === "class" && G(n.target);
@@ -1853,89 +1849,88 @@ const G = (e) => {
1853
1849
  childList: !0,
1854
1850
  subtree: !0
1855
1851
  });
1856
- }, Ur = "0.2.71";
1852
+ }, Vr = "0.2.73";
1857
1853
  export {
1858
1854
  Mr as Analytics,
1859
1855
  W as BaseLogger,
1860
- Dr as Gmap,
1856
+ Nr as Gmap,
1861
1857
  $ as SDKConfig,
1862
1858
  A as SDKLogger,
1863
- Ur as VERSION,
1864
- mt as _clone,
1859
+ Vr as VERSION,
1860
+ lt as _clone,
1865
1861
  O as _get,
1866
- sr as _map,
1862
+ rr as _map,
1867
1863
  ce as _merge,
1868
1864
  ue as _pathList,
1869
1865
  D as _set,
1870
- lt as _setMany,
1866
+ dt as _setMany,
1871
1867
  K as buildObjectValidation,
1872
- xr as createI18n,
1873
- ar as ensureScheme,
1874
- qi as inBrowser,
1868
+ Dr as createI18n,
1869
+ or as ensureScheme,
1870
+ Qi as inBrowser,
1875
1871
  T as inNode,
1876
1872
  Y as isArray,
1877
- nr as isArrayOf,
1878
- Ki as isBoolean,
1879
- Zi as isDate,
1880
- tr as isFalsy,
1881
- Xi as isFunction,
1882
- Qi as isMobile,
1883
- Yi as isNotNullOrUndefined,
1884
- ct as isNull,
1885
- dt as isNullOrUndefined,
1886
- Wi as isNumber,
1873
+ tr as isArrayOf,
1874
+ Gi as isBoolean,
1875
+ Ji as isDate,
1876
+ er as isFalsy,
1877
+ Zi as isFunction,
1878
+ Hi as isMobile,
1879
+ Xi as isNotNullOrUndefined,
1880
+ at as isNull,
1881
+ ut as isNullOrUndefined,
1882
+ Ki as isNumber,
1887
1883
  U as isObject,
1888
- ir as isObjectOf,
1889
- rr as isObjectValid,
1890
- Ji as isString,
1891
- er as isTruthy,
1892
- ut as isUndefined,
1893
- Gi as sanitizeObject,
1894
- or as secureScheme,
1895
- at as transpileAsserts,
1896
- ot as transpileObjectMeta,
1897
- cr as useActivityRepository,
1898
- ri as useAnalyticsHublerApplication,
1899
- Nr as useAnalyticsIdentify,
1900
- si as useAnalyticsProfile,
1901
- oi as useAnalyticsRecruitment,
1902
- ai as useAnalyticsVisualBuilder,
1903
- Br as useAssetUrls,
1884
+ nr as isObjectOf,
1885
+ ir as isObjectValid,
1886
+ Wi as isString,
1887
+ Yi as isTruthy,
1888
+ ct as isUndefined,
1889
+ qi as sanitizeObject,
1890
+ sr as secureScheme,
1891
+ ot as transpileAsserts,
1892
+ ar as useActivityRepository,
1893
+ ii as useAnalyticsHublerApplication,
1894
+ Lr as useAnalyticsIdentify,
1895
+ ri as useAnalyticsProfile,
1896
+ si as useAnalyticsRecruitment,
1897
+ oi as useAnalyticsVisualBuilder,
1898
+ jr as useAssetUrls,
1904
1899
  V as useAuthentication,
1905
- ii as useAuthorization,
1906
- Lr as useAuthorizationStore,
1907
- Tr as useCanAccessEstablishmentMiddleware,
1908
- ur as useCandidateRepository,
1909
- dr as useCommentRepository,
1910
- lr as useContractTypeRepository,
1911
- ht as useCookieStorage,
1912
- mr as useCvbankRepository,
1913
- fr as useCvthequeRepository,
1914
- pr as useDiplomaRepository,
1915
- hr as useDocumentRepository,
1916
- zr as useDomainUrls,
1917
- yr as useEmailHistoryRepository,
1918
- gr as useEmailRepository,
1919
- wr as useEmailTemplateRepository,
1920
- br as useEstablishmentCareerRepository,
1900
+ ni as useAuthorization,
1901
+ Tr as useAuthorizationStore,
1902
+ $r as useCanAccessEstablishmentMiddleware,
1903
+ cr as useCandidateRepository,
1904
+ ur as useCommentRepository,
1905
+ dr as useContractTypeRepository,
1906
+ pt as useCookieStorage,
1907
+ lr as useCvbankRepository,
1908
+ mr as useCvthequeRepository,
1909
+ fr as useDiplomaRepository,
1910
+ pr as useDocumentRepository,
1911
+ Br as useDomainUrls,
1912
+ hr as useEmailHistoryRepository,
1913
+ yr as useEmailRepository,
1914
+ gr as useEmailTemplateRepository,
1915
+ wr as useEstablishmentCareerRepository,
1921
1916
  ye as useEstablishmentRepository,
1922
- vr as useFeatureFlagRepository,
1923
- gi as useI18n,
1924
- Ar as useJobRepository,
1925
- Pr as useLabelRepository,
1926
- jr as useLocaleTimeAgo,
1917
+ br as useFeatureFlagRepository,
1918
+ yi as useI18n,
1919
+ vr as useJobRepository,
1920
+ Ar as useLabelRepository,
1921
+ xr as useLocaleTimeAgo,
1927
1922
  st as useObjectValidation,
1928
- kr as useOfferRepository,
1923
+ Pr as useOfferRepository,
1929
1924
  g as usePrivateRequest,
1930
1925
  _r as useQSAction,
1931
- Rr as useRecruiterRepository,
1932
- Er as useRecruitmentRepository,
1933
- Ir as useRegisterRepository,
1934
- Cr as useRegistrationRepository,
1926
+ kr as useRecruiterRepository,
1927
+ Rr as useRecruitmentRepository,
1928
+ Er as useRegisterRepository,
1929
+ Ir as useRegistrationRepository,
1935
1930
  k as useRequest,
1936
- Sr as useSpecialityRepository,
1937
- Or as useTagRepository,
1938
- $r as useTalentRepository,
1939
- Vr as useUndefinedCssClasses,
1931
+ Cr as useSpecialityRepository,
1932
+ Sr as useTagRepository,
1933
+ Or as useTalentRepository,
1934
+ zr as useUndefinedCssClasses,
1940
1935
  ge as useUserRepository
1941
1936
  };