@hublo/mstaff-client-sdk 0.2.78 → 0.2.79

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 +733 -775
  3. package/package.json +1 -1
package/dist/core.js CHANGED
@@ -1,12 +1,12 @@
1
- var Lt = Object.defineProperty;
2
- var Dt = (e, t, r) => t in e ? Lt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
- var _ = (e, t, r) => (Dt(e, typeof t != "symbol" ? t + "" : t, r), r);
4
- import { getCurrentScope as jt, onScopeDispose as xt, ref as Vt, computed as W, h as fe } from "vue";
5
- import zt from "axios";
6
- import { defineStore as Bt } from "pinia";
7
- import { useTimeAgo as Ft } from "@vueuse/core";
8
- function Ut(e) {
9
- return jt() ? (xt(e), !0) : !1;
1
+ var Tt = Object.defineProperty;
2
+ var Nt = (e, t, r) => t in e ? Tt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
+ var k = (e, t, r) => (Nt(e, typeof t != "symbol" ? t + "" : t, r), r);
4
+ import { getCurrentScope as Mt, onScopeDispose as Lt, ref as Dt, computed as W, h as de } from "vue";
5
+ import jt from "axios";
6
+ import { defineStore as xt } from "pinia";
7
+ import { useTimeAgo as Vt } from "@vueuse/core";
8
+ function zt(e) {
9
+ return Mt() ? (Lt(e), !0) : !1;
10
10
  }
11
11
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
12
12
  /*!
@@ -15,32 +15,32 @@ typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
15
15
  * Copyright(c) 2015 Douglas Christopher Wilson
16
16
  * MIT Licensed
17
17
  */
18
- var Qe = Qt, ke = qt, Ht = Object.prototype.toString, J = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;
19
- function Qt(e, t) {
18
+ var He = Ft, ke = Ut, Bt = Object.prototype.toString, J = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;
19
+ function Ft(e, t) {
20
20
  if (typeof e != "string")
21
21
  throw new TypeError("argument str must be a string");
22
- for (var r = {}, n = t || {}, i = n.decode || Gt, s = 0; s < e.length; ) {
22
+ for (var r = {}, n = t || {}, i = n.decode || Ht, s = 0; s < e.length; ) {
23
23
  var o = e.indexOf("=", s);
24
24
  if (o === -1)
25
25
  break;
26
- var c = e.indexOf(";", s);
27
- if (c === -1)
28
- c = e.length;
29
- else if (c < o) {
26
+ var a = e.indexOf(";", s);
27
+ if (a === -1)
28
+ a = e.length;
29
+ else if (a < o) {
30
30
  s = e.lastIndexOf(";", o - 1) + 1;
31
31
  continue;
32
32
  }
33
33
  var d = e.slice(s, o).trim();
34
34
  if (r[d] === void 0) {
35
- var u = e.slice(o + 1, c).trim();
36
- u.charCodeAt(0) === 34 && (u = u.slice(1, -1)), r[d] = Jt(u, i);
35
+ var u = e.slice(o + 1, a).trim();
36
+ u.charCodeAt(0) === 34 && (u = u.slice(1, -1)), r[d] = Gt(u, i);
37
37
  }
38
- s = c + 1;
38
+ s = a + 1;
39
39
  }
40
40
  return r;
41
41
  }
42
- function qt(e, t, r) {
43
- var n = r || {}, i = n.encode || Kt;
42
+ function Ut(e, t, r) {
43
+ var n = r || {}, i = n.encode || Qt;
44
44
  if (typeof i != "function")
45
45
  throw new TypeError("option encode is invalid");
46
46
  if (!J.test(e))
@@ -50,10 +50,10 @@ function qt(e, t, r) {
50
50
  throw new TypeError("argument val is invalid");
51
51
  var o = e + "=" + s;
52
52
  if (n.maxAge != null) {
53
- var c = n.maxAge - 0;
54
- if (isNaN(c) || !isFinite(c))
53
+ var a = n.maxAge - 0;
54
+ if (isNaN(a) || !isFinite(a))
55
55
  throw new TypeError("option maxAge is invalid");
56
- o += "; Max-Age=" + Math.floor(c);
56
+ o += "; Max-Age=" + Math.floor(a);
57
57
  }
58
58
  if (n.domain) {
59
59
  if (!J.test(n.domain))
@@ -67,7 +67,7 @@ function qt(e, t, r) {
67
67
  }
68
68
  if (n.expires) {
69
69
  var d = n.expires;
70
- if (!Wt(d) || isNaN(d.valueOf()))
70
+ if (!qt(d) || isNaN(d.valueOf()))
71
71
  throw new TypeError("option expires is invalid");
72
72
  o += "; Expires=" + d.toUTCString();
73
73
  }
@@ -88,8 +88,8 @@ function qt(e, t, r) {
88
88
  }
89
89
  }
90
90
  if (n.sameSite) {
91
- var a = typeof n.sameSite == "string" ? n.sameSite.toLowerCase() : n.sameSite;
92
- switch (a) {
91
+ var c = typeof n.sameSite == "string" ? n.sameSite.toLowerCase() : n.sameSite;
92
+ switch (c) {
93
93
  case !0:
94
94
  o += "; SameSite=Strict";
95
95
  break;
@@ -108,31 +108,31 @@ function qt(e, t, r) {
108
108
  }
109
109
  return o;
110
110
  }
111
- function Gt(e) {
111
+ function Ht(e) {
112
112
  return e.indexOf("%") !== -1 ? decodeURIComponent(e) : e;
113
113
  }
114
- function Kt(e) {
114
+ function Qt(e) {
115
115
  return encodeURIComponent(e);
116
116
  }
117
- function Wt(e) {
118
- return Ht.call(e) === "[object Date]" || e instanceof Date;
117
+ function qt(e) {
118
+ return Bt.call(e) === "[object Date]" || e instanceof Date;
119
119
  }
120
- function Jt(e, t) {
120
+ function Gt(e, t) {
121
121
  try {
122
122
  return t(e);
123
123
  } catch {
124
124
  return e;
125
125
  }
126
126
  }
127
- function Zt() {
127
+ function Kt() {
128
128
  const e = typeof global > "u" ? void 0 : global.TEST_HAS_DOCUMENT_COOKIE;
129
129
  return typeof e == "boolean" ? e : typeof document == "object" && typeof document.cookie == "string";
130
130
  }
131
- function Xt(e) {
132
- return typeof e == "string" ? Qe(e) : typeof e == "object" && e !== null ? e : {};
131
+ function Wt(e) {
132
+ return typeof e == "string" ? He(e) : typeof e == "object" && e !== null ? e : {};
133
133
  }
134
- function pe(e, t = {}) {
135
- const r = Yt(e);
134
+ function fe(e, t = {}) {
135
+ const r = Jt(e);
136
136
  if (!t.doNotParse)
137
137
  try {
138
138
  return JSON.parse(r);
@@ -140,19 +140,19 @@ function pe(e, t = {}) {
140
140
  }
141
141
  return e;
142
142
  }
143
- function Yt(e) {
143
+ function Jt(e) {
144
144
  return e && e[0] === "j" && e[1] === ":" ? e.substr(2) : e;
145
145
  }
146
- class en {
146
+ class Zt {
147
147
  constructor(t, r = {}) {
148
148
  this.changeListeners = [], this.HAS_DOCUMENT_COOKIE = !1, this.update = () => {
149
149
  if (!this.HAS_DOCUMENT_COOKIE)
150
150
  return;
151
151
  const i = this.cookies;
152
- this.cookies = Qe(document.cookie), this._checkChanges(i);
152
+ this.cookies = He(document.cookie), this._checkChanges(i);
153
153
  };
154
154
  const n = typeof document > "u" ? "" : document.cookie;
155
- this.cookies = Xt(t || n), this.defaultSetOptions = r, this.HAS_DOCUMENT_COOKIE = Zt();
155
+ this.cookies = Wt(t || n), this.defaultSetOptions = r, this.HAS_DOCUMENT_COOKIE = Kt();
156
156
  }
157
157
  _emitChange(t) {
158
158
  for (let r = 0; r < this.changeListeners.length; ++r)
@@ -162,7 +162,7 @@ class en {
162
162
  new Set(Object.keys(t).concat(Object.keys(this.cookies))).forEach((n) => {
163
163
  t[n] !== this.cookies[n] && this._emitChange({
164
164
  name: n,
165
- value: pe(this.cookies[n])
165
+ value: fe(this.cookies[n])
166
166
  });
167
167
  });
168
168
  }
@@ -173,13 +173,13 @@ class en {
173
173
  this.pollingInterval && clearInterval(this.pollingInterval);
174
174
  }
175
175
  get(t, r = {}) {
176
- return r.doNotUpdate || this.update(), pe(this.cookies[t], r);
176
+ return r.doNotUpdate || this.update(), fe(this.cookies[t], r);
177
177
  }
178
178
  getAll(t = {}) {
179
179
  t.doNotUpdate || this.update();
180
180
  const r = {};
181
181
  for (let n in this.cookies)
182
- r[n] = pe(this.cookies[n], t);
182
+ r[n] = fe(this.cookies[n], t);
183
183
  return r;
184
184
  }
185
185
  set(t, r, n) {
@@ -199,19 +199,19 @@ class en {
199
199
  r >= 0 && this.changeListeners.splice(r, 1), this.HAS_DOCUMENT_COOKIE && this.changeListeners.length === 0 && (typeof window == "object" && "cookieStore" in window ? window.cookieStore.removeEventListener("change", this.update) : this._stopPolling());
200
200
  }
201
201
  }
202
- function tn(e, { doNotParse: t = !1, autoUpdateDependencies: r = !1 } = {}, n = new en()) {
202
+ function Xt(e, { doNotParse: t = !1, autoUpdateDependencies: r = !1 } = {}, n = new Zt()) {
203
203
  const i = r ? [...e || []] : e;
204
204
  let s = n.getAll({ doNotParse: !0 });
205
- const o = Vt(0), c = () => {
205
+ const o = Dt(0), a = () => {
206
206
  const d = n.getAll({ doNotParse: !0 });
207
- nn(
207
+ Yt(
208
208
  i || null,
209
209
  d,
210
210
  s
211
211
  ) && o.value++, s = d;
212
212
  };
213
- return n.addChangeListener(c), Ut(() => {
214
- n.removeChangeListener(c);
213
+ return n.addChangeListener(a), zt(() => {
214
+ n.removeChangeListener(a);
215
215
  }), {
216
216
  /**
217
217
  * Reactive get cookie by name. If **autoUpdateDependencies = true** then it will update watching dependencies
@@ -227,7 +227,7 @@ function tn(e, { doNotParse: t = !1, autoUpdateDependencies: r = !1 } = {}, n =
227
227
  removeChangeListener: (...d) => n.removeChangeListener(...d)
228
228
  };
229
229
  }
230
- function nn(e, t, r) {
230
+ function Yt(e, t, r) {
231
231
  if (!e)
232
232
  return !0;
233
233
  for (const n of e)
@@ -235,21 +235,21 @@ function nn(e, t, r) {
235
235
  return !0;
236
236
  return !1;
237
237
  }
238
- const Os = () => {
238
+ const Ss = () => {
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
- }, rn = (e, t) => ye(e, sn(t)), ye = (e, t) => {
243
+ }, en = (e, t) => he(e, tn(t)), he = (e, t) => {
244
244
  const r = {};
245
- return $e(t).forEach((n) => r[n] = ye(e == null ? void 0 : e[n], t[n])), "$item" in t && (e == null || e.forEach((n, i) => r[i] = ye(n, t.$item))), r.$valid = (!t.$asserts || t.$asserts.every((n) => n(e))) && $e(r).every((n) => r[n].$valid), r;
246
- }, sn = (e) => un(
245
+ return _e(t).forEach((n) => r[n] = he(e == null ? void 0 : e[n], t[n])), "$item" in t && (e == null || e.forEach((n, i) => r[i] = he(n, t.$item))), r.$valid = (!t.$asserts || t.$asserts.every((n) => n(e))) && _e(r).every((n) => r[n].$valid), r;
246
+ }, tn = (e) => on(
247
247
  Object.entries(e).reduce((t, [r, n]) => (t[`${r.replaceAll(".[]", ".$item")}${r.length ? "." : ""}$asserts`] = Array.isArray(n) ? n : [n], t), {})
248
- ), Cs = (e, t, r) => (e = JSON.parse(JSON.stringify(e)), Ge(e).forEach((i) => {
248
+ ), Os = (e, t, r) => (e = JSON.parse(JSON.stringify(e)), qe(e).forEach((i) => {
249
249
  const s = i.replace(/\.[0-9]+/g, ".[]");
250
250
  D(t, `${i}.$valid`) === !1 && r[s] !== void 0 && Q(e, i, r[s]);
251
- }), e), $e = (e) => Object.keys(e).filter((t) => !t.startsWith("$")), _s = (e) => typeof e == "boolean", ks = (e) => typeof e == "number", $s = (e) => typeof e == "string", oe = (e) => Array.isArray(e), ae = (e) => typeof e == "object" && !oe(e) && e !== null, Ts = (e) => e instanceof Date, Ns = (e) => typeof e == "function", on = (e) => e === null, an = (e) => e === void 0, cn = (e) => on(e) || an(e), Ms = (e) => !cn(e), Ls = (e) => !!e, Ds = (e) => !e, js = (e, t) => oe(e) && e.every((r) => t(r)), xs = (e, t) => ae(e) && Object.values(e).every((r) => t(r)), Vs = (e, t) => rn(e, t).$valid, zs = (e, t, r = !1) => {
252
- oe(t) || (t = [t]);
251
+ }), e), _e = (e) => Object.keys(e).filter((t) => !t.startsWith("$")), Cs = (e) => typeof e == "boolean", ks = (e) => typeof e == "number", _s = (e) => typeof e == "string", se = (e) => Array.isArray(e), oe = (e) => typeof e == "object" && !se(e) && e !== null, $s = (e) => e instanceof Date, Ts = (e) => typeof e == "function", nn = (e) => e === null, rn = (e) => e === void 0, sn = (e) => nn(e) || rn(e), Ns = (e) => !sn(e), Ms = (e) => !!e, Ls = (e) => !e, Ds = (e, t) => se(e) && e.every((r) => t(r)), js = (e, t) => oe(e) && Object.values(e).every((r) => t(r)), xs = (e, t) => en(e, t).$valid, Vs = (e, t, r = !1) => {
252
+ se(t) || (t = [t]);
253
253
  let n = e;
254
254
  for (; n; ) {
255
255
  if (n.classList && t[r ? "every" : "some"]((i) => n.classList.contains(i)))
@@ -257,14 +257,14 @@ const Os = () => {
257
257
  n = n.parentElement;
258
258
  }
259
259
  return !1;
260
- }, Bs = () => typeof window < "u" && typeof window.document < "u", z = () => typeof process < "u" && process.versions != null && process.versions.node != null, D = (e, t, r) => {
260
+ }, zs = () => typeof window < "u" && typeof window.document < "u", z = () => typeof process < "u" && process.versions != null && process.versions.node != null, D = (e, t, r) => {
261
261
  const n = typeof t == "string" ? t.split(".") : [t];
262
262
  let i = e;
263
- const s = (c) => c != null, o = (c) => typeof c == "object";
264
- for (const [c, d] of n.entries()) {
263
+ const s = (a) => a != null, o = (a) => typeof a == "object";
264
+ for (const [a, d] of n.entries()) {
265
265
  if (!s(i))
266
266
  return r;
267
- if (c === n.length - 1)
267
+ if (a === n.length - 1)
268
268
  return s(i[d]) ? i[d] : r;
269
269
  if (!o(i[d]))
270
270
  return r;
@@ -272,27 +272,27 @@ const Os = () => {
272
272
  }
273
273
  return r;
274
274
  }, Q = (e, t, r) => {
275
- const n = typeof t == "string" ? t.split(".") : [t], i = (c) => typeof c == "number" || /^\d$/g.test(c), s = (c) => parseInt(c, 10);
275
+ const n = typeof t == "string" ? t.split(".") : [t], i = (a) => typeof a == "number" || /^\d$/g.test(a), s = (a) => parseInt(a, 10);
276
276
  let o = e;
277
- return n.forEach((c, d) => {
277
+ return n.forEach((a, d) => {
278
278
  if (d === n.length - 1)
279
- o[c] = r;
279
+ o[a] = r;
280
280
  else {
281
281
  const u = i(n[d + 1]) ? [] : {};
282
- c = i(c) ? s(c) : c, o[c] = o[c] ?? u, o = o[c];
282
+ a = i(a) ? s(a) : a, o[a] = o[a] ?? u, o = o[a];
283
283
  }
284
284
  }), e;
285
- }, un = (e, t = {}) => {
286
- const r = ae(e) ? Object.entries(e) : e;
285
+ }, on = (e, t = {}) => {
286
+ const r = oe(e) ? Object.entries(e) : e;
287
287
  for (const [n, i] of r)
288
288
  Q(t, n, i);
289
289
  return t;
290
- }, Fs = (e, t = {}) => {
291
- const r = ae(e) ? Object.entries(e) : e;
290
+ }, Bs = (e, t = {}) => {
291
+ const r = oe(e) ? Object.entries(e) : e;
292
292
  for (const [n, i] of r)
293
293
  Q(t, n, i(t, n));
294
294
  return t;
295
- }, ln = (e) => {
295
+ }, an = (e) => {
296
296
  if (typeof e == "object") {
297
297
  if (Array.isArray(e))
298
298
  return [...e];
@@ -300,37 +300,37 @@ const Os = () => {
300
300
  return { ...e };
301
301
  }
302
302
  return e;
303
- }, qe = (e, t) => {
303
+ }, Qe = (e, t) => {
304
304
  const r = { ...e };
305
305
  for (const [n, i] of Object.entries(t))
306
- n in r && typeof r[n] == "object" && typeof i == "object" ? r[n] = qe(r[n], i) : r[n] = ln(i);
306
+ n in r && typeof r[n] == "object" && typeof i == "object" ? r[n] = Qe(r[n], i) : r[n] = an(i);
307
307
  return r;
308
- }, Ge = (e, t = () => !0, r = "") => {
308
+ }, qe = (e, t = () => !0, r = "") => {
309
309
  const n = [];
310
310
  for (const i in e) {
311
311
  const s = e[i], o = r ? `${r}.${i}` : i;
312
- t(i, o, s) && (n.push(o), (ae(s) || oe(s)) && n.push(...Ge(s, t, o)));
312
+ t(i, o, s) && (n.push(o), (oe(s) || se(s)) && n.push(...qe(s, t, o)));
313
313
  }
314
314
  return n;
315
- }, Us = (e) => e.startsWith("http:") ? e.replace("http:", "https:") : e, Hs = (e, t = !1) => e.startsWith("http:") || e.startsWith("https:") ? e : t ? `https://${e}` : `http://${e}`, Ke = () => typeof window < "u" && (window != null && window.location) ? new URL(window.location).hostname : void 0, Te = () => {
316
- const e = Ke();
315
+ }, Fs = (e) => e.startsWith("http:") ? e.replace("http:", "https:") : e, Us = (e, t = !1) => e.startsWith("http:") || e.startsWith("https:") ? e : t ? `https://${e}` : `http://${e}`, Ge = () => typeof window < "u" && (window != null && window.location) ? new URL(window.location).hostname : void 0, $e = () => {
316
+ const e = Ge();
317
317
  return !e || e === "localhost" ? e : `.${e}`;
318
- }, dn = () => ({ path: "/" }), fn = (e) => ({
318
+ }, cn = () => ({ path: "/" }), un = (e) => ({
319
319
  path: "/",
320
320
  domain: e,
321
321
  sameSite: "none",
322
322
  secure: !0
323
- }), me = (e) => {
323
+ }), pe = (e) => {
324
324
  if (!(z() || !e))
325
- return e.startsWith("localhost") ? dn() : fn(e);
325
+ return e.startsWith("localhost") ? cn() : un(e);
326
326
  };
327
- function pn() {
328
- const e = tn(), t = (s) => e.get(s), r = (s, o) => e.set(
327
+ function ln() {
328
+ const e = Xt(), t = (s) => e.get(s), r = (s, o) => e.set(
329
329
  s,
330
330
  o,
331
- me(Te())
331
+ pe($e())
332
332
  ), n = (s) => {
333
- e.remove(s), e.remove(s, me(Ke())), e.remove(s, me(Te()));
333
+ e.remove(s), e.remove(s, pe(Ge())), e.remove(s, pe($e()));
334
334
  };
335
335
  return {
336
336
  getItem: t,
@@ -339,62 +339,36 @@ function pn() {
339
339
  clear: () => Object.keys(e.getAll()).forEach((s) => n(s))
340
340
  };
341
341
  }
342
- let Z = null;
343
- function We(e = {
344
- auth: "token",
342
+ const dn = (e = {
343
+ token: "token",
345
344
  refresh: "refresh_token",
346
345
  expiration: "token_expiration_date"
347
- }, t = pn()) {
348
- if (Z)
349
- return Z;
350
- function r() {
351
- return t.getItem(e.auth);
352
- }
353
- function n() {
354
- return t.getItem(e.refresh);
355
- }
356
- function i() {
357
- return t.getItem(e.expiration);
358
- }
359
- function s(m, h) {
360
- const w = a(m);
346
+ }, t = ln()) => {
347
+ const r = () => t, n = () => t.getItem(e.token), i = () => t.getItem(e.refresh), s = () => t.getItem(e.expiration), o = () => a() && !d(), a = () => !!n(), d = () => {
348
+ const m = s();
349
+ return m ? new Date(m) < /* @__PURE__ */ new Date() : !0;
350
+ }, u = (m, h) => {
351
+ const w = p(m);
361
352
  if (!w.exp)
362
353
  throw new Error("Invalid JWT token.");
363
- t.setItem(e.auth, m), t.setItem(e.refresh, h), t.setItem(e.expiration, ((w.exp - 60) * 1e3).toString());
364
- }
365
- function o() {
366
- t.removeItem(e.auth), t.removeItem(e.refresh), t.removeItem(e.expiration);
367
- }
368
- function c() {
369
- return d() && !u();
370
- }
371
- function d() {
372
- return !!r();
373
- }
374
- function u() {
375
- const m = i();
376
- return m ? new Date(m) < /* @__PURE__ */ new Date() : !0;
377
- }
378
- function a(m) {
379
- return JSON.parse(atob(m.split(".")[1]));
380
- }
381
- function p() {
382
- return t;
383
- }
384
- return Z = {
354
+ t.setItem(e.token, m), t.setItem(e.refresh, h), t.setItem(e.expiration, ((w.exp - 60) * 1e3).toString());
355
+ }, c = () => {
356
+ t.removeItem(e.token), t.removeItem(e.refresh), t.removeItem(e.expiration);
357
+ }, p = (m) => JSON.parse(atob(m.split(".")[1]));
358
+ return {
385
359
  keys: e,
386
- getAuthToken: r,
387
- getRefreshToken: n,
388
- getExpiration: i,
389
- authenticate: s,
390
- clear: o,
391
- isAuthenticated: c,
392
- hasAuth: d,
393
- isExpired: u,
394
- getStorage: p
395
- }, Z;
396
- }
397
- function mn(e, t) {
360
+ getStorage: r,
361
+ getAuthToken: n,
362
+ getRefreshToken: i,
363
+ getExpiration: s,
364
+ isAuthenticated: o,
365
+ hasAuth: a,
366
+ isExpired: d,
367
+ authenticate: u,
368
+ clear: c
369
+ };
370
+ };
371
+ function fn(e, t) {
398
372
  const r = /* @__PURE__ */ Object.create(null), n = e.split(",");
399
373
  for (let i = 0; i < n.length; i++)
400
374
  r[n[i]] = !0;
@@ -402,99 +376,99 @@ function mn(e, t) {
402
376
  }
403
377
  process.env.NODE_ENV !== "production" && Object.freeze({});
404
378
  process.env.NODE_ENV !== "production" && Object.freeze([]);
405
- const Je = Object.assign, hn = Object.prototype.hasOwnProperty, ce = (e, t) => hn.call(e, t), N = Array.isArray, U = (e) => Ze(e) === "[object Map]", yn = (e) => typeof e == "string", Ie = (e) => typeof e == "symbol", ue = (e) => e !== null && typeof e == "object", gn = Object.prototype.toString, Ze = (e) => gn.call(e), Xe = (e) => Ze(e).slice(8, -1), Re = (e) => yn(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, wn = (e) => {
379
+ const Ke = Object.assign, pn = Object.prototype.hasOwnProperty, ae = (e, t) => pn.call(e, t), N = Array.isArray, U = (e) => We(e) === "[object Map]", mn = (e) => typeof e == "string", Pe = (e) => typeof e == "symbol", ce = (e) => e !== null && typeof e == "object", hn = Object.prototype.toString, We = (e) => hn.call(e), Je = (e) => We(e).slice(8, -1), Ie = (e) => mn(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, yn = (e) => {
406
380
  const t = /* @__PURE__ */ Object.create(null);
407
381
  return (r) => t[r] || (t[r] = e(r));
408
- }, bn = wn(
382
+ }, gn = yn(
409
383
  (e) => e.charAt(0).toUpperCase() + e.slice(1)
410
- ), Se = (e, t) => !Object.is(e, t);
411
- function Ne(e, ...t) {
384
+ ), Re = (e, t) => !Object.is(e, t);
385
+ function Te(e, ...t) {
412
386
  console.warn(`[Vue warn] ${e}`, ...t);
413
387
  }
414
388
  const q = (e) => {
415
389
  const t = new Set(e);
416
390
  return t.w = 0, t.n = 0, t;
417
- }, vn = (e) => (e.w & Oe) > 0, En = (e) => (e.n & Oe) > 0, ge = /* @__PURE__ */ new WeakMap();
418
- let Oe = 1, k;
419
- const L = Symbol(process.env.NODE_ENV !== "production" ? "iterate" : ""), we = Symbol(process.env.NODE_ENV !== "production" ? "Map key iterate" : "");
391
+ }, wn = (e) => (e.w & Se) > 0, bn = (e) => (e.n & Se) > 0, ye = /* @__PURE__ */ new WeakMap();
392
+ let Se = 1, _;
393
+ const L = Symbol(process.env.NODE_ENV !== "production" ? "iterate" : ""), ge = Symbol(process.env.NODE_ENV !== "production" ? "Map key iterate" : "");
420
394
  let G = !0;
421
- const Ye = [];
422
- function An() {
423
- Ye.push(G), G = !1;
395
+ const Ze = [];
396
+ function vn() {
397
+ Ze.push(G), G = !1;
424
398
  }
425
- function Pn() {
426
- const e = Ye.pop();
399
+ function En() {
400
+ const e = Ze.pop();
427
401
  G = e === void 0 ? !0 : e;
428
402
  }
429
403
  function S(e, t, r) {
430
- if (G && k) {
431
- let n = ge.get(e);
432
- n || ge.set(e, n = /* @__PURE__ */ new Map());
404
+ if (G && _) {
405
+ let n = ye.get(e);
406
+ n || ye.set(e, n = /* @__PURE__ */ new Map());
433
407
  let i = n.get(r);
434
408
  i || n.set(r, i = q());
435
- const s = process.env.NODE_ENV !== "production" ? { effect: k, target: e, type: t, key: r } : void 0;
436
- be(i, s);
409
+ const s = process.env.NODE_ENV !== "production" ? { effect: _, target: e, type: t, key: r } : void 0;
410
+ we(i, s);
437
411
  }
438
412
  }
439
- function be(e, t) {
413
+ function we(e, t) {
440
414
  let r = !1;
441
- En(e) || (e.n |= Oe, r = !vn(e)), r && (e.add(k), k.deps.push(e), process.env.NODE_ENV !== "production" && k.onTrack && k.onTrack(
442
- Je(
415
+ bn(e) || (e.n |= Se, r = !wn(e)), r && (e.add(_), _.deps.push(e), process.env.NODE_ENV !== "production" && _.onTrack && _.onTrack(
416
+ Ke(
443
417
  {
444
- effect: k
418
+ effect: _
445
419
  },
446
420
  t
447
421
  )
448
422
  ));
449
423
  }
450
424
  function M(e, t, r, n, i, s) {
451
- const o = ge.get(e);
425
+ const o = ye.get(e);
452
426
  if (!o)
453
427
  return;
454
- let c = [];
428
+ let a = [];
455
429
  if (t === "clear")
456
- c = [...o.values()];
430
+ a = [...o.values()];
457
431
  else if (r === "length" && N(e)) {
458
432
  const u = Number(n);
459
- o.forEach((a, p) => {
460
- (p === "length" || p >= u) && c.push(a);
433
+ o.forEach((c, p) => {
434
+ (p === "length" || p >= u) && a.push(c);
461
435
  });
462
436
  } else
463
- switch (r !== void 0 && c.push(o.get(r)), t) {
437
+ switch (r !== void 0 && a.push(o.get(r)), t) {
464
438
  case "add":
465
- N(e) ? Re(r) && c.push(o.get("length")) : (c.push(o.get(L)), U(e) && c.push(o.get(we)));
439
+ N(e) ? Ie(r) && a.push(o.get("length")) : (a.push(o.get(L)), U(e) && a.push(o.get(ge)));
466
440
  break;
467
441
  case "delete":
468
- N(e) || (c.push(o.get(L)), U(e) && c.push(o.get(we)));
442
+ N(e) || (a.push(o.get(L)), U(e) && a.push(o.get(ge)));
469
443
  break;
470
444
  case "set":
471
- U(e) && c.push(o.get(L));
445
+ U(e) && a.push(o.get(L));
472
446
  break;
473
447
  }
474
448
  const d = process.env.NODE_ENV !== "production" ? { target: e, type: t, key: r, newValue: n, oldValue: i, oldTarget: s } : void 0;
475
- if (c.length === 1)
476
- c[0] && (process.env.NODE_ENV !== "production" ? x(c[0], d) : x(c[0]));
449
+ if (a.length === 1)
450
+ a[0] && (process.env.NODE_ENV !== "production" ? x(a[0], d) : x(a[0]));
477
451
  else {
478
452
  const u = [];
479
- for (const a of c)
480
- a && u.push(...a);
453
+ for (const c of a)
454
+ c && u.push(...c);
481
455
  process.env.NODE_ENV !== "production" ? x(q(u), d) : x(q(u));
482
456
  }
483
457
  }
484
458
  function x(e, t) {
485
459
  const r = N(e) ? e : [...e];
486
460
  for (const n of r)
487
- n.computed && Me(n, t);
461
+ n.computed && Ne(n, t);
488
462
  for (const n of r)
489
- n.computed || Me(n, t);
463
+ n.computed || Ne(n, t);
490
464
  }
491
- function Me(e, t) {
492
- (e !== k || e.allowRecurse) && (process.env.NODE_ENV !== "production" && e.onTrigger && e.onTrigger(Je({ effect: e }, t)), e.scheduler ? e.scheduler() : e.run());
465
+ function Ne(e, t) {
466
+ (e !== _ || e.allowRecurse) && (process.env.NODE_ENV !== "production" && e.onTrigger && e.onTrigger(Ke({ effect: e }, t)), e.scheduler ? e.scheduler() : e.run());
493
467
  }
494
- const In = /* @__PURE__ */ mn("__proto__,__v_isRef,__isVue"), et = new Set(
495
- /* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(Ie)
496
- ), Rn = /* @__PURE__ */ tt(), Sn = /* @__PURE__ */ tt(!0), Le = /* @__PURE__ */ On();
497
- function On() {
468
+ const An = /* @__PURE__ */ fn("__proto__,__v_isRef,__isVue"), Xe = new Set(
469
+ /* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(Pe)
470
+ ), Pn = /* @__PURE__ */ Ye(), In = /* @__PURE__ */ Ye(!0), Me = /* @__PURE__ */ Rn();
471
+ function Rn() {
498
472
  const e = {};
499
473
  return ["includes", "indexOf", "lastIndexOf"].forEach((t) => {
500
474
  e[t] = function(...r) {
@@ -506,17 +480,17 @@ function On() {
506
480
  };
507
481
  }), ["push", "pop", "shift", "unshift", "splice"].forEach((t) => {
508
482
  e[t] = function(...r) {
509
- An();
483
+ vn();
510
484
  const n = b(this)[t].apply(this, r);
511
- return Pn(), n;
485
+ return En(), n;
512
486
  };
513
487
  }), e;
514
488
  }
515
- function Cn(e) {
489
+ function Sn(e) {
516
490
  const t = b(this);
517
491
  return S(t, "has", e), t.hasOwnProperty(e);
518
492
  }
519
- function tt(e = !1, t = !1) {
493
+ function Ye(e = !1, t = !1) {
520
494
  return function(n, i, s) {
521
495
  if (i === "__v_isReactive")
522
496
  return !e;
@@ -524,124 +498,124 @@ function tt(e = !1, t = !1) {
524
498
  return e;
525
499
  if (i === "__v_isShallow")
526
500
  return t;
527
- if (i === "__v_raw" && s === (e ? t ? Hn : st : t ? Un : it).get(n))
501
+ if (i === "__v_raw" && s === (e ? t ? Fn : rt : t ? Bn : nt).get(n))
528
502
  return n;
529
503
  const o = N(n);
530
504
  if (!e) {
531
- if (o && ce(Le, i))
532
- return Reflect.get(Le, i, s);
505
+ if (o && ae(Me, i))
506
+ return Reflect.get(Me, i, s);
533
507
  if (i === "hasOwnProperty")
534
- return Cn;
508
+ return Sn;
535
509
  }
536
- const c = Reflect.get(n, i, s);
537
- return (Ie(i) ? et.has(i) : In(i)) || (e || S(n, "get", i), t) ? c : V(c) ? o && Re(i) ? c : c.value : ue(c) ? e ? at(c) : ot(c) : c;
510
+ const a = Reflect.get(n, i, s);
511
+ return (Pe(i) ? Xe.has(i) : An(i)) || (e || S(n, "get", i), t) ? a : V(a) ? o && Ie(i) ? a : a.value : ce(a) ? e ? st(a) : it(a) : a;
538
512
  };
539
513
  }
540
- const _n = /* @__PURE__ */ kn();
541
- function kn(e = !1) {
514
+ const On = /* @__PURE__ */ Cn();
515
+ function Cn(e = !1) {
542
516
  return function(r, n, i, s) {
543
517
  let o = r[n];
544
- if (se(o) && V(o) && !V(i))
518
+ if (ie(o) && V(o) && !V(i))
545
519
  return !1;
546
- if (!e && (!ut(i) && !se(i) && (o = b(o), i = b(i)), !N(r) && V(o) && !V(i)))
520
+ if (!e && (!at(i) && !ie(i) && (o = b(o), i = b(i)), !N(r) && V(o) && !V(i)))
547
521
  return o.value = i, !0;
548
- const c = N(r) && Re(n) ? Number(n) < r.length : ce(r, n), d = Reflect.set(r, n, i, s);
549
- return r === b(s) && (c ? Se(i, o) && M(r, "set", n, i, o) : M(r, "add", n, i)), d;
522
+ const a = N(r) && Ie(n) ? Number(n) < r.length : ae(r, n), d = Reflect.set(r, n, i, s);
523
+ return r === b(s) && (a ? Re(i, o) && M(r, "set", n, i, o) : M(r, "add", n, i)), d;
550
524
  };
551
525
  }
552
- function $n(e, t) {
553
- const r = ce(e, t), n = e[t], i = Reflect.deleteProperty(e, t);
526
+ function kn(e, t) {
527
+ const r = ae(e, t), n = e[t], i = Reflect.deleteProperty(e, t);
554
528
  return i && r && M(e, "delete", t, void 0, n), i;
555
529
  }
556
- function Tn(e, t) {
530
+ function _n(e, t) {
557
531
  const r = Reflect.has(e, t);
558
- return (!Ie(t) || !et.has(t)) && S(e, "has", t), r;
532
+ return (!Pe(t) || !Xe.has(t)) && S(e, "has", t), r;
559
533
  }
560
- function Nn(e) {
534
+ function $n(e) {
561
535
  return S(e, "iterate", N(e) ? "length" : L), Reflect.ownKeys(e);
562
536
  }
563
- const Mn = {
564
- get: Rn,
565
- set: _n,
566
- deleteProperty: $n,
567
- has: Tn,
568
- ownKeys: Nn
569
- }, Ln = {
570
- get: Sn,
537
+ const Tn = {
538
+ get: Pn,
539
+ set: On,
540
+ deleteProperty: kn,
541
+ has: _n,
542
+ ownKeys: $n
543
+ }, Nn = {
544
+ get: In,
571
545
  set(e, t) {
572
- return process.env.NODE_ENV !== "production" && Ne(
546
+ return process.env.NODE_ENV !== "production" && Te(
573
547
  `Set operation on key "${String(t)}" failed: target is readonly.`,
574
548
  e
575
549
  ), !0;
576
550
  },
577
551
  deleteProperty(e, t) {
578
- return process.env.NODE_ENV !== "production" && Ne(
552
+ return process.env.NODE_ENV !== "production" && Te(
579
553
  `Delete operation on key "${String(t)}" failed: target is readonly.`,
580
554
  e
581
555
  ), !0;
582
556
  }
583
- }, Ce = (e) => e, le = (e) => Reflect.getPrototypeOf(e);
584
- function X(e, t, r = !1, n = !1) {
557
+ }, Oe = (e) => e, ue = (e) => Reflect.getPrototypeOf(e);
558
+ function Z(e, t, r = !1, n = !1) {
585
559
  e = e.__v_raw;
586
560
  const i = b(e), s = b(t);
587
561
  r || (t !== s && S(i, "get", t), S(i, "get", s));
588
- const { has: o } = le(i), c = n ? Ce : r ? _e : K;
562
+ const { has: o } = ue(i), a = n ? Oe : r ? Ce : K;
589
563
  if (o.call(i, t))
590
- return c(e.get(t));
564
+ return a(e.get(t));
591
565
  if (o.call(i, s))
592
- return c(e.get(s));
566
+ return a(e.get(s));
593
567
  e !== i && e.get(t);
594
568
  }
595
- function Y(e, t = !1) {
569
+ function X(e, t = !1) {
596
570
  const r = this.__v_raw, n = b(r), i = b(e);
597
571
  return t || (e !== i && S(n, "has", e), S(n, "has", i)), e === i ? r.has(e) : r.has(e) || r.has(i);
598
572
  }
599
- function ee(e, t = !1) {
573
+ function Y(e, t = !1) {
600
574
  return e = e.__v_raw, !t && S(b(e), "iterate", L), Reflect.get(e, "size", e);
601
575
  }
602
- function De(e) {
576
+ function Le(e) {
603
577
  e = b(e);
604
578
  const t = b(this);
605
- return le(t).has.call(t, e) || (t.add(e), M(t, "add", e, e)), this;
579
+ return ue(t).has.call(t, e) || (t.add(e), M(t, "add", e, e)), this;
606
580
  }
607
- function je(e, t) {
581
+ function De(e, t) {
608
582
  t = b(t);
609
- const r = b(this), { has: n, get: i } = le(r);
583
+ const r = b(this), { has: n, get: i } = ue(r);
610
584
  let s = n.call(r, e);
611
- s ? process.env.NODE_ENV !== "production" && rt(r, n, e) : (e = b(e), s = n.call(r, e));
585
+ s ? process.env.NODE_ENV !== "production" && tt(r, n, e) : (e = b(e), s = n.call(r, e));
612
586
  const o = i.call(r, e);
613
- return r.set(e, t), s ? Se(t, o) && M(r, "set", e, t, o) : M(r, "add", e, t), this;
587
+ return r.set(e, t), s ? Re(t, o) && M(r, "set", e, t, o) : M(r, "add", e, t), this;
614
588
  }
615
- function xe(e) {
616
- const t = b(this), { has: r, get: n } = le(t);
589
+ function je(e) {
590
+ const t = b(this), { has: r, get: n } = ue(t);
617
591
  let i = r.call(t, e);
618
- i ? process.env.NODE_ENV !== "production" && rt(t, r, e) : (e = b(e), i = r.call(t, e));
592
+ i ? process.env.NODE_ENV !== "production" && tt(t, r, e) : (e = b(e), i = r.call(t, e));
619
593
  const s = n ? n.call(t, e) : void 0, o = t.delete(e);
620
594
  return i && M(t, "delete", e, void 0, s), o;
621
595
  }
622
- function Ve() {
596
+ function xe() {
623
597
  const e = b(this), t = e.size !== 0, r = process.env.NODE_ENV !== "production" ? U(e) ? new Map(e) : new Set(e) : void 0, n = e.clear();
624
598
  return t && M(e, "clear", void 0, void 0, r), n;
625
599
  }
626
- function te(e, t) {
600
+ function ee(e, t) {
627
601
  return function(n, i) {
628
- const s = this, o = s.__v_raw, c = b(o), d = t ? Ce : e ? _e : K;
629
- return !e && S(c, "iterate", L), o.forEach((u, a) => n.call(i, d(u), d(a), s));
602
+ const s = this, o = s.__v_raw, a = b(o), d = t ? Oe : e ? Ce : K;
603
+ return !e && S(a, "iterate", L), o.forEach((u, c) => n.call(i, d(u), d(c), s));
630
604
  };
631
605
  }
632
- function ne(e, t, r) {
606
+ function te(e, t, r) {
633
607
  return function(...n) {
634
- const i = this.__v_raw, s = b(i), o = U(s), c = e === "entries" || e === Symbol.iterator && o, d = e === "keys" && o, u = i[e](...n), a = r ? Ce : t ? _e : K;
608
+ const i = this.__v_raw, s = b(i), o = U(s), a = e === "entries" || e === Symbol.iterator && o, d = e === "keys" && o, u = i[e](...n), c = r ? Oe : t ? Ce : K;
635
609
  return !t && S(
636
610
  s,
637
611
  "iterate",
638
- d ? we : L
612
+ d ? ge : L
639
613
  ), {
640
614
  // iterator protocol
641
615
  next() {
642
616
  const { value: p, done: m } = u.next();
643
617
  return m ? { value: p, done: m } : {
644
- value: c ? [a(p[0]), a(p[1])] : a(p),
618
+ value: a ? [c(p[0]), c(p[1])] : c(p),
645
619
  done: m
646
620
  };
647
621
  },
@@ -657,85 +631,85 @@ function T(e) {
657
631
  if (process.env.NODE_ENV !== "production") {
658
632
  const r = t[0] ? `on key "${t[0]}" ` : "";
659
633
  console.warn(
660
- `${bn(e)} operation ${r}failed: target is readonly.`,
634
+ `${gn(e)} operation ${r}failed: target is readonly.`,
661
635
  b(this)
662
636
  );
663
637
  }
664
638
  return e === "delete" ? !1 : this;
665
639
  };
666
640
  }
667
- function Dn() {
641
+ function Mn() {
668
642
  const e = {
669
643
  get(s) {
670
- return X(this, s);
644
+ return Z(this, s);
671
645
  },
672
646
  get size() {
673
- return ee(this);
647
+ return Y(this);
674
648
  },
675
- has: Y,
676
- add: De,
677
- set: je,
678
- delete: xe,
679
- clear: Ve,
680
- forEach: te(!1, !1)
649
+ has: X,
650
+ add: Le,
651
+ set: De,
652
+ delete: je,
653
+ clear: xe,
654
+ forEach: ee(!1, !1)
681
655
  }, t = {
682
656
  get(s) {
683
- return X(this, s, !1, !0);
657
+ return Z(this, s, !1, !0);
684
658
  },
685
659
  get size() {
686
- return ee(this);
660
+ return Y(this);
687
661
  },
688
- has: Y,
689
- add: De,
690
- set: je,
691
- delete: xe,
692
- clear: Ve,
693
- forEach: te(!1, !0)
662
+ has: X,
663
+ add: Le,
664
+ set: De,
665
+ delete: je,
666
+ clear: xe,
667
+ forEach: ee(!1, !0)
694
668
  }, r = {
695
669
  get(s) {
696
- return X(this, s, !0);
670
+ return Z(this, s, !0);
697
671
  },
698
672
  get size() {
699
- return ee(this, !0);
673
+ return Y(this, !0);
700
674
  },
701
675
  has(s) {
702
- return Y.call(this, s, !0);
676
+ return X.call(this, s, !0);
703
677
  },
704
678
  add: T("add"),
705
679
  set: T("set"),
706
680
  delete: T("delete"),
707
681
  clear: T("clear"),
708
- forEach: te(!0, !1)
682
+ forEach: ee(!0, !1)
709
683
  }, n = {
710
684
  get(s) {
711
- return X(this, s, !0, !0);
685
+ return Z(this, s, !0, !0);
712
686
  },
713
687
  get size() {
714
- return ee(this, !0);
688
+ return Y(this, !0);
715
689
  },
716
690
  has(s) {
717
- return Y.call(this, s, !0);
691
+ return X.call(this, s, !0);
718
692
  },
719
693
  add: T("add"),
720
694
  set: T("set"),
721
695
  delete: T("delete"),
722
696
  clear: T("clear"),
723
- forEach: te(!0, !0)
697
+ forEach: ee(!0, !0)
724
698
  };
725
699
  return ["keys", "values", "entries", Symbol.iterator].forEach((s) => {
726
- e[s] = ne(
700
+ e[s] = te(
727
701
  s,
728
702
  !1,
729
703
  !1
730
- ), r[s] = ne(
704
+ ), r[s] = te(
731
705
  s,
732
706
  !0,
733
707
  !1
734
- ), t[s] = ne(
708
+ ), t[s] = te(
735
709
  s,
736
710
  !1,
737
711
  !0
738
- ), n[s] = ne(
712
+ ), n[s] = te(
739
713
  s,
740
714
  !0,
741
715
  !0
@@ -748,35 +722,35 @@ function Dn() {
748
722
  ];
749
723
  }
750
724
  const [
725
+ Ln,
726
+ Dn,
751
727
  jn,
752
- xn,
753
- Vn,
754
- zn
755
- ] = /* @__PURE__ */ Dn();
756
- function nt(e, t) {
757
- const r = t ? e ? zn : Vn : e ? xn : jn;
728
+ xn
729
+ ] = /* @__PURE__ */ Mn();
730
+ function et(e, t) {
731
+ const r = t ? e ? xn : jn : e ? Dn : Ln;
758
732
  return (n, i, s) => i === "__v_isReactive" ? !e : i === "__v_isReadonly" ? e : i === "__v_raw" ? n : Reflect.get(
759
- ce(r, i) && i in n ? r : n,
733
+ ae(r, i) && i in n ? r : n,
760
734
  i,
761
735
  s
762
736
  );
763
737
  }
764
- const Bn = {
765
- get: /* @__PURE__ */ nt(!1, !1)
766
- }, Fn = {
767
- get: /* @__PURE__ */ nt(!0, !1)
738
+ const Vn = {
739
+ get: /* @__PURE__ */ et(!1, !1)
740
+ }, zn = {
741
+ get: /* @__PURE__ */ et(!0, !1)
768
742
  };
769
- function rt(e, t, r) {
743
+ function tt(e, t, r) {
770
744
  const n = b(r);
771
745
  if (n !== r && t.call(e, n)) {
772
- const i = Xe(e);
746
+ const i = Je(e);
773
747
  console.warn(
774
748
  `Reactive ${i} contains both the raw and reactive versions of the same object${i === "Map" ? " as keys" : ""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`
775
749
  );
776
750
  }
777
751
  }
778
- const it = /* @__PURE__ */ new WeakMap(), Un = /* @__PURE__ */ new WeakMap(), st = /* @__PURE__ */ new WeakMap(), Hn = /* @__PURE__ */ new WeakMap();
779
- function Qn(e) {
752
+ const nt = /* @__PURE__ */ new WeakMap(), Bn = /* @__PURE__ */ new WeakMap(), rt = /* @__PURE__ */ new WeakMap(), Fn = /* @__PURE__ */ new WeakMap();
753
+ function Un(e) {
780
754
  switch (e) {
781
755
  case "Object":
782
756
  case "Array":
@@ -790,63 +764,63 @@ function Qn(e) {
790
764
  return 0;
791
765
  }
792
766
  }
793
- function qn(e) {
794
- return e.__v_skip || !Object.isExtensible(e) ? 0 : Qn(Xe(e));
767
+ function Hn(e) {
768
+ return e.__v_skip || !Object.isExtensible(e) ? 0 : Un(Je(e));
795
769
  }
796
- function ot(e) {
797
- return se(e) ? e : ct(
770
+ function it(e) {
771
+ return ie(e) ? e : ot(
798
772
  e,
799
773
  !1,
800
- Mn,
801
- Bn,
802
- it
774
+ Tn,
775
+ Vn,
776
+ nt
803
777
  );
804
778
  }
805
- function at(e) {
806
- return ct(
779
+ function st(e) {
780
+ return ot(
807
781
  e,
808
782
  !0,
809
- Ln,
810
- Fn,
811
- st
783
+ Nn,
784
+ zn,
785
+ rt
812
786
  );
813
787
  }
814
- function ct(e, t, r, n, i) {
815
- if (!ue(e))
788
+ function ot(e, t, r, n, i) {
789
+ if (!ce(e))
816
790
  return process.env.NODE_ENV !== "production" && console.warn(`value cannot be made reactive: ${String(e)}`), e;
817
791
  if (e.__v_raw && !(t && e.__v_isReactive))
818
792
  return e;
819
793
  const s = i.get(e);
820
794
  if (s)
821
795
  return s;
822
- const o = qn(e);
796
+ const o = Hn(e);
823
797
  if (o === 0)
824
798
  return e;
825
- const c = new Proxy(
799
+ const a = new Proxy(
826
800
  e,
827
801
  o === 2 ? n : r
828
802
  );
829
- return i.set(e, c), c;
803
+ return i.set(e, a), a;
830
804
  }
831
- function se(e) {
805
+ function ie(e) {
832
806
  return !!(e && e.__v_isReadonly);
833
807
  }
834
- function ut(e) {
808
+ function at(e) {
835
809
  return !!(e && e.__v_isShallow);
836
810
  }
837
811
  function b(e) {
838
812
  const t = e && e.__v_raw;
839
813
  return t ? b(t) : e;
840
814
  }
841
- const K = (e) => ue(e) ? ot(e) : e, _e = (e) => ue(e) ? at(e) : e;
842
- function Gn(e) {
843
- G && k && (e = b(e), process.env.NODE_ENV !== "production" ? be(e.dep || (e.dep = q()), {
815
+ const K = (e) => ce(e) ? it(e) : e, Ce = (e) => ce(e) ? st(e) : e;
816
+ function Qn(e) {
817
+ G && _ && (e = b(e), process.env.NODE_ENV !== "production" ? we(e.dep || (e.dep = q()), {
844
818
  target: e,
845
819
  type: "get",
846
820
  key: "value"
847
- }) : be(e.dep || (e.dep = q())));
821
+ }) : we(e.dep || (e.dep = q())));
848
822
  }
849
- function Kn(e, t) {
823
+ function qn(e, t) {
850
824
  e = b(e);
851
825
  const r = e.dep;
852
826
  r && (process.env.NODE_ENV !== "production" ? x(r, {
@@ -859,25 +833,25 @@ function Kn(e, t) {
859
833
  function V(e) {
860
834
  return !!(e && e.__v_isRef === !0);
861
835
  }
862
- function ze(e) {
863
- return Wn(e, !1);
836
+ function Ve(e) {
837
+ return Gn(e, !1);
864
838
  }
865
- function Wn(e, t) {
866
- return V(e) ? e : new Jn(e, t);
839
+ function Gn(e, t) {
840
+ return V(e) ? e : new Kn(e, t);
867
841
  }
868
- class Jn {
842
+ class Kn {
869
843
  constructor(t, r) {
870
844
  this.__v_isShallow = r, this.dep = void 0, this.__v_isRef = !0, this._rawValue = r ? t : b(t), this._value = r ? t : K(t);
871
845
  }
872
846
  get value() {
873
- return Gn(this), this._value;
847
+ return Qn(this), this._value;
874
848
  }
875
849
  set value(t) {
876
- const r = this.__v_isShallow || ut(t) || se(t);
877
- t = r ? t : b(t), Se(t, this._rawValue) && (this._rawValue = t, this._value = r ? t : K(t), Kn(this, t));
850
+ const r = this.__v_isShallow || at(t) || ie(t);
851
+ t = r ? t : b(t), Re(t, this._rawValue) && (this._rawValue = t, this._value = r ? t : K(t), qn(this, t));
878
852
  }
879
853
  }
880
- function Zn(e) {
854
+ function Wn(e) {
881
855
  let t = {
882
856
  "Content-Type": "application/json"
883
857
  };
@@ -897,7 +871,7 @@ function Zn(e) {
897
871
  function o(w) {
898
872
  return t[w] && delete t[w], this;
899
873
  }
900
- function c(w) {
874
+ function a(w) {
901
875
  return i("Authorization", "Bearer " + w), this;
902
876
  }
903
877
  function d() {
@@ -906,7 +880,7 @@ function Zn(e) {
906
880
  function u() {
907
881
  return !!s("Authorization");
908
882
  }
909
- function a() {
883
+ function c() {
910
884
  return i("Content-Type", "multipart/form-data"), this;
911
885
  }
912
886
  function p() {
@@ -924,16 +898,16 @@ function Zn(e) {
924
898
  setHeader: i,
925
899
  getHeader: s,
926
900
  removeHeader: o,
927
- setAuthorization: c,
901
+ setAuthorization: a,
928
902
  removeAuthorization: d,
929
903
  hasAuthorization: u,
930
- setFormData: a,
904
+ setFormData: c,
931
905
  setJson: p,
932
906
  isFormData: m,
933
907
  isJson: h
934
908
  };
935
909
  }
936
- function Xn(e) {
910
+ function Jn(e) {
937
911
  let t = null;
938
912
  e && r(e);
939
913
  function r(i) {
@@ -949,20 +923,20 @@ function Xn(e) {
949
923
  getMethod: n
950
924
  };
951
925
  }
952
- function Yn(e, t, r) {
926
+ function Zn(e, t, r) {
953
927
  let n = null;
954
928
  r && i(r);
955
929
  function i(u) {
956
930
  if (!["post", "put", "patch"].includes(e.getMethod()))
957
931
  throw new Error("Payload can only be set for POST, PUT and PATCH requests.");
958
- return u instanceof FormData ? t.setFormData() : o(u) && (u = c(u), t.setFormData()), t.isFormData() && e.getMethod() === "put" && (e.setMethod("post"), u.append("_method", "PUT")), n = u, this;
932
+ return u instanceof FormData ? t.setFormData() : o(u) && (u = a(u), t.setFormData()), t.isFormData() && e.getMethod() === "put" && (e.setMethod("post"), u.append("_method", "PUT")), n = u, this;
959
933
  }
960
934
  function s() {
961
935
  return n;
962
936
  }
963
937
  function o(u) {
964
- for (const a in u) {
965
- const p = u[a];
938
+ for (const c in u) {
939
+ const p = u[c];
966
940
  if (d(p))
967
941
  return !0;
968
942
  if (typeof p == "object" && o(p))
@@ -970,14 +944,14 @@ function Yn(e, t, r) {
970
944
  }
971
945
  return !1;
972
946
  }
973
- function c(u, a = null, p = 0) {
974
- const m = !a;
975
- m && (a = new FormData());
947
+ function a(u, c = null, p = 0) {
948
+ const m = !c;
949
+ m && (c = new FormData());
976
950
  for (const h in u) {
977
951
  const w = u[h];
978
- d(w) ? (u[h] = "<<FileIndex:" + p + ">>", a.append(p, w, w.name), p++) : typeof w == "object" && (u[h] = c(u[h], a, p));
952
+ d(w) ? (u[h] = "<<FileIndex:" + p + ">>", c.append(p, w, w.name), p++) : typeof w == "object" && (u[h] = a(u[h], c, p));
979
953
  }
980
- return m ? (a.append("payload", JSON.stringify(u)), a) : u;
954
+ return m ? (c.append("payload", JSON.stringify(u)), c) : u;
981
955
  }
982
956
  function d(u) {
983
957
  return typeof File < "u" && u instanceof File || typeof Blob < "u" && u instanceof Blob;
@@ -993,11 +967,11 @@ const O = class O {
993
967
  */
994
968
  constructor(t = {}) {
995
969
  /** LEVEL represent the current logging level */
996
- _(this, "level", 3);
970
+ k(this, "level", 3);
997
971
  /** Underlying logger to use. Default to console */
998
- _(this, "logger");
972
+ k(this, "logger");
999
973
  /** Prefix to use for messages */
1000
- _(this, "prefix");
974
+ k(this, "prefix");
1001
975
  this.logger = t.logger || console, this.prefix = t.prefix || "";
1002
976
  }
1003
977
  /**
@@ -1009,69 +983,69 @@ const O = class O {
1009
983
  }
1010
984
  /** debug display messages only if level is DEBUG or less */
1011
985
  debug(...t) {
1012
- this.level <= O.LEVEL_DEBUG && re(this.logger.debug, this.prefix, t);
986
+ this.level <= O.LEVEL_DEBUG && ne(this.logger.debug, this.prefix, t);
1013
987
  }
1014
988
  /** info display messages only if level is INFO or less */
1015
989
  info(...t) {
1016
- this.level <= O.LEVEL_INFO && re(this.logger.info, this.prefix, t);
990
+ this.level <= O.LEVEL_INFO && ne(this.logger.info, this.prefix, t);
1017
991
  }
1018
992
  /** warn display messages only if level is WARN or less */
1019
993
  warn(...t) {
1020
- this.level <= O.LEVEL_WARN && re(this.logger.warn, this.prefix, t);
994
+ this.level <= O.LEVEL_WARN && ne(this.logger.warn, this.prefix, t);
1021
995
  }
1022
996
  /** error display messages only if level is ERROR or less */
1023
997
  error(...t) {
1024
- this.level <= O.LEVEL_ERROR && re(this.logger.error, this.prefix, t);
998
+ this.level <= O.LEVEL_ERROR && ne(this.logger.error, this.prefix, t);
1025
999
  }
1026
1000
  };
1027
1001
  /** Possible logging level by order of verbosity (more verbose first) */
1028
- _(O, "LEVEL_DEBUG", 0), _(O, "LEVEL_INFO", 1), _(O, "LEVEL_WARN", 2), _(O, "LEVEL_ERROR", 3), _(O, "LEVEL_OFF", 4);
1029
- let ve = O;
1030
- const re = (e, t, r) => {
1002
+ k(O, "LEVEL_DEBUG", 0), k(O, "LEVEL_INFO", 1), k(O, "LEVEL_WARN", 2), k(O, "LEVEL_ERROR", 3), k(O, "LEVEL_OFF", 4);
1003
+ let be = O;
1004
+ const ne = (e, t, r) => {
1031
1005
  t ? e(t, ...r) : e(...r);
1032
- }, A = new ve({
1006
+ }, A = new be({
1033
1007
  prefix: "[SDK]"
1034
1008
  });
1035
- let lt = null, dt = null, ft = null, pt = "/", mt = null;
1036
- const er = () => lt, tr = (e) => {
1009
+ let ct = null, ut = null, lt = null, dt = "/", ft = null;
1010
+ const Xn = () => ct, Yn = (e) => {
1037
1011
  if (A.info("[Config] Environment:", e), !e)
1038
1012
  throw new Error("Invalid environment.");
1039
- lt = e;
1040
- }, nr = () => dt, rr = (e) => {
1013
+ ct = e;
1014
+ }, er = () => ut, tr = (e) => {
1041
1015
  if (A.info("[Config] API Host:", e), !e)
1042
1016
  throw new Error("Invalid API host.");
1043
- dt = e;
1044
- }, ir = () => mt, sr = (e) => {
1045
- mt = e;
1046
- }, or = () => ft, ar = (e) => {
1017
+ ut = e;
1018
+ }, nr = () => ft, rr = (e) => {
1019
+ ft = e;
1020
+ }, ir = () => lt, sr = (e) => {
1047
1021
  if (A.info("[Config] Main App Host:", e), !e)
1048
1022
  throw new Error("Invalid main app host.");
1049
- ft = e;
1050
- }, cr = (e) => {
1051
- A.info("[Config] Base Assets Urls:", e), pt = e;
1052
- }, ur = () => pt, j = {
1053
- getEnvironment: er,
1054
- getApiHost: nr,
1055
- getErrorHandler: ir,
1056
- setEnvironment: tr,
1057
- setApiHost: rr,
1058
- setErrorHandler: sr,
1059
- getMainAppHost: or,
1060
- setMainAppHost: ar,
1061
- setBaseAssetsUrl: cr,
1062
- getBaseAssetsUrl: ur
1023
+ lt = e;
1024
+ }, or = (e) => {
1025
+ A.info("[Config] Base Assets Urls:", e), dt = e;
1026
+ }, ar = () => dt, j = {
1027
+ getEnvironment: Xn,
1028
+ getApiHost: er,
1029
+ getErrorHandler: nr,
1030
+ setEnvironment: Yn,
1031
+ setApiHost: tr,
1032
+ setErrorHandler: rr,
1033
+ getMainAppHost: ir,
1034
+ setMainAppHost: sr,
1035
+ setBaseAssetsUrl: or,
1036
+ getBaseAssetsUrl: ar
1063
1037
  };
1064
- function lr(e) {
1038
+ function cr(e) {
1065
1039
  const t = j.getApiHost().replace(/\/$/g, "");
1066
1040
  let r = null, n = {}, i = {};
1067
- e && c(e);
1041
+ e && a(e);
1068
1042
  function s() {
1069
1043
  return t + d() + h();
1070
1044
  }
1071
1045
  function o() {
1072
1046
  return d(!0, !0);
1073
1047
  }
1074
- function c(f) {
1048
+ function a(f) {
1075
1049
  return r = "/" + f.replace(/^\//g, ""), this;
1076
1050
  }
1077
1051
  function d(f = !0, P = !1) {
@@ -1080,7 +1054,7 @@ function lr(e) {
1080
1054
  function u(f) {
1081
1055
  return n = f, this;
1082
1056
  }
1083
- function a(f, P) {
1057
+ function c(f, P) {
1084
1058
  return n[f] = P, this;
1085
1059
  }
1086
1060
  function p(f) {
@@ -1111,12 +1085,12 @@ function lr(e) {
1111
1085
  return i[f] && delete i[f], this;
1112
1086
  }
1113
1087
  return {
1114
- setPath: c,
1088
+ setPath: a,
1115
1089
  getPath: d,
1116
1090
  getUri: s,
1117
1091
  getMockUri: o,
1118
1092
  setQueryParams: u,
1119
- setQueryParam: a,
1093
+ setQueryParam: c,
1120
1094
  removeQueryParam: p,
1121
1095
  hasQuery: m,
1122
1096
  getQueryString: h,
@@ -1125,7 +1099,7 @@ function lr(e) {
1125
1099
  removeRouteParam: $
1126
1100
  };
1127
1101
  }
1128
- function dr(e) {
1102
+ function ur(e) {
1129
1103
  let t = [];
1130
1104
  function r() {
1131
1105
  return t = u(arguments), o(), this;
@@ -1133,25 +1107,25 @@ function dr(e) {
1133
1107
  function n() {
1134
1108
  return t.length > 0;
1135
1109
  }
1136
- function i(a) {
1137
- return t.includes(a.trim()) ? this : (t.push(a.trim()), o(), this);
1110
+ function i(c) {
1111
+ return t.includes(c.trim()) ? this : (t.push(c.trim()), o(), this);
1138
1112
  }
1139
- function s(a) {
1140
- const p = t.indexOf(a.trim());
1113
+ function s(c) {
1114
+ const p = t.indexOf(c.trim());
1141
1115
  return p === -1 ? this : (t.splice(p, 1), o(), this);
1142
1116
  }
1143
1117
  function o() {
1144
1118
  t.length ? e.setQueryParam("groups", d(t)) : e.removeQueryParam("groups");
1145
1119
  }
1146
- function c(a) {
1147
- return a.split(",").map((p) => p.trim());
1120
+ function a(c) {
1121
+ return c.split(",").map((p) => p.trim());
1148
1122
  }
1149
- function d(a) {
1150
- return a.join(",");
1123
+ function d(c) {
1124
+ return c.join(",");
1151
1125
  }
1152
- function u(a) {
1126
+ function u(c) {
1153
1127
  let p = [];
1154
- return a.length === 1 ? typeof a[0] == "string" ? p = c(a[0]) : Array.isArray(a[0]) && (p = a[0]) : p = Array.from(a), p;
1128
+ return c.length === 1 ? typeof c[0] == "string" ? p = a(c[0]) : Array.isArray(c[0]) && (p = c[0]) : p = Array.from(c), p;
1155
1129
  }
1156
1130
  return {
1157
1131
  setGroups: r,
@@ -1160,7 +1134,7 @@ function dr(e) {
1160
1134
  removeGroup: s
1161
1135
  };
1162
1136
  }
1163
- function fr(e) {
1137
+ function lr(e) {
1164
1138
  let t = !1, r = !1, n = 1, i = 10;
1165
1139
  function s() {
1166
1140
  return t = !0, o(), this;
@@ -1168,9 +1142,9 @@ function fr(e) {
1168
1142
  function o() {
1169
1143
  r = !0;
1170
1144
  const h = m(arguments);
1171
- return u(h.page || 1, !1), a(h.perPage || i, !1), p(), this;
1145
+ return u(h.page || 1, !1), c(h.perPage || i, !1), p(), this;
1172
1146
  }
1173
- function c() {
1147
+ function a() {
1174
1148
  return r = !1, p(), this;
1175
1149
  }
1176
1150
  function d() {
@@ -1179,7 +1153,7 @@ function fr(e) {
1179
1153
  function u(h, w = !0) {
1180
1154
  return t = !0, r = !0, n = h, w && p(), this;
1181
1155
  }
1182
- function a(h, w = !0) {
1156
+ function c(h, w = !0) {
1183
1157
  return t = !0, r = !0, i = h, w && p(), this;
1184
1158
  }
1185
1159
  function p() {
@@ -1194,47 +1168,47 @@ function fr(e) {
1194
1168
  return {
1195
1169
  isList: s,
1196
1170
  paginate: o,
1197
- disablePagination: c,
1171
+ disablePagination: a,
1198
1172
  hasPagination: d,
1199
1173
  setPage: u,
1200
- setPerPage: a
1174
+ setPerPage: c
1201
1175
  };
1202
1176
  }
1203
- function pr(e) {
1177
+ function dr(e) {
1204
1178
  let t = !1, r = "id", n = "ASC";
1205
1179
  function i() {
1206
1180
  t = !0;
1207
- const a = u(arguments);
1208
- return a.orderBy && o(a.orderBy, !1), a.orderDir && c(a.orderDir, !1), d(), this;
1181
+ const c = u(arguments);
1182
+ return c.orderBy && o(c.orderBy, !1), c.orderDir && a(c.orderDir, !1), d(), this;
1209
1183
  }
1210
1184
  function s() {
1211
1185
  return t;
1212
1186
  }
1213
- function o(a, p = !0) {
1214
- return t = !0, r = a, p && d(), this;
1187
+ function o(c, p = !0) {
1188
+ return t = !0, r = c, p && d(), this;
1215
1189
  }
1216
- function c(a, p = !0) {
1217
- if (a = a.toUpperCase(), ["ASC", "DESC"].indexOf(a) === -1)
1190
+ function a(c, p = !0) {
1191
+ if (c = c.toUpperCase(), ["ASC", "DESC"].indexOf(c) === -1)
1218
1192
  throw new Error("Invalid order direction");
1219
- return t = !0, n = a, p && d(), this;
1193
+ return t = !0, n = c, p && d(), this;
1220
1194
  }
1221
1195
  function d() {
1222
1196
  s() && (e.setQueryParam("orderBy", r), e.setQueryParam("orderDirection", n));
1223
1197
  }
1224
- function u(a) {
1225
- if (a.length === 1 && typeof a[0] == "object")
1226
- return a[0];
1198
+ function u(c) {
1199
+ if (c.length === 1 && typeof c[0] == "object")
1200
+ return c[0];
1227
1201
  const p = {};
1228
- return a.length >= 1 && (p.orderBy = a[0]), a.length >= 2 && (p.orderDir = a[1]), p;
1202
+ return c.length >= 1 && (p.orderBy = c[0]), c.length >= 2 && (p.orderDir = c[1]), p;
1229
1203
  }
1230
1204
  return {
1231
1205
  setOrder: i,
1232
1206
  hasOrder: s,
1233
1207
  setOrderBy: o,
1234
- setOrderDir: c
1208
+ setOrderDir: a
1235
1209
  };
1236
1210
  }
1237
- function mr() {
1211
+ function fr() {
1238
1212
  let e = !1;
1239
1213
  function t() {
1240
1214
  return e = !0, this;
@@ -1247,7 +1221,7 @@ function mr() {
1247
1221
  isSilent: r
1248
1222
  };
1249
1223
  }
1250
- function hr() {
1224
+ function pr() {
1251
1225
  let e = "json";
1252
1226
  function t(n = "json") {
1253
1227
  if (["arraybuffer", "document", "json", "text", "stream", "blob"].indexOf(n) === -1)
@@ -1262,7 +1236,7 @@ function hr() {
1262
1236
  getResponseType: r
1263
1237
  };
1264
1238
  }
1265
- function yr(e) {
1239
+ function mr(e) {
1266
1240
  function t() {
1267
1241
  return e;
1268
1242
  }
@@ -1278,7 +1252,7 @@ function yr(e) {
1278
1252
  getPayload: n
1279
1253
  };
1280
1254
  }
1281
- function gr(e, t = !1) {
1255
+ function hr(e, t = !1) {
1282
1256
  let r = !1, n = !1;
1283
1257
  return e.response ? (r = !0, n = !0) : e.request && (r = !0), !t && j.getErrorHandler() && j.getErrorHandler()(e), {
1284
1258
  sent: r,
@@ -1286,7 +1260,7 @@ function gr(e, t = !1) {
1286
1260
  error: e
1287
1261
  };
1288
1262
  }
1289
- function wr(e) {
1263
+ function yr(e) {
1290
1264
  function t() {
1291
1265
  return e;
1292
1266
  }
@@ -1305,14 +1279,14 @@ function wr(e) {
1305
1279
  function o() {
1306
1280
  return i() ? e.data["hydra:totalItems"] : null;
1307
1281
  }
1308
- function c() {
1282
+ function a() {
1309
1283
  return i() ? e.data["hydra:view"] && e.data["hydra:view"]["hydra:last"] : !1;
1310
1284
  }
1311
1285
  function d() {
1312
- return !i() || !c() ? null : parseInt(e.data["hydra:view"]["@id"].match(/page=(\d+)/)[1]);
1286
+ return !i() || !a() ? null : parseInt(e.data["hydra:view"]["@id"].match(/page=(\d+)/)[1]);
1313
1287
  }
1314
1288
  function u() {
1315
- return !i() || !c() ? null : parseInt(e.data["hydra:view"]["hydra:last"].match(/page=(\d+)/)[1]);
1289
+ return !i() || !a() ? null : parseInt(e.data["hydra:view"]["hydra:last"].match(/page=(\d+)/)[1]);
1316
1290
  }
1317
1291
  return {
1318
1292
  getResponse: t,
@@ -1321,54 +1295,54 @@ function wr(e) {
1321
1295
  isCollection: i,
1322
1296
  getCollection: s,
1323
1297
  getTotal: o,
1324
- hasPagination: c,
1298
+ hasPagination: a,
1325
1299
  getPage: d,
1326
1300
  getPages: u
1327
1301
  };
1328
1302
  }
1329
- function br(e, t, r, n, i, s) {
1303
+ function gr(e, t, r, n, i, s) {
1330
1304
  async function o() {
1331
- const d = r.getMethod(), u = t.getUri(), a = e.getHeaders(), p = n.getPayload(), m = [u];
1305
+ const d = r.getMethod(), u = t.getUri(), c = e.getHeaders(), p = n.getPayload(), m = [u];
1332
1306
  ["post", "put", "patch"].includes(d) && m.push(p || {}), m.push({
1333
- headers: a,
1307
+ headers: c,
1334
1308
  responseType: s.getResponseType()
1335
1309
  }), A.info("[Request] Sending request:", `[${d.toUpperCase()}]`, u);
1336
1310
  try {
1337
- const h = await zt[d](...m);
1338
- return c(h);
1311
+ const h = await jt[d](...m);
1312
+ return a(h);
1339
1313
  } catch (h) {
1340
- throw gr(h, i.isSilent());
1314
+ throw hr(h, i.isSilent());
1341
1315
  }
1342
1316
  }
1343
- function c(d) {
1317
+ function a(d) {
1344
1318
  if (d.headers) {
1345
- const u = Object.keys(d.headers), a = u.map((p) => p.toLowerCase()).indexOf("content-type");
1346
- if (a !== -1 && d.headers[u[a]].includes("application/ld+json"))
1347
- return wr(d);
1319
+ const u = Object.keys(d.headers), c = u.map((p) => p.toLowerCase()).indexOf("content-type");
1320
+ if (c !== -1 && d.headers[u[c]].includes("application/ld+json"))
1321
+ return yr(d);
1348
1322
  }
1349
- return yr(d);
1323
+ return mr(d);
1350
1324
  }
1351
1325
  return {
1352
1326
  send: o
1353
1327
  };
1354
1328
  }
1355
1329
  function I(e, t = "get", r = null) {
1356
- const n = Zn(), i = lr(e), s = Xn(t), o = Yn(s, n, r), c = dr(i), d = fr(i), u = pr(i), a = mr(), p = hr(), m = br(n, i, s, o, a, p);
1330
+ const n = Wn(), i = cr(e), s = Jn(t), o = Zn(s, n, r), a = ur(i), d = lr(i), u = dr(i), c = fr(), p = pr(), m = gr(n, i, s, o, c, p);
1357
1331
  return {
1358
1332
  ...n,
1359
1333
  ...i,
1360
1334
  ...s,
1361
1335
  ...o,
1362
- ...c,
1336
+ ...a,
1363
1337
  ...d,
1364
1338
  ...u,
1365
- ...a,
1339
+ ...c,
1366
1340
  ...p,
1367
1341
  ...m
1368
1342
  };
1369
1343
  }
1370
1344
  function g(e, t = "get", r = null) {
1371
- const n = I(e, t, r), i = We();
1345
+ const n = I(e, t, r), i = dn();
1372
1346
  i.isAuthenticated() && n.setAuthorization(i.getAuthToken());
1373
1347
  const s = n.send;
1374
1348
  return n.send = async function() {
@@ -1377,116 +1351,116 @@ function g(e, t = "get", r = null) {
1377
1351
  return s();
1378
1352
  }, n;
1379
1353
  }
1380
- const vr = (e, t) => g("/v2/activity/candidate/:candidateId/establishment/:establishmentId").setRouteParams({ candidateId: e, establishmentId: t }), Qs = () => ({
1381
- listByCandidateAndEstablishment: vr
1382
- }), Er = (e, t, r) => g("/candidate/:candidateId/share/establishment/:establishmentId").setMethod("post").setRouteParams({ candidateId: e, establishmentId: t }).setPayload(r), Ar = (e, t) => g("/candidate/:candidateId/archive/establishment/:establishmentId").setRouteParams({ candidateId: e, establishmentId: t }), Pr = (e, t) => g("/candidate/:candidateId/archive/establishment/:establishmentId").setMethod("post").setRouteParams({ candidateId: e, establishmentId: t }), Ir = (e, t) => g("/candidate/:candidateId/archive/establishment/:establishmentId").setMethod("delete").setRouteParams({ candidateId: e, establishmentId: t }), Rr = (e, t) => g("/v2/candidates/lookup").setQueryParam("email", e).setQueryParam("establishment-id", t), Sr = (e, t) => g("/v2/candidates").setMethod("post").setQueryParam("establishment-id", e).setPayload(t), Or = (e, t, r) => g("/v2/candidates/:candidateId").setQueryParam("establishment-id", t).setRouteParams({ candidateId: e }).setMethod("put").setPayload(r), Cr = (e) => g("/candidate/register/close/:registrationToken").setMethod("post").setRouteParams({ registrationToken: e }), _r = (e) => g("/candidate/register/open").setMethod("post").setQueryParam("groups", "register:token").setPayload(e), kr = (e, t) => g("/establishment/:establishmentId:/candidate/invitation").setRouteParams({ establishmentId: e }).setMethod("post").setPayload(t), qs = () => ({
1383
- share: Er,
1384
- isArchived: Ar,
1385
- archive: Pr,
1386
- unarchive: Ir,
1387
- lookupCandidate: Rr,
1388
- createCandidate: Sr,
1389
- updateCandidate: Or,
1390
- closeIncompleteRegistration: Cr,
1391
- openNewRegistration: _r,
1392
- updateInvitation: kr
1393
- }), $r = (e, t) => g("/comment/establishment/:establishmentId/candidate/:userId").setRouteParams({ establishmentId: e, userId: t }), Tr = (e, t, r) => g("/comment/establishment/:establishmentId/candidate/:userId").setRouteParams({ establishmentId: e, userId: t }).setMethod("post").setPayload(r), Nr = (e, t) => g("/comment/:commentId").setRouteParams({ commentId: e }).setMethod("put").setPayload(t), Mr = (e) => g("/comment/:commentId").setRouteParams({ commentId: e }).setMethod("delete"), Gs = () => ({
1394
- getForEstablishmentCandidate: $r,
1395
- postForEstablishmentCandidate: Tr,
1396
- update: Nr,
1397
- remove: Mr
1398
- }), Lr = () => I("contractType").isList().addGroup("Term:id").addGroup("Term:name"), Dr = (e, t = !0) => g("contractType/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), Ks = () => ({
1354
+ const wr = (e, t) => g("/v2/activity/candidate/:candidateId/establishment/:establishmentId").setRouteParams({ candidateId: e, establishmentId: t }), Hs = () => ({
1355
+ listByCandidateAndEstablishment: wr
1356
+ }), br = (e, t, r) => g("/candidate/:candidateId/share/establishment/:establishmentId").setMethod("post").setRouteParams({ candidateId: e, establishmentId: t }).setPayload(r), vr = (e, t) => g("/candidate/:candidateId/archive/establishment/:establishmentId").setRouteParams({ candidateId: e, establishmentId: t }), Er = (e, t) => g("/candidate/:candidateId/archive/establishment/:establishmentId").setMethod("post").setRouteParams({ candidateId: e, establishmentId: t }), Ar = (e, t) => g("/candidate/:candidateId/archive/establishment/:establishmentId").setMethod("delete").setRouteParams({ candidateId: e, establishmentId: t }), Pr = (e, t) => g("/v2/candidates/lookup").setQueryParam("email", e).setQueryParam("establishment-id", t), Ir = (e, t) => g("/v2/candidates").setMethod("post").setQueryParam("establishment-id", e).setPayload(t), Rr = (e, t, r) => g("/v2/candidates/:candidateId").setQueryParam("establishment-id", t).setRouteParams({ candidateId: e }).setMethod("put").setPayload(r), Sr = (e) => g("/candidate/register/close/:registrationToken").setMethod("post").setRouteParams({ registrationToken: e }), Or = (e) => g("/candidate/register/open").setMethod("post").setQueryParam("groups", "register:token").setPayload(e), Cr = (e, t) => g("/establishment/:establishmentId:/candidate/invitation").setRouteParams({ establishmentId: e }).setMethod("post").setPayload(t), Qs = () => ({
1357
+ share: br,
1358
+ isArchived: vr,
1359
+ archive: Er,
1360
+ unarchive: Ar,
1361
+ lookupCandidate: Pr,
1362
+ createCandidate: Ir,
1363
+ updateCandidate: Rr,
1364
+ closeIncompleteRegistration: Sr,
1365
+ openNewRegistration: Or,
1366
+ updateInvitation: Cr
1367
+ }), kr = (e, t) => g("/comment/establishment/:establishmentId/candidate/:userId").setRouteParams({ establishmentId: e, userId: t }), _r = (e, t, r) => g("/comment/establishment/:establishmentId/candidate/:userId").setRouteParams({ establishmentId: e, userId: t }).setMethod("post").setPayload(r), $r = (e, t) => g("/comment/:commentId").setRouteParams({ commentId: e }).setMethod("put").setPayload(t), Tr = (e) => g("/comment/:commentId").setRouteParams({ commentId: e }).setMethod("delete"), qs = () => ({
1368
+ getForEstablishmentCandidate: kr,
1369
+ postForEstablishmentCandidate: _r,
1370
+ update: $r,
1371
+ remove: Tr
1372
+ }), Nr = () => I("contractType").isList().addGroup("Term:id").addGroup("Term:name"), Mr = (e, t = !0) => g("contractType/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), Gs = () => ({
1373
+ list: Nr,
1374
+ listByEstablishment: Mr
1375
+ }), Lr = (e) => g("/v2/talents").isList().setQueryParam("establishment-id", e), Dr = (e) => g("/v2/talent/mark-as-seen/:talentId").setRouteParams({ talentId: e }).setMethod("post"), Ks = () => ({
1399
1376
  list: Lr,
1400
- listByEstablishment: Dr
1401
- }), jr = (e) => g("/v2/talents").isList().setQueryParam("establishment-id", e), xr = (e) => g("/v2/talent/mark-as-seen/:talentId").setRouteParams({ talentId: e }).setMethod("post"), Ws = () => ({
1402
- list: jr,
1403
- markAsSeen: xr
1404
- }), Vr = (e, t, r) => g("/cvtheque/establishment/:establishmentId/candidate/:candidateId/label/synchronize").setRouteParams({ establishmentId: e, candidateId: t }).setMethod("post").setPayload(r), Js = () => ({
1405
- syncCandidateLabels: Vr
1406
- }), zr = () => I("diploma").isList().addGroup("Term:id").addGroup("Term:name"), Zs = () => ({
1407
- list: zr
1408
- }), Br = (e) => g("document/candidate/:candidateId").setRouteParams({ candidateId: e }).isList().disablePagination(), Fr = (e, t) => g("document/candidate/:candidateId/establishment/:establishmentId/recruiter").setRouteParams({ candidateId: e, establishmentId: t }).isList().disablePagination(), Ur = (e, t) => g("document/candidate/:candidateId/establishment/:establishmentId/candidate").setRouteParams({ candidateId: e, establishmentId: t }).isList().disablePagination(), Hr = (e) => g("document/recruiter").setMethod("post").setPayload(e), Qr = (e) => g("document/:documentId").setRouteParams({ documentId: e }).setMethod("delete"), Xs = () => ({
1409
- listByCandidate: Br,
1410
- listByCandidateAndEstablishmentFromRecruiter: Fr,
1411
- listByCandidateAndEstablishmentFromCandidate: Ur,
1412
- addFromRecruiter: Hr,
1413
- remove: Qr
1414
- }), qr = (e, t) => g("/v2/establishments/:establishmentId/email-history").setRouteParams({ establishmentId: t }).setQueryParam("receiverId", e).isList().disablePagination(), Ys = () => ({
1415
- listByCandidateAndEstablishment: qr
1416
- }), Gr = (e, t) => g("/email/candidate/:candidateId").setMethod("post").setRouteParams({ candidateId: e }).setPayload(t), Kr = (e, t) => g("/v2/emails/send").setMethod("post").setPayload({ recipientIds: e, ...t }), eo = () => ({
1417
- sendToCandidate: Gr,
1418
- sendToRecipients: Kr
1419
- }), Wr = (e, t = !0) => {
1377
+ markAsSeen: Dr
1378
+ }), jr = (e, t, r) => g("/cvtheque/establishment/:establishmentId/candidate/:candidateId/label/synchronize").setRouteParams({ establishmentId: e, candidateId: t }).setMethod("post").setPayload(r), Ws = () => ({
1379
+ syncCandidateLabels: jr
1380
+ }), xr = () => I("diploma").isList().addGroup("Term:id").addGroup("Term:name"), Js = () => ({
1381
+ list: xr
1382
+ }), Vr = (e) => g("document/candidate/:candidateId").setRouteParams({ candidateId: e }).isList().disablePagination(), zr = (e, t) => g("document/candidate/:candidateId/establishment/:establishmentId/recruiter").setRouteParams({ candidateId: e, establishmentId: t }).isList().disablePagination(), Br = (e, t) => g("document/candidate/:candidateId/establishment/:establishmentId/candidate").setRouteParams({ candidateId: e, establishmentId: t }).isList().disablePagination(), Fr = (e) => g("document/recruiter").setMethod("post").setPayload(e), Ur = (e) => g("document/:documentId").setRouteParams({ documentId: e }).setMethod("delete"), Zs = () => ({
1383
+ listByCandidate: Vr,
1384
+ listByCandidateAndEstablishmentFromRecruiter: zr,
1385
+ listByCandidateAndEstablishmentFromCandidate: Br,
1386
+ addFromRecruiter: Fr,
1387
+ remove: Ur
1388
+ }), Hr = (e, t) => g("/v2/establishments/:establishmentId/email-history").setRouteParams({ establishmentId: t }).setQueryParam("receiverId", e).isList().disablePagination(), Xs = () => ({
1389
+ listByCandidateAndEstablishment: Hr
1390
+ }), Qr = (e, t) => g("/email/candidate/:candidateId").setMethod("post").setRouteParams({ candidateId: e }).setPayload(t), qr = (e, t) => g("/v2/emails/send").setMethod("post").setPayload({ recipientIds: e, ...t }), Ys = () => ({
1391
+ sendToCandidate: Qr,
1392
+ sendToRecipients: qr
1393
+ }), Gr = (e, t = !0) => {
1420
1394
  const r = g("/v2/establishments/:establishmentId/email-templates").setRouteParams({ establishmentId: e }).isList().disablePagination();
1421
1395
  return t && r.setQueryParam("global", !0), r;
1422
- }, Jr = () => g("/v2/self/email-templates").isList().disablePagination(), to = () => ({
1423
- listByEstablishment: Wr,
1424
- listSelf: Jr
1425
- }), Zr = (e, t) => g("establishment-career/:establishmentId/:versionId").setRouteParams({ establishmentId: e, versionId: t }), Xr = (e, t = "published") => g("establishment-career/:establishmentId/state/:state").setRouteParams({ establishmentId: e, state: t }), Yr = (e, t, r = null) => {
1396
+ }, Kr = () => g("/v2/self/email-templates").isList().disablePagination(), eo = () => ({
1397
+ listByEstablishment: Gr,
1398
+ listSelf: Kr
1399
+ }), Wr = (e, t) => g("establishment-career/:establishmentId/:versionId").setRouteParams({ establishmentId: e, versionId: t }), Jr = (e, t = "published") => g("establishment-career/:establishmentId/state/:state").setRouteParams({ establishmentId: e, state: t }), Zr = (e, t, r = null) => {
1426
1400
  const n = r !== null ? g("establishment-career/:establishmentId/:versionId").setRouteParams({ establishmentId: e, versionId: r }) : g("establishment-career/:establishmentId").setRouteParams({ establishmentId: e });
1427
1401
  return n.setMethod("post").setPayload(t), n;
1428
- }, ei = (e, t) => g("establishment-career/:establishmentId/logo-banner").setMethod("post").setRouteParams({ establishmentId: e }).setPayload(t), ti = (e, t, r) => g("establishment-career/:establishmentId/publish/:versionId").setMethod("post").setRouteParams({ establishmentId: e, versionId: t }).setPayload(r), no = () => ({
1429
- readById: Zr,
1430
- readByState: Xr,
1431
- upsert: Yr,
1432
- uploadLogoAndBanner: ei,
1433
- publish: ti
1434
- }), ni = (e) => I("establishment/:establishmentId").setRouteParams({ establishmentId: e }), ri = (e) => g("establishment/:establishmentId/authorizations").setRouteParams({ establishmentId: e }), ii = () => ({
1435
- read: ni,
1436
- authorizations: ri
1437
- }), si = (e) => I("feature-flag/maintenance").setMethod("post").setPayload(e), oi = (e, t) => I("feature-flag/establishment").setMethod("post").setPayload({ establishment: e, flagName: t }), ro = () => ({
1438
- maintenanceModeEnabled: si,
1439
- forEstablishment: oi
1440
- }), ai = () => I("job").isList().addGroup("Term:id").addGroup("Term:name"), ci = (e, t = !0) => g("job/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), io = () => ({
1441
- list: ai,
1442
- listByEstablishment: ci
1443
- }), ui = (e) => g("/label/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }), li = (e, t) => g("/label/establishment/:establishmentId").setMethod("post").setRouteParams({ establishmentId: e }).setPayload(t), di = (e, t) => g("/label/:labelId").setMethod("put").setRouteParams({ labelId: e }).setPayload(t), fi = (e) => g("/label/:labelId").setMethod("delete").setRouteParams({ labelId: e }), pi = (e, t, r) => g("/label/establishment/:establishmentId/candidate/:candidateId/synchronize").setMethod("post").setPayload(r).setRouteParams({ establishmentId: e, candidateId: t }), so = () => ({
1444
- listByEstablishment: ui,
1445
- addToEstablishment: li,
1446
- update: di,
1447
- remove: fi,
1448
- syncForCandidate: pi
1449
- }), mi = (e) => I("offer/:offerId").setRouteParams({ offerId: e }), oo = () => ({
1450
- read: mi
1451
- }), hi = (e, t = !1) => {
1402
+ }, Xr = (e, t) => g("establishment-career/:establishmentId/logo-banner").setMethod("post").setRouteParams({ establishmentId: e }).setPayload(t), Yr = (e, t, r) => g("establishment-career/:establishmentId/publish/:versionId").setMethod("post").setRouteParams({ establishmentId: e, versionId: t }).setPayload(r), to = () => ({
1403
+ readById: Wr,
1404
+ readByState: Jr,
1405
+ upsert: Zr,
1406
+ uploadLogoAndBanner: Xr,
1407
+ publish: Yr
1408
+ }), ei = (e) => I("establishment/:establishmentId").setRouteParams({ establishmentId: e }), ti = (e) => g("establishment/:establishmentId/authorizations").setRouteParams({ establishmentId: e }), ni = () => ({
1409
+ read: ei,
1410
+ authorizations: ti
1411
+ }), ri = (e) => I("feature-flag/maintenance").setMethod("post").setPayload(e), ii = (e, t) => I("feature-flag/establishment").setMethod("post").setPayload({ establishment: e, flagName: t }), no = () => ({
1412
+ maintenanceModeEnabled: ri,
1413
+ forEstablishment: ii
1414
+ }), si = () => I("job").isList().addGroup("Term:id").addGroup("Term:name"), oi = (e, t = !0) => g("job/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), ro = () => ({
1415
+ list: si,
1416
+ listByEstablishment: oi
1417
+ }), ai = (e) => g("/label/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }), ci = (e, t) => g("/label/establishment/:establishmentId").setMethod("post").setRouteParams({ establishmentId: e }).setPayload(t), ui = (e, t) => g("/label/:labelId").setMethod("put").setRouteParams({ labelId: e }).setPayload(t), li = (e) => g("/label/:labelId").setMethod("delete").setRouteParams({ labelId: e }), di = (e, t, r) => g("/label/establishment/:establishmentId/candidate/:candidateId/synchronize").setMethod("post").setPayload(r).setRouteParams({ establishmentId: e, candidateId: t }), io = () => ({
1418
+ listByEstablishment: ai,
1419
+ addToEstablishment: ci,
1420
+ update: ui,
1421
+ remove: li,
1422
+ syncForCandidate: di
1423
+ }), fi = (e) => I("offer/:offerId").setRouteParams({ offerId: e }), so = () => ({
1424
+ read: fi
1425
+ }), pi = (e, t = !1) => {
1452
1426
  const r = g("/recruiter/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e });
1453
1427
  return t && r.setQueryParam("exclude-me", 1), r;
1454
- }, ao = () => ({
1455
- listByEstablishment: hi
1456
- }), yi = (e) => g("/recruitment/:recruitmentId").setRouteParams({ recruitmentId: e }), gi = (e) => g("/recruitment/mine/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }), wi = (e, t) => g("/recruitment/mine/establishment/:establishmentId/has-not/candidate/:candidateId").isList().setRouteParams({ establishmentId: e, candidateId: t }), bi = (e, t) => g("/recruitment/mine/establishment/:establishmentId/has/candidate/:candidateId").isList().setRouteParams({ establishmentId: e, candidateId: t }), vi = (e, t) => g("/recruitment/establishment/:establishmentId/has/candidate/:candidateId").isList().setRouteParams({ establishmentId: e, candidateId: t }), Ei = (e, t) => g("/recruitment/:recruitmentId/candidate").setMethod("put").setRouteParams({ recruitmentId: e }).setPayload(t), Ai = (e, t) => g("/recruitment/:recruitmentId/candidate/:candidateId").setMethod("delete").setRouteParams({ recruitmentId: e, candidateId: t }), co = () => ({
1457
- read: yi,
1458
- mineByEstablishment: gi,
1459
- mineWithoutCandidate: wi,
1460
- mineWithCandidate: bi,
1461
- withCandidate: vi,
1462
- addCandidates: Ei,
1463
- removeCandidate: Ai
1464
- }), Pi = (e, t, r, n = null) => {
1428
+ }, oo = () => ({
1429
+ listByEstablishment: pi
1430
+ }), mi = (e) => g("/recruitment/:recruitmentId").setRouteParams({ recruitmentId: e }), hi = (e) => g("/recruitment/mine/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }), yi = (e, t) => g("/recruitment/mine/establishment/:establishmentId/has-not/candidate/:candidateId").isList().setRouteParams({ establishmentId: e, candidateId: t }), gi = (e, t) => g("/recruitment/mine/establishment/:establishmentId/has/candidate/:candidateId").isList().setRouteParams({ establishmentId: e, candidateId: t }), wi = (e, t) => g("/recruitment/establishment/:establishmentId/has/candidate/:candidateId").isList().setRouteParams({ establishmentId: e, candidateId: t }), bi = (e, t) => g("/recruitment/:recruitmentId/candidate").setMethod("put").setRouteParams({ recruitmentId: e }).setPayload(t), vi = (e, t) => g("/recruitment/:recruitmentId/candidate/:candidateId").setMethod("delete").setRouteParams({ recruitmentId: e, candidateId: t }), ao = () => ({
1431
+ read: mi,
1432
+ mineByEstablishment: hi,
1433
+ mineWithoutCandidate: yi,
1434
+ mineWithCandidate: gi,
1435
+ withCandidate: wi,
1436
+ addCandidates: bi,
1437
+ removeCandidate: vi
1438
+ }), Ei = (e, t, r, n = null) => {
1465
1439
  const i = I("candidate/register/open").setMethod("post"), s = { email: e };
1466
1440
  return t === "establishment" && (s.establishmentId = r), t === "offer" && (s.offerId = r), n && (s.referer = n), i.setPayload(s), i;
1467
- }, Ii = (e, t) => I("candidate/register/update/:token").setMethod("post").setRouteParams({ token: e }).setPayload(t), Ri = (e) => I("candidate/register/read/:token").setRouteParams({ token: e }), Si = (e) => I("candidate/register/close/:token").setMethod("post").setRouteParams({ token: e }), uo = () => ({
1468
- open: Pi,
1469
- update: Ii,
1470
- read: Ri,
1471
- close: Si
1472
- }), Oi = (e, t) => g("/v2/registrations/lookup").setQueryParam("candidate-id", e).setQueryParam("establishment-id", t), lo = () => ({
1473
- lookupEstablishment: Oi
1474
- }), Ci = () => I("speciality").isList().addGroup("Term:id").addGroup("Term:name"), _i = (e, t = !0) => g("speciality/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), fo = () => ({
1475
- list: Ci,
1476
- listByEstablishment: _i
1477
- }), ki = (e) => g("/tag/public/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }), po = () => ({
1478
- listByEstablishment: ki
1479
- }), $i = (e, t) => g("/v2/talents/lookup").setQueryParam("candidate-id", e).setQueryParam("establishment-id", t), Ti = (e) => g("/v2/talents/index").setMethod("post").setPayload(e), mo = () => ({
1480
- lookupTalent: $i,
1481
- addCandidateToTalentPool: Ti
1482
- }), Ni = (e) => I("user/email/isset/:email").setRouteParams({ email: e }), Mi = () => g("user/self").addGroup("user:self"), Li = (e) => g("/user/:uuid").setRouteParams({ uuid: e }), Di = (e) => I("/user/:uuid").setRouteParams({ uuid: e }), ji = (e) => g("/user/:id/uuid").setRouteParams({ id: e }), xi = () => ({
1483
- emailExists: Ni,
1484
- self: Mi,
1485
- byUuidPrivate: Li,
1486
- byUuid: Di,
1487
- fetchUuid: ji
1488
- }), ht = () => {
1489
- const e = ze(null), t = ze({}), r = W(() => e.value.roles ?? []), n = W(() => r.value.includes("ROLE_RH")), i = W(() => r.value.includes("ROLE_CANDIDATE")), s = W(() => r.value.includes("ROLE_ADMIN"));
1441
+ }, Ai = (e, t) => I("candidate/register/update/:token").setMethod("post").setRouteParams({ token: e }).setPayload(t), Pi = (e) => I("candidate/register/read/:token").setRouteParams({ token: e }), Ii = (e) => I("candidate/register/close/:token").setMethod("post").setRouteParams({ token: e }), co = () => ({
1442
+ open: Ei,
1443
+ update: Ai,
1444
+ read: Pi,
1445
+ close: Ii
1446
+ }), Ri = (e, t) => g("/v2/registrations/lookup").setQueryParam("candidate-id", e).setQueryParam("establishment-id", t), uo = () => ({
1447
+ lookupEstablishment: Ri
1448
+ }), Si = () => I("speciality").isList().addGroup("Term:id").addGroup("Term:name"), Oi = (e, t = !0) => g("speciality/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }).setQueryParam("all", t).addGroup("Term:id").addGroup("Term:name"), lo = () => ({
1449
+ list: Si,
1450
+ listByEstablishment: Oi
1451
+ }), Ci = (e) => g("/tag/public/establishment/:establishmentId").isList().setRouteParams({ establishmentId: e }), fo = () => ({
1452
+ listByEstablishment: Ci
1453
+ }), ki = (e, t) => g("/v2/talents/lookup").setQueryParam("candidate-id", e).setQueryParam("establishment-id", t), _i = (e) => g("/v2/talents/index").setMethod("post").setPayload(e), po = () => ({
1454
+ lookupTalent: ki,
1455
+ addCandidateToTalentPool: _i
1456
+ }), $i = (e) => I("user/email/isset/:email").setRouteParams({ email: e }), Ti = () => g("user/self").addGroup("user:self"), Ni = (e) => g("/user/:uuid").setRouteParams({ uuid: e }), Mi = (e) => I("/user/:uuid").setRouteParams({ uuid: e }), Li = (e) => g("/user/:id/uuid").setRouteParams({ id: e }), Di = () => ({
1457
+ emailExists: $i,
1458
+ self: Ti,
1459
+ byUuidPrivate: Ni,
1460
+ byUuid: Mi,
1461
+ fetchUuid: Li
1462
+ }), ji = () => {
1463
+ const e = Ve(null), t = Ve({}), r = W(() => e.value.roles ?? []), n = W(() => r.value.includes("ROLE_RH")), i = W(() => r.value.includes("ROLE_CANDIDATE")), s = W(() => r.value.includes("ROLE_ADMIN"));
1490
1464
  return {
1491
1465
  user: e,
1492
1466
  establishments: t,
@@ -1496,29 +1470,14 @@ const vr = (e, t) => g("/v2/activity/candidate/:candidateId/establishment/:estab
1496
1470
  isAdmin: s,
1497
1471
  fetchSelf: async (d) => {
1498
1472
  if (e.value === null || d)
1499
- return xi().self().send().then((u) => e.value = u.getData());
1473
+ return Di().self().send().then((u) => e.value = u.getData());
1500
1474
  },
1501
1475
  fetchPermission: async (d, u) => {
1502
1476
  if (!t.value[d] || u)
1503
- return ii().authorizations(d).send().then((a) => t.value[d] = a.getData());
1477
+ return ni().authorizations(d).send().then((c) => t.value[d] = c.getData());
1504
1478
  }
1505
1479
  };
1506
- };
1507
- async function ho(e, ...t) {
1508
- if (!We().isAuthenticated())
1509
- throw "ERR_NOT_AUTHENTICATED";
1510
- const n = ht();
1511
- await Promise.all([
1512
- n.fetchSelf(),
1513
- n.fetchPermission(e)
1514
- ]);
1515
- for (let i = 0; i < t.length; i++) {
1516
- const s = t[i];
1517
- if (!n.hasPermission(e, s))
1518
- throw "ERR_MISSING_PERMISSION";
1519
- }
1520
- }
1521
- const yo = Bt("authorization", ht);
1480
+ }, mo = xt("authorization", ji);
1522
1481
  let F = null;
1523
1482
  function y() {
1524
1483
  if (F)
@@ -1553,7 +1512,7 @@ function y() {
1553
1512
  }, m._writeKey = t, m.SNIPPET_VERSION = "4.16.1", m.load(t), m.page(), m.ready(() => window.dispatchEvent(new Event("analytics-ready")));
1554
1513
  }
1555
1514
  }
1556
- async function c() {
1515
+ async function a() {
1557
1516
  return i !== null || (i = new Promise((m, h) => {
1558
1517
  if (!s())
1559
1518
  return p("Analytics is disabled."), m();
@@ -1589,7 +1548,7 @@ function y() {
1589
1548
  }
1590
1549
  }
1591
1550
  }
1592
- async function a(m, h, w) {
1551
+ async function c(m, h, w) {
1593
1552
  if (!z()) {
1594
1553
  typeof w != "object" && (w = {});
1595
1554
  try {
@@ -1607,28 +1566,28 @@ function y() {
1607
1566
  h || (h = []), n && A[w](`::SDK Analytics:: ${m}`, ...h);
1608
1567
  }
1609
1568
  return F = {
1610
- analyticsScriptReady: c,
1569
+ analyticsScriptReady: a,
1611
1570
  isEnabled: s,
1612
1571
  identify: d,
1613
1572
  page: u,
1614
- track: a,
1573
+ track: c,
1615
1574
  consoleMessage: p
1616
1575
  }, F;
1617
1576
  }
1618
1577
  y.destroy = () => F = null;
1619
- function Vi() {
1578
+ function xi() {
1620
1579
  const e = "Hubler Application";
1621
1580
  function t(u) {
1622
1581
  if (!u)
1623
1582
  throw new Error(`Missing arguments for domain "${e}"`);
1624
- const a = !!u.offerId;
1625
- if (a && !u.recruitmentId)
1583
+ const c = !!u.offerId;
1584
+ if (c && !u.recruitmentId)
1626
1585
  throw new Error(`Missing argument "recruitmentId" for domain "${e}"`);
1627
1586
  return {
1628
1587
  companyId: u.establishmentId ? u.establishmentId.toString() : null,
1629
- jobOfferId: a ? u.offerId.toString() : null,
1630
- recruitmentId: a ? u.recruitmentId.toString() : null,
1631
- selections: [a ? "Application" : "Spontaneous Application"]
1588
+ jobOfferId: c ? u.offerId.toString() : null,
1589
+ recruitmentId: c ? u.recruitmentId.toString() : null,
1590
+ selections: [c ? "Application" : "Spontaneous Application"]
1632
1591
  };
1633
1592
  }
1634
1593
  async function r(u) {
@@ -1646,7 +1605,7 @@ function Vi() {
1646
1605
  async function o(u) {
1647
1606
  return y().page("Application Document Viewed", e, t(u));
1648
1607
  }
1649
- async function c(u) {
1608
+ async function a(u) {
1650
1609
  return y().page("Application Success Viewed", e, t(u));
1651
1610
  }
1652
1611
  async function d(u) {
@@ -1660,11 +1619,11 @@ function Vi() {
1660
1619
  applicationJobViewed: i,
1661
1620
  applicationInformationViewed: s,
1662
1621
  applicationDocumentViewed: o,
1663
- applicationSuccessViewed: c,
1622
+ applicationSuccessViewed: a,
1664
1623
  applicationFormFailed: d
1665
1624
  };
1666
1625
  }
1667
- function zi() {
1626
+ function Vi() {
1668
1627
  const e = "Profile";
1669
1628
  function t(f, P) {
1670
1629
  var C;
@@ -1691,7 +1650,7 @@ function zi() {
1691
1650
  async function o(f) {
1692
1651
  return y().track(f.name, e, t(f.properties, !0));
1693
1652
  }
1694
- async function c(f) {
1653
+ async function a(f) {
1695
1654
  return y().track(f.name, e, t(f.properties, !0));
1696
1655
  }
1697
1656
  async function d(f) {
@@ -1700,7 +1659,7 @@ function zi() {
1700
1659
  async function u(f) {
1701
1660
  return y().track(f.name, e, t(f.properties, !0));
1702
1661
  }
1703
- async function a(f) {
1662
+ async function c(f) {
1704
1663
  return y().track(f.name, e, t(f.properties, !0));
1705
1664
  }
1706
1665
  async function p(f) {
@@ -1727,10 +1686,10 @@ function zi() {
1727
1686
  profileLabelRemoved: i,
1728
1687
  profileShared: s,
1729
1688
  profileArchived: o,
1730
- profileCandidateAdded: c,
1689
+ profileCandidateAdded: a,
1731
1690
  profileCommentAdded: d,
1732
1691
  profileDocumentAdded: u,
1733
- profileDocumentDownloaded: a,
1692
+ profileDocumentDownloaded: c,
1734
1693
  profileDocumentRequested: p,
1735
1694
  profileRecruitmentAdded: m,
1736
1695
  profileRecruitmentRemoved: h,
@@ -1739,7 +1698,7 @@ function zi() {
1739
1698
  profileEmailSent: $
1740
1699
  };
1741
1700
  }
1742
- function Bi() {
1701
+ function zi() {
1743
1702
  const e = "Recruitment";
1744
1703
  function t(n) {
1745
1704
  if (!n)
@@ -1756,15 +1715,15 @@ function Bi() {
1756
1715
  candidateAdded: r
1757
1716
  };
1758
1717
  }
1759
- function Fi() {
1718
+ function Bi() {
1760
1719
  const e = "Visual Builder";
1761
- function t(l, Mt) {
1720
+ function t(l, $t) {
1762
1721
  if (!l)
1763
1722
  throw new Error(`Missing arguments for domain "${e}"`);
1764
1723
  const B = {
1765
1724
  companyId: l.companyId ? l.companyId.toString() : null
1766
1725
  };
1767
- return Mt && (B.productId = l.companyId ? l.companyId + "_2" : null), l.selections && (B.selections = l.selections), l.error && (B.error = l.error), l.institutionId && (B.institutionId = [l.institutionId.toString()]), B;
1726
+ return $t && (B.productId = l.companyId ? l.companyId + "_2" : null), l.selections && (B.selections = l.selections), l.error && (B.error = l.error), l.institutionId && (B.institutionId = [l.institutionId.toString()]), B;
1768
1727
  }
1769
1728
  async function r(l) {
1770
1729
  return y().page(l.name, e, t(l.properties, !0));
@@ -1781,7 +1740,7 @@ function Fi() {
1781
1740
  async function o(l) {
1782
1741
  return y().page(l.name, e, t(l.properties, !0));
1783
1742
  }
1784
- async function c(l) {
1743
+ async function a(l) {
1785
1744
  return y().track(l.name, e, t(l.properties, !0));
1786
1745
  }
1787
1746
  async function d(l) {
@@ -1790,7 +1749,7 @@ function Fi() {
1790
1749
  async function u(l) {
1791
1750
  return y().page(l.name, e, t(l.properties, !0));
1792
1751
  }
1793
- async function a(l) {
1752
+ async function c(l) {
1794
1753
  return y().page(l.name, e, t(l.properties, !0));
1795
1754
  }
1796
1755
  async function p(l) {
@@ -1823,6 +1782,15 @@ function Fi() {
1823
1782
  async function C(l) {
1824
1783
  return y().page(l.name, e, t(l.properties, !1));
1825
1784
  }
1785
+ async function gt(l) {
1786
+ return y().track(l.name, e, t(l.properties, !0));
1787
+ }
1788
+ async function wt(l) {
1789
+ return y().track(l.name, e, t(l.properties, !0));
1790
+ }
1791
+ async function bt(l) {
1792
+ return y().track(l.name, e, t(l.properties, !0));
1793
+ }
1826
1794
  async function vt(l) {
1827
1795
  return y().track(l.name, e, t(l.properties, !0));
1828
1796
  }
@@ -1850,19 +1818,10 @@ function Fi() {
1850
1818
  async function Ct(l) {
1851
1819
  return y().track(l.name, e, t(l.properties, !0));
1852
1820
  }
1853
- async function _t(l) {
1854
- return y().track(l.name, e, t(l.properties, !0));
1855
- }
1856
1821
  async function kt(l) {
1857
1822
  return y().track(l.name, e, t(l.properties, !0));
1858
1823
  }
1859
- async function $t(l) {
1860
- return y().track(l.name, e, t(l.properties, !0));
1861
- }
1862
- async function Tt(l) {
1863
- return y().track(l.name, e, t(l.properties, !0));
1864
- }
1865
- async function Nt(l) {
1824
+ async function _t(l) {
1866
1825
  return y().page(l.name, e, t(l.properties, !1));
1867
1826
  }
1868
1827
  return {
@@ -1871,10 +1830,10 @@ function Fi() {
1871
1830
  setupBenefitCustomAdded: i,
1872
1831
  setupBenefitViewed: s,
1873
1832
  setupCandidateInformationViewed: o,
1874
- setupContactAdded: c,
1833
+ setupContactAdded: a,
1875
1834
  setupContactViewed: d,
1876
1835
  setupEditionDoneViewed: u,
1877
- setupExternalLinkViewed: a,
1836
+ setupExternalLinkViewed: c,
1878
1837
  setupImageUploaded: p,
1879
1838
  setupImageViewed: m,
1880
1839
  setupLocationViewed: h,
@@ -1885,30 +1844,30 @@ function Fi() {
1885
1844
  setupSocialNetworkViewed: P,
1886
1845
  setupThemeViewed: R,
1887
1846
  visualBuilderViewed: C,
1888
- setupImageUploadFailed: vt,
1889
- fastCopyLinkClicked: Et,
1890
- setupBenefitCustomDeleted: At,
1891
- setupBenefitCustomEdited: Pt,
1892
- setupContactDeleted: It,
1893
- setupContactEdited: Rt,
1894
- setupContactNewClicked: St,
1895
- setupPresentationContentDeleted: Ot,
1896
- setupPresentationContentDuplicated: Ct,
1897
- setupPresentationContentMoved: _t,
1898
- setupPresentationTabDeleted: kt,
1899
- setupPresentationTabEdited: $t,
1900
- setupPresentationTabMoved: Tt,
1901
- setupSEOViewed: Nt
1847
+ setupImageUploadFailed: gt,
1848
+ fastCopyLinkClicked: wt,
1849
+ setupBenefitCustomDeleted: bt,
1850
+ setupBenefitCustomEdited: vt,
1851
+ setupContactDeleted: Et,
1852
+ setupContactEdited: At,
1853
+ setupContactNewClicked: Pt,
1854
+ setupPresentationContentDeleted: It,
1855
+ setupPresentationContentDuplicated: Rt,
1856
+ setupPresentationContentMoved: St,
1857
+ setupPresentationTabDeleted: Ot,
1858
+ setupPresentationTabEdited: Ct,
1859
+ setupPresentationTabMoved: kt,
1860
+ setupSEOViewed: _t
1902
1861
  };
1903
1862
  }
1904
- const Be = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1863
+ const ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1905
1864
  __proto__: null,
1906
- useAnalyticsHublerApplication: Vi,
1907
- useAnalyticsProfile: zi,
1908
- useAnalyticsRecruitment: Bi,
1909
- useAnalyticsVisualBuilder: Fi
1865
+ useAnalyticsHublerApplication: xi,
1866
+ useAnalyticsProfile: Vi,
1867
+ useAnalyticsRecruitment: zi,
1868
+ useAnalyticsVisualBuilder: Bi
1910
1869
  }, Symbol.toStringTag, { value: "Module" }));
1911
- function go() {
1870
+ function ho() {
1912
1871
  function e(r) {
1913
1872
  return y().identify(r.id, {
1914
1873
  email: r.email,
@@ -1930,37 +1889,37 @@ function go() {
1930
1889
  identifyCandidate: e
1931
1890
  };
1932
1891
  }
1933
- let ie = null;
1934
- const Ui = async (e, t) => {
1892
+ let re = null;
1893
+ const Fi = async (e, t) => {
1935
1894
  try {
1936
- return await de(), A.info("[identify]", [e, t]), window.analytics.identify(e, t);
1895
+ return await le(), A.info("[identify]", [e, t]), window.analytics.identify(e, t);
1937
1896
  } catch {
1938
1897
  A.error("[identify]", [e, t]);
1939
1898
  }
1940
- }, Hi = async (e, t, r) => {
1899
+ }, Ui = async (e, t, r) => {
1941
1900
  typeof r != "object" && (r = {});
1942
1901
  try {
1943
- return await de(), A.info("[page]", [e, t, r]), window.analytics.page(e, {
1902
+ return await le(), A.info("[page]", [e, t, r]), window.analytics.page(e, {
1944
1903
  category: t,
1945
1904
  ...r
1946
1905
  });
1947
1906
  } catch {
1948
1907
  A.error("[page]", [e, t, r]);
1949
1908
  }
1950
- }, Qi = async (e, t, r) => {
1909
+ }, Hi = async (e, t, r) => {
1951
1910
  typeof r != "object" && (r = {});
1952
1911
  try {
1953
- return await de(), A.info("[track]", [e, t, r]), window.analytics.track(e, {
1912
+ return await le(), A.info("[track]", [e, t, r]), window.analytics.track(e, {
1954
1913
  category: t,
1955
1914
  ...r
1956
1915
  });
1957
1916
  } catch {
1958
1917
  A.error("[track]", [e, t, r]);
1959
1918
  }
1960
- }, Ee = () => {
1919
+ }, ve = () => {
1961
1920
  const e = j.getEnvironment();
1962
1921
  return e === "prod" || e === "production" ? "pPROC7dPoJ7XdxHrwsTQNXCGX79MJjhp" : e === "staging" ? "823rqOTwVk1ZCWVyBAdLInZ77TcFF0CF" : "TMZX6evFnu87JrBHV5qLwHsld5C6hilZ";
1963
- }, yt = () => {
1922
+ }, pt = () => {
1964
1923
  const e = window.analytics = window.analytics || [];
1965
1924
  if (!e.initialize && e.invoked)
1966
1925
  A.error("Segment snippet included twice.");
@@ -1982,44 +1941,44 @@ const Ui = async (e, t) => {
1982
1941
  n.id = "analytics-script", n.type = "text/javascript", n.async = !0, n.src = "https://cdn.segment.com/analytics.js/v1/" + t + "/analytics.min.js", n.onerror = () => window.dispatchEvent(new Event("analytics-error"));
1983
1942
  const i = document.getElementsByTagName("script")[0];
1984
1943
  i.parentNode.insertBefore(n, i), e._loadOptions = r;
1985
- }, e._writeKey = Ee(), e.SNIPPET_VERSION = "4.16.1", e.load(Ee()), e.page(), e.ready(() => window.dispatchEvent(new Event("analytics-ready")));
1944
+ }, e._writeKey = ve(), e.SNIPPET_VERSION = "4.16.1", e.load(ve()), e.page(), e.ready(() => window.dispatchEvent(new Event("analytics-ready")));
1986
1945
  }
1987
- }, de = () => (ie !== null || (ie = new Promise((e, t) => {
1946
+ }, le = () => (re !== null || (re = new Promise((e, t) => {
1988
1947
  if (window.addEventListener("analytics-ready", () => {
1989
1948
  A.info("Analytics script loaded successfully."), e();
1990
1949
  }), window.addEventListener("analytics-error", () => {
1991
1950
  A.error("Analytics script failed to load. Consider disabling your AdBlocker."), t();
1992
1951
  }), A.info("Loading Analytics script."), window.analytics)
1993
1952
  return e();
1994
- yt();
1995
- })), ie), wo = {
1996
- key: Ee,
1997
- appendScript: yt,
1998
- ready: de,
1999
- identify: Ui,
2000
- page: Hi,
2001
- track: Qi
2002
- }, qi = "AIzaSyDicyRD6rvVdnicp1tgV0ElazASNGbyyTs";
2003
- let gt = !1;
2004
- const wt = () => new Promise((e) => {
2005
- z() || gt || window.google && window.google.maps ? e() : (window.addEventListener("gmap-ready", () => e()), Wi());
2006
- }), Gi = (e, t) => wt().then(() => {
2007
- z() || Ki(e, t);
2008
- }), Ki = (e, t) => {
1953
+ pt();
1954
+ })), re), yo = {
1955
+ key: ve,
1956
+ appendScript: pt,
1957
+ ready: le,
1958
+ identify: Fi,
1959
+ page: Ui,
1960
+ track: Hi
1961
+ }, Qi = "AIzaSyDicyRD6rvVdnicp1tgV0ElazASNGbyyTs";
1962
+ let mt = !1;
1963
+ const ht = () => new Promise((e) => {
1964
+ z() || mt || window.google && window.google.maps ? e() : (window.addEventListener("gmap-ready", () => e()), Ki());
1965
+ }), qi = (e, t) => ht().then(() => {
1966
+ z() || Gi(e, t);
1967
+ }), Gi = (e, t) => {
2009
1968
  const r = new window.google.maps.places.Autocomplete(e, { componentRestrictions: { country: ["fr", "re", "yt", "gp", "mq"] } });
2010
1969
  window.google.maps.event.addListener(r, "place_changed", () => {
2011
1970
  const n = r.getPlace();
2012
1971
  n.formatted_address && t && t(n.formatted_address, n);
2013
1972
  });
2014
- }, Wi = () => {
1973
+ }, Ki = () => {
2015
1974
  window.onGmapScriptReady = () => {
2016
1975
  };
2017
1976
  const e = document.createElement("script");
2018
- e.src = "https://maps.googleapis.com/maps/api/js?key=" + qi + "&libraries=places&callback=onGmapScriptReady", e.async = !0, e.defer = !0, e.onload = () => window.dispatchEvent(new Event("gmap-ready")), document.body.appendChild(e), gt = !0;
2019
- }, bo = {
2020
- scriptReady: wt,
2021
- autocompleteInput: Gi
2022
- }, Ji = {
1977
+ e.src = "https://maps.googleapis.com/maps/api/js?key=" + Qi + "&libraries=places&callback=onGmapScriptReady", e.async = !0, e.defer = !0, e.onload = () => window.dispatchEvent(new Event("gmap-ready")), document.body.appendChild(e), mt = !0;
1978
+ }, go = {
1979
+ scriptReady: ht,
1980
+ autocompleteInput: qi
1981
+ }, Wi = {
2023
1982
  common: {
2024
1983
  the: "le",
2025
1984
  from: "de"
@@ -2044,20 +2003,20 @@ const wt = () => new Promise((e) => {
2044
2003
  minute: "minute | minutes",
2045
2004
  second: "seconde | secondes"
2046
2005
  }
2047
- }, Zi = {
2048
- fr: Ji
2006
+ }, Ji = {
2007
+ fr: Wi
2049
2008
  };
2050
- let Ae = null;
2051
- const Xi = () => Ae, vo = (e = {}) => {
2009
+ let Ee = null;
2010
+ const Zi = () => Ee, wo = (e = {}) => {
2052
2011
  let t = e.locale || "fr";
2053
- const r = (d) => t = d, n = () => t, i = qe(Zi, (e == null ? void 0 : e.messages) || {}), s = (d, u) => {
2054
- const a = D(i, `${t}.${d}`);
2055
- return a ? u ? Yi(a, u) : a : d;
2012
+ const r = (d) => t = d, n = () => t, i = Qe(Ji, (e == null ? void 0 : e.messages) || {}), s = (d, u) => {
2013
+ const c = D(i, `${t}.${d}`);
2014
+ return c ? u ? Xi(c, u) : c : d;
2056
2015
  }, o = (d, u) => {
2057
- const a = D(i, `${t}.${d}`);
2058
- return a ? es(a, u) : d;
2016
+ const c = D(i, `${t}.${d}`);
2017
+ return c ? Yi(c, u) : d;
2059
2018
  };
2060
- return Ae = {
2019
+ return Ee = {
2061
2020
  t: s,
2062
2021
  tNode: o,
2063
2022
  setLocale: r,
@@ -2065,31 +2024,31 @@ const Xi = () => Ae, vo = (e = {}) => {
2065
2024
  install: (d) => {
2066
2025
  d.config.globalProperties.$t = s, d.config.globalProperties.$tNode = o;
2067
2026
  }
2068
- }, Ae;
2069
- }, Yi = (e, t) => e ? e.replace(/{{ ?([a-zA-Z_.]+) ?}}/g, (r, n) => D(t, n)) : null, es = (e, t) => {
2027
+ }, Ee;
2028
+ }, Xi = (e, t) => e ? e.replace(/{{ ?([a-zA-Z_.]+) ?}}/g, (r, n) => D(t, n)) : null, Yi = (e, t) => {
2070
2029
  if (!e)
2071
2030
  return null;
2072
2031
  const r = e.split(/(\{[{%]+[^{}]*[%}]+})/g).filter((n) => n !== "").map((n) => {
2073
2032
  const i = n.startsWith("{%") && n.endsWith("%}") ? "slot" : n.startsWith("{{") && n.endsWith("}}") ? "variable" : "text";
2074
2033
  if (i === "text")
2075
- return () => Fe.text(n);
2034
+ return () => Be.text(n);
2076
2035
  n = n.replace(/[{}%]/g, "").trim();
2077
2036
  const s = n.match(/^[a-zA-Z_.]+/)[0];
2078
2037
  n = n.replace(s, "").trim();
2079
2038
  const o = {};
2080
- return n !== "" && ([...n.matchAll(/([a-zA-Z_.]+)(=([a-zA-Z_.]+))?/g)].reduce((u, a) => (a[3] === void 0 ? Q(u, a[1], D(t, a[1])) : Q(u, a[1], D(t, a[3])), u), o), [...n.matchAll(/([a-zA-Z_.]+)="([^"]+)"/g)].reduce((u, a) => {
2081
- let p = a[2];
2082
- return new RegExp(/^[0-9]*$/).exec(a[2]) ? p = parseInt(a[2]) : new RegExp(/^(true|false)$/).exec(a[2]) && (p = a[2] === "true"), u[a[1]] = p, u;
2083
- }, o)), (c) => Fe[i](s, t, c, o);
2039
+ return n !== "" && ([...n.matchAll(/([a-zA-Z_.]+)(=([a-zA-Z_.]+))?/g)].reduce((u, c) => (c[3] === void 0 ? Q(u, c[1], D(t, c[1])) : Q(u, c[1], D(t, c[3])), u), o), [...n.matchAll(/([a-zA-Z_.]+)="([^"]+)"/g)].reduce((u, c) => {
2040
+ let p = c[2];
2041
+ return new RegExp(/^[0-9]*$/).exec(c[2]) ? p = parseInt(c[2]) : new RegExp(/^(true|false)$/).exec(c[2]) && (p = c[2] === "true"), u[c[1]] = p, u;
2042
+ }, o)), (a) => Be[i](s, t, a, o);
2084
2043
  });
2085
2044
  return { setup: (n, { slots: i }) => () => r.map((s) => s(i)) };
2086
- }, Fe = {
2087
- slot: (e, t, r, n) => fe("span", { class: "node node--slot" }, r[e.trim()](n)),
2088
- variable: (e, t) => fe("span", { class: "node node--variable" }, D(t, e.trim())),
2089
- text: (e) => fe("span", { class: "node node--text" }, e)
2045
+ }, Be = {
2046
+ slot: (e, t, r, n) => de("span", { class: "node node--slot" }, r[e.trim()](n)),
2047
+ variable: (e, t) => de("span", { class: "node node--variable" }, D(t, e.trim())),
2048
+ text: (e) => de("span", { class: "node node--text" }, e)
2090
2049
  };
2091
- function Eo(e) {
2092
- const { t } = Xi(), r = {
2050
+ function bo(e) {
2051
+ const { t } = Zi(), r = {
2093
2052
  justNow: t("timeAgo.just-now"),
2094
2053
  past: (n) => n.match(/\d/) ? t("timeAgo.ago", [n]) : n,
2095
2054
  future: (n) => n.match(/\d/) ? t("timeAgo.in", [n]) : n,
@@ -2102,12 +2061,12 @@ function Eo(e) {
2102
2061
  second: (n) => `${n} ${t("timeAgo.second", n)}`,
2103
2062
  invalid: ""
2104
2063
  };
2105
- return Ft(e, {
2064
+ return Vt(e, {
2106
2065
  fullDateFormatter: (n) => n.toLocaleDateString(),
2107
2066
  messages: r
2108
2067
  });
2109
2068
  }
2110
- function ts() {
2069
+ function es() {
2111
2070
  let e = null;
2112
2071
  function t() {
2113
2072
  return e;
@@ -2127,13 +2086,13 @@ function ts() {
2127
2086
  function o() {
2128
2087
  return !!(e && e.controller && e.action);
2129
2088
  }
2130
- function c() {
2089
+ function a() {
2131
2090
  window.location.search.length !== 0 && (e = window.location.search.substring(1).split("&").reduce((d, u) => {
2132
- const a = u.split("=");
2133
- return a[0] === "controller" || a[0] === "action" ? d[a[0]] = decodeURIComponent(a[1]) : d.arguments[a[0]] = decodeURIComponent(a[1]), d;
2091
+ const c = u.split("=");
2092
+ return c[0] === "controller" || c[0] === "action" ? d[c[0]] = decodeURIComponent(c[1]) : d.arguments[c[0]] = decodeURIComponent(c[1]), d;
2134
2093
  }, { controller: null, action: null, arguments: {} }));
2135
2094
  }
2136
- return c(), {
2095
+ return a(), {
2137
2096
  getParams: t,
2138
2097
  getController: r,
2139
2098
  getControllerComposableName: n,
@@ -2142,18 +2101,18 @@ function ts() {
2142
2101
  hasAction: o
2143
2102
  };
2144
2103
  }
2145
- function ns() {
2104
+ function ts() {
2146
2105
  async function e({ domain: n, event: i, ...s }) {
2147
2106
  const o = "useAnalytics" + n.charAt(0).toUpperCase() + n.slice(1);
2148
2107
  if (!t(o))
2149
2108
  throw new Error(`Domain ${n} is not defined`);
2150
- const c = Be[o]();
2151
- if (!r(c, i))
2109
+ const a = ze[o]();
2110
+ if (!r(a, i))
2152
2111
  throw new Error(`Event ${i} is not defined in domain ${n}`);
2153
- return c[i](s);
2112
+ return a[i](s);
2154
2113
  }
2155
2114
  function t(n) {
2156
- return !!Be[n];
2115
+ return !!ze[n];
2157
2116
  }
2158
2117
  function r(n, i) {
2159
2118
  return !!n[i];
@@ -2162,23 +2121,23 @@ function ns() {
2162
2121
  call: e
2163
2122
  };
2164
2123
  }
2165
- const Ue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2124
+ const Fe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2166
2125
  __proto__: null,
2167
- useAnalyticsQSController: ns
2126
+ useAnalyticsQSController: ts
2168
2127
  }, Symbol.toStringTag, { value: "Module" }));
2169
- function rs(e) {
2128
+ function ns(e) {
2170
2129
  if (!e.hasAction())
2171
2130
  throw new Error("No action found in router");
2172
2131
  function t() {
2173
2132
  if (!r())
2174
2133
  throw new Error(`Controller ${e.getController()} not found`);
2175
- const i = Ue[e.getControllerComposableName()]();
2134
+ const i = Fe[e.getControllerComposableName()]();
2176
2135
  if (!n(i))
2177
2136
  throw new Error(`Action ${e.getAction()} not found in controller ${e.getController()}`);
2178
2137
  return i[e.getAction()](e.getArguments());
2179
2138
  }
2180
2139
  function r() {
2181
- return e.getControllerComposableName() in Ue;
2140
+ return e.getControllerComposableName() in Fe;
2182
2141
  }
2183
2142
  function n(i) {
2184
2143
  return e.getAction() in i;
@@ -2187,7 +2146,7 @@ function rs(e) {
2187
2146
  dispatch: t
2188
2147
  };
2189
2148
  }
2190
- function Ao() {
2149
+ function vo() {
2191
2150
  let e = !1;
2192
2151
  function t(i, s, o) {
2193
2152
  n(), o();
@@ -2198,10 +2157,10 @@ function Ao() {
2198
2157
  o();
2199
2158
  }
2200
2159
  function n() {
2201
- const i = ts();
2160
+ const i = es();
2202
2161
  if (!i.hasAction())
2203
2162
  return;
2204
- rs(i).dispatch();
2163
+ ns(i).dispatch();
2205
2164
  }
2206
2165
  return {
2207
2166
  vueRouterBeforeEach: t,
@@ -2209,7 +2168,7 @@ function Ao() {
2209
2168
  handle: n
2210
2169
  };
2211
2170
  }
2212
- const is = (e, t, r) => {
2171
+ const rs = (e, t, r) => {
2213
2172
  const n = {};
2214
2173
  for (const i of e)
2215
2174
  t.query[i] !== void 0 && (n[i] = t.query[i]);
@@ -2220,160 +2179,159 @@ const is = (e, t, r) => {
2220
2179
  r.replace(i);
2221
2180
  }
2222
2181
  return n;
2223
- }, Po = (e, t, r) => is([e], t, r)[e], Io = () => ({ getAssetUrl: (t) => `${j.getBaseAssetsUrl()}${t}` }), E = () => j.getMainAppHost(), ss = () => `${E()}/rh/establishments`, os = (e) => `${E()}/rh/establishment/${e}`, as = (e) => {
2182
+ }, Eo = (e, t, r) => rs([e], t, r)[e], Ao = () => ({ getAssetUrl: (t) => `${j.getBaseAssetsUrl()}${t}` }), E = () => j.getMainAppHost(), is = () => `${E()}/rh/establishments`, ss = (e) => `${E()}/rh/establishment/${e}`, os = (e) => {
2224
2183
  var t;
2225
2184
  return typeof e == "string" ? e : typeof e == "object" && ((t = e == null ? void 0 : e.urls) != null && t.display) ? e.urls.display : null;
2226
- }, cs = () => `${E()}/rh/dashboard`, us = (e) => `${E()}/candidate-invite/establishment/${e}`, ls = (e, t = !1) => t ? `${E()}/cvbank/${e}` : `${E()}/rh/establishment/${e}/cvtheque`, ds = (e, t) => `${E()}/user-profile/establishment/${e}/user/${t}`, fs = (e) => `${E()}/rh/establishment/${e}/recruitment`, ps = (e, t) => `${E()}/rh/establishment/${e}/recruitment/${t}`, ms = (e, t) => `${E()}/rh/establishment/${e}/recruitment/${t}/kanban`, hs = (e) => `${E()}/rh/establishment/${e}/career-configuration`, ys = (e, t = null) => t ? `${E()}/career-website/${e}/${t}` : `${E()}/career-website/${e}`, gs = (e, t) => `${E()}/career-website-preview/${e}/${t}`, ws = (e, t = null) => {
2185
+ }, as = () => `${E()}/rh/dashboard`, cs = (e) => `${E()}/candidate-invite/establishment/${e}`, us = (e, t = !1) => t ? `${E()}/cvbank/${e}` : `${E()}/rh/establishment/${e}/cvtheque`, ls = (e, t) => `${E()}/user-profile/establishment/${e}/user/${t}`, ds = (e) => `${E()}/rh/establishment/${e}/recruitment`, fs = (e, t) => `${E()}/rh/establishment/${e}/recruitment/${t}`, ps = (e, t) => `${E()}/rh/establishment/${e}/recruitment/${t}/kanban`, ms = (e) => `${E()}/rh/establishment/${e}/career-configuration`, hs = (e, t = null) => t ? `${E()}/career-website/${e}/${t}` : `${E()}/career-website/${e}`, ys = (e, t) => `${E()}/career-website-preview/${e}/${t}`, gs = (e, t = null) => {
2227
2186
  const r = E().replace("://", `://${e}.`);
2228
2187
  return t ? `${r}?_version=${t}` : `${r}`;
2229
- }, bs = (e) => `${E()}/rh/establishment/${e}/stats`, vs = (e) => `${E()}/rh/establishment/${e}/backoffice`, Es = () => `${E()}/rh/settings/general`;
2230
- function Ro() {
2188
+ }, ws = (e) => `${E()}/rh/establishment/${e}/stats`, bs = (e) => `${E()}/rh/establishment/${e}/backoffice`, vs = () => `${E()}/rh/settings/general`;
2189
+ function Po() {
2231
2190
  return {
2232
2191
  root: E,
2233
- establishments: ss,
2234
- establishment: os,
2235
- img: as,
2236
- dashboard: cs,
2237
- candidateInvite: us,
2238
- cvtheque: ls,
2239
- userProfile: ds,
2240
- recruitments: fs,
2241
- recruitment: ps,
2242
- recruitmentKanban: ms,
2243
- career: hs,
2244
- careerConfig: ys,
2245
- careerPreview: gs,
2246
- careerWebsite: ws,
2247
- statistics: bs,
2248
- backoffice: vs,
2249
- userSettings: Es
2192
+ establishments: is,
2193
+ establishment: ss,
2194
+ img: os,
2195
+ dashboard: as,
2196
+ candidateInvite: cs,
2197
+ cvtheque: us,
2198
+ userProfile: ls,
2199
+ recruitments: ds,
2200
+ recruitment: fs,
2201
+ recruitmentKanban: ps,
2202
+ career: ms,
2203
+ careerConfig: hs,
2204
+ careerPreview: ys,
2205
+ careerWebsite: gs,
2206
+ statistics: ws,
2207
+ backoffice: bs,
2208
+ userSettings: vs
2250
2209
  };
2251
2210
  }
2252
- const He = /* @__PURE__ */ new Set();
2253
- let H, Pe = {
2211
+ const Ue = /* @__PURE__ */ new Set();
2212
+ let H, Ae = {
2254
2213
  ignore: (e) => e.startsWith("Ui")
2255
2214
  };
2256
- const he = (e) => {
2215
+ const me = (e) => {
2257
2216
  if (e != null && e.classList) {
2258
2217
  e._cssChecked = !0;
2259
2218
  for (const t of e.classList)
2260
- H.has(t) || He.has(t) || Pe.ignore(t) || (He.add(t), A.error(`Undefined CSS class: ${t}`));
2219
+ H.has(t) || Ue.has(t) || Ae.ignore(t) || (Ue.add(t), A.error(`Undefined CSS class: ${t}`));
2261
2220
  }
2262
- }, bt = (e) => {
2221
+ }, yt = (e) => {
2263
2222
  var t;
2264
2223
  for (const r of e)
2265
2224
  if (r != null && r.cssRules && (r == null ? void 0 : r.cssRules.length) > 0)
2266
- bt(r.cssRules);
2225
+ yt(r.cssRules);
2267
2226
  else if (r.selectorText) {
2268
2227
  const n = (t = r.selectorText) == null ? void 0 : t.match(/\.[\w-]+/g);
2269
2228
  if (n)
2270
2229
  for (const i of n)
2271
2230
  H.add(i.substr(1));
2272
2231
  }
2273
- }, So = (e = {}) => {
2232
+ }, Io = (e = {}) => {
2274
2233
  if (H)
2275
2234
  return H;
2276
- H = /* @__PURE__ */ new Set(), Pe = { ...Pe, ...e }, bt(document.styleSheets), new MutationObserver((r) => {
2235
+ H = /* @__PURE__ */ new Set(), Ae = { ...Ae, ...e }, yt(document.styleSheets), new MutationObserver((r) => {
2277
2236
  for (const n of r)
2278
2237
  if (n.type === "childList" && (n != null && n.addedNodes)) {
2279
2238
  for (const i of n.addedNodes)
2280
2239
  if (!(i.nodeType === 3 || i.nodeType === 8)) {
2281
- he(i);
2240
+ me(i);
2282
2241
  for (const s of i.querySelectorAll("*"))
2283
- he(s);
2242
+ me(s);
2284
2243
  }
2285
2244
  } else
2286
- (n == null ? void 0 : n.attributeName) === "class" && he(n.target);
2245
+ (n == null ? void 0 : n.attributeName) === "class" && me(n.target);
2287
2246
  }).observe(document, {
2288
2247
  attributes: !0,
2289
2248
  childList: !0,
2290
2249
  subtree: !0
2291
2250
  });
2292
- }, Oo = "0.2.77";
2251
+ }, Ro = "0.2.78";
2293
2252
  export {
2294
- wo as Analytics,
2295
- ve as BaseLogger,
2296
- bo as Gmap,
2253
+ yo as Analytics,
2254
+ be as BaseLogger,
2255
+ go as Gmap,
2297
2256
  j as SDKConfig,
2298
2257
  A as SDKLogger,
2299
- Oo as VERSION,
2300
- ln as _clone,
2258
+ Ro as VERSION,
2259
+ an as _clone,
2301
2260
  D as _get,
2302
- Fs as _map,
2303
- qe as _merge,
2304
- Ge as _pathList,
2261
+ Bs as _map,
2262
+ Qe as _merge,
2263
+ qe as _pathList,
2305
2264
  Q as _set,
2306
- un as _setMany,
2307
- ye as buildObjectValidation,
2308
- Po as consumeQueryParam,
2309
- is as consumeQueryParams,
2310
- vo as createI18n,
2311
- Hs as ensureScheme,
2312
- zs as hasOrIsInClass,
2313
- Bs as inBrowser,
2265
+ on as _setMany,
2266
+ he as buildObjectValidation,
2267
+ Eo as consumeQueryParam,
2268
+ rs as consumeQueryParams,
2269
+ wo as createI18n,
2270
+ Us as ensureScheme,
2271
+ Vs as hasOrIsInClass,
2272
+ zs as inBrowser,
2314
2273
  z as inNode,
2315
- oe as isArray,
2316
- js as isArrayOf,
2317
- _s as isBoolean,
2318
- Ts as isDate,
2319
- Ds as isFalsy,
2320
- Ns as isFunction,
2321
- Os as isMobile,
2322
- Ms as isNotNullOrUndefined,
2323
- on as isNull,
2324
- cn as isNullOrUndefined,
2274
+ se as isArray,
2275
+ Ds as isArrayOf,
2276
+ Cs as isBoolean,
2277
+ $s as isDate,
2278
+ Ls as isFalsy,
2279
+ Ts as isFunction,
2280
+ Ss as isMobile,
2281
+ Ns as isNotNullOrUndefined,
2282
+ nn as isNull,
2283
+ sn as isNullOrUndefined,
2325
2284
  ks as isNumber,
2326
- ae as isObject,
2327
- xs as isObjectOf,
2328
- Vs as isObjectValid,
2329
- $s as isString,
2330
- Ls as isTruthy,
2331
- an as isUndefined,
2332
- Cs as sanitizeObject,
2333
- Us as secureScheme,
2334
- sn as transpileAsserts,
2335
- Qs as useActivityRepository,
2336
- Vi as useAnalyticsHublerApplication,
2337
- go as useAnalyticsIdentify,
2338
- zi as useAnalyticsProfile,
2339
- Bi as useAnalyticsRecruitment,
2340
- Fi as useAnalyticsVisualBuilder,
2341
- Io as useAssetUrls,
2342
- We as useAuthentication,
2343
- ht as useAuthorization,
2344
- yo as useAuthorizationStore,
2345
- ho as useCanAccessEstablishmentMiddleware,
2346
- qs as useCandidateRepository,
2347
- Gs as useCommentRepository,
2348
- Ks as useContractTypeRepository,
2349
- pn as useCookieStorage,
2350
- Ws as useCvbankRepository,
2351
- Js as useCvthequeRepository,
2352
- Zs as useDiplomaRepository,
2353
- Xs as useDocumentRepository,
2354
- Ro as useDomainUrls,
2355
- Ys as useEmailHistoryRepository,
2356
- eo as useEmailRepository,
2357
- to as useEmailTemplateRepository,
2358
- no as useEstablishmentCareerRepository,
2359
- ii as useEstablishmentRepository,
2360
- ro as useFeatureFlagRepository,
2361
- Xi as useI18n,
2362
- io as useJobRepository,
2363
- so as useLabelRepository,
2364
- Eo as useLocaleTimeAgo,
2365
- rn as useObjectValidation,
2366
- oo as useOfferRepository,
2285
+ oe as isObject,
2286
+ js as isObjectOf,
2287
+ xs as isObjectValid,
2288
+ _s as isString,
2289
+ Ms as isTruthy,
2290
+ rn as isUndefined,
2291
+ Os as sanitizeObject,
2292
+ Fs as secureScheme,
2293
+ tn as transpileAsserts,
2294
+ Hs as useActivityRepository,
2295
+ xi as useAnalyticsHublerApplication,
2296
+ ho as useAnalyticsIdentify,
2297
+ Vi as useAnalyticsProfile,
2298
+ zi as useAnalyticsRecruitment,
2299
+ Bi as useAnalyticsVisualBuilder,
2300
+ Ao as useAssetUrls,
2301
+ dn as useAuthentication,
2302
+ ji as useAuthorization,
2303
+ mo as useAuthorizationStore,
2304
+ Qs as useCandidateRepository,
2305
+ qs as useCommentRepository,
2306
+ Gs as useContractTypeRepository,
2307
+ ln as useCookieStorage,
2308
+ Ks as useCvbankRepository,
2309
+ Ws as useCvthequeRepository,
2310
+ Js as useDiplomaRepository,
2311
+ Zs as useDocumentRepository,
2312
+ Po as useDomainUrls,
2313
+ Xs as useEmailHistoryRepository,
2314
+ Ys as useEmailRepository,
2315
+ eo as useEmailTemplateRepository,
2316
+ to as useEstablishmentCareerRepository,
2317
+ ni as useEstablishmentRepository,
2318
+ no as useFeatureFlagRepository,
2319
+ Zi as useI18n,
2320
+ ro as useJobRepository,
2321
+ io as useLabelRepository,
2322
+ bo as useLocaleTimeAgo,
2323
+ en as useObjectValidation,
2324
+ so as useOfferRepository,
2367
2325
  g as usePrivateRequest,
2368
- Ao as useQSAction,
2369
- ao as useRecruiterRepository,
2370
- co as useRecruitmentRepository,
2371
- uo as useRegisterRepository,
2372
- lo as useRegistrationRepository,
2326
+ vo as useQSAction,
2327
+ oo as useRecruiterRepository,
2328
+ ao as useRecruitmentRepository,
2329
+ co as useRegisterRepository,
2330
+ uo as useRegistrationRepository,
2373
2331
  I as useRequest,
2374
- fo as useSpecialityRepository,
2375
- po as useTagRepository,
2376
- mo as useTalentRepository,
2377
- So as useUndefinedCssClasses,
2378
- xi as useUserRepository
2332
+ lo as useSpecialityRepository,
2333
+ fo as useTagRepository,
2334
+ po as useTalentRepository,
2335
+ Io as useUndefinedCssClasses,
2336
+ Di as useUserRepository
2379
2337
  };