jplan-pack 0.6.566 → 0.6.567
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AuthFailRoute-DYGcOkB1.js → AuthFailRoute-C7ZgOlPJ.js} +1 -1
- package/dist/{AuthFailRoute-CiOt07Gb.mjs → AuthFailRoute-Cmc50vAC.mjs} +1 -1
- package/dist/{AuthRoute-DT7TDNqB.js → AuthRoute-c_LzqAwx.js} +1 -1
- package/dist/{AuthRoute-BC90rwNt.mjs → AuthRoute-haYBz2TY.mjs} +1 -1
- package/dist/{index-Btd19MGX.mjs → index-DSpYEzqe.mjs} +625 -623
- package/dist/{index-CS29lH-N.js → index-H8yC-9kI.js} +14 -14
- package/dist/index.css +1 -1
- package/dist/jplan-pack.cjs.js +1 -1
- package/dist/jplan-pack.es.js +42 -41
- package/dist/types/assets/index.d.ts +2 -0
- package/dist/types/components/SearchFilter.d.ts +7 -2
- package/dist/types/index.d.ts +1 -0
- package/package.json +1 -1
@@ -1,23 +1,23 @@
|
|
1
|
-
import { defineComponent as Te, resolveComponent as Dr, unref as
|
1
|
+
import { defineComponent as Te, resolveComponent as Dr, unref as te, openBlock as x, createElementBlock as oe, createVNode as A, withCtx as k, normalizeStyle as za, createCommentVNode as ge, Fragment as ht, createBlock as Q, resolveDynamicComponent as Va, createTextVNode as H, toDisplayString as we, useSlots as XR, mergeProps as Et, renderSlot as Se, effectScope as Hv, ref as ee, markRaw as bo, toRaw as Ii, watch as xi, hasInjectionContext as ZR, inject as Fv, getCurrentInstance as Wa, reactive as ek, isRef as Oo, isReactive as uh, toRef as Gu, nextTick as Pd, computed as Pt, getCurrentScope as tk, onScopeDispose as nk, toRefs as Ym, onUnmounted as dh, onMounted as Bv, normalizeClass as Oa, createElementVNode as ne, toHandlers as rk, withModifiers as $v, TransitionGroup as ok, renderList as oo, provide as ik, createApp as ak, normalizeProps as sk, guardReactiveProps as ck, mergeModels as Pa, useModel as Ri, createSlots as lk, h as wa, withKeys as uk, withDirectives as Jm, vShow as Qm, useAttrs as dk, onBeforeMount as hk } from "vue";
|
2
2
|
import * as fk from "@vueuse/core";
|
3
3
|
import { useClipboard as gk, useIntervalFn as mk } from "@vueuse/core";
|
4
4
|
import { VBtn as je } from "vuetify/lib/components/VBtn/index.mjs";
|
5
|
-
import { VTooltip as pk, VBtn as
|
5
|
+
import { VTooltip as pk, VBtn as Ma, VMenu as Kv, VList as vk, VListItem as yk, VListItemTitle as wk, VDivider as _k, VTextField as Ck, VSelect as Tk } from "vuetify/components";
|
6
6
|
import { VIcon as kc } from "vuetify/lib/components/VIcon/index.mjs";
|
7
|
-
import { VCard as
|
8
|
-
import { VDialog as
|
7
|
+
import { VCard as Na, VCardTitle as hh, VCardText as Da, VCardActions as _a } from "vuetify/lib/components/VCard/index.mjs";
|
8
|
+
import { VDialog as dc } from "vuetify/lib/components/VDialog/index.mjs";
|
9
9
|
import { VDivider as Po } from "vuetify/lib/components/VDivider/index.mjs";
|
10
|
-
import { VCol as Ot, VSpacer as
|
10
|
+
import { VCol as Ot, VSpacer as xa, VRow as dr } from "vuetify/lib/components/VGrid/index.mjs";
|
11
11
|
import { VAvatar as zv } from "vuetify/lib/components/VAvatar/index.mjs";
|
12
12
|
import { VImg as fh } from "vuetify/lib/components/VImg/index.mjs";
|
13
|
-
import { VList as Vv, VListItem as
|
13
|
+
import { VList as Vv, VListItem as hc, VListItemAction as Ek, VListItemTitle as fc, VListItemSubtitle as ju } from "vuetify/lib/components/VList/index.mjs";
|
14
14
|
import { VMenu as Wv } from "vuetify/lib/components/VMenu/index.mjs";
|
15
15
|
import { VDataTable as qv } from "vuetify/lib/components/VDataTable/index.mjs";
|
16
16
|
import { VTextField as Ak } from "vuetify/lib/components/VTextField/index.mjs";
|
17
17
|
import { VSelect as Ca } from "vuetify/lib/components/VSelect/index.mjs";
|
18
18
|
import { VCheckbox as bk } from "vuetify/lib/components/VCheckbox/index.mjs";
|
19
19
|
import { VChip as Sk } from "vuetify/lib/components/VChip/index.mjs";
|
20
|
-
import { VLabel as
|
20
|
+
import { VLabel as La } from "vuetify/lib/components/VLabel/index.mjs";
|
21
21
|
import { VTextarea as Ik } from "vuetify/lib/components/VTextarea/index.mjs";
|
22
22
|
import { VBtnToggle as Rk } from "vuetify/lib/components/VBtnToggle/index.mjs";
|
23
23
|
const kk = { key: 0 }, Ok = { key: 1 }, gh = /* @__PURE__ */ Te({
|
@@ -31,11 +31,11 @@ const kk = { key: 0 }, Ok = { key: 1 }, gh = /* @__PURE__ */ Te({
|
|
31
31
|
const e = r, { copy: t, copied: n, isSupported: i } = gk();
|
32
32
|
return (s, c) => {
|
33
33
|
const u = Dr("CopyIcon");
|
34
|
-
return
|
34
|
+
return te(i) ? (x(), oe("span", kk, [
|
35
35
|
A(je, {
|
36
36
|
icon: "",
|
37
37
|
variant: "text",
|
38
|
-
onClick: c[0] || (c[0] = (h) =>
|
38
|
+
onClick: c[0] || (c[0] = (h) => te(t)(e.contentToCopy)),
|
39
39
|
size: s.size,
|
40
40
|
color: s.color
|
41
41
|
}, {
|
@@ -44,9 +44,9 @@ const kk = { key: 0 }, Ok = { key: 1 }, gh = /* @__PURE__ */ Te({
|
|
44
44
|
]),
|
45
45
|
_: 1
|
46
46
|
}, 8, ["size", "color"]),
|
47
|
-
|
47
|
+
te(n) ? (x(), oe("span", {
|
48
48
|
key: 0,
|
49
|
-
style:
|
49
|
+
style: za({ fontSize: typeof e.size == "number" ? e.size - 4 + "px" : void 0 }),
|
50
50
|
class: "ms-1"
|
51
51
|
}, " Copied ", 4)) : ge("", !0)
|
52
52
|
])) : (x(), oe("p", Ok, "Your browser does not support Clipboard API"));
|
@@ -64,7 +64,7 @@ const kk = { key: 0 }, Ok = { key: 1 }, gh = /* @__PURE__ */ Te({
|
|
64
64
|
},
|
65
65
|
setup(r) {
|
66
66
|
return (e, t) => (x(), oe(ht, null, [
|
67
|
-
typeof e.item == "object" && "name" in e.item ? (x(), Q(
|
67
|
+
typeof e.item == "object" && "name" in e.item ? (x(), Q(Va(e.item.name), {
|
68
68
|
key: 0,
|
69
69
|
size: e.size,
|
70
70
|
"stroke-width": e.stroke,
|
@@ -94,13 +94,13 @@ const kk = { key: 0 }, Ok = { key: 1 }, gh = /* @__PURE__ */ Te({
|
|
94
94
|
emits: ["click"],
|
95
95
|
setup(r) {
|
96
96
|
const e = r, t = XR();
|
97
|
-
return (n, i) => n.tooltip ? (x(), Q(
|
97
|
+
return (n, i) => n.tooltip ? (x(), Q(te(pk), {
|
98
98
|
key: 0,
|
99
99
|
text: n.tooltip,
|
100
100
|
"open-delay": "1000"
|
101
101
|
}, {
|
102
102
|
activator: k(({ props: s }) => [
|
103
|
-
A(
|
103
|
+
A(te(Ma), Et(s, {
|
104
104
|
variant: n.variant,
|
105
105
|
color: n.color,
|
106
106
|
icon: "",
|
@@ -108,7 +108,7 @@ const kk = { key: 0 }, Ok = { key: 1 }, gh = /* @__PURE__ */ Te({
|
|
108
108
|
onClick: i[0] || (i[0] = (c) => n.$emit("click"))
|
109
109
|
}), {
|
110
110
|
default: k(() => [
|
111
|
-
!
|
111
|
+
!te(t).default && s.icon ? (x(), Q(Xm, {
|
112
112
|
key: 0,
|
113
113
|
item: s.icon,
|
114
114
|
size: s.size
|
@@ -119,7 +119,7 @@ const kk = { key: 0 }, Ok = { key: 1 }, gh = /* @__PURE__ */ Te({
|
|
119
119
|
}, 1040, ["variant", "color", "size"])
|
120
120
|
]),
|
121
121
|
_: 3
|
122
|
-
}, 8, ["text"])) : (x(), Q(
|
122
|
+
}, 8, ["text"])) : (x(), Q(te(Ma), {
|
123
123
|
key: 1,
|
124
124
|
variant: n.variant,
|
125
125
|
color: n.color,
|
@@ -128,7 +128,7 @@ const kk = { key: 0 }, Ok = { key: 1 }, gh = /* @__PURE__ */ Te({
|
|
128
128
|
onClick: i[1] || (i[1] = (s) => n.$emit("click"))
|
129
129
|
}, {
|
130
130
|
default: k(() => [
|
131
|
-
!
|
131
|
+
!te(t).default && e.icon ? (x(), Q(Xm, {
|
132
132
|
key: 0,
|
133
133
|
item: e.icon,
|
134
134
|
size: e.size
|
@@ -149,7 +149,7 @@ const kk = { key: 0 }, Ok = { key: 1 }, gh = /* @__PURE__ */ Te({
|
|
149
149
|
},
|
150
150
|
emits: ["click"],
|
151
151
|
setup(r) {
|
152
|
-
return (e, t) => (x(), Q(
|
152
|
+
return (e, t) => (x(), Q(te(Ma), {
|
153
153
|
"prepend-icon": e.icon,
|
154
154
|
variant: e.variant,
|
155
155
|
color: e.color,
|
@@ -165,7 +165,7 @@ const kk = { key: 0 }, Ok = { key: 1 }, gh = /* @__PURE__ */ Te({
|
|
165
165
|
}
|
166
166
|
});
|
167
167
|
var Gv = !1;
|
168
|
-
function
|
168
|
+
function Ys(r, e, t) {
|
169
169
|
return Array.isArray(r) ? (r.length = Math.max(r.length, e), r.splice(e, 1, t), t) : (r[e] = t, t);
|
170
170
|
}
|
171
171
|
function Yu(r, e) {
|
@@ -271,7 +271,7 @@ function Yv(r, e) {
|
|
271
271
|
* @license MIT
|
272
272
|
*/
|
273
273
|
let fa;
|
274
|
-
const
|
274
|
+
const Ua = (r) => fa = r, Jv = process.env.NODE_ENV !== "production" ? Symbol("pinia") : (
|
275
275
|
/* istanbul ignore next */
|
276
276
|
Symbol()
|
277
277
|
);
|
@@ -303,7 +303,7 @@ function Qv(r) {
|
|
303
303
|
}
|
304
304
|
return e.status >= 200 && e.status <= 299;
|
305
305
|
}
|
306
|
-
function
|
306
|
+
function gc(r) {
|
307
307
|
try {
|
308
308
|
r.dispatchEvent(new MouseEvent("click"));
|
309
309
|
} catch {
|
@@ -311,11 +311,11 @@ function fc(r) {
|
|
311
311
|
t.initMouseEvent("click", !0, !0, window, 0, 0, 0, 80, 20, !1, !1, !1, !1, 0, null), r.dispatchEvent(t);
|
312
312
|
}
|
313
313
|
}
|
314
|
-
const
|
314
|
+
const mc = typeof navigator == "object" ? navigator : { userAgent: "" }, Xv = /Macintosh/.test(mc.userAgent) && /AppleWebKit/.test(mc.userAgent) && !/Safari/.test(mc.userAgent), Zv = So ? (
|
315
315
|
// Use download attribute first if possible (#193 Lumia mobile) unless this is a macOS WebView or mini program
|
316
316
|
typeof HTMLAnchorElement < "u" && "download" in HTMLAnchorElement.prototype && !Xv ? $k : (
|
317
317
|
// Use msSaveOrOpenBlob as a second approach
|
318
|
-
"msSaveOrOpenBlob" in
|
318
|
+
"msSaveOrOpenBlob" in mc ? Kk : (
|
319
319
|
// Fallback to using FileReader and a popup
|
320
320
|
zk
|
321
321
|
)
|
@@ -324,10 +324,10 @@ const gc = typeof navigator == "object" ? navigator : { userAgent: "" }, Xv = /M
|
|
324
324
|
};
|
325
325
|
function $k(r, e = "download", t) {
|
326
326
|
const n = document.createElement("a");
|
327
|
-
n.download = e, n.rel = "noopener", typeof r == "string" ? (n.href = r, n.origin !== location.origin ? Qv(n.href) ? mh(r, e, t) : (n.target = "_blank",
|
327
|
+
n.download = e, n.rel = "noopener", typeof r == "string" ? (n.href = r, n.origin !== location.origin ? Qv(n.href) ? mh(r, e, t) : (n.target = "_blank", gc(n)) : gc(n)) : (n.href = URL.createObjectURL(r), setTimeout(function() {
|
328
328
|
URL.revokeObjectURL(n.href);
|
329
329
|
}, 4e4), setTimeout(function() {
|
330
|
-
|
330
|
+
gc(n);
|
331
331
|
}, 0));
|
332
332
|
}
|
333
333
|
function Kk(r, e = "download", t) {
|
@@ -337,7 +337,7 @@ function Kk(r, e = "download", t) {
|
|
337
337
|
else {
|
338
338
|
const n = document.createElement("a");
|
339
339
|
n.href = r, n.target = "_blank", setTimeout(function() {
|
340
|
-
|
340
|
+
gc(n);
|
341
341
|
});
|
342
342
|
}
|
343
343
|
else
|
@@ -445,10 +445,10 @@ function Gn(r) {
|
|
445
445
|
}
|
446
446
|
};
|
447
447
|
}
|
448
|
-
const ry = "🍍 Pinia (root)",
|
448
|
+
const ry = "🍍 Pinia (root)", pc = "_root";
|
449
449
|
function Yk(r) {
|
450
450
|
return ph(r) ? {
|
451
|
-
id:
|
451
|
+
id: pc,
|
452
452
|
label: ry
|
453
453
|
} : {
|
454
454
|
id: r.$id,
|
@@ -517,7 +517,7 @@ function Xk(r) {
|
|
517
517
|
}
|
518
518
|
}
|
519
519
|
let wi = !0;
|
520
|
-
const
|
520
|
+
const vc = [], _o = "pinia:mutations", Ft = "pinia", { assign: Zk } = Object, Oc = (r) => "🍍 " + r;
|
521
521
|
function eO(r, e) {
|
522
522
|
Yv({
|
523
523
|
id: "dev.esm.pinia",
|
@@ -525,7 +525,7 @@ function eO(r, e) {
|
|
525
525
|
logo: "https://pinia.vuejs.org/logo.svg",
|
526
526
|
packageName: "pinia",
|
527
527
|
homepage: "https://pinia.vuejs.org",
|
528
|
-
componentStateTypes:
|
528
|
+
componentStateTypes: vc,
|
529
529
|
app: r
|
530
530
|
}, (t) => {
|
531
531
|
typeof t.now != "function" && Ct("You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."), t.addTimelineLayer({
|
@@ -623,14 +623,14 @@ function eO(r, e) {
|
|
623
623
|
}
|
624
624
|
}), globalThis.$pinia = e, t.on.getInspectorState((n) => {
|
625
625
|
if (n.app === r && n.inspectorId === Ft) {
|
626
|
-
const i = n.nodeId ===
|
626
|
+
const i = n.nodeId === pc ? e : e._s.get(n.nodeId);
|
627
627
|
if (!i)
|
628
628
|
return;
|
629
|
-
i && (n.nodeId !==
|
629
|
+
i && (n.nodeId !== pc && (globalThis.$store = Ii(i)), n.state = Jk(i));
|
630
630
|
}
|
631
631
|
}), t.on.editInspectorState((n, i) => {
|
632
632
|
if (n.app === r && n.inspectorId === Ft) {
|
633
|
-
const s = n.nodeId ===
|
633
|
+
const s = n.nodeId === pc ? e : e._s.get(n.nodeId);
|
634
634
|
if (!s)
|
635
635
|
return Ct(`store "${n.nodeId}" not found`, "error");
|
636
636
|
const { path: c } = n;
|
@@ -652,13 +652,13 @@ Only state can be modified.`);
|
|
652
652
|
});
|
653
653
|
}
|
654
654
|
function tO(r, e) {
|
655
|
-
|
655
|
+
vc.includes(Oc(e.$id)) || vc.push(Oc(e.$id)), Yv({
|
656
656
|
id: "dev.esm.pinia",
|
657
657
|
label: "Pinia 🍍",
|
658
658
|
logo: "https://pinia.vuejs.org/logo.svg",
|
659
659
|
packageName: "pinia",
|
660
660
|
homepage: "https://pinia.vuejs.org",
|
661
|
-
componentStateTypes:
|
661
|
+
componentStateTypes: vc,
|
662
662
|
app: r,
|
663
663
|
settings: {
|
664
664
|
logStoreChanges: {
|
@@ -724,7 +724,7 @@ function tO(r, e) {
|
|
724
724
|
});
|
725
725
|
});
|
726
726
|
}, !0), e._customProperties.forEach((c) => {
|
727
|
-
xi(() =>
|
727
|
+
xi(() => te(e[c]), (u, h) => {
|
728
728
|
t.notifyComponentUpdate(), t.sendInspectorState(Ft), wi && t.addTimelineEvent({
|
729
729
|
layerId: _o,
|
730
730
|
event: {
|
@@ -820,7 +820,7 @@ function rO() {
|
|
820
820
|
let t = [], n = [];
|
821
821
|
const i = bo({
|
822
822
|
install(s) {
|
823
|
-
|
823
|
+
Ua(i), i._a = s, s.provide(Jv, i), s.config.globalProperties.$pinia = i, process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && So && eO(s, i), n.forEach((c) => t.push(c)), n = [];
|
824
824
|
},
|
825
825
|
use(s) {
|
826
826
|
return !this._a && !Gv ? n.push(s) : t.push(s), this;
|
@@ -889,7 +889,7 @@ function op(r, e, t, n) {
|
|
889
889
|
Ym(ee(i ? i() : {}).value)
|
890
890
|
) : Ym(t.state.value[r]);
|
891
891
|
return Dn(g, s, Object.keys(c || {}).reduce((p, y) => (process.env.NODE_ENV !== "production" && y in g && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${y}" in store "${r}".`), p[y] = bo(Pt(() => {
|
892
|
-
|
892
|
+
Ua(t);
|
893
893
|
const E = t._s.get(r);
|
894
894
|
return c[y].call(E, E);
|
895
895
|
})), p), {}));
|
@@ -938,7 +938,7 @@ function aO(r, e, t = {}, n, i, s) {
|
|
938
938
|
if (np in X)
|
939
939
|
return X[Ju] = Y, X;
|
940
940
|
const De = function() {
|
941
|
-
|
941
|
+
Ua(n);
|
942
942
|
const Ye = Array.from(arguments), Mt = [], Fn = [];
|
943
943
|
function wn(Nt) {
|
944
944
|
Mt.push(Nt);
|
@@ -1000,7 +1000,7 @@ function aO(r, e, t = {}, n, i, s) {
|
|
1000
1000
|
for (const X in Ne) {
|
1001
1001
|
const Y = Ne[X];
|
1002
1002
|
if (Oo(Y) && !rp(Y) || uh(Y))
|
1003
|
-
process.env.NODE_ENV !== "production" && i &&
|
1003
|
+
process.env.NODE_ENV !== "production" && i && Ys(S.value, X, Gu(Ne, X)), process.env.NODE_ENV !== "production" && pe.state.push(X);
|
1004
1004
|
else if (typeof Y == "function") {
|
1005
1005
|
const De = process.env.NODE_ENV !== "production" && i ? Y : ie(Y, X);
|
1006
1006
|
Ne[X] = De, process.env.NODE_ENV !== "production" && (pe.actions[X] = Y), u.actions[X] = Y;
|
@@ -1023,7 +1023,7 @@ function aO(r, e, t = {}, n, i, s) {
|
|
1023
1023
|
const De = X.$state[Y], Ye = G.$state[Y];
|
1024
1024
|
typeof De == "object" && ki(De) && ki(Ye) ? iy(De, Ye) : X.$state[Y] = Ye;
|
1025
1025
|
}
|
1026
|
-
|
1026
|
+
Ys(G, Y, Gu(X.$state, Y));
|
1027
1027
|
}), Object.keys(G.$state).forEach((Y) => {
|
1028
1028
|
Y in X.$state || Yu(G, Y);
|
1029
1029
|
}), f = !1, g = !1, n.state.value[r] = Gu(X._hmrPayload, "hotState"), g = !0, Pd().then(() => {
|
@@ -1031,14 +1031,14 @@ function aO(r, e, t = {}, n, i, s) {
|
|
1031
1031
|
});
|
1032
1032
|
for (const Y in X._hmrPayload.actions) {
|
1033
1033
|
const De = X[Y];
|
1034
|
-
|
1034
|
+
Ys(G, Y, ie(De, Y));
|
1035
1035
|
}
|
1036
1036
|
for (const Y in X._hmrPayload.getters) {
|
1037
1037
|
const De = X._hmrPayload.getters[Y], Ye = (
|
1038
1038
|
// special handling of options api
|
1039
|
-
Pt(() => (
|
1039
|
+
Pt(() => (Ua(n), De.call(G, G)))
|
1040
1040
|
);
|
1041
|
-
|
1041
|
+
Ys(G, Y, Ye);
|
1042
1042
|
}
|
1043
1043
|
Object.keys(G._hmrPayload.getters).forEach((Y) => {
|
1044
1044
|
Y in X._hmrPayload.getters || Yu(G, Y);
|
@@ -1088,7 +1088,7 @@ function sO(r, e, t) {
|
|
1088
1088
|
const h = ZR();
|
1089
1089
|
if (c = // in test mode, ignore the argument provided as we can always retrieve a
|
1090
1090
|
// pinia instance with getActivePinia()
|
1091
|
-
(process.env.NODE_ENV === "test" && fa && fa._testing ? null : c) || (h ? Fv(Jv, null) : null), c &&
|
1091
|
+
(process.env.NODE_ENV === "test" && fa && fa._testing ? null : c) || (h ? Fv(Jv, null) : null), c && Ua(c), process.env.NODE_ENV !== "production" && !fa)
|
1092
1092
|
throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"?
|
1093
1093
|
See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help.
|
1094
1094
|
This will fail in production.`);
|
@@ -1099,7 +1099,7 @@ This will fail in production.`);
|
|
1099
1099
|
u._hotUpdate(p), delete c.state.value[g], c._s.delete(g);
|
1100
1100
|
}
|
1101
1101
|
if (process.env.NODE_ENV !== "production" && So) {
|
1102
|
-
const g =
|
1102
|
+
const g = Wa();
|
1103
1103
|
if (g && g.proxy && // avoid adding stores that are just built for hot module replacement
|
1104
1104
|
!u) {
|
1105
1105
|
const p = g.proxy, y = "_pStores" in p ? p._pStores : p._pStores = {};
|
@@ -1167,7 +1167,7 @@ var cO = Object.defineProperty, ip = Object.getOwnPropertySymbols, lO = Object.p
|
|
1167
1167
|
for (var t of ip(e))
|
1168
1168
|
uO.call(e, t) && ap(r, t, e[t]);
|
1169
1169
|
return r;
|
1170
|
-
}, Zc = (r) => typeof r == "function", el = (r) => typeof r == "string", cy = (r) => el(r) && r.trim().length > 0, dO = (r) => typeof r == "number", Io = (r) => typeof r > "u",
|
1170
|
+
}, Zc = (r) => typeof r == "function", el = (r) => typeof r == "string", cy = (r) => el(r) && r.trim().length > 0, dO = (r) => typeof r == "number", Io = (r) => typeof r > "u", Ha = (r) => typeof r == "object" && r !== null, hO = (r) => fr(r, "tag") && cy(r.tag), ly = (r) => window.TouchEvent && r instanceof TouchEvent, uy = (r) => fr(r, "component") && dy(r.component), fO = (r) => Zc(r) || Ha(r), dy = (r) => !Io(r) && (el(r) || fO(r) || uy(r)), sp = (r) => Ha(r) && ["height", "width", "right", "left", "top", "bottom"].every((e) => dO(r[e])), fr = (r, e) => (Ha(r) || Zc(r)) && e in r, gO = /* @__PURE__ */ ((r) => () => r++)(0);
|
1171
1171
|
function Qu(r) {
|
1172
1172
|
return ly(r) ? r.targetTouches[0].clientX : r.clientX;
|
1173
1173
|
}
|
@@ -1176,15 +1176,15 @@ function cp(r) {
|
|
1176
1176
|
}
|
1177
1177
|
var mO = (r) => {
|
1178
1178
|
Io(r.remove) ? r.parentNode && r.parentNode.removeChild(r) : r.remove();
|
1179
|
-
},
|
1179
|
+
}, qa = (r) => uy(r) ? qa(r.component) : hO(r) ? Te({
|
1180
1180
|
render() {
|
1181
1181
|
return r;
|
1182
1182
|
}
|
1183
|
-
}) : typeof r == "string" ? r : Ii(
|
1183
|
+
}) : typeof r == "string" ? r : Ii(te(r)), pO = (r) => {
|
1184
1184
|
if (typeof r == "string")
|
1185
1185
|
return r;
|
1186
|
-
const e = fr(r, "props") &&
|
1187
|
-
return { component:
|
1186
|
+
const e = fr(r, "props") && Ha(r.props) ? r.props : {}, t = fr(r, "listeners") && Ha(r.listeners) ? r.listeners : {};
|
1187
|
+
return { component: qa(r), props: e, listeners: t };
|
1188
1188
|
}, vO = () => typeof window < "u", vh = class {
|
1189
1189
|
constructor() {
|
1190
1190
|
this.allHandlers = {};
|
@@ -1234,7 +1234,7 @@ var Jn = "Vue-Toastification", Yn = {
|
|
1234
1234
|
type: [String, Boolean, Object, Function],
|
1235
1235
|
default: !0
|
1236
1236
|
}
|
1237
|
-
},
|
1237
|
+
}, yc = {
|
1238
1238
|
component: {
|
1239
1239
|
type: [String, Object, Function, Boolean],
|
1240
1240
|
default: "button"
|
@@ -1284,9 +1284,9 @@ var Jn = "Vue-Toastification", Yn = {
|
|
1284
1284
|
toastClassName: Yn.classNames,
|
1285
1285
|
bodyClassName: Yn.classNames,
|
1286
1286
|
icon: hy.customIcon,
|
1287
|
-
closeButton:
|
1288
|
-
closeButtonClassName:
|
1289
|
-
showCloseButtonOnHover:
|
1287
|
+
closeButton: yc.component,
|
1288
|
+
closeButtonClassName: yc.classNames,
|
1289
|
+
showCloseButtonOnHover: yc.showOnHover,
|
1290
1290
|
accessibility: {
|
1291
1291
|
type: Object,
|
1292
1292
|
default: () => ({
|
@@ -1356,7 +1356,7 @@ var Jn = "Vue-Toastification", Yn = {
|
|
1356
1356
|
PROGRESS_BAR: Nd,
|
1357
1357
|
ICON: hy,
|
1358
1358
|
TRANSITION: fy,
|
1359
|
-
CLOSE_BUTTON:
|
1359
|
+
CLOSE_BUTTON: yc
|
1360
1360
|
}, gy = Te({
|
1361
1361
|
name: "VtProgressBar",
|
1362
1362
|
props: xr.PROGRESS_BAR,
|
@@ -1396,7 +1396,7 @@ var Jn = "Vue-Toastification", Yn = {
|
|
1396
1396
|
});
|
1397
1397
|
function TO(r, e) {
|
1398
1398
|
return x(), oe("div", {
|
1399
|
-
style:
|
1399
|
+
style: za(r.style),
|
1400
1400
|
class: Oa(r.cpClass)
|
1401
1401
|
}, null, 6);
|
1402
1402
|
}
|
@@ -1406,7 +1406,7 @@ var EO = gy, my = Te({
|
|
1406
1406
|
props: xr.CLOSE_BUTTON,
|
1407
1407
|
computed: {
|
1408
1408
|
buttonComponent() {
|
1409
|
-
return this.component !== !1 ?
|
1409
|
+
return this.component !== !1 ? qa(this.component) : "button";
|
1410
1410
|
},
|
1411
1411
|
classes() {
|
1412
1412
|
const r = [`${Jn}__close-button`];
|
@@ -1415,7 +1415,7 @@ var EO = gy, my = Te({
|
|
1415
1415
|
}
|
1416
1416
|
}), AO = /* @__PURE__ */ H(" × ");
|
1417
1417
|
function bO(r, e) {
|
1418
|
-
return x(), Q(
|
1418
|
+
return x(), Q(Va(r.buttonComponent), Et({
|
1419
1419
|
"aria-label": r.ariaLabel,
|
1420
1420
|
class: r.classes
|
1421
1421
|
}, r.$attrs), {
|
@@ -1435,7 +1435,7 @@ var SO = my, py = {}, IO = {
|
|
1435
1435
|
role: "img",
|
1436
1436
|
xmlns: "http://www.w3.org/2000/svg",
|
1437
1437
|
viewBox: "0 0 512 512"
|
1438
|
-
}, RO = /* @__PURE__ */
|
1438
|
+
}, RO = /* @__PURE__ */ ne("path", {
|
1439
1439
|
fill: "currentColor",
|
1440
1440
|
d: "M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"
|
1441
1441
|
}, null, -1), kO = [
|
@@ -1454,7 +1454,7 @@ var PO = py, vy = {}, MO = {
|
|
1454
1454
|
role: "img",
|
1455
1455
|
xmlns: "http://www.w3.org/2000/svg",
|
1456
1456
|
viewBox: "0 0 512 512"
|
1457
|
-
}, NO = /* @__PURE__ */
|
1457
|
+
}, NO = /* @__PURE__ */ ne("path", {
|
1458
1458
|
fill: "currentColor",
|
1459
1459
|
d: "M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"
|
1460
1460
|
}, null, -1), DO = [
|
@@ -1473,7 +1473,7 @@ var lp = vy, yy = {}, LO = {
|
|
1473
1473
|
role: "img",
|
1474
1474
|
xmlns: "http://www.w3.org/2000/svg",
|
1475
1475
|
viewBox: "0 0 512 512"
|
1476
|
-
}, UO = /* @__PURE__ */
|
1476
|
+
}, UO = /* @__PURE__ */ ne("path", {
|
1477
1477
|
fill: "currentColor",
|
1478
1478
|
d: "M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"
|
1479
1479
|
}, null, -1), HO = [
|
@@ -1492,7 +1492,7 @@ var BO = yy, wy = {}, $O = {
|
|
1492
1492
|
role: "img",
|
1493
1493
|
xmlns: "http://www.w3.org/2000/svg",
|
1494
1494
|
viewBox: "0 0 576 512"
|
1495
|
-
}, KO = /* @__PURE__ */
|
1495
|
+
}, KO = /* @__PURE__ */ ne("path", {
|
1496
1496
|
fill: "currentColor",
|
1497
1497
|
d: "M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"
|
1498
1498
|
}, null, -1), zO = [
|
@@ -1519,7 +1519,7 @@ var WO = wy, _y = Te({
|
|
1519
1519
|
return this.customIconClass.length > 0;
|
1520
1520
|
},
|
1521
1521
|
component() {
|
1522
|
-
return this.hasCustomIcon ? this.customIconTag : dy(this.customIcon) ?
|
1522
|
+
return this.hasCustomIcon ? this.customIconTag : dy(this.customIcon) ? qa(this.customIcon) : this.iconTypeComponent;
|
1523
1523
|
},
|
1524
1524
|
iconTypeComponent() {
|
1525
1525
|
return {
|
@@ -1542,7 +1542,7 @@ var WO = wy, _y = Te({
|
|
1542
1542
|
}
|
1543
1543
|
});
|
1544
1544
|
function qO(r, e) {
|
1545
|
-
return x(), Q(
|
1545
|
+
return x(), Q(Va(r.component), {
|
1546
1546
|
class: Oa(r.iconClasses)
|
1547
1547
|
}, {
|
1548
1548
|
default: k(() => [
|
@@ -1606,7 +1606,7 @@ var GO = _y, Cy = Te({
|
|
1606
1606
|
},
|
1607
1607
|
methods: {
|
1608
1608
|
hasProp: fr,
|
1609
|
-
getVueComponentFromObj:
|
1609
|
+
getVueComponentFromObj: qa,
|
1610
1610
|
closeToast() {
|
1611
1611
|
this.eventBus.emit(mn.DISMISS, this.id);
|
1612
1612
|
},
|
@@ -1661,7 +1661,7 @@ function YO(r, e) {
|
|
1661
1661
|
const t = Dr("Icon"), n = Dr("CloseButton"), i = Dr("ProgressBar");
|
1662
1662
|
return x(), oe("div", {
|
1663
1663
|
class: Oa(r.classes),
|
1664
|
-
style:
|
1664
|
+
style: za(r.draggableStyle),
|
1665
1665
|
onClick: e[0] || (e[0] = (...s) => r.clickHandler && r.clickHandler(...s)),
|
1666
1666
|
onMouseenter: e[1] || (e[1] = (...s) => r.hoverPause && r.hoverPause(...s)),
|
1667
1667
|
onMouseleave: e[2] || (e[2] = (...s) => r.hoverPlay && r.hoverPlay(...s))
|
@@ -1671,13 +1671,13 @@ function YO(r, e) {
|
|
1671
1671
|
"custom-icon": r.icon,
|
1672
1672
|
type: r.type
|
1673
1673
|
}, null, 8, ["custom-icon", "type"])) : ge("v-if", !0),
|
1674
|
-
|
1674
|
+
ne("div", {
|
1675
1675
|
role: r.accessibility.toastRole || "alert",
|
1676
1676
|
class: Oa(r.bodyClasses)
|
1677
1677
|
}, [
|
1678
1678
|
typeof r.content == "string" ? (x(), oe(ht, { key: 0 }, [
|
1679
1679
|
H(we(r.content), 1)
|
1680
|
-
], 2112)) : (x(), Q(
|
1680
|
+
], 2112)) : (x(), Q(Va(r.getVueComponentFromObj(r.content)), Et({
|
1681
1681
|
key: 1,
|
1682
1682
|
"toast-id": r.id
|
1683
1683
|
}, r.hasProp(r.content, "props") ? r.content.props : {}, rk(r.hasProp(r.content, "listeners") ? r.content.listeners : {}), { onCloseToast: r.closeToast }), null, 16, ["toast-id", "onCloseToast"]))
|
@@ -1863,11 +1863,11 @@ var yh = Symbol("VueToastification"), Ay = new vh(), n0 = (r, e) => {
|
|
1863
1863
|
r.provide(yh, t);
|
1864
1864
|
}, tF = (r) => {
|
1865
1865
|
const e = Mc(r);
|
1866
|
-
|
1866
|
+
Wa() && ik(yh, e);
|
1867
1867
|
}, yr = (r) => {
|
1868
1868
|
if (r)
|
1869
1869
|
return Mc(r);
|
1870
|
-
const e =
|
1870
|
+
const e = Wa() ? Fv(yh, void 0) : void 0;
|
1871
1871
|
return e || Mc(Ay);
|
1872
1872
|
}, r0 = n0;
|
1873
1873
|
const o0 = { class: "d-flex align-center" }, i0 = { key: 1 }, a0 = { class: "ms-auto" }, tl = /* @__PURE__ */ Te({
|
@@ -1905,26 +1905,26 @@ const o0 = { class: "d-flex align-center" }, i0 = { key: 1 }, a0 = { class: "ms-
|
|
1905
1905
|
return (f, g) => {
|
1906
1906
|
const p = Dr("ExclamationCircleIcon");
|
1907
1907
|
return x(), oe(ht, null, [
|
1908
|
-
f.variant === "global" ? (x(), Q(
|
1908
|
+
f.variant === "global" ? (x(), Q(dc, {
|
1909
1909
|
key: 0,
|
1910
1910
|
scrim: t.scrim,
|
1911
1911
|
width: t.width,
|
1912
|
-
modelValue:
|
1912
|
+
modelValue: te(s),
|
1913
1913
|
"onUpdate:modelValue": g[0] || (g[0] = (y) => Oo(s) ? s.value = y : null),
|
1914
1914
|
"onClick:outside": u
|
1915
1915
|
}, {
|
1916
1916
|
default: k(() => [
|
1917
|
-
A(
|
1917
|
+
A(Na, {
|
1918
1918
|
rounded: "",
|
1919
1919
|
loading: i.value
|
1920
1920
|
}, {
|
1921
1921
|
default: k(() => [
|
1922
1922
|
A(hh, { class: "mt-2 px-5 d-flex" }, {
|
1923
1923
|
default: k(() => [
|
1924
|
-
|
1924
|
+
ne("div", o0, [
|
1925
1925
|
f.$slots.title ? Se(f.$slots, "title", { key: 0 }) : (x(), oe("div", i0, we(t.title), 1))
|
1926
1926
|
]),
|
1927
|
-
|
1927
|
+
ne("div", a0, [
|
1928
1928
|
Se(f.$slots, "heading-actions"),
|
1929
1929
|
A(je, {
|
1930
1930
|
class: "ms-auto",
|
@@ -1937,7 +1937,7 @@ const o0 = { class: "d-flex align-center" }, i0 = { key: 1 }, a0 = { class: "ms-
|
|
1937
1937
|
_: 3
|
1938
1938
|
}),
|
1939
1939
|
A(Po, { class: "mx-5" }),
|
1940
|
-
A(
|
1940
|
+
A(Da, { class: "overflow-y-scroll" }, {
|
1941
1941
|
default: k(() => [
|
1942
1942
|
Se(f.$slots, "default")
|
1943
1943
|
]),
|
@@ -1966,7 +1966,7 @@ const o0 = { class: "d-flex align-center" }, i0 = { key: 1 }, a0 = { class: "ms-
|
|
1966
1966
|
]),
|
1967
1967
|
_: 3
|
1968
1968
|
})) : ge("", !0),
|
1969
|
-
A(
|
1969
|
+
A(xa),
|
1970
1970
|
A(je, {
|
1971
1971
|
class: "j-btn-form",
|
1972
1972
|
variant: "outlined",
|
@@ -2000,16 +2000,16 @@ const o0 = { class: "d-flex align-center" }, i0 = { key: 1 }, a0 = { class: "ms-
|
|
2000
2000
|
]),
|
2001
2001
|
_: 3
|
2002
2002
|
}, 8, ["scrim", "width", "modelValue"])) : ge("", !0),
|
2003
|
-
f.variant === "confirm" ? (x(), Q(
|
2003
|
+
f.variant === "confirm" ? (x(), Q(dc, {
|
2004
2004
|
key: 1,
|
2005
2005
|
scrim: "background",
|
2006
2006
|
width: t.width,
|
2007
|
-
modelValue:
|
2007
|
+
modelValue: te(s),
|
2008
2008
|
"onUpdate:modelValue": g[1] || (g[1] = (y) => Oo(s) ? s.value = y : null),
|
2009
2009
|
"onClick:outside": u
|
2010
2010
|
}, {
|
2011
2011
|
default: k(() => [
|
2012
|
-
A(
|
2012
|
+
A(Na, {
|
2013
2013
|
loading: i.value,
|
2014
2014
|
title: t.title,
|
2015
2015
|
rounded: "",
|
@@ -2027,7 +2027,7 @@ const o0 = { class: "d-flex align-center" }, i0 = { key: 1 }, a0 = { class: "ms-
|
|
2027
2027
|
})
|
2028
2028
|
]),
|
2029
2029
|
default: k(() => [
|
2030
|
-
A(
|
2030
|
+
A(Da, { class: "text-center mt-7" }, {
|
2031
2031
|
default: k(() => [
|
2032
2032
|
H(we(t.text), 1)
|
2033
2033
|
]),
|
@@ -2066,11 +2066,11 @@ const o0 = { class: "d-flex align-center" }, i0 = { key: 1 }, a0 = { class: "ms-
|
|
2066
2066
|
]),
|
2067
2067
|
_: 1
|
2068
2068
|
}, 8, ["width", "modelValue"])) : ge("", !0),
|
2069
|
-
f.variant === "empty" ? (x(), Q(
|
2069
|
+
f.variant === "empty" ? (x(), Q(dc, {
|
2070
2070
|
key: 2,
|
2071
2071
|
scrim: t.scrim,
|
2072
2072
|
width: t.width,
|
2073
|
-
modelValue:
|
2073
|
+
modelValue: te(s),
|
2074
2074
|
"onUpdate:modelValue": g[2] || (g[2] = (y) => Oo(s) ? s.value = y : null),
|
2075
2075
|
"onClick:outside": u
|
2076
2076
|
}, {
|
@@ -2096,7 +2096,7 @@ const o0 = { class: "d-flex align-center" }, i0 = { key: 1 }, a0 = { class: "ms-
|
|
2096
2096
|
"on-save": () => n("removeAll")
|
2097
2097
|
}, null, 8, ["on-save"]),
|
2098
2098
|
A(je, {
|
2099
|
-
onClick:
|
2099
|
+
onClick: te(t),
|
2100
2100
|
variant: "plain",
|
2101
2101
|
color: "secondary",
|
2102
2102
|
"prepend-icon": "mdi-delete"
|
@@ -2564,16 +2564,16 @@ const y0 = /* @__PURE__ */ Te({
|
|
2564
2564
|
size: {}
|
2565
2565
|
},
|
2566
2566
|
setup(r) {
|
2567
|
-
return (e, t) => (x(), Q(
|
2567
|
+
return (e, t) => (x(), Q(te(Kv), { "close-on-content-click": !0 }, {
|
2568
2568
|
activator: k(({ props: n }) => [
|
2569
|
-
A(
|
2569
|
+
A(te(Ma), Et({ variant: e.variant }, n, { icon: "" }), {
|
2570
2570
|
default: k(() => [
|
2571
|
-
e.orientation === "y" ? (x(), Q(
|
2571
|
+
e.orientation === "y" ? (x(), Q(te(Sy), {
|
2572
2572
|
key: 0,
|
2573
2573
|
size: e.size,
|
2574
2574
|
color: `rgb(var(--v-theme-${e.color}))`,
|
2575
2575
|
class: "cursor-pointer"
|
2576
|
-
}, null, 8, ["size", "color"])) : (x(), Q(
|
2576
|
+
}, null, 8, ["size", "color"])) : (x(), Q(te(Iy), {
|
2577
2577
|
key: 1,
|
2578
2578
|
size: e.size,
|
2579
2579
|
color: `rgb(var(--v-theme-${e.color}))`,
|
@@ -2603,16 +2603,16 @@ const y0 = /* @__PURE__ */ Te({
|
|
2603
2603
|
},
|
2604
2604
|
setup(r) {
|
2605
2605
|
const e = r;
|
2606
|
-
return (t, n) => (x(), Q(
|
2606
|
+
return (t, n) => (x(), Q(te(Kv), { "close-on-content-click": !0 }, {
|
2607
2607
|
activator: k(({ props: i }) => [
|
2608
|
-
A(
|
2608
|
+
A(te(Ma), Et({ variant: t.variant }, i, { icon: "" }), {
|
2609
2609
|
default: k(() => [
|
2610
|
-
t.orientation === "y" ? (x(), Q(
|
2610
|
+
t.orientation === "y" ? (x(), Q(te(Sy), {
|
2611
2611
|
key: 0,
|
2612
2612
|
size: t.size,
|
2613
2613
|
color: `rgb(var(--v-theme-${t.color}))`,
|
2614
2614
|
class: "cursor-pointer"
|
2615
|
-
}, null, 8, ["size", "color"])) : (x(), Q(
|
2615
|
+
}, null, 8, ["size", "color"])) : (x(), Q(te(Iy), {
|
2616
2616
|
key: 1,
|
2617
2617
|
size: t.size,
|
2618
2618
|
color: `rgb(var(--v-theme-${t.color}))`,
|
@@ -2623,17 +2623,17 @@ const y0 = /* @__PURE__ */ Te({
|
|
2623
2623
|
}, 1040, ["variant"])
|
2624
2624
|
]),
|
2625
2625
|
default: k(() => [
|
2626
|
-
A(
|
2626
|
+
A(te(vk), null, {
|
2627
2627
|
default: k(() => [
|
2628
2628
|
(x(!0), oe(ht, null, oo(e.options, (i, s) => (x(), oe(ht, { key: s }, [
|
2629
2629
|
i.title ? (x(), oe("div", w0, we(i.title), 1)) : ge("", !0),
|
2630
|
-
i.action ? (x(), Q(
|
2630
|
+
i.action ? (x(), Q(te(yk), {
|
2631
2631
|
key: 1,
|
2632
2632
|
class: "cursor-pointer",
|
2633
2633
|
onClick: i.action
|
2634
2634
|
}, {
|
2635
2635
|
default: k(() => [
|
2636
|
-
A(
|
2636
|
+
A(te(wk), null, {
|
2637
2637
|
default: k(() => [
|
2638
2638
|
H(we(i.name), 1)
|
2639
2639
|
]),
|
@@ -2642,7 +2642,7 @@ const y0 = /* @__PURE__ */ Te({
|
|
2642
2642
|
]),
|
2643
2643
|
_: 2
|
2644
2644
|
}, 1032, ["onClick"])) : ge("", !0),
|
2645
|
-
i.divider ? (x(), Q(
|
2645
|
+
i.divider ? (x(), Q(te(_k), {
|
2646
2646
|
key: 2,
|
2647
2647
|
class: "mt-2"
|
2648
2648
|
})) : ge("", !0)
|
@@ -2663,7 +2663,7 @@ const y0 = /* @__PURE__ */ Te({
|
|
2663
2663
|
},
|
2664
2664
|
setup(r) {
|
2665
2665
|
const e = r;
|
2666
|
-
return (t, n) => (x(), Q(
|
2666
|
+
return (t, n) => (x(), Q(Na, {
|
2667
2667
|
height: t.height,
|
2668
2668
|
loading: t.loading,
|
2669
2669
|
class: "bg-surface rounded-sm pa-5"
|
@@ -2715,7 +2715,7 @@ const y0 = /* @__PURE__ */ Te({
|
|
2715
2715
|
}
|
2716
2716
|
i.value = !1, n.value = !1;
|
2717
2717
|
}
|
2718
|
-
return (h, f) => (x(), Q(
|
2718
|
+
return (h, f) => (x(), Q(dc, {
|
2719
2719
|
scrim: "rgb(0,0,0,100)",
|
2720
2720
|
width: t.width
|
2721
2721
|
}, {
|
@@ -2723,14 +2723,14 @@ const y0 = /* @__PURE__ */ Te({
|
|
2723
2723
|
Se(h.$slots, "button", sk(ck({ isActive: g, props: p })))
|
2724
2724
|
]),
|
2725
2725
|
default: k(({ isActive: g }) => [
|
2726
|
-
A(
|
2726
|
+
A(Na, {
|
2727
2727
|
loading: i.value,
|
2728
2728
|
title: t.title,
|
2729
2729
|
rounded: "",
|
2730
2730
|
"min-height": "300"
|
2731
2731
|
}, {
|
2732
2732
|
prepend: k(() => [
|
2733
|
-
A(
|
2733
|
+
A(te(u0), { color: "rgb(var(--v-theme-secondary))" })
|
2734
2734
|
]),
|
2735
2735
|
append: k(() => [
|
2736
2736
|
A(je, {
|
@@ -2741,7 +2741,7 @@ const y0 = /* @__PURE__ */ Te({
|
|
2741
2741
|
})
|
2742
2742
|
]),
|
2743
2743
|
default: k(() => [
|
2744
|
-
A(
|
2744
|
+
A(Da, { class: "text-center mt-7" }, {
|
2745
2745
|
default: k(() => [
|
2746
2746
|
H(we(t.text), 1)
|
2747
2747
|
]),
|
@@ -2848,7 +2848,7 @@ const y0 = /* @__PURE__ */ Te({
|
|
2848
2848
|
A(Wv, {
|
2849
2849
|
modelValue: e.value,
|
2850
2850
|
"onUpdate:modelValue": c[0] || (c[0] = (u) => e.value = u),
|
2851
|
-
style:
|
2851
|
+
style: za({ top: `${t.value.y}px`, left: `${t.value.x}px`, position: "absolute" })
|
2852
2852
|
}, {
|
2853
2853
|
default: k(() => [
|
2854
2854
|
A(Vv, null, {
|
@@ -2862,14 +2862,14 @@ const y0 = /* @__PURE__ */ Te({
|
|
2862
2862
|
}, 8, ["modelValue", "style"])
|
2863
2863
|
], 32));
|
2864
2864
|
}
|
2865
|
-
}),
|
2865
|
+
}), Ga = (r, e) => {
|
2866
2866
|
const t = r.__vccOpts || r;
|
2867
2867
|
for (const [n, i] of e)
|
2868
2868
|
t[n] = i;
|
2869
2869
|
return t;
|
2870
|
-
}, b0 = /* @__PURE__ */
|
2870
|
+
}, b0 = /* @__PURE__ */ Ga(A0, [["__scopeId", "data-v-a53b15af"]]), S0 = { class: "d-inline-flex" }, I0 = /* @__PURE__ */ Te({
|
2871
2871
|
__name: "UiTable",
|
2872
|
-
props: /* @__PURE__ */
|
2872
|
+
props: /* @__PURE__ */ Pa({
|
2873
2873
|
headers: {},
|
2874
2874
|
items: { default: () => [] },
|
2875
2875
|
actions: {},
|
@@ -2906,7 +2906,7 @@ const y0 = /* @__PURE__ */ Te({
|
|
2906
2906
|
class: "customize-table"
|
2907
2907
|
}, {
|
2908
2908
|
top: k(() => s[1] || (s[1] = [
|
2909
|
-
|
2909
|
+
ne("span", { class: "mt-5" }, null, -1)
|
2910
2910
|
])),
|
2911
2911
|
"item.avatar": k(({ item: c }) => [
|
2912
2912
|
Se(i.$slots, "avatar", { item: c })
|
@@ -2924,7 +2924,7 @@ const y0 = /* @__PURE__ */ Te({
|
|
2924
2924
|
Se(i.$slots, "icon", { item: c })
|
2925
2925
|
]),
|
2926
2926
|
"item.actions": k(({ item: c }) => [
|
2927
|
-
|
2927
|
+
ne("div", S0, [
|
2928
2928
|
Se(i.$slots, "actions", { item: c })
|
2929
2929
|
])
|
2930
2930
|
]),
|
@@ -2947,13 +2947,13 @@ let k0 = {};
|
|
2947
2947
|
function nl() {
|
2948
2948
|
return k0;
|
2949
2949
|
}
|
2950
|
-
function
|
2950
|
+
function Fa(r, e) {
|
2951
2951
|
var u, h, f, g;
|
2952
2952
|
const t = nl(), n = (e == null ? void 0 : e.weekStartsOn) ?? ((h = (u = e == null ? void 0 : e.locale) == null ? void 0 : u.options) == null ? void 0 : h.weekStartsOn) ?? t.weekStartsOn ?? ((g = (f = t.locale) == null ? void 0 : f.options) == null ? void 0 : g.weekStartsOn) ?? 0, i = er(r, e == null ? void 0 : e.in), s = i.getDay(), c = (s < n ? 7 : 0) + s - n;
|
2953
2953
|
return i.setDate(i.getDate() - c), i.setHours(0, 0, 0, 0), i;
|
2954
2954
|
}
|
2955
2955
|
function Nc(r, e) {
|
2956
|
-
return
|
2956
|
+
return Fa(r, { ...e, weekStartsOn: 1 });
|
2957
2957
|
}
|
2958
2958
|
function ky(r, e) {
|
2959
2959
|
const t = er(r, e == null ? void 0 : e.in), n = t.getFullYear(), i = io(t, 0);
|
@@ -3453,18 +3453,18 @@ function Oy(r, e) {
|
|
3453
3453
|
var g, p, y, E;
|
3454
3454
|
const t = er(r, e == null ? void 0 : e.in), n = t.getFullYear(), i = nl(), s = (e == null ? void 0 : e.firstWeekContainsDate) ?? ((p = (g = e == null ? void 0 : e.locale) == null ? void 0 : g.options) == null ? void 0 : p.firstWeekContainsDate) ?? i.firstWeekContainsDate ?? ((E = (y = i.locale) == null ? void 0 : y.options) == null ? void 0 : E.firstWeekContainsDate) ?? 1, c = io((e == null ? void 0 : e.in) || r, 0);
|
3455
3455
|
c.setFullYear(n + 1, 0, s), c.setHours(0, 0, 0, 0);
|
3456
|
-
const u =
|
3456
|
+
const u = Fa(c, e), h = io((e == null ? void 0 : e.in) || r, 0);
|
3457
3457
|
h.setFullYear(n, 0, s), h.setHours(0, 0, 0, 0);
|
3458
|
-
const f =
|
3458
|
+
const f = Fa(h, e);
|
3459
3459
|
return +t >= +u ? n + 1 : +t >= +f ? n : n - 1;
|
3460
3460
|
}
|
3461
3461
|
function mP(r, e) {
|
3462
3462
|
var u, h, f, g;
|
3463
3463
|
const t = nl(), n = (e == null ? void 0 : e.firstWeekContainsDate) ?? ((h = (u = e == null ? void 0 : e.locale) == null ? void 0 : u.options) == null ? void 0 : h.firstWeekContainsDate) ?? t.firstWeekContainsDate ?? ((g = (f = t.locale) == null ? void 0 : f.options) == null ? void 0 : g.firstWeekContainsDate) ?? 1, i = Oy(r, e), s = io((e == null ? void 0 : e.in) || r, 0);
|
3464
|
-
return s.setFullYear(i, 0, n), s.setHours(0, 0, 0, 0),
|
3464
|
+
return s.setFullYear(i, 0, n), s.setHours(0, 0, 0, 0), Fa(s, e);
|
3465
3465
|
}
|
3466
3466
|
function pP(r, e) {
|
3467
|
-
const t = er(r, e == null ? void 0 : e.in), n = +
|
3467
|
+
const t = er(r, e == null ? void 0 : e.in), n = +Fa(t, e) - +mP(t, e);
|
3468
3468
|
return Math.round(n / Ry) + 1;
|
3469
3469
|
}
|
3470
3470
|
function Be(r, e) {
|
@@ -5400,15 +5400,15 @@ function mM(r) {
|
|
5400
5400
|
return console.error("Error formatting date:", n), "";
|
5401
5401
|
}
|
5402
5402
|
}
|
5403
|
-
const pM = {
|
5403
|
+
const wp = "https://app-files.jplan.com.br/pub/resources/assets/thumbs/empty_list.svg", pM = {
|
5404
5404
|
key: 0,
|
5405
5405
|
class: "d-flex mt-4 flex-column align-center justify-center"
|
5406
5406
|
}, vM = {
|
5407
5407
|
key: 1,
|
5408
5408
|
class: "mt-4 rounded-sm"
|
5409
|
-
}, yM = { class: "d-inline-flex" }, wM = { class: "d-inline-flex" }, _M = { class: "d-inline-flex" },
|
5409
|
+
}, yM = { class: "d-inline-flex" }, wM = { class: "d-inline-flex" }, _M = { class: "d-inline-flex" }, CM = /* @__PURE__ */ Te({
|
5410
5410
|
__name: "TableAdvanced",
|
5411
|
-
props: /* @__PURE__ */
|
5411
|
+
props: /* @__PURE__ */ Pa({
|
5412
5412
|
headers: {},
|
5413
5413
|
items: { default: () => [] },
|
5414
5414
|
actions: {},
|
@@ -5446,17 +5446,17 @@ const pM = {
|
|
5446
5446
|
}
|
5447
5447
|
return (g, p) => !g.loading && g.items.length === 0 ? (x(), oe("div", pM, [
|
5448
5448
|
A(fh, {
|
5449
|
-
"lazy-src": wp,
|
5450
|
-
src: wp,
|
5449
|
+
"lazy-src": te(wp),
|
5450
|
+
src: te(wp),
|
5451
5451
|
height: "600",
|
5452
5452
|
width: "600"
|
5453
|
-
}),
|
5454
|
-
p[2] || (p[2] =
|
5453
|
+
}, null, 8, ["lazy-src", "src"]),
|
5454
|
+
p[2] || (p[2] = ne("p", { class: "text-center text-body-1 w-100" }, "No record found.", -1))
|
5455
5455
|
])) : (x(), oe("div", vM, [
|
5456
5456
|
A(Wv, {
|
5457
5457
|
modelValue: s.value,
|
5458
5458
|
"onUpdate:modelValue": p[0] || (p[0] = (y) => s.value = y),
|
5459
|
-
style:
|
5459
|
+
style: za({ top: `${c.value.y}px`, left: `${c.value.x}px`, position: "absolute" })
|
5460
5460
|
}, {
|
5461
5461
|
default: k(() => [
|
5462
5462
|
Se(g.$slots, "contextmenu", {
|
@@ -5501,7 +5501,7 @@ const pM = {
|
|
5501
5501
|
Se(g.$slots, "icon", { item: y })
|
5502
5502
|
]),
|
5503
5503
|
"item.actions": k(({ item: y }) => [
|
5504
|
-
|
5504
|
+
ne("div", yM, [
|
5505
5505
|
Se(g.$slots, "actions", { item: y })
|
5506
5506
|
])
|
5507
5507
|
]),
|
@@ -5510,13 +5510,13 @@ const pM = {
|
|
5510
5510
|
oo(g.dateFields, (y) => ({
|
5511
5511
|
name: `item.${y}`,
|
5512
5512
|
fn: k(({ item: E }) => [
|
5513
|
-
|
5513
|
+
ne("div", wM, we(te(mM)(E[y])), 1)
|
5514
5514
|
])
|
5515
5515
|
})),
|
5516
5516
|
g.customFields ? {
|
5517
5517
|
name: `item.${customField}`,
|
5518
5518
|
fn: k(({ item: y }) => [
|
5519
|
-
|
5519
|
+
ne("div", _M, [
|
5520
5520
|
Se(g.$slots, customField, { item: y })
|
5521
5521
|
])
|
5522
5522
|
]),
|
@@ -5527,17 +5527,19 @@ const pM = {
|
|
5527
5527
|
}
|
5528
5528
|
}), Ch = /* @__PURE__ */ Te({
|
5529
5529
|
__name: "SearchFilter",
|
5530
|
-
props: {
|
5530
|
+
props: /* @__PURE__ */ Pa({
|
5531
|
+
placeholder: { default: "Search" }
|
5532
|
+
}, {
|
5531
5533
|
search: {},
|
5532
5534
|
searchModifiers: {}
|
5533
|
-
},
|
5535
|
+
}),
|
5534
5536
|
emits: ["update:search"],
|
5535
5537
|
setup(r) {
|
5536
5538
|
const e = Ri(r, "search");
|
5537
5539
|
return (t, n) => (x(), Q(Ak, {
|
5538
5540
|
class: "bg-containerBg pa-1 rounded-sm elevation-1",
|
5539
5541
|
"persistent-placeholder": "",
|
5540
|
-
placeholder:
|
5542
|
+
placeholder: t.placeholder,
|
5541
5543
|
variant: "plain",
|
5542
5544
|
"hide-details": "",
|
5543
5545
|
density: "compact",
|
@@ -5545,17 +5547,17 @@ const pM = {
|
|
5545
5547
|
"onUpdate:modelValue": n[0] || (n[0] = (i) => e.value = i)
|
5546
5548
|
}, {
|
5547
5549
|
"prepend-inner": k(() => [
|
5548
|
-
A(
|
5550
|
+
A(te(p0), {
|
5549
5551
|
size: "15",
|
5550
5552
|
class: "ma-1 me-1"
|
5551
5553
|
})
|
5552
5554
|
]),
|
5553
5555
|
_: 1
|
5554
|
-
}, 8, ["modelValue"]));
|
5556
|
+
}, 8, ["placeholder", "modelValue"]));
|
5555
5557
|
}
|
5556
|
-
}), TM = { class: "d-flex align-center w-100" }, EM = { class: "d-flex align-center" }, AM = { class: "d-flex align-center" }, bM = { class: "d-flex align-center
|
5558
|
+
}), TM = { class: "d-flex align-center w-100" }, EM = { class: "d-flex align-center" }, AM = { class: "d-flex align-center" }, bM = { class: "d-flex align-center me-2" }, SM = /* @__PURE__ */ Te({
|
5557
5559
|
__name: "TableHeader",
|
5558
|
-
props: /* @__PURE__ */
|
5560
|
+
props: /* @__PURE__ */ Pa({
|
5559
5561
|
columns: {}
|
5560
5562
|
}, {
|
5561
5563
|
search: {},
|
@@ -5563,12 +5565,12 @@ const pM = {
|
|
5563
5565
|
columns: {},
|
5564
5566
|
columnsModifiers: {}
|
5565
5567
|
}),
|
5566
|
-
emits: /* @__PURE__ */
|
5568
|
+
emits: /* @__PURE__ */ Pa(["refresh", "remove"], ["update:search", "update:columns"]),
|
5567
5569
|
setup(r, { emit: e }) {
|
5568
5570
|
var h, f;
|
5569
|
-
const t = e, n = Ri(r, "search"), i = Ri(r, "columns"), { openDialog: s } = Xc("col-settings"), c =
|
5571
|
+
const t = e, n = Ri(r, "search"), i = Ri(r, "columns"), { openDialog: s } = Xc("col-settings"), c = Wa(), u = ((h = c == null ? void 0 : c.vnode.props) == null ? void 0 : h.onRemove) !== void 0 || ((f = c == null ? void 0 : c.vnode.props) == null ? void 0 : f["onUpdate:remove"]) !== void 0;
|
5570
5572
|
return (g, p) => (x(), oe(ht, null, [
|
5571
|
-
A(
|
5573
|
+
A(te(Wy), {
|
5572
5574
|
modelValue: i.value,
|
5573
5575
|
"onUpdate:modelValue": p[0] || (p[0] = (y) => i.value = y)
|
5574
5576
|
}, null, 8, ["modelValue"]),
|
@@ -5579,8 +5581,8 @@ const pM = {
|
|
5579
5581
|
default: k(() => [
|
5580
5582
|
A(Ot, { cols: "4" }, {
|
5581
5583
|
default: k(() => [
|
5582
|
-
|
5583
|
-
A(
|
5584
|
+
ne("div", TM, [
|
5585
|
+
A(te(d0), {
|
5584
5586
|
class: "me-2",
|
5585
5587
|
color: "rgb(var(--v-theme-lightprimary))"
|
5586
5588
|
}),
|
@@ -5603,7 +5605,7 @@ const pM = {
|
|
5603
5605
|
variant: "text"
|
5604
5606
|
}, {
|
5605
5607
|
default: k(() => [
|
5606
|
-
A(
|
5608
|
+
A(te(m0), {
|
5607
5609
|
onClick: p[1] || (p[1] = (y) => t("refresh")),
|
5608
5610
|
color: "rgb(var(--v-theme-secondary))"
|
5609
5611
|
})
|
@@ -5616,7 +5618,7 @@ const pM = {
|
|
5616
5618
|
variant: "text"
|
5617
5619
|
}, {
|
5618
5620
|
default: k(() => [
|
5619
|
-
A(
|
5621
|
+
A(te(l0), { color: "rgb(var(--v-theme-secondary))" })
|
5620
5622
|
]),
|
5621
5623
|
_: 1
|
5622
5624
|
})
|
@@ -5626,35 +5628,34 @@ const pM = {
|
|
5626
5628
|
}),
|
5627
5629
|
A(Ot, { cols: "3" }, {
|
5628
5630
|
default: k(() => [
|
5629
|
-
|
5631
|
+
ne("div", EM, [
|
5630
5632
|
Se(g.$slots, "slot", {}, void 0, !0)
|
5631
5633
|
])
|
5632
5634
|
]),
|
5633
5635
|
_: 3
|
5634
5636
|
}),
|
5635
|
-
A(
|
5637
|
+
A(xa),
|
5636
5638
|
A(Ot, {
|
5637
5639
|
cols: "12",
|
5638
5640
|
md: "3",
|
5639
5641
|
class: "d-flex align-center"
|
5640
5642
|
}, {
|
5641
5643
|
default: k(() => [
|
5642
|
-
|
5643
|
-
|
5644
|
+
ne("div", AM, [
|
5645
|
+
ne("div", bM, [
|
5644
5646
|
A(je, {
|
5645
5647
|
icon: "",
|
5646
5648
|
flat: "",
|
5647
|
-
onClick:
|
5649
|
+
onClick: te(s)
|
5648
5650
|
}, {
|
5649
5651
|
default: k(() => [
|
5650
|
-
A(
|
5652
|
+
A(te(g0), { color: "rgb(var(--v-theme-secondary))" })
|
5651
5653
|
]),
|
5652
5654
|
_: 1
|
5653
5655
|
}, 8, ["onClick"])
|
5654
5656
|
])
|
5655
5657
|
]),
|
5656
5658
|
A(Ch, {
|
5657
|
-
class: "me-2",
|
5658
5659
|
modelValue: n.value,
|
5659
5660
|
"onUpdate:modelValue": p[2] || (p[2] = (y) => n.value = y)
|
5660
5661
|
}, null, 8, ["modelValue"])
|
@@ -5673,7 +5674,7 @@ const pM = {
|
|
5673
5674
|
A(Ot, { cols: "auto" }, {
|
5674
5675
|
default: k(() => [
|
5675
5676
|
Se(g.$slots, "left-prepend", {}, void 0, !0),
|
5676
|
-
|
5677
|
+
te(u) ? (x(), Q(te(by), {
|
5677
5678
|
key: 0,
|
5678
5679
|
onRemoveAll: p[3] || (p[3] = (y) => t("remove"))
|
5679
5680
|
})) : ge("", !0),
|
@@ -5681,7 +5682,7 @@ const pM = {
|
|
5681
5682
|
]),
|
5682
5683
|
_: 3
|
5683
5684
|
}),
|
5684
|
-
A(
|
5685
|
+
A(xa),
|
5685
5686
|
A(dr, {
|
5686
5687
|
justify: "end",
|
5687
5688
|
class: "align-center min-h-_JTable-header",
|
@@ -5694,7 +5695,7 @@ const pM = {
|
|
5694
5695
|
class: "d-flex align-center me-2"
|
5695
5696
|
}, {
|
5696
5697
|
default: k(() => [
|
5697
|
-
A(
|
5698
|
+
A(te(v0), {
|
5698
5699
|
class: "me-2",
|
5699
5700
|
color: "rgb(var(--v-theme-secondary))"
|
5700
5701
|
}),
|
@@ -5718,7 +5719,7 @@ const pM = {
|
|
5718
5719
|
class: "d-flex align-center me-2"
|
5719
5720
|
}, {
|
5720
5721
|
default: k(() => [
|
5721
|
-
A(
|
5722
|
+
A(te(f0), {
|
5722
5723
|
class: "me-2",
|
5723
5724
|
color: "rgb(var(--v-theme-secondary))"
|
5724
5725
|
}),
|
@@ -5743,7 +5744,7 @@ const pM = {
|
|
5743
5744
|
})
|
5744
5745
|
], 64));
|
5745
5746
|
}
|
5746
|
-
}), IM = /* @__PURE__ */
|
5747
|
+
}), IM = /* @__PURE__ */ Ga(SM, [["__scopeId", "data-v-b8f20ec5"]]);
|
5747
5748
|
/*!
|
5748
5749
|
* vue-draggable-next v2.2.0
|
5749
5750
|
* (c) 2023 Anish George
|
@@ -5776,13 +5777,13 @@ function pr(r) {
|
|
5776
5777
|
}
|
5777
5778
|
return r;
|
5778
5779
|
}
|
5779
|
-
function
|
5780
|
+
function wc(r) {
|
5780
5781
|
"@babel/helpers - typeof";
|
5781
|
-
return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ?
|
5782
|
+
return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? wc = function(e) {
|
5782
5783
|
return typeof e;
|
5783
|
-
} :
|
5784
|
+
} : wc = function(e) {
|
5784
5785
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
5785
|
-
},
|
5786
|
+
}, wc(r);
|
5786
5787
|
}
|
5787
5788
|
function RM(r, e, t) {
|
5788
5789
|
return e in r ? Object.defineProperty(r, e, {
|
@@ -5824,7 +5825,7 @@ function Lr(r) {
|
|
5824
5825
|
if (typeof window < "u" && window.navigator)
|
5825
5826
|
return !!/* @__PURE__ */ navigator.userAgent.match(r);
|
5826
5827
|
}
|
5827
|
-
var Br = Lr(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),
|
5828
|
+
var Br = Lr(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), ja = Lr(/Edge/i), Cp = Lr(/firefox/i), Ta = Lr(/safari/i) && !Lr(/chrome/i) && !Lr(/android/i), My = Lr(/iP(ad|od|hone)/i), MM = Lr(/chrome/i) && Lr(/android/i), Ny = {
|
5828
5829
|
capture: !1,
|
5829
5830
|
passive: !1
|
5830
5831
|
};
|
@@ -6095,7 +6096,7 @@ function FM(r, e, t, n) {
|
|
6095
6096
|
}
|
6096
6097
|
var ai = [], td = {
|
6097
6098
|
initializeByDefault: !0
|
6098
|
-
},
|
6099
|
+
}, Ya = {
|
6099
6100
|
mount: function(e) {
|
6100
6101
|
for (var t in td)
|
6101
6102
|
td.hasOwnProperty(t) && !(t in e) && (e[t] = td[t]);
|
@@ -6149,11 +6150,11 @@ function BM(r) {
|
|
6149
6150
|
var e = r.sortable, t = r.rootEl, n = r.name, i = r.targetEl, s = r.cloneEl, c = r.toEl, u = r.fromEl, h = r.oldIndex, f = r.newIndex, g = r.oldDraggableIndex, p = r.newDraggableIndex, y = r.originalEvent, E = r.putSortable, C = r.extraEventProperties;
|
6150
6151
|
if (e = e || t && t[pn], !!e) {
|
6151
6152
|
var S, P = e.options, W = "on" + n.charAt(0).toUpperCase() + n.substr(1);
|
6152
|
-
window.CustomEvent && !Br && !
|
6153
|
+
window.CustomEvent && !Br && !ja ? S = new CustomEvent(n, {
|
6153
6154
|
bubbles: !0,
|
6154
6155
|
cancelable: !0
|
6155
6156
|
}) : (S = document.createEvent("Event"), S.initEvent(n, !0, !0)), S.to = c || t, S.from = u || t, S.item = i || t, S.clone = s, S.oldIndex = h, S.newIndex = f, S.oldDraggableIndex = g, S.newDraggableIndex = p, S.originalEvent = y, S.pullMode = E ? E.lastPutMode : void 0;
|
6156
|
-
var K = pr(pr({}, C),
|
6157
|
+
var K = pr(pr({}, C), Ya.getEventProperties(n, e));
|
6157
6158
|
for (var $ in K)
|
6158
6159
|
S[$] = K[$];
|
6159
6160
|
t && t.dispatchEvent(S), P[W] && P[W].call(e, S);
|
@@ -6161,13 +6162,13 @@ function BM(r) {
|
|
6161
6162
|
}
|
6162
6163
|
var $M = ["evt"], Xt = function(e, t) {
|
6163
6164
|
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, i = n.evt, s = OM(n, $M);
|
6164
|
-
|
6165
|
+
Ya.pluginEvent.bind(he)(e, t, pr({
|
6165
6166
|
dragEl: V,
|
6166
6167
|
parentEl: rt,
|
6167
6168
|
ghostEl: ye,
|
6168
6169
|
rootEl: Qe,
|
6169
6170
|
nextEl: To,
|
6170
|
-
lastDownEl:
|
6171
|
+
lastDownEl: _c,
|
6171
6172
|
cloneEl: ot,
|
6172
6173
|
cloneHidden: eo,
|
6173
6174
|
dragStarted: ga,
|
@@ -6207,7 +6208,7 @@ function Wt(r) {
|
|
6207
6208
|
newDraggableIndex: Zr
|
6208
6209
|
}, r));
|
6209
6210
|
}
|
6210
|
-
var V, rt, ye, Qe, To,
|
6211
|
+
var V, rt, ye, Qe, To, _c, ot, eo, _i, un, Aa, Zr, Js, kt, mi = !1, xc = !1, Lc = [], yo, qn, nd, rd, bp, Sp, ga, si, ba, Sa = !1, Qs = !1, Cc, Lt, od = [], xd = !1, Uc = [], ol = typeof document < "u", Xs = My, Ip = ja || Br ? "cssFloat" : "float", KM = ol && !MM && !My && "draggable" in document.createElement("div"), Hy = function() {
|
6211
6212
|
if (ol) {
|
6212
6213
|
if (Br)
|
6213
6214
|
return !1;
|
@@ -6255,7 +6256,7 @@ var V, rt, ye, Qe, To, wc, ot, eo, _i, un, Aa, Zr, Ys, kt, mi = !1, xc = !1, Lc
|
|
6255
6256
|
};
|
6256
6257
|
}
|
6257
6258
|
var n = {}, i = e.group;
|
6258
|
-
(!i ||
|
6259
|
+
(!i || wc(i) != "object") && (i = {
|
6259
6260
|
name: i
|
6260
6261
|
}), n.name = i.name, n.checkPull = t(i.pull, !0), n.checkPut = t(i.put), n.revertClone = i.revertClone, e.group = n;
|
6261
6262
|
}, $y = function() {
|
@@ -6330,7 +6331,7 @@ function he(r, e) {
|
|
6330
6331
|
supportPointer: he.supportPointer !== !1 && "PointerEvent" in window && !Ta,
|
6331
6332
|
emptyInsertThreshold: 5
|
6332
6333
|
};
|
6333
|
-
|
6334
|
+
Ya.initializePlugins(this, r, t);
|
6334
6335
|
for (var n in t)
|
6335
6336
|
!(n in e) && (e[n] = t[n]);
|
6336
6337
|
By(e);
|
@@ -6350,7 +6351,7 @@ he.prototype = /** @lends Sortable.prototype */
|
|
6350
6351
|
_onTapStart: function(e) {
|
6351
6352
|
if (e.cancelable) {
|
6352
6353
|
var t = this, n = this.el, i = this.options, s = i.preventOnFilter, c = e.type, u = e.touches && e.touches[0] || e.pointerType && e.pointerType === "touch" && e, h = (u || e).target, f = e.target.shadowRoot && (e.path && e.path[0] || e.composedPath && e.composedPath()[0]) || h, g = i.filter;
|
6353
|
-
if (ZM(n), !V && !(/mousedown|pointerdown/.test(c) && e.button !== 0 || i.disabled) && !f.isContentEditable && !(!this.nativeDraggable && Ta && h && h.tagName.toUpperCase() === "SELECT") && (h = sr(h, i.draggable, n, !1), !(h && h.animated) &&
|
6354
|
+
if (ZM(n), !V && !(/mousedown|pointerdown/.test(c) && e.button !== 0 || i.disabled) && !f.isContentEditable && !(!this.nativeDraggable && Ta && h && h.tagName.toUpperCase() === "SELECT") && (h = sr(h, i.draggable, n, !1), !(h && h.animated) && _c !== h)) {
|
6354
6355
|
if (_i = Ln(h), Aa = Ln(h, i.draggable), typeof g == "function") {
|
6355
6356
|
if (g.call(this, e, h, this)) {
|
6356
6357
|
Wt({
|
@@ -6389,7 +6390,7 @@ he.prototype = /** @lends Sortable.prototype */
|
|
6389
6390
|
var i = this, s = i.el, c = i.options, u = s.ownerDocument, h;
|
6390
6391
|
if (n && !V && n.parentNode === s) {
|
6391
6392
|
var f = vt(n);
|
6392
|
-
if (Qe = s, V = n, rt = V.parentNode, To = V.nextSibling,
|
6393
|
+
if (Qe = s, V = n, rt = V.parentNode, To = V.nextSibling, _c = n, Js = c.group, he.dragged = V, yo = {
|
6393
6394
|
target: V,
|
6394
6395
|
clientX: (t || e).clientX,
|
6395
6396
|
clientY: (t || e).clientY
|
@@ -6409,7 +6410,7 @@ he.prototype = /** @lends Sortable.prototype */
|
|
6409
6410
|
Dy(V, g.trim(), id);
|
6410
6411
|
}), Le(u, "dragover", wo), Le(u, "mousemove", wo), Le(u, "touchmove", wo), Le(u, "mouseup", i._onDrop), Le(u, "touchend", i._onDrop), Le(u, "touchcancel", i._onDrop), Cp && this.nativeDraggable && (this.options.touchStartThreshold = 4, V.draggable = !0), Xt("delayStart", this, {
|
6411
6412
|
evt: e
|
6412
|
-
}), c.delay && (!c.delayOnTouchOnly || t) && (!this.nativeDraggable || !(
|
6413
|
+
}), c.delay && (!c.delayOnTouchOnly || t) && (!this.nativeDraggable || !(ja || Br))) {
|
6413
6414
|
if (he.eventCanceled) {
|
6414
6415
|
this._onDrop();
|
6415
6416
|
return;
|
@@ -6433,7 +6434,7 @@ he.prototype = /** @lends Sortable.prototype */
|
|
6433
6434
|
_triggerDragStart: function(e, t) {
|
6434
6435
|
t = t || e.pointerType == "touch" && e, !this.nativeDraggable || t ? this.options.supportPointer ? Le(document, "pointermove", this._onTouchMove) : t ? Le(document, "touchmove", this._onTouchMove) : Le(document, "mousemove", this._onTouchMove) : (Le(V, "dragend", this), Le(Qe, "dragstart", this._onDragStart));
|
6435
6436
|
try {
|
6436
|
-
document.selection ?
|
6437
|
+
document.selection ? Tc(function() {
|
6437
6438
|
document.selection.empty();
|
6438
6439
|
}) : window.getSelection().removeAllRanges();
|
6439
6440
|
} catch {
|
@@ -6477,7 +6478,7 @@ he.prototype = /** @lends Sortable.prototype */
|
|
6477
6478
|
},
|
6478
6479
|
_onTouchMove: function(e) {
|
6479
6480
|
if (yo) {
|
6480
|
-
var t = this.options, n = t.fallbackTolerance, i = t.fallbackOffset, s = e.touches ? e.touches[0] : e, c = ye && Ai(ye, !0), u = ye && c && c.a, h = ye && c && c.d, f =
|
6481
|
+
var t = this.options, n = t.fallbackTolerance, i = t.fallbackOffset, s = e.touches ? e.touches[0] : e, c = ye && Ai(ye, !0), u = ye && c && c.a, h = ye && c && c.d, f = Xs && Lt && Ap(Lt), g = (s.clientX - yo.clientX + i.x) / (u || 1) + (f ? f[0] - od[0] : 0) / (u || 1), p = (s.clientY - yo.clientY + i.y) / (h || 1) + (f ? f[1] - od[1] : 0) / (h || 1);
|
6481
6482
|
if (!he.active && !mi) {
|
6482
6483
|
if (n && Math.max(Math.abs(s.clientX - this._lastX), Math.abs(s.clientY - this._lastY)) < n)
|
6483
6484
|
return;
|
@@ -6500,13 +6501,13 @@ he.prototype = /** @lends Sortable.prototype */
|
|
6500
6501
|
},
|
6501
6502
|
_appendGhost: function() {
|
6502
6503
|
if (!ye) {
|
6503
|
-
var e = this.options.fallbackOnBody ? document.body : Qe, t = vt(V, !0,
|
6504
|
-
if (
|
6504
|
+
var e = this.options.fallbackOnBody ? document.body : Qe, t = vt(V, !0, Xs, !0, e), n = this.options;
|
6505
|
+
if (Xs) {
|
6505
6506
|
for (Lt = e; de(Lt, "position") === "static" && de(Lt, "transform") === "none" && Lt !== document; )
|
6506
6507
|
Lt = Lt.parentNode;
|
6507
6508
|
Lt !== document.body && Lt !== document.documentElement ? (Lt === document && (Lt = gr()), t.top += Lt.scrollTop, t.left += Lt.scrollLeft) : Lt = gr(), od = Ap(Lt);
|
6508
6509
|
}
|
6509
|
-
ye = V.cloneNode(!0), ln(ye, n.ghostClass, !1), ln(ye, n.fallbackClass, !0), ln(ye, n.dragClass, !0), de(ye, "transition", ""), de(ye, "transform", ""), de(ye, "box-sizing", "border-box"), de(ye, "margin", 0), de(ye, "top", t.top), de(ye, "left", t.left), de(ye, "width", t.width), de(ye, "height", t.height), de(ye, "opacity", "0.8"), de(ye, "position",
|
6510
|
+
ye = V.cloneNode(!0), ln(ye, n.ghostClass, !1), ln(ye, n.fallbackClass, !0), ln(ye, n.dragClass, !0), de(ye, "transition", ""), de(ye, "transform", ""), de(ye, "box-sizing", "border-box"), de(ye, "margin", 0), de(ye, "top", t.top), de(ye, "left", t.left), de(ye, "width", t.width), de(ye, "height", t.height), de(ye, "opacity", "0.8"), de(ye, "position", Xs ? "absolute" : "fixed"), de(ye, "zIndex", "100000"), de(ye, "pointerEvents", "none"), he.ghost = ye, e.appendChild(ye), de(ye, "transform-origin", bp / parseInt(ye.style.width) * 100 + "% " + Sp / parseInt(ye.style.height) * 100 + "%");
|
6510
6511
|
}
|
6511
6512
|
},
|
6512
6513
|
_onDragStart: function(e, t) {
|
@@ -6517,16 +6518,16 @@ he.prototype = /** @lends Sortable.prototype */
|
|
6517
6518
|
this._onDrop();
|
6518
6519
|
return;
|
6519
6520
|
}
|
6520
|
-
Xt("setupClone", this), he.eventCanceled || (ot = Uy(V), ot.draggable = !1, ot.style["will-change"] = "", this._hideClone(), ln(ot, this.options.chosenClass, !1), he.clone = ot), n.cloneId =
|
6521
|
+
Xt("setupClone", this), he.eventCanceled || (ot = Uy(V), ot.draggable = !1, ot.style["will-change"] = "", this._hideClone(), ln(ot, this.options.chosenClass, !1), he.clone = ot), n.cloneId = Tc(function() {
|
6521
6522
|
Xt("clone", n), !he.eventCanceled && (n.options.removeCloneOnHide || Qe.insertBefore(ot, V), n._hideClone(), Wt({
|
6522
6523
|
sortable: n,
|
6523
6524
|
name: "clone"
|
6524
6525
|
}));
|
6525
|
-
}), !t && ln(V, s.dragClass, !0), t ? (xc = !0, n._loopId = setInterval(n._emulateDragOver, 50)) : (Pe(document, "mouseup", n._onDrop), Pe(document, "touchend", n._onDrop), Pe(document, "touchcancel", n._onDrop), i && (i.effectAllowed = "move", s.setData && s.setData.call(n, i, V)), Le(document, "drop", n), de(V, "transform", "translateZ(0)")), mi = !0, n._dragStartId =
|
6526
|
+
}), !t && ln(V, s.dragClass, !0), t ? (xc = !0, n._loopId = setInterval(n._emulateDragOver, 50)) : (Pe(document, "mouseup", n._onDrop), Pe(document, "touchend", n._onDrop), Pe(document, "touchcancel", n._onDrop), i && (i.effectAllowed = "move", s.setData && s.setData.call(n, i, V)), Le(document, "drop", n), de(V, "transform", "translateZ(0)")), mi = !0, n._dragStartId = Tc(n._dragStarted.bind(n, t, e)), Le(document, "selectstart", n), ga = !0, Ta && de(document.body, "user-select", "none");
|
6526
6527
|
},
|
6527
6528
|
// Returns true - if no further action is needed (either inserted or another condition)
|
6528
6529
|
_onDragOver: function(e) {
|
6529
|
-
var t = this.el, n = e.target, i, s, c, u = this.options, h = u.group, f = he.active, g =
|
6530
|
+
var t = this.el, n = e.target, i, s, c, u = this.options, h = u.group, f = he.active, g = Js === h, p = u.sort, y = kt || f, E, C = this, S = !1;
|
6530
6531
|
if (xd) return;
|
6531
6532
|
function P(ct, Nt) {
|
6532
6533
|
Xt(ct, C, pr({
|
@@ -6541,7 +6542,7 @@ he.prototype = /** @lends Sortable.prototype */
|
|
6541
6542
|
target: n,
|
6542
6543
|
completed: K,
|
6543
6544
|
onMove: function(tn, bl) {
|
6544
|
-
return
|
6545
|
+
return Zs(Qe, t, V, i, tn, vt(tn), e, bl);
|
6545
6546
|
},
|
6546
6547
|
changed: $
|
6547
6548
|
}, Nt));
|
@@ -6569,7 +6570,7 @@ he.prototype = /** @lends Sortable.prototype */
|
|
6569
6570
|
if (e.preventDefault !== void 0 && e.cancelable && e.preventDefault(), n = sr(n, u.draggable, t, !0), P("dragOver"), he.eventCanceled) return S;
|
6570
6571
|
if (V.contains(e.target) || n.animated && n.animatingX && n.animatingY || C._ignoreWhileAnimating === n)
|
6571
6572
|
return K(!1);
|
6572
|
-
if (xc = !1, f && !u.disabled && (g ? p || (c = rt !== Qe) : kt === this || (this.lastPutMode =
|
6573
|
+
if (xc = !1, f && !u.disabled && (g ? p || (c = rt !== Qe) : kt === this || (this.lastPutMode = Js.checkPull(this, f, V, e)) && h.checkPut(this, f, V, e))) {
|
6573
6574
|
if (E = this._getDirection(e, n) === "vertical", i = vt(V), P("dragOverValid"), he.eventCanceled) return S;
|
6574
6575
|
if (c)
|
6575
6576
|
return rt = Qe, W(), this._hideClone(), P("revert"), he.eventCanceled || (To ? Qe.insertBefore(V, To) : Qe.appendChild(V)), K(!0);
|
@@ -6577,18 +6578,18 @@ he.prototype = /** @lends Sortable.prototype */
|
|
6577
6578
|
if (!ie || YM(e, E, this) && !ie.animated) {
|
6578
6579
|
if (ie === V)
|
6579
6580
|
return K(!1);
|
6580
|
-
if (ie && t === e.target && (n = ie), n && (s = vt(n)),
|
6581
|
+
if (ie && t === e.target && (n = ie), n && (s = vt(n)), Zs(Qe, t, V, i, n, s, e, !!n) !== !1)
|
6581
6582
|
return W(), t.appendChild(V), rt = t, $(), K(!0);
|
6582
6583
|
} else if (ie && jM(e, E, this)) {
|
6583
6584
|
var pe = Oi(t, 0, u, !0);
|
6584
6585
|
if (pe === V)
|
6585
6586
|
return K(!1);
|
6586
|
-
if (n = pe, s = vt(n),
|
6587
|
+
if (n = pe, s = vt(n), Zs(Qe, t, V, i, n, s, e, !1) !== !1)
|
6587
6588
|
return W(), t.insertBefore(V, pe), rt = t, $(), K(!0);
|
6588
6589
|
} else if (n.parentNode === t) {
|
6589
6590
|
s = vt(n);
|
6590
6591
|
var Me = 0, G, ft = V.parentNode !== t, Ne = !zM(V.animated && V.toRect || i, n.animated && n.toRect || s, E), X = E ? "top" : "left", Y = Ep(n, "top", "top") || Ep(V, "top", "top"), De = Y ? Y.scrollTop : void 0;
|
6591
|
-
si !== n && (G = s[X], Sa = !1,
|
6592
|
+
si !== n && (G = s[X], Sa = !1, Qs = !Ne && u.invertSwap || ft), Me = JM(e, n, s, E, Ne ? 1 : u.swapThreshold, u.invertedSwapThreshold == null ? u.swapThreshold : u.invertedSwapThreshold, Qs, si === n);
|
6592
6593
|
var Ye;
|
6593
6594
|
if (Me !== 0) {
|
6594
6595
|
var Mt = Ln(V);
|
@@ -6601,9 +6602,9 @@ he.prototype = /** @lends Sortable.prototype */
|
|
6601
6602
|
si = n, ba = Me;
|
6602
6603
|
var Fn = n.nextElementSibling, wn = !1;
|
6603
6604
|
wn = Me === 1;
|
6604
|
-
var Gt =
|
6605
|
+
var Gt = Zs(Qe, t, V, i, n, s, e, wn);
|
6605
6606
|
if (Gt !== !1)
|
6606
|
-
return (Gt === 1 || Gt === -1) && (wn = Gt === 1), xd = !0, setTimeout(GM, 30), W(), wn && !Fn ? t.appendChild(V) : n.parentNode.insertBefore(V, wn ? Fn : n), Y && Ly(Y, 0, De - Y.scrollTop), rt = V.parentNode, G !== void 0 && !
|
6607
|
+
return (Gt === 1 || Gt === -1) && (wn = Gt === 1), xd = !0, setTimeout(GM, 30), W(), wn && !Fn ? t.appendChild(V) : n.parentNode.insertBefore(V, wn ? Fn : n), Y && Ly(Y, 0, De - Y.scrollTop), rt = V.parentNode, G !== void 0 && !Qs && (Cc = Math.abs(G - vt(n)[X])), $(), K(!0);
|
6607
6608
|
}
|
6608
6609
|
if (t.contains(V))
|
6609
6610
|
return K(!1);
|
@@ -6626,7 +6627,7 @@ he.prototype = /** @lends Sortable.prototype */
|
|
6626
6627
|
this._nulling();
|
6627
6628
|
return;
|
6628
6629
|
}
|
6629
|
-
mi = !1,
|
6630
|
+
mi = !1, Qs = !1, Sa = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Ld(this.cloneId), Ld(this._dragStartId), this.nativeDraggable && (Pe(document, "drop", this), Pe(t, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Ta && de(document.body, "user-select", ""), de(V, "transform", ""), e && (ga && (e.cancelable && e.preventDefault(), !n.dropBubble && e.stopPropagation()), ye && ye.parentNode && ye.parentNode.removeChild(ye), (Qe === rt || kt && kt.lastPutMode !== "clone") && ot && ot.parentNode && ot.parentNode.removeChild(ot), V && (this.nativeDraggable && Pe(V, "dragend", this), id(V), V.style["will-change"] = "", ga && !mi && ln(V, kt ? kt.options.ghostClass : this.options.ghostClass, !1), ln(V, this.options.chosenClass, !1), Wt({
|
6630
6631
|
sortable: this,
|
6631
6632
|
name: "unchoose",
|
6632
6633
|
toEl: rt,
|
@@ -6673,7 +6674,7 @@ he.prototype = /** @lends Sortable.prototype */
|
|
6673
6674
|
}), this.save()))), this._nulling();
|
6674
6675
|
},
|
6675
6676
|
_nulling: function() {
|
6676
|
-
Xt("nulling", this), Qe = V = rt = ye = To = ot =
|
6677
|
+
Xt("nulling", this), Qe = V = rt = ye = To = ot = _c = eo = yo = qn = ga = un = Zr = _i = Aa = si = ba = kt = Js = he.dragged = he.ghost = he.clone = he.active = null, Uc.forEach(function(e) {
|
6677
6678
|
e.checked = !0;
|
6678
6679
|
}), Uc.length = nd = rd = 0;
|
6679
6680
|
},
|
@@ -6740,7 +6741,7 @@ he.prototype = /** @lends Sortable.prototype */
|
|
6740
6741
|
var n = this.options;
|
6741
6742
|
if (t === void 0)
|
6742
6743
|
return n[e];
|
6743
|
-
var i =
|
6744
|
+
var i = Ya.modifyOption(this, e, t);
|
6744
6745
|
typeof i < "u" ? n[e] = i : n[e] = t, e === "group" && By(n);
|
6745
6746
|
},
|
6746
6747
|
/**
|
@@ -6773,9 +6774,9 @@ he.prototype = /** @lends Sortable.prototype */
|
|
6773
6774
|
function qM(r) {
|
6774
6775
|
r.dataTransfer && (r.dataTransfer.dropEffect = "move"), r.cancelable && r.preventDefault();
|
6775
6776
|
}
|
6776
|
-
function
|
6777
|
+
function Zs(r, e, t, n, i, s, c, u) {
|
6777
6778
|
var h, f = r[pn], g = f.options.onMove, p;
|
6778
|
-
return window.CustomEvent && !Br && !
|
6779
|
+
return window.CustomEvent && !Br && !ja ? h = new CustomEvent("move", {
|
6779
6780
|
bubbles: !0,
|
6780
6781
|
cancelable: !0
|
6781
6782
|
}) : (h = document.createEvent("Event"), h.initEvent("move", !0, !0)), h.to = e, h.from = r, h.dragged = t, h.draggedRect = n, h.related = i || e, h.relatedRect = s || vt(e), h.willInsertAfter = u, h.originalEvent = c, r.dispatchEvent(h), g && (p = g.call(f, h, c)), p;
|
@@ -6797,10 +6798,10 @@ function YM(r, e, t) {
|
|
6797
6798
|
function JM(r, e, t, n, i, s, c, u) {
|
6798
6799
|
var h = n ? r.clientY : r.clientX, f = n ? t.height : t.width, g = n ? t.top : t.left, p = n ? t.bottom : t.right, y = !1;
|
6799
6800
|
if (!c) {
|
6800
|
-
if (u &&
|
6801
|
+
if (u && Cc < f * i) {
|
6801
6802
|
if (!Sa && (ba === 1 ? h > g + f * s / 2 : h < p - f * s / 2) && (Sa = !0), Sa)
|
6802
6803
|
y = !0;
|
6803
|
-
else if (ba === 1 ? h < g +
|
6804
|
+
else if (ba === 1 ? h < g + Cc : h > p - Cc)
|
6804
6805
|
return -ba;
|
6805
6806
|
} else if (h > g + f * (1 - i) / 2 && h < p - f * (1 - i) / 2)
|
6806
6807
|
return QM(e);
|
@@ -6822,7 +6823,7 @@ function ZM(r) {
|
|
6822
6823
|
n.checked && Uc.push(n);
|
6823
6824
|
}
|
6824
6825
|
}
|
6825
|
-
function
|
6826
|
+
function Tc(r) {
|
6826
6827
|
return setTimeout(r, 0);
|
6827
6828
|
}
|
6828
6829
|
function Ld(r) {
|
@@ -6845,7 +6846,7 @@ he.utils = {
|
|
6845
6846
|
toggleClass: ln,
|
6846
6847
|
clone: Uy,
|
6847
6848
|
index: Ln,
|
6848
|
-
nextTick:
|
6849
|
+
nextTick: Tc,
|
6849
6850
|
cancelNextTick: Ld,
|
6850
6851
|
detectDirection: Fy,
|
6851
6852
|
getChild: Oi
|
@@ -6859,7 +6860,7 @@ he.mount = function() {
|
|
6859
6860
|
e[0].constructor === Array && (e = e[0]), e.forEach(function(n) {
|
6860
6861
|
if (!n.prototype || !n.prototype.constructor)
|
6861
6862
|
throw "Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(n));
|
6862
|
-
n.utils && (he.utils = pr(pr({}, he.utils), n.utils)),
|
6863
|
+
n.utils && (he.utils = pr(pr({}, he.utils), n.utils)), Ya.mount(n);
|
6863
6864
|
});
|
6864
6865
|
};
|
6865
6866
|
he.create = function(r, e) {
|
@@ -6889,7 +6890,7 @@ function eN() {
|
|
6889
6890
|
!this.options.dragOverBubble && !n.rootEl && this._handleAutoScroll(n);
|
6890
6891
|
},
|
6891
6892
|
drop: function() {
|
6892
|
-
this.sortable.nativeDraggable ? Pe(document, "dragover", this._handleAutoScroll) : (Pe(document, "pointermove", this._handleFallbackAutoScroll), Pe(document, "touchmove", this._handleFallbackAutoScroll), Pe(document, "mousemove", this._handleFallbackAutoScroll)), Rp(),
|
6893
|
+
this.sortable.nativeDraggable ? Pe(document, "dragover", this._handleAutoScroll) : (Pe(document, "pointermove", this._handleFallbackAutoScroll), Pe(document, "touchmove", this._handleFallbackAutoScroll), Pe(document, "mousemove", this._handleFallbackAutoScroll)), Rp(), Ec(), LM();
|
6893
6894
|
},
|
6894
6895
|
nulling: function() {
|
6895
6896
|
Hc = Ud = ma = Hd = pa = ad = sd = null, lt.length = 0;
|
@@ -6899,16 +6900,16 @@ function eN() {
|
|
6899
6900
|
},
|
6900
6901
|
_handleAutoScroll: function(t, n) {
|
6901
6902
|
var i = this, s = (t.touches ? t.touches[0] : t).clientX, c = (t.touches ? t.touches[0] : t).clientY, u = document.elementFromPoint(s, c);
|
6902
|
-
if (Hc = t, n || this.options.forceAutoScrollFallback ||
|
6903
|
+
if (Hc = t, n || this.options.forceAutoScrollFallback || ja || Br || Ta) {
|
6903
6904
|
cd(t, this.options, u, n);
|
6904
6905
|
var h = no(u, !0);
|
6905
6906
|
Hd && (!pa || s !== ad || c !== sd) && (pa && Rp(), pa = setInterval(function() {
|
6906
6907
|
var f = no(document.elementFromPoint(s, c), !0);
|
6907
|
-
f !== h && (h = f,
|
6908
|
+
f !== h && (h = f, Ec()), cd(t, i.options, f, n);
|
6908
6909
|
}, 10), ad = s, sd = c);
|
6909
6910
|
} else {
|
6910
6911
|
if (!this.options.bubbleScroll || no(u, !0) === gr()) {
|
6911
|
-
|
6912
|
+
Ec();
|
6912
6913
|
return;
|
6913
6914
|
}
|
6914
6915
|
cd(t, this.options, no(u, !1), !1);
|
@@ -6919,7 +6920,7 @@ function eN() {
|
|
6919
6920
|
initializeByDefault: !0
|
6920
6921
|
});
|
6921
6922
|
}
|
6922
|
-
function
|
6923
|
+
function Ec() {
|
6923
6924
|
lt.forEach(function(r) {
|
6924
6925
|
clearInterval(r.pid);
|
6925
6926
|
}), lt = [];
|
@@ -6930,7 +6931,7 @@ function Rp() {
|
|
6930
6931
|
var cd = xy(function(r, e, t, n) {
|
6931
6932
|
if (e.scroll) {
|
6932
6933
|
var i = (r.touches ? r.touches[0] : r).clientX, s = (r.touches ? r.touches[0] : r).clientY, c = e.scrollSensitivity, u = e.scrollSpeed, h = gr(), f = !1, g;
|
6933
|
-
Ud !== t && (Ud = t,
|
6934
|
+
Ud !== t && (Ud = t, Ec(), ma = e.scroll, g = e.scrollFn, ma === !0 && (ma = no(t, !0)));
|
6934
6935
|
var p = 0, y = ma;
|
6935
6936
|
do {
|
6936
6937
|
var E = y, C = vt(E), S = C.top, P = C.bottom, W = C.left, K = C.right, $ = C.width, ie = C.height, pe = void 0, Me = void 0, G = E.scrollWidth, ft = E.scrollHeight, Ne = de(E), X = E.scrollLeft, Y = E.scrollTop;
|
@@ -7305,19 +7306,19 @@ const hN = {
|
|
7305
7306
|
}, null, 8, ["modelValue"]),
|
7306
7307
|
A(Vv, null, {
|
7307
7308
|
default: k(() => [
|
7308
|
-
A(
|
7309
|
+
A(te(fN), {
|
7309
7310
|
list: e.value,
|
7310
7311
|
animation: 200,
|
7311
7312
|
"ghost-class": "ghost-card"
|
7312
7313
|
}, {
|
7313
7314
|
default: k(() => [
|
7314
|
-
(x(!0), oe(ht, null, oo(e.value, (c) => (x(), Q(
|
7315
|
+
(x(!0), oe(ht, null, oo(e.value, (c) => (x(), Q(hc, {
|
7315
7316
|
key: c.key,
|
7316
7317
|
class: "pa-0"
|
7317
7318
|
}, {
|
7318
7319
|
default: k(() => [
|
7319
|
-
|
7320
|
-
A(
|
7320
|
+
ne("div", gN, [
|
7321
|
+
A(te(h0), { class: "cursor-grab mb-2" }),
|
7321
7322
|
A(Ek, null, {
|
7322
7323
|
default: k(() => [
|
7323
7324
|
A(bk, {
|
@@ -7329,7 +7330,7 @@ const hN = {
|
|
7329
7330
|
}, 1024),
|
7330
7331
|
A(s, null, {
|
7331
7332
|
default: k(() => [
|
7332
|
-
A(
|
7333
|
+
A(fc, { class: "mb-1" }, {
|
7333
7334
|
default: k(() => [
|
7334
7335
|
H(we(c.title) + " ", 1)
|
7335
7336
|
]),
|
@@ -7387,7 +7388,7 @@ const hN = {
|
|
7387
7388
|
var i;
|
7388
7389
|
return ((i = e.columns.find((s) => s.isSubtitle)) == null ? void 0 : i.key) || "";
|
7389
7390
|
};
|
7390
|
-
return (i, s) => (x(), Q(
|
7391
|
+
return (i, s) => (x(), Q(Na, {
|
7391
7392
|
onClick: i.callback,
|
7392
7393
|
ripple: "",
|
7393
7394
|
class: "d-flex flex-column pa-4pa-4 bg-containerBg"
|
@@ -7432,14 +7433,14 @@ const hN = {
|
|
7432
7433
|
t() ? (x(), oe("div", pN, we(i.item[t()]), 1)) : ge("", !0),
|
7433
7434
|
n() ? (x(), oe("div", vN, we(i.item[n()]), 1)) : ge("", !0),
|
7434
7435
|
A(Po, { class: "ma-3" }),
|
7435
|
-
A(
|
7436
|
+
A(Da, { class: "d-flex flex-column align-center pa-4 pt-1" }, {
|
7436
7437
|
default: k(() => [
|
7437
7438
|
(x(!0), oe(ht, null, oo(i.columns, (c) => (x(), oe(ht, {
|
7438
7439
|
key: c.key
|
7439
7440
|
}, [
|
7440
7441
|
i.item[c.key] && !c.isHeader && !c.isSubtitle ? (x(), oe("div", yN, we(c.title) + ": " + we(i.item[c.key]), 1)) : ge("", !0)
|
7441
7442
|
], 64))), 128)),
|
7442
|
-
|
7443
|
+
ne("div", wN, [
|
7443
7444
|
i.tags ? (x(!0), oe(ht, { key: 0 }, oo(i.tags, (c) => (x(), Q(Sk, {
|
7444
7445
|
class: "pa-3",
|
7445
7446
|
key: c
|
@@ -7497,7 +7498,7 @@ const hN = {
|
|
7497
7498
|
_: 3
|
7498
7499
|
}));
|
7499
7500
|
}
|
7500
|
-
}), CN = /* @__PURE__ */
|
7501
|
+
}), CN = /* @__PURE__ */ Ga(_N, [["__scopeId", "data-v-e1a4ccbc"]]), TN = { class: "j-field px-4 py-3 rounded-sm bg-containerBg" }, Gy = /* @__PURE__ */ Te({
|
7501
7502
|
__name: "ReadOnlyField",
|
7502
7503
|
props: {
|
7503
7504
|
value: {}
|
@@ -7524,7 +7525,7 @@ const hN = {
|
|
7524
7525
|
const t = r, n = e, i = Pt(() => t.readonly ? "solo" : "solo-filled");
|
7525
7526
|
return (s, c) => (x(), oe("div", null, [
|
7526
7527
|
s.name ? (x(), oe("p", EN, we(s.name), 1)) : ge("", !0),
|
7527
|
-
s.label ? (x(), Q(
|
7528
|
+
s.label ? (x(), Q(La, {
|
7528
7529
|
key: 1,
|
7529
7530
|
class: "text-subtitle-1 text-high-emphasis mb-2"
|
7530
7531
|
}, {
|
@@ -7533,7 +7534,7 @@ const hN = {
|
|
7533
7534
|
]),
|
7534
7535
|
_: 1
|
7535
7536
|
})) : ge("", !0),
|
7536
|
-
s.readonly ? ge("", !0) : (x(), Q(
|
7537
|
+
s.readonly ? ge("", !0) : (x(), Q(te(Ck), {
|
7537
7538
|
key: 2,
|
7538
7539
|
variant: i.value,
|
7539
7540
|
color: "secondary",
|
@@ -7581,18 +7582,18 @@ const hN = {
|
|
7581
7582
|
class: "pa-2"
|
7582
7583
|
}, {
|
7583
7584
|
default: k(() => [
|
7584
|
-
|
7585
|
-
|
7586
|
-
|
7587
|
-
|
7585
|
+
ne("p", SN, [
|
7586
|
+
ne("b", IN, we(e.id.title) + ": ", 1),
|
7587
|
+
ne("span", RN, we(e.id.key || "-"), 1),
|
7588
|
+
ne("span", null, [
|
7588
7589
|
A(gh, {
|
7589
7590
|
"content-to-copy": e.id.key,
|
7590
7591
|
size: 15
|
7591
7592
|
}, null, 8, ["content-to-copy"])
|
7592
7593
|
])
|
7593
7594
|
]),
|
7594
|
-
|
7595
|
-
t[0] || (t[0] =
|
7595
|
+
ne("p", null, [
|
7596
|
+
t[0] || (t[0] = ne("b", null, "Created: ", -1)),
|
7596
7597
|
H(we(e.meta.created_at) + " - " + we(e.meta.created_by), 1)
|
7597
7598
|
])
|
7598
7599
|
]),
|
@@ -7604,14 +7605,14 @@ const hN = {
|
|
7604
7605
|
}, {
|
7605
7606
|
default: k(() => [
|
7606
7607
|
e.meta.updated_at && e.meta.updated_by ? (x(), oe("p", kN, [
|
7607
|
-
t[1] || (t[1] =
|
7608
|
+
t[1] || (t[1] = ne("b", null, "Updated: ", -1)),
|
7608
7609
|
H(we(e.meta.updated_at) + " - " + we(e.meta.updated_by), 1)
|
7609
7610
|
])) : (x(), oe("p", ON, [
|
7610
|
-
t[2] || (t[2] =
|
7611
|
+
t[2] || (t[2] = ne("b", null, "Modified: ", -1)),
|
7611
7612
|
H(we(e.meta.modified_at) + " - " + we(e.meta.modified_by), 1)
|
7612
7613
|
])),
|
7613
|
-
|
7614
|
-
t[3] || (t[3] =
|
7614
|
+
ne("p", PN, [
|
7615
|
+
t[3] || (t[3] = ne("b", null, "Delegated: ", -1)),
|
7615
7616
|
H(we(e.meta.delegated_at) + " - " + we(e.meta.delegated_by), 1)
|
7616
7617
|
])
|
7617
7618
|
]),
|
@@ -7656,7 +7657,7 @@ const hN = {
|
|
7656
7657
|
};
|
7657
7658
|
return (u, h) => (x(), oe(ht, null, [
|
7658
7659
|
u.name ? (x(), oe("p", MN, we(u.name), 1)) : ge("", !0),
|
7659
|
-
u.label ? (x(), Q(
|
7660
|
+
u.label ? (x(), Q(La, {
|
7660
7661
|
key: 1,
|
7661
7662
|
class: "text-subtitle-1 text-high-emphasis mb-2"
|
7662
7663
|
}, {
|
@@ -7668,7 +7669,7 @@ const hN = {
|
|
7668
7669
|
u.readonly ? (x(), Q(Gy, {
|
7669
7670
|
key: 3,
|
7670
7671
|
value: s.value
|
7671
|
-
}, null, 8, ["value"])) : (x(), Q(
|
7672
|
+
}, null, 8, ["value"])) : (x(), Q(te(Tk), {
|
7672
7673
|
key: 2,
|
7673
7674
|
modelValue: t.modelValue,
|
7674
7675
|
"onUpdate:modelValue": [
|
@@ -7710,7 +7711,7 @@ const hN = {
|
|
7710
7711
|
const t = r, n = e, i = Pt(() => t.readonly ? "solo" : "solo-filled");
|
7711
7712
|
return (s, c) => (x(), oe(ht, null, [
|
7712
7713
|
s.name ? (x(), oe("p", DN, we(s.name), 1)) : ge("", !0),
|
7713
|
-
s.label ? (x(), Q(
|
7714
|
+
s.label ? (x(), Q(La, {
|
7714
7715
|
key: 1,
|
7715
7716
|
class: "text-subtitle-1 text-high-emphasis mb-2"
|
7716
7717
|
}, {
|
@@ -7797,10 +7798,10 @@ const hN = {
|
|
7797
7798
|
}, {
|
7798
7799
|
default: k(() => [
|
7799
7800
|
n.title ? (x(), Q(Po, { key: 0 })) : ge("", !0),
|
7800
|
-
|
7801
|
+
ne("div", UN, [
|
7801
7802
|
Se(n.$slots, "default")
|
7802
7803
|
]),
|
7803
|
-
A(
|
7804
|
+
A(Da, { class: "pa-0 mx-0 align-content-end" }, {
|
7804
7805
|
default: k(() => [
|
7805
7806
|
A(dr, {
|
7806
7807
|
justify: "space-between",
|
@@ -7819,7 +7820,7 @@ const hN = {
|
|
7819
7820
|
]),
|
7820
7821
|
_: 1
|
7821
7822
|
}),
|
7822
|
-
A(
|
7823
|
+
A(xa),
|
7823
7824
|
A(Ot, {
|
7824
7825
|
cols: "auto",
|
7825
7826
|
class: "align-content-end"
|
@@ -7857,7 +7858,7 @@ const hN = {
|
|
7857
7858
|
emits: ["update:isEdition", "save", "cancel", "delete", "disable"],
|
7858
7859
|
setup(r, { emit: e }) {
|
7859
7860
|
var f;
|
7860
|
-
const t = r, n = e, i =
|
7861
|
+
const t = r, n = e, i = Wa(), s = ((f = i == null ? void 0 : i.vnode.props) == null ? void 0 : f.onDisable) !== void 0, c = ee(t.readonly);
|
7861
7862
|
function u() {
|
7862
7863
|
c.value = !c.value, n("update:isEdition", c.value);
|
7863
7864
|
}
|
@@ -7866,21 +7867,21 @@ const hN = {
|
|
7866
7867
|
}
|
7867
7868
|
return (g, p) => (x(), oe("div", FN, [
|
7868
7869
|
g.id ? (x(), oe("div", BN, [
|
7869
|
-
p[0] || (p[0] =
|
7870
|
-
|
7870
|
+
p[0] || (p[0] = ne("b", null, "ID:", -1)),
|
7871
|
+
ne("span", $N, we(g.id), 1),
|
7871
7872
|
A(gh, {
|
7872
7873
|
"content-to-copy": g.id,
|
7873
7874
|
size: 20
|
7874
7875
|
}, null, 8, ["content-to-copy"])
|
7875
7876
|
])) : ge("", !0),
|
7876
|
-
A(
|
7877
|
-
|
7877
|
+
A(xa),
|
7878
|
+
ne("div", KN, [
|
7878
7879
|
A(je, {
|
7879
7880
|
onClick: h,
|
7880
7881
|
variant: "text"
|
7881
7882
|
}, {
|
7882
7883
|
default: k(() => [
|
7883
|
-
s ? (x(), Q(
|
7884
|
+
s ? (x(), Q(te(c0), {
|
7884
7885
|
key: 0,
|
7885
7886
|
size: "11",
|
7886
7887
|
class: "me-2"
|
@@ -7895,12 +7896,12 @@ const hN = {
|
|
7895
7896
|
]),
|
7896
7897
|
_: 1
|
7897
7898
|
}),
|
7898
|
-
|
7899
|
+
ne("div", zN, [
|
7899
7900
|
A(Po, {
|
7900
7901
|
class: "mx-2 my-1",
|
7901
7902
|
vertical: ""
|
7902
7903
|
}),
|
7903
|
-
|
7904
|
+
ne("div", VN, [
|
7904
7905
|
Jm(A(je, {
|
7905
7906
|
onClick: u,
|
7906
7907
|
variant: "text",
|
@@ -7951,12 +7952,12 @@ const hN = {
|
|
7951
7952
|
const t = e, n = dk();
|
7952
7953
|
return (i, s) => (x(), Q(wh, null, {
|
7953
7954
|
default: k(() => [
|
7954
|
-
|
7955
|
-
|
7955
|
+
ne("div", qN, [
|
7956
|
+
ne("div", GN, [
|
7956
7957
|
Se(i.$slots, "default", {}, void 0, !0)
|
7957
7958
|
])
|
7958
7959
|
]),
|
7959
|
-
|
7960
|
+
ne("div", jN, [
|
7960
7961
|
A(dr, {
|
7961
7962
|
"no-gutters": "",
|
7962
7963
|
justify: "space-between",
|
@@ -7981,12 +7982,12 @@ const hN = {
|
|
7981
7982
|
cols: "auto"
|
7982
7983
|
}, {
|
7983
7984
|
default: k(() => [
|
7984
|
-
"onCancel" in
|
7985
|
+
"onCancel" in te(n) ? (x(), Q(jy, {
|
7985
7986
|
key: 0,
|
7986
7987
|
title: "Back",
|
7987
7988
|
onCancel: s[0] || (s[0] = (c) => t("onCancel"))
|
7988
7989
|
})) : ge("", !0),
|
7989
|
-
"onSave" in
|
7990
|
+
"onSave" in te(n) ? (x(), Q(Yy, {
|
7990
7991
|
key: 1,
|
7991
7992
|
onOnSave: s[1] || (s[1] = (c) => t("onSave"))
|
7992
7993
|
})) : ge("", !0)
|
@@ -8001,7 +8002,7 @@ const hN = {
|
|
8001
8002
|
_: 3
|
8002
8003
|
}));
|
8003
8004
|
}
|
8004
|
-
}), JN = /* @__PURE__ */
|
8005
|
+
}), JN = /* @__PURE__ */ Ga(YN, [["__scopeId", "data-v-489d31c3"]]);
|
8005
8006
|
/**
|
8006
8007
|
* @license @tabler/icons-vue v3.22.0 - MIT
|
8007
8008
|
*
|
@@ -8143,7 +8144,7 @@ const N = {
|
|
8143
8144
|
ID_TOKEN_RESPONSE_TYPE: "id_token",
|
8144
8145
|
SHR_NONCE_VALIDITY: 240,
|
8145
8146
|
INVALID_INSTANCE: "invalid_instance"
|
8146
|
-
},
|
8147
|
+
}, ec = {
|
8147
8148
|
SUCCESS: 200,
|
8148
8149
|
SUCCESS_RANGE_START: 200,
|
8149
8150
|
SUCCESS_RANGE_END: 299,
|
@@ -8188,7 +8189,7 @@ const N = {
|
|
8188
8189
|
COMMON: "common",
|
8189
8190
|
ORGANIZATIONS: "organizations",
|
8190
8191
|
CONSUMERS: "consumers"
|
8191
|
-
},
|
8192
|
+
}, tc = {
|
8192
8193
|
ACCESS_TOKEN: "access_token",
|
8193
8194
|
XMS_CC: "xms_cc"
|
8194
8195
|
}, Tt = {
|
@@ -8201,11 +8202,11 @@ const N = {
|
|
8201
8202
|
}, Np = {
|
8202
8203
|
PLAIN: "plain",
|
8203
8204
|
S256: "S256"
|
8204
|
-
},
|
8205
|
+
}, Ja = {
|
8205
8206
|
QUERY: "query",
|
8206
8207
|
FRAGMENT: "fragment"
|
8207
8208
|
}, tD = {
|
8208
|
-
...
|
8209
|
+
...Ja,
|
8209
8210
|
FORM_POST: "form_post"
|
8210
8211
|
}, Jy = {
|
8211
8212
|
IMPLICIT_GRANT: "implicit",
|
@@ -8215,7 +8216,7 @@ const N = {
|
|
8215
8216
|
REFRESH_TOKEN_GRANT: "refresh_token",
|
8216
8217
|
DEVICE_CODE_GRANT: "device_code",
|
8217
8218
|
JWT_BEARER: "urn:ietf:params:oauth:grant-type:jwt-bearer"
|
8218
|
-
},
|
8219
|
+
}, nc = {
|
8219
8220
|
MSSTS_ACCOUNT_TYPE: "MSSTS",
|
8220
8221
|
ADFS_ACCOUNT_TYPE: "ADFS",
|
8221
8222
|
MSAV1_ACCOUNT_TYPE: "MSA",
|
@@ -8268,7 +8269,7 @@ const N = {
|
|
8268
8269
|
}, xp = {
|
8269
8270
|
username: "username",
|
8270
8271
|
password: "password"
|
8271
|
-
},
|
8272
|
+
}, rc = {
|
8272
8273
|
httpSuccess: 200,
|
8273
8274
|
httpBadRequest: 400
|
8274
8275
|
}, ci = {
|
@@ -8730,7 +8731,7 @@ function kD(r, e) {
|
|
8730
8731
|
function $p() {
|
8731
8732
|
return vr() + Fc.REFRESH_TIME_SECONDS;
|
8732
8733
|
}
|
8733
|
-
function
|
8734
|
+
function oc(r, e, t) {
|
8734
8735
|
r.authorization_endpoint = e.authorization_endpoint, r.token_endpoint = e.token_endpoint, r.end_session_endpoint = e.end_session_endpoint, r.issuer = e.issuer, r.endpointsFromNetwork = t, r.jwks_uri = e.jwks_uri;
|
8735
8736
|
}
|
8736
8737
|
function hd(r, e, t) {
|
@@ -9120,7 +9121,7 @@ class yt {
|
|
9120
9121
|
static createAccount(e, t, n) {
|
9121
9122
|
var f, g, p, y, E, C;
|
9122
9123
|
const i = new yt();
|
9123
|
-
t.authorityType === jn.Adfs ? i.authorityType =
|
9124
|
+
t.authorityType === jn.Adfs ? i.authorityType = nc.ADFS_ACCOUNT_TYPE : t.protocolMode === Ur.AAD ? i.authorityType = nc.MSSTS_ACCOUNT_TYPE : i.authorityType = nc.GENERIC_ACCOUNT_TYPE;
|
9124
9125
|
let s;
|
9125
9126
|
e.clientInfo && n && (s = Kc(e.clientInfo, n)), i.clientInfo = e.clientInfo, i.homeAccountId = e.homeAccountId, i.nativeAccountId = e.nativeAccountId;
|
9126
9127
|
const c = e.environment || t && t.getPreferredCache();
|
@@ -9146,7 +9147,7 @@ class yt {
|
|
9146
9147
|
static createFromAccountInfo(e, t, n) {
|
9147
9148
|
var s;
|
9148
9149
|
const i = new yt();
|
9149
|
-
return i.authorityType = e.authorityType ||
|
9150
|
+
return i.authorityType = e.authorityType || nc.GENERIC_ACCOUNT_TYPE, i.homeAccountId = e.homeAccountId, i.localAccountId = e.localAccountId, i.nativeAccountId = e.nativeAccountId, i.realm = e.tenantId, i.environment = e.environment, i.username = e.username, i.name = e.name, i.cloudGraphHostName = t, i.msGraphHost = n, i.tenantProfiles = Array.from(((s = e.tenantProfiles) == null ? void 0 : s.values()) || []), i;
|
9150
9151
|
}
|
9151
9152
|
/**
|
9152
9153
|
* Generate HomeAccountId from server response
|
@@ -10573,7 +10574,7 @@ class ka {
|
|
10573
10574
|
} catch {
|
10574
10575
|
throw ze(Uh);
|
10575
10576
|
}
|
10576
|
-
return t && t.length > 0 && (n.hasOwnProperty(
|
10577
|
+
return t && t.length > 0 && (n.hasOwnProperty(tc.ACCESS_TOKEN) || (n[tc.ACCESS_TOKEN] = {}), n[tc.ACCESS_TOKEN][tc.XMS_CC] = {
|
10577
10578
|
values: t
|
10578
10579
|
}), JSON.stringify(n);
|
10579
10580
|
}
|
@@ -10952,12 +10953,12 @@ class ul {
|
|
10952
10953
|
const s = ul.IMDS_OPTIONS;
|
10953
10954
|
try {
|
10954
10955
|
const c = await z(this.getRegionFromIMDS.bind(this), R.RegionDiscoveryGetRegionFromIMDS, this.logger, this.performanceClient, this.correlationId)(N.IMDS_VERSION, s);
|
10955
|
-
if (c.status ===
|
10956
|
+
if (c.status === rc.httpSuccess && (n = c.body, t.region_source = ci.IMDS), c.status === rc.httpBadRequest) {
|
10956
10957
|
const u = await z(this.getCurrentVersion.bind(this), R.RegionDiscoveryGetCurrentVersion, this.logger, this.performanceClient, this.correlationId)(s);
|
10957
10958
|
if (!u)
|
10958
10959
|
return t.region_source = ci.FAILED_AUTO_DETECTION, null;
|
10959
10960
|
const h = await z(this.getRegionFromIMDS.bind(this), R.RegionDiscoveryGetRegionFromIMDS, this.logger, this.performanceClient, this.correlationId)(u, s);
|
10960
|
-
h.status ===
|
10961
|
+
h.status === rc.httpSuccess && (n = h.body, t.region_source = ci.IMDS);
|
10961
10962
|
}
|
10962
10963
|
} catch {
|
10963
10964
|
return t.region_source = ci.FAILED_AUTO_DETECTION, null;
|
@@ -10985,7 +10986,7 @@ class ul {
|
|
10985
10986
|
(t = this.performanceClient) == null || t.addQueueMeasurement(R.RegionDiscoveryGetCurrentVersion, this.correlationId);
|
10986
10987
|
try {
|
10987
10988
|
const n = await this.networkInterface.sendGetRequestAsync(`${N.IMDS_ENDPOINT}?format=json`, e);
|
10988
|
-
return n.status ===
|
10989
|
+
return n.status === rc.httpBadRequest && n.body && n.body["newest-versions"] && n.body["newest-versions"].length > 0 ? n.body["newest-versions"][0] : null;
|
10989
10990
|
} catch {
|
10990
10991
|
return null;
|
10991
10992
|
}
|
@@ -11223,13 +11224,13 @@ class Ht {
|
|
11223
11224
|
if (t) {
|
11224
11225
|
if (t.source === dn.HARDCODED_VALUES && (s = this.authorityOptions.azureRegionConfiguration) != null && s.azureRegion && t.metadata) {
|
11225
11226
|
const u = await z(this.updateMetadataWithRegionalInformation.bind(this), R.AuthorityUpdateMetadataWithRegionalInformation, this.logger, this.performanceClient, this.correlationId)(t.metadata);
|
11226
|
-
|
11227
|
+
oc(e, u, !1), e.canonical_authority = this.canonicalAuthority;
|
11227
11228
|
}
|
11228
11229
|
return t.source;
|
11229
11230
|
}
|
11230
11231
|
let n = await z(this.getEndpointMetadataFromNetwork.bind(this), R.AuthorityGetEndpointMetadataFromNetwork, this.logger, this.performanceClient, this.correlationId)();
|
11231
11232
|
if (n)
|
11232
|
-
return (c = this.authorityOptions.azureRegionConfiguration) != null && c.azureRegion && (n = await z(this.updateMetadataWithRegionalInformation.bind(this), R.AuthorityUpdateMetadataWithRegionalInformation, this.logger, this.performanceClient, this.correlationId)(n)),
|
11233
|
+
return (c = this.authorityOptions.azureRegionConfiguration) != null && c.azureRegion && (n = await z(this.updateMetadataWithRegionalInformation.bind(this), R.AuthorityUpdateMetadataWithRegionalInformation, this.logger, this.performanceClient, this.correlationId)(n)), oc(e, n, !0), dn.NETWORK;
|
11233
11234
|
throw B(tw, this.defaultOpenIdConfigurationEndpoint);
|
11234
11235
|
}
|
11235
11236
|
/**
|
@@ -11242,7 +11243,7 @@ class Ht {
|
|
11242
11243
|
this.logger.verbose("Attempting to get endpoint metadata from authority configuration");
|
11243
11244
|
const t = this.getEndpointMetadataFromConfig();
|
11244
11245
|
if (t)
|
11245
|
-
return this.logger.verbose("Found endpoint metadata in authority configuration"),
|
11246
|
+
return this.logger.verbose("Found endpoint metadata in authority configuration"), oc(e, t, !1), {
|
11246
11247
|
source: dn.CONFIG
|
11247
11248
|
};
|
11248
11249
|
if (this.logger.verbose("Did not find endpoint metadata in the config... Attempting to get endpoint metadata from the hardcoded values."), this.authorityOptions.skipAuthorityMetadataCache)
|
@@ -11250,7 +11251,7 @@ class Ht {
|
|
11250
11251
|
else {
|
11251
11252
|
const i = this.getEndpointMetadataFromHardcodedValues();
|
11252
11253
|
if (i)
|
11253
|
-
return
|
11254
|
+
return oc(e, i, !1), {
|
11254
11255
|
source: dn.HARDCODED_VALUES,
|
11255
11256
|
metadata: i
|
11256
11257
|
};
|
@@ -11971,11 +11972,11 @@ class Do {
|
|
11971
11972
|
var n;
|
11972
11973
|
if (e.error || e.error_description || e.suberror) {
|
11973
11974
|
const i = `Error(s): ${e.error_codes || N.NOT_AVAILABLE} - Timestamp: ${e.timestamp || N.NOT_AVAILABLE} - Description: ${e.error_description || N.NOT_AVAILABLE} - Correlation ID: ${e.correlation_id || N.NOT_AVAILABLE} - Trace ID: ${e.trace_id || N.NOT_AVAILABLE}`, s = (n = e.error_codes) != null && n.length ? e.error_codes[0] : void 0, c = new so(e.error, i, e.suberror, s, e.status);
|
11974
|
-
if (t && e.status && e.status >=
|
11975
|
+
if (t && e.status && e.status >= ec.SERVER_ERROR_RANGE_START && e.status <= ec.SERVER_ERROR_RANGE_END) {
|
11975
11976
|
this.logger.warning(`executeTokenRequest:validateTokenResponse - AAD is currently unavailable and the access token is unable to be refreshed.
|
11976
11977
|
${c}`);
|
11977
11978
|
return;
|
11978
|
-
} else if (t && e.status && e.status >=
|
11979
|
+
} else if (t && e.status && e.status >= ec.CLIENT_ERROR_RANGE_START && e.status <= ec.CLIENT_ERROR_RANGE_END) {
|
11979
11980
|
this.logger.warning(`executeTokenRequest:validateTokenResponse - AAD is currently available but is unable to refresh the access token.
|
11980
11981
|
${c}`);
|
11981
11982
|
return;
|
@@ -12622,7 +12623,7 @@ function Gx(r) {
|
|
12622
12623
|
const { skuArr: e, index: t, skuName: n, skuVersion: i } = r;
|
12623
12624
|
t >= e.length || (e[t] = [n, i].join(Vw));
|
12624
12625
|
}
|
12625
|
-
class
|
12626
|
+
class Ba {
|
12626
12627
|
constructor(e, t) {
|
12627
12628
|
this.cacheOutcome = Xr.NOT_APPLICABLE, this.cacheManager = t, this.apiId = e.apiId, this.correlationId = e.correlationId, this.wrapperSKU = e.wrapperSKU || N.EMPTY_STRING, this.wrapperVer = e.wrapperVer || N.EMPTY_STRING, this.telemetryCacheKey = Rt.CACHE_KEY + Bt.CACHE_KEY_SEPARATOR + e.clientId;
|
12628
12629
|
}
|
@@ -12646,7 +12647,7 @@ class Fa {
|
|
12646
12647
|
* API to add MSER Telemetry for the last failed request
|
12647
12648
|
*/
|
12648
12649
|
generateLastRequestHeaderValue() {
|
12649
|
-
const e = this.getLastRequests(), t =
|
12650
|
+
const e = this.getLastRequests(), t = Ba.maxErrorsToSend(e), n = e.failedRequests.slice(0, 2 * t).join(Rt.VALUE_SEPARATOR), i = e.errors.slice(0, t).join(Rt.VALUE_SEPARATOR), s = e.errors.length, c = t < s ? Rt.OVERFLOW_TRUE : Rt.OVERFLOW_FALSE, u = [s, c].join(Rt.VALUE_SEPARATOR);
|
12650
12651
|
return [
|
12651
12652
|
Rt.SCHEMA_VERSION,
|
12652
12653
|
e.cacheHits,
|
@@ -12685,7 +12686,7 @@ class Fa {
|
|
12685
12686
|
* Remove server telemetry cache entry
|
12686
12687
|
*/
|
12687
12688
|
clearTelemetryCache() {
|
12688
|
-
const e = this.getLastRequests(), t =
|
12689
|
+
const e = this.getLastRequests(), t = Ba.maxErrorsToSend(e), n = e.errors.length;
|
12689
12690
|
if (t === n)
|
12690
12691
|
this.cacheManager.removeItem(this.telemetryCacheKey);
|
12691
12692
|
else {
|
@@ -12862,7 +12863,7 @@ class Yx {
|
|
12862
12863
|
}
|
12863
12864
|
}
|
12864
12865
|
/*! @azure/msal-browser v3.28.1 2025-01-14 */
|
12865
|
-
const Qh = "pkce_not_created", Jd = "crypto_nonexistent", fl = "empty_navigate_uri", Gw = "hash_empty_error", Xh = "no_state_in_hash", jw = "hash_does_not_contain_known_properties", Yw = "unable_to_parse_state", Jw = "state_interaction_type_mismatch", Qw = "interaction_in_progress", Xw = "popup_window_error", Zw = "empty_window_error", xo = "user_cancelled", Jx = "monitor_popup_timeout", e_ = "monitor_window_timeout", t_ = "redirect_in_iframe", n_ = "block_iframe_reload", r_ = "block_nested_popups", Qx = "iframe_closed_prematurely", gl = "silent_logout_unsupported", o_ = "no_account_error", Xx = "silent_prompt_value_error", i_ = "no_token_request_cache_error", a_ = "unable_to_parse_token_request_cache_error", Zh = "no_cached_authority_error", Zx = "auth_request_not_set_error", eL = "invalid_cache_type", ml = "non_browser_environment", vi = "database_not_open", Gc = "no_network_connectivity", s_ = "post_request_failed", c_ = "get_request_failed", Qd = "failed_to_parse_response", l_ = "unable_to_load_token", ef = "crypto_key_not_found", u_ = "auth_code_required", d_ = "auth_code_or_nativeAccountId_required", h_ = "spa_code_and_nativeAccountId_present", tf = "database_unavailable", f_ = "unable_to_acquire_token_from_native_platform", g_ = "native_handshake_timeout", m_ = "native_extension_not_installed",
|
12866
|
+
const Qh = "pkce_not_created", Jd = "crypto_nonexistent", fl = "empty_navigate_uri", Gw = "hash_empty_error", Xh = "no_state_in_hash", jw = "hash_does_not_contain_known_properties", Yw = "unable_to_parse_state", Jw = "state_interaction_type_mismatch", Qw = "interaction_in_progress", Xw = "popup_window_error", Zw = "empty_window_error", xo = "user_cancelled", Jx = "monitor_popup_timeout", e_ = "monitor_window_timeout", t_ = "redirect_in_iframe", n_ = "block_iframe_reload", r_ = "block_nested_popups", Qx = "iframe_closed_prematurely", gl = "silent_logout_unsupported", o_ = "no_account_error", Xx = "silent_prompt_value_error", i_ = "no_token_request_cache_error", a_ = "unable_to_parse_token_request_cache_error", Zh = "no_cached_authority_error", Zx = "auth_request_not_set_error", eL = "invalid_cache_type", ml = "non_browser_environment", vi = "database_not_open", Gc = "no_network_connectivity", s_ = "post_request_failed", c_ = "get_request_failed", Qd = "failed_to_parse_response", l_ = "unable_to_load_token", ef = "crypto_key_not_found", u_ = "auth_code_required", d_ = "auth_code_or_nativeAccountId_required", h_ = "spa_code_and_nativeAccountId_present", tf = "database_unavailable", f_ = "unable_to_acquire_token_from_native_platform", g_ = "native_handshake_timeout", m_ = "native_extension_not_installed", Qa = "native_connection_not_established", p_ = "uninitialized_public_client_application", v_ = "native_prompt_not_supported", y_ = "invalid_base64_string", w_ = "invalid_pop_token_request", __ = "failed_to_build_headers", C_ = "failed_to_parse_headers";
|
12866
12867
|
/*! @azure/msal-browser v3.28.1 2025-01-14 */
|
12867
12868
|
const Or = "For more visit: aka.ms/msaljs/browser-errors", tL = {
|
12868
12869
|
[Qh]: "The PKCE code challenge and verifier could not be generated.",
|
@@ -12906,7 +12907,7 @@ const Or = "For more visit: aka.ms/msaljs/browser-errors", tL = {
|
|
12906
12907
|
[f_]: `Unable to acquire token from native platform. ${Or}`,
|
12907
12908
|
[g_]: "Timed out while attempting to establish connection to browser extension",
|
12908
12909
|
[m_]: "Native extension is not installed. If you think this is a mistake call the initialize function.",
|
12909
|
-
[
|
12910
|
+
[Qa]: `Connection to native platform has not been established. Please install a compatible browser extension and run initialize(). ${Or}`,
|
12910
12911
|
[p_]: `You must call and await the initialize function before attempting to call any other MSAL API. ${Or}`,
|
12911
12912
|
[v_]: "The provided prompt is not supported by the native platform. This request should be routed to the web based flow.",
|
12912
12913
|
[y_]: "Invalid base64 encoded string.",
|
@@ -12914,13 +12915,13 @@ const Or = "For more visit: aka.ms/msaljs/browser-errors", tL = {
|
|
12914
12915
|
[__]: "Failed to build request headers object.",
|
12915
12916
|
[C_]: "Failed to parse response headers"
|
12916
12917
|
};
|
12917
|
-
class
|
12918
|
+
class Xa extends Xe {
|
12918
12919
|
constructor(e, t) {
|
12919
|
-
super(e, tL[e], t), Object.setPrototypeOf(this,
|
12920
|
+
super(e, tL[e], t), Object.setPrototypeOf(this, Xa.prototype), this.name = "BrowserAuthError";
|
12920
12921
|
}
|
12921
12922
|
}
|
12922
12923
|
function J(r, e) {
|
12923
|
-
return new
|
12924
|
+
return new Xa(r, e);
|
12924
12925
|
}
|
12925
12926
|
/*! @azure/msal-browser v3.28.1 2025-01-14 */
|
12926
12927
|
const fn = {
|
@@ -12987,7 +12988,7 @@ const fn = {
|
|
12987
12988
|
}, Qr = {
|
12988
12989
|
ACCOUNT_KEYS: "msal.account.keys",
|
12989
12990
|
TOKEN_KEYS: "msal.token.keys"
|
12990
|
-
},
|
12991
|
+
}, ic = {
|
12991
12992
|
WRAPPER_SKU: "wrapper.sku",
|
12992
12993
|
WRAPPER_VER: "wrapper.version"
|
12993
12994
|
}, Ge = {
|
@@ -13001,10 +13002,10 @@ const fn = {
|
|
13001
13002
|
logout: 961,
|
13002
13003
|
logoutPopup: 962
|
13003
13004
|
};
|
13004
|
-
var
|
13005
|
+
var re;
|
13005
13006
|
(function(r) {
|
13006
13007
|
r.Redirect = "redirect", r.Popup = "popup", r.Silent = "silent", r.None = "none";
|
13007
|
-
})(
|
13008
|
+
})(re || (re = {}));
|
13008
13009
|
const nv = {
|
13009
13010
|
scopes: Li
|
13010
13011
|
}, T_ = "jwk", Xd = "msal.db", nL = 1, rL = `${Xd}.keys`, hn = {
|
@@ -13048,7 +13049,7 @@ const nv = {
|
|
13048
13049
|
hn.RefreshTokenAndNetwork
|
13049
13050
|
], iL = "msal.browser.log.level", aL = "msal.browser.log.pii";
|
13050
13051
|
/*! @azure/msal-browser v3.28.1 2025-01-14 */
|
13051
|
-
function
|
13052
|
+
function ac(r) {
|
13052
13053
|
return encodeURIComponent(nf(r).replace(/=/g, "").replace(/\+/g, "-").replace(/\//g, "_"));
|
13053
13054
|
}
|
13054
13055
|
function pl(r) {
|
@@ -13112,21 +13113,21 @@ async function S_(r) {
|
|
13112
13113
|
return pl(t);
|
13113
13114
|
}
|
13114
13115
|
/*! @azure/msal-browser v3.28.1 2025-01-14 */
|
13115
|
-
const
|
13116
|
+
const $a = "storage_not_supported", Zd = "stubbed_public_client_application_called", jc = "in_mem_redirect_unavailable";
|
13116
13117
|
/*! @azure/msal-browser v3.28.1 2025-01-14 */
|
13117
|
-
const
|
13118
|
-
[
|
13118
|
+
const Ac = {
|
13119
|
+
[$a]: "Given storage configuration option was not supported.",
|
13119
13120
|
[Zd]: "Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors",
|
13120
13121
|
[jc]: "Redirect cannot be supported. In-memory storage was selected and storeAuthStateInCookie=false, which would cause the library to be unable to handle the incoming hash. If you would like to use the redirect API, please use session/localStorage or set storeAuthStateInCookie=true."
|
13121
13122
|
};
|
13122
|
-
|
13123
|
+
Ac[$a], Ac[Zd], Ac[jc];
|
13123
13124
|
class of extends Xe {
|
13124
13125
|
constructor(e, t) {
|
13125
13126
|
super(e, t), this.name = "BrowserConfigurationAuthError", Object.setPrototypeOf(this, of.prototype);
|
13126
13127
|
}
|
13127
13128
|
}
|
13128
13129
|
function af(r) {
|
13129
|
-
return new of(r,
|
13130
|
+
return new of(r, Ac[r]);
|
13130
13131
|
}
|
13131
13132
|
/*! @azure/msal-browser v3.28.1 2025-01-14 */
|
13132
13133
|
function pL(r) {
|
@@ -13317,7 +13318,7 @@ function RL({ auth: r, cache: e, system: t, telemetry: n }, i) {
|
|
13317
13318
|
clientCapabilities: [],
|
13318
13319
|
protocolMode: Ur.AAD,
|
13319
13320
|
OIDCOptions: {
|
13320
|
-
serverResponseType:
|
13321
|
+
serverResponseType: Ja.FRAGMENT,
|
13321
13322
|
defaultScopes: [
|
13322
13323
|
N.OPENID_SCOPE,
|
13323
13324
|
N.PROFILE_SCOPE,
|
@@ -13654,7 +13655,7 @@ class ML {
|
|
13654
13655
|
this.inMemoryCache = new th(), this.indexedDBCache = new PL(), this.logger = e;
|
13655
13656
|
}
|
13656
13657
|
handleDatabaseAccessError(e) {
|
13657
|
-
if (e instanceof
|
13658
|
+
if (e instanceof Xa && e.errorCode === tf)
|
13658
13659
|
this.logger.error("Could not access persistent storage. This may be caused by browser privacy features which block persistent storage in third-party contexts.");
|
13659
13660
|
else
|
13660
13661
|
throw e;
|
@@ -13779,7 +13780,7 @@ class Di {
|
|
13779
13780
|
* @param input
|
13780
13781
|
*/
|
13781
13782
|
base64UrlEncode(e) {
|
13782
|
-
return
|
13783
|
+
return ac(e);
|
13783
13784
|
}
|
13784
13785
|
/**
|
13785
13786
|
* Stringifies and base64Url encodes input public key
|
@@ -13837,15 +13838,15 @@ class Di {
|
|
13837
13838
|
const s = ($ = this.performanceClient) == null ? void 0 : $.startMeasurement(R.CryptoOptsSignJwt, i), c = await this.cache.getItem(t);
|
13838
13839
|
if (!c)
|
13839
13840
|
throw J(ef);
|
13840
|
-
const u = await md(c.publicKey), h = cv(u), f =
|
13841
|
+
const u = await md(c.publicKey), h = cv(u), f = ac(JSON.stringify({ kid: t })), g = Jh.getShrHeaderString({
|
13841
13842
|
...n == null ? void 0 : n.header,
|
13842
13843
|
alg: u.alg,
|
13843
13844
|
kid: f
|
13844
|
-
}), p =
|
13845
|
+
}), p = ac(g);
|
13845
13846
|
e.cnf = {
|
13846
13847
|
jwk: JSON.parse(h)
|
13847
13848
|
};
|
13848
|
-
const y =
|
13849
|
+
const y = ac(JSON.stringify(e)), E = `${p}.${y}`, S = new TextEncoder().encode(E), P = await mL(c.privateKey, S), W = pl(new Uint8Array(P)), K = `${E}.${W}`;
|
13849
13850
|
return s && s.end({
|
13850
13851
|
success: !0
|
13851
13852
|
}), K;
|
@@ -13867,7 +13868,7 @@ function cv(r) {
|
|
13867
13868
|
class NL {
|
13868
13869
|
constructor() {
|
13869
13870
|
if (!window.localStorage)
|
13870
|
-
throw af(
|
13871
|
+
throw af($a);
|
13871
13872
|
}
|
13872
13873
|
getItem(e) {
|
13873
13874
|
return window.localStorage.getItem(e);
|
@@ -13889,7 +13890,7 @@ class NL {
|
|
13889
13890
|
class DL {
|
13890
13891
|
constructor() {
|
13891
13892
|
if (!window.sessionStorage)
|
13892
|
-
throw af(
|
13893
|
+
throw af($a);
|
13893
13894
|
}
|
13894
13895
|
getItem(e) {
|
13895
13896
|
return window.sessionStorage.getItem(e);
|
@@ -14373,13 +14374,13 @@ class nh extends Mi {
|
|
14373
14374
|
* @param wrapperVersion
|
14374
14375
|
*/
|
14375
14376
|
setWrapperMetadata(e, t) {
|
14376
|
-
this.internalStorage.setItem(
|
14377
|
+
this.internalStorage.setItem(ic.WRAPPER_SKU, e), this.internalStorage.setItem(ic.WRAPPER_VER, t);
|
14377
14378
|
}
|
14378
14379
|
/**
|
14379
14380
|
* Returns wrapper metadata from in-memory storage
|
14380
14381
|
*/
|
14381
14382
|
getWrapperMetadata() {
|
14382
|
-
const e = this.internalStorage.getItem(
|
14383
|
+
const e = this.internalStorage.getItem(ic.WRAPPER_SKU) || N.EMPTY_STRING, t = this.internalStorage.getItem(ic.WRAPPER_VER) || N.EMPTY_STRING;
|
14383
14384
|
return [e, t];
|
14384
14385
|
}
|
14385
14386
|
/**
|
@@ -14949,7 +14950,7 @@ class P_ {
|
|
14949
14950
|
wrapperSKU: this.browserStorage.getWrapperMetadata()[0],
|
14950
14951
|
wrapperVer: this.browserStorage.getWrapperMetadata()[1]
|
14951
14952
|
};
|
14952
|
-
return new
|
14953
|
+
return new Ba(n, this.browserStorage);
|
14953
14954
|
}
|
14954
14955
|
/**
|
14955
14956
|
* Used to get a discovered version of the default authority.
|
@@ -15240,7 +15241,7 @@ class N_ extends Ui {
|
|
15240
15241
|
fromCache: !0
|
15241
15242
|
}, e.correlationId), c;
|
15242
15243
|
} catch (s) {
|
15243
|
-
throw s instanceof
|
15244
|
+
throw s instanceof Xa && s.errorCode === ef && this.logger.verbose("Signing keypair for bound access token not found. Refreshing bound access token and generating a new crypto keypair."), s;
|
15244
15245
|
}
|
15245
15246
|
}
|
15246
15247
|
/**
|
@@ -15259,7 +15260,7 @@ class Si extends P_ {
|
|
15259
15260
|
var C;
|
15260
15261
|
super(e, t, n, i, s, c, h, f, y), this.apiId = u, this.accountId = g, this.nativeMessageHandler = f, this.nativeStorageManager = p, this.silentCacheClient = new N_(e, this.nativeStorageManager, n, i, s, c, h, f, y), this.serverTelemetryManager = this.initializeServerTelemetryManager(this.apiId);
|
15261
15262
|
const E = this.nativeMessageHandler.getExtensionId() === Ei.PREFERRED_EXTENSION_ID ? "chrome" : (C = this.nativeMessageHandler.getExtensionId()) != null && C.length ? "unknown" : void 0;
|
15262
|
-
this.skus =
|
15263
|
+
this.skus = Ba.makeExtraSkuString({
|
15263
15264
|
libraryName: fn.MSAL_SKU,
|
15264
15265
|
libraryVersion: vl,
|
15265
15266
|
extensionName: E,
|
@@ -15973,7 +15974,7 @@ class cU extends Ui {
|
|
15973
15974
|
async acquireTokenPopupAsync(e, t) {
|
15974
15975
|
var s;
|
15975
15976
|
this.logger.verbose("acquireTokenPopupAsync called");
|
15976
|
-
const n = this.initializeServerTelemetryManager(Ge.acquireTokenPopup), i = await z(this.initializeAuthorizationRequest.bind(this), R.StandardInteractionClientInitializeAuthorizationRequest, this.logger, this.performanceClient, this.correlationId)(e,
|
15977
|
+
const n = this.initializeServerTelemetryManager(Ge.acquireTokenPopup), i = await z(this.initializeAuthorizationRequest.bind(this), R.StandardInteractionClientInitializeAuthorizationRequest, this.logger, this.performanceClient, this.correlationId)(e, re.Popup);
|
15977
15978
|
k_(i.authority);
|
15978
15979
|
try {
|
15979
15980
|
const c = await z(this.initializeAuthorizationCodeRequest.bind(this), R.StandardInteractionClientInitializeAuthorizationCodeRequest, this.logger, this.performanceClient, this.correlationId)(i), u = await z(this.createAuthCodeClient.bind(this), R.StandardInteractionClientCreateAuthCodeClient, this.logger, this.performanceClient, this.correlationId)({
|
@@ -15989,14 +15990,14 @@ class cU extends Ui {
|
|
15989
15990
|
...i,
|
15990
15991
|
nativeBroker: h
|
15991
15992
|
}), p = new df(u, this.browserStorage, c, this.logger, this.performanceClient), y = this.initiateAuthRequest(g, t);
|
15992
|
-
this.eventHandler.emitEvent(le.POPUP_OPENED,
|
15993
|
+
this.eventHandler.emitEvent(le.POPUP_OPENED, re.Popup, { popupWindow: y }, null);
|
15993
15994
|
const E = await this.monitorPopupForHash(y, t.popupWindowParent), C = Fo(D_, R.DeserializeResponse, this.logger, this.performanceClient, this.correlationId)(E, this.config.auth.OIDCOptions.serverResponseType, this.logger);
|
15994
15995
|
if (cr.removeThrottle(this.browserStorage, this.config.auth.clientId, c), C.accountId) {
|
15995
15996
|
if (this.logger.verbose("Account id found in hash, calling WAM for token"), f && f.end({
|
15996
15997
|
success: !0,
|
15997
15998
|
isNativeBroker: !0
|
15998
15999
|
}), !this.nativeMessageHandler)
|
15999
|
-
throw J(
|
16000
|
+
throw J(Qa);
|
16000
16001
|
const P = new Si(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, Ge.acquireTokenPopup, this.performanceClient, this.nativeMessageHandler, C.accountId, this.nativeStorage, i.correlationId), { userRequestState: W } = Xn.parseRequestState(this.browserCrypto, i.state);
|
16001
16002
|
return await P.acquireToken({
|
16002
16003
|
...i,
|
@@ -16021,7 +16022,7 @@ class cU extends Ui {
|
|
16021
16022
|
*/
|
16022
16023
|
async logoutPopupAsync(e, t, n, i) {
|
16023
16024
|
var c, u, h, f;
|
16024
|
-
this.logger.verbose("logoutPopupAsync called"), this.eventHandler.emitEvent(le.LOGOUT_START,
|
16025
|
+
this.logger.verbose("logoutPopupAsync called"), this.eventHandler.emitEvent(le.LOGOUT_START, re.Popup, e);
|
16025
16026
|
const s = this.initializeServerTelemetryManager(Ge.logoutPopup);
|
16026
16027
|
try {
|
16027
16028
|
await this.clearCacheOnLogout(e.account);
|
@@ -16034,7 +16035,7 @@ class cU extends Ui {
|
|
16034
16035
|
g.authority.endSessionEndpoint;
|
16035
16036
|
} catch {
|
16036
16037
|
if ((c = e.account) != null && c.homeAccountId && e.postLogoutRedirectUri && g.authority.protocolMode === Ur.OIDC) {
|
16037
|
-
if (this.browserStorage.removeAccount((u = e.account) == null ? void 0 : u.homeAccountId), this.eventHandler.emitEvent(le.LOGOUT_SUCCESS,
|
16038
|
+
if (this.browserStorage.removeAccount((u = e.account) == null ? void 0 : u.homeAccountId), this.eventHandler.emitEvent(le.LOGOUT_SUCCESS, re.Popup, e), i) {
|
16038
16039
|
const E = {
|
16039
16040
|
apiId: Ge.logoutPopup,
|
16040
16041
|
timeout: this.config.system.redirectNavigationTimeout,
|
@@ -16047,9 +16048,9 @@ class cU extends Ui {
|
|
16047
16048
|
}
|
16048
16049
|
}
|
16049
16050
|
const p = g.getLogoutUri(e);
|
16050
|
-
this.eventHandler.emitEvent(le.LOGOUT_SUCCESS,
|
16051
|
+
this.eventHandler.emitEvent(le.LOGOUT_SUCCESS, re.Popup, e);
|
16051
16052
|
const y = this.openPopup(p, t);
|
16052
|
-
if (this.eventHandler.emitEvent(le.POPUP_OPENED,
|
16053
|
+
if (this.eventHandler.emitEvent(le.POPUP_OPENED, re.Popup, { popupWindow: y }, null), await this.monitorPopupForHash(y, t.popupWindowParent).catch(() => {
|
16053
16054
|
}), i) {
|
16054
16055
|
const E = {
|
16055
16056
|
apiId: Ge.logoutPopup,
|
@@ -16060,9 +16061,9 @@ class cU extends Ui {
|
|
16060
16061
|
} else
|
16061
16062
|
this.logger.verbose("No main window navigation requested");
|
16062
16063
|
} catch (g) {
|
16063
|
-
throw (f = t.popup) == null || f.close(), g instanceof Xe && (g.setCorrelationId(this.correlationId), s.cacheFailedRequest(g)), this.browserStorage.setInteractionInProgress(!1), this.eventHandler.emitEvent(le.LOGOUT_FAILURE,
|
16064
|
+
throw (f = t.popup) == null || f.close(), g instanceof Xe && (g.setCorrelationId(this.correlationId), s.cacheFailedRequest(g)), this.browserStorage.setInteractionInProgress(!1), this.eventHandler.emitEvent(le.LOGOUT_FAILURE, re.Popup, null, g), this.eventHandler.emitEvent(le.LOGOUT_END, re.Popup), g;
|
16064
16065
|
}
|
16065
|
-
this.eventHandler.emitEvent(le.LOGOUT_END,
|
16066
|
+
this.eventHandler.emitEvent(le.LOGOUT_END, re.Popup);
|
16066
16067
|
}
|
16067
16068
|
/**
|
16068
16069
|
* Opens a popup window with given request Url.
|
@@ -16096,7 +16097,7 @@ class cU extends Ui {
|
|
16096
16097
|
clearInterval(s);
|
16097
16098
|
let u = "";
|
16098
16099
|
const h = this.config.auth.OIDCOptions.serverResponseType;
|
16099
|
-
e && (h ===
|
16100
|
+
e && (h === Ja.QUERY ? u = e.location.search : u = e.location.hash), this.logger.verbose("PopupHandler.monitorPopupForHash - popup window is on same origin as caller"), n(u);
|
16100
16101
|
}, this.config.system.pollIntervalMilliseconds);
|
16101
16102
|
}).finally(() => {
|
16102
16103
|
this.cleanPopup(e, t);
|
@@ -16142,7 +16143,7 @@ class cU extends Ui {
|
|
16142
16143
|
* Event callback to unload main window.
|
16143
16144
|
*/
|
16144
16145
|
unloadWindow(e) {
|
16145
|
-
this.browserStorage.cleanRequestByInteractionType(
|
16146
|
+
this.browserStorage.cleanRequestByInteractionType(re.Popup), this.currentWindow && this.currentWindow.close(), e.preventDefault();
|
16146
16147
|
}
|
16147
16148
|
/**
|
16148
16149
|
* Closes popup, removes any state vars created during popup calls.
|
@@ -16256,10 +16257,10 @@ class uU extends Ui {
|
|
16256
16257
|
* @param request
|
16257
16258
|
*/
|
16258
16259
|
async acquireToken(e) {
|
16259
|
-
const t = await z(this.initializeAuthorizationRequest.bind(this), R.StandardInteractionClientInitializeAuthorizationRequest, this.logger, this.performanceClient, this.correlationId)(e,
|
16260
|
+
const t = await z(this.initializeAuthorizationRequest.bind(this), R.StandardInteractionClientInitializeAuthorizationRequest, this.logger, this.performanceClient, this.correlationId)(e, re.Redirect);
|
16260
16261
|
this.browserStorage.updateCacheEntries(t.state, t.nonce, t.authority, t.loginHint || "", t.account || null);
|
16261
16262
|
const n = this.initializeServerTelemetryManager(Ge.acquireTokenRedirect), i = (s) => {
|
16262
|
-
s.persisted && (this.logger.verbose("Page was restored from back/forward cache. Clearing temporary cache."), this.browserStorage.cleanRequestByState(t.state), this.eventHandler.emitEvent(le.RESTORE_FROM_BFCACHE,
|
16263
|
+
s.persisted && (this.logger.verbose("Page was restored from back/forward cache. Clearing temporary cache."), this.browserStorage.cleanRequestByState(t.state), this.eventHandler.emitEvent(le.RESTORE_FROM_BFCACHE, re.Redirect));
|
16263
16264
|
};
|
16264
16265
|
try {
|
16265
16266
|
const s = await z(this.initializeAuthorizationCodeRequest.bind(this), R.StandardInteractionClientInitializeAuthorizationCodeRequest, this.logger, this.performanceClient, this.correlationId)(t), c = await z(this.createAuthCodeClient.bind(this), R.StandardInteractionClientCreateAuthCodeClient, this.logger, this.performanceClient, this.correlationId)({
|
@@ -16296,7 +16297,7 @@ class uU extends Ui {
|
|
16296
16297
|
return this.logger.info("handleRedirectPromise called but there is no interaction in progress, returning null."), null;
|
16297
16298
|
const [i, s] = this.getRedirectResponse(e || "");
|
16298
16299
|
if (!i)
|
16299
|
-
return this.logger.info("handleRedirectPromise did not detect a response as a result of a redirect. Cleaning temporary cache."), this.browserStorage.cleanRequestByInteractionType(
|
16300
|
+
return this.logger.info("handleRedirectPromise did not detect a response as a result of a redirect. Cleaning temporary cache."), this.browserStorage.cleanRequestByInteractionType(re.Redirect), lU() !== "back_forward" ? t.event.errorCode = "no_server_response" : this.logger.verbose("Back navigation event detected. Muting no_server_response error"), null;
|
16300
16301
|
const c = this.browserStorage.getTemporaryCache(Fe.ORIGIN_URI, !0) || N.EMPTY_STRING, u = Oe.removeHashFromUrl(c), h = Oe.removeHashFromUrl(window.location.href);
|
16301
16302
|
if (u === h && this.config.auth.navigateToLoginRequestUrl)
|
16302
16303
|
return this.logger.verbose("Current page is loginRequestUrl, handling response"), c.indexOf("#") > -1 && vL(c), await this.handleResponse(i, n);
|
@@ -16320,7 +16321,7 @@ class uU extends Ui {
|
|
16320
16321
|
} else return this.logger.verbose("NavigateToLoginRequestUrl set to false, handling response"), await this.handleResponse(i, n);
|
16321
16322
|
return null;
|
16322
16323
|
} catch (i) {
|
16323
|
-
throw i instanceof Xe && (i.setCorrelationId(this.correlationId), n.cacheFailedRequest(i)), this.browserStorage.cleanRequestByInteractionType(
|
16324
|
+
throw i instanceof Xe && (i.setCorrelationId(this.correlationId), n.cacheFailedRequest(i)), this.browserStorage.cleanRequestByInteractionType(re.Redirect), i;
|
16324
16325
|
}
|
16325
16326
|
}
|
16326
16327
|
/**
|
@@ -16331,11 +16332,11 @@ class uU extends Ui {
|
|
16331
16332
|
getRedirectResponse(e) {
|
16332
16333
|
this.logger.verbose("getRedirectResponseHash called");
|
16333
16334
|
let t = e;
|
16334
|
-
t || (this.config.auth.OIDCOptions.serverResponseType ===
|
16335
|
+
t || (this.config.auth.OIDCOptions.serverResponseType === Ja.QUERY ? t = window.location.search : t = window.location.hash);
|
16335
16336
|
let n = Vc(t);
|
16336
16337
|
if (n) {
|
16337
16338
|
try {
|
16338
|
-
sU(n, this.browserCrypto,
|
16339
|
+
sU(n, this.browserCrypto, re.Redirect);
|
16339
16340
|
} catch (s) {
|
16340
16341
|
return s instanceof Xe && this.logger.error(`Interaction type validation failed due to ${s.errorCode}: ${s.errorMessage}`), [null, ""];
|
16341
16342
|
}
|
@@ -16356,7 +16357,7 @@ class uU extends Ui {
|
|
16356
16357
|
const i = this.browserStorage.getCachedRequest(n);
|
16357
16358
|
if (this.logger.verbose("handleResponse called, retrieved cached request"), e.accountId) {
|
16358
16359
|
if (this.logger.verbose("Account id found in hash, calling WAM for token"), !this.nativeMessageHandler)
|
16359
|
-
throw J(
|
16360
|
+
throw J(Qa);
|
16360
16361
|
const h = new Si(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, Ge.acquireTokenPopup, this.performanceClient, this.nativeMessageHandler, e.accountId, this.nativeStorage, i.correlationId), { userRequestState: f } = Xn.parseRequestState(this.browserCrypto, n);
|
16361
16362
|
return h.acquireToken({
|
16362
16363
|
...i,
|
@@ -16383,7 +16384,7 @@ class uU extends Ui {
|
|
16383
16384
|
this.logger.verbose("logoutRedirect called");
|
16384
16385
|
const t = this.initializeLogoutRequest(e), n = this.initializeServerTelemetryManager(Ge.logout);
|
16385
16386
|
try {
|
16386
|
-
this.eventHandler.emitEvent(le.LOGOUT_START,
|
16387
|
+
this.eventHandler.emitEvent(le.LOGOUT_START, re.Redirect, e), await this.clearCacheOnLogout(t.account);
|
16387
16388
|
const c = {
|
16388
16389
|
apiId: Ge.logout,
|
16389
16390
|
timeout: this.config.system.redirectNavigationTimeout,
|
@@ -16399,12 +16400,12 @@ class uU extends Ui {
|
|
16399
16400
|
u.authority.endSessionEndpoint;
|
16400
16401
|
} catch {
|
16401
16402
|
if ((i = t.account) != null && i.homeAccountId) {
|
16402
|
-
this.browserStorage.removeAccount((s = t.account) == null ? void 0 : s.homeAccountId), this.eventHandler.emitEvent(le.LOGOUT_SUCCESS,
|
16403
|
+
this.browserStorage.removeAccount((s = t.account) == null ? void 0 : s.homeAccountId), this.eventHandler.emitEvent(le.LOGOUT_SUCCESS, re.Redirect, t);
|
16403
16404
|
return;
|
16404
16405
|
}
|
16405
16406
|
}
|
16406
16407
|
const h = u.getLogoutUri(t);
|
16407
|
-
if (this.eventHandler.emitEvent(le.LOGOUT_SUCCESS,
|
16408
|
+
if (this.eventHandler.emitEvent(le.LOGOUT_SUCCESS, re.Redirect, t), e && typeof e.onRedirectNavigate == "function")
|
16408
16409
|
if (e.onRedirectNavigate(h) !== !1) {
|
16409
16410
|
this.logger.verbose("Logout onRedirectNavigate did not return false, navigating"), this.browserStorage.getInteractionInProgress() || this.browserStorage.setInteractionInProgress(!0), await this.navigationClient.navigateExternal(h, c);
|
16410
16411
|
return;
|
@@ -16415,9 +16416,9 @@ class uU extends Ui {
|
|
16415
16416
|
return;
|
16416
16417
|
}
|
16417
16418
|
} catch (c) {
|
16418
|
-
throw c instanceof Xe && (c.setCorrelationId(this.correlationId), n.cacheFailedRequest(c)), this.eventHandler.emitEvent(le.LOGOUT_FAILURE,
|
16419
|
+
throw c instanceof Xe && (c.setCorrelationId(this.correlationId), n.cacheFailedRequest(c)), this.eventHandler.emitEvent(le.LOGOUT_FAILURE, re.Redirect, null, c), this.eventHandler.emitEvent(le.LOGOUT_END, re.Redirect), c;
|
16419
16420
|
}
|
16420
|
-
this.eventHandler.emitEvent(le.LOGOUT_END,
|
16421
|
+
this.eventHandler.emitEvent(le.LOGOUT_END, re.Redirect);
|
16421
16422
|
}
|
16422
16423
|
/**
|
16423
16424
|
* Use to get the redirectStartPage either from request or use current window
|
@@ -16449,7 +16450,7 @@ async function hU(r, e, t, n, i, s, c) {
|
|
16449
16450
|
if (!p || p === "about:blank")
|
16450
16451
|
return;
|
16451
16452
|
let E = "";
|
16452
|
-
y && (c ===
|
16453
|
+
y && (c === Ja.QUERY ? E = y.location.search : E = y.location.hash), window.clearTimeout(f), window.clearInterval(g), u(E);
|
16453
16454
|
}, t);
|
16454
16455
|
}).finally(() => {
|
16455
16456
|
Fo(mU, R.RemoveHiddenIframe, i, n, s)(r);
|
@@ -16491,7 +16492,7 @@ class pU extends Ui {
|
|
16491
16492
|
this.performanceClient.addQueueMeasurement(R.SilentIframeClientAcquireToken, e.correlationId), !e.loginHint && !e.sid && (!e.account || !e.account.username) && this.logger.warning("No user hint provided. The authorization server may need more information to complete this request.");
|
16492
16493
|
const t = { ...e };
|
16493
16494
|
t.prompt ? t.prompt !== Tt.NONE && t.prompt !== Tt.NO_SESSION && (this.logger.warning(`SilentIframeClient. Replacing invalid prompt ${t.prompt} with ${Tt.NONE}`), t.prompt = Tt.NONE) : t.prompt = Tt.NONE;
|
16494
|
-
const n = await z(this.initializeAuthorizationRequest.bind(this), R.StandardInteractionClientInitializeAuthorizationRequest, this.logger, this.performanceClient, e.correlationId)(t,
|
16495
|
+
const n = await z(this.initializeAuthorizationRequest.bind(this), R.StandardInteractionClientInitializeAuthorizationRequest, this.logger, this.performanceClient, e.correlationId)(t, re.Silent);
|
16495
16496
|
k_(n.authority);
|
16496
16497
|
const i = this.initializeServerTelemetryManager(this.apiId);
|
16497
16498
|
let s;
|
@@ -16509,7 +16510,7 @@ class pU extends Ui {
|
|
16509
16510
|
this.performanceClient.addFields({
|
16510
16511
|
retryError: c.errorCode
|
16511
16512
|
}, this.correlationId);
|
16512
|
-
const u = await z(this.initializeAuthorizationRequest.bind(this), R.StandardInteractionClientInitializeAuthorizationRequest, this.logger, this.performanceClient, e.correlationId)(t,
|
16513
|
+
const u = await z(this.initializeAuthorizationRequest.bind(this), R.StandardInteractionClientInitializeAuthorizationRequest, this.logger, this.performanceClient, e.correlationId)(t, re.Silent);
|
16513
16514
|
return await z(this.silentTokenHelper.bind(this), R.SilentIframeClientTokenHelper, this.logger, this.performanceClient, this.correlationId)(s, u);
|
16514
16515
|
}
|
16515
16516
|
}
|
@@ -16534,7 +16535,7 @@ class pU extends Ui {
|
|
16534
16535
|
}), c = new df(e, this.browserStorage, i, this.logger, this.performanceClient), u = await z(dU, R.SilentHandlerInitiateAuthRequest, this.logger, this.performanceClient, n)(s, this.performanceClient, this.logger, n, this.config.system.navigateFrameWait), h = this.config.auth.OIDCOptions.serverResponseType, f = await z(hU, R.SilentHandlerMonitorIframeForHash, this.logger, this.performanceClient, n)(u, this.config.system.iframeHashTimeout, this.config.system.pollIntervalMilliseconds, this.performanceClient, this.logger, n, h), g = Fo(D_, R.DeserializeResponse, this.logger, this.performanceClient, this.correlationId)(f, h, this.logger);
|
16535
16536
|
if (g.accountId) {
|
16536
16537
|
if (this.logger.verbose("Account id found in hash, calling WAM for token"), !this.nativeMessageHandler)
|
16537
|
-
throw J(
|
16538
|
+
throw J(Qa);
|
16538
16539
|
const p = new Si(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, this.apiId, this.performanceClient, this.nativeMessageHandler, g.accountId, this.browserStorage, n), { userRequestState: y } = Xn.parseRequestState(this.browserCrypto, t.state);
|
16539
16540
|
return z(p.acquireToken.bind(p), R.NativeInteractionClientAcquireToken, this.logger, this.performanceClient, n)({
|
16540
16541
|
...t,
|
@@ -16770,7 +16771,7 @@ class _U extends Ui {
|
|
16770
16771
|
async acquireToken(e) {
|
16771
16772
|
if (!e.code)
|
16772
16773
|
throw J(u_);
|
16773
|
-
const t = await z(this.initializeAuthorizationRequest.bind(this), R.StandardInteractionClientInitializeAuthorizationRequest, this.logger, this.performanceClient, e.correlationId)(e,
|
16774
|
+
const t = await z(this.initializeAuthorizationRequest.bind(this), R.StandardInteractionClientInitializeAuthorizationRequest, this.logger, this.performanceClient, e.correlationId)(e, re.Silent), n = this.initializeServerTelemetryManager(this.apiId);
|
16774
16775
|
try {
|
16775
16776
|
const i = {
|
16776
16777
|
...t,
|
@@ -16812,7 +16813,7 @@ function ir(r) {
|
|
16812
16813
|
} else return;
|
16813
16814
|
return "AAD";
|
16814
16815
|
}
|
16815
|
-
function
|
16816
|
+
function sc(r, e) {
|
16816
16817
|
try {
|
16817
16818
|
cf(r);
|
16818
16819
|
} catch (t) {
|
@@ -16905,7 +16906,7 @@ class yl {
|
|
16905
16906
|
*/
|
16906
16907
|
async handleRedirectPromiseInternal(e) {
|
16907
16908
|
const t = this.getAllAccounts(), n = this.browserStorage.getCachedNativeRequest(), i = n && ur.isNativeAvailable(this.config, this.logger, this.nativeExtensionProvider) && this.nativeExtensionProvider && !e, s = i ? n == null ? void 0 : n.correlationId : this.browserStorage.getTemporaryCache(Fe.CORRELATION_ID, !0) || "", c = this.performanceClient.startMeasurement(R.AcquireTokenRedirect, s);
|
16908
|
-
this.eventHandler.emitEvent(le.HANDLE_REDIRECT_START,
|
16909
|
+
this.eventHandler.emitEvent(le.HANDLE_REDIRECT_START, re.Redirect);
|
16909
16910
|
let u;
|
16910
16911
|
if (i && this.nativeExtensionProvider) {
|
16911
16912
|
this.logger.trace("handleRedirectPromise - acquiring token from native platform");
|
@@ -16916,12 +16917,12 @@ class yl {
|
|
16916
16917
|
const h = this.createRedirectClient(s);
|
16917
16918
|
u = z(h.handleRedirectPromise.bind(h), R.HandleRedirectPromiseMeasurement, this.logger, this.performanceClient, c.event.correlationId)(e, c);
|
16918
16919
|
}
|
16919
|
-
return u.then((h) => (h ? (t.length < this.getAllAccounts().length ? (this.eventHandler.emitEvent(le.LOGIN_SUCCESS,
|
16920
|
+
return u.then((h) => (h ? (t.length < this.getAllAccounts().length ? (this.eventHandler.emitEvent(le.LOGIN_SUCCESS, re.Redirect, h), this.logger.verbose("handleRedirectResponse returned result, login success")) : (this.eventHandler.emitEvent(le.ACQUIRE_TOKEN_SUCCESS, re.Redirect, h), this.logger.verbose("handleRedirectResponse returned result, acquire token success")), c.end({
|
16920
16921
|
success: !0,
|
16921
16922
|
accountType: ir(h.account)
|
16922
|
-
})) : c.event.errorCode ? c.end({ success: !1 }) : c.discard(), this.eventHandler.emitEvent(le.HANDLE_REDIRECT_END,
|
16923
|
+
})) : c.event.errorCode ? c.end({ success: !1 }) : c.discard(), this.eventHandler.emitEvent(le.HANDLE_REDIRECT_END, re.Redirect), h)).catch((h) => {
|
16923
16924
|
const f = h;
|
16924
|
-
throw t.length > 0 ? this.eventHandler.emitEvent(le.ACQUIRE_TOKEN_FAILURE,
|
16925
|
+
throw t.length > 0 ? this.eventHandler.emitEvent(le.ACQUIRE_TOKEN_FAILURE, re.Redirect, null, f) : this.eventHandler.emitEvent(le.LOGIN_FAILURE, re.Redirect, null, f), this.eventHandler.emitEvent(le.HANDLE_REDIRECT_END, re.Redirect), c.end({
|
16925
16926
|
success: !1
|
16926
16927
|
}, f), h;
|
16927
16928
|
});
|
@@ -16958,7 +16959,7 @@ class yl {
|
|
16958
16959
|
}
|
16959
16960
|
const s = this.getAllAccounts().length > 0;
|
16960
16961
|
try {
|
16961
|
-
iv(this.initialized, this.config), this.browserStorage.setInteractionInProgress(!0), s ? this.eventHandler.emitEvent(le.ACQUIRE_TOKEN_START,
|
16962
|
+
iv(this.initialized, this.config), this.browserStorage.setInteractionInProgress(!0), s ? this.eventHandler.emitEvent(le.ACQUIRE_TOKEN_START, re.Redirect, e) : this.eventHandler.emitEvent(le.LOGIN_START, re.Redirect, e);
|
16962
16963
|
let c;
|
16963
16964
|
return this.nativeExtensionProvider && this.canUseNative(e) ? c = new Si(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, Ge.acquireTokenRedirect, this.performanceClient, this.nativeExtensionProvider, this.getNativeAccountId(e), this.nativeInternalStorage, t).acquireTokenRedirect(e, n).catch((h) => {
|
16964
16965
|
if (h instanceof lr && yi(h))
|
@@ -16968,7 +16969,7 @@ class yl {
|
|
16968
16969
|
throw this.browserStorage.setInteractionInProgress(!1), h;
|
16969
16970
|
}) : c = this.createRedirectClient(t).acquireToken(e), await c;
|
16970
16971
|
} catch (c) {
|
16971
|
-
throw n.end({ success: !1 }, c), s ? this.eventHandler.emitEvent(le.ACQUIRE_TOKEN_FAILURE,
|
16972
|
+
throw n.end({ success: !1 }, c), s ? this.eventHandler.emitEvent(le.ACQUIRE_TOKEN_FAILURE, re.Redirect, null, c) : this.eventHandler.emitEvent(le.LOGIN_FAILURE, re.Redirect, null, c), c;
|
16972
16973
|
}
|
16973
16974
|
}
|
16974
16975
|
// #endregion
|
@@ -16987,12 +16988,12 @@ class yl {
|
|
16987
16988
|
accountType: ir(e.account)
|
16988
16989
|
});
|
16989
16990
|
try {
|
16990
|
-
this.logger.verbose("acquireTokenPopup called", t),
|
16991
|
+
this.logger.verbose("acquireTokenPopup called", t), sc(this.initialized, n), this.browserStorage.setInteractionInProgress(!0);
|
16991
16992
|
} catch (c) {
|
16992
16993
|
return Promise.reject(c);
|
16993
16994
|
}
|
16994
16995
|
const i = this.getAllAccounts();
|
16995
|
-
i.length > 0 ? this.eventHandler.emitEvent(le.ACQUIRE_TOKEN_START,
|
16996
|
+
i.length > 0 ? this.eventHandler.emitEvent(le.ACQUIRE_TOKEN_START, re.Popup, e) : this.eventHandler.emitEvent(le.LOGIN_START, re.Popup, e);
|
16996
16997
|
let s;
|
16997
16998
|
return this.canUseNative(e) ? s = this.acquireTokenNative({
|
16998
16999
|
...e,
|
@@ -17007,12 +17008,12 @@ class yl {
|
|
17007
17008
|
if (c instanceof Zn)
|
17008
17009
|
return this.logger.verbose("acquireTokenPopup - Resolving interaction required error thrown by native broker by falling back to web flow"), this.createPopupClient(t).acquireToken(e);
|
17009
17010
|
throw this.browserStorage.setInteractionInProgress(!1), c;
|
17010
|
-
}) : s = this.createPopupClient(t).acquireToken(e), s.then((c) => (i.length < this.getAllAccounts().length ? this.eventHandler.emitEvent(le.LOGIN_SUCCESS,
|
17011
|
+
}) : s = this.createPopupClient(t).acquireToken(e), s.then((c) => (i.length < this.getAllAccounts().length ? this.eventHandler.emitEvent(le.LOGIN_SUCCESS, re.Popup, c) : this.eventHandler.emitEvent(le.ACQUIRE_TOKEN_SUCCESS, re.Popup, c), n.end({
|
17011
17012
|
success: !0,
|
17012
17013
|
accessTokenSize: c.accessToken.length,
|
17013
17014
|
idTokenSize: c.idToken.length,
|
17014
17015
|
accountType: ir(c.account)
|
17015
|
-
}), c)).catch((c) => (i.length > 0 ? this.eventHandler.emitEvent(le.ACQUIRE_TOKEN_FAILURE,
|
17016
|
+
}), c)).catch((c) => (i.length > 0 ? this.eventHandler.emitEvent(le.ACQUIRE_TOKEN_FAILURE, re.Popup, null, c) : this.eventHandler.emitEvent(le.LOGIN_FAILURE, re.Popup, null, c), n.end({
|
17016
17017
|
success: !1
|
17017
17018
|
}, c), Promise.reject(c)));
|
17018
17019
|
}
|
@@ -17050,9 +17051,9 @@ class yl {
|
|
17050
17051
|
this.ssoSilentMeasurement = this.performanceClient.startMeasurement(R.SsoSilent, t), (s = this.ssoSilentMeasurement) == null || s.add({
|
17051
17052
|
scenarioId: e.scenarioId,
|
17052
17053
|
accountType: ir(e.account)
|
17053
|
-
}),
|
17054
|
+
}), sc(this.initialized, this.ssoSilentMeasurement), (c = this.ssoSilentMeasurement) == null || c.increment({
|
17054
17055
|
visibilityChangeCount: 0
|
17055
|
-
}), document.addEventListener("visibilitychange", this.trackPageVisibilityWithMeasurement), this.logger.verbose("ssoSilent called", t), this.eventHandler.emitEvent(le.SSO_SILENT_START,
|
17056
|
+
}), document.addEventListener("visibilitychange", this.trackPageVisibilityWithMeasurement), this.logger.verbose("ssoSilent called", t), this.eventHandler.emitEvent(le.SSO_SILENT_START, re.Silent, n);
|
17056
17057
|
let i;
|
17057
17058
|
return this.canUseNative(n) ? i = this.acquireTokenNative(n, Ge.ssoSilent).catch((u) => {
|
17058
17059
|
if (u instanceof lr && yi(u))
|
@@ -17060,7 +17061,7 @@ class yl {
|
|
17060
17061
|
throw u;
|
17061
17062
|
}) : i = this.createSilentIframeClient(n.correlationId).acquireToken(n), i.then((u) => {
|
17062
17063
|
var h;
|
17063
|
-
return this.eventHandler.emitEvent(le.SSO_SILENT_SUCCESS,
|
17064
|
+
return this.eventHandler.emitEvent(le.SSO_SILENT_SUCCESS, re.Silent, u), (h = this.ssoSilentMeasurement) == null || h.end({
|
17064
17065
|
success: !0,
|
17065
17066
|
isNativeBroker: u.fromNativeBroker,
|
17066
17067
|
accessTokenSize: u.accessToken.length,
|
@@ -17069,7 +17070,7 @@ class yl {
|
|
17069
17070
|
}), u;
|
17070
17071
|
}).catch((u) => {
|
17071
17072
|
var h;
|
17072
|
-
throw this.eventHandler.emitEvent(le.SSO_SILENT_FAILURE,
|
17073
|
+
throw this.eventHandler.emitEvent(le.SSO_SILENT_FAILURE, re.Silent, null, u), (h = this.ssoSilentMeasurement) == null || h.end({
|
17073
17074
|
success: !1
|
17074
17075
|
}, u), u;
|
17075
17076
|
}).finally(() => {
|
@@ -17090,7 +17091,7 @@ class yl {
|
|
17090
17091
|
const t = this.getRequestCorrelationId(e);
|
17091
17092
|
this.logger.trace("acquireTokenByCode called", t);
|
17092
17093
|
const n = this.performanceClient.startMeasurement(R.AcquireTokenByCode, t);
|
17093
|
-
|
17094
|
+
sc(this.initialized, n), this.eventHandler.emitEvent(le.ACQUIRE_TOKEN_BY_CODE_START, re.Silent, e), n.add({ scenarioId: e.scenarioId });
|
17094
17095
|
try {
|
17095
17096
|
if (e.code && e.nativeAccountId)
|
17096
17097
|
throw J(h_);
|
@@ -17100,14 +17101,14 @@ class yl {
|
|
17100
17101
|
return s ? (this.logger.verbose("Existing acquireTokenByCode request found", t), n.discard()) : (this.logger.verbose("Initiating new acquireTokenByCode request", t), s = this.acquireTokenByCodeAsync({
|
17101
17102
|
...e,
|
17102
17103
|
correlationId: t
|
17103
|
-
}).then((c) => (this.eventHandler.emitEvent(le.ACQUIRE_TOKEN_BY_CODE_SUCCESS,
|
17104
|
+
}).then((c) => (this.eventHandler.emitEvent(le.ACQUIRE_TOKEN_BY_CODE_SUCCESS, re.Silent, c), this.hybridAuthCodeResponses.delete(i), n.end({
|
17104
17105
|
success: !0,
|
17105
17106
|
isNativeBroker: c.fromNativeBroker,
|
17106
17107
|
accessTokenSize: c.accessToken.length,
|
17107
17108
|
idTokenSize: c.idToken.length,
|
17108
17109
|
accountType: ir(c.account)
|
17109
17110
|
}), c)).catch((c) => {
|
17110
|
-
throw this.hybridAuthCodeResponses.delete(i), this.eventHandler.emitEvent(le.ACQUIRE_TOKEN_BY_CODE_FAILURE,
|
17111
|
+
throw this.hybridAuthCodeResponses.delete(i), this.eventHandler.emitEvent(le.ACQUIRE_TOKEN_BY_CODE_FAILURE, re.Silent, null, c), n.end({
|
17111
17112
|
success: !1
|
17112
17113
|
}, c), c;
|
17113
17114
|
}), this.hybridAuthCodeResponses.set(i, s)), await s;
|
@@ -17128,7 +17129,7 @@ class yl {
|
|
17128
17129
|
else
|
17129
17130
|
throw J(d_);
|
17130
17131
|
} catch (i) {
|
17131
|
-
throw this.eventHandler.emitEvent(le.ACQUIRE_TOKEN_BY_CODE_FAILURE,
|
17132
|
+
throw this.eventHandler.emitEvent(le.ACQUIRE_TOKEN_BY_CODE_FAILURE, re.Silent, null, i), n.end({
|
17132
17133
|
success: !1
|
17133
17134
|
}, i), i;
|
17134
17135
|
}
|
@@ -17332,7 +17333,7 @@ class yl {
|
|
17332
17333
|
*/
|
17333
17334
|
async acquireTokenNative(e, t, n) {
|
17334
17335
|
if (this.logger.trace("acquireTokenNative called"), !this.nativeExtensionProvider)
|
17335
|
-
throw J(
|
17336
|
+
throw J(Qa);
|
17336
17337
|
return new Si(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, t, this.performanceClient, this.nativeExtensionProvider, n || this.getNativeAccountId(e), this.nativeInternalStorage, e.correlationId).acquireToken(e);
|
17337
17338
|
}
|
17338
17339
|
/**
|
@@ -17572,7 +17573,7 @@ class yl {
|
|
17572
17573
|
n.add({
|
17573
17574
|
cacheLookupPolicy: e.cacheLookupPolicy,
|
17574
17575
|
scenarioId: e.scenarioId
|
17575
|
-
}),
|
17576
|
+
}), sc(this.initialized, n), this.logger.verbose("acquireTokenSilent called", t);
|
17576
17577
|
const i = e.account || this.getActiveAccount();
|
17577
17578
|
if (!i)
|
17578
17579
|
throw J(o_);
|
@@ -17625,7 +17626,7 @@ class yl {
|
|
17625
17626
|
*/
|
17626
17627
|
async acquireTokenSilentAsync(e, t) {
|
17627
17628
|
const n = () => this.trackPageVisibility(e.correlationId);
|
17628
|
-
this.performanceClient.addQueueMeasurement(R.AcquireTokenSilentAsync, e.correlationId), this.eventHandler.emitEvent(le.ACQUIRE_TOKEN_START,
|
17629
|
+
this.performanceClient.addQueueMeasurement(R.AcquireTokenSilentAsync, e.correlationId), this.eventHandler.emitEvent(le.ACQUIRE_TOKEN_START, re.Silent, e), e.correlationId && this.performanceClient.incrementFields({ visibilityChangeCount: 0 }, e.correlationId), document.addEventListener("visibilitychange", n);
|
17629
17630
|
const i = await z(QL, R.InitializeSilentRequest, this.logger, this.performanceClient, e.correlationId)(e, t, this.config, this.performanceClient, this.logger), s = e.cacheLookupPolicy || hn.Default;
|
17630
17631
|
return this.acquireTokenSilentNoIframe(i, s).catch(async (u) => {
|
17631
17632
|
if (CU(u, s))
|
@@ -17660,11 +17661,11 @@ class yl {
|
|
17660
17661
|
}
|
17661
17662
|
else
|
17662
17663
|
throw u;
|
17663
|
-
}).then((u) => (this.eventHandler.emitEvent(le.ACQUIRE_TOKEN_SUCCESS,
|
17664
|
+
}).then((u) => (this.eventHandler.emitEvent(le.ACQUIRE_TOKEN_SUCCESS, re.Silent, u), e.correlationId && this.performanceClient.addFields({
|
17664
17665
|
fromCache: u.fromCache,
|
17665
17666
|
isNativeBroker: u.fromNativeBroker
|
17666
17667
|
}, e.correlationId), u)).catch((u) => {
|
17667
|
-
throw this.eventHandler.emitEvent(le.ACQUIRE_TOKEN_FAILURE,
|
17668
|
+
throw this.eventHandler.emitEvent(le.ACQUIRE_TOKEN_FAILURE, re.Silent, null, u), u;
|
17668
17669
|
}).finally(() => {
|
17669
17670
|
document.removeEventListener("visibilitychange", n);
|
17670
17671
|
});
|
@@ -17681,7 +17682,7 @@ class yl {
|
|
17681
17682
|
})) : (this.logger.verbose("acquireTokenSilent - attempting to acquire token from web flow"), z(this.acquireTokenFromCache.bind(this), R.AcquireTokenFromCache, this.logger, this.performanceClient, e.correlationId)(e, t).catch((n) => {
|
17682
17683
|
if (t === hn.AccessToken)
|
17683
17684
|
throw n;
|
17684
|
-
return this.eventHandler.emitEvent(le.ACQUIRE_TOKEN_NETWORK_START,
|
17685
|
+
return this.eventHandler.emitEvent(le.ACQUIRE_TOKEN_NETWORK_START, re.Silent, e), z(this.acquireTokenByRefreshToken.bind(this), R.AcquireTokenByRefreshToken, this.logger, this.performanceClient, e.correlationId)(e, t);
|
17685
17686
|
}));
|
17686
17687
|
}
|
17687
17688
|
}
|
@@ -18188,16 +18189,16 @@ function B_(r, e) {
|
|
18188
18189
|
const { toString: RU } = Object.prototype, { getPrototypeOf: ff } = Object, wl = /* @__PURE__ */ ((r) => (e) => {
|
18189
18190
|
const t = RU.call(e);
|
18190
18191
|
return r[t] || (r[t] = t.slice(8, -1).toLowerCase());
|
18191
|
-
})(/* @__PURE__ */ Object.create(null)), tr = (r) => (r = r.toLowerCase(), (e) => wl(e) === r), _l = (r) => (e) => typeof e === r, { isArray: Hi } = Array,
|
18192
|
+
})(/* @__PURE__ */ Object.create(null)), tr = (r) => (r = r.toLowerCase(), (e) => wl(e) === r), _l = (r) => (e) => typeof e === r, { isArray: Hi } = Array, Ka = _l("undefined");
|
18192
18193
|
function kU(r) {
|
18193
|
-
return r !== null &&
|
18194
|
+
return r !== null && !Ka(r) && r.constructor !== null && !Ka(r.constructor) && yn(r.constructor.isBuffer) && r.constructor.isBuffer(r);
|
18194
18195
|
}
|
18195
18196
|
const $_ = tr("ArrayBuffer");
|
18196
18197
|
function OU(r) {
|
18197
18198
|
let e;
|
18198
18199
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(r) : e = r && r.buffer && $_(r.buffer), e;
|
18199
18200
|
}
|
18200
|
-
const PU = _l("string"), yn = _l("function"), K_ = _l("number"), Cl = (r) => r !== null && typeof r == "object", MU = (r) => r === !0 || r === !1,
|
18201
|
+
const PU = _l("string"), yn = _l("function"), K_ = _l("number"), Cl = (r) => r !== null && typeof r == "object", MU = (r) => r === !0 || r === !1, bc = (r) => {
|
18201
18202
|
if (wl(r) !== "object")
|
18202
18203
|
return !1;
|
18203
18204
|
const e = ff(r);
|
@@ -18207,7 +18208,7 @@ const PU = _l("string"), yn = _l("function"), K_ = _l("number"), Cl = (r) => r !
|
|
18207
18208
|
return r && (typeof FormData == "function" && r instanceof FormData || yn(r.append) && ((e = wl(r)) === "formdata" || // detect form-data instance
|
18208
18209
|
e === "object" && yn(r.toString) && r.toString() === "[object FormData]"));
|
18209
18210
|
}, FU = tr("URLSearchParams"), [BU, $U, KU, zU] = ["ReadableStream", "Request", "Response", "Headers"].map(tr), VU = (r) => r.trim ? r.trim() : r.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
18210
|
-
function
|
18211
|
+
function Za(r, e, { allOwnKeys: t = !1 } = {}) {
|
18211
18212
|
if (r === null || typeof r > "u")
|
18212
18213
|
return;
|
18213
18214
|
let n, i;
|
@@ -18230,17 +18231,17 @@ function z_(r, e) {
|
|
18230
18231
|
return i;
|
18231
18232
|
return null;
|
18232
18233
|
}
|
18233
|
-
const ko = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, V_ = (r) =>
|
18234
|
+
const ko = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, V_ = (r) => !Ka(r) && r !== ko;
|
18234
18235
|
function oh() {
|
18235
18236
|
const { caseless: r } = V_(this) && this || {}, e = {}, t = (n, i) => {
|
18236
18237
|
const s = r && z_(e, i) || i;
|
18237
|
-
|
18238
|
+
bc(e[s]) && bc(n) ? e[s] = oh(e[s], n) : bc(n) ? e[s] = oh({}, n) : Hi(n) ? e[s] = n.slice() : e[s] = n;
|
18238
18239
|
};
|
18239
18240
|
for (let n = 0, i = arguments.length; n < i; n++)
|
18240
|
-
arguments[n] &&
|
18241
|
+
arguments[n] && Za(arguments[n], t);
|
18241
18242
|
return e;
|
18242
18243
|
}
|
18243
|
-
const WU = (r, e, t, { allOwnKeys: n } = {}) => (
|
18244
|
+
const WU = (r, e, t, { allOwnKeys: n } = {}) => (Za(e, (i, s) => {
|
18244
18245
|
t && yn(i) ? r[s] = B_(i, t) : r[s] = i;
|
18245
18246
|
}, { allOwnKeys: n }), r), qU = (r) => (r.charCodeAt(0) === 65279 && (r = r.slice(1)), r), GU = (r, e, t, n) => {
|
18246
18247
|
r.prototype = Object.create(e.prototype, n), r.prototype.constructor = r, Object.defineProperty(r, "super", {
|
@@ -18289,7 +18290,7 @@ const WU = (r, e, t, { allOwnKeys: n } = {}) => (Xa(e, (i, s) => {
|
|
18289
18290
|
}
|
18290
18291
|
), hv = (({ hasOwnProperty: r }) => (e, t) => r.call(e, t))(Object.prototype), n2 = tr("RegExp"), W_ = (r, e) => {
|
18291
18292
|
const t = Object.getOwnPropertyDescriptors(r), n = {};
|
18292
|
-
|
18293
|
+
Za(t, (i, s) => {
|
18293
18294
|
let c;
|
18294
18295
|
(c = e(i, s, r)) !== !1 && (n[s] = c || i);
|
18295
18296
|
}), Object.defineProperties(r, n);
|
@@ -18338,9 +18339,9 @@ const l2 = (r) => {
|
|
18338
18339
|
if (!("toJSON" in n)) {
|
18339
18340
|
e[i] = n;
|
18340
18341
|
const s = Hi(n) ? [] : {};
|
18341
|
-
return
|
18342
|
+
return Za(n, (c, u) => {
|
18342
18343
|
const h = t(c, i + 1);
|
18343
|
-
|
18344
|
+
!Ka(h) && (s[u] = h);
|
18344
18345
|
}), e[i] = void 0, s;
|
18345
18346
|
}
|
18346
18347
|
}
|
@@ -18364,12 +18365,12 @@ const l2 = (r) => {
|
|
18364
18365
|
isNumber: K_,
|
18365
18366
|
isBoolean: MU,
|
18366
18367
|
isObject: Cl,
|
18367
|
-
isPlainObject:
|
18368
|
+
isPlainObject: bc,
|
18368
18369
|
isReadableStream: BU,
|
18369
18370
|
isRequest: $U,
|
18370
18371
|
isResponse: KU,
|
18371
18372
|
isHeaders: zU,
|
18372
|
-
isUndefined:
|
18373
|
+
isUndefined: Ka,
|
18373
18374
|
isDate: NU,
|
18374
18375
|
isFile: DU,
|
18375
18376
|
isBlob: xU,
|
@@ -18379,7 +18380,7 @@ const l2 = (r) => {
|
|
18379
18380
|
isURLSearchParams: FU,
|
18380
18381
|
isTypedArray: QU,
|
18381
18382
|
isFileList: LU,
|
18382
|
-
forEach:
|
18383
|
+
forEach: Za,
|
18383
18384
|
merge: oh,
|
18384
18385
|
extend: WU,
|
18385
18386
|
trim: VU,
|
@@ -18712,7 +18713,7 @@ function R2(r, e, t) {
|
|
18712
18713
|
}
|
18713
18714
|
return (t || JSON.stringify)(r);
|
18714
18715
|
}
|
18715
|
-
const
|
18716
|
+
const es = {
|
18716
18717
|
transitional: Z_,
|
18717
18718
|
adapter: ["xhr", "http", "fetch"],
|
18718
18719
|
transformRequest: [function(e, t) {
|
@@ -18741,7 +18742,7 @@ const Za = {
|
|
18741
18742
|
return s || i ? (t.setContentType("application/json", !1), R2(e)) : e;
|
18742
18743
|
}],
|
18743
18744
|
transformResponse: [function(e) {
|
18744
|
-
const t = this.transitional ||
|
18745
|
+
const t = this.transitional || es.transitional, n = t && t.forcedJSONParsing, i = this.responseType === "json";
|
18745
18746
|
if (M.isResponse(e) || M.isReadableStream(e))
|
18746
18747
|
return e;
|
18747
18748
|
if (e && M.isString(e) && (n && !this.responseType || i)) {
|
@@ -18779,7 +18780,7 @@ const Za = {
|
|
18779
18780
|
}
|
18780
18781
|
};
|
18781
18782
|
M.forEach(["delete", "get", "head", "post", "put", "patch"], (r) => {
|
18782
|
-
|
18783
|
+
es.headers[r] = {};
|
18783
18784
|
});
|
18784
18785
|
const k2 = M.toObjectSet([
|
18785
18786
|
"age",
|
@@ -18810,8 +18811,8 @@ const k2 = M.toObjectSet([
|
|
18810
18811
|
function ua(r) {
|
18811
18812
|
return r && String(r).trim().toLowerCase();
|
18812
18813
|
}
|
18813
|
-
function
|
18814
|
-
return r === !1 || r == null ? r : M.isArray(r) ? r.map(
|
18814
|
+
function Sc(r) {
|
18815
|
+
return r === !1 || r == null ? r : M.isArray(r) ? r.map(Sc) : String(r);
|
18815
18816
|
}
|
18816
18817
|
function P2(r) {
|
18817
18818
|
const e = /* @__PURE__ */ Object.create(null), t = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
|
@@ -18856,7 +18857,7 @@ class en {
|
|
18856
18857
|
if (!g)
|
18857
18858
|
throw new Error("header name must be a non-empty string");
|
18858
18859
|
const p = M.findKey(i, g);
|
18859
|
-
(!p || i[p] === void 0 || f === !0 || f === void 0 && i[p] !== !1) && (i[p || h] =
|
18860
|
+
(!p || i[p] === void 0 || f === !0 || f === void 0 && i[p] !== !1) && (i[p || h] = Sc(u));
|
18860
18861
|
}
|
18861
18862
|
const c = (u, h) => M.forEach(u, (f, g) => s(f, g, h));
|
18862
18863
|
if (M.isPlainObject(e) || e instanceof this.constructor)
|
@@ -18919,11 +18920,11 @@ class en {
|
|
18919
18920
|
return M.forEach(this, (i, s) => {
|
18920
18921
|
const c = M.findKey(n, s);
|
18921
18922
|
if (c) {
|
18922
|
-
t[c] =
|
18923
|
+
t[c] = Sc(i), delete t[s];
|
18923
18924
|
return;
|
18924
18925
|
}
|
18925
18926
|
const u = e ? N2(s) : String(s).trim();
|
18926
|
-
u !== s && delete t[s], t[u] =
|
18927
|
+
u !== s && delete t[s], t[u] = Sc(i), n[u] = !0;
|
18927
18928
|
}), this;
|
18928
18929
|
}
|
18929
18930
|
concat(...e) {
|
@@ -18975,7 +18976,7 @@ M.reduceDescriptors(en.prototype, ({ value: r }, e) => {
|
|
18975
18976
|
});
|
18976
18977
|
M.freezeMethods(en);
|
18977
18978
|
function wd(r, e) {
|
18978
|
-
const t = this ||
|
18979
|
+
const t = this || es, n = e || t, i = en.from(n.headers);
|
18979
18980
|
let s = n.data;
|
18980
18981
|
return M.forEach(r, function(u) {
|
18981
18982
|
s = u.call(t, s, i.normalize(), e ? e.status : void 0);
|
@@ -19501,7 +19502,7 @@ function Av(r) {
|
|
19501
19502
|
return _d(r), r.headers = en.from(r.headers), r.data = wd.call(
|
19502
19503
|
r,
|
19503
19504
|
r.transformRequest
|
19504
|
-
), ["post", "put", "patch"].indexOf(r.method) !== -1 && r.headers.setContentType("application/x-www-form-urlencoded", !1), sC.getAdapter(r.adapter ||
|
19505
|
+
), ["post", "put", "patch"].indexOf(r.method) !== -1 && r.headers.setContentType("application/x-www-form-urlencoded", !1), sC.getAdapter(r.adapter || es.adapter)(r).then(function(n) {
|
19505
19506
|
return _d(r), n.data = wd.call(
|
19506
19507
|
r,
|
19507
19508
|
r.transformResponse,
|
@@ -19560,10 +19561,10 @@ function eH(r, e, t) {
|
|
19560
19561
|
throw new _e("Unknown option " + s, _e.ERR_BAD_OPTION);
|
19561
19562
|
}
|
19562
19563
|
}
|
19563
|
-
const
|
19564
|
+
const Ic = {
|
19564
19565
|
assertOptions: eH,
|
19565
19566
|
validators: Al
|
19566
|
-
}, ar =
|
19567
|
+
}, ar = Ic.validators;
|
19567
19568
|
class Mo {
|
19568
19569
|
constructor(e) {
|
19569
19570
|
this.defaults = e, this.interceptors = {
|
@@ -19599,16 +19600,16 @@ class Mo {
|
|
19599
19600
|
_request(e, t) {
|
19600
19601
|
typeof e == "string" ? (t = t || {}, t.url = e) : t = e || {}, t = Uo(this.defaults, t);
|
19601
19602
|
const { transitional: n, paramsSerializer: i, headers: s } = t;
|
19602
|
-
n !== void 0 &&
|
19603
|
+
n !== void 0 && Ic.assertOptions(n, {
|
19603
19604
|
silentJSONParsing: ar.transitional(ar.boolean),
|
19604
19605
|
forcedJSONParsing: ar.transitional(ar.boolean),
|
19605
19606
|
clarifyTimeoutError: ar.transitional(ar.boolean)
|
19606
19607
|
}, !1), i != null && (M.isFunction(i) ? t.paramsSerializer = {
|
19607
19608
|
serialize: i
|
19608
|
-
} :
|
19609
|
+
} : Ic.assertOptions(i, {
|
19609
19610
|
encode: ar.function,
|
19610
19611
|
serialize: ar.function
|
19611
|
-
}, !0)),
|
19612
|
+
}, !0)), Ic.assertOptions(t, {
|
19612
19613
|
baseUrl: ar.spelling("baseURL"),
|
19613
19614
|
withXsrfToken: ar.spelling("withXSRFToken")
|
19614
19615
|
}, !0), t.method = (t.method || this.defaults.method || "get").toLowerCase();
|
@@ -19843,7 +19844,7 @@ function lC(r) {
|
|
19843
19844
|
return lC(Uo(r, i));
|
19844
19845
|
}, t;
|
19845
19846
|
}
|
19846
|
-
const et = lC(
|
19847
|
+
const et = lC(es);
|
19847
19848
|
et.Axios = Mo;
|
19848
19849
|
et.CanceledError = Fi;
|
19849
19850
|
et.CancelToken = pf;
|
@@ -20014,7 +20015,7 @@ function vf() {
|
|
20014
20015
|
logout: t
|
20015
20016
|
};
|
20016
20017
|
}
|
20017
|
-
var
|
20018
|
+
var cc = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
20018
20019
|
function rH(r) {
|
20019
20020
|
return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
|
20020
20021
|
}
|
@@ -20041,7 +20042,7 @@ function iH() {
|
|
20041
20042
|
["partial", pe],
|
20042
20043
|
["partialRight", Me],
|
20043
20044
|
["rearg", ft]
|
20044
|
-
], Bo = "[object Arguments]",
|
20045
|
+
], Bo = "[object Arguments]", rs = "[object Array]", fC = "[object AsyncFunction]", Ki = "[object Boolean]", zi = "[object Date]", gC = "[object DOMException]", os = "[object Error]", is = "[object Function]", yf = "[object GeneratorFunction]", Bn = "[object Map]", Vi = "[object Number]", mC = "[object Null]", wr = "[object Object]", wf = "[object Promise]", pC = "[object Proxy]", Wi = "[object RegExp]", $n = "[object Set]", qi = "[object String]", as = "[object Symbol]", vC = "[object Undefined]", Gi = "[object WeakMap]", yC = "[object WeakSet]", ji = "[object ArrayBuffer]", $o = "[object DataView]", Sl = "[object Float32Array]", Il = "[object Float64Array]", Rl = "[object Int8Array]", kl = "[object Int16Array]", Ol = "[object Int32Array]", Pl = "[object Uint8Array]", Ml = "[object Uint8ClampedArray]", Nl = "[object Uint16Array]", Dl = "[object Uint32Array]", wC = /\b__p \+= '';/g, _C = /\b(__p \+=) '' \+/g, CC = /(__e\(.*?\)|\b__t\)) \+\n'';/g, _f = /&(?:amp|lt|gt|quot|#39);/g, Cf = /[&<>"']/g, TC = RegExp(_f.source), EC = RegExp(Cf.source), AC = /<%-([\s\S]+?)%>/g, bC = /<%([\s\S]+?)%>/g, Tf = /<%=([\s\S]+?)%>/g, SC = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, IC = /^\w*$/, RC = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, xl = /[\\^$.*+?()[\]{}|]/g, kC = RegExp(xl.source), Ll = /^\s+/, OC = /\s/, PC = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, MC = /\{\n\/\* \[wrapped with (.+)\] \*/, NC = /,? & /, DC = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, xC = /[()=,{}\[\]\/\s]/, LC = /\\(\\)?/g, UC = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, Ef = /\w*$/, HC = /^[-+]0x[0-9a-f]+$/i, FC = /^0b[01]+$/i, BC = /^\[object .+?Constructor\]$/, $C = /^0o[0-7]+$/i, KC = /^(?:0|[1-9]\d*)$/, zC = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, ss = /($^)/, VC = /['\n\r\u2028\u2029\\]/g, cs = "\\ud800-\\udfff", WC = "\\u0300-\\u036f", qC = "\\ufe20-\\ufe2f", GC = "\\u20d0-\\u20ff", Af = WC + qC + GC, bf = "\\u2700-\\u27bf", Sf = "a-z\\xdf-\\xf6\\xf8-\\xff", jC = "\\xac\\xb1\\xd7\\xf7", YC = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", JC = "\\u2000-\\u206f", QC = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", If = "A-Z\\xc0-\\xd6\\xd8-\\xde", Rf = "\\ufe0e\\ufe0f", kf = jC + YC + JC + QC, Ul = "['’]", XC = "[" + cs + "]", Of = "[" + kf + "]", ls = "[" + Af + "]", Pf = "\\d+", ZC = "[" + bf + "]", Mf = "[" + Sf + "]", Nf = "[^" + cs + kf + Pf + bf + Sf + If + "]", Hl = "\\ud83c[\\udffb-\\udfff]", eT = "(?:" + ls + "|" + Hl + ")", Df = "[^" + cs + "]", Fl = "(?:\\ud83c[\\udde6-\\uddff]){2}", Bl = "[\\ud800-\\udbff][\\udc00-\\udfff]", Ko = "[" + If + "]", xf = "\\u200d", Lf = "(?:" + Mf + "|" + Nf + ")", tT = "(?:" + Ko + "|" + Nf + ")", Uf = "(?:" + Ul + "(?:d|ll|m|re|s|t|ve))?", Hf = "(?:" + Ul + "(?:D|LL|M|RE|S|T|VE))?", Ff = eT + "?", Bf = "[" + Rf + "]?", nT = "(?:" + xf + "(?:" + [Df, Fl, Bl].join("|") + ")" + Bf + Ff + ")*", rT = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", oT = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", $f = Bf + Ff + nT, iT = "(?:" + [ZC, Fl, Bl].join("|") + ")" + $f, aT = "(?:" + [Df + ls + "?", ls, Fl, Bl, XC].join("|") + ")", sT = RegExp(Ul, "g"), cT = RegExp(ls, "g"), $l = RegExp(Hl + "(?=" + Hl + ")|" + aT + $f, "g"), lT = RegExp([
|
20045
20046
|
Ko + "?" + Mf + "+" + Uf + "(?=" + [Of, Ko, "$"].join("|") + ")",
|
20046
20047
|
tT + "+" + Hf + "(?=" + [Of, Ko + Lf, "$"].join("|") + ")",
|
20047
20048
|
Ko + "?" + Lf + "+" + Uf,
|
@@ -20050,7 +20051,7 @@ function iH() {
|
|
20050
20051
|
rT,
|
20051
20052
|
Pf,
|
20052
20053
|
iT
|
20053
|
-
].join("|"), "g"), uT = RegExp("[" + xf +
|
20054
|
+
].join("|"), "g"), uT = RegExp("[" + xf + cs + Af + Rf + "]"), dT = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/, hT = [
|
20054
20055
|
"Array",
|
20055
20056
|
"Buffer",
|
20056
20057
|
"DataView",
|
@@ -20082,9 +20083,9 @@ function iH() {
|
|
20082
20083
|
"parseInt",
|
20083
20084
|
"setTimeout"
|
20084
20085
|
], fT = -1, qe = {};
|
20085
|
-
qe[Sl] = qe[Il] = qe[Rl] = qe[kl] = qe[Ol] = qe[Pl] = qe[Ml] = qe[Nl] = qe[Dl] = !0, qe[Bo] = qe[
|
20086
|
+
qe[Sl] = qe[Il] = qe[Rl] = qe[kl] = qe[Ol] = qe[Pl] = qe[Ml] = qe[Nl] = qe[Dl] = !0, qe[Bo] = qe[rs] = qe[ji] = qe[Ki] = qe[$o] = qe[zi] = qe[os] = qe[is] = qe[Bn] = qe[Vi] = qe[wr] = qe[Wi] = qe[$n] = qe[qi] = qe[Gi] = !1;
|
20086
20087
|
var Ve = {};
|
20087
|
-
Ve[Bo] = Ve[
|
20088
|
+
Ve[Bo] = Ve[rs] = Ve[ji] = Ve[$o] = Ve[Ki] = Ve[zi] = Ve[Sl] = Ve[Il] = Ve[Rl] = Ve[kl] = Ve[Ol] = Ve[Bn] = Ve[Vi] = Ve[wr] = Ve[Wi] = Ve[$n] = Ve[qi] = Ve[as] = Ve[Pl] = Ve[Ml] = Ve[Nl] = Ve[Dl] = !0, Ve[os] = Ve[is] = Ve[Gi] = !1;
|
20088
20089
|
var gT = {
|
20089
20090
|
// Latin-1 Supplement block.
|
20090
20091
|
À: "A",
|
@@ -20297,7 +20298,7 @@ function iH() {
|
|
20297
20298
|
"\r": "r",
|
20298
20299
|
"\u2028": "u2028",
|
20299
20300
|
"\u2029": "u2029"
|
20300
|
-
}, yT = parseFloat, wT = parseInt, Kf = typeof
|
20301
|
+
}, yT = parseFloat, wT = parseInt, Kf = typeof cc == "object" && cc && cc.Object === Object && cc, _T = typeof self == "object" && self && self.Object === Object && self, At = Kf || _T || Function("return this")(), Kl = e && !e.nodeType && e, co = Kl && !0 && r && !r.nodeType && r, zf = co && co.exports === Kl, zl = zf && Kf.process, _n = function() {
|
20301
20302
|
try {
|
20302
20303
|
var b = co && co.require && co.require("util").types;
|
20303
20304
|
return b || zl && zl.binding && zl.binding("util");
|
@@ -20347,7 +20348,7 @@ function iH() {
|
|
20347
20348
|
}
|
20348
20349
|
return xe;
|
20349
20350
|
}
|
20350
|
-
function
|
20351
|
+
function us(b, D) {
|
20351
20352
|
var O = b == null ? 0 : b.length;
|
20352
20353
|
return !!O && zo(b, D, 0) > -1;
|
20353
20354
|
}
|
@@ -20399,14 +20400,14 @@ function iH() {
|
|
20399
20400
|
return j = xe, !1;
|
20400
20401
|
}), j;
|
20401
20402
|
}
|
20402
|
-
function
|
20403
|
+
function ds(b, D, O, j) {
|
20403
20404
|
for (var me = b.length, xe = O + (j ? 1 : -1); j ? xe-- : ++xe < me; )
|
20404
20405
|
if (D(b[xe], xe, b))
|
20405
20406
|
return xe;
|
20406
20407
|
return -1;
|
20407
20408
|
}
|
20408
20409
|
function zo(b, D, O) {
|
20409
|
-
return D === D ? HT(b, D, O) :
|
20410
|
+
return D === D ? HT(b, D, O) : ds(b, Xf, O);
|
20410
20411
|
}
|
20411
20412
|
function IT(b, D, O, j) {
|
20412
20413
|
for (var me = O - 1, xe = b.length; ++me < xe; )
|
@@ -20526,7 +20527,7 @@ function iH() {
|
|
20526
20527
|
}
|
20527
20528
|
return xe;
|
20528
20529
|
}
|
20529
|
-
function
|
20530
|
+
function hs(b) {
|
20530
20531
|
var D = -1, O = Array(b.size);
|
20531
20532
|
return b.forEach(function(j) {
|
20532
20533
|
O[++D] = j;
|
@@ -20575,18 +20576,18 @@ function iH() {
|
|
20575
20576
|
}
|
20576
20577
|
var VT = function b(D) {
|
20577
20578
|
D = D == null ? At : qo.defaults(At.Object(), D, qo.pick(At, hT));
|
20578
|
-
var O = D.Array, j = D.Date, me = D.Error, xe = D.Function, gt = D.Math, Ke = D.Object, Zl = D.RegExp, WT = D.String, Tn = D.TypeError,
|
20579
|
-
var o = /[^.]+$/.exec(
|
20579
|
+
var O = D.Array, j = D.Date, me = D.Error, xe = D.Function, gt = D.Math, Ke = D.Object, Zl = D.RegExp, WT = D.String, Tn = D.TypeError, fs = O.prototype, qT = xe.prototype, Go = Ke.prototype, gs = D["__core-js_shared__"], ms = qT.toString, He = Go.hasOwnProperty, GT = 0, ag = function() {
|
20580
|
+
var o = /[^.]+$/.exec(gs && gs.keys && gs.keys.IE_PROTO || "");
|
20580
20581
|
return o ? "Symbol(src)_1." + o : "";
|
20581
|
-
}(),
|
20582
|
-
"^" +
|
20583
|
-
),
|
20582
|
+
}(), ps = Go.toString, jT = ms.call(Ke), YT = At._, JT = Zl(
|
20583
|
+
"^" + ms.call(He).replace(xl, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
20584
|
+
), vs = zf ? D.Buffer : t, Vr = D.Symbol, ys = D.Uint8Array, sg = vs ? vs.allocUnsafe : t, ws = og(Ke.getPrototypeOf, Ke), cg = Ke.create, lg = Go.propertyIsEnumerable, _s = fs.splice, ug = Vr ? Vr.isConcatSpreadable : t, Ji = Vr ? Vr.iterator : t, lo = Vr ? Vr.toStringTag : t, Cs = function() {
|
20584
20585
|
try {
|
20585
20586
|
var o = mo(Ke, "defineProperty");
|
20586
20587
|
return o({}, "", {}), o;
|
20587
20588
|
} catch {
|
20588
20589
|
}
|
20589
|
-
}(), QT = D.clearTimeout !== At.clearTimeout && D.clearTimeout, XT = j && j.now !== At.Date.now && j.now, ZT = D.setTimeout !== At.setTimeout && D.setTimeout,
|
20590
|
+
}(), QT = D.clearTimeout !== At.clearTimeout && D.clearTimeout, XT = j && j.now !== At.Date.now && j.now, ZT = D.setTimeout !== At.setTimeout && D.setTimeout, Ts = gt.ceil, Es = gt.floor, eu = Ke.getOwnPropertySymbols, eE = vs ? vs.isBuffer : t, dg = D.isFinite, tE = fs.join, nE = og(Ke.keys, Ke), mt = gt.max, Dt = gt.min, rE = j.now, oE = D.parseInt, hg = gt.random, iE = fs.reverse, tu = mo(D, "DataView"), Qi = mo(D, "Map"), nu = mo(D, "Promise"), jo = mo(D, "Set"), Xi = mo(D, "WeakMap"), Zi = mo(Ke, "create"), As = Xi && new Xi(), Yo = {}, aE = po(tu), sE = po(Qi), cE = po(nu), lE = po(jo), uE = po(Xi), bs = Vr ? Vr.prototype : t, ea = bs ? bs.valueOf : t, fg = bs ? bs.toString : t;
|
20590
20591
|
function v(o) {
|
20591
20592
|
if (tt(o) && !ve(o) && !(o instanceof Re)) {
|
20592
20593
|
if (o instanceof En)
|
@@ -20609,7 +20610,7 @@ function iH() {
|
|
20609
20610
|
return o.prototype = t, l;
|
20610
20611
|
};
|
20611
20612
|
}();
|
20612
|
-
function
|
20613
|
+
function Ss() {
|
20613
20614
|
}
|
20614
20615
|
function En(o, a) {
|
20615
20616
|
this.__wrapped__ = o, this.__actions__ = [], this.__chain__ = !!a, this.__index__ = 0, this.__values__ = t;
|
@@ -20658,7 +20659,7 @@ function iH() {
|
|
20658
20659
|
*/
|
20659
20660
|
_: v
|
20660
20661
|
}
|
20661
|
-
}, v.prototype =
|
20662
|
+
}, v.prototype = Ss.prototype, v.prototype.constructor = v, En.prototype = Jo(Ss.prototype), En.prototype.constructor = En;
|
20662
20663
|
function Re(o) {
|
20663
20664
|
this.__wrapped__ = o, this.__actions__ = [], this.__dir__ = 1, this.__filtered__ = !1, this.__iteratees__ = [], this.__takeCount__ = tn, this.__views__ = [];
|
20664
20665
|
}
|
@@ -20696,7 +20697,7 @@ function iH() {
|
|
20696
20697
|
}
|
20697
20698
|
return se;
|
20698
20699
|
}
|
20699
|
-
Re.prototype = Jo(
|
20700
|
+
Re.prototype = Jo(Ss.prototype), Re.prototype.constructor = Re;
|
20700
20701
|
function uo(o) {
|
20701
20702
|
var a = -1, l = o == null ? 0 : o.length;
|
20702
20703
|
for (this.clear(); ++a < l; ) {
|
@@ -20739,21 +20740,21 @@ function iH() {
|
|
20739
20740
|
this.__data__ = [], this.size = 0;
|
20740
20741
|
}
|
20741
20742
|
function _E(o) {
|
20742
|
-
var a = this.__data__, l =
|
20743
|
+
var a = this.__data__, l = Is(a, o);
|
20743
20744
|
if (l < 0)
|
20744
20745
|
return !1;
|
20745
20746
|
var d = a.length - 1;
|
20746
|
-
return l == d ? a.pop() :
|
20747
|
+
return l == d ? a.pop() : _s.call(a, l, 1), --this.size, !0;
|
20747
20748
|
}
|
20748
20749
|
function CE(o) {
|
20749
|
-
var a = this.__data__, l =
|
20750
|
+
var a = this.__data__, l = Is(a, o);
|
20750
20751
|
return l < 0 ? t : a[l][1];
|
20751
20752
|
}
|
20752
20753
|
function TE(o) {
|
20753
|
-
return
|
20754
|
+
return Is(this.__data__, o) > -1;
|
20754
20755
|
}
|
20755
20756
|
function EE(o, a) {
|
20756
|
-
var l = this.__data__, d =
|
20757
|
+
var l = this.__data__, d = Is(l, o);
|
20757
20758
|
return d < 0 ? (++this.size, l.push([o, a])) : l[d][1] = a, this;
|
20758
20759
|
}
|
20759
20760
|
_r.prototype.clear = wE, _r.prototype.delete = _E, _r.prototype.get = CE, _r.prototype.has = TE, _r.prototype.set = EE;
|
@@ -20772,17 +20773,17 @@ function iH() {
|
|
20772
20773
|
};
|
20773
20774
|
}
|
20774
20775
|
function bE(o) {
|
20775
|
-
var a =
|
20776
|
+
var a = Fs(this, o).delete(o);
|
20776
20777
|
return this.size -= a ? 1 : 0, a;
|
20777
20778
|
}
|
20778
20779
|
function SE(o) {
|
20779
|
-
return
|
20780
|
+
return Fs(this, o).get(o);
|
20780
20781
|
}
|
20781
20782
|
function IE(o) {
|
20782
|
-
return
|
20783
|
+
return Fs(this, o).has(o);
|
20783
20784
|
}
|
20784
20785
|
function RE(o, a) {
|
20785
|
-
var l =
|
20786
|
+
var l = Fs(this, o), d = l.size;
|
20786
20787
|
return l.set(o, a), this.size += l.size == d ? 0 : 1, this;
|
20787
20788
|
}
|
20788
20789
|
Cr.prototype.clear = AE, Cr.prototype.delete = bE, Cr.prototype.get = SE, Cr.prototype.has = IE, Cr.prototype.set = RE;
|
@@ -20841,10 +20842,10 @@ function iH() {
|
|
20841
20842
|
return a ? o[fu(0, a - 1)] : t;
|
20842
20843
|
}
|
20843
20844
|
function LE(o, a) {
|
20844
|
-
return
|
20845
|
+
return Bs(jt(o), fo(a, 0, o.length));
|
20845
20846
|
}
|
20846
20847
|
function UE(o) {
|
20847
|
-
return
|
20848
|
+
return Bs(jt(o));
|
20848
20849
|
}
|
20849
20850
|
function ru(o, a, l) {
|
20850
20851
|
(l !== t && !Vn(o[a], l) || l === t && !(a in o)) && Tr(o, a, l);
|
@@ -20853,7 +20854,7 @@ function iH() {
|
|
20853
20854
|
var d = o[a];
|
20854
20855
|
(!(He.call(o, a) && Vn(d, l)) || l === t && !(a in o)) && Tr(o, a, l);
|
20855
20856
|
}
|
20856
|
-
function
|
20857
|
+
function Is(o, a) {
|
20857
20858
|
for (var l = o.length; l--; )
|
20858
20859
|
if (Vn(o[l][0], a))
|
20859
20860
|
return l;
|
@@ -20871,7 +20872,7 @@ function iH() {
|
|
20871
20872
|
return o && rr(a, Jt(a), o);
|
20872
20873
|
}
|
20873
20874
|
function Tr(o, a, l) {
|
20874
|
-
a == "__proto__" &&
|
20875
|
+
a == "__proto__" && Cs ? Cs(o, a, {
|
20875
20876
|
configurable: !0,
|
20876
20877
|
enumerable: !0,
|
20877
20878
|
value: l,
|
@@ -20897,7 +20898,7 @@ function iH() {
|
|
20897
20898
|
if (_ = IA(o), !T)
|
20898
20899
|
return jt(o, _);
|
20899
20900
|
} else {
|
20900
|
-
var F = xt(o), q = F ==
|
20901
|
+
var F = xt(o), q = F == is || F == yf;
|
20901
20902
|
if (Yr(o))
|
20902
20903
|
return Bg(o, T);
|
20903
20904
|
if (F == wr || F == Bo || q && !m) {
|
@@ -20948,7 +20949,7 @@ function iH() {
|
|
20948
20949
|
}, a);
|
20949
20950
|
}
|
20950
20951
|
function na(o, a, l, d) {
|
20951
|
-
var m = -1, w =
|
20952
|
+
var m = -1, w = us, _ = !0, T = o.length, I = [], L = a.length;
|
20952
20953
|
if (!T)
|
20953
20954
|
return I;
|
20954
20955
|
l && (a = Je(a, rn(l))), d ? (w = Vl, _ = !1) : a.length >= i && (w = Yi, _ = !1, a = new ho(a));
|
@@ -20971,7 +20972,7 @@ function iH() {
|
|
20971
20972
|
return l = !!a(d, m, w), l;
|
20972
20973
|
}), l;
|
20973
20974
|
}
|
20974
|
-
function
|
20975
|
+
function Rs(o, a, l) {
|
20975
20976
|
for (var d = -1, m = o.length; ++d < m; ) {
|
20976
20977
|
var w = o[d], _ = a(w);
|
20977
20978
|
if (_ != null && (T === t ? _ === _ && !an(_) : l(_, T)))
|
@@ -21006,7 +21007,7 @@ function iH() {
|
|
21006
21007
|
function au(o, a) {
|
21007
21008
|
return o && Cg(o, a, wt);
|
21008
21009
|
}
|
21009
|
-
function
|
21010
|
+
function ks(o, a) {
|
21010
21011
|
return $r(a, function(l) {
|
21011
21012
|
return Sr(o[l]);
|
21012
21013
|
});
|
@@ -21037,7 +21038,7 @@ function iH() {
|
|
21037
21038
|
return o >= Dt(a, l) && o < mt(a, l);
|
21038
21039
|
}
|
21039
21040
|
function cu(o, a, l) {
|
21040
|
-
for (var d = l ? Vl :
|
21041
|
+
for (var d = l ? Vl : us, m = o[0].length, w = o.length, _ = w, T = O(w), I = 1 / 0, L = []; _--; ) {
|
21041
21042
|
var U = o[_];
|
21042
21043
|
_ && a && (U = Je(U, rn(a))), I = Dt(U.length, I), T[_] = !l && (a || m >= 120 && U.length >= 120) ? new ho(_ && U) : t;
|
21043
21044
|
}
|
@@ -21080,7 +21081,7 @@ function iH() {
|
|
21080
21081
|
return o === a ? !0 : o == null || a == null || !tt(o) && !tt(a) ? o !== o && a !== a : YE(o, a, l, d, oa, m);
|
21081
21082
|
}
|
21082
21083
|
function YE(o, a, l, d, m, w) {
|
21083
|
-
var _ = ve(o), T = ve(a), I = _ ?
|
21084
|
+
var _ = ve(o), T = ve(a), I = _ ? rs : xt(o), L = T ? rs : xt(a);
|
21084
21085
|
I = I == Bo ? wr : I, L = L == Bo ? wr : L;
|
21085
21086
|
var U = I == wr, F = L == wr, q = I == L;
|
21086
21087
|
if (q && Yr(o)) {
|
@@ -21140,7 +21141,7 @@ function iH() {
|
|
21140
21141
|
return tt(o) && xt(o) == $n;
|
21141
21142
|
}
|
21142
21143
|
function ZE(o) {
|
21143
|
-
return tt(o) &&
|
21144
|
+
return tt(o) && qs(o.length) && !!qe[Kt(o)];
|
21144
21145
|
}
|
21145
21146
|
function bg(o) {
|
21146
21147
|
return typeof o == "function" ? o : o == null ? Qt : typeof o == "object" ? ve(o) ? Rg(o[0], o[1]) : Ig(o) : Gm(o);
|
@@ -21182,10 +21183,10 @@ function iH() {
|
|
21182
21183
|
return d === t && d === a ? Fu(l, o) : oa(a, d, C | S);
|
21183
21184
|
};
|
21184
21185
|
}
|
21185
|
-
function
|
21186
|
+
function Os(o, a, l, d, m) {
|
21186
21187
|
o !== a && iu(a, function(w, _) {
|
21187
21188
|
if (m || (m = new zn()), Ze(w))
|
21188
|
-
tA(o, a, _, l,
|
21189
|
+
tA(o, a, _, l, Os, d, m);
|
21189
21190
|
else {
|
21190
21191
|
var T = d ? d(Ou(o, _), w, _ + "", o, a, m) : t;
|
21191
21192
|
T === t && (T = w), ru(o, _, T);
|
@@ -21249,7 +21250,7 @@ function iH() {
|
|
21249
21250
|
var m = d ? IT : zo, w = -1, _ = a.length, T = o;
|
21250
21251
|
for (o === a && (a = jt(a)), l && (T = Je(o, rn(l))); ++w < _; )
|
21251
21252
|
for (var I = 0, L = a[w], U = l ? l(L) : L; (I = m(T, U, I, d)) > -1; )
|
21252
|
-
T !== o &&
|
21253
|
+
T !== o && _s.call(T, I, 1), _s.call(o, I, 1);
|
21253
21254
|
return o;
|
21254
21255
|
}
|
21255
21256
|
function Mg(o, a) {
|
@@ -21257,16 +21258,16 @@ function iH() {
|
|
21257
21258
|
var m = a[l];
|
21258
21259
|
if (l == d || m !== w) {
|
21259
21260
|
var w = m;
|
21260
|
-
br(m) ?
|
21261
|
+
br(m) ? _s.call(o, m, 1) : pu(o, m);
|
21261
21262
|
}
|
21262
21263
|
}
|
21263
21264
|
return o;
|
21264
21265
|
}
|
21265
21266
|
function fu(o, a) {
|
21266
|
-
return o +
|
21267
|
+
return o + Es(hg() * (a - o + 1));
|
21267
21268
|
}
|
21268
21269
|
function oA(o, a, l, d) {
|
21269
|
-
for (var m = -1, w = mt(
|
21270
|
+
for (var m = -1, w = mt(Ts((a - o) / (l || 1)), 0), _ = O(w); w--; )
|
21270
21271
|
_[d ? w : ++m] = o, o += l;
|
21271
21272
|
return _;
|
21272
21273
|
}
|
@@ -21275,7 +21276,7 @@ function iH() {
|
|
21275
21276
|
if (!o || a < 1 || a > ct)
|
21276
21277
|
return l;
|
21277
21278
|
do
|
21278
|
-
a % 2 && (l += o), a =
|
21279
|
+
a % 2 && (l += o), a = Es(a / 2), a && (o += o);
|
21279
21280
|
while (a);
|
21280
21281
|
return l;
|
21281
21282
|
}
|
@@ -21287,7 +21288,7 @@ function iH() {
|
|
21287
21288
|
}
|
21288
21289
|
function aA(o, a) {
|
21289
21290
|
var l = ti(o);
|
21290
|
-
return
|
21291
|
+
return Bs(l, fo(a, 0, l.length));
|
21291
21292
|
}
|
21292
21293
|
function ia(o, a, l, d) {
|
21293
21294
|
if (!Ze(o))
|
@@ -21305,10 +21306,10 @@ function iH() {
|
|
21305
21306
|
}
|
21306
21307
|
return o;
|
21307
21308
|
}
|
21308
|
-
var Ng =
|
21309
|
-
return
|
21310
|
-
} : Qt, sA =
|
21311
|
-
return
|
21309
|
+
var Ng = As ? function(o, a) {
|
21310
|
+
return As.set(o, a), o;
|
21311
|
+
} : Qt, sA = Cs ? function(o, a) {
|
21312
|
+
return Cs(o, "toString", {
|
21312
21313
|
configurable: !0,
|
21313
21314
|
enumerable: !1,
|
21314
21315
|
value: $u(a),
|
@@ -21316,7 +21317,7 @@ function iH() {
|
|
21316
21317
|
});
|
21317
21318
|
} : Qt;
|
21318
21319
|
function cA(o) {
|
21319
|
-
return
|
21320
|
+
return Bs(ti(o));
|
21320
21321
|
}
|
21321
21322
|
function bn(o, a, l) {
|
21322
21323
|
var d = -1, m = o.length;
|
@@ -21331,7 +21332,7 @@ function iH() {
|
|
21331
21332
|
return l = a(d, m, w), !l;
|
21332
21333
|
}), !!l;
|
21333
21334
|
}
|
21334
|
-
function
|
21335
|
+
function Ps(o, a, l) {
|
21335
21336
|
var d = 0, m = o == null ? d : o.length;
|
21336
21337
|
if (typeof a == "number" && a === a && m <= dC) {
|
21337
21338
|
for (; d < m; ) {
|
@@ -21348,7 +21349,7 @@ function iH() {
|
|
21348
21349
|
return 0;
|
21349
21350
|
a = l(a);
|
21350
21351
|
for (var _ = a !== a, T = a === null, I = an(a), L = a === t; m < w; ) {
|
21351
|
-
var U =
|
21352
|
+
var U = Es((m + w) / 2), F = l(o[U]), q = F !== t, Z = F === null, se = F === F, Ee = an(F);
|
21352
21353
|
if (_)
|
21353
21354
|
var ce = d || se;
|
21354
21355
|
else L ? ce = se && (d || q) : T ? ce = se && q && (d || !Z) : I ? ce = se && q && !Z && (d || !Ee) : Z || Ee ? ce = !1 : ce = d ? F <= a : F < a;
|
@@ -21380,13 +21381,13 @@ function iH() {
|
|
21380
21381
|
return a == "0" && 1 / o == -Gt ? "-0" : a;
|
21381
21382
|
}
|
21382
21383
|
function qr(o, a, l) {
|
21383
|
-
var d = -1, m =
|
21384
|
+
var d = -1, m = us, w = o.length, _ = !0, T = [], I = T;
|
21384
21385
|
if (l)
|
21385
21386
|
_ = !1, m = Vl;
|
21386
21387
|
else if (w >= i) {
|
21387
21388
|
var L = a ? null : _A(o);
|
21388
21389
|
if (L)
|
21389
|
-
return
|
21390
|
+
return hs(L);
|
21390
21391
|
_ = !1, m = Yi, I = new ho();
|
21391
21392
|
} else
|
21392
21393
|
I = a ? [] : T;
|
@@ -21408,7 +21409,7 @@ function iH() {
|
|
21408
21409
|
function Lg(o, a, l, d) {
|
21409
21410
|
return ia(o, a, l(go(o, a)), d);
|
21410
21411
|
}
|
21411
|
-
function
|
21412
|
+
function Ms(o, a, l, d) {
|
21412
21413
|
for (var m = o.length, w = d ? m : -1; (d ? w-- : ++w < m) && a(o[w], w, o); )
|
21413
21414
|
;
|
21414
21415
|
return l ? bn(o, d ? 0 : w, d ? w + 1 : m) : bn(o, d ? w + 1 : 0, d ? m : w);
|
@@ -21460,7 +21461,7 @@ function iH() {
|
|
21460
21461
|
}
|
21461
21462
|
function _u(o) {
|
21462
21463
|
var a = new o.constructor(o.byteLength);
|
21463
|
-
return new
|
21464
|
+
return new ys(a).set(new ys(o)), a;
|
21464
21465
|
}
|
21465
21466
|
function dA(o, a) {
|
21466
21467
|
var l = a ? _u(o.buffer) : o.buffer;
|
@@ -21538,7 +21539,7 @@ function iH() {
|
|
21538
21539
|
function pA(o, a) {
|
21539
21540
|
return rr(o, rm(o), a);
|
21540
21541
|
}
|
21541
|
-
function
|
21542
|
+
function Ns(o, a) {
|
21542
21543
|
return function(l, d) {
|
21543
21544
|
var m = ve(l) ? CT : HE, w = a ? a() : {};
|
21544
21545
|
return m(l, o, ae(d, 2), w);
|
@@ -21630,7 +21631,7 @@ function iH() {
|
|
21630
21631
|
return Xg(
|
21631
21632
|
o,
|
21632
21633
|
a,
|
21633
|
-
|
21634
|
+
Ds,
|
21634
21635
|
m.placeholder,
|
21635
21636
|
t,
|
21636
21637
|
_,
|
@@ -21664,13 +21665,13 @@ function iH() {
|
|
21664
21665
|
var w = a[d];
|
21665
21666
|
if (typeof w != "function")
|
21666
21667
|
throw new Tn(c);
|
21667
|
-
if (m && !_ &&
|
21668
|
+
if (m && !_ && Hs(w) == "wrapper")
|
21668
21669
|
var _ = new En([], !0);
|
21669
21670
|
}
|
21670
21671
|
for (d = _ ? d : l; ++d < l; ) {
|
21671
21672
|
w = a[d];
|
21672
|
-
var T =
|
21673
|
-
I && ku(I[0]) && I[1] == (G | $ | pe | ft) && !I[4].length && I[9] == 1 ? _ = _[
|
21673
|
+
var T = Hs(w), I = T == "wrapper" ? bu(w) : t;
|
21674
|
+
I && ku(I[0]) && I[1] == (G | $ | pe | ft) && !I[4].length && I[9] == 1 ? _ = _[Hs(I[0])].apply(_, I[3]) : _ = w.length == 1 && ku(w) ? _[T]() : _.thru(w);
|
21674
21675
|
}
|
21675
21676
|
return function() {
|
21676
21677
|
var L = arguments, U = L[0];
|
@@ -21682,7 +21683,7 @@ function iH() {
|
|
21682
21683
|
};
|
21683
21684
|
});
|
21684
21685
|
}
|
21685
|
-
function
|
21686
|
+
function Ds(o, a, l, d, m, w, _, T, I, L) {
|
21686
21687
|
var U = a & G, F = a & P, q = a & W, Z = a & ($ | ie), se = a & Ne, Ee = q ? t : aa(o);
|
21687
21688
|
function ce() {
|
21688
21689
|
for (var Ie = arguments.length, ke = O(Ie), sn = Ie; sn--; )
|
@@ -21694,7 +21695,7 @@ function iH() {
|
|
21694
21695
|
return Xg(
|
21695
21696
|
o,
|
21696
21697
|
a,
|
21697
|
-
|
21698
|
+
Ds,
|
21698
21699
|
ce.placeholder,
|
21699
21700
|
l,
|
21700
21701
|
ke,
|
@@ -21714,7 +21715,7 @@ function iH() {
|
|
21714
21715
|
return qE(l, o, a(d), {});
|
21715
21716
|
};
|
21716
21717
|
}
|
21717
|
-
function
|
21718
|
+
function xs(o, a) {
|
21718
21719
|
return function(l, d) {
|
21719
21720
|
var m;
|
21720
21721
|
if (l === t && d === t)
|
@@ -21737,12 +21738,12 @@ function iH() {
|
|
21737
21738
|
});
|
21738
21739
|
});
|
21739
21740
|
}
|
21740
|
-
function
|
21741
|
+
function Ls(o, a) {
|
21741
21742
|
a = a === t ? " " : on(a);
|
21742
21743
|
var l = a.length;
|
21743
21744
|
if (l < 2)
|
21744
21745
|
return l ? gu(a, o) : a;
|
21745
|
-
var d = gu(a,
|
21746
|
+
var d = gu(a, Ts(o / Wo(a)));
|
21746
21747
|
return Vo(a) ? jr(Kn(d), 0, o).join("") : d.slice(0, o);
|
21747
21748
|
}
|
21748
21749
|
function wA(o, a, l, d) {
|
@@ -21761,7 +21762,7 @@ function iH() {
|
|
21761
21762
|
return d && typeof d != "number" && zt(a, l, d) && (l = d = t), a = Ir(a), l === t ? (l = a, a = 0) : l = Ir(l), d = d === t ? a < l ? 1 : -1 : Ir(d), oA(a, l, d, o);
|
21762
21763
|
};
|
21763
21764
|
}
|
21764
|
-
function
|
21765
|
+
function Us(o) {
|
21765
21766
|
return function(a, l) {
|
21766
21767
|
return typeof a == "string" && typeof l == "string" || (a = In(a), l = In(l)), o(a, l);
|
21767
21768
|
};
|
@@ -21793,7 +21794,7 @@ function iH() {
|
|
21793
21794
|
return a(l);
|
21794
21795
|
};
|
21795
21796
|
}
|
21796
|
-
var _A = jo && 1 /
|
21797
|
+
var _A = jo && 1 / hs(new jo([, -0]))[1] == Gt ? function(o) {
|
21797
21798
|
return new jo(o);
|
21798
21799
|
} : Vu;
|
21799
21800
|
function Zg(o) {
|
@@ -21825,7 +21826,7 @@ function iH() {
|
|
21825
21826
|
];
|
21826
21827
|
if (q && xA(Z, q), o = Z[0], a = Z[1], l = Z[2], d = Z[3], m = Z[4], T = Z[9] = Z[9] === t ? I ? 0 : o.length : mt(Z[9] - L, 0), !T && a & ($ | ie) && (a &= ~($ | ie)), !a || a == P)
|
21827
21828
|
var se = vA(o, a, l);
|
21828
|
-
else a == $ || a == ie ? se = yA(o, a, T) : (a == pe || a == (P | pe)) && !m.length ? se = wA(o, a, l, d) : se =
|
21829
|
+
else a == $ || a == ie ? se = yA(o, a, T) : (a == pe || a == (P | pe)) && !m.length ? se = wA(o, a, l, d) : se = Ds.apply(t, Z);
|
21829
21830
|
var Ee = q ? Ng : um;
|
21830
21831
|
return dm(Ee(se, Z), o, a);
|
21831
21832
|
}
|
@@ -21833,7 +21834,7 @@ function iH() {
|
|
21833
21834
|
return o === t || Vn(o, Go[l]) && !He.call(d, l) ? a : o;
|
21834
21835
|
}
|
21835
21836
|
function tm(o, a, l, d, m, w) {
|
21836
|
-
return Ze(o) && Ze(a) && (w.set(a, o),
|
21837
|
+
return Ze(o) && Ze(a) && (w.set(a, o), Os(o, a, t, tm, w), w.delete(a)), o;
|
21837
21838
|
}
|
21838
21839
|
function CA(o) {
|
21839
21840
|
return la(o) ? t : o;
|
@@ -21878,12 +21879,12 @@ function iH() {
|
|
21878
21879
|
return !1;
|
21879
21880
|
o = o.buffer, a = a.buffer;
|
21880
21881
|
case ji:
|
21881
|
-
return !(o.byteLength != a.byteLength || !w(new
|
21882
|
+
return !(o.byteLength != a.byteLength || !w(new ys(o), new ys(a)));
|
21882
21883
|
case Ki:
|
21883
21884
|
case zi:
|
21884
21885
|
case Vi:
|
21885
21886
|
return Vn(+o, +a);
|
21886
|
-
case
|
21887
|
+
case os:
|
21887
21888
|
return o.name == a.name && o.message == a.message;
|
21888
21889
|
case Wi:
|
21889
21890
|
case qi:
|
@@ -21892,7 +21893,7 @@ function iH() {
|
|
21892
21893
|
var T = Xl;
|
21893
21894
|
case $n:
|
21894
21895
|
var I = d & C;
|
21895
|
-
if (T || (T =
|
21896
|
+
if (T || (T = hs), o.size != a.size && !I)
|
21896
21897
|
return !1;
|
21897
21898
|
var L = _.get(o);
|
21898
21899
|
if (L)
|
@@ -21900,7 +21901,7 @@ function iH() {
|
|
21900
21901
|
d |= S, _.set(o, a);
|
21901
21902
|
var U = nm(T(o), T(a), d, m, w, _);
|
21902
21903
|
return _.delete(o), U;
|
21903
|
-
case
|
21904
|
+
case as:
|
21904
21905
|
if (ea)
|
21905
21906
|
return ea.call(o) == ea.call(a);
|
21906
21907
|
}
|
@@ -21946,10 +21947,10 @@ function iH() {
|
|
21946
21947
|
function Au(o) {
|
21947
21948
|
return Tg(o, Jt, rm);
|
21948
21949
|
}
|
21949
|
-
var bu =
|
21950
|
-
return
|
21950
|
+
var bu = As ? function(o) {
|
21951
|
+
return As.get(o);
|
21951
21952
|
} : Vu;
|
21952
|
-
function
|
21953
|
+
function Hs(o) {
|
21953
21954
|
for (var a = o.name + "", l = Yo[a], d = He.call(Yo, a) ? l.length : 0; d--; ) {
|
21954
21955
|
var m = l[d], w = m.func;
|
21955
21956
|
if (w == null || w == o)
|
@@ -21965,7 +21966,7 @@ function iH() {
|
|
21965
21966
|
var o = v.iteratee || Ku;
|
21966
21967
|
return o = o === Ku ? bg : o, arguments.length ? o(arguments[0], arguments[1]) : o;
|
21967
21968
|
}
|
21968
|
-
function
|
21969
|
+
function Fs(o, a) {
|
21969
21970
|
var l = o.__data__;
|
21970
21971
|
return PA(a) ? l[typeof a == "string" ? "string" : "hash"] : l.map;
|
21971
21972
|
}
|
@@ -21987,7 +21988,7 @@ function iH() {
|
|
21987
21988
|
var d = !0;
|
21988
21989
|
} catch {
|
21989
21990
|
}
|
21990
|
-
var m =
|
21991
|
+
var m = ps.call(o);
|
21991
21992
|
return d && (a ? o[lo] = l : delete o[lo]), m;
|
21992
21993
|
}
|
21993
21994
|
var Iu = eu ? function(o) {
|
@@ -21996,7 +21997,7 @@ function iH() {
|
|
21996
21997
|
}));
|
21997
21998
|
} : Wu, rm = eu ? function(o) {
|
21998
21999
|
for (var a = []; o; )
|
21999
|
-
Kr(a, Iu(o)), o =
|
22000
|
+
Kr(a, Iu(o)), o = ws(o);
|
22000
22001
|
return a;
|
22001
22002
|
} : Wu, xt = Kt;
|
22002
22003
|
(tu && xt(new tu(new ArrayBuffer(1))) != $o || Qi && xt(new Qi()) != Bn || nu && xt(nu.resolve()) != wf || jo && xt(new jo()) != $n || Xi && xt(new Xi()) != Gi) && (xt = function(o) {
|
@@ -22048,14 +22049,14 @@ function iH() {
|
|
22048
22049
|
break;
|
22049
22050
|
o = o[_];
|
22050
22051
|
}
|
22051
|
-
return w || ++d != m ? w : (m = o == null ? 0 : o.length, !!m &&
|
22052
|
+
return w || ++d != m ? w : (m = o == null ? 0 : o.length, !!m && qs(m) && br(_, m) && (ve(o) || vo(o)));
|
22052
22053
|
}
|
22053
22054
|
function IA(o) {
|
22054
22055
|
var a = o.length, l = new o.constructor(a);
|
22055
22056
|
return a && typeof o[0] == "string" && He.call(o, "index") && (l.index = o.index, l.input = o.input), l;
|
22056
22057
|
}
|
22057
22058
|
function im(o) {
|
22058
|
-
return typeof o.constructor == "function" && !sa(o) ? Jo(
|
22059
|
+
return typeof o.constructor == "function" && !sa(o) ? Jo(ws(o)) : {};
|
22059
22060
|
}
|
22060
22061
|
function RA(o, a, l) {
|
22061
22062
|
var d = o.constructor;
|
@@ -22086,7 +22087,7 @@ function iH() {
|
|
22086
22087
|
return hA(o);
|
22087
22088
|
case $n:
|
22088
22089
|
return new d();
|
22089
|
-
case
|
22090
|
+
case as:
|
22090
22091
|
return fA(o);
|
22091
22092
|
}
|
22092
22093
|
}
|
@@ -22123,7 +22124,7 @@ function iH() {
|
|
22123
22124
|
return a == "string" || a == "number" || a == "symbol" || a == "boolean" ? o !== "__proto__" : o === null;
|
22124
22125
|
}
|
22125
22126
|
function ku(o) {
|
22126
|
-
var a =
|
22127
|
+
var a = Hs(o), l = v[a];
|
22127
22128
|
if (typeof l != "function" || !(a in Re.prototype))
|
22128
22129
|
return !1;
|
22129
22130
|
if (o === l)
|
@@ -22134,7 +22135,7 @@ function iH() {
|
|
22134
22135
|
function MA(o) {
|
22135
22136
|
return !!ag && ag in o;
|
22136
22137
|
}
|
22137
|
-
var NA =
|
22138
|
+
var NA = gs ? Sr : qu;
|
22138
22139
|
function sa(o) {
|
22139
22140
|
var a = o && o.constructor, l = typeof a == "function" && a.prototype || Go;
|
22140
22141
|
return o === l;
|
@@ -22148,7 +22149,7 @@ function iH() {
|
|
22148
22149
|
};
|
22149
22150
|
}
|
22150
22151
|
function DA(o) {
|
22151
|
-
var a =
|
22152
|
+
var a = Vs(o, function(d) {
|
22152
22153
|
return l.size === f && l.clear(), d;
|
22153
22154
|
}), l = a.cache;
|
22154
22155
|
return a;
|
@@ -22173,7 +22174,7 @@ function iH() {
|
|
22173
22174
|
return a;
|
22174
22175
|
}
|
22175
22176
|
function UA(o) {
|
22176
|
-
return
|
22177
|
+
return ps.call(o);
|
22177
22178
|
}
|
22178
22179
|
function cm(o, a, l) {
|
22179
22180
|
return a = mt(a === t ? o.length - 1 : a, 0), function() {
|
@@ -22218,7 +22219,7 @@ function iH() {
|
|
22218
22219
|
return o.apply(t, arguments);
|
22219
22220
|
};
|
22220
22221
|
}
|
22221
|
-
function
|
22222
|
+
function Bs(o, a) {
|
22222
22223
|
var l = -1, d = o.length, m = d - 1;
|
22223
22224
|
for (a = a === t ? d : a; ++l < a; ) {
|
22224
22225
|
var w = fu(l, m), _ = o[w];
|
@@ -22241,7 +22242,7 @@ function iH() {
|
|
22241
22242
|
function po(o) {
|
22242
22243
|
if (o != null) {
|
22243
22244
|
try {
|
22244
|
-
return
|
22245
|
+
return ms.call(o);
|
22245
22246
|
} catch {
|
22246
22247
|
}
|
22247
22248
|
try {
|
@@ -22254,7 +22255,7 @@ function iH() {
|
|
22254
22255
|
function FA(o, a) {
|
22255
22256
|
return Cn(hC, function(l) {
|
22256
22257
|
var d = "_." + l[0];
|
22257
|
-
a & l[1] && !
|
22258
|
+
a & l[1] && !us(o, d) && o.push(d);
|
22258
22259
|
}), o.sort();
|
22259
22260
|
}
|
22260
22261
|
function gm(o) {
|
@@ -22268,7 +22269,7 @@ function iH() {
|
|
22268
22269
|
var d = o == null ? 0 : o.length;
|
22269
22270
|
if (!d || a < 1)
|
22270
22271
|
return [];
|
22271
|
-
for (var m = 0, w = 0, _ = O(
|
22272
|
+
for (var m = 0, w = 0, _ = O(Ts(d / a)); m < d; )
|
22272
22273
|
_[w++] = bn(o, m, m += a);
|
22273
22274
|
return _;
|
22274
22275
|
}
|
@@ -22305,10 +22306,10 @@ function iH() {
|
|
22305
22306
|
return d ? (a = l || a === t ? 1 : Ce(a), a = d - a, bn(o, 0, a < 0 ? 0 : a)) : [];
|
22306
22307
|
}
|
22307
22308
|
function jA(o, a) {
|
22308
|
-
return o && o.length ?
|
22309
|
+
return o && o.length ? Ms(o, ae(a, 3), !0, !0) : [];
|
22309
22310
|
}
|
22310
22311
|
function YA(o, a) {
|
22311
|
-
return o && o.length ?
|
22312
|
+
return o && o.length ? Ms(o, ae(a, 3), !0) : [];
|
22312
22313
|
}
|
22313
22314
|
function JA(o, a, l, d) {
|
22314
22315
|
var m = o == null ? 0 : o.length;
|
@@ -22319,14 +22320,14 @@ function iH() {
|
|
22319
22320
|
if (!d)
|
22320
22321
|
return -1;
|
22321
22322
|
var m = l == null ? 0 : Ce(l);
|
22322
|
-
return m < 0 && (m = mt(d + m, 0)),
|
22323
|
+
return m < 0 && (m = mt(d + m, 0)), ds(o, ae(a, 3), m);
|
22323
22324
|
}
|
22324
22325
|
function pm(o, a, l) {
|
22325
22326
|
var d = o == null ? 0 : o.length;
|
22326
22327
|
if (!d)
|
22327
22328
|
return -1;
|
22328
22329
|
var m = d - 1;
|
22329
|
-
return l !== t && (m = Ce(l), m = l < 0 ? mt(d + m, 0) : Dt(m, d - 1)),
|
22330
|
+
return l !== t && (m = Ce(l), m = l < 0 ? mt(d + m, 0) : Dt(m, d - 1)), ds(o, ae(a, 3), m, !0);
|
22330
22331
|
}
|
22331
22332
|
function vm(o) {
|
22332
22333
|
var a = o == null ? 0 : o.length;
|
@@ -22383,7 +22384,7 @@ function iH() {
|
|
22383
22384
|
if (!d)
|
22384
22385
|
return -1;
|
22385
22386
|
var m = d;
|
22386
|
-
return l !== t && (m = Ce(l), m = m < 0 ? mt(d + m, 0) : Dt(m, d - 1)), a === a ? FT(o, a, m) :
|
22387
|
+
return l !== t && (m = Ce(l), m = m < 0 ? mt(d + m, 0) : Dt(m, d - 1)), a === a ? FT(o, a, m) : ds(o, Xf, m, !0);
|
22387
22388
|
}
|
22388
22389
|
function sb(o, a) {
|
22389
22390
|
return o && o.length ? kg(o, Ce(a)) : t;
|
@@ -22423,7 +22424,7 @@ function iH() {
|
|
22423
22424
|
return d ? (l && typeof l != "number" && zt(o, a, l) ? (a = 0, l = d) : (a = a == null ? 0 : Ce(a), l = l === t ? d : Ce(l)), bn(o, a, l)) : [];
|
22424
22425
|
}
|
22425
22426
|
function gb(o, a) {
|
22426
|
-
return
|
22427
|
+
return Ps(o, a);
|
22427
22428
|
}
|
22428
22429
|
function mb(o, a, l) {
|
22429
22430
|
return mu(o, a, ae(l, 2));
|
@@ -22431,14 +22432,14 @@ function iH() {
|
|
22431
22432
|
function pb(o, a) {
|
22432
22433
|
var l = o == null ? 0 : o.length;
|
22433
22434
|
if (l) {
|
22434
|
-
var d =
|
22435
|
+
var d = Ps(o, a);
|
22435
22436
|
if (d < l && Vn(o[d], a))
|
22436
22437
|
return d;
|
22437
22438
|
}
|
22438
22439
|
return -1;
|
22439
22440
|
}
|
22440
22441
|
function vb(o, a) {
|
22441
|
-
return
|
22442
|
+
return Ps(o, a, !0);
|
22442
22443
|
}
|
22443
22444
|
function yb(o, a, l) {
|
22444
22445
|
return mu(o, a, ae(l, 2), !0);
|
@@ -22446,7 +22447,7 @@ function iH() {
|
|
22446
22447
|
function wb(o, a) {
|
22447
22448
|
var l = o == null ? 0 : o.length;
|
22448
22449
|
if (l) {
|
22449
|
-
var d =
|
22450
|
+
var d = Ps(o, a, !0) - 1;
|
22450
22451
|
if (Vn(o[d], a))
|
22451
22452
|
return d;
|
22452
22453
|
}
|
@@ -22470,10 +22471,10 @@ function iH() {
|
|
22470
22471
|
return d ? (a = l || a === t ? 1 : Ce(a), a = d - a, bn(o, a < 0 ? 0 : a, d)) : [];
|
22471
22472
|
}
|
22472
22473
|
function bb(o, a) {
|
22473
|
-
return o && o.length ?
|
22474
|
+
return o && o.length ? Ms(o, ae(a, 3), !1, !0) : [];
|
22474
22475
|
}
|
22475
22476
|
function Sb(o, a) {
|
22476
|
-
return o && o.length ?
|
22477
|
+
return o && o.length ? Ms(o, ae(a, 3)) : [];
|
22477
22478
|
}
|
22478
22479
|
var Ib = Ae(function(o) {
|
22479
22480
|
return qr(bt(o, 1, it, !0));
|
@@ -22540,7 +22541,7 @@ function iH() {
|
|
22540
22541
|
function $b(o, a) {
|
22541
22542
|
return a(o), o;
|
22542
22543
|
}
|
22543
|
-
function
|
22544
|
+
function $s(o, a) {
|
22544
22545
|
return a(o);
|
22545
22546
|
}
|
22546
22547
|
var Kb = Ar(function(o) {
|
@@ -22548,7 +22549,7 @@ function iH() {
|
|
22548
22549
|
return ou(w, o);
|
22549
22550
|
};
|
22550
22551
|
return a > 1 || this.__actions__.length || !(d instanceof Re) || !br(l) ? this.thru(m) : (d = d.slice(l, +l + (a ? 1 : 0)), d.__actions__.push({
|
22551
|
-
func:
|
22552
|
+
func: $s,
|
22552
22553
|
args: [m],
|
22553
22554
|
thisArg: t
|
22554
22555
|
}), new En(d, this.__chain__).thru(function(w) {
|
@@ -22570,7 +22571,7 @@ function iH() {
|
|
22570
22571
|
return this;
|
22571
22572
|
}
|
22572
22573
|
function Gb(o) {
|
22573
|
-
for (var a, l = this; l instanceof
|
22574
|
+
for (var a, l = this; l instanceof Ss; ) {
|
22574
22575
|
var d = gm(l);
|
22575
22576
|
d.__index__ = 0, d.__values__ = t, a ? m.__wrapped__ = d : a = d;
|
22576
22577
|
var m = d;
|
@@ -22583,7 +22584,7 @@ function iH() {
|
|
22583
22584
|
if (o instanceof Re) {
|
22584
22585
|
var a = o;
|
22585
22586
|
return this.__actions__.length && (a = new Re(this)), a = a.reverse(), a.__actions__.push({
|
22586
|
-
func:
|
22587
|
+
func: $s,
|
22587
22588
|
args: [Mu],
|
22588
22589
|
thisArg: t
|
22589
22590
|
}), new En(a, this.__chain__);
|
@@ -22593,7 +22594,7 @@ function iH() {
|
|
22593
22594
|
function Yb() {
|
22594
22595
|
return Ug(this.__wrapped__, this.__actions__);
|
22595
22596
|
}
|
22596
|
-
var Jb =
|
22597
|
+
var Jb = Ns(function(o, a, l) {
|
22597
22598
|
He.call(o, l) ? ++o[l] : Tr(o, l, 1);
|
22598
22599
|
});
|
22599
22600
|
function Qb(o, a, l) {
|
@@ -22606,13 +22607,13 @@ function iH() {
|
|
22606
22607
|
}
|
22607
22608
|
var Zb = jg(mm), eS = jg(pm);
|
22608
22609
|
function tS(o, a) {
|
22609
|
-
return bt(
|
22610
|
+
return bt(Ks(o, a), 1);
|
22610
22611
|
}
|
22611
22612
|
function nS(o, a) {
|
22612
|
-
return bt(
|
22613
|
+
return bt(Ks(o, a), Gt);
|
22613
22614
|
}
|
22614
22615
|
function rS(o, a, l) {
|
22615
|
-
return l = l === t ? 1 : Ce(l), bt(
|
22616
|
+
return l = l === t ? 1 : Ce(l), bt(Ks(o, a), l);
|
22616
22617
|
}
|
22617
22618
|
function Tm(o, a) {
|
22618
22619
|
var l = ve(o) ? Cn : Wr;
|
@@ -22622,30 +22623,30 @@ function iH() {
|
|
22622
22623
|
var l = ve(o) ? TT : wg;
|
22623
22624
|
return l(o, ae(a, 3));
|
22624
22625
|
}
|
22625
|
-
var oS =
|
22626
|
+
var oS = Ns(function(o, a, l) {
|
22626
22627
|
He.call(o, l) ? o[l].push(a) : Tr(o, l, [a]);
|
22627
22628
|
});
|
22628
22629
|
function iS(o, a, l, d) {
|
22629
22630
|
o = Yt(o) ? o : ti(o), l = l && !d ? Ce(l) : 0;
|
22630
22631
|
var m = o.length;
|
22631
|
-
return l < 0 && (l = mt(m + l, 0)),
|
22632
|
+
return l < 0 && (l = mt(m + l, 0)), Gs(o) ? l <= m && o.indexOf(a, l) > -1 : !!m && zo(o, a, l) > -1;
|
22632
22633
|
}
|
22633
22634
|
var aS = Ae(function(o, a, l) {
|
22634
22635
|
var d = -1, m = typeof a == "function", w = Yt(o) ? O(o.length) : [];
|
22635
22636
|
return Wr(o, function(_) {
|
22636
22637
|
w[++d] = m ? nn(a, _, l) : ra(_, a, l);
|
22637
22638
|
}), w;
|
22638
|
-
}), sS =
|
22639
|
+
}), sS = Ns(function(o, a, l) {
|
22639
22640
|
Tr(o, l, a);
|
22640
22641
|
});
|
22641
|
-
function
|
22642
|
+
function Ks(o, a) {
|
22642
22643
|
var l = ve(o) ? Je : Sg;
|
22643
22644
|
return l(o, ae(a, 3));
|
22644
22645
|
}
|
22645
22646
|
function cS(o, a, l, d) {
|
22646
22647
|
return o == null ? [] : (ve(a) || (a = a == null ? [] : [a]), l = d ? t : l, ve(l) || (l = l == null ? [] : [l]), Og(o, a, l));
|
22647
22648
|
}
|
22648
|
-
var lS =
|
22649
|
+
var lS = Ns(function(o, a, l) {
|
22649
22650
|
o[l ? 0 : 1].push(a);
|
22650
22651
|
}, function() {
|
22651
22652
|
return [[], []];
|
@@ -22660,7 +22661,7 @@ function iH() {
|
|
22660
22661
|
}
|
22661
22662
|
function hS(o, a) {
|
22662
22663
|
var l = ve(o) ? $r : _g;
|
22663
|
-
return l(o,
|
22664
|
+
return l(o, Ws(ae(a, 3)));
|
22664
22665
|
}
|
22665
22666
|
function fS(o) {
|
22666
22667
|
var a = ve(o) ? mg : iA;
|
@@ -22679,7 +22680,7 @@ function iH() {
|
|
22679
22680
|
if (o == null)
|
22680
22681
|
return 0;
|
22681
22682
|
if (Yt(o))
|
22682
|
-
return
|
22683
|
+
return Gs(o) ? Wo(o) : o.length;
|
22683
22684
|
var a = xt(o);
|
22684
22685
|
return a == Bn || a == $n ? o.size : uu(o).length;
|
22685
22686
|
}
|
@@ -22692,7 +22693,7 @@ function iH() {
|
|
22692
22693
|
return [];
|
22693
22694
|
var l = a.length;
|
22694
22695
|
return l > 1 && zt(o, a[0], a[1]) ? a = [] : l > 2 && zt(a[0], a[1], a[2]) && (a = [a[0]]), Og(o, bt(a, 1), []);
|
22695
|
-
}),
|
22696
|
+
}), zs = XT || function() {
|
22696
22697
|
return At.Date.now();
|
22697
22698
|
};
|
22698
22699
|
function wS(o, a) {
|
@@ -22760,7 +22761,7 @@ function iH() {
|
|
22760
22761
|
return I === t || Wn >= a || Wn < 0 || F && Rr >= w;
|
22761
22762
|
}
|
22762
22763
|
function Ie() {
|
22763
|
-
var at =
|
22764
|
+
var at = zs();
|
22764
22765
|
if (ce(at))
|
22765
22766
|
return ke(at);
|
22766
22767
|
T = ca(Ie, Ee(at));
|
@@ -22772,10 +22773,10 @@ function iH() {
|
|
22772
22773
|
T !== t && Fg(T), L = 0, d = I = m = T = t;
|
22773
22774
|
}
|
22774
22775
|
function Vt() {
|
22775
|
-
return T === t ? _ : ke(
|
22776
|
+
return T === t ? _ : ke(zs());
|
22776
22777
|
}
|
22777
22778
|
function cn() {
|
22778
|
-
var at =
|
22779
|
+
var at = zs(), Wn = ce(at);
|
22779
22780
|
if (d = arguments, m = this, I = at, Wn) {
|
22780
22781
|
if (T === t)
|
22781
22782
|
return se(I);
|
@@ -22794,7 +22795,7 @@ function iH() {
|
|
22794
22795
|
function TS(o) {
|
22795
22796
|
return Er(o, Ne);
|
22796
22797
|
}
|
22797
|
-
function
|
22798
|
+
function Vs(o, a) {
|
22798
22799
|
if (typeof o != "function" || a != null && typeof a != "function")
|
22799
22800
|
throw new Tn(c);
|
22800
22801
|
var l = function() {
|
@@ -22804,10 +22805,10 @@ function iH() {
|
|
22804
22805
|
var _ = o.apply(this, d);
|
22805
22806
|
return l.cache = w.set(m, _) || w, _;
|
22806
22807
|
};
|
22807
|
-
return l.cache = new (
|
22808
|
+
return l.cache = new (Vs.Cache || Cr)(), l;
|
22808
22809
|
}
|
22809
|
-
|
22810
|
-
function
|
22810
|
+
Vs.Cache = Cr;
|
22811
|
+
function Ws(o) {
|
22811
22812
|
if (typeof o != "function")
|
22812
22813
|
throw new Tn(c);
|
22813
22814
|
return function() {
|
@@ -22898,7 +22899,7 @@ function iH() {
|
|
22898
22899
|
function Vn(o, a) {
|
22899
22900
|
return o === a || o !== o && a !== a;
|
22900
22901
|
}
|
22901
|
-
var US =
|
22902
|
+
var US = Us(su), HS = Us(function(o, a) {
|
22902
22903
|
return o >= a;
|
22903
22904
|
}), vo = Eg(/* @__PURE__ */ function() {
|
22904
22905
|
return arguments;
|
@@ -22906,7 +22907,7 @@ function iH() {
|
|
22906
22907
|
return tt(o) && He.call(o, "callee") && !lg.call(o, "callee");
|
22907
22908
|
}, ve = O.isArray, FS = Vf ? rn(Vf) : GE;
|
22908
22909
|
function Yt(o) {
|
22909
|
-
return o != null &&
|
22910
|
+
return o != null && qs(o.length) && !Sr(o);
|
22910
22911
|
}
|
22911
22912
|
function it(o) {
|
22912
22913
|
return tt(o) && Yt(o);
|
@@ -22945,7 +22946,7 @@ function iH() {
|
|
22945
22946
|
if (!tt(o))
|
22946
22947
|
return !1;
|
22947
22948
|
var a = Kt(o);
|
22948
|
-
return a ==
|
22949
|
+
return a == os || a == gC || typeof o.message == "string" && typeof o.name == "string" && !la(o);
|
22949
22950
|
}
|
22950
22951
|
function qS(o) {
|
22951
22952
|
return typeof o == "number" && dg(o);
|
@@ -22954,12 +22955,12 @@ function iH() {
|
|
22954
22955
|
if (!Ze(o))
|
22955
22956
|
return !1;
|
22956
22957
|
var a = Kt(o);
|
22957
|
-
return a ==
|
22958
|
+
return a == is || a == yf || a == fC || a == pC;
|
22958
22959
|
}
|
22959
22960
|
function Pm(o) {
|
22960
22961
|
return typeof o == "number" && o == Ce(o);
|
22961
22962
|
}
|
22962
|
-
function
|
22963
|
+
function qs(o) {
|
22963
22964
|
return typeof o == "number" && o > -1 && o % 1 == 0 && o <= ct;
|
22964
22965
|
}
|
22965
22966
|
function Ze(o) {
|
@@ -22996,22 +22997,22 @@ function iH() {
|
|
22996
22997
|
function la(o) {
|
22997
22998
|
if (!tt(o) || Kt(o) != wr)
|
22998
22999
|
return !1;
|
22999
|
-
var a =
|
23000
|
+
var a = ws(o);
|
23000
23001
|
if (a === null)
|
23001
23002
|
return !0;
|
23002
23003
|
var l = He.call(a, "constructor") && a.constructor;
|
23003
|
-
return typeof l == "function" && l instanceof l &&
|
23004
|
+
return typeof l == "function" && l instanceof l && ms.call(l) == jT;
|
23004
23005
|
}
|
23005
23006
|
var Uu = Gf ? rn(Gf) : QE;
|
23006
23007
|
function ZS(o) {
|
23007
23008
|
return Pm(o) && o >= -ct && o <= ct;
|
23008
23009
|
}
|
23009
23010
|
var Dm = jf ? rn(jf) : XE;
|
23010
|
-
function
|
23011
|
+
function Gs(o) {
|
23011
23012
|
return typeof o == "string" || !ve(o) && tt(o) && Kt(o) == qi;
|
23012
23013
|
}
|
23013
23014
|
function an(o) {
|
23014
|
-
return typeof o == "symbol" || tt(o) && Kt(o) ==
|
23015
|
+
return typeof o == "symbol" || tt(o) && Kt(o) == as;
|
23015
23016
|
}
|
23016
23017
|
var ei = Yf ? rn(Yf) : ZE;
|
23017
23018
|
function eI(o) {
|
@@ -23023,17 +23024,17 @@ function iH() {
|
|
23023
23024
|
function nI(o) {
|
23024
23025
|
return tt(o) && Kt(o) == yC;
|
23025
23026
|
}
|
23026
|
-
var rI =
|
23027
|
+
var rI = Us(du), oI = Us(function(o, a) {
|
23027
23028
|
return o <= a;
|
23028
23029
|
});
|
23029
23030
|
function xm(o) {
|
23030
23031
|
if (!o)
|
23031
23032
|
return [];
|
23032
23033
|
if (Yt(o))
|
23033
|
-
return
|
23034
|
+
return Gs(o) ? Kn(o) : jt(o);
|
23034
23035
|
if (Ji && o[Ji])
|
23035
23036
|
return LT(o[Ji]());
|
23036
|
-
var a = xt(o), l = a == Bn ? Xl : a == $n ?
|
23037
|
+
var a = xt(o), l = a == Bn ? Xl : a == $n ? hs : ti;
|
23037
23038
|
return l(o);
|
23038
23039
|
}
|
23039
23040
|
function Ir(o) {
|
@@ -23085,7 +23086,7 @@ function iH() {
|
|
23085
23086
|
He.call(a, l) && ta(o, l, a[l]);
|
23086
23087
|
}), Hm = Qo(function(o, a) {
|
23087
23088
|
rr(a, Jt(a), o);
|
23088
|
-
}),
|
23089
|
+
}), js = Qo(function(o, a, l, d) {
|
23089
23090
|
rr(a, Jt(a), o, d);
|
23090
23091
|
}), sI = Qo(function(o, a, l, d) {
|
23091
23092
|
rr(a, wt(a), o, d);
|
@@ -23125,10 +23126,10 @@ function iH() {
|
|
23125
23126
|
return o && au(o, ae(a, 3));
|
23126
23127
|
}
|
23127
23128
|
function yI(o) {
|
23128
|
-
return o == null ? [] :
|
23129
|
+
return o == null ? [] : ks(o, wt(o));
|
23129
23130
|
}
|
23130
23131
|
function wI(o) {
|
23131
|
-
return o == null ? [] :
|
23132
|
+
return o == null ? [] : ks(o, Jt(o));
|
23132
23133
|
}
|
23133
23134
|
function Hu(o, a, l) {
|
23134
23135
|
var d = o == null ? t : go(o, a);
|
@@ -23141,9 +23142,9 @@ function iH() {
|
|
23141
23142
|
return o != null && om(o, a, VE);
|
23142
23143
|
}
|
23143
23144
|
var CI = Jg(function(o, a, l) {
|
23144
|
-
a != null && typeof a.toString != "function" && (a =
|
23145
|
+
a != null && typeof a.toString != "function" && (a = ps.call(a)), o[a] = l;
|
23145
23146
|
}, $u(Qt)), TI = Jg(function(o, a, l) {
|
23146
|
-
a != null && typeof a.toString != "function" && (a =
|
23147
|
+
a != null && typeof a.toString != "function" && (a = ps.call(a)), He.call(o, a) ? o[a].push(l) : o[a] = [l];
|
23147
23148
|
}, ae), EI = Ae(ra);
|
23148
23149
|
function wt(o) {
|
23149
23150
|
return Yt(o) ? gg(o) : uu(o);
|
@@ -23164,9 +23165,9 @@ function iH() {
|
|
23164
23165
|
}), l;
|
23165
23166
|
}
|
23166
23167
|
var SI = Qo(function(o, a, l) {
|
23167
|
-
|
23168
|
+
Os(o, a, l);
|
23168
23169
|
}), Fm = Qo(function(o, a, l, d) {
|
23169
|
-
|
23170
|
+
Os(o, a, l, d);
|
23170
23171
|
}), II = Ar(function(o, a) {
|
23171
23172
|
var l = {};
|
23172
23173
|
if (o == null)
|
@@ -23180,7 +23181,7 @@ function iH() {
|
|
23180
23181
|
return l;
|
23181
23182
|
});
|
23182
23183
|
function RI(o, a) {
|
23183
|
-
return Bm(o,
|
23184
|
+
return Bm(o, Ws(ae(a)));
|
23184
23185
|
}
|
23185
23186
|
var kI = Ar(function(o, a) {
|
23186
23187
|
return o == null ? {} : nA(o, a);
|
@@ -23215,7 +23216,7 @@ function iH() {
|
|
23215
23216
|
var d = ve(o), m = d || Yr(o) || ei(o);
|
23216
23217
|
if (a = ae(a, 4), l == null) {
|
23217
23218
|
var w = o && o.constructor;
|
23218
|
-
m ? l = d ? new w() : [] : Ze(o) ? l = Sr(w) ? Jo(
|
23219
|
+
m ? l = d ? new w() : [] : Ze(o) ? l = Sr(w) ? Jo(ws(o)) : {} : l = {};
|
23219
23220
|
}
|
23220
23221
|
return (m ? Cn : nr)(o, function(_, T, I) {
|
23221
23222
|
return a(l, _, T, I);
|
@@ -23286,17 +23287,17 @@ function iH() {
|
|
23286
23287
|
if (!a || d >= a)
|
23287
23288
|
return o;
|
23288
23289
|
var m = (a - d) / 2;
|
23289
|
-
return
|
23290
|
+
return Ls(Es(m), l) + o + Ls(Ts(m), l);
|
23290
23291
|
}
|
23291
23292
|
function YI(o, a, l) {
|
23292
23293
|
o = Ue(o), a = Ce(a);
|
23293
23294
|
var d = a ? Wo(o) : 0;
|
23294
|
-
return a && d < a ? o +
|
23295
|
+
return a && d < a ? o + Ls(a - d, l) : o;
|
23295
23296
|
}
|
23296
23297
|
function JI(o, a, l) {
|
23297
23298
|
o = Ue(o), a = Ce(a);
|
23298
23299
|
var d = a ? Wo(o) : 0;
|
23299
|
-
return a && d < a ?
|
23300
|
+
return a && d < a ? Ls(a - d, l) + o : o;
|
23300
23301
|
}
|
23301
23302
|
function QI(o, a, l) {
|
23302
23303
|
return l || a == null ? a = 0 : a && (a = +a), oE(Ue(o).replace(Ll, ""), a || 0);
|
@@ -23322,9 +23323,9 @@ function iH() {
|
|
23322
23323
|
}
|
23323
23324
|
function oR(o, a, l) {
|
23324
23325
|
var d = v.templateSettings;
|
23325
|
-
l && zt(o, a, l) && (a = t), o = Ue(o), a =
|
23326
|
-
var m =
|
23327
|
-
(a.escape ||
|
23326
|
+
l && zt(o, a, l) && (a = t), o = Ue(o), a = js({}, a, d, em);
|
23327
|
+
var m = js({}, a.imports, d.imports, em), w = wt(m), _ = Ql(m, w), T, I, L = 0, U = a.interpolate || ss, F = "__p += '", q = Zl(
|
23328
|
+
(a.escape || ss).source + "|" + U.source + "|" + (U === Tf ? UC : ss).source + "|" + (a.evaluate || ss).source + "|$",
|
23328
23329
|
"g"
|
23329
23330
|
), Z = "//# sourceURL=" + (He.call(a, "sourceURL") ? (a.sourceURL + "").replace(/\s/g, " ") : "lodash.templateSources[" + ++fT + "]") + `
|
23330
23331
|
`;
|
@@ -23491,8 +23492,8 @@ function print() { __p += __j.call(arguments, '') }
|
|
23491
23492
|
};
|
23492
23493
|
});
|
23493
23494
|
function zu(o, a, l) {
|
23494
|
-
var d = wt(a), m =
|
23495
|
-
l == null && !(Ze(a) && (m.length || !d.length)) && (l = a, a = o, o = this, m =
|
23495
|
+
var d = wt(a), m = ks(a, d);
|
23496
|
+
l == null && !(Ze(a) && (m.length || !d.length)) && (l = a, a = o, o = this, m = ks(a, wt(a)));
|
23496
23497
|
var w = !(Ze(l) && "chain" in l) || !!l.chain, _ = Sr(o);
|
23497
23498
|
return Cn(m, function(T) {
|
23498
23499
|
var I = a[T];
|
@@ -23557,16 +23558,16 @@ function print() { __p += __j.call(arguments, '') }
|
|
23557
23558
|
var a = ++GT;
|
23558
23559
|
return Ue(o) + a;
|
23559
23560
|
}
|
23560
|
-
var UR =
|
23561
|
+
var UR = xs(function(o, a) {
|
23561
23562
|
return o + a;
|
23562
|
-
}, 0), HR = Tu("ceil"), FR =
|
23563
|
+
}, 0), HR = Tu("ceil"), FR = xs(function(o, a) {
|
23563
23564
|
return o / a;
|
23564
23565
|
}, 1), BR = Tu("floor");
|
23565
23566
|
function $R(o) {
|
23566
|
-
return o && o.length ?
|
23567
|
+
return o && o.length ? Rs(o, Qt, su) : t;
|
23567
23568
|
}
|
23568
23569
|
function KR(o, a) {
|
23569
|
-
return o && o.length ?
|
23570
|
+
return o && o.length ? Rs(o, ae(a, 2), su) : t;
|
23570
23571
|
}
|
23571
23572
|
function zR(o) {
|
23572
23573
|
return Zf(o, Qt);
|
@@ -23575,14 +23576,14 @@ function print() { __p += __j.call(arguments, '') }
|
|
23575
23576
|
return Zf(o, ae(a, 2));
|
23576
23577
|
}
|
23577
23578
|
function WR(o) {
|
23578
|
-
return o && o.length ?
|
23579
|
+
return o && o.length ? Rs(o, Qt, du) : t;
|
23579
23580
|
}
|
23580
23581
|
function qR(o, a) {
|
23581
|
-
return o && o.length ?
|
23582
|
+
return o && o.length ? Rs(o, ae(a, 2), du) : t;
|
23582
23583
|
}
|
23583
|
-
var GR =
|
23584
|
+
var GR = xs(function(o, a) {
|
23584
23585
|
return o * a;
|
23585
|
-
}, 1), jR = Tu("round"), YR =
|
23586
|
+
}, 1), jR = Tu("round"), YR = xs(function(o, a) {
|
23586
23587
|
return o - a;
|
23587
23588
|
}, 0);
|
23588
23589
|
function JR(o) {
|
@@ -23591,7 +23592,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
23591
23592
|
function QR(o, a) {
|
23592
23593
|
return o && o.length ? Yl(o, ae(a, 2)) : 0;
|
23593
23594
|
}
|
23594
|
-
return v.after = wS, v.ary = Am, v.assign = aI, v.assignIn = Hm, v.assignInWith =
|
23595
|
+
return v.after = wS, v.ary = Am, v.assign = aI, v.assignIn = Hm, v.assignInWith = js, v.assignWith = sI, v.at = cI, v.before = bm, v.bind = Du, v.bindAll = fR, v.bindKey = Sm, v.castArray = PS, v.chain = Cm, v.chunk = BA, v.compact = $A, v.concat = KA, v.cond = gR, v.conforms = mR, v.constant = $u, v.countBy = Jb, v.create = lI, v.curry = Im, v.curryRight = Rm, v.debounce = km, v.defaults = uI, v.defaultsDeep = dI, v.defer = _S, v.delay = CS, v.difference = zA, v.differenceBy = VA, v.differenceWith = WA, v.drop = qA, v.dropRight = GA, v.dropRightWhile = jA, v.dropWhile = YA, v.fill = JA, v.filter = Xb, v.flatMap = tS, v.flatMapDeep = nS, v.flatMapDepth = rS, v.flatten = vm, v.flattenDeep = QA, v.flattenDepth = XA, v.flip = TS, v.flow = vR, v.flowRight = yR, v.fromPairs = ZA, v.functions = yI, v.functionsIn = wI, v.groupBy = oS, v.initial = tb, v.intersection = nb, v.intersectionBy = rb, v.intersectionWith = ob, v.invert = CI, v.invertBy = TI, v.invokeMap = aS, v.iteratee = Ku, v.keyBy = sS, v.keys = wt, v.keysIn = Jt, v.map = Ks, v.mapKeys = AI, v.mapValues = bI, v.matches = wR, v.matchesProperty = _R, v.memoize = Vs, v.merge = SI, v.mergeWith = Fm, v.method = CR, v.methodOf = TR, v.mixin = zu, v.negate = Ws, v.nthArg = AR, v.omit = II, v.omitBy = RI, v.once = ES, v.orderBy = cS, v.over = bR, v.overArgs = AS, v.overEvery = SR, v.overSome = IR, v.partial = xu, v.partialRight = Om, v.partition = lS, v.pick = kI, v.pickBy = Bm, v.property = Gm, v.propertyOf = RR, v.pull = cb, v.pullAll = wm, v.pullAllBy = lb, v.pullAllWith = ub, v.pullAt = db, v.range = kR, v.rangeRight = OR, v.rearg = bS, v.reject = hS, v.remove = hb, v.rest = SS, v.reverse = Mu, v.sampleSize = gS, v.set = PI, v.setWith = MI, v.shuffle = mS, v.slice = fb, v.sortBy = yS, v.sortedUniq = _b, v.sortedUniqBy = Cb, v.split = tR, v.spread = IS, v.tail = Tb, v.take = Eb, v.takeRight = Ab, v.takeRightWhile = bb, v.takeWhile = Sb, v.tap = $b, v.throttle = RS, v.thru = $s, v.toArray = xm, v.toPairs = $m, v.toPairsIn = Km, v.toPath = xR, v.toPlainObject = Um, v.transform = NI, v.unary = kS, v.union = Ib, v.unionBy = Rb, v.unionWith = kb, v.uniq = Ob, v.uniqBy = Pb, v.uniqWith = Mb, v.unset = DI, v.unzip = Nu, v.unzipWith = _m, v.update = xI, v.updateWith = LI, v.values = ti, v.valuesIn = UI, v.without = Nb, v.words = Wm, v.wrap = OS, v.xor = Db, v.xorBy = xb, v.xorWith = Lb, v.zip = Ub, v.zipObject = Hb, v.zipObjectDeep = Fb, v.zipWith = Bb, v.entries = $m, v.entriesIn = Km, v.extend = Hm, v.extendWith = js, zu(v, v), v.add = UR, v.attempt = qm, v.camelCase = $I, v.capitalize = zm, v.ceil = HR, v.clamp = HI, v.clone = MS, v.cloneDeep = DS, v.cloneDeepWith = xS, v.cloneWith = NS, v.conformsTo = LS, v.deburr = Vm, v.defaultTo = pR, v.divide = FR, v.endsWith = KI, v.eq = Vn, v.escape = zI, v.escapeRegExp = VI, v.every = Qb, v.find = Zb, v.findIndex = mm, v.findKey = hI, v.findLast = eS, v.findLastIndex = pm, v.findLastKey = fI, v.floor = BR, v.forEach = Tm, v.forEachRight = Em, v.forIn = gI, v.forInRight = mI, v.forOwn = pI, v.forOwnRight = vI, v.get = Hu, v.gt = US, v.gte = HS, v.has = _I, v.hasIn = Fu, v.head = ym, v.identity = Qt, v.includes = iS, v.indexOf = eb, v.inRange = FI, v.invoke = EI, v.isArguments = vo, v.isArray = ve, v.isArrayBuffer = FS, v.isArrayLike = Yt, v.isArrayLikeObject = it, v.isBoolean = BS, v.isBuffer = Yr, v.isDate = $S, v.isElement = KS, v.isEmpty = zS, v.isEqual = VS, v.isEqualWith = WS, v.isError = Lu, v.isFinite = qS, v.isFunction = Sr, v.isInteger = Pm, v.isLength = qs, v.isMap = Mm, v.isMatch = GS, v.isMatchWith = jS, v.isNaN = YS, v.isNative = JS, v.isNil = XS, v.isNull = QS, v.isNumber = Nm, v.isObject = Ze, v.isObjectLike = tt, v.isPlainObject = la, v.isRegExp = Uu, v.isSafeInteger = ZS, v.isSet = Dm, v.isString = Gs, v.isSymbol = an, v.isTypedArray = ei, v.isUndefined = eI, v.isWeakMap = tI, v.isWeakSet = nI, v.join = ib, v.kebabCase = WI, v.last = Sn, v.lastIndexOf = ab, v.lowerCase = qI, v.lowerFirst = GI, v.lt = rI, v.lte = oI, v.max = $R, v.maxBy = KR, v.mean = zR, v.meanBy = VR, v.min = WR, v.minBy = qR, v.stubArray = Wu, v.stubFalse = qu, v.stubObject = PR, v.stubString = MR, v.stubTrue = NR, v.multiply = GR, v.nth = sb, v.noConflict = ER, v.noop = Vu, v.now = zs, v.pad = jI, v.padEnd = YI, v.padStart = JI, v.parseInt = QI, v.random = BI, v.reduce = uS, v.reduceRight = dS, v.repeat = XI, v.replace = ZI, v.result = OI, v.round = jR, v.runInContext = b, v.sample = fS, v.size = pS, v.snakeCase = eR, v.some = vS, v.sortedIndex = gb, v.sortedIndexBy = mb, v.sortedIndexOf = pb, v.sortedLastIndex = vb, v.sortedLastIndexBy = yb, v.sortedLastIndexOf = wb, v.startCase = nR, v.startsWith = rR, v.subtract = YR, v.sum = JR, v.sumBy = QR, v.template = oR, v.times = DR, v.toFinite = Ir, v.toInteger = Ce, v.toLength = Lm, v.toLower = iR, v.toNumber = In, v.toSafeInteger = iI, v.toString = Ue, v.toUpper = aR, v.trim = sR, v.trimEnd = cR, v.trimStart = lR, v.truncate = uR, v.unescape = dR, v.uniqueId = LR, v.upperCase = hR, v.upperFirst = Bu, v.each = Tm, v.eachRight = Em, v.first = ym, zu(v, function() {
|
23595
23596
|
var o = {};
|
23596
23597
|
return nr(v, function(a, l) {
|
23597
23598
|
He.call(v.prototype, l) || (o[l] = a);
|
@@ -23639,7 +23640,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
23639
23640
|
return ra(l, o, a);
|
23640
23641
|
});
|
23641
23642
|
}), Re.prototype.reject = function(o) {
|
23642
|
-
return this.filter(
|
23643
|
+
return this.filter(Ws(ae(o)));
|
23643
23644
|
}, Re.prototype.slice = function(o, a) {
|
23644
23645
|
o = Ce(o);
|
23645
23646
|
var l = this;
|
@@ -23660,12 +23661,12 @@ function print() { __p += __j.call(arguments, '') }
|
|
23660
23661
|
if (!w && U) {
|
23661
23662
|
_ = Ee ? _ : new Re(this);
|
23662
23663
|
var ce = o.apply(_, T);
|
23663
|
-
return ce.__actions__.push({ func:
|
23664
|
+
return ce.__actions__.push({ func: $s, args: [F], thisArg: t }), new En(ce, q);
|
23664
23665
|
}
|
23665
23666
|
return se && Ee ? o.apply(this, T) : (ce = this.thru(F), se ? d ? ce.value()[0] : ce.value() : ce);
|
23666
23667
|
});
|
23667
23668
|
}), Cn(["pop", "push", "shift", "sort", "splice", "unshift"], function(o) {
|
23668
|
-
var a =
|
23669
|
+
var a = fs[o], l = /^(?:push|sort|unshift)$/.test(o) ? "tap" : "thru", d = /^(?:pop|shift)$/.test(o);
|
23669
23670
|
v.prototype[o] = function() {
|
23670
23671
|
var m = arguments;
|
23671
23672
|
if (d && !this.__chain__) {
|
@@ -23682,7 +23683,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
23682
23683
|
var d = l.name + "";
|
23683
23684
|
He.call(Yo, d) || (Yo[d] = []), Yo[d].push({ name: a, func: l });
|
23684
23685
|
}
|
23685
|
-
}), Yo[
|
23686
|
+
}), Yo[Ds(t, W).name] = [{
|
23686
23687
|
name: "wrapper",
|
23687
23688
|
func: t
|
23688
23689
|
}], Re.prototype.clone = dE, Re.prototype.reverse = hE, Re.prototype.value = fE, v.prototype.at = Kb, v.prototype.chain = zb, v.prototype.commit = Vb, v.prototype.next = Wb, v.prototype.plant = Gb, v.prototype.reverse = jb, v.prototype.toJSON = v.prototype.valueOf = v.prototype.value = Yb, v.prototype.first = v.prototype.head, Ji && (v.prototype[Ji] = qb), v;
|
@@ -23692,13 +23693,13 @@ function print() { __p += __j.call(arguments, '') }
|
|
23692
23693
|
}(ya, ya.exports)), ya.exports;
|
23693
23694
|
}
|
23694
23695
|
var Bi = iH();
|
23695
|
-
const
|
23696
|
+
const Rc = /* @__PURE__ */ rH(Bi), aH = {
|
23696
23697
|
path: "/_/dashboard",
|
23697
|
-
component: () => import("./AuthRoute-
|
23698
|
+
component: () => import("./AuthRoute-haYBz2TY.mjs"),
|
23698
23699
|
meta: { requiresAuth: !1 }
|
23699
23700
|
}, sH = {
|
23700
23701
|
path: "/jplan-auth-fail",
|
23701
|
-
component: () => import("./AuthFailRoute-
|
23702
|
+
component: () => import("./AuthFailRoute-Cmc50vAC.mjs"),
|
23702
23703
|
meta: { requiresAuth: !1 }
|
23703
23704
|
}, { isAuthenticated: Pv, handleRedirect: cH } = F_(), lH = vf();
|
23704
23705
|
function nF(r, e) {
|
@@ -23742,7 +23743,7 @@ function uH() {
|
|
23742
23743
|
scope: e
|
23743
23744
|
});
|
23744
23745
|
}
|
23745
|
-
function
|
23746
|
+
function ts(r) {
|
23746
23747
|
const e = uH();
|
23747
23748
|
e.defaults.baseURL = r;
|
23748
23749
|
const t = ee({
|
@@ -23766,7 +23767,7 @@ function es(r) {
|
|
23766
23767
|
});
|
23767
23768
|
}
|
23768
23769
|
function dH() {
|
23769
|
-
const r =
|
23770
|
+
const r = ts("https://api.jplan.com.br/management/organization"), { error: e } = yr();
|
23770
23771
|
return {
|
23771
23772
|
async getOrgList(t) {
|
23772
23773
|
try {
|
@@ -23834,7 +23835,7 @@ function dH() {
|
|
23834
23835
|
}
|
23835
23836
|
const Eo = dH();
|
23836
23837
|
function hH() {
|
23837
|
-
const r =
|
23838
|
+
const r = ts("https://api.jplan.com.br/management/branch/"), { error: e } = yr();
|
23838
23839
|
return {
|
23839
23840
|
async getBranchList(t) {
|
23840
23841
|
try {
|
@@ -23911,7 +23912,7 @@ function hH() {
|
|
23911
23912
|
}
|
23912
23913
|
const Ao = hH();
|
23913
23914
|
function fH() {
|
23914
|
-
const r =
|
23915
|
+
const r = ts("https://api.jplan.com.br/management/team"), { error: e } = yr();
|
23915
23916
|
return {
|
23916
23917
|
async getTeamList(t) {
|
23917
23918
|
try {
|
@@ -24048,7 +24049,7 @@ async function rF({
|
|
24048
24049
|
throw console.error(`Request failed for ${e} ${r}:`, c), c;
|
24049
24050
|
}
|
24050
24051
|
}
|
24051
|
-
function
|
24052
|
+
function ns(r, e, t = []) {
|
24052
24053
|
const n = mH(e);
|
24053
24054
|
if (!n) return r;
|
24054
24055
|
const i = n.split(" ");
|
@@ -24056,21 +24057,21 @@ function ts(r, e, t = []) {
|
|
24056
24057
|
}
|
24057
24058
|
function gH(r, e, t) {
|
24058
24059
|
return t.some((n) => {
|
24059
|
-
const i =
|
24060
|
-
if (
|
24061
|
-
const s =
|
24060
|
+
const i = Rc.get(r, n);
|
24061
|
+
if (Rc.isNil(i)) return !1;
|
24062
|
+
const s = Rc.toString(i).toLowerCase();
|
24062
24063
|
return e.every((c) => s.includes(c));
|
24063
24064
|
});
|
24064
24065
|
}
|
24065
24066
|
function mH(r) {
|
24066
|
-
return
|
24067
|
+
return Rc.trim(r).toLowerCase().replace(/\s+/g, " ");
|
24067
24068
|
}
|
24068
|
-
let
|
24069
|
+
let lc = !1;
|
24069
24070
|
const Ed = ee(!1), Rn = ee([]), Nv = ee([]), nt = ee(null), ui = ee([]), di = ee([]), pH = () => {
|
24070
24071
|
const r = yr(), e = async (C) => {
|
24071
24072
|
Ed.value = !0;
|
24072
24073
|
const S = C ? `_active eq true and ${C}` : "_active eq true", P = await Eo.getOrgList(S);
|
24073
|
-
P && (Rn.value = P,
|
24074
|
+
P && (Rn.value = P, lc = !0), Ed.value = !1;
|
24074
24075
|
}, t = async (C) => {
|
24075
24076
|
var S;
|
24076
24077
|
return (S = Rn.value) != null && S.length || await e(C), Rn.value;
|
@@ -24078,7 +24079,7 @@ const Ed = ee(!1), Rn = ee([]), Nv = ee([]), nt = ee(null), ui = ee([]), di = ee
|
|
24078
24079
|
function n(C) {
|
24079
24080
|
if (!Rn.value)
|
24080
24081
|
throw new Error("Data not stored yet");
|
24081
|
-
const S =
|
24082
|
+
const S = ns(Rn.value, C, ["name", "description"]);
|
24082
24083
|
return C !== "" ? S : Rn.value;
|
24083
24084
|
}
|
24084
24085
|
const i = (C) => {
|
@@ -24088,12 +24089,12 @@ const Ed = ee(!1), Rn = ee([]), Nv = ee([]), nt = ee(null), ui = ee([]), di = ee
|
|
24088
24089
|
}, c = async (C) => await Eo.getOrg(C), u = async () => {
|
24089
24090
|
if (nt.value != null) {
|
24090
24091
|
const C = await Eo.createOrg(nt.value);
|
24091
|
-
return C != null && C.data.created_at && (r.success("Organization created."),
|
24092
|
+
return C != null && C.data.created_at && (r.success("Organization created."), lc && Rn.value.push(C.data)), C == null ? void 0 : C.data;
|
24092
24093
|
}
|
24093
24094
|
}, h = async () => {
|
24094
24095
|
if (fe.value = !0, nt.value && nt.value.__id) {
|
24095
24096
|
const C = await Eo.updateOrg(nt.value);
|
24096
|
-
if (
|
24097
|
+
if (lc && (C != null && C.data.__id)) {
|
24097
24098
|
const S = Rn.value.findIndex((P) => P.__id === C.data.__id);
|
24098
24099
|
return S !== -1 ? (Rn.value[S] = C.data, r.success("Organization updated.")) : r.error("Unable to update item"), fe.value = !1, C.data;
|
24099
24100
|
}
|
@@ -24101,7 +24102,7 @@ const Ed = ee(!1), Rn = ee([]), Nv = ee([]), nt = ee(null), ui = ee([]), di = ee
|
|
24101
24102
|
fe.value = !1, r.error("Unable to update item");
|
24102
24103
|
}, f = async () => {
|
24103
24104
|
if (fe.value = !0, nt.value && nt.value.created_at) {
|
24104
|
-
if (await Eo.deactivateOrg(nt.value.__id),
|
24105
|
+
if (await Eo.deactivateOrg(nt.value.__id), lc) {
|
24105
24106
|
const C = Rn.value.findIndex((S) => {
|
24106
24107
|
var P;
|
24107
24108
|
return S.__id === ((P = nt.value) == null ? void 0 : P.__id);
|
@@ -24201,17 +24202,17 @@ const Ed = ee(!1), Rn = ee([]), Nv = ee([]), nt = ee(null), ui = ee([]), di = ee
|
|
24201
24202
|
unlinkTeam: E
|
24202
24203
|
};
|
24203
24204
|
};
|
24204
|
-
let
|
24205
|
+
let uc = !1;
|
24205
24206
|
const kn = ee([]), Dv = ee([]), pt = ee(null), Ad = ee(!1), hi = ee([]), vH = () => {
|
24206
24207
|
const r = yr(), e = async (y) => {
|
24207
24208
|
Ad.value = !0;
|
24208
24209
|
const E = y ? `_active eq true and ${y}` : "_active eq true", C = await Un.getTeamList(E);
|
24209
|
-
C && (kn.value = C,
|
24210
|
+
C && (kn.value = C, uc = !0), Ad.value = !1;
|
24210
24211
|
}, t = async (y) => (kn.value.length || await e(y), kn.value);
|
24211
24212
|
function n(y) {
|
24212
24213
|
if (!kn.value)
|
24213
24214
|
throw new Error("Data not stored yet");
|
24214
|
-
const E =
|
24215
|
+
const E = ns(kn.value, y, ["name", "description"]);
|
24215
24216
|
return y !== "" ? E : kn.value;
|
24216
24217
|
}
|
24217
24218
|
const i = (y) => {
|
@@ -24221,19 +24222,19 @@ const kn = ee([]), Dv = ee([]), pt = ee(null), Ad = ee(!1), hi = ee([]), vH = ()
|
|
24221
24222
|
}, c = async (y) => await Un.getTeam(y), u = async () => {
|
24222
24223
|
if (pt.value != null) {
|
24223
24224
|
const y = await Un.createTeam(pt.value);
|
24224
|
-
return y != null && y.data.created_at && (r.success("Team created."),
|
24225
|
+
return y != null && y.data.created_at && (r.success("Team created."), uc && kn.value.push(y.data)), y == null ? void 0 : y.data;
|
24225
24226
|
}
|
24226
24227
|
}, h = async () => {
|
24227
24228
|
if (fe.value = !0, pt.value && pt.value.__id) {
|
24228
24229
|
const y = await Un.updateTeam(pt.value);
|
24229
|
-
if (
|
24230
|
+
if (uc && (y != null && y.data.__id)) {
|
24230
24231
|
const E = kn.value.findIndex((C) => C.__id === y.data.__id);
|
24231
24232
|
return E !== -1 ? (kn.value[E] = y.data, r.success("Team updated.")) : r.error("Unable to update item"), y.data;
|
24232
24233
|
}
|
24233
24234
|
} else
|
24234
24235
|
r.error("Unable to update item");
|
24235
24236
|
}, f = async () => {
|
24236
|
-
if (pt.value && pt.value.created_at && (await Un.deactivateTeam(pt.value.__id),
|
24237
|
+
if (pt.value && pt.value.created_at && (await Un.deactivateTeam(pt.value.__id), uc)) {
|
24237
24238
|
const y = kn.value.findIndex((E) => {
|
24238
24239
|
var C;
|
24239
24240
|
return E.__id === ((C = pt.value) == null ? void 0 : C.__id);
|
@@ -24344,18 +24345,18 @@ const kn = ee([]), Dv = ee([]), pt = ee(null), Ad = ee(!1), hi = ee([]), vH = ()
|
|
24344
24345
|
variant: "flat"
|
24345
24346
|
}, {
|
24346
24347
|
default: k(() => [
|
24347
|
-
(x(), Q(
|
24348
|
+
(x(), Q(Va(E.value), { size: "20" }))
|
24348
24349
|
]),
|
24349
24350
|
_: 1
|
24350
24351
|
}),
|
24351
|
-
A(
|
24352
|
+
A(te(tl), {
|
24352
24353
|
loading: g.value,
|
24353
24354
|
title: "Scope",
|
24354
24355
|
"dd-id": "global-scope__J-",
|
24355
24356
|
"on-save": C
|
24356
24357
|
}, {
|
24357
24358
|
default: k(() => [
|
24358
|
-
|
24359
|
+
ne("div", null, [
|
24359
24360
|
A(dr, null, {
|
24360
24361
|
default: k(() => [
|
24361
24362
|
A(Ot, {
|
@@ -24363,9 +24364,9 @@ const kn = ee([]), Dv = ee([]), pt = ee(null), Ad = ee(!1), hi = ee([]), vH = ()
|
|
24363
24364
|
class: "d-flex flex-row align-center"
|
24364
24365
|
}, {
|
24365
24366
|
default: k(() => [
|
24366
|
-
A(
|
24367
|
+
A(hc, null, {
|
24367
24368
|
default: k(() => [
|
24368
|
-
A(
|
24369
|
+
A(fc, null, {
|
24369
24370
|
default: k(() => $[3] || ($[3] = [
|
24370
24371
|
H(" User")
|
24371
24372
|
])),
|
@@ -24375,7 +24376,7 @@ const kn = ee([]), Dv = ee([]), pt = ee(null), Ad = ee(!1), hi = ee([]), vH = ()
|
|
24375
24376
|
default: k(() => {
|
24376
24377
|
var ie;
|
24377
24378
|
return [
|
24378
|
-
H(we(((ie =
|
24379
|
+
H(we(((ie = te(t)) == null ? void 0 : ie.name) || "Unknown"), 1)
|
24379
24380
|
];
|
24380
24381
|
}),
|
24381
24382
|
_: 1
|
@@ -24388,9 +24389,9 @@ const kn = ee([]), Dv = ee([]), pt = ee(null), Ad = ee(!1), hi = ee([]), vH = ()
|
|
24388
24389
|
}),
|
24389
24390
|
A(Ot, { cols: "4" }, {
|
24390
24391
|
default: k(() => [
|
24391
|
-
A(
|
24392
|
+
A(hc, null, {
|
24392
24393
|
default: k(() => [
|
24393
|
-
A(
|
24394
|
+
A(fc, null, {
|
24394
24395
|
default: k(() => $[4] || ($[4] = [
|
24395
24396
|
H(" Domain")
|
24396
24397
|
])),
|
@@ -24398,7 +24399,7 @@ const kn = ee([]), Dv = ee([]), pt = ee(null), Ad = ee(!1), hi = ee([]), vH = ()
|
|
24398
24399
|
}),
|
24399
24400
|
A(ju, null, {
|
24400
24401
|
default: k(() => [
|
24401
|
-
H(we(
|
24402
|
+
H(we(te(i).domain), 1)
|
24402
24403
|
]),
|
24403
24404
|
_: 1
|
24404
24405
|
})
|
@@ -24410,9 +24411,9 @@ const kn = ee([]), Dv = ee([]), pt = ee(null), Ad = ee(!1), hi = ee([]), vH = ()
|
|
24410
24411
|
}),
|
24411
24412
|
A(Ot, { cols: "4" }, {
|
24412
24413
|
default: k(() => [
|
24413
|
-
A(
|
24414
|
+
A(hc, null, {
|
24414
24415
|
default: k(() => [
|
24415
|
-
A(
|
24416
|
+
A(fc, null, {
|
24416
24417
|
default: k(() => $[5] || ($[5] = [
|
24417
24418
|
H(" Environment")
|
24418
24419
|
])),
|
@@ -24420,7 +24421,7 @@ const kn = ee([]), Dv = ee([]), pt = ee(null), Ad = ee(!1), hi = ee([]), vH = ()
|
|
24420
24421
|
}),
|
24421
24422
|
A(ju, null, {
|
24422
24423
|
default: k(() => [
|
24423
|
-
H(we(
|
24424
|
+
H(we(te(i).environment), 1)
|
24424
24425
|
]),
|
24425
24426
|
_: 1
|
24426
24427
|
})
|
@@ -24488,15 +24489,15 @@ const kn = ee([]), Dv = ee([]), pt = ee(null), Ad = ee(!1), hi = ee([]), vH = ()
|
|
24488
24489
|
]),
|
24489
24490
|
_: 1
|
24490
24491
|
}, 8, ["modelValue"]),
|
24491
|
-
|
24492
|
-
A(
|
24492
|
+
ne("div", null, [
|
24493
|
+
A(La, { class: "text-subtitle-1 text-high-emphasis mb-2" }, {
|
24493
24494
|
default: k(() => $[10] || ($[10] = [
|
24494
24495
|
H("Organization")
|
24495
24496
|
])),
|
24496
24497
|
_: 1
|
24497
24498
|
}),
|
24498
24499
|
A(Ca, {
|
24499
|
-
items:
|
24500
|
+
items: te(u),
|
24500
24501
|
"item-title": "name",
|
24501
24502
|
"item-value": "__id",
|
24502
24503
|
variant: "solo",
|
@@ -24507,14 +24508,14 @@ const kn = ee([]), Dv = ee([]), pt = ee(null), Ad = ee(!1), hi = ee([]), vH = ()
|
|
24507
24508
|
modelValue: p.value.organization,
|
24508
24509
|
"onUpdate:modelValue": $[1] || ($[1] = (ie) => p.value.organization = ie)
|
24509
24510
|
}, null, 8, ["items", "modelValue"]),
|
24510
|
-
A(
|
24511
|
+
A(La, { class: "text-subtitle-1 text-high-emphasis mb-2" }, {
|
24511
24512
|
default: k(() => $[11] || ($[11] = [
|
24512
24513
|
H("Team")
|
24513
24514
|
])),
|
24514
24515
|
_: 1
|
24515
24516
|
}),
|
24516
24517
|
A(Ca, {
|
24517
|
-
items:
|
24518
|
+
items: te(f),
|
24518
24519
|
"item-title": "name",
|
24519
24520
|
"item-value": "__id",
|
24520
24521
|
variant: "solo",
|
@@ -24535,34 +24536,34 @@ const kn = ee([]), Dv = ee([]), pt = ee(null), Ad = ee(!1), hi = ee([]), vH = ()
|
|
24535
24536
|
}), wH = {}, _H = { class: "double-ring-spinner-container" };
|
24536
24537
|
function CH(r, e) {
|
24537
24538
|
return x(), oe("div", _H, e[0] || (e[0] = [
|
24538
|
-
|
24539
|
-
|
24540
|
-
|
24541
|
-
|
24542
|
-
|
24539
|
+
ne("div", { class: "spinner-loading" }, [
|
24540
|
+
ne("div"),
|
24541
|
+
ne("div"),
|
24542
|
+
ne("div", null, [
|
24543
|
+
ne("div")
|
24543
24544
|
]),
|
24544
|
-
|
24545
|
-
|
24545
|
+
ne("div", null, [
|
24546
|
+
ne("div")
|
24546
24547
|
])
|
24547
24548
|
], -1)
|
24548
24549
|
]));
|
24549
24550
|
}
|
24550
|
-
const TH = /* @__PURE__ */
|
24551
|
+
const TH = /* @__PURE__ */ Ga(wH, [["render", CH], ["__scopeId", "data-v-00d7a69f"]]), EH = {
|
24551
24552
|
key: 0,
|
24552
24553
|
class: "_jspinner-overlay_jj"
|
24553
24554
|
}, AH = /* @__PURE__ */ Te({
|
24554
24555
|
__name: "GlobalSpinner",
|
24555
24556
|
setup(r) {
|
24556
|
-
return (e, t) =>
|
24557
|
-
|
24558
|
-
|
24559
|
-
|
24560
|
-
|
24561
|
-
|
24562
|
-
|
24557
|
+
return (e, t) => te(fe) ? (x(), oe("div", EH, t[0] || (t[0] = [
|
24558
|
+
ne("div", { class: "j-double-ring-spinner-container" }, [
|
24559
|
+
ne("div", { class: "j-global-spinner-loading" }, [
|
24560
|
+
ne("div"),
|
24561
|
+
ne("div"),
|
24562
|
+
ne("div", null, [
|
24563
|
+
ne("div")
|
24563
24564
|
]),
|
24564
|
-
|
24565
|
-
|
24565
|
+
ne("div", null, [
|
24566
|
+
ne("div")
|
24566
24567
|
])
|
24567
24568
|
])
|
24568
24569
|
], -1)
|
@@ -24615,7 +24616,7 @@ const Sd = ee(!1), On = ee([]), xv = ee([]), St = ee(null), fi = ee([]), oF = ()
|
|
24615
24616
|
function n(y) {
|
24616
24617
|
if (!On.value)
|
24617
24618
|
throw new Error("Data not stored yet");
|
24618
|
-
const E =
|
24619
|
+
const E = ns(On.value, y, ["name", "description"]);
|
24619
24620
|
return y !== "" ? E : On.value;
|
24620
24621
|
}
|
24621
24622
|
const i = (y) => {
|
@@ -24700,7 +24701,7 @@ const Sd = ee(!1), On = ee([]), xv = ee([]), St = ee(null), fi = ee([]), oF = ()
|
|
24700
24701
|
};
|
24701
24702
|
};
|
24702
24703
|
function RH() {
|
24703
|
-
const r =
|
24704
|
+
const r = ts("https://api.jplan.com.br/management/division"), { error: e } = yr();
|
24704
24705
|
return {
|
24705
24706
|
async getDivisionList(t) {
|
24706
24707
|
try {
|
@@ -24777,7 +24778,7 @@ const Rd = ee(!1), Pn = ee([]), Lv = ee([]), It = ee(null), gi = ee([]), iF = ()
|
|
24777
24778
|
function n(y) {
|
24778
24779
|
if (!Pn.value)
|
24779
24780
|
throw new Error("Data not stored yet");
|
24780
|
-
const E =
|
24781
|
+
const E = ns(Pn.value, y, ["name", "description"]);
|
24781
24782
|
return y !== "" ? E : Pn.value;
|
24782
24783
|
}
|
24783
24784
|
const i = (y) => {
|
@@ -24859,7 +24860,7 @@ const Rd = ee(!1), Pn = ee([]), Lv = ee([]), It = ee(null), gi = ee([]), iF = ()
|
|
24859
24860
|
};
|
24860
24861
|
};
|
24861
24862
|
function kH() {
|
24862
|
-
const r =
|
24863
|
+
const r = ts("https://api.jplan.com.br/management/user"), { error: e } = yr();
|
24863
24864
|
return {
|
24864
24865
|
async getManageUserList(t) {
|
24865
24866
|
try {
|
@@ -24937,7 +24938,7 @@ const Mn = ee([]), Uv = ee([]), Nn = ee(null), OH = ee(null), PH = ee([]), aF =
|
|
24937
24938
|
function n(g) {
|
24938
24939
|
if (!Mn.value)
|
24939
24940
|
throw new Error("Data not stored yet");
|
24940
|
-
const p =
|
24941
|
+
const p = ns(Mn.value, g, ["name", "description"]);
|
24941
24942
|
return g !== "" ? p : Mn.value;
|
24942
24943
|
}
|
24943
24944
|
return {
|
@@ -25001,7 +25002,7 @@ const Mn = ee([]), Uv = ee([]), Nn = ee(null), OH = ee(null), PH = ee([]), aF =
|
|
25001
25002
|
});
|
25002
25003
|
}, sF = { install: MH };
|
25003
25004
|
export {
|
25004
|
-
|
25005
|
+
Eo as $,
|
25005
25006
|
WN as A,
|
25006
25007
|
wh as B,
|
25007
25008
|
b0 as C,
|
@@ -25015,29 +25016,30 @@ export {
|
|
25015
25016
|
yr as K,
|
25016
25017
|
fe as L,
|
25017
25018
|
rF as M,
|
25018
|
-
|
25019
|
+
ns as N,
|
25019
25020
|
mM as O,
|
25020
|
-
|
25021
|
-
|
25022
|
-
|
25021
|
+
wp as P,
|
25022
|
+
vh as Q,
|
25023
|
+
Pc as R,
|
25023
25024
|
TH as S,
|
25024
25025
|
IM as T,
|
25025
|
-
|
25026
|
-
|
25027
|
-
|
25028
|
-
|
25029
|
-
|
25030
|
-
|
25031
|
-
|
25026
|
+
gn as U,
|
25027
|
+
Mc as V,
|
25028
|
+
Ay as W,
|
25029
|
+
tF as X,
|
25030
|
+
yh as Y,
|
25031
|
+
da as Z,
|
25032
|
+
Ga as _,
|
25032
25033
|
F_ as a,
|
25033
|
-
|
25034
|
-
|
25035
|
-
|
25036
|
-
|
25037
|
-
|
25038
|
-
|
25039
|
-
|
25040
|
-
|
25034
|
+
Ao as a0,
|
25035
|
+
Un as a1,
|
25036
|
+
ha as a2,
|
25037
|
+
iF as a3,
|
25038
|
+
pH as a4,
|
25039
|
+
oF as a5,
|
25040
|
+
vH as a6,
|
25041
|
+
aF as a7,
|
25042
|
+
ts as a8,
|
25041
25043
|
I0 as b,
|
25042
25044
|
uC as c,
|
25043
25045
|
CM as d,
|